diff --git a/LCDA/common/artifact_spawns/00_artifact_spawns.txt b/LCDA/common/artifact_spawns/00_artifact_spawns.txt new file mode 100644 index 0000000..2ec2867 --- /dev/null +++ b/LCDA/common/artifact_spawns/00_artifact_spawns.txt @@ -0,0 +1,1103 @@ +#################### +#### QUALITY 5 #### +#################### + +iron_crown_of_lombardy = { + max_amount = 1 + spawn_date = -1.1.1 + + spawn_chance = { + value = 100 + modifier = { + factor = 0 + NOT = { has_dlc = "Mystics" } + } + } + + weight = { + value = 0 + additive_modifier = { + value = 100 + primary_title = { + title = k_italy + } + NOT = { year = 1066 } + } + additive_modifier = { + value = 100 + primary_title = { + title = e_hre + } + year = 1066 + } + } + artifacts = { + iron_crown_of_lombardy = { + value = 1 + } + } +} + +bones_of_st_peter = { + max_amount = 1 + spawn_date = -1.1.1 + + spawn_chance = { + value = 100 + modifier = { + factor = 0 + NOT = { has_dlc = "Mystics" } + } + } + + weight = { + value = 0 + additive_modifier = { + value = 100 + primary_title = { + title = k_papal_state + } + } + } + + artifacts = { + bones_of_st_peter = { + value = 1 + } + } +} + +seal_of_mohammad = { + max_amount = 1 + spawn_date = -1.1.1 + + spawn_chance = { + value = 20 + modifier = { + factor = 0 + NOT = { has_dlc = "Mystics" } + } + } + + weight = { + value = 0 + additive_modifier = { + value = 100 + primary_title = { + title = e_arabia + } + } + } + + artifacts = { + seal_of_mohammad = { + value = 1 + } + } +} + +holy_banner_of_mohammad = { + max_amount = 1 + spawn_date = -1.1.1 + + spawn_chance = { + value = 20 + modifier = { + factor = 0 + NOT = { has_dlc = "Mystics" } + } + } + + weight = { + value = 0 + additive_modifier = { + value = 100 + primary_title = { + title = e_arabia + } + } + } + + weight = { + value = 0 + additive_modifier = { + value = 100 + religion_group = muslim + is_landed = yes + } + } + + artifacts = { + holy_banner_of_mohammad = { + value = 1 + } + } +} + +blessed_mantle = { + max_amount = 1 + spawn_date = -1.1.1 + + spawn_chance = { + value = 20 + modifier = { + factor = 0 + NOT = { has_dlc = "Mystics" } + } + } + + weight = { + value = 0 + additive_modifier = { + value = 100 + primary_title = { + title = e_arabia + } + } + } + + weight = { + value = 0 + additive_modifier = { + value = 100 + religion_group = muslim + is_landed = yes + } + } + + artifacts = { + blessed_mantle = { + value = 1 + } + } +} + +mjolnir = { + max_amount = 1 + spawn_date = -1.1.1 + + spawn_chance = { + value = 100 + modifier = { + factor = 0 + NOT = { has_dlc = "Mystics" } + } + } + + weight = { + value = 0 + additive_modifier = { + value = 5 + OR = { + religion = norse_pagan + religion = norse_pagan_reformed + } + is_landed = yes + } + additive_modifier = { + value = 100 + religion = norse_pagan + is_landed = yes + } + } + + artifacts = { + mjolnir = { + value = 1 + } + } +} + +andvaranaut = { + max_amount = 1 + spawn_date = -1.1.1 + + spawn_chance = { + value = 100 + modifier = { + factor = 0 + NOT = { has_dlc = "Mystics" } + } + } + + weight = { + value = 0 + additive_modifier = { + value = 5 + OR = { + religion = norse_pagan + religion = norse_pagan_reformed + } + is_landed = yes + } + } + + artifacts = { + andvaranaut = { + value = 1 + } + } +} + +fetish_of_souls = { + max_amount = 1 + spawn_date = -1.1.1 + + spawn_chance = { + value = 100 + modifier = { + factor = 0 + NOT = { has_dlc = "Mystics" } + } + } + + weight = { + value = 0 + additive_modifier = { + value = 5 + OR = { + religion = west_african_pagan + religion = west_african_pagan_reformed + } + is_landed = yes + } + } + + artifacts = { + fetish_of_souls = { + value = 1 + } + } +} + +sampo = { + max_amount = 1 + spawn_date = -1.1.1 + + spawn_chance = { + value = 100 + modifier = { + factor = 0 + NOT = { has_dlc = "Mystics" } + } + } + + weight = { + value = 0 + additive_modifier = { + value = 5 + OR = { + religion = finnish_pagan + religion = finnish_pagan_reformed + } + is_landed = yes + } + additive_modifier = { + value = 100 + religion = finnish_pagan + is_landed = yes + } + } + + artifacts = { + sampo = { + value = 1 + } + } +} + +axe_of_perun = { + max_amount = 1 + spawn_date = -1.1.1 + + spawn_chance = { + value = 100 + modifier = { + factor = 0 + NOT = { has_dlc = "Mystics" } + } + } + + weight = { + value = 0 + additive_modifier = { + value = 5 + OR = { + religion = slavic_pagan + religion = slavic_pagan_reformed + } + is_landed = yes + } + additive_modifier = { + value = 100 + religion = slavic_pagan + is_landed = yes + } + } + + artifacts = { + axe_of_perun = { + value = 1 + } + } +} + +axe_of_perkunas = { + max_amount = 1 + spawn_date = -1.1.1 + + spawn_chance = { + value = 100 + modifier = { + factor = 0 + NOT = { has_dlc = "Mystics" } + } + } + + weight = { + value = 0 + additive_modifier = { + value = 5 + OR = { + religion = baltic_pagan + religion = baltic_pagan_reformed + } + is_landed = yes + } + additive_modifier = { + value = 100 + religion = baltic_pagan + is_landed = yes + } + } + + artifacts = { + axe_of_perkunas = { + value = 1 + } + } +} + +yada_tashy = { + max_amount = 1 + spawn_date = -1.1.1 + + spawn_chance = { + value = 100 + modifier = { + factor = 0 + NOT = { has_dlc = "Mystics" } + } + } + + weight = { + value = 0 + additive_modifier = { + value = 100 + OR = { + religion = tengri_pagan + religion = tengri_pagan_reformed + } + is_landed = yes + } + additive_modifier = { + value = 100 + religion = tengri_pagan + is_landed = yes + } + } + + artifacts = { + yada_tashy = { + value = 1 + } + } +} + +ark_of_the_covenant = { + max_amount = 1 + spawn_date = -1.1.1 + + spawn_chance = { + value = 100 + modifier = { + factor = 0 + NOT = { has_dlc = "Mystics" } + } + } + + weight = { + value = 0 + additive_modifier = { + value = 100 + any_demesne_title = { + title = c_aksum + } + } + } + + artifacts = { + ark_of_the_covenant = { + value = 1 + } + } +} + +################### +#### QUALITY 4 #### +################### + +crown_of_thorns = { + max_amount = 1 + spawn_date = -1.1.1 + + spawn_chance = { + value = 100 + modifier = { + factor = 0 + NOT = { has_dlc = "Mystics" } + } + } + + weight = { + value = 0 + additive_modifier = { + value = 100 + primary_title = { + title = c_jerusalem + } + NOT = { year = 1066 } + } + additive_modifier = { + value = 100 + primary_title = { + title = e_byzantium + } + year = 1066 + NOT = { year = 1238 } + } + additive_modifier = { + value = 100 + primary_title = { + title = k_france + } + year = 1238 + } + } + + artifacts = { + crown_of_thorns = { + value = 1 + } + } +} + +seamless_robe_of_jesus = { + max_amount = 1 + spawn_date = -1.1.1 + + spawn_chance = { + value = 100 + modifier = { + factor = 0 + NOT = { has_dlc = "Mystics" } + } + } + + weight = { + value = 0 + additive_modifier = { + value = 100 + primary_title = { + title = c_trier + } + } + } + + artifacts = { + seamless_robe_of_jesus = { + value = 1 + } + } +} + +sword_of_mohammad = { + max_amount = 5 + spawn_date = -1.1.1 + + spawn_chance = { + value = 75 + modifier = { + factor = 0 + NOT = { has_dlc = "Mystics" } + } + } + + weight = { + value = 0 + additive_modifier = { + value = 80 + religion_group = muslim + is_landed = yes + NOT = { + primary_title = { + title = e_arabia + } + } + } + additive_modifier = { + value = 100 + primary_title = { + title = e_arabia + } + } + } + + artifacts = { + sword_of_mohammad = { + value = 1 + } + } +} + +derafsh_kaviani = { + max_amount = 1 + spawn_date = -1.1.1 + + spawn_chance = { + value = 20 + modifier = { + factor = 0 + NOT = { has_dlc = "Mystics" } + } + } + + weight = { + value = 0 + additive_modifier = { + value = 100 + is_landed = yes + } + } + + artifacts = { + derafsh_kaviani = { + value = 1 + } + } +} + +################### +#### QUALITY 3 #### +################### + +holy_foreskin = { + max_amount = 2 + spawn_date = -1.1.1 + + spawn_chance = { + value = 75 + modifier = { + factor = 0 + NOT = { has_dlc = "Mystics" } + } + } + + weight = { + value = 0 + additive_modifier = { + value = 100 + religion_group = christian + is_landed = yes + } + } + + artifacts = { + holy_foreskin = { + value = 1 + } + } +} + +fragment_of_true_cross = { + max_amount = 1 + spawn_date = -1.1.1 + + spawn_chance = { + value = 100 + modifier = { + factor = 0 + NOT = { has_dlc = "Mystics" } + } + } + + weight = { + value = 0 + additive_modifier = { + value = 100 + primary_title = { + title = e_byzantium + } + } + } + + artifacts = { + fragment_of_true_cross = { + value = 1 + } + } +} + +letter_of_mohammad = { + max_amount = 1 + spawn_date = -1.1.1 + + spawn_chance = { + value = 20 + modifier = { + factor = 0 + NOT = { has_dlc = "Mystics" } + } + } + + weight = { + value = 0 + additive_modifier = { + value = 100 + religion_group = muslim + is_landed = yes + } + } + + artifacts = { + letter_of_mohammad = { + value = 1 + } + } +} + +gjallarhorn = { + max_amount = 1 + spawn_date = -1.1.1 + + spawn_chance = { + value = 20 + modifier = { + factor = 0 + NOT = { has_dlc = "Mystics" } + } + } + + weight = { + value = 0 + additive_modifier = { + value = 100 + OR = { + religion = norse_pagan + religion = norse_pagan_reformed + is_landed = yes + } + } + } + + artifacts = { + gjallarhorn = { + value = 1 + } + } +} + +cloak_of_mohammad = { + max_amount = 1 + spawn_date = -1.1.1 + + spawn_chance = { + value = 100 + modifier = { + factor = 0 + NOT = { has_dlc = "Mystics" } + } + } + + weight = { + value = 0 + additive_modifier = { + value = 100 + primary_title = { + title = c_bost + } + } + } + + artifacts = { + cloak_of_mohammad = { + value = 1 + } + } +} + +################### +#### QUALITY 2 #### +################### + +mohammads_beard = { + max_amount = 1 + spawn_date = -1.1.1 + + spawn_chance = { + value = 100 + modifier = { + factor = 0 + NOT = { has_dlc = "Mystics" } + } + } + + weight = { + value = 0 + additive_modifier = { + value = 100 + religion_group = muslim + is_landed = yes + } + } + + artifacts = { + mohammads_beard = { + value = 1 + } + } +} + +sarira = { + max_amount = 1 + spawn_date = -1.1.1 + + spawn_chance = { + value = 100 + modifier = { + factor = 0 + NOT = { has_dlc = "Mystics" } + } + } + + weight = { + value = 0 + additive_modifier = { + value = 100 + religion_group = indian_group + is_landed = yes + } + } + + artifacts = { + sarira = { + value = 1 + } + } +} + +chains_of_st_peter = { + max_amount = 1 + spawn_date = -1.1.1 + + spawn_chance = { + value = 50 + modifier = { + factor = 0 + NOT = { has_dlc = "Mystics" } + } + } + + weight = { + value = 0 + additive_modifier = { + value = 100 + religion_group = christian + is_landed = yes + } + } + + artifacts = { + chains_of_st_peter = { + value = 1 + } + } +} + +right_hand_st_demetrius = { + max_amount = 1 + spawn_date = -1.1.1 + + spawn_chance = { + value = 50 + modifier = { + factor = 0 + NOT = { has_dlc = "Mystics" } + } + } + + weight = { + value = 0 + additive_modifier = { + value = 100 + primary_title = { + title = c_thessalonike + } + } + } + + artifacts = { + right_hand_st_demetrius = { + value = 1 + } + } +} + +weeping_statue = { + max_amount = 3 + spawn_date = -1.1.1 + + spawn_chance = { + value = 75 + modifier = { + factor = 0 + NOT = { has_dlc = "Mystics" } + } + } + + weight = { + value = 0 + additive_modifier = { + value = 100 + religion_group = christian + is_landed = yes + } + } + + artifacts = { + weeping_statue = { + value = 1 + } + } +} + +haoma_sapling = { + max_amount = 1 + spawn_date = -1.1.1 + + spawn_chance = { + value = 100 + modifier = { + factor = 0 + NOT = { has_dlc = "Mystics" } + } + } + + weight = { + value = 0 + additive_modifier = { + value = 100 + religion_group = zoroastrian_group + is_landed = yes + } + } + + artifacts = { + haoma_sapling = { + value = 1 + } + } +} + +keshmar_cypress_branch = { + max_amount = 1 + spawn_date = -1.1.1 + + spawn_chance = { + value = 100 + modifier = { + factor = 0 + NOT = { has_dlc = "Mystics" } + } + } + + weight = { + value = 0 + additive_modifier = { + value = 100 + religion_group = zoroastrian_group + is_landed = yes + } + } + + artifacts = { + keshmar_cypress_branch = { + value = 1 + } + } +} + +################### +#### QUALITY 1 #### +################### + +fingerbone_of_saint = { + max_amount = 10 + spawn_date = -1.1.1 + + spawn_chance = { + value = 100 + modifier = { + factor = 0 + NOT = { has_dlc = "Mystics" } + } + } + + weight = { + value = 0 + additive_modifier = { + value = 100 + religion_group = christian + is_landed = yes + } + } + + + artifacts = { + fingerbone_of_saint = { + value = 1 + } + } +} + +water_of_blessed_mantle = { + max_amount = 1 + spawn_date = -1.1.1 + + spawn_chance = { + value = 100 + modifier = { + factor = 0 + NOT = { has_dlc = "Mystics" } + } + } + + weight = { + value = 0 + additive_modifier = { + value = 100 + religion_group = muslim + is_landed = yes + } + } + + artifacts = { + water_of_blessed_mantle = { + value = 1 + } + } +} + +buddhas_tooth = { + max_amount = 1 + spawn_date = -1.1.1 + + spawn_chance = { + value = 100 + modifier = { + factor = 0 + NOT = { has_dlc = "Mystics" } + } + } + + weight = { + value = 0 + additive_modifier = { + value = 100 + primary_title = { + title = k_lanka + } + } + } + artifacts = { + buddhas_tooth = { + value = 1 + } + } +} + +generic_indian_artifact = { + max_amount = 10 + spawn_date = -1.1.1 + + spawn_chance = { + value = 100 + modifier = { + factor = 0 + NOT = { has_dlc = "Mystics" } + } + } + + weight = { + value = 0 + additive_modifier = { + value = 100 + religion_group = indian_group + is_landed = yes + } + } + + artifacts = { + elaborate_danda = { + value = 1 + } + sariraka_actual_body_part = { + value = 2 + } + } +} + +generic_artifact = { + max_amount = 50 + spawn_date = -1.1.1 + + spawn_chance = { + value = 100 + modifier = { + factor = 0 + NOT = { has_dlc = "Mystics" } + } + } + + weight = { + value = 0 + additive_modifier = { + value = 100 + is_landed = yes + } + } + + artifacts = { + famous_head = { + value = 1 + } + famous_tongue = { + value = 1 + } + infamous_tongue = { + value = 1 + } + famous_hand = { + value = 1 + } + famous_arm = { + value = 1 + } + famous_foot = { + value = 1 + } + famous_ancient_weapon = { + value = 1 + } + } +} \ No newline at end of file diff --git a/LCDA/common/artifact_spawns/artifact_spawns.info b/LCDA/common/artifact_spawns/artifact_spawns.info new file mode 100644 index 0000000..6fa5528 --- /dev/null +++ b/LCDA/common/artifact_spawns/artifact_spawns.info @@ -0,0 +1,42 @@ +Artifact spawns, decides which items are spawned at the begining of the game. + +variables: + +spawn_chance: + mtth, to decide whether an artifact spawn should execute or not. Range is 0-100. Default behavior is to always spawn. + + example: a 50% chance to execute an artifact spawn + spawn_chance = { + value = 50 + } + +weight: + mtth, character scope, evaluates a potential artifact holder score, which is then used for randomizing who gets an artifact. Default behavior is for everyone to have the same chance. + + example: only christians have a chance of getting an artifact + weight = { + value = 0 + additive_modifier = { + value = 100 + religion_group = christian + } + } + +max_amount: + integer, how many artifacts do we hand out? default is 4,294,967,295 + +spawn_date: + date, what date should it claim to have been created? Note that this could be in the future; the spawn chance should be handled in spawn_chance. If a date at or before 1.1.1 is used, it'll state "Unknown Date" + +artifacts: + A list of keys and MTTH for which artifact is spawned. + + example: 50% chance that the person will get a golden_platypus + artifacts ={ + golden_platypus = { + value = 1 + } + crystal_platypus = { + value = 1 + } + } \ No newline at end of file diff --git a/LCDA/common/artifacts/00_artifacts.txt b/LCDA/common/artifacts/00_artifacts.txt new file mode 100644 index 0000000..198ec42 --- /dev/null +++ b/LCDA/common/artifacts/00_artifacts.txt @@ -0,0 +1,3361 @@ +# The limiting slots for equipped artifacts. Dynamic system (you can add new types of slots freely) +slots = { + weapon = 1 + ceremonial_weapon = 1 + scepter = 1 + crown = 1 + wrist = 1 + neck = 1 + torso = 1 +} + +### Random ### + +loot_axe = { + martial = 2 + quality = 2 + flags = { easter_egg } + stacking = no + picture = "GFX_plus2_axe" + slot = weapon +} + +strange_chest = { + flags = { chest } + picture = "GFX_strange_chest" +} + +necronomicon = { + learning = 5 + diplomacy = -1 + quality = 4 + monthly_character_piety = -2 + flags = { book unholy } + stacking = no + picture = "GFX_book_sinister" +} + +cursed_diamond = { + monthly_character_prestige = 1 + global_tax_modifier = 0.1 + quality = 3 + flags = { event diamond curse } + stacking = no + picture = "GFX_gem_diamond" +} + +cursed_diamond_crown = { + monthly_character_prestige = 1 + stewardship = 3 + quality = 4 + flags = { event diamond curse } + stacking = no + picture = "GFX_cursed_diamond_crown" + slot = crown +} + +###Societies### + +magnum_opus_theurgy_ritual_1 = { + learning = 1 + quality = 1 + flags = { society hermetics lore theurgy book } + active = { + OR = { + learning = 12 + society_member_of = hermetics + } + custom_tooltip = { + text = NO_HIGHER_QUALITY_VERSION_ACTIVE + NOT = { + AND = { + OR = { + learning = 16 + society_member_of = hermetics + } + any_artifact = { + artifact_type = magnum_opus_theurgy_ritual_2 + } + } + } + NOT = { + AND = { + OR = { + learning = 20 + society_member_of = hermetics + } + any_artifact = { + artifact_type = magnum_opus_theurgy_ritual_3 + } + } + } + NOT = { + AND = { + OR = { + learning = 25 + society_member_of = hermetics + } + any_artifact = { + artifact_type = magnum_opus_theurgy_ritual_4 + } + } + } + } + } + + allowed_gift = { + always = no + } + + stacking = no + picture = "GFX_book_red" +} + +magnum_opus_theurgy_ritual_2 = { + learning = 1 + monthly_character_piety = 0.5 + quality = 2 + flags = { society hermetics lore theurgy book } + active = { + OR = { + learning = 16 + society_member_of = hermetics + } + custom_tooltip = { + text = NO_HIGHER_QUALITY_VERSION_ACTIVE + NOT = { + AND = { + OR = { + learning = 20 + society_member_of = hermetics + } + any_artifact = { + artifact_type = magnum_opus_theurgy_ritual_3 + } + } + } + NOT = { + AND = { + OR = { + learning = 25 + society_member_of = hermetics + } + any_artifact = { + artifact_type = magnum_opus_theurgy_ritual_4 + } + } + } + } + } + + allowed_gift = { + always = no + } + + stacking = no + picture = "GFX_book_red" +} + +magnum_opus_theurgy_ritual_3 = { + learning = 1 + intrigue = 1 + monthly_character_piety = 0.5 + quality = 3 + flags = { society hermetics lore theurgy book } + active = { + OR = { + learning = 20 + society_member_of = hermetics + } + custom_tooltip = { + text = NO_HIGHER_QUALITY_VERSION_ACTIVE + NOT = { + AND = { + OR = { + learning = 25 + society_member_of = hermetics + } + any_artifact = { + artifact_type = magnum_opus_theurgy_ritual_4 + } + } + } + } + } + + allowed_gift = { + always = no + } + + stacking = no + picture = "GFX_book_red" +} + +magnum_opus_theurgy_ritual_4 = { + learning = 1 + intrigue = 1 + stewardship = 1 + monthly_character_piety = 0.5 + quality = 4 + flags = { society hermetics lore theurgy book } + active = { + OR = { + learning = 25 + society_member_of = hermetics + } + } + + allowed_gift = { + always = no + } + + stacking = no + picture = "GFX_book_red_glow" +} + +magnum_opus_theurgy_contemplation_1 = { + learning = 1 + quality = 1 + flags = { society hermetics lore theurgy book } + active = { + OR = { + learning = 12 + society_member_of = hermetics + } + custom_tooltip = { + text = NO_HIGHER_QUALITY_VERSION_ACTIVE + NOT = { + AND = { + OR = { + learning = 16 + society_member_of = hermetics + } + any_artifact = { + artifact_type = magnum_opus_theurgy_contemplation_2 + } + } + } + NOT = { + AND = { + OR = { + learning = 20 + society_member_of = hermetics + } + any_artifact = { + artifact_type = magnum_opus_theurgy_contemplation_3 + } + } + } + NOT = { + AND = { + OR = { + learning = 25 + society_member_of = hermetics + } + any_artifact = { + artifact_type = magnum_opus_theurgy_contemplation_4 + } + } + } + } + } + + allowed_gift = { + always = no + } + + stacking = no + picture = "GFX_book_red" +} + +magnum_opus_theurgy_contemplation_2 = { + learning = 1 + monthly_character_piety = 0.5 + quality = 2 + flags = { society hermetics lore theurgy book } + active = { + OR = { + learning = 16 + society_member_of = hermetics + } + custom_tooltip = { + text = NO_HIGHER_QUALITY_VERSION_ACTIVE + NOT = { + AND = { + OR = { + learning = 20 + society_member_of = hermetics + } + any_artifact = { + artifact_type = magnum_opus_theurgy_contemplation_3 + } + } + } + NOT = { + AND = { + OR = { + learning = 25 + society_member_of = hermetics + } + any_artifact = { + artifact_type = magnum_opus_theurgy_contemplation_4 + } + } + } + } + } + + allowed_gift = { + always = no + } + + stacking = no + picture = "GFX_book_red" +} + +magnum_opus_theurgy_contemplation_3 = { + learning = 2 + monthly_character_piety = 0.5 + quality = 3 + flags = { society hermetics lore theurgy book } + active = { + OR = { + learning = 20 + society_member_of = hermetics + } + custom_tooltip = { + text = NO_HIGHER_QUALITY_VERSION_ACTIVE + NOT = { + AND = { + OR = { + learning = 25 + society_member_of = hermetics + } + any_artifact = { + artifact_type = magnum_opus_theurgy_contemplation_4 + } + } + } + } + } + + allowed_gift = { + always = no + } + + stacking = no + picture = "GFX_book_red" +} + +magnum_opus_theurgy_contemplation_4 = { + learning = 2 + diplomacy = 1 + monthly_character_piety = 0.5 + quality = 4 + flags = { society hermetics lore theurgy book } + active = { + OR = { + learning = 25 + society_member_of = hermetics + } + } + + allowed_gift = { + always = no + } + + stacking = no + picture = "GFX_book_red_glow" +} + +magnum_opus_astrology_stars_1 = { + learning = 1 + quality = 1 + flags = { society hermetics lore astrology book } + active = { + OR = { + learning = 12 + society_member_of = hermetics + } + custom_tooltip = { + text = NO_HIGHER_QUALITY_VERSION_ACTIVE + NOT = { + AND = { + OR = { + learning = 16 + society_member_of = hermetics + } + any_artifact = { + artifact_type = magnum_opus_astrology_stars_2 + } + } + } + NOT = { + AND = { + OR = { + learning = 20 + society_member_of = hermetics + } + any_artifact = { + artifact_type = magnum_opus_astrology_stars_3 + } + } + } + NOT = { + AND = { + OR = { + learning = 25 + society_member_of = hermetics + } + any_artifact = { + artifact_type = magnum_opus_astrology_stars_4 + } + } + } + } + } + + allowed_gift = { + always = no + } + + stacking = no + picture = "GFX_book_blue" +} + +magnum_opus_astrology_stars_2 = { + learning = 1 + monthly_character_prestige = 0.5 + quality = 2 + flags = { society hermetics lore astrology book } + active = { + OR = { + learning = 16 + society_member_of = hermetics + } + custom_tooltip = { + text = NO_HIGHER_QUALITY_VERSION_ACTIVE + NOT = { + AND = { + OR = { + learning = 20 + society_member_of = hermetics + } + any_artifact = { + artifact_type = magnum_opus_astrology_stars_3 + } + } + } + NOT = { + AND = { + OR = { + learning = 25 + society_member_of = hermetics + } + any_artifact = { + artifact_type = magnum_opus_astrology_stars_4 + } + } + } + } + } + + allowed_gift = { + always = no + } + + stacking = no + picture = "GFX_book_blue" +} + +magnum_opus_astrology_stars_3 = { + learning = 1 + intrigue = 1 + monthly_character_prestige = 0.5 + quality = 3 + flags = { society hermetics lore astrology book } + active = { + OR = { + learning = 20 + society_member_of = hermetics + } + custom_tooltip = { + text = NO_HIGHER_QUALITY_VERSION_ACTIVE + NOT = { + AND = { + OR = { + learning = 25 + society_member_of = hermetics + } + any_artifact = { + artifact_type = magnum_opus_astrology_stars_4 + } + } + } + } + } + + allowed_gift = { + always = no + } + + stacking = no + picture = "GFX_book_blue" +} + +magnum_opus_astrology_stars_4 = { + learning = 1 + intrigue = 1 + martial = 1 + monthly_character_prestige = 0.5 + quality = 4 + flags = { society hermetics lore astrology book } + active = { + OR = { + learning = 25 + society_member_of = hermetics + } + } + allowed_gift = { + always = no + } + stacking = no + picture = "GFX_book_blue_glow" +} + +magnum_opus_astrology_planets_1 = { + learning = 1 + quality = 1 + flags = { society hermetics lore astrology book } + active = { + OR = { + learning = 12 + society_member_of = hermetics + } + custom_tooltip = { + text = NO_HIGHER_QUALITY_VERSION_ACTIVE + NOT = { + AND = { + OR = { + learning = 16 + society_member_of = hermetics + } + any_artifact = { + artifact_type = magnum_opus_astrology_planets_2 + } + } + } + NOT = { + AND = { + OR = { + learning = 20 + society_member_of = hermetics + } + any_artifact = { + artifact_type = magnum_opus_astrology_planets_3 + } + } + } + NOT = { + AND = { + OR = { + learning = 25 + society_member_of = hermetics + } + any_artifact = { + artifact_type = magnum_opus_astrology_planets_4 + } + } + } + } + } + allowed_gift = { + always = no + } + stacking = no + picture = "GFX_book_blue" +} + +magnum_opus_astrology_planets_2 = { + learning = 1 + monthly_character_prestige = 0.5 + quality = 2 + flags = { society hermetics lore astrology book } + active = { + OR = { + learning = 16 + society_member_of = hermetics + } + custom_tooltip = { + text = NO_HIGHER_QUALITY_VERSION_ACTIVE + NOT = { + AND = { + OR = { + learning = 20 + society_member_of = hermetics + } + any_artifact = { + artifact_type = magnum_opus_astrology_planets_3 + } + } + } + NOT = { + AND = { + OR = { + learning = 25 + society_member_of = hermetics + } + any_artifact = { + artifact_type = magnum_opus_astrology_planets_4 + } + } + } + } + } + allowed_gift = { + always = no + } + stacking = no + picture = "GFX_book_blue" +} + +magnum_opus_astrology_planets_3 = { + learning = 2 + monthly_character_prestige = 0.5 + quality = 3 + flags = { society hermetics lore astrology book } + active = { + OR = { + learning = 20 + society_member_of = hermetics + } + custom_tooltip = { + text = NO_HIGHER_QUALITY_VERSION_ACTIVE + NOT = { + AND = { + OR = { + learning = 25 + society_member_of = hermetics + } + any_artifact = { + artifact_type = magnum_opus_astrology_planets_4 + } + } + } + } + } + allowed_gift = { + always = no + } + stacking = no + picture = "GFX_book_blue" +} + +magnum_opus_astrology_planets_4 = { + learning = 2 + diplomacy = 1 + monthly_character_prestige = 0.5 + quality = 4 + flags = { society hermetics lore astrology book } + active = { + OR = { + learning = 25 + society_member_of = hermetics + } + } + allowed_gift = { + always = no + } + stacking = no + picture = "GFX_book_blue_glow" +} + +magnum_opus_alchemy_panacea_1 = { + learning = 1 + quality = 1 + flags = { society hermetics lore alchemy book } + active = { + OR = { + learning = 12 + society_member_of = hermetics + } + custom_tooltip = { + text = NO_HIGHER_QUALITY_VERSION_ACTIVE + NOT = { + AND = { + OR = { + learning = 16 + society_member_of = hermetics + } + any_artifact = { + artifact_type = magnum_opus_alchemy_panacea_2 + } + } + } + NOT = { + AND = { + OR = { + learning = 20 + society_member_of = hermetics + } + any_artifact = { + artifact_type = magnum_opus_alchemy_panacea_3 + } + } + } + NOT = { + AND = { + OR = { + learning = 25 + society_member_of = hermetics + } + any_artifact = { + artifact_type = magnum_opus_alchemy_panacea_4 + } + } + } + } + } + allowed_gift = { + always = no + } + stacking = no + picture = "GFX_book_green" +} + +magnum_opus_alchemy_panacea_2 = { + learning = 2 + quality = 2 + flags = { society hermetics lore alchemy book } + active = { + OR = { + learning = 16 + society_member_of = hermetics + } + custom_tooltip = { + text = NO_HIGHER_QUALITY_VERSION_ACTIVE + NOT = { + AND = { + OR = { + learning = 20 + society_member_of = hermetics + } + any_artifact = { + artifact_type = magnum_opus_alchemy_panacea_3 + } + } + } + NOT = { + AND = { + OR = { + learning = 25 + society_member_of = hermetics + } + any_artifact = { + artifact_type = magnum_opus_alchemy_panacea_4 + } + } + } + } + } + allowed_gift = { + always = no + } + stacking = no + picture = "GFX_book_green" +} + +magnum_opus_alchemy_panacea_3 = { + learning = 2 + health = 0.5 + quality = 3 + flags = { society hermetics lore alchemy book } + active = { + OR = { + learning = 20 + society_member_of = hermetics + } + custom_tooltip = { + text = NO_HIGHER_QUALITY_VERSION_ACTIVE + NOT = { + AND = { + OR = { + learning = 25 + society_member_of = hermetics + } + any_artifact = { + artifact_type = magnum_opus_alchemy_panacea_4 + } + } + } + } + } + allowed_gift = { + always = no + } + stacking = no + picture = "GFX_book_green" +} + +magnum_opus_alchemy_panacea_4 = { + learning = 2 + health = 1 + quality = 4 + flags = { society hermetics lore alchemy book } + active = { + OR = { + learning = 25 + society_member_of = hermetics + } + } + allowed_gift = { + always = no + } + stacking = no + picture = "GFX_book_green_glow" +} + +magnum_opus_alchemy_transmutation_1 = { + learning = 1 + quality = 1 + flags = { society hermetics lore alchemy book } + active = { + OR = { + learning = 12 + society_member_of = hermetics + } + custom_tooltip = { + text = NO_HIGHER_QUALITY_VERSION_ACTIVE + NOT = { + AND = { + OR = { + learning = 16 + society_member_of = hermetics + } + any_artifact = { + artifact_type = magnum_opus_alchemy_transmutation_2 + } + } + } + NOT = { + AND = { + OR = { + learning = 20 + society_member_of = hermetics + } + any_artifact = { + artifact_type = magnum_opus_alchemy_transmutation_3 + } + } + } + NOT = { + AND = { + OR = { + learning = 25 + society_member_of = hermetics + } + any_artifact = { + artifact_type = magnum_opus_alchemy_transmutation_4 + } + } + } + } + } + allowed_gift = { + always = no + } + stacking = no + picture = "GFX_book_green" +} + +magnum_opus_alchemy_transmutation_2 = { + learning = 1 + stewardship = 1 + quality = 2 + flags = { society hermetics lore alchemy book } + active = { + OR = { + learning = 16 + society_member_of = hermetics + } + custom_tooltip = { + text = NO_HIGHER_QUALITY_VERSION_ACTIVE + NOT = { + AND = { + OR = { + learning = 20 + society_member_of = hermetics + } + any_artifact = { + artifact_type = magnum_opus_alchemy_transmutation_3 + } + } + } + NOT = { + AND = { + OR = { + learning = 25 + society_member_of = hermetics + } + any_artifact = { + artifact_type = magnum_opus_alchemy_transmutation_4 + } + } + } + } + } + allowed_gift = { + always = no + } + stacking = no + picture = "GFX_book_green" +} + +magnum_opus_alchemy_transmutation_3 = { + learning = 1 + stewardship = 1 + martial = 1 + quality = 3 + flags = { society hermetics lore alchemy book } + active = { + OR = { + learning = 20 + society_member_of = hermetics + } + custom_tooltip = { + text = NO_HIGHER_QUALITY_VERSION_ACTIVE + NOT = { + AND = { + OR = { + learning = 25 + society_member_of = hermetics + } + any_artifact = { + artifact_type = magnum_opus_alchemy_transmutation_4 + } + } + } + } + } + allowed_gift = { + always = no + } + stacking = no + picture = "GFX_book_green" +} + +magnum_opus_alchemy_transmutation_4 = { + learning = 1 + stewardship = 2 + martial = 1 + quality = 3 + flags = { society hermetics lore alchemy book } + active = { + OR = { + learning = 25 + society_member_of = hermetics + } + } + allowed_gift = { + always = no + } + stacking = no + picture = "GFX_book_green_glow" +} + +### generic ### + +famous_head = { + monthly_character_prestige = 0.05 + learning = 1 + quality = 1 + flags = { saint bodypart } + picture = "GFX_saints_skull" +} + +famous_tongue = { + monthly_character_prestige = 0.05 + diplomacy = 1 + quality = 1 + flags = { saint bodypart } + picture = "GFX_pouch" +} + +infamous_tongue = { + monthly_character_prestige = 0.05 + intrigue = 1 + quality = 1 + flags = { saint bodypart } + picture = "GFX_pouch" +} + +famous_hand = { + monthly_character_prestige = 0.05 + martial = 1 + quality = 1 + flags = { saint bodypart } + picture = "GFX_saints_bone_finger" +} + +famous_arm = { + monthly_character_prestige = 0.05 + stewardship = 1 + quality = 1 + flags = { saint bodypart } + picture = "GFX_saints_bone_femur" +} + +famous_foot = { + command_modifier = { + speed = 0.05 + } + quality = 1 + flags = { saint bodypart } + picture = "GFX_saints_bone_femur" +} + +famous_ancient_weapon = { #rusty old weapon + monthly_character_prestige = 0.5 + quality = 1 + flags = { weapon } + picture = "GFX_sword_rusty" + slot = ceremonial_weapon +} + +### Christian Artifacts ### + +iron_crown_of_lombardy = { + short_reign_length = -5 + monthly_character_piety = 0.5 + monthly_character_prestige = 1 + vassal_opinion = 10 + diplomacy = 1 + active = { religion_group = christian } + allowed_gift = { + religion_group = christian + } + quality = 5 + indestructible = yes + flags = { religious christian jewelry unique crucifixion } + stacking = no + picture = "GFX_iron_crown_of_lombardy" + slot = crown +} + +shroud_of_jesus = { + monthly_character_piety = 0.5 + monthly_character_prestige = 0.5 + same_religion_opinion = 5 + global_levy_size = 0.05 + learning = 1 + active = { religion_group = christian } + allowed_gift = { + religion_group = christian + } + quality = 5 + indestructible = yes + flags = { religious christian textile unique jesus crucifixion } + stacking = no + picture = "GFX_shroud_of_jesus" +} + +spear_of_destiny = { + monthly_character_prestige = 0.1 + monthly_character_piety = 0.5 + same_religion_opinion = 5 + martial = 1 + command_modifier = { + morale_offence = 0.2 + morale_defence = 0.2 + } + active = { religion_group = christian } + allowed_gift = { + religion_group = christian + } + quality = 5 + flags = { religious christian very_rare crucifixion troops_morale } + stacking = no + picture = "GFX_spear_of_destiny" + slot = weapon +} + +holy_grail = { + monthly_character_prestige = 0.5 + health = 4 + same_religion_opinion = 5 + active = { religion_group = christian } + allowed_gift = { + religion_group = christian + } + quality = 5 + flags = { religious christian very_rare crucifixion fantasy } + stacking = no + picture = "GFX_cup_holy_grail" +} + +holy_chalice = { + monthly_character_piety = 0.5 + monthly_character_prestige = 2 + health = 1 + same_religion_opinion = 10 + active = { religion_group = christian } + allowed_gift = { + religion_group = christian + } + quality = 5 + flags = { religious christian very_rare crucifixion } + stacking = no + picture = "GFX_cup_fancy" +} + +bones_of_st_peter = { + monthly_character_prestige = 0.1 + monthly_character_piety = 0.5 + same_religion_opinion = 10 + build_cost_modifier = -0.1 + build_time_modifier = -0.1 + stewardship = 1 + active = { religion_group = christian } + allowed_gift = { + religion_group = christian + } + quality = 5 + flags = { religious christian bone saint very_rare } + stacking = no + picture = "GFX_saints_bone_femur" +} + +crown_of_thorns = { + monthly_character_prestige = 0.1 + monthly_character_piety = 1 + same_religion_opinion = 5 + global_revolt_risk = -0.03 + diplomacy = 1 + active = { religion_group = christian } + allowed_gift = { + religion_group = christian + } + quality = 4 + flags = { religious christian rare jesus crucifixion } + stacking = no + picture = "GFX_crown_of_thorns" +} + +seamless_robe_of_jesus = { + monthly_character_piety = 0.5 + monthly_character_prestige = 0.5 + same_religion_opinion = 5 + global_tax_modifier = 0.1 + learning = 1 + active = { + religion_group = christian + } + allowed_gift = { + religion_group = christian + } + quality = 4 + flags = { religious christian rare jesus } + stacking = no + picture = "GFX_seamless_robe_of_jesus" +} + +fragment_of_true_cross = { + monthly_character_prestige = 0.1 + monthly_character_piety = 0.5 + diplomacy = 2 + active = { religion_group = christian } + allowed_gift = { + religion_group = christian + } + quality = 3 + flags = { religious christian rare crucifixion } + stacking = no + picture = "GFX_nail_of_the_true_cross" +} + +holy_foreskin = { + monthly_character_prestige = 0.1 + fertility = 0.15 + health = 0.5 + active = { + religion_group = christian + } + allowed_gift = { + religion_group = christian + } + quality = 3 + flags = { religious christian rare foreskin jesus } + stacking = no + picture = "GFX_pouch" +} + +fingerbone_of_saint = { + monthly_character_prestige = 0.25 + monthly_character_piety = 0.25 + active = { + religion_group = christian + } + allowed_gift = { + religion_group = christian + } + quality = 1 + flags = { religious christian bone saint bodypart } + picture = "GFX_saints_bone_finger" +} + +finger_of_st_john = { #separate event chain + monthly_character_prestige = 0.1 + monthly_character_piety = 0.5 + learning = 1 + active = { religion_group = christian } + allowed_gift = { + religion_group = christian + } + quality = 2 + flags = { religious christian SoA bodypart } + stacking = no + picture = "GFX_saints_bone_finger" +} + +chains_of_st_peter = { + monthly_character_prestige = 0.1 + learning = 2 + active = { religion_group = christian } + allowed_gift = { + religion_group = christian + } + quality = 2 + flags = { religious christian chains saint } + stacking = no + picture = "GFX_relic_box_simple" +} + +right_hand_st_demetrius = { + monthly_character_prestige = 0.1 + martial = 2 + active = { religion_group = christian } + allowed_gift = { + religion_group = christian + } + quality = 2 + flags = { religious christian hand saint bodypart } + stacking = no + picture = "GFX_saints_bone_finger" +} + +veil_of_veronica = { + monthly_character_prestige = 0.1 + monthly_character_piety = 0.5 + global_revolt_risk = -0.01 + active = { religion_group = christian } + allowed_gift = { + religion_group = christian + } + quality = 2 + flags = { religious christian jesus face cloth } + stacking = no + picture = "GFX_veil_of_veronica" +} + +image_of_edessa = { + monthly_character_prestige = 0.1 + monthly_character_piety = 0.5 + health = 0.25 + global_tax_modifier = 0.05 + active = { religion_group = christian } + allowed_gift = { + religion_group = christian + } + quality = 3 + flags = { religious christian jesus face cloth } + stacking = no + picture = "GFX_magnificent_painting_improved" +} + +remains_of_st_cessianus = { + monthly_character_prestige = 0.1 + same_religion_opinion = 5 + active = { religion_group = christian } + allowed_gift = { + religion_group = christian + } + quality = 2 + flags = { religious christian saint remains } + stacking = no + picture = "GFX_relic_box_simple" +} + +weeping_statue = { + monthly_character_prestige = 0.1 + global_tax_modifier = 0.05 + active = { religion_group = christian } + allowed_gift = { + religion_group = christian + } + quality = 2 + flags = { religious christian mary statue } + stacking = no + picture = "GFX_magnificent_painting_improved" +} + + +### Jewish ### +staff_of_moses = { + monthly_character_prestige = 0.1 + monthly_character_piety = 0.5 + command_modifier = { + morale_offence = 0.1 + morale_defence = 0.1 + } + stewardship = 2 + same_religion_opinion = 5 + + active = { + OR= { + religion_group = christian + religion_group = muslim + religion_group = jewish_group + } + } + allowed_gift = { + OR= { + religion_group = christian + religion_group = muslim + religion_group = jewish_group + } + } + quality = 5 + flags = { religious jewish_group christian muslim very_rare troops_morale } + stacking = no + picture = "GFX_royal_scepter" + slot = weapon +} + +davids_harp = { + monthly_character_prestige = 0.1 + monthly_character_piety = 0.5 + same_religion_opinion = 5 + diplomacy = 4 + active = { + OR= { + religion_group = christian + religion_group = muslim + religion_group = jewish_group + } + } + allowed_gift = { + OR= { + religion_group = christian + religion_group = muslim + religion_group = jewish_group + } + } + quality = 5 + flags = { religious jewish_group very_rare } + stacking = no + picture = "GFX_king_davids_harp" +} + +ark_of_the_covenant = { + monthly_character_prestige = 0.1 + monthly_character_piety = 1 + command_modifier = { + morale_offence = 0.1 + morale_defence = 0.1 + } + same_religion_opinion = 10 + stewardship = 2 + active = { + OR= { + religion_group = christian + religion_group = jewish_group + } + } + allowed_gift = { + OR= { + religion_group = christian + religion_group = jewish_group + } + } + quality = 5 + indestructible = yes + flags = { religious christian jewish_group unique troops_morale } + stacking = no + picture = "GFX_ark_of_the_covenant" +} + +seal_of_solomon = { + monthly_character_prestige = 0.1 + monthly_character_piety = 0.5 + learning = 4 + active = { + OR= { + religion_group = christian + religion_group = muslim + religion_group = jewish_group + trait = mystic + } + } + allowed_gift = { + OR= { + religion_group = christian + religion_group = muslim + religion_group = jewish_group + trait = mystic + } + } + quality = 4 + flags = { religious jewish_group occult jewelry very_rare } + stacking = no + picture = "GFX_seal_of_solomon" +} + +tabernacle = { + monthly_character_prestige = 0.1 + monthly_character_piety = 0.5 + global_revolt_risk = -0.02 + active = { + OR= { + religion_group = christian + religion_group = jewish_group + } + } + allowed_gift = { + OR= { + religion_group = christian + religion_group = jewish_group + } + } + quality = 3 + flags = { religious christian jewish rare } + stacking = no + picture = "GFX_relicbox_iron" +} + +davids_sling = { + monthly_character_prestige = 0.5 + martial = 1 + combat_rating = 1 + active = { + OR= { + religion_group = christian + religion_group = jewish_group + } + } + allowed_gift = { + OR= { + religion_group = christian + religion_group = jewish_group + } + } + quality = 2 + flags = { religious christian combat jewish_group } + stacking = no + picture = "GFX_relic_box" + slot = weapon +} + + +### Muslim ### + + +seal_of_mohammad = { + short_reign_length = -5 + monthly_character_prestige = 0.5 + same_religion_opinion = 10 + diplomacy = 2 + active = { religion_group = muslim } + allowed_gift = { + religion_group = muslim + } + quality = 5 + flags = { religious muslim very_rare mohammad } + stacking = no + picture = "GFX_seal_of_mohammad" +} + +holy_banner_of_mohammad = { + monthly_character_prestige = 0.1 + command_modifier = { + morale_offence = 0.15 + morale_defence = 0.15 + } + same_religion_opinion = 5 + global_revolt_risk = -0.02 + martial = 1 + active = { religion_group = muslim } + allowed_gift = { + religion_group = muslim + } + quality = 5 + flags = { religious muslim very_rare mohammad troops_morale } + stacking = no + picture = "GFX_heroic_banner_muslim" +} + +blessed_mantle = { + monthly_character_piety = 0.5 + monthly_character_prestige = 0.5 + same_religion_opinion = 5 + global_tax_modifier = 0.1 + diplomacy = 1 + active = { religion_group = muslim } + allowed_gift = { + religion_group = muslim + } + quality = 5 + flags = { religious muslim very_rare mohammad } + stacking = no + picture = "GFX_blessed_mantle" +} + +sword_of_mohammad = { + monthly_character_prestige = 0.5 + monthly_character_piety = 0.5 + martial = 3 + combat_rating = 2 + active = { + religion_group = muslim + is_adult = yes + } + allowed_gift = { + religion_group = muslim + } + quality = 4 + flags = { religious muslim very_rare combat mohammad } + stacking = no + picture = "GFX_sword_of_mohammad" + slot = weapon +} + +blessed_sandals = { + monthly_character_prestige = 1 + monthly_character_piety = 0.5 + health = 1 + active = { religion_group = muslim } + allowed_gift = { + religion_group = muslim + } + quality = 4 + flags = { religious muslim rare mohammad} + stacking = no + picture = "GFX_relic_box" +} + +letter_of_mohammad = { + monthly_character_prestige = 0.1 + monthly_character_piety = 0.5 + learning = 2 + active = { religion_group = muslim } + allowed_gift = { + religion_group = muslim + } + quality = 3 + flags = { religious muslim rare mohammad} + stacking = no + picture = "GFX_relic_box" +} + +cloak_of_mohammad = { + monthly_character_prestige = 0.1 + monthly_character_piety = 0.5 + global_revolt_risk = -0.02 + active = { religion_group = muslim } + allowed_gift = { + religion_group = muslim + } + quality = 3 + flags = { religious muslim rare mohammad} + stacking = no + picture = "GFX_cloak_of_mohammad" +} + +mohammads_bowl = { + monthly_character_prestige = 0.1 + same_religion_opinion = 5 + global_revolt_risk = -0.01 + active = { religion_group = muslim } + allowed_gift = { + religion_group = muslim + } + quality = 2 + flags = { religious muslim } + stacking = no + picture = "GFX_relic_box" +} + +mohammads_beard = { + monthly_character_piety = 0.25 + monthly_character_prestige = 0.25 + diplomacy = 1 + active = { religion_group = muslim } + allowed_gift = { + religion_group = muslim + } + quality = 2 + flags = { religious muslim } + stacking = no + picture = "GFX_pouch" +} + +water_of_blessed_mantle = { + monthly_character_prestige = 0.1 + monthly_character_piety = 0.25 + health = 0.25 + active = { religion_group = muslim } + allowed_gift = { + religion_group = muslim + } + quality = 1 + flags = { religious muslim } + stacking = no + picture = "GFX_cup_holy_grail" +} + +tooth_of_mohammad = { + monthly_character_prestige = 0.5 + command_modifier = { + center = 0.1 + } + active = { religion_group = muslim } + allowed_gift = { + religion_group = muslim + } + quality = 2 + flags = { religious muslim } + stacking = no + picture = "GFX_pouch" +} + +### Zoroastrian ### + +cup_of_jamshid = { + monthly_character_prestige = 0.1 + health = 1 + diplomacy = 1 + martial = 1 + stewardship = 1 + intrigue = 1 + learning = 1 + same_religion_opinion = 5 + + quality = 5 + active = { + religion_group = zoroastrian_group + } + allowed_gift = { + religion_group = zoroastrian_group + } + flags = { religious zoroastrian_group very_rare fantasy } + stacking = no + picture = "GFX_cup_holy_grail" +} + +babr_e_bayan = { + monthly_character_prestige = 0.1 + health = 1 + martial = 2 + combat_rating = 1 + global_levy_size = 0.01 + zoroastrian_opinion = 5 + + quality = 5 + active = { + OR = { + religion_group = zoroastrian_group + culture_group = iranian + } + } + allowed_gift = { + OR = { + religion_group = zoroastrian_group + culture_group = iranian + } + } + flags = { religious zoroastrian_group iranian very_rare fantasy } + stacking = no + picture = "GFX_leopard_skin_cloak" +} + +derafsh_kaviani = { + monthly_character_prestige = 1 + command_modifier = { + morale_offence = 0.2 + morale_defence = 0.2 + } + vassal_opinion = 10 + + quality = 4 + active = { + OR = { + religion_group = zoroastrian_group + culture_group = iranian + has_landed_title = e_persia + has_landed_title = k_persia + } + } + allowed_gift = { + OR = { + religion_group = zoroastrian_group + culture_group = iranian + has_landed_title = e_persia + has_landed_title = k_persia + } + } + flags = { religious zoroastrian_group iranian very_rare troops_morale } + stacking = no + picture = "GFX_heroic_banner_derafsh" +} + +cyrus_cylinder = { + monthly_character_prestige = 0.1 + build_cost_modifier = -0.1 + build_time_modifier = -0.1 + stewardship = 1 + quality = 3 + active = { + OR = { + religion_group = zoroastrian_group + culture_group = iranian + } + } + allowed_gift = { + OR = { + religion_group = zoroastrian_group + culture_group = iranian + } + } + flags = { religious zoroastrian_group iranian rare } + stacking = no + picture = "GFX_relic_box" +} + +haoma_sapling = { + monthly_character_prestige = 0.1 + monthly_character_piety = 0.25 + same_religion_opinion = 5 + fertility = 0.1 + health = 0.25 + + quality = 2 + active = { religion_group = zoroastrian_group } + allowed_gift = { + religion_group = zoroastrian_group + } + flags = { religious zoroastrian_group } + stacking = no + picture = "GFX_haoma_sapling" +} + +keshmar_cypress_branch = { + monthly_character_prestige = 0.5 + + quality = 1 + active = { religion_group = zoroastrian_group } + allowed_gift = { + religion_group = zoroastrian_group + } + flags = { religious zoroastrian_group } + stacking = no + picture = "GFX_branch_of_the_cypress_of_keshmar" +} + +### Pagan ### + +#Germanic +mjolnir = { + monthly_character_prestige = 0.5 + martial = 3 + combat_rating = 1 + command_modifier = { + heavy_infantry = 0.1 + } + same_religion_opinion = 5 + quality = 5 + active = { + OR = { + religion = norse_pagan + religion = norse_pagan_reformed + } + is_adult = yes + } + allowed_gift = { + OR = { + religion = norse_pagan + religion = norse_pagan_reformed + } + } + flags = { religious norse_pagan very_rare combat } + stacking = no + picture = "GFX_mjolnir" + + slot = weapon +} + +andvaranaut = { + monthly_character_prestige = 0.5 + stewardship = 4 + global_tax_modifier = 0.2 + same_religion_opinion = 5 + health = -1 + quality = 5 + active = { + OR = { + religion = norse_pagan + religion = norse_pagan_reformed + } + } + allowed_gift = { + OR = { + religion = norse_pagan + religion = norse_pagan_reformed + } + } + flags = { religious norse_pagan very_rare ring curse } + stacking = no + picture = "GFX_bracelet_jeweled_gold" + + slot = wrist +} + +gjallarhorn = { + monthly_character_prestige = 0.1 + command_modifier = { + morale_offence = 0.2 + morale_defence = 0.2 + } + quality = 3 + active = { + OR = { + religion = norse_pagan + religion = norse_pagan_reformed + } + } + allowed_gift = { + OR = { + religion = norse_pagan + religion = norse_pagan_reformed + } + } + flags = { religious norse_pagan horn troops_morale } + stacking = no + picture = "GFX_relic_box_simple" +} + +#West African +fetish_of_souls = { + monthly_character_prestige = 0.1 + monthly_character_piety = 0.5 + intrigue = 3 + monthly_character_piety = 1 + same_religion_opinion = 10 + quality = 5 + active = { + OR = { + religion = west_african_pagan + religion = west_african_pagan_reformed + } + } + allowed_gift = { + OR = { + religion = west_african_pagan + religion = west_african_pagan_reformed + } + } + flags = { religious west_african_pagan very_rare fetish wood face } + stacking = no + picture = "GFX_branch_of_the_cypress_of_keshmar" +} + +#Finnish +sampo = { + monthly_character_prestige = 0.5 + monthly_character_piety = 0.5 + stewardship = 2 + global_tax_modifier = 0.2 + same_religion_opinion = 5 + quality = 5 + active = { + OR = { + religion = finnish_pagan + religion = finnish_pagan_reformed + } + } + allowed_gift = { + OR = { + religion = finnish_pagan + religion = finnish_pagan_reformed + } + } + flags = { religious finnish_pagan very_rare mill_of_fortune produce_gold } + stacking = no + picture = "GFX_relic_box" +} + +#Slavic +axe_of_perun = { + monthly_character_prestige = 0.5 + martial = 2 + combat_rating = 2 + command_modifier = { + light_infantry = 0.1 + } + same_religion_opinion = 5 + quality = 5 + active = { + OR = { + religion = slavic_pagan + religion = slavic_pagan_reformed + } + is_adult = yes + } + allowed_gift = { + OR = { + religion = slavic_pagan + religion = slavic_pagan_reformed + } + } + flags = { religious slavic_pagan very_rare combat axe } + stacking = no + picture = "GFX_axe_of_perun" + + slot = weapon +} + +#Romuva +axe_of_perkunas = { + monthly_character_prestige = 0.5 + martial = 5 + same_religion_opinion = 5 + quality = 5 + active = { + OR = { + religion = baltic_pagan + religion = baltic_pagan_reformed + } + is_adult = yes + } + allowed_gift = { + OR = { + religion = baltic_pagan + religion = baltic_pagan_reformed + } + } + flags = { religious baltic_pagan very_rare combat stone axe } + stacking = no + picture = "GFX_axe_of_perkunas" + + slot = weapon +} + +#Tengri +yada_tashy = { + monthly_character_prestige = 1 + stewardship = 2 + global_tax_modifier = 0.1 + same_religion_opinion = 10 + quality = 5 + active = { + OR = { + religion = tengri_pagan + religion = tengri_pagan_reformed + } + } + allowed_gift = { + OR = { + religion = tengri_pagan + religion = tengri_pagan_reformed + } + } + flags = { religious tengri_pagan very_rare } + stacking = no + picture = "GFX_pouch" +} + +#Indian Artifacts + +buddhas_tooth = { + monthly_character_prestige = 0.1 + short_reign_length = -5 + monthly_character_piety = 1 + diplomacy = 3 + same_religion_opinion = 10 + active = { religion_group = indian_group } + allowed_gift = { + religion_group = indian_group + } + quality = 5 + flags = { religious indian_group very_rare } + stacking = no + picture = "GFX_pouch" +} + +mountain_of_light_diamond = { #Probably the Koh-i-Noor + monthly_character_prestige = 1 + same_religion_opinion = 5 + build_cost_modifier = -0.1 + build_time_modifier = -0.1 + stewardship = 3 + health = -1 + quality = 5 + active = { religion_group = indian_group } + allowed_gift = { + religion_group = indian_group + } + flags = { religious indian_group jewelry very_rare curse } + stacking = no + picture = "GFX_gem_diamond" +} + +elaborate_danda = { + monthly_character_prestige = 0.5 + global_tax_modifier = 0.1 + diplomacy = 1 + quality = 3 + active = { religion_group = indian_group } + allowed_gift = { + religion_group = indian_group + } + flags = { religious indian_group jewelry } + stacking = no + picture = "GFX_royal_scepter" + slot = scepter +} + +sarira = { + monthly_character_prestige = 0.1 + monthly_character_piety = 0.5 + same_religion_opinion = 5 + quality = 2 + active = { religion_group = indian_group } + allowed_gift = { + religion_group = indian_group + } + flags = { religious indian_group jewelry } + stacking = no + picture = "GFX_gem_sapphire" +} + +sariraka_actual_body_part = { + monthly_character_prestige = 0.1 + monthly_character_piety = 0.25 + learning = 3 + quality = 3 + active = { religion_group = indian_group } + allowed_gift = { + religion_group = indian_group + } + flags = { religious indian_group jewelry } + stacking = no + picture = "GFX_saints_bone_femur" +} + + + +###CROWN JEWELS### + +#Christians & jewish sets (swords also norse) +crown_of_majesty = { + quality = 3 + monthly_character_prestige = 0.4 + castle_opinion = 3 + tribal_opinion = 2 + town_opinion = 2 + flags = { christian crown jewelry crown_jewel } + stacking = no + picture = "GFX_crown_gold_fancy" + + slot = crown +} + +emerald_scepter = { + quality = 3 + monthly_character_prestige = 0.3 + castle_opinion = 3 + tribal_opinion = 2 + town_opinion = 2 + flags = { scepter jewelry crown_jewel } + stacking = no + picture = "GFX_scepter_emerald" + + slot = scepter +} + +sword_of_heroes = { + quality = 3 + monthly_character_prestige = 0.3 + tribal_opinion = 6 + castle_opinion = 3 + town_opinion = 2 + flags = { sword jewelry crown_jewel } + stacking = no + picture = "GFX_sword_of_heroes" + + slot = ceremonial_weapon +} + +crown_of_pearls = { + quality = 2 + monthly_character_prestige = 0.2 + castle_opinion = 2 + tribal_opinion = 2 + town_opinion = 2 + flags = { crown jewelry crown_jewel } + stacking = no + picture = "GFX_crown_of_pearls" + + slot = crown +} + +ruby_scepter = { + quality = 2 + monthly_character_prestige = 0.2 + castle_opinion = 2 + tribal_opinion = 2 + town_opinion = 2 + flags = { scepter jewelry crown_jewel } + stacking = no + picture = "GFX_sceptre_ruby" + + slot = scepter +} + +golden_sword = { + quality = 2 + monthly_character_prestige = 0.2 + tribal_opinion = 4 + castle_opinion = 2 + town_opinion = 2 + flags = { sword jewelry crown_jewel } + stacking = no + picture = "GFX_sword_golden" + + slot = ceremonial_weapon +} + +the_lily_crown = { + quality = 1 + monthly_character_prestige = 0.1 + castle_opinion = 1 + tribal_opinion = 1 + town_opinion = 1 + flags = { crown jewelry crown_jewel } + stacking = no + picture = "GFX_crown_of_lilies" + + slot = crown +} + +noble_scepter = { + quality = 1 + monthly_character_prestige = 0.05 + castle_opinion = 1 + tribal_opinion = 1 + town_opinion = 1 + flags = { scepter jewelry crown_jewel } + stacking = no + picture = "GFX_royal_scepter" + + slot = scepter +} + +engraved_sword = { + quality = 1 + monthly_character_prestige = 0.05 + tribal_opinion = 2 + castle_opinion = 1 + town_opinion = 1 + flags = { scepter jewelry crown_jewel } + stacking = no + picture = "GFX_sword_engraved" + + slot = ceremonial_weapon +} + +#Muslim sets & west african sets (daggers also indian) +dagger_of_glory = { + quality = 3 + monthly_character_prestige = 0.5 + tribal_opinion = 6 + castle_opinion = 3 + town_opinion = 2 + flags = { dagger jewelry crown_jewel } + stacking = no + picture = "GFX_inscriped_dagger" + + slot = ceremonial_weapon +} + +ruby_bracelets = { + quality = 3 + monthly_character_prestige = 0.5 + castle_opinion = 3 + tribal_opinion = 2 + town_opinion = 2 + flags = { bracelet jewelry crown_jewel } + stacking = no + picture = "GFX_bracelet_jeweled_gold" + + slot = wrist +} + +bejeweled_dagger = { + quality = 2 + monthly_character_prestige = 0.3 + tribal_opinion = 4 + castle_opinion = 2 + town_opinion = 2 + flags = { dagger jewelry crown_jewel } + stacking = no + picture = "GFX_indian_dagger" + + slot = ceremonial_weapon +} + +golden_bracelets = { + quality = 2 + monthly_character_prestige = 0.3 + castle_opinion = 2 + tribal_opinion = 2 + town_opinion = 2 + flags = { bracelet jewelry crown_jewel } + stacking = no + picture = "GFX_bracelet_gold" + + slot = wrist +} + +engraved_dagger = { + quality = 1 + monthly_character_prestige = 0.1 + castle_opinion = 1 + tribal_opinion = 2 + town_opinion = 1 + flags = { dagger jewelry crown_jewel } + stacking = no + picture = "GFX_simple_dagger" + + slot = ceremonial_weapon +} + +silver_bracelets = { + quality = 1 + monthly_character_prestige = 0.1 + castle_opinion = 1 + tribal_opinion = 1 + town_opinion = 1 + flags = { bracelet jewelry crown_jewel } + stacking = no + picture = "GFX_bracelet_silver" + + slot = wrist +} + +#Indian sets +celestial_necklace = { + quality = 3 + monthly_character_prestige = 0.5 + castle_opinion = 3 + tribal_opinion = 2 + town_opinion = 2 + flags = { necklace jewelry crown_jewel } + stacking = no + picture = "GFX_indian_necklace" + + slot = neck +} + +necklace_of_radiance = { + quality = 2 + monthly_character_prestige = 0.3 + castle_opinion = 2 + tribal_opinion = 2 + town_opinion = 2 + flags = { necklace jewelry crown_jewel } + stacking = no + picture = "GFX_necklace_of_radiance" + + slot = neck +} + +collar_of_pearls = { + quality = 1 + monthly_character_prestige = 0.1 + castle_opinion = 1 + tribal_opinion = 1 + town_opinion = 1 + flags = { necklace jewelry crown_jewel } + stacking = no + picture = "GFX_pearl_necklace" + + slot = neck +} + +#Zoroastrian & zun sets +circlet_of_the_heavens = { + quality = 3 + monthly_character_prestige = 0.5 + castle_opinion = 3 + tribal_opinion = 2 + town_opinion = 2 + flags = { circlet jewelry crown_jewel } + stacking = no + picture = "GFX_bracelet_jeweled_silver" + + slot = crown +} + +staff_of_majesty = { + quality = 3 + monthly_character_prestige = 0.5 + castle_opinion = 3 + tribal_opinion = 2 + town_opinion = 2 + flags = { staff jewelry crown_jewel } + stacking = no + picture = "GFX_sceptre_ruby" + + slot = ceremonial_weapon +} + +circlet_of_the_sun = { + quality = 2 + monthly_character_prestige = 0.3 + castle_opinion = 2 + tribal_opinion = 2 + town_opinion = 2 + flags = { circlet jewelry crown_jewel } + stacking = no + picture = "GFX_bracelet_jeweled_gold" + + slot = crown +} + +golden_staff = { + quality = 2 + monthly_character_prestige = 0.3 + castle_opinion = 2 + tribal_opinion = 2 + town_opinion = 2 + flags = { staff jewelry crown_jewel } + stacking = no + picture = "GFX_royal_scepter" + + slot = ceremonial_weapon +} + +circlet_of_twilight = { + quality = 1 + monthly_character_prestige = 0.1 + castle_opinion = 1 + tribal_opinion = 1 + town_opinion = 1 + flags = { circlet jewelry crown_jewel } + stacking = no + picture = "GFX_bracelet_silver" + + slot = crown +} + +silver_staff = { + quality = 1 + monthly_character_prestige = 0.1 + castle_opinion = 1 + tribal_opinion = 1 + town_opinion = 1 + flags = { staff jewelry crown_jewel } + stacking = no + picture = "GFX_royal_scepter" + + slot = ceremonial_weapon +} + +#Norse sets +crown_of_crows = { + quality = 3 + monthly_character_prestige = 0.7 + castle_opinion = 3 + tribal_opinion = 2 + town_opinion = 2 + flags = { crown jewelry crown_jewel } + stacking = no + picture = "GFX_crown_gold" + + slot = crown +} + +crown_of_the_sea = { + quality = 2 + monthly_character_prestige = 0.4 + castle_opinion = 2 + tribal_opinion = 2 + town_opinion = 2 + flags = { crown jewelry crown_jewel } + stacking = no + picture = "GFX_crown_silver" + + slot = crown +} + +iron_crown = { + quality = 1 + monthly_character_prestige = 0.15 + castle_opinion = 1 + tribal_opinion = 1 + town_opinion = 1 + flags = { crown jewelry crown_jewel } + stacking = no + picture = "GFX_crown_silver" + + slot = crown +} + + + +#Slavic/baltic/finnish/tengri sets +heros_crown = { + quality = 3 + monthly_character_prestige = 0.5 + castle_opinion = 3 + tribal_opinion = 2 + town_opinion = 2 + flags = { crown jewelry crown_jewel } + stacking = no + picture = "GFX_crown_gold_fancy" + + slot = crown +} + +axe_of_the_ancestors = { + quality = 3 + monthly_character_prestige = 0.5 + tribal_opinion = 6 + castle_opinion = 3 + town_opinion = 2 + flags = { axe jewelry crown_jewel } + stacking = no + picture = "GFX_viking_axe" + + slot = ceremonial_weapon +} + +amber_crown = { + quality = 2 + monthly_character_prestige = 0.3 + castle_opinion = 2 + tribal_opinion = 2 + town_opinion = 2 + flags = { crown jewelry crown_jewel } + stacking = no + picture = "GFX_crown_gold" + + slot = crown +} + +obsidian_axe = { + quality = 2 + monthly_character_prestige = 0.3 + tribal_opinion = 4 + castle_opinion = 2 + town_opinion = 2 + flags = { axe jewelry crown_jewel } + stacking = no + picture = "GFX_viking_axe" + + slot = ceremonial_weapon +} + +engraved_crown = { + quality = 1 + monthly_character_prestige = 0.1 + castle_opinion = 1 + tribal_opinion = 1 + town_opinion = 1 + flags = { crown jewelry crown_jewel } + stacking = no + picture = "GFX_crown_silver" + + slot = crown +} + +ceremonial_axe = { + quality = 1 + monthly_character_prestige = 0.1 + tribal_opinion = 2 + castle_opinion = 1 + town_opinion = 1 + flags = { axe jewelry crown_jewel } + stacking = no + picture = "GFX_viking_axe" + + slot = ceremonial_weapon +} + + + +### Crafted Weapons ### +# Sword +sword_tier_1 = { + monthly_character_prestige = 0.25 + martial = 1 + combat_rating = 1 + quality = 1 + active = { + is_adult = yes + } + flags = { combat_weapon sword } + stacking = no + picture = "GFX_sword" + slot = weapon +} + +sword_tier_2 = { + monthly_character_prestige = 0.5 + martial = 2 + combat_rating = 1 + quality = 2 + active = { + is_adult = yes + } + flags = { combat_weapon sword } + stacking = no + picture = "GFX_sword_T2" + slot = weapon +} + +sword_tier_3_heartseeker = { + monthly_character_prestige = 0.75 + martial = 3 + combat_rating = 2 + quality = 3 + active = { + is_adult = yes + } + flags = { combat_weapon sword } + stacking = no + picture = "GFX_sword_T3_glow_purple" + slot = weapon +} + +sword_tier_3_vengeance = { + monthly_character_prestige = 0.75 + martial = 3 + combat_rating = 2 + quality = 3 + active = { + is_adult = yes + } + flags = { combat_weapon sword } + stacking = no + picture = "GFX_sword_T3_glow_green" + slot = weapon +} + +sword_tier_3_fury = { + monthly_character_prestige = 0.75 + martial = 3 + combat_rating = 2 + quality = 3 + active = { + is_adult = yes + } + flags = { combat_weapon sword } + stacking = no + picture = "GFX_sword_T3_glow_red" + slot = weapon +} + +# Scimitar +scimitar_tier_1 = { + monthly_character_prestige = 0.25 + martial = 1 + combat_rating = 1 + quality = 1 + active = { + is_adult = yes + } + flags = { combat_weapon sword } + stacking = no + picture = "GFX_scimitar_T1" + slot = weapon +} + +scimitar_tier_2 = { + monthly_character_prestige = 0.5 + martial = 2 + combat_rating = 1 + quality = 2 + active = { + is_adult = yes + } + flags = { combat_weapon sword } + stacking = no + picture = "GFX_scimitar_T2" + slot = weapon +} + +scimitar_tier_3_golden = { + monthly_character_prestige = 0.75 + martial = 3 + combat_rating = 2 + quality = 3 + active = { + is_adult = yes + } + flags = { combat_weapon sword } + stacking = no + picture = "GFX_the_golden_scimitar" + slot = weapon +} + +scimitar_tier_3_fortune = { + monthly_character_prestige = 0.75 + martial = 3 + combat_rating = 2 + quality = 3 + active = { + is_adult = yes + } + flags = { combat_weapon sword } + stacking = no + picture = "GFX_scimitar_T3" + slot = weapon +} + +scimitar_tier_3_conquest = { + monthly_character_prestige = 0.75 + martial = 3 + combat_rating = 2 + quality = 3 + active = { + is_adult = yes + } + flags = { combat_weapon sword } + stacking = no + picture = "GFX_sword_muslim" + slot = weapon +} + +# Lance +lance_tier_1 = { + monthly_character_prestige = 0.25 + martial = 1 + combat_rating = 1 + quality = 1 + active = { + is_adult = yes + } + flags = { combat_weapon lance } + stacking = no + picture = "GFX_lance" + slot = weapon +} + +lance_tier_2 = { + monthly_character_prestige = 0.5 + martial = 1 + combat_rating = 1 + command_modifier = { + cavalry = 0.05 + } + quality = 2 + active = { + is_adult = yes + } + flags = { combat_weapon lance } + stacking = no + picture = "GFX_twohanded_lance" + slot = weapon +} + +lance_tier_3_impaler = { + monthly_character_prestige = 0.75 + martial = 1 + combat_rating = 2 + command_modifier = { + cavalry = 0.1 + } + quality = 3 + active = { + is_adult = yes + } + flags = { combat_weapon lance } + stacking = no + picture = "GFX_the_impaler" + slot = weapon +} + +lance_tier_3_trident = { + monthly_character_prestige = 0.75 + martial = 1 + combat_rating = 2 + command_modifier = { + cavalry = 0.1 + } + quality = 3 + active = { + is_adult = yes + } + flags = { combat_weapon lance } + stacking = no + picture = "GFX_the_trident" + slot = weapon +} + +lance_tier_3_piercer = { + monthly_character_prestige = 0.75 + martial = 1 + combat_rating = 2 + command_modifier = { + cavalry = 0.1 + } + quality = 3 + active = { + is_adult = yes + } + flags = { combat_weapon lance } + stacking = no + picture = "GFX_the_piercer" + slot = weapon +} + +# Axe +axe_tier_1 = { + monthly_character_prestige = 0.25 + martial = 1 + combat_rating = 1 + quality = 1 + active = { + is_adult = yes + } + flags = { combat_weapon axe } + stacking = no + picture = "GFX_axe_tier_1" + slot = weapon +} + +axe_tier_2 = { + monthly_character_prestige = 0.5 + martial = 1 + combat_rating = 1 + command_modifier = { + light_infantry = 0.05 + } + quality = 2 + active = { + is_adult = yes + } + flags = { combat_weapon axe } + stacking = no + picture = "GFX_viking_axe" + slot = weapon +} + +axe_tier_3_cleaver = { + monthly_character_prestige = 0.75 + martial = 1 + combat_rating = 2 + command_modifier = { + light_infantry = 0.1 + } + quality = 3 + active = { + is_adult = yes + } + flags = { combat_weapon axe } + stacking = no + picture = "GFX_cleaver" + slot = weapon +} + +axe_tier_3_ravager = { + monthly_character_prestige = 0.75 + martial = 1 + combat_rating = 2 + command_modifier = { + light_infantry = 0.1 + } + quality = 3 + active = { + is_adult = yes + } + flags = { combat_weapon axe } + stacking = no + picture = "GFX_ravager" + slot = weapon +} + +axe_tier_3_marauder = { + monthly_character_prestige = 0.75 + martial = 1 + combat_rating = 2 + command_modifier = { + light_infantry = 0.1 + } + quality = 3 + active = { + is_adult = yes + } + flags = { combat_weapon axe } + stacking = no + picture = "GFX_marauder" + slot = weapon +} + +# Mace +mace_tier_1 = { + monthly_character_prestige = 0.25 + martial = 1 + combat_rating = 1 + quality = 1 + active = { + is_adult = yes + } + flags = { combat_weapon mace } + stacking = no + picture = "GFX_mace_tier_1" + slot = weapon +} + +mace_tier_2 = { + monthly_character_prestige = 0.5 + martial = 1 + combat_rating = 1 + command_modifier = { + heavy_infantry = 0.05 + } + quality = 2 + active = { + is_adult = yes + } + flags = { combat_weapon mace } + stacking = no + picture = "GFX_mace" + slot = weapon +} + +mace_tier_3_foe_hammer = { + monthly_character_prestige = 0.75 + martial = 1 + combat_rating = 2 + command_modifier = { + heavy_infantry = 0.1 + } + quality = 3 + active = { + is_adult = yes + } + flags = { combat_weapon mace } + stacking = no + picture = "GFX_the_foe_hammer" + slot = weapon +} + +mace_tier_3_bone_breaker = { + monthly_character_prestige = 0.75 + martial = 1 + combat_rating = 2 + command_modifier = { + heavy_infantry = 0.1 + } + quality = 3 + active = { + is_adult = yes + } + flags = { combat_weapon mace } + stacking = no + picture = "GFX_the_bone_breaker" + slot = weapon +} + +mace_tier_3_shatterer = { + monthly_character_prestige = 0.75 + martial = 1 + combat_rating = 2 + command_modifier = { + heavy_infantry = 0.1 + } + quality = 3 + active = { + is_adult = yes + } + flags = { combat_weapon mace } + stacking = no + picture = "GFX_the_shatterer" + slot = weapon +} + +# Bow - Nomads +bow_tier_1 = { + monthly_character_prestige = 0.5 + combat_rating = 1 + quality = 1 + active = { + is_adult = yes + } + flags = { combat_weapon bow } + stacking = no + picture = "GFX_self_bow_t1" + slot = weapon +} + +bow_tier_2 = { + monthly_character_prestige = 0.75 + combat_rating = 1 + command_modifier = { + cavalry = 0.075 + } + quality = 2 + active = { + is_adult = yes + } + flags = { combat_weapon bow } + stacking = no + picture = "GFX_recurve_bow" + slot = weapon +} + +bow_tier_3_silent_wind = { + monthly_character_prestige = 1 + combat_rating = 2 + command_modifier = { + cavalry = 0.15 + } + quality = 3 + active = { + is_adult = yes + } + flags = { combat_weapon bow } + stacking = no + picture = "GFX_silent_wind" + slot = weapon +} + +bow_tier_3_lightning = { + monthly_character_prestige = 1 + combat_rating = 2 + command_modifier = { + cavalry = 0.15 + } + quality = 3 + active = { + is_adult = yes + } + flags = { combat_weapon bow } + stacking = no + picture = "GFX_lightning" + slot = weapon +} + +bow_tier_3_eagle = { + monthly_character_prestige = 1 + combat_rating = 2 + command_modifier = { + cavalry = 0.15 + } + quality = 3 + active = { + is_adult = yes + } + flags = { combat_weapon bow } + stacking = no + picture = "GFX_eagle" + slot = weapon +} + +#paintings + +magnificent_painting = { + monthly_character_prestige = 0.25 + quality = 1 + flags = { art decor } + stacking = no + picture = "GFX_magnificent_painting" +} + +avant_garde_painting = { + diplomacy = -1 + monthly_character_prestige = 0.5 + quality = 1 + flags = { art decor } + stacking = no + picture = "GFX_magnificent_painting_improved" +} + + +###Hermetic ingredients### +ingredient_herb1 = { + quality = 1 + allowed_gift = { + society_member_of = hermetics + } + flags = { hermetics ingredient } + picture = "GFX_pouch_of_ingredients" +} + +ingredient_herb2 = { + quality = 1 + allowed_gift = { + society_member_of = hermetics + } + flags = { hermetics ingredient } + picture = "GFX_pouch_of_ingredients" +} + +ingredient_herb3 = { + quality = 1 + allowed_gift = { + society_member_of = hermetics + } + flags = { hermetics ingredient } + picture = "GFX_pouch_of_ingredients" +} + +ingredient_herb4 = { + quality = 1 + allowed_gift = { + society_member_of = hermetics + } + flags = { hermetics ingredient } + picture = "GFX_pouch_of_ingredients" +} + +ingredient_herb5 = { + quality = 1 + allowed_gift = { + society_member_of = hermetics + } + flags = { hermetics ingredient } + picture = "GFX_pouch_of_ingredients" +} + +ingredient_herb6 = { + quality = 1 + allowed_gift = { + society_member_of = hermetics + } + flags = { hermetics ingredient } + picture = "GFX_pouch_of_ingredients" +} + +ingredient_herb7 = { + quality = 1 + allowed_gift = { + society_member_of = hermetics + } + flags = { hermetics ingredient } + picture = "GFX_pouch_of_ingredients" +} + +ingredient_herb8 = { + quality = 1 + allowed_gift = { + society_member_of = hermetics + } + flags = { hermetics ingredient } + picture = "GFX_pouch_of_ingredients" +} + +ingredient_herb9 = { + quality = 1 + allowed_gift = { + society_member_of = hermetics + } + flags = { hermetics ingredient } + picture = "GFX_pouch_of_ingredients" +} + +ingredient_animal1 = { + quality = 1 + allowed_gift = { + society_member_of = hermetics + } + flags = { hermetics ingredient } + picture = "GFX_pouch_of_ingredients" +} + +ingredient_animal2 = { + quality = 1 + allowed_gift = { + society_member_of = hermetics + } + flags = { hermetics ingredient } + picture = "GFX_pouch_of_ingredients" +} + +ingredient_animal3 = { + quality = 1 + allowed_gift = { + society_member_of = hermetics + } + flags = { hermetics ingredient } + picture = "GFX_pouch_of_ingredients" +} + +ingredient_animal4 = { + quality = 1 + allowed_gift = { + society_member_of = hermetics + } + flags = { hermetics ingredient } + picture = "GFX_pouch_of_ingredients" +} + +ingredient_animal5 = { + quality = 1 + allowed_gift = { + society_member_of = hermetics + } + flags = { hermetics ingredient } + picture = "GFX_pouch_of_ingredients" +} + +ingredient_animal6 = { + quality = 1 + allowed_gift = { + society_member_of = hermetics + } + flags = { hermetics ingredient } + picture = "GFX_pouch_of_ingredients" +} + +ingredient_animal7 = { + quality = 1 + allowed_gift = { + society_member_of = hermetics + } + flags = { hermetics ingredient } + picture = "GFX_pouch_of_ingredients" +} + +ingredient_animal8 = { + quality = 1 + allowed_gift = { + society_member_of = hermetics + } + flags = { hermetics ingredient } + picture = "GFX_pouch_of_ingredients" +} + +ingredient_animal9 = { + quality = 1 + allowed_gift = { + society_member_of = hermetics + } + flags = { hermetics ingredient } + picture = "GFX_pouch_of_ingredients" +} + +ingredient_metal_exotic1 = { + quality = 1 + allowed_gift = { + society_member_of = hermetics + } + flags = { hermetics ingredient } + picture = "GFX_pouch_of_ingredients" +} + +ingredient_metal_exotic2 = { + quality = 1 + allowed_gift = { + society_member_of = hermetics + } + flags = { hermetics ingredient } + picture = "GFX_pouch_of_ingredients" +} + +ingredient_metal_exotic3 = { + quality = 1 + allowed_gift = { + society_member_of = hermetics + } + flags = { hermetics ingredient } + picture = "GFX_pouch_of_ingredients" +} + +ingredient_metal_exotic4 = { + quality = 1 + allowed_gift = { + society_member_of = hermetics + } + flags = { hermetics ingredient } + picture = "GFX_pouch_of_ingredients" +} + +ingredient_metal_exotic5 = { + quality = 1 + allowed_gift = { + society_member_of = hermetics + } + flags = { hermetics ingredient } + picture = "GFX_pouch_of_ingredients" +} + +ingredient_metal_exotic6 = { + quality = 1 + allowed_gift = { + society_member_of = hermetics + } + flags = { hermetics ingredient } + picture = "GFX_pouch_of_ingredients" +} + +ingredient_metal_exotic7 = { + quality = 1 + allowed_gift = { + society_member_of = hermetics + } + flags = { hermetics ingredient } + picture = "GFX_pouch_of_ingredients" +} + +ingredient_metal_exotic8 = { + quality = 1 + allowed_gift = { + society_member_of = hermetics + } + flags = { hermetics ingredient } + picture = "GFX_pouch_of_ingredients" +} + +ingredient_metal_exotic9 = { + quality = 1 + allowed_gift = { + society_member_of = hermetics + } + flags = { hermetics ingredient } + picture = "GFX_pouch_of_ingredients" +} + +###HERMETIC TEXTS### + +emerald_tablet = { + learning = 2 + tech_growth_modifier = 0.05 + quality = 4 + active = { + OR = { + AND = { + society_member_of = hermetics + society_rank >= 3 + } + learning = 20 + } + } + allowed_gift = { + society_member_of = hermetics + } + flags = { hermetics text tablet } + stacking = no + picture = "GFX_emerald_tablet" +} + +###HERMETIC INVENTIONS### +hermetic_handgun = { + learning = 1 + combat_rating = 2 + monthly_character_prestige = 1 + command_modifier = { morale_offence = 0.2 } + quality = 3 + active = { + OR = { + learning = 20 + society_member_of = hermetics + } + } + flags = { hermetics invention } + picture = "GFX_relicbox_iron" + slot = weapon +} + +hermetic_compass = { + learning = 2 + stewardship = 2 + monthly_character_prestige = 0.5 + quality = 3 + active = { + OR = { + learning = 20 + society_member_of = hermetics + } + } + flags = { hermetics invention } + picture = "GFX_relic_box_simple" + stacking = no +} + +radius_astronomicus = { + learning = 3 + tech_growth_modifier = 0.05 + monthly_character_prestige = 0.5 + quality = 3 + active = { + OR = { + learning = 20 + society_member_of = hermetics + } + } + flags = { hermetics invention } + picture = "GFX_relic_box_simple" + stacking = no +} + +hermetic_cypher_machine = { + learning = 1 + intrigue = 2 + plot_power_modifier = 0.1 + quality = 2 + active = { + OR = { + learning = 20 + society_member_of = hermetics + } + } + flags = { hermetics invention } + picture = "GFX_relicbox_iron" + stacking = no +} + +hermetic_plate_armor = { + learning = 1 + combat_rating = 1 + monthly_character_prestige = 0.25 + command_modifier = { morale_offence = 0.05 } + quality = 1 + active = { + OR = { + learning = 12 + society_member_of = hermetics + } + } + flags = { hermetics invention } + picture = "GFX_suit_of_armor_gold" + stacking = no + slot = torso +} + +hermetic_glasses = { + learning = 2 + monthly_character_prestige = 0.25 + quality = 1 + active = { + age = 40 + } + flags = { hermetics invention } + picture = "GFX_relic_box_simple" + stacking = no +} + +################ +#Misc artifacts# +################ + +rival_skull = { + quality = 1 + monthly_character_prestige = 0.05 + allowed_gift = { + always = no + } + flags = { trophy skull } + picture = "GFX_saints_skull" +} \ No newline at end of file diff --git a/LCDA/common/artifacts/artifacts_script.info b/LCDA/common/artifacts/artifacts_script.info new file mode 100644 index 0000000..16f7478 --- /dev/null +++ b/LCDA/common/artifacts/artifacts_script.info @@ -0,0 +1,77 @@ +# Artifacts are a scope in and of themselves now. + +# effects +add_artifact = golden_platypus # must be scoped to a character + # a copy of the named artifact is created and added to the scoped character + +any_artifact = { # scope must be a character + # will execute the effect on all artifacts owned by scoped character, and that fulfills the limit + limit = { + has_artifact_flag = rare # example + } + destroy_artifact # example + # the scope of the effect being executed is the artifact, and the PREV scope here is the character who owns the artifact +} +random_artifact = { # scope must be a character + # will execute the effect on one randomly chosen artifact owned by scoped character, and that fulfills the limit + limit = { + quality < 10 #example + } + destroy_artifact # example + # the scope of the effect being executed is the artifact, and the PREV scope here is the character who owns the artifact +} +transfer_artifact = { # scope must be an artifact + from = PREV # from and to should both be characters. if from doesn't own the artifact, to will not receive it + to = PREVPREV +} + +destroy_artifact # scope can be an artifact, or a character. + # if there is no name given, the scope MUST be an artifact, and the PREV scope must be the owner. + # this can be achieved through any_artefact and random_artefact effects + +destroy_artifact = golden_platypus # if an artifact name is given, the scope should be the owner of the artifact. if they own an artifact by that name, it will be destroyed + # if they own more than one, only the first one will be destroyed + # WILL FAIL and add an error message if called on an indestructible artifact + + + +# Triggers +num_of_artifacts = 3 # scope must be a character, returns true if scoped character has at least 3 (in this example) artifacts +has_artifact = golden_platypus # scope must be a character, returns true if scoped character owns an artifact by that name +quality > 10 # scope must be an artifact. + # all comparison operators are available ( <, <=, =, >=, >=) + # returns true if the quality of the scoped artifact compares correctly to the value + +has_artifact_flag # scope must be an artifact + # returns true if the scoped artifact has that flag defined + +is_artifact_active # scope must be an artifact + # returns true if the scoped artifact is currently active + # note that an artifact without an active trigger will always be considered active, even if not owned + # also note that an artifact with an active trigger and without an owner will never be considered active +any_artifact = { # must be scoped to a character + # returns true if any artifact owned by that character fulfills the conditions + quality >= 10 # example +} + +owner / artifact_owner = { # takes an artifact as a scope, returns the current owner of the artifact. either owner or artifact_owner can be used + title = { + tier = emperor + } +} + +original_owner / original_artifact_owner = { # takes an artifact as a scope, returns the original owner of the artifact. either original_owner or original_artifact_owner can be used + title = { + tier = emperor + } +} + +is_indestructible = yes # scope is artifact, returns true if the scoped artifact is indestructible, false otherwise +artifact_type = golden_platypus # takes an artifact as a scope, returns true if the artifact is of the given type, false otherwise +is_artifact_same_type_as = ROOT # takes an artifact as a scope, and an artifact as a target, and returns true if they're the same type, false otherwise +artifact_type_owned_by = ROOT # takes an artifact as a scope, and a character as a target, and returns true if the target character already owns an artifact of the same type +stacking = no # can only have a single copy of this artifact in one's posession. Defaults to "yes" + +#events +on_artifact_inheritance # on action event is sent whenever a character receives an artifact (one event for each artifact) + # Scopes: ROOT is the character, FROM is the artifact, FROMFROM is the old holder \ No newline at end of file diff --git a/LCDA/common/bookmarks/00_bookmarks.txt b/LCDA/common/bookmarks/00_bookmarks.txt new file mode 100644 index 0000000..b6e42fa --- /dev/null +++ b/LCDA/common/bookmarks/00_bookmarks.txt @@ -0,0 +1,745 @@ +bm_charlemagne = { + name = "BM_CHARLEMAGNE_ERA" + desc = "BM_CHARLEMAGNE_ERA_INFO" + date = 769.1.1 + + era = yes ## Will be shown on Era screen. + picture = GFX_pick_era_image_1 + + selectable_character = { + id = 6392 # Charlemagne + age = 26 + name = ERA_CHAR_NAME_6392 + title = k_france + title_name = WEST_FRANCIA + + character = { + dna = bcedirmbfcy + properties = aj00bc00000 + religion="catholic" + culture="old_frankish" + government = feudal_government + dynasty=25061 + } + } + + selectable_character = { + id = 144999 # Carloman + age = 18 + name = ERA_CHAR_NAME_144999 + title = k_lotharingia + title_name = k_lotharingia + + character = { + dna = bcalbhabgal + properties = aj0aca000000 + religion="catholic" + culture="old_frankish" + government = feudal_government + dynasty=25061 + } + } + + selectable_character = { + id = 190347 # Desiderius + age = 52 + name = ERA_CHAR_NAME_190347 + title = k_lombardy + title_name = LOMBARD_KINGDOM + + character = { + dna = aldccxlhgaf + properties = ai0afa000000 + religion="catholic" + culture="lombard" + government = feudal_government + dynasty=1044053 + } + } + + selectable_character = { + id = 73679 # Abd-Al-Rahman + age = 37 + name = ERA_CHAR_NAME_73679 + title = k_andalusia + title_name = ERA_UMAYYAD_EMPIRE + coa_dynasty = yes + dlc = "The Sword of Islam" + + character = { + dna = cmedkpffaax + properties = mj0afa000000 + religion="sunni" + culture="bedouin_arabic" + government = muslim_government + dynasty=597 + } + } + + selectable_character = { + id = 34002 # Al-Mansur + age = 55 + name = ERA_CHAR_NAME_34002 + title = e_arabia + title_name = d_abbasid + coa_dynasty = yes + dlc = "The Sword of Islam" + + character = { + dna = beegiscaaad + properties = ml0ag0000000 + religion="sunni" + culture="bedouin_arabic" + government = muslim_government + dynasty=101727 + } + } + + selectable_character = { + id = 74413 # Krishna Rashtrakuta + age = 64 + name = ERA_CHAR_NAME_74413 + title = k_maharastra + title_name = ERA_RASHTRAKUTA_KINGDOM + coa_dynasty = yes + dlc = "Rajas of India" + + character = { + dna = dhcjffdbaaa + properties = ag0aea000000 + religion="hindu" + culture="kannada" + government = feudal_government + dynasty=1043003 + } + } +} + +bm_the_old_gods = { + name = "BM_THE_OLD_GODS_ERA" + desc = "BM_THE_OLD_GODS_ERA_INFO" + date = 867.1.1 + + era = yes ## Will be shown on Era screen. + picture = GFX_pick_era_image_2 + + selectable_character = { + id = 163112 # Halfdan Whiteshirt + age = 42 + name = ERA_CHAR_NAME_163112 + title = d_york + title_name = ERA_JORVIK + + character = { + dna = tctbpftnsvn + properties = tg0djd000000 + religion="norse_pagan" + culture="norse" + government = feudal_government + dynasty=7514 + } + } + + selectable_character = { + id = 40605 # Rurik + age = 37 + name = ERA_CHAR_NAME_40605 + title = d_novgorod + title_name = ERA_HOLMGARDR + + character = { + dna = tczeyfghtom + properties = th0ebd000000 + religion="norse_pagan" + culture="norse" + government = tribal_government + dynasty=705 + } + } + + selectable_character = { + id = 90104 # Charles the Bald + age = 43 + name = ERA_CHAR_NAME_90104 + title = k_france + title_name = WEST_FRANCIA + + character = { + dna = cjlcjygaaar + properties = an0abb000000 + religion="catholic" + culture="frankish" + government = feudal_government + dynasty=25061 + } + } + + selectable_character = { + id = 90107 # Ludwig the German + age = 61 + name = ERA_CHAR_NAME_90107 + title = k_germany + title_name = EAST_FRANCIA + + character = { + dna = bagmeomdaai + properties = aj0abb000000 + religion="catholic" + culture="german" + government = feudal_government + dynasty=25061 + } + } + + selectable_character = { + id = 1700 # Basil I + age = 30 + name = ERA_CHAR_NAME_1700 + title = e_byzantium + title_name = e_byzantium + + character = { + dna = dageigbabbe + properties = am0aj0000000 + religion="orthodox" + culture="greek" + government = feudal_government + dynasty=644 + } + } + + selectable_character = { + id = 34014 # Al-Mu'tazz + age = 20 + name = ERA_CHAR_NAME_34014 + title = e_arabia + title_name = d_abbasid + coa_dynasty = yes + dlc = "The Sword of Islam" + + character = { + dna = csdeypeevjm + properties = eo0bb0000000 + religion="sunni" + culture="bedouin_arabic" + government = muslim_government + dynasty=101727 + } + } + + ### These are not shown unless the player is viewing custom bookmarks + + selectable_character = { + id = 33358 # Æthelred + } + + selectable_character = { + id = 163111 # Ivar the Boneless + } + + selectable_character = { + id = 45107 # Vandad I + } +} + +bm_fate_of_england = { + name = "BM_FATE_OF_ENGLAND_ERA" + desc = "BM_FATE_OF_ENGLAND_ERA_INFO" + date = 1066.9.15 + + era = yes ## Will be shown on Era screen. + picture = GFX_pick_era_image_3 + custom_start = yes ## Choosing "Custom Start" will open this bookmark + + selectable_character = { + id = 140 # William the Conqueror + age = 39 + name = ERA_CHAR_NAME_140 + title = d_normandy + title_name = d_normandy + + character = { + dna = cagfktibaal + properties = fj0dcd000000 + religion="catholic" + culture="norman" + government = feudal_government + dynasty=752 + } + } + + selectable_character = { + id = 1316 # Kaiser Heinrich IV + age = 16 + name = ERA_CHAR_NAME_1316 + title = e_hre + title_name = e_hre + + character = { + dna = ajbgarbifau + properties = ae00c0000000 + religion="catholic" + culture="german" + government = feudal_government + dynasty=651 + } + } + + selectable_character = { + id = 1128 # Robert de Hauteville + age = 51 + name = ERA_CHAR_NAME_1128 + title = d_apulia + title_name = d_apulia + + character = { + dna = cdbcdogibck + properties = 0c0cbd000000 + religion="catholic" + culture="norman" + government = feudal_government + dynasty=678 + } + } + + selectable_character = { + id = 3096 # Caliph Al-Mustansir of Fatimids + age = 37 + name = ERA_CHAR_NAME_3096 + title = k_egypt + title_name = k_fatimids + coa_dynasty = yes + dlc = "The Sword of Islam" + + character = { + dna = alhdhmkiaag + properties = ak00bc000000 + religion="shiite" + culture="egyptian_arabic" + government = muslim_government + dynasty=589 + } + } + + selectable_character = { + id = 3040 # Alp Arslan of Seljuks + age = 37 + name = ERA_CHAR_NAME_3040 + title = k_persia + title_name = k_persia + coa_dynasty = yes + dlc = "The Sword of Islam" + + character = { + dna = bdgeivbbbam + properties = fg0aha000000 + religion="sunni" + culture="turkish" + government = muslim_government + dynasty=613 + } + } + + selectable_character = { + id = 74441 # Somesvara I of Chalukyas + age = 64 + name = ERA_CHAR_NAME_74441 + title = k_maharastra + title_name = ERA_CHALUKYA + coa_dynasty = yes + dlc = "Rajas of India" + + character = { + dna = cgciafbbaaw + properties = ah00ac000000 + religion="hindu" + culture="kannada" + government = feudal_government + dynasty=12319 + } + } + + ### These are not shown unless the player is viewing custom bookmarks + + selectable_character = { + id = 122 # Harold Godwinson + } + + selectable_character = { + id = 102531 # Harald Hårdråde + } + + selectable_character = { + id = 20663 # Isaac of Khazaria + } + +} + +bm_norman_conquest = { + name = "BM_NORMAN_CONQUEST" + desc = "BM_NORMAN_CONQUEST_DESC" + date = 1066.12.26 + + selectable_character = { + id = 140 # William the Conqueror + } + + selectable_character = { + id = 101515 # Svend Estridsen, King of Denmark + } + + selectable_character = { + id = 20663 # Isaac of Khazaria + } +} + +bm_komnenos_dynasty = { + name = "BM_KOMNENOS_DYNASTY" + desc = "BM_KOMNENOS_DYNASTY_DESC" + date = 1081.4.1 + + selectable_character = { + id = 1742 # Alexios I Komnenos + } + + selectable_character = { + id = 3046 # Suleyman I of Rum + } +} + +bm_third_crusade = { + name = "BM_THIRD_CRUSADE" + desc = "BM_THIRD_CRUSADE_DESC" + date = 1187.1.1 + + selectable_character = { + id = 204500 # Henry II of England + } + + selectable_character = { + id = 205506 # Philippe II Auguste of France + } + + selectable_character = { + id = 223500 # Guy de Lusignan, King of Jerusalem + } + + selectable_character = { + id = 212501 # Friedrich I of the HRE + } + + selectable_character = { + id = 219500 # Hungary + } + + selectable_character = { + id = 215500 # The Byzantine Empire + } + + selectable_character = { + id = 226000 # Saladin + } +} + +bm_the_latin_empire = { + name = "BM_THE_LATIN_EMPIRE" + desc = "BM_THE_LATIN_EMPIRE_DESC" + date = 1204.5.16 + + selectable_character = { + id = 205523 # Baudouin I - Latin Empire + } + + selectable_character = { + id = 215674 # Theodoros I - Byzantine Empire + } + + selectable_character = { + id = 204514 # John I of England + } + + selectable_character = { + id = 205506 # Philippe II of France + } + + selectable_character = { + id = 209500 # Sancho I of Portugal + } + + selectable_character = { + id = 34187 # Kilij Arslan III of Rum + } +} + +bm_the_mongols = { + name = "BM_THE_MONGOLS_ERA" + desc = "BM_THE_MONGOLS_ERA_INFO" + date = 1220.2.1 + + era = yes ## Will be shown on Era screen. + picture = GFX_pick_era_image_4 + + selectable_character = { + id = 457620 # Fernando III of Castille + age = 18 + name = ERA_CHAR_NAME_457620 + title = k_castille + title_name = k_castille + + character = { + dna = bcabiyiccaf + properties = ah00ja000000 + religion="catholic" + culture="castillan" + government = feudal_government + dynasty=681 + } + } + + selectable_character = { + id = 212513 # Friedrich II, Holy Roman Emperor + age = 25 + name = ERA_CHAR_NAME_212513 + title = e_hre + title_name = e_hre + + character = { + dna = agbceeccebr + properties = aj0bh0000000 + religion="catholic" + culture="german" + government = feudal_government + dynasty=529 + } + } + + selectable_character = { + id = 30809 # Isabelle II of Jerusalem + age = 9 + name = ERA_CHAR_NAME_30809 + title = k_jerusalem + title_name = k_jerusalem + + character = { + female = yes + dna = ajgdamibabj + properties = aj0bba000000 + religion="catholic" + culture="frankish" + government = feudal_government + dynasty=80 + } + } + + selectable_character = { + id = 93052 # Mohammed Ala ed-Din of Khwarezian Empire + age = 50 + name = ERA_CHAR_NAME_93052 + title = k_persia + title_name = ERA_KHWAREZM + coa_dynasty = yes + dlc = "The Sword of Islam" + + character = { + dna = cgeeapcdeaf + properties = ag0bha000000 + religion="sunni" + culture="turkish" + government = muslim_government + dynasty=101866 + } + } + + selectable_character = { + id = 170193 # Iltutmish, Sultan of Delhi + age = 50 + name = ERA_CHAR_NAME_170193 + title = e_rajastan + title_name = k_delhi + coa_dynasty = yes + dlc = "The Sword of Islam" + + character = { + dna = aefgiqfbeae + properties = ob00b0000000 + religion="sunni" + culture="turkish" + government = muslim_government + dynasty=1040202 + } + } + + selectable_character = { + id = 125501 # Genghis Khan + age = 58 + name = ERA_CHAR_NAME_125501 + title = e_mongol_empire + title_name = e_mongol_empire + #coa_dynasty = yes + dlc = "Horse Lords" + + character = { + dna = bggmkufdfae + properties = k000cd000000 + religion="tengri_pagan" + culture="mongol" + government = nomadic_government + dynasty=11100 + } + } +} + +bm_rise_of_the_hansa = { + name = "BM_RISE_OF_THE_HANSA" + desc = "BM_RISE_OF_THE_HANSA_DESC" + date = 1241.5.1 + + selectable_character = { + id = 457620 # Fernando II of Castile + } + + selectable_character = { + id = 167219 # Heinrich Vorrade of the Hansa + } + + selectable_character = { + id = 212513 # Friedrich II of the HRE + } + + selectable_character = { + id = 98003 # Bela IV of Hungary + } + + selectable_character = { + id = 478011 # Hulegu Khan of Ilkhanate + } + + selectable_character = { + id = 74656 # Singhana II of Yadava + } + + selectable_character = { + id = 125503 # Batu Khan of Golden Horde + } +} + +bm_100_years_war = { + name = "BM_100_YEARS_WAR_ERA" + desc = "BM_100_YEARS_WAR_ERA_INFO" + date = 1337.1.1 + + era = yes ## Will be shown on Era screen. + picture = GFX_pick_era_image_5 + + selectable_character = { + id = 454500 # Edward III of England + age = 24 + name = ERA_CHAR_NAME_454500 + title = k_england + title_name = k_england + + character = { + dna = cdllaaijgan + properties = ad0bcc000000 + religion="catholic" + culture="english" + government = feudal_government + dynasty=106 + } + } + + selectable_character = { + id = 455500 # Philippe VI of France + age = 43 + name = ERA_CHAR_NAME_455500 + title = k_france + title_name = k_france + + character = { + dna = caekgncfabw + properties = ad0aha000000 + religion="catholic" + culture="frankish" + government = feudal_government + dynasty=101 + } + } + + selectable_character = { + id = 471500 # Casimir the Great + age = 26 + name = ERA_CHAR_NAME_471500 + title = k_poland + title_name = k_poland + + character = { + dna = bdlkbriiaaz + properties = aj0bbc000000 + religion="catholic" + culture="polish" + government = feudal_government + dynasty=699 + } + } + + selectable_character = { + id = 476500 # Orhan Ottoman + age = 56 + name = ERA_CHAR_NAME_476500 + title = k_ottoman + title_name = k_ottoman + coa_dynasty = yes + dlc = "The Sword of Islam" + + character = { + dna = djeejhjcaaz + properties = ao0bfc000000 + religion="sunni" + culture="turkish" + government = muslim_government + dynasty=7 + } + } + + selectable_character = { + id = 480000 # Özbeg Khan of Golden Horde + age = 55 + name = ERA_CHAR_NAME_480000 + title = e_golden_horde + title_name = e_golden_horde + #coa_dynasty = yes + dlc = "Horse Lords" + + character = { + dna = celmcjidaao + properties = fj0bfd000000 + religion="tengri_pagan" + culture="mongol" + government = nomadic_government + dynasty=11100 + } + } + + selectable_character = { + id = 170258 # Muhammad II Tughluq + age = 40 + name = ERA_CHAR_NAME_170258 + title = e_rajastan + title_name = ERA_TUGHLUQ + coa_dynasty = yes + dlc = "The Sword of Islam" + + character = { + dna = bcheaobceag + properties = ac0bh0000000 + religion="sunni" + culture="turkish" + government = muslim_government + dynasty=1040208 + } + } + + selectable_character = { + id = 451500 # Valdemar Atterdag + } +} diff --git a/LCDA/common/buildings/00_CastleCulture.txt b/LCDA/common/buildings/00_CastleCulture.txt new file mode 100644 index 0000000..c0a0616 --- /dev/null +++ b/LCDA/common/buildings/00_CastleCulture.txt @@ -0,0 +1,1941 @@ + # Triggers are in Province scope. The From Scope contains the settlement holder (character) + # start trigger is in title scope. + + # = { + # desc = description used in the tooltip of the building + # trigger = used for tech requirement of the building, set to 0 if no requirement so it can be build automatically on new games + # gold_cost = cost to build the building + # build_time = time to build, in days + # + # ai_creation_factor = weight that the AI uses to determine what building to build + # extra_tech_building_start = when starting a new game this building will be pre-built if the province has higher tech than the requirement + this + random 0-1 + #} + + # Castle +castle = { + # All cultural buildings follow the same pattern: + # tech required is 0, 1, 2, 4 for the levels of the buildings + # cost is 200 + 100 per level + # 60 maintenance of troops + 20 per level + # + 0.15 bonus in either offensive, defensive or morale sometimes split over different units or stats same on all levels + + # Culture building names MUST start with ca_culture + + #Welsh and English Longbow archery range + ca_culture_saxon_english_1 = { + desc = ca_culture_saxon_english_1_desc + potential = { + FROM = { + OR = { + culture = english + culture = welsh + } + } + } + trigger = { TECH_CASTLE_CONSTRUCTION = 0 } + prerequisites = { ca_wall_2 } + gold_cost = 200 + build_time = 730 + archers_offensive = 0.15 + archers = 60 + ai_creation_factor = 101 + + extra_tech_building_start = 0.8 + } + ca_culture_saxon_english_2 = { + desc = ca_culture_saxon_english_1_desc + potential = { + FROM = { + OR = { + culture = english + culture = welsh + } + } + } + trigger = { TECH_CASTLE_CONSTRUCTION = 1 } + upgrades_from = ca_culture_saxon_english_1 + gold_cost = 300 + build_time = 1095 + archers_offensive = 0.15 + archers = 80 + ai_creation_factor = 100 + + extra_tech_building_start = 0.8 + } + ca_culture_saxon_english_3 = { + desc = ca_culture_saxon_english_1_desc + potential = { + FROM = { + OR = { + culture = english + culture = welsh + } + } + } + trigger = { TECH_CASTLE_CONSTRUCTION = 2 } + upgrades_from = ca_culture_saxon_english_2 + gold_cost = 400 + build_time = 2190 + archers_offensive = 0.15 + archers = 100 + ai_creation_factor = 99 + + extra_tech_building_start = 0.8 + } + ca_culture_saxon_english_4 = { + desc = ca_culture_saxon_english_1_desc + potential = { + FROM = { + OR = { + culture = english + culture = welsh + } + } + } + trigger = { TECH_CASTLE_CONSTRUCTION = 4 } + upgrades_from = ca_culture_saxon_english_3 + gold_cost = 500 + build_time = 2190 + archers_offensive = 0.15 + archers = 120 + ai_creation_factor = 98 + + extra_tech_building_start = 0.8 + } + + #Scottish Schiltron + ca_culture_scottish_1 = { + desc = ca_culture_scottish_1_desc + potential = { + FROM = { + culture = scottish + } + } + trigger = { TECH_CASTLE_CONSTRUCTION = 0 } + prerequisites = { ca_wall_2 } + gold_cost = 200 + build_time = 730 + pikemen = 30 + pikemen_defensive = 0.15 + ai_creation_factor = 101 + + extra_tech_building_start = 0.8 + } + ca_culture_scottish_2 = { + desc = ca_culture_scottish_1_desc + potential = { + FROM = { + culture = scottish + } + } + trigger = { TECH_CASTLE_CONSTRUCTION = 1 } + upgrades_from = ca_culture_scottish_1 + gold_cost = 300 + build_time = 1095 + pikemen = 40 + pikemen_defensive = 0.15 + ai_creation_factor = 100 + + extra_tech_building_start = 0.8 + } + ca_culture_scottish_3 = { + desc = ca_culture_scottish_1_desc + potential = { + FROM = { + culture = scottish + } + } + trigger = { TECH_CASTLE_CONSTRUCTION = 2 } + upgrades_from = ca_culture_scottish_2 + gold_cost = 400 + build_time = 2190 + pikemen = 60 + pikemen_defensive = 0.15 + ai_creation_factor = 99 + + extra_tech_building_start = 0.8 + } + ca_culture_scottish_4 = { + desc = ca_culture_scottish_1_desc + potential = { + FROM = { + culture = scottish + } + } + trigger = { TECH_CASTLE_CONSTRUCTION = 4 } + upgrades_from = ca_culture_scottish_3 + gold_cost = 500 + build_time = 2190 + pikemen = 80 + pikemen_defensive = 0.15 + ai_creation_factor = 98 + + extra_tech_building_start = 0.8 + } + + #Baltic tribes Heavy Infantry camps + ca_culture_group_baltic_1 = { + desc = ca_culture_group_baltic_1_desc + potential = { + FROM = { + OR = { + culture_group = baltic + culture_group = finno_ugric + } + } + } + trigger = { TECH_CASTLE_CONSTRUCTION = 0 } + prerequisites = { ca_wall_2 } + gold_cost = 200 + build_time = 730 + heavy_infantry = 30 + heavy_infantry_defensive = 0.15 + ai_creation_factor = 101 + + extra_tech_building_start = 0.8 + } + ca_culture_group_baltic_2 = { + desc = ca_culture_group_baltic_1_desc + potential = { + FROM = { + OR = { + culture_group = baltic + culture_group = finno_ugric + } + } + } + trigger = { TECH_CASTLE_CONSTRUCTION = 1 } + upgrades_from = ca_culture_group_baltic_1 + gold_cost = 300 + build_time = 1095 + heavy_infantry = 40 + heavy_infantry_defensive = 0.15 + ai_creation_factor = 100 + + extra_tech_building_start = 0.8 + } + ca_culture_group_baltic_3 = { + desc = ca_culture_group_baltic_1_desc + potential = { + FROM = { + OR = { + culture_group = baltic + culture_group = finno_ugric + } + } + } + trigger = { TECH_CASTLE_CONSTRUCTION = 2 } + upgrades_from = ca_culture_group_baltic_2 + gold_cost = 400 + build_time = 2190 + heavy_infantry = 50 + heavy_infantry_defensive = 0.15 + ai_creation_factor = 99 + + extra_tech_building_start = 0.8 + } + ca_culture_group_baltic_4 = { + desc = ca_culture_group_baltic_1_desc + potential = { + FROM = { + OR = { + culture_group = baltic + culture_group = finno_ugric + } + } + } + trigger = { TECH_CASTLE_CONSTRUCTION = 4 } + upgrades_from = ca_culture_group_baltic_3 + gold_cost = 500 + build_time = 2190 + heavy_infantry = 60 + heavy_infantry_defensive = 0.15 + ai_creation_factor = 98 + + extra_tech_building_start = 0.8 + } + + #Altaic horse breeders (and Persian) + ca_culture_group_altaic_1 = { + desc = ca_culture_group_altaic_1_desc + potential = { + FROM = { + OR = { + culture_group = altaic + culture_group = iranian + } + } + } + trigger = { TECH_CASTLE_CONSTRUCTION = 0 } + prerequisites = { ca_wall_2 } + gold_cost = 200 + build_time = 730 + light_cavalry = 10 + knights = 5 + horse_archers = 10 + horse_archers_offensive = 0.1 + horse_archers_morale = 0.05 + ai_creation_factor = 101 + + extra_tech_building_start = 0.8 + } + ca_culture_group_altaic_2 = { + desc = ca_culture_group_altaic_1_desc + potential = { + FROM = { + OR = { + culture_group = altaic + culture_group = iranian + } + } + } + trigger = { TECH_CASTLE_CONSTRUCTION = 1 } + upgrades_from = ca_culture_group_altaic_1 + gold_cost = 300 + build_time = 1095 + light_cavalry = 15 + knights = 5 + horse_archers = 15 + horse_archers_offensive = 0.1 + horse_archers_morale = 0.05 + ai_creation_factor = 100 + + extra_tech_building_start = 0.8 + } + ca_culture_group_altaic_3 = { + desc = ca_culture_group_altaic_1_desc + potential = { + FROM = { + OR = { + culture_group = altaic + culture_group = iranian + } + } + } + trigger = { TECH_CASTLE_CONSTRUCTION = 2 } + upgrades_from = ca_culture_group_altaic_2 + gold_cost = 400 + build_time = 2190 + light_cavalry = 15 + knights = 10 + horse_archers = 15 + horse_archers_offensive = 0.1 + horse_archers_morale = 0.05 + ai_creation_factor = 99 + + extra_tech_building_start = 0.8 + } + ca_culture_group_altaic_4 = { + desc = ca_culture_group_altaic_1_desc + potential = { + FROM = { + OR = { + culture_group = altaic + culture_group = iranian + } + } + } + trigger = { TECH_CASTLE_CONSTRUCTION = 4 } + upgrades_from = ca_culture_group_altaic_3 + gold_cost = 500 + build_time = 2190 + light_cavalry = 20 + knights = 10 + horse_archers = 20 + horse_archers_offensive = 0.1 + horse_archers_morale = 0.05 + ai_creation_factor = 98 + + extra_tech_building_start = 0.8 + } + + #Frankish, Occitan, Norman and German Lists (and Breton) + ca_culture_frank_norman_german_1 = { + desc = ca_culture_frank_norman_german_1_desc + potential = { + FROM = { + OR = { + culture = frankish + culture = occitan + culture = norman + culture = german + culture = breton + } + } + } + trigger = { TECH_CASTLE_CONSTRUCTION = 0 } + prerequisites = { ca_wall_2 } + gold_cost = 200 + build_time = 730 + knights = 15 + knights_offensive = 0.15 + ai_creation_factor = 101 + + extra_tech_building_start = 0.8 + } + ca_culture_frank_norman_german_2 = { + desc = ca_culture_frank_norman_german_1_desc + potential = { + FROM = { + OR = { + culture = frankish + culture = occitan + culture = norman + culture = german + culture = breton + } + } + } + trigger = { TECH_CASTLE_CONSTRUCTION = 1 } + upgrades_from = ca_culture_frank_norman_german_1 + gold_cost = 300 + build_time = 1095 + knights = 20 + knights_offensive = 0.15 + ai_creation_factor = 100 + + extra_tech_building_start = 0.8 + } + ca_culture_frank_norman_german_3 = { + desc = ca_culture_frank_norman_german_1_desc + potential = { + FROM = { + OR = { + culture = frankish + culture = occitan + culture = norman + culture = german + culture = breton + } + } + } + trigger = { TECH_CASTLE_CONSTRUCTION = 2 } + upgrades_from = ca_culture_frank_norman_german_2 + gold_cost = 400 + build_time = 2190 + knights = 25 + knights_offensive = 0.15 + ai_creation_factor = 99 + + extra_tech_building_start = 0.8 + } + ca_culture_frank_norman_german_4 = { + desc = ca_culture_frank_norman_german_1_desc + potential = { + FROM = { + OR = { + culture = frankish + culture = occitan + culture = norman + culture = german + culture = breton + } + } + } + trigger = { TECH_CASTLE_CONSTRUCTION = 4 } + upgrades_from = ca_culture_frank_norman_german_3 + gold_cost = 500 + build_time = 2190 + knights = 30 + knights_offensive = 0.15 + ai_creation_factor = 98 + + extra_tech_building_start = 0.8 + } + + #Iberian Fast horse breeders + ca_culture_group_iberian_1 = { + desc = ca_culture_group_iberian_1_desc + potential = { + FROM = { culture_group = iberian } + } + trigger = { TECH_CASTLE_CONSTRUCTION = 0 } + prerequisites = { ca_wall_2 } + gold_cost = 200 + build_time = 730 + light_cavalry = 30 + light_cavalry_offensive = 0.15 + ai_creation_factor = 101 + + extra_tech_building_start = 0.8 + } + ca_culture_group_iberian_2 = { + desc = ca_culture_group_iberian_1_desc + potential = { + FROM = { culture_group = iberian } + } + trigger = { TECH_CASTLE_CONSTRUCTION = 1 } + upgrades_from = ca_culture_group_iberian_1 + gold_cost = 300 + build_time = 1095 + light_cavalry = 40 + light_cavalry_offensive = 0.15 + ai_creation_factor = 100 + + extra_tech_building_start = 0.8 + } + ca_culture_group_iberian_3 = { + desc = ca_culture_group_iberian_1_desc + potential = { + FROM = { culture_group = iberian } + } + trigger = { TECH_CASTLE_CONSTRUCTION = 2 } + upgrades_from = ca_culture_group_iberian_2 + gold_cost = 400 + build_time = 2190 + light_cavalry = 50 + light_cavalry_offensive = 0.15 + ai_creation_factor = 99 + + extra_tech_building_start = 0.8 + } + ca_culture_group_iberian_4 = { + desc = ca_culture_group_iberian_1_desc + potential = { + FROM = { culture_group = iberian } + } + trigger = { TECH_CASTLE_CONSTRUCTION = 4 } + upgrades_from = ca_culture_group_iberian_3 + gold_cost = 500 + build_time = 2190 + light_cavalry = 60 + light_cavalry_offensive = 0.15 + ai_creation_factor = 98 + + extra_tech_building_start = 0.8 + } + + #Italian Pike formations + ca_culture_italian_1 = { + desc = ca_culture_italian_1_desc + potential = { + FROM = { culture = italian } + } + trigger = { TECH_CASTLE_CONSTRUCTION = 0 } + prerequisites = { ca_wall_2 } + gold_cost = 200 + build_time = 730 + pikemen = 30 + pikemen_morale = 0.15 + ai_creation_factor = 101 + + extra_tech_building_start = 0.8 + } + ca_culture_italian_2 = { + desc = ca_culture_italian_1_desc + potential = { + FROM = { culture = italian } + } + trigger = { TECH_CASTLE_CONSTRUCTION = 1 } + upgrades_from = ca_culture_italian_1 + gold_cost = 300 + build_time = 1095 + pikemen = 40 + pikemen_morale = 0.15 + ai_creation_factor = 100 + + extra_tech_building_start = 0.8 + } + ca_culture_italian_3 = { + desc = ca_culture_italian_1_desc + potential = { + FROM = { culture = italian } + } + trigger = { TECH_CASTLE_CONSTRUCTION = 2 } + upgrades_from = ca_culture_italian_2 + gold_cost = 400 + build_time = 2190 + pikemen = 50 + pikemen_morale = 0.15 + ai_creation_factor = 99 + + extra_tech_building_start = 0.8 + } + ca_culture_italian_4 = { + desc = ca_culture_italian_1_desc + potential = { + FROM = { culture = italian } + } + trigger = { TECH_CASTLE_CONSTRUCTION = 4 } + upgrades_from = ca_culture_italian_3 + gold_cost = 500 + build_time = 2190 + pikemen = 60 + pikemen_morale = 0.15 + ai_creation_factor = 98 + + extra_tech_building_start = 0.8 + } + + #Russian Armories + ca_culture_russian_1 = { + desc = ca_culture_russian_1_desc + potential = { + FROM = { culture_group = east_slavic } + } + trigger = { TECH_CASTLE_CONSTRUCTION = 0 } + prerequisites = { ca_wall_2 } + gold_cost = 200 + build_time = 730 + heavy_infantry = 30 + heavy_infantry_defensive = 0.15 + ai_creation_factor = 101 + + extra_tech_building_start = 0.8 + } + ca_culture_russian_2 = { + desc = ca_culture_russian_1_desc + potential = { + FROM = { culture_group = east_slavic } + } + trigger = { TECH_CASTLE_CONSTRUCTION = 1 } + upgrades_from = ca_culture_russian_1 + gold_cost = 300 + build_time = 1095 + heavy_infantry = 40 + heavy_infantry_defensive = 0.15 + ai_creation_factor = 100 + + extra_tech_building_start = 0.8 + } + ca_culture_russian_3 = { + desc = ca_culture_russian_1_desc + potential = { + FROM = { culture_group = east_slavic } + } + trigger = { TECH_CASTLE_CONSTRUCTION = 2 } + upgrades_from = ca_culture_russian_2 + gold_cost = 400 + build_time = 2190 + heavy_infantry = 50 + heavy_infantry_defensive = 0.15 + ai_creation_factor = 99 + + extra_tech_building_start = 0.8 + } + ca_culture_russian_4 = { + desc = ca_culture_russian_1_desc + potential = { + FROM = { culture_group = east_slavic } + } + trigger = { TECH_CASTLE_CONSTRUCTION = 4 } + upgrades_from = ca_culture_russian_3 + gold_cost = 500 + build_time = 2190 + heavy_infantry = 60 + heavy_infantry_defensive = 0.15 + ai_creation_factor = 98 + + extra_tech_building_start = 0.8 + } + + # Scandinavian Housecarls (and Saxon) + ca_culture_group_north_germanic_1 = { + desc = ca_culture_group_north_germanic_1_desc + potential = { + FROM = { + OR = { + culture_group = north_germanic + culture = saxon + culture = old_saxon + culture = frisian + } + } + } + trigger = { TECH_CASTLE_CONSTRUCTION = 0 } + prerequisites = { ca_wall_2 } + gold_cost = 200 + build_time = 730 + heavy_infantry = 30 + heavy_infantry_offensive = 0.15 + ai_creation_factor = 101 + + extra_tech_building_start = 0.8 + } + ca_culture_group_north_germanic_2 = { + desc = ca_culture_group_north_germanic_1_desc + potential = { + FROM = { + OR = { + culture_group = north_germanic + culture = saxon + culture = old_saxon + culture = frisian + } + } + } + trigger = { TECH_CASTLE_CONSTRUCTION = 1 } + upgrades_from = ca_culture_group_north_germanic_1 + gold_cost = 300 + build_time = 1095 + heavy_infantry = 40 + heavy_infantry_offensive = 0.15 + ai_creation_factor = 101 + + extra_tech_building_start = 0.8 + } + ca_culture_group_north_germanic_3 = { + desc = ca_culture_group_north_germanic_1_desc + potential = { + FROM = { + OR = { + culture_group = north_germanic + culture = saxon + culture = old_saxon + culture = frisian + } + } + } + trigger = { TECH_CASTLE_CONSTRUCTION = 2 } + upgrades_from = ca_culture_group_north_germanic_2 + gold_cost = 400 + build_time = 2190 + heavy_infantry = 50 + heavy_infantry_offensive = 0.15 + ai_creation_factor = 101 + + extra_tech_building_start = 0.8 + } + ca_culture_group_north_germanic_4 = { + desc = ca_culture_group_north_germanic_1_desc + potential = { + FROM = { + OR = { + culture_group = north_germanic + culture = saxon + culture = old_saxon + culture = frisian + } + } + } + trigger = { TECH_CASTLE_CONSTRUCTION = 4 } + upgrades_from = ca_culture_group_north_germanic_3 + gold_cost = 500 + build_time = 2190 + heavy_infantry = 60 + heavy_infantry_offensive = 0.15 + ai_creation_factor = 101 + + extra_tech_building_start = 0.8 + } + + # Hungarian Hussars (and West Slavic) + ca_culture_hungarian_1 = { + desc = ca_culture_hungarian_1_desc + potential = { + FROM = { + OR = { + culture = hungarian + culture_group = west_slavic + } + } + } + trigger = { TECH_CASTLE_CONSTRUCTION = 0 } + prerequisites = { ca_wall_2 } + gold_cost = 200 + build_time = 730 + light_cavalry = 30 + light_cavalry_defensive = 0.15 + ai_creation_factor = 101 + + extra_tech_building_start = 0.8 + } + ca_culture_hungarian_2 = { + desc = ca_culture_hungarian_1_desc + potential = { + FROM = { + OR = { + culture = hungarian + culture_group = west_slavic + } + } + } + trigger = { TECH_CASTLE_CONSTRUCTION = 1 } + upgrades_from = ca_culture_hungarian_1 + gold_cost = 300 + build_time = 1095 + light_cavalry = 40 + light_cavalry_defensive = 0.15 + ai_creation_factor = 101 + + extra_tech_building_start = 0.8 + } + ca_culture_hungarian_3 = { + desc = ca_culture_hungarian_1_desc + potential = { + FROM = { + OR = { + culture = hungarian + culture_group = west_slavic + } + } + } + trigger = { TECH_CASTLE_CONSTRUCTION = 2 } + upgrades_from = ca_culture_hungarian_2 + gold_cost = 400 + build_time = 2190 + light_cavalry = 50 + light_cavalry_defensive = 0.15 + ai_creation_factor = 101 + + extra_tech_building_start = 0.8 + } + ca_culture_hungarian_4 = { + desc = ca_culture_hungarian_1_desc + potential = { + FROM = { + OR = { + culture = hungarian + culture_group = west_slavic + } + } + } + trigger = { TECH_CASTLE_CONSTRUCTION = 4 } + upgrades_from = ca_culture_hungarian_3 + gold_cost = 500 + build_time = 2190 + light_cavalry = 60 + light_cavalry_defensive = 0.15 + ai_creation_factor = 101 + + extra_tech_building_start = 0.8 + } + + # Arabian Camel Cavalry + ca_culture_group_arabic_1 = { + desc = ca_culture_group_arabic_1_desc + potential = { + FROM = { + culture_group = arabic + NOT = { culture = andalusian_arabic } + NOT = { culture = maghreb_arabic } + } + } + trigger = { TECH_CASTLE_CONSTRUCTION = 0 } + prerequisites = { ca_wall_2 } + gold_cost = 200 + build_time = 730 + camel_cavalry = 30 + camel_cavalry_defensive = 0.15 + ai_creation_factor = 101 + + extra_tech_building_start = 0.8 + } + ca_culture_group_arabic_2 = { + desc = ca_culture_group_arabic_1_desc + potential = { + FROM = { + culture_group = arabic + NOT = { culture = andalusian_arabic } + NOT = { culture = maghreb_arabic } + } + } + trigger = { TECH_CASTLE_CONSTRUCTION = 1 } + upgrades_from = ca_culture_group_arabic_1 + gold_cost = 300 + build_time = 1095 + camel_cavalry = 40 + camel_cavalry_defensive = 0.15 + ai_creation_factor = 101 + + extra_tech_building_start = 0.8 + } + ca_culture_group_arabic_3 = { + desc = ca_culture_group_arabic_1_desc + potential = { + FROM = { + culture_group = arabic + NOT = { culture = andalusian_arabic } + NOT = { culture = maghreb_arabic } + } + } + trigger = { TECH_CASTLE_CONSTRUCTION = 2 } + upgrades_from = ca_culture_group_arabic_2 + gold_cost = 400 + build_time = 2190 + camel_cavalry = 50 + camel_cavalry_defensive = 0.15 + ai_creation_factor = 101 + + extra_tech_building_start = 0.8 + } + ca_culture_group_arabic_4 = { + desc = ca_culture_group_arabic_1_desc + potential = { + FROM = { + culture_group = arabic + NOT = { culture = andalusian_arabic } + NOT = { culture = maghreb_arabic } + } + } + trigger = { TECH_CASTLE_CONSTRUCTION = 4 } + upgrades_from = ca_culture_group_arabic_3 + gold_cost = 500 + build_time = 2190 + camel_cavalry = 60 + camel_cavalry_defensive = 0.15 + ai_creation_factor = 101 + + extra_tech_building_start = 0.8 + } + + # Byzantine Cataphracts + ca_culture_group_byzantine_1 = { + desc = ca_culture_group_byzantine_1_desc + potential = { + FROM = { culture_group = byzantine } + } + trigger = { TECH_CASTLE_CONSTRUCTION = 0 } + prerequisites = { ca_wall_2 } + gold_cost = 200 + build_time = 730 + knights = 10 + horse_archers = 10 + knights_offensive = 0.075 + horse_archers_offensive = 0.075 + ai_creation_factor = 101 + + extra_tech_building_start = 0.8 + } + ca_culture_group_byzantine_2 = { + desc = ca_culture_group_byzantine_1_desc + potential = { + FROM = { culture_group = byzantine } + } + trigger = { TECH_CASTLE_CONSTRUCTION = 1 } + upgrades_from = ca_culture_group_byzantine_1 + gold_cost = 300 + build_time = 1095 + knights = 15 + horse_archers = 10 + knights_offensive = 0.075 + horse_archers_offensive = 0.075 + ai_creation_factor = 101 + + extra_tech_building_start = 0.8 + } + ca_culture_group_byzantine_3 = { + desc = ca_culture_group_byzantine_1_desc + potential = { + FROM = { culture_group = byzantine } + } + trigger = { TECH_CASTLE_CONSTRUCTION = 2 } + upgrades_from = ca_culture_group_byzantine_2 + gold_cost = 400 + build_time = 2190 + knights = 15 + horse_archers = 20 + knights_offensive = 0.075 + horse_archers_offensive = 0.075 + ai_creation_factor = 101 + + extra_tech_building_start = 0.8 + } + ca_culture_group_byzantine_4 = { + desc = ca_culture_group_byzantine_1_desc + potential = { + FROM = { culture_group = byzantine } + } + trigger = { TECH_CASTLE_CONSTRUCTION = 4 } + upgrades_from = ca_culture_group_byzantine_3 + gold_cost = 500 + build_time = 2190 + knights = 20 + horse_archers = 20 + knights_offensive = 0.075 + horse_archers_offensive = 0.075 + ai_creation_factor = 101 + + extra_tech_building_start = 0.8 + } + + # Irish Gallowglass + ca_culture_irish_1 = { + desc = ca_culture_irish_1_desc + potential = { + FROM = { culture = irish } + } + trigger = { TECH_CASTLE_CONSTRUCTION = 0 } + prerequisites = { ca_wall_2 } + gold_cost = 200 + build_time = 730 + heavy_infantry = 30 + heavy_infantry_defensive = 0.15 + ai_creation_factor = 101 + + extra_tech_building_start = 0.8 + } + ca_culture_irish_2 = { + desc = ca_culture_irish_1_desc + potential = { + FROM = { culture = irish } + } + trigger = { TECH_CASTLE_CONSTRUCTION = 1 } + upgrades_from = ca_culture_irish_1 + gold_cost = 300 + build_time = 1095 + heavy_infantry = 40 + heavy_infantry_defensive = 0.15 + ai_creation_factor = 101 + + extra_tech_building_start = 0.8 + } + ca_culture_irish_3 = { + desc = ca_culture_irish_1_desc + potential = { + FROM = { culture = irish } + } + trigger = { TECH_CASTLE_CONSTRUCTION = 2 } + upgrades_from = ca_culture_irish_2 + gold_cost = 400 + build_time = 2190 + heavy_infantry = 50 + heavy_infantry_defensive = 0.15 + ai_creation_factor = 101 + + extra_tech_building_start = 0.8 + } + ca_culture_irish_4 = { + desc = ca_culture_irish_1_desc + potential = { + FROM = { culture = irish } + } + trigger = { TECH_CASTLE_CONSTRUCTION = 4 } + upgrades_from = ca_culture_irish_3 + gold_cost = 500 + build_time = 2190 + heavy_infantry = 60 + heavy_infantry_defensive = 0.15 + ai_creation_factor = 101 + + extra_tech_building_start = 0.8 + } + + # Ethiopian Light Infantry Drilling Ground + ca_culture_ethiopian_1 = { + desc = ca_culture_ethiopian_1_desc + potential = { + FROM = { culture = ethiopian } + } + trigger = { TECH_CASTLE_CONSTRUCTION = 0 } + prerequisites = { ca_wall_2 } + gold_cost = 200 + build_time = 730 + light_infantry = 60 + light_infantry_offensive = 0.15 + ai_creation_factor = 101 + + extra_tech_building_start = 0.8 + } + ca_culture_ethiopian_2 = { + desc = ca_culture_ethiopian_1_desc + potential = { + FROM = { culture = ethiopian } + } + trigger = { TECH_CASTLE_CONSTRUCTION = 1 } + upgrades_from = ca_culture_ethiopian_1 + gold_cost = 300 + build_time = 1095 + light_infantry = 80 + light_infantry_offensive = 0.15 + ai_creation_factor = 101 + + extra_tech_building_start = 0.8 + } + ca_culture_ethiopian_3 = { + desc = ca_culture_ethiopian_1_desc + potential = { + FROM = { culture = ethiopian } + } + trigger = { TECH_CASTLE_CONSTRUCTION = 2 } + upgrades_from = ca_culture_ethiopian_2 + gold_cost = 400 + build_time = 2190 + light_infantry = 100 + light_infantry_offensive = 0.15 + ai_creation_factor = 101 + + extra_tech_building_start = 0.8 + } + ca_culture_ethiopian_4 = { + desc = ca_culture_ethiopian_1_desc + potential = { + FROM = { culture = ethiopian } + } + trigger = { TECH_CASTLE_CONSTRUCTION = 4 } + upgrades_from = ca_culture_ethiopian_3 + gold_cost = 500 + build_time = 2190 + light_infantry = 120 + light_infantry_offensive = 0.15 + ai_creation_factor = 101 + + extra_tech_building_start = 0.8 + } + + # Somali Light Infantry Barracks + ca_culture_somali_1 = { + desc = ca_culture_somali_1_desc + potential = { + FROM = { culture = somali } + } + trigger = { TECH_CASTLE_CONSTRUCTION = 0 } + prerequisites = { ca_wall_2 } + gold_cost = 200 + build_time = 730 + light_infantry = 60 + light_infantry_defensive = 0.15 + ai_creation_factor = 101 + + extra_tech_building_start = 0.8 + } + ca_culture_somali_2 = { + desc = ca_culture_somali_1_desc + potential = { + FROM = { culture = somali } + } + trigger = { TECH_CASTLE_CONSTRUCTION = 1 } + upgrades_from = ca_culture_somali_1 + gold_cost = 300 + build_time = 1095 + light_infantry = 80 + light_infantry_defensive = 0.15 + ai_creation_factor = 101 + + extra_tech_building_start = 0.8 + } + ca_culture_somali_3 = { + desc = ca_culture_somali_1_desc + potential = { + FROM = { culture = somali } + } + trigger = { TECH_CASTLE_CONSTRUCTION = 2 } + upgrades_from = ca_culture_somali_2 + gold_cost = 400 + build_time = 2190 + light_infantry = 100 + light_infantry_defensive = 0.15 + ai_creation_factor = 101 + + extra_tech_building_start = 0.8 + } + ca_culture_somali_4 = { + desc = ca_culture_somali_1_desc + potential = { + FROM = { culture = somali } + } + trigger = { TECH_CASTLE_CONSTRUCTION = 4 } + upgrades_from = ca_culture_somali_3 + gold_cost = 500 + build_time = 2190 + light_infantry = 120 + light_infantry_defensive = 0.15 + ai_creation_factor = 101 + + extra_tech_building_start = 0.8 + } + + # West African Free Warrior Lodge + ca_culture_west_african_1 = { + desc = ca_culture_west_african_1_desc + potential = { + FROM = { culture_group = west_african } + } + trigger = { TECH_CASTLE_CONSTRUCTION = 0 } + prerequisites = { ca_wall_2 } + gold_cost = 200 + build_time = 730 + light_infantry = 30 + archers = 30 + light_infantry_offensive = 0.15 + ai_creation_factor = 101 + + extra_tech_building_start = 0.8 + } + ca_culture_west_african_2 = { + desc = ca_culture_west_african_1_desc + potential = { + FROM = { culture_group = west_african } + } + trigger = { TECH_CASTLE_CONSTRUCTION = 1 } + upgrades_from = ca_culture_west_african_1 + gold_cost = 300 + build_time = 1095 + light_infantry = 40 + archers = 40 + light_infantry_offensive = 0.15 + ai_creation_factor = 101 + + extra_tech_building_start = 0.8 + } + ca_culture_west_african_3 = { + desc = ca_culture_west_african_1_desc + potential = { + FROM = { culture_group = west_african } + } + trigger = { TECH_CASTLE_CONSTRUCTION = 2 } + upgrades_from = ca_culture_west_african_2 + gold_cost = 400 + build_time = 2190 + light_infantry = 50 + archers = 50 + light_infantry_offensive = 0.15 + ai_creation_factor = 101 + + extra_tech_building_start = 0.8 + } + ca_culture_west_african_4 = { + desc = ca_culture_west_african_1_desc + potential = { + FROM = { culture_group = west_african } + } + trigger = { TECH_CASTLE_CONSTRUCTION = 4 } + upgrades_from = ca_culture_west_african_3 + gold_cost = 500 + build_time = 2190 + light_infantry = 60 + archers = 60 + light_infantry_offensive = 0.15 + ai_creation_factor = 101 + + extra_tech_building_start = 0.8 + } + + # South Slavic Cavalry + ca_culture_group_south_slavic_1 = { + desc = ca_culture_group_south_slavic_1_desc + potential = { + FROM = { culture_group = south_slavic } + } + trigger = { TECH_CASTLE_CONSTRUCTION = 0 } + prerequisites = { ca_wall_2 } + gold_cost = 200 + build_time = 730 + knights = 5 + light_cavalry = 20 + knights_defensive = 0.075 + light_cavalry_defensive = 0.075 + ai_creation_factor = 101 + + extra_tech_building_start = 0.8 + } + ca_culture_group_south_slavic_2 = { + desc = ca_culture_group_south_slavic_1_desc + potential = { + FROM = { culture_group = south_slavic } + } + trigger = { TECH_CASTLE_CONSTRUCTION = 1 } + upgrades_from = ca_culture_group_south_slavic_1 + gold_cost = 300 + build_time = 1095 + knights = 10 + light_cavalry = 20 + knights_defensive = 0.075 + light_cavalry_defensive = 0.075 + ai_creation_factor = 101 + + extra_tech_building_start = 0.8 + } + ca_culture_group_south_slavic_3 = { + desc = ca_culture_group_south_slavic_1_desc + potential = { + FROM = { culture_group = south_slavic } + } + trigger = { TECH_CASTLE_CONSTRUCTION = 2 } + upgrades_from = ca_culture_group_south_slavic_2 + gold_cost = 400 + build_time = 2190 + knights = 15 + light_cavalry = 20 + knights_defensive = 0.075 + light_cavalry_defensive = 0.075 + ai_creation_factor = 101 + + extra_tech_building_start = 0.8 + } + ca_culture_group_south_slavic_4 = { + desc = ca_culture_group_south_slavic_1_desc + potential = { + FROM = { culture_group = south_slavic } + } + trigger = { TECH_CASTLE_CONSTRUCTION = 4 } + upgrades_from = ca_culture_group_south_slavic_3 + gold_cost = 500 + build_time = 2190 + knights = 15 + light_cavalry = 30 + knights_defensive = 0.075 + light_cavalry_defensive = 0.075 + ai_creation_factor = 101 + + extra_tech_building_start = 0.8 + } + + # Dutch Urban Militia + ca_culture_dutch_1 = { + desc = ca_culture_dutch_1_desc + potential = { + FROM = { culture = dutch } + } + trigger = { TECH_CASTLE_CONSTRUCTION = 0 } + prerequisites = { ca_wall_2 } + gold_cost = 200 + build_time = 730 + pikemen = 15 + light_infantry = 30 + light_infantry_offensive = 0.075 + pikemen_offensive = 0.075 + ai_creation_factor = 101 + + extra_tech_building_start = 0.8 + } + ca_culture_dutch_2 = { + desc = ca_culture_dutch_1_desc + potential = { + FROM = { culture = dutch } + } + trigger = { TECH_CASTLE_CONSTRUCTION = 1 } + upgrades_from = ca_culture_dutch_1 + gold_cost = 300 + build_time = 1095 + pikemen = 20 + light_infantry = 40 + light_infantry_offensive = 0.075 + pikemen_offensive = 0.075 + ai_creation_factor = 101 + + extra_tech_building_start = 0.8 + } + ca_culture_dutch_3 = { + desc = ca_culture_dutch_1_desc + potential = { + FROM = { culture = dutch } + } + trigger = { TECH_CASTLE_CONSTRUCTION = 2 } + upgrades_from = ca_culture_dutch_2 + gold_cost = 400 + build_time = 2190 + pikemen = 25 + light_infantry = 50 + light_infantry_offensive = 0.075 + pikemen_offensive = 0.075 + ai_creation_factor = 101 + + extra_tech_building_start = 0.8 + } + ca_culture_dutch_4 = { + desc = ca_culture_dutch_1_desc + potential = { + FROM = { culture = dutch } + } + trigger = { TECH_CASTLE_CONSTRUCTION = 4 } + upgrades_from = ca_culture_dutch_3 + gold_cost = 500 + build_time = 2190 + pikemen = 30 + light_infantry = 60 + light_infantry_offensive = 0.075 + pikemen_offensive = 0.075 + ai_creation_factor = 101 + + extra_tech_building_start = 0.8 + } + + # Aztec Jaguar Warriors + ca_culture_nahuatl_1 = { + desc = ca_culture_nahuatl_1_desc + potential = { + FROM = { culture = nahuatl } + } + trigger = { TECH_CASTLE_CONSTRUCTION = 0 } + prerequisites = { ca_wall_2 } + gold_cost = 200 + build_time = 730 + heavy_infantry = 30 + heavy_infantry_morale = 0.15 + ai_creation_factor = 101 + + extra_tech_building_start = 0.8 + } + ca_culture_nahuatl_2 = { + desc = ca_culture_nahuatl_1_desc + potential = { + FROM = { culture = nahuatl } + } + trigger = { TECH_CASTLE_CONSTRUCTION = 1 } + upgrades_from = ca_culture_nahuatl_1 + gold_cost = 300 + build_time = 1095 + heavy_infantry = 40 + heavy_infantry_morale = 0.15 + ai_creation_factor = 101 + + extra_tech_building_start = 0.8 + } + ca_culture_nahuatl_3 = { + desc = ca_culture_nahuatl_1_desc + potential = { + FROM = { culture = nahuatl } + } + trigger = { TECH_CASTLE_CONSTRUCTION = 2 } + upgrades_from = ca_culture_nahuatl_2 + gold_cost = 400 + build_time = 2190 + heavy_infantry = 50 + heavy_infantry_morale = 0.15 + ai_creation_factor = 101 + + extra_tech_building_start = 0.8 + } + ca_culture_nahuatl_4 = { + desc = ca_culture_nahuatl_1_desc + potential = { + FROM = { culture = nahuatl } + } + trigger = { TECH_CASTLE_CONSTRUCTION = 4 } + upgrades_from = ca_culture_nahuatl_3 + gold_cost = 500 + build_time = 2190 + heavy_infantry = 60 + heavy_infantry_morale = 0.15 + ai_creation_factor = 101 + + extra_tech_building_start = 0.8 + } + # Jewish Heavy Infantry + ca_culture_jewish_1 = { + desc = ca_culture_jewish_1_desc + potential = { + FROM = { + culture_group = israelite + } + } + trigger = { TECH_CASTLE_CONSTRUCTION = 0 } + prerequisites = { ca_wall_2 } + gold_cost = 200 + build_time = 730 + heavy_infantry = 30 + heavy_infantry_morale = 0.15 + ai_creation_factor = 101 + + extra_tech_building_start = 0.8 + } + ca_culture_jewish_2 = { + desc = ca_culture_jewish_1_desc + potential = { + FROM = { + culture_group = israelite + } + } + trigger = { TECH_CASTLE_CONSTRUCTION = 1 } + upgrades_from = ca_culture_jewish_1 + gold_cost = 300 + build_time = 1095 + heavy_infantry = 40 + heavy_infantry_morale = 0.15 + ai_creation_factor = 101 + + extra_tech_building_start = 0.8 + } + ca_culture_jewish_3 = { + desc = ca_culture_jewish_1_desc + potential = { + FROM = { + culture_group = israelite + } + } + trigger = { TECH_CASTLE_CONSTRUCTION = 2 } + upgrades_from = ca_culture_jewish_2 + gold_cost = 400 + build_time = 2190 + heavy_infantry = 50 + heavy_infantry_morale = 0.15 + ai_creation_factor = 101 + + extra_tech_building_start = 0.8 + } + ca_culture_jewish_4 = { + desc = ca_culture_jewish_1_desc + potential = { + FROM = { + culture_group = israelite + } + } + trigger = { TECH_CASTLE_CONSTRUCTION = 4 } + upgrades_from = ca_culture_jewish_3 + gold_cost = 500 + build_time = 2190 + heavy_infantry = 60 + heavy_infantry_morale = 0.15 + ai_creation_factor = 101 + + extra_tech_building_start = 0.8 + } + # Indian war elephant pens + ca_culture_indian_1 = { + desc = ca_culture_indian_1_desc + potential = { + FROM = { + OR = { + culture_group = indo_aryan_group + culture_group = dravidian_group + } + } + } + trigger = { TECH_CASTLE_CONSTRUCTION = 0 } + prerequisites = { ca_wall_2 } + gold_cost = 200 + build_time = 730 + war_elephants = 6 + war_elephants_offensive = 0.15 + ai_creation_factor = 101 + + extra_tech_building_start = 0.8 + } + ca_culture_indian_2 = { + desc = ca_culture_indian_2_desc + potential = { + FROM = { + OR = { + culture_group = indo_aryan_group + culture_group = dravidian_group + } + } + } + trigger = { TECH_CASTLE_CONSTRUCTION = 1 } + upgrades_from = ca_culture_indian_1 + gold_cost = 300 + build_time = 1095 + war_elephants = 10 + war_elephants_offensive = 0.05 + war_elephants_defensive = 0.10 + ai_creation_factor = 101 + + extra_tech_building_start = 0.8 + } + ca_culture_indian_3 = { + desc = ca_culture_indian_3_desc + potential = { + FROM = { + OR = { + culture_group = indo_aryan_group + culture_group = dravidian_group + } + } + } + trigger = { TECH_CASTLE_CONSTRUCTION = 2 } + upgrades_from = ca_culture_indian_2 + gold_cost = 400 + build_time = 2190 + war_elephants = 22 + war_elephants_offensive = 0.05 + war_elephants_defensive = 0.10 + ai_creation_factor = 101 + + extra_tech_building_start = 0.8 + } + ca_culture_indian_4 = { + desc = ca_culture_indian_4_desc + potential = { + FROM = { + OR = { + culture_group = indo_aryan_group + culture_group = dravidian_group + } + } + } + trigger = { TECH_CASTLE_CONSTRUCTION = 4 } + upgrades_from = ca_culture_indian_3 + gold_cost = 500 + build_time = 2190 + war_elephants = 22 + war_elephants_offensive = 0.05 + war_elephants_defensive = 0.10 + ai_creation_factor = 101 + + extra_tech_building_start = 0.8 + } + + # Nubian warrior barracks + ca_culture_nubian_1 = { + desc = ca_culture_nubian_1_desc + potential = { + FROM = { culture = nubian } + } + trigger = { TECH_CASTLE_CONSTRUCTION = 0 } + prerequisites = { ca_wall_2 } + gold_cost = 200 + build_time = 730 + heavy_infantry = 10 + light_infantry = 20 + archers = 20 + archers_defensive = 0.15 + ai_creation_factor = 101 + + extra_tech_building_start = 0.8 + } + ca_culture_nubian_2 = { + desc = ca_culture_nubian_1_desc + potential = { + FROM = { culture = nubian } + } + trigger = { TECH_CASTLE_CONSTRUCTION = 1 } + upgrades_from = ca_culture_nubian_1 + gold_cost = 300 + build_time = 1095 + heavy_infantry = 15 + light_infantry = 25 + archers = 25 + archers_defensive = 0.15 + ai_creation_factor = 101 + + extra_tech_building_start = 0.8 + } + ca_culture_nubian_3 = { + desc = ca_culture_nubian_1_desc + potential = { + FROM = { culture = nubian } + } + trigger = { TECH_CASTLE_CONSTRUCTION = 2 } + upgrades_from = ca_culture_nubian_2 + gold_cost = 400 + build_time = 2190 + heavy_infantry = 15 + light_infantry = 30 + archers = 30 + archers_defensive = 0.15 + ai_creation_factor = 101 + + extra_tech_building_start = 0.8 + } + ca_culture_nubian_4 = { + desc = ca_culture_nubian_1_desc + potential = { + FROM = { culture = nubian } + } + trigger = { TECH_CASTLE_CONSTRUCTION = 4 } + upgrades_from = ca_culture_nubian_3 + gold_cost = 500 + build_time = 2190 + heavy_infantry = 20 + light_infantry = 40 + archers = 40 + archers_defensive = 0.15 + ai_creation_factor = 101 + + extra_tech_building_start = 0.8 + } + + # Germanic Heavy Infantry Barracks + ca_culture_germanic_1 = { + desc = ca_culture_germanic_1_desc + potential = { + FROM = { + OR = { + culture = lombard + culture = old_frankish + } + } + } + trigger = { TECH_CASTLE_CONSTRUCTION = 0 } + prerequisites = { ca_wall_2 } + gold_cost = 200 + build_time = 730 + heavy_infantry = 30 + heavy_infantry_offensive = 0.15 + ai_creation_factor = 101 + + extra_tech_building_start = 0.8 + } + ca_culture_germanic_2 = { + desc = ca_culture_germanic_1_desc + potential = { + FROM = { + OR = { + culture = lombard + culture = old_frankish + } + } + } + trigger = { TECH_CASTLE_CONSTRUCTION = 1 } + upgrades_from = ca_culture_germanic_1 + gold_cost = 300 + build_time = 1095 + heavy_infantry = 40 + heavy_infantry_offensive = 0.15 + ai_creation_factor = 101 + + extra_tech_building_start = 0.8 + } + ca_culture_germanic_3 = { + desc = ca_culture_germanic_1_desc + potential = { + FROM = { + OR = { + culture = lombard + culture = old_frankish + } + } + } + trigger = { TECH_CASTLE_CONSTRUCTION = 2 } + upgrades_from = ca_culture_germanic_2 + gold_cost = 400 + build_time = 2190 + heavy_infantry = 50 + heavy_infantry_offensive = 0.15 + ai_creation_factor = 101 + + extra_tech_building_start = 0.8 + } + ca_culture_germanic_4 = { + desc = ca_culture_germanic_1_desc + potential = { + FROM = { + OR = { + culture = lombard + culture = old_frankish + } + } + } + trigger = { TECH_CASTLE_CONSTRUCTION = 4 } + upgrades_from = ca_culture_germanic_3 + gold_cost = 500 + build_time = 2190 + heavy_infantry = 60 + heavy_infantry_offensive = 0.15 + ai_creation_factor = 101 + + extra_tech_building_start = 0.8 + } + + # Pictish Hall of War + ca_culture_pictish_1 = { + desc = ca_culture_pictish_1_desc + potential = { + FROM = { culture = pictish } + } + trigger = { TECH_CASTLE_CONSTRUCTION = 0 } + prerequisites = { ca_wall_2 } + gold_cost = 200 + build_time = 730 + light_infantry = 30 + heavy_infantry = 15 + light_infantry_morale = 0.15 + ai_creation_factor = 101 + + extra_tech_building_start = 0.8 + } + ca_culture_pictish_2 = { + desc = ca_culture_pictish_1_desc + potential = { + FROM = { culture = pictish } + } + trigger = { TECH_CASTLE_CONSTRUCTION = 1 } + upgrades_from = ca_culture_pictish_1 + gold_cost = 300 + build_time = 1095 + light_infantry = 40 + heavy_infantry = 20 + light_infantry_morale = 0.15 + ai_creation_factor = 101 + + extra_tech_building_start = 0.8 + } + ca_culture_pictish_3 = { + desc = ca_culture_pictish_1_desc + potential = { + FROM = { culture = pictish } + } + trigger = { TECH_CASTLE_CONSTRUCTION = 2 } + upgrades_from = ca_culture_pictish_2 + gold_cost = 400 + build_time = 2190 + light_infantry = 50 + heavy_infantry = 25 + light_infantry_morale = 0.15 + ai_creation_factor = 101 + + extra_tech_building_start = 0.8 + } + ca_culture_pictish_4 = { + desc = ca_culture_pictish_1_desc + potential = { + FROM = { culture = pictish } + } + trigger = { TECH_CASTLE_CONSTRUCTION = 4 } + upgrades_from = ca_culture_pictish_3 + gold_cost = 500 + build_time = 2190 + light_infantry = 60 + heavy_infantry = 30 + light_infantry_morale = 0.15 + ai_creation_factor = 101 + + extra_tech_building_start = 0.8 + } + + # Suebi free warriors + ca_culture_suebi_1 = { + desc = ca_culture_suebi_1_desc + potential = { + FROM = { culture = suebi } + } + trigger = { TECH_CASTLE_CONSTRUCTION = 0 } + prerequisites = { ca_wall_2 } + gold_cost = 200 + build_time = 730 + pikemen = 15 + light_infantry = 30 + light_infantry_morale = 0.075 + pikemen_morale = 0.075 + ai_creation_factor = 101 + + extra_tech_building_start = 0.8 + } + ca_culture_suebi_2 = { + desc = ca_culture_suebi_1_desc + potential = { + FROM = { culture = suebi } + } + trigger = { TECH_CASTLE_CONSTRUCTION = 1 } + upgrades_from = ca_culture_suebi_1 + gold_cost = 300 + build_time = 1095 + pikemen = 20 + light_infantry = 40 + light_infantry_morale = 0.075 + pikemen_morale = 0.075 + ai_creation_factor = 101 + + extra_tech_building_start = 0.8 + } + ca_culture_suebi_3 = { + desc = ca_culture_suebi_1_desc + potential = { + FROM = { culture = suebi } + } + trigger = { TECH_CASTLE_CONSTRUCTION = 2 } + upgrades_from = ca_culture_suebi_2 + gold_cost = 400 + build_time = 2190 + pikemen = 25 + light_infantry = 50 + light_infantry_morale = 0.075 + pikemen_morale = 0.075 + ai_creation_factor = 101 + + extra_tech_building_start = 0.8 + } + ca_culture_suebi_4 = { + desc = ca_culture_suebi_1_desc + potential = { + FROM = { culture = suebi } + } + trigger = { TECH_CASTLE_CONSTRUCTION = 4 } + upgrades_from = ca_culture_suebi_3 + gold_cost = 500 + build_time = 2190 + pikemen = 30 + light_infantry = 60 + light_infantry_morale = 0.075 + pikemen_morale = 0.075 + ai_creation_factor = 101 + + extra_tech_building_start = 0.8 + } + + # Moorish Cavalry Barracks + ca_culture_moors_1 = { + desc = ca_culture_moors_1_desc + potential = { + FROM = { + OR = { + culture = andalusian_arabic + culture = maghreb_arabic + } + } + } + trigger = { TECH_CASTLE_CONSTRUCTION = 0 } + prerequisites = { ca_wall_2 } + gold_cost = 200 + build_time = 730 + light_cavalry = 15 + horse_archers = 15 + light_cavalry_offensive = 0.1 + light_cavalry_defensive = 0.1 + light_cavalry_morale = 0.1 + ai_creation_factor = 101 + + extra_tech_building_start = 0.8 + } + ca_culture_moors_2 = { + desc = ca_culture_moors_1_desc + potential = { + FROM = { + OR = { + culture = andalusian_arabic + culture = maghreb_arabic + } + } + } + trigger = { TECH_CASTLE_CONSTRUCTION = 1 } + upgrades_from = ca_culture_moors_1 + gold_cost = 300 + build_time = 1095 + light_cavalry = 20 + horse_archers = 20 + light_cavalry_offensive = 0.1 + light_cavalry_defensive = 0.1 + light_cavalry_morale = 0.1 + ai_creation_factor = 100 + + extra_tech_building_start = 0.8 + } + ca_culture_moors_3 = { + desc = ca_culture_moors_1_desc + potential = { + FROM = { + OR = { + culture = andalusian_arabic + culture = maghreb_arabic + } + } + } + trigger = { TECH_CASTLE_CONSTRUCTION = 2 } + upgrades_from = ca_culture_moors_2 + gold_cost = 400 + build_time = 2190 + light_cavalry = 25 + horse_archers = 25 + light_cavalry_offensive = 0.1 + light_cavalry_defensive = 0.1 + light_cavalry_morale = 0.1 + ai_creation_factor = 99 + + extra_tech_building_start = 0.8 + } + ca_culture_moors_4 = { + desc = ca_culture_moors_1_desc + potential = { + FROM = { + OR = { + culture = andalusian_arabic + culture = maghreb_arabic + } + } + } + trigger = { TECH_CASTLE_CONSTRUCTION = 4 } + upgrades_from = ca_culture_moors_3 + gold_cost = 500 + build_time = 2190 + light_cavalry = 30 + horse_archers = 30 + light_cavalry_offensive = 0.1 + light_cavalry_defensive = 0.1 + light_cavalry_morale = 0.1 + ai_creation_factor = 98 + + extra_tech_building_start = 0.8 + } +} + diff --git a/LCDA/common/cb_types/00_cb_types.txt b/LCDA/common/cb_types/00_cb_types.txt new file mode 100644 index 0000000..37cfc80 --- /dev/null +++ b/LCDA/common/cb_types/00_cb_types.txt @@ -0,0 +1,14247 @@ +## normal scopes(including posttitle scopes) ## +# ROOT = receiver +# FROM = giver +# = attacker or receiver +## title scopes ## +# ROOT = receiver +# FROM = giver +# = thirdparty landed title +# +# the following effects/triggers exists (example execution order: on_success->on_success_title->on_success_posttitle): +# is_valid, is_valid_title, on_add, on_add_title, on_add_posttitle, on_success, on_success_title, on_success_posttitle, on_fail, on_fail_title, on_fail_posttitle, on_reverse_demand, on_reverse_demand_title, on_reverse_demand_posttitle +# +# Added on_attacker_leader_death, on_defender_leader_death and on_thirdparty_death, which all trigger when corresponding character dies +# These three all have war scopes, which currently has the following scope changes: +# attacker, defender, thirdparty(only valid if thirdparty character is involved), thirdparty_title(only valid if thirdparty title is involved) +# +# ai_will_do: modifies value AI places on the CB compared to other CBs (default: 1) Note: is in title scope +# can_use_gui: If otherwise valid, the CB is listed in the Diplo View, but you can't declare war unless 'can_use_gui' is also valid (also shows a trigger tooltip.) +# + +# 0 +claim = { + name = CB_NAME_CLAIM + war_name = WAR_NAME_CLAIM + sprite = 1 + truce_days = 3650 + hostile_against_others = yes + can_ask_to_join_war = no + + allowed_to_target_tributaries = no + allowed_to_target_suzerains = no + + press_claim = yes + + infamy_modifier = 0.85 + + can_use_title = { + OR = { + ROOT = { is_female = no } + NOT = { ROOT = { religion_group = muslim } } + } + OR = { + FROM = { + has_landed_title = PREV + } + holder_scope = { + is_liege_or_above = FROM + } + } + + ROOT = { + OR = { + is_ruler = no + primary_title = { + OR = { + is_primary_type_title = no # Static Mercs, the Pope, Holy Orders, etc + higher_tier_than = PREVPREV + tier = PREVPREV + } + } + } + } + + OR = { + ROOT = { has_strong_claim = PREV } + ROOT = { has_character_flag = claimant_adventurer } + AND = { + ROOT = { has_weak_claim = PREV } + OR = { + is_pretender = yes # Checks vs ROOT character + holder_scope = { has_regent = yes } + AND = { + ROOT = { is_female = no } + holder_scope ={ is_female = yes } + } + is_contested = yes # Is already being contested in some form of Claim or Succession War + } + } + } + } + + is_valid_title = { + OR = { + FROM = { + has_landed_title = PREV + } + holder_scope = { + is_liege_or_above = FROM + } + } + ROOT = { has_claim = PREV } + } + + on_success_title = { + + hidden_tooltip = { + ROOT = { + clr_character_flag = claimant_adventurer + if = { + limit = { + has_nickname = no + lower_tier_than = PREV + } + random = { + chance = 50 + give_nickname = nick_the_usurper + } + } + } + } + + usurp_title_plus_barony_if_unlanded = { target = ROOT type = claim } + + if = { + limit = { + higher_tier_than = BARON + NOT = { culture = ROOT } + } + hidden_tooltip = { conquest_culture = ROOT } + } + + any_attacker = { + limit = { character = ROOT } + participation_scaled_prestige = 100 + } + any_attacker = { + limit = { NOT = { character = ROOT } } + hidden_tooltip = { participation_scaled_prestige = 100 } + } + + FROM = { + prestige = -100 + } + } + + on_fail_title = { + ROOT = { + prestige = -100 + hidden_tooltip = { + disband_event_forces = yes + clr_character_flag = claimant_adventurer + } + } + any_defender = { + limit = { character = FROM } + participation_scaled_prestige = 100 + } + any_defender = { + limit = { NOT = { character = FROM } } + hidden_tooltip = { participation_scaled_prestige = 100 } + } + } + + on_reverse_demand = { + ROOT = { + prestige = -150 + transfer_scaled_wealth = { + to = FROM + value = 4.0 + } + } + if = { + limit = { + ROOT = { has_character_flag = claimant_adventurer } + } + ROOT = { imprison = FROM } + } + any_defender = { + limit = { character = FROM } + participation_scaled_prestige = 150 + } + any_defender = { + limit = { NOT = { character = FROM } } + hidden_tooltip = { participation_scaled_prestige = 150 } + } + } + + on_reverse_demand_title = { + any_claim = { + remove_claim = ROOT + } + ROOT = { + hidden_tooltip = { + disband_event_forces = yes + clr_character_flag = claimant_adventurer + } + } + } + + on_attacker_leader_death = { + if = { + limit = { + ROOT = { has_character_flag = EoD_prophet_attacker } + } + FROM = { narrative_event = { id = RIP.15116 } } + } + if = { + limit = { + ROOT = { + OR = { + has_character_flag = claimant_adventurer + has_character_flag = EoD_prophet_attacker + } + } + } + ROOT = { + hidden_tooltip = { + disband_event_forces = yes + clr_character_flag = claimant_adventurer + clr_character_flag = EoD_prophet_attacker + } + } + end_war = invalid + } + + } + + attacker_ai_victory_worth = { + factor = -1 # always accept + } + + attacker_ai_defeat_worth = { + factor = 100 + } + + defender_ai_victory_worth = { + factor = -1 # always accept + } + + defender_ai_defeat_worth = { + factor = 100 + } +} + +# 1 +other_claim = { + name = CB_NAME_CLAIM + war_name = WAR_NAME_OTHER_CLAIM + sprite = 2 + truce_days = 3650 + hostile_against_others = yes + can_ask_to_join_war = no + + press_claim = yes + + allowed_to_target_tributaries = no + allowed_to_target_suzerains = no + + infamy_modifier = 0.5 + + can_use = { + ROOT = { + mercenary = no + } + } + + can_use_title = { + OR = { + ROOT = { is_female = no } + AND = { + NOT = { ROOT = { religion_group = muslim } } + NOT = { succ_law_title = { has_law = agnatic_succession } } + } + } + OR = { + FROM = { + has_landed_title = PREV + } + holder_scope = { + is_liege_or_above = FROM + } + } + + ROOT = { + OR = { + is_ruler = no + primary_title = { + OR = { + is_primary_type_title = no # Static Mercs, the Pope, Holy Orders, etc + higher_tier_than = PREVPREV + tier = PREVPREV + } + } + } + } + + NOT = { + any_war = { # when used in title scope, checks all wars for that title + attacker = { + character = ROOT + } + } + } + + OR = { + ROOT = { has_strong_claim = PREV } + AND = { + ROOT = { has_weak_claim = PREV } + OR = { + is_pretender = yes # Checks vs ROOT character + holder_scope = { has_regent = yes } + AND = { + ROOT = { is_female = no } + holder_scope = { is_female = yes } + } + is_contested = yes # Is already being contested in some form of Claim or Succession War + } + } + } + } + + is_valid_title = { + OR = { + FROM = { + has_landed_title = PREV + } + holder_scope = { + is_liege_or_above = FROM + } + } + ROOT = { has_claim = PREV } + } + + on_success = { + hidden_tooltip = { + ROOT = { + opinion = { + modifier = pressed_my_claim + who = PREV + multiplier = 2 + } + } + } + any_attacker = { + limit = { character = ROOT } + participation_scaled_prestige = 100 + } + any_attacker = { + limit = { NOT = { character = ROOT } } + hidden_tooltip = { participation_scaled_prestige = 100 } + } + FROM = { + prestige = -100 + } + } + + on_success_title = { + hidden_tooltip = { + ROOT = { + if = { + limit = { + has_nickname = no + lower_tier_than = PREV + } + random = { + chance = 50 + give_nickname = nick_the_usurper + } + } + } + + # Anti-Popes take all the gold of the Vatican + if = { + limit = { + OR = { + title = k_papal_state + title = d_fraticelli + } + } + FROM = { + transfer_scaled_wealth = { + to = ROOT + value = all + } + } + } + } + + if = { + limit = { + controls_religion = yes + holder_scope = { + OR = { + religion = catholic + religion = fraticelli + } + } + } + holder_scope = { + abdicate_to = ROOT + } + if = { + limit = { + FROMFROM = { higher_tier_than = PREV } + } + ROOT = { set_defacto_liege = FROMFROM } + } + } + + if = { + limit = { + OR = { + controls_religion = no + NOT = { + holder_scope = { + OR = { + religion = catholic + religion = fraticelli + } + } + } + } + } + + if = { + limit = { + holder_scope = { + same_realm = FROMFROM # The current holder and the one pressing my claim are in the same larger realm + } + } + ROOT = { + set_character_flag = other_claim_tmp_flag + } + } + + if = { + limit = { + ROOT = { + is_ruler = yes + is_liege_or_above = FROMFROM # The claimant is a vassal ruler of the presser + } + } + ROOT = { + set_character_flag = claimant_is_vassal_ruler_flag + } + } + + usurp_title_plus_barony_if_unlanded = { target = ROOT type = claim } + + hidden_tooltip = { + + # If we were erroneously vassalized, break free + if = { + limit = { + NOT = { ROOT = { has_character_flag = claimant_is_vassal_ruler_flag } } + holder_scope = { + is_liege_or_above = FROMFROM + } + NOT = { de_jure_liege_or_above = FROMFROM } + ROOT = { + NOT = { dynasty = FROMFROM } + } + } + ROOT = { set_defacto_liege = ROOT } + } + + # try and vassalize, but only conditionally + if = { + limit = { + NOT = { + holder_scope = { + is_liege_or_above = FROMFROM + } + } + OR = { + holder_scope = { de_jure_liege_or_above = FROMFROM } + ROOT = { has_character_flag = claimant_is_vassal_ruler_flag } + ROOT = { dynasty = FROMFROM } + } + } + ROOT = { + set_defacto_liege = FROMFROM + } + } + + # check if the previous effect managed to make us part of the same realm + # if not, we'll break the other realm + if = { + limit = { + NOT = { ROOT = { has_character_flag = other_claim_tmp_flag } } + FROM = { + FROM = { + top_liege = { + ROOT = { + top_liege = { + NOT = { + character = PREVPREV + } + } + } + } + } + } + } + ROOT = { + set_defacto_liege = ROOT + } + } + + # If we have become independent from our mutual liege, restore that vassal tie + if = { + limit = { + ROOT = { + has_character_flag = other_claim_tmp_flag + de_facto_liege = ROOT + } + } + FROM = { + FROM = { + top_liege = { + ROOT = { + set_defacto_liege = PREV + } + } + } + } + } + + ROOT = { + clr_character_flag = other_claim_tmp_flag + clr_character_flag = claimant_is_vassal_ruler_flag + } + } + } + + if = { + limit = { + higher_tier_than = BARON + NOT = { culture = ROOT } + } + hidden_tooltip = { conquest_culture = ROOT } + } + } + + on_fail_title = { + ROOT = { + prestige = -100 + } + FROM = { + FROM = { + prestige = -100 + } + } + + any_defender = { + limit = { character = FROM } + participation_scaled_prestige = 100 + } + any_defender = { + limit = { NOT = { character = FROM } } + hidden_tooltip = { participation_scaled_prestige = 100 } + } + } + + on_reverse_demand = { + prestige = -150 + transfer_scaled_wealth = { + to = FROM + value = 4.0 + } + ROOT = { + prestige = -150 + imprison = FROM + } + any_defender = { + limit = { character = FROM } + participation_scaled_prestige = 150 + } + any_defender = { + limit = { NOT = { character = FROM } } + hidden_tooltip = { participation_scaled_prestige = 150 } + } + } + + on_reverse_demand_title = { + any_claim = { + remove_claim = PREV + } + } + + attacker_ai_victory_worth = { + factor = -1 # always accept + } + + attacker_ai_defeat_worth = { + factor = 100 + } + + defender_ai_victory_worth = { + factor = -1 # always accept + } + + defender_ai_defeat_worth = { + factor = 100 + } +} + +# 2 +claim_on_liege = { + name = CB_NAME_CLAIM + war_name = WAR_NAME_CLAIM_LIEGE + sprite = 3 + truce_days = 3650 + hostile_against_others = yes + + press_claim = yes + can_call_vassals = no +# attacker_can_call_allies = no + major_revolt = yes + + allowed_to_target_tributaries = no + allowed_to_target_suzerains = no + + infamy_modifier = 0.85 + + can_use_title = { + OR = { + FROM = { + has_landed_title = PREV + } + holder_scope = { + is_liege_or_above = FROM + } + } + OR = { + ROOT = { has_strong_claim = PREV } + ROOT = { has_character_flag = faction_claimant_ultimatum_taken } # Faction war. Ignore claim strength. + AND = { + ROOT = { has_weak_claim = PREV } + OR = { + is_pretender = yes # Checks vs ROOT character + holder_scope = { has_regent = yes } + AND = { + ROOT = { is_female = no } + holder_scope ={ is_female = yes } + } + is_contested = yes # Is already being contested in some form of Claim or Succession War + } + } + } + is_vice_royalty = no + } + + is_valid = { + FROM = { + in_revolt = no + liege_before_war = { + in_revolt = no + liege_before_war = { + in_revolt = no + } + } + } + ROOT = { + OR = { + liege = { + character = PREV # either independent + } + liege = { + FROM = { + is_liege_or_above = PREV # or have shared liege + } + } + } + } + } + + is_valid_title = { + NOT = { + holder_scope = { + character = ROOT + } + } + + OR = { + FROM = { + has_landed_title = PREV + } + holder_scope = { + is_liege_or_above = FROM + } + } + OR = { + has_law = succ_feudal_elective + ROOT = { has_claim = PREV } + } + } + + on_success = { + any_attacker = { + limit = { character = ROOT } + participation_scaled_prestige = 100 + hidden_tooltip = { + disband_event_forces = faction_revolters + } + } + any_attacker = { + limit = { NOT = { character = ROOT } } + hidden_tooltip = { participation_scaled_prestige = 100 } + hidden_tooltip = { + disband_event_forces = faction_revolters + } + } + + FROM = { + hidden_tooltip = { disband_event_forces = faction_loyalists } + + if = { + limit = { NOT = { has_dlc = "Zeus" } } + any_demesne_title = { # All titles + limit = { + OR = { + tier = king + tier = emperor + } + # is_titular = no + NOT = { has_law = crown_authority_0 } + } + if = { + limit = { has_law = crown_authority_1 } + add_law = crown_authority_0 + } + if = { + limit = { has_law = crown_authority_2 } + add_law = crown_authority_1 + } + if = { + limit = { has_law = crown_authority_3 } + add_law = crown_authority_2 + } + if = { + limit = { has_law = crown_authority_4 } + add_law = crown_authority_3 + } + } + } + } + if = { + limit = { + ROOT = { + prisoner = yes + host = { character = FROM } + } + } + ROOT = { prisoner = no } + } + } + + on_success_title = { + if = { + limit = { + is_primary_holder_title = yes + } + FROM = { imprison = ROOT } + } + + usurp_title_plus_barony_if_unlanded_and_vassals_no_adj = { target = ROOT type = claim } + + if = { + limit = { + higher_tier_than = BARON + NOT = { culture = ROOT } + } + hidden_tooltip = { conquest_culture = ROOT } + } + + if = { + limit = { + higher_tier_than = FROM + } + + FROM = { + set_defacto_liege = ROOT + } + } + + hidden_tooltip = { + ROOT = { + if = { + limit = { + has_nickname = no + PREV = { higher_tier_than = count } + } + random = { + chance = 50 + give_nickname = nick_the_usurper + } + } + } + } + } + + on_fail = { + ROOT = { + prestige = -100 + } + any_defender = { + limit = { character = FROM } + participation_scaled_prestige = 50 + } + any_defender = { + limit = { NOT = { character = FROM } } + hidden_tooltip = { participation_scaled_prestige = 50 } + } + + hidden_tooltip = { + any_attacker = { + limit = { liege = { character = FROM } } + disband_event_forces = faction_revolters + } + } + + FROM = { hidden_tooltip = { disband_event_forces = faction_loyalists } } + } + + on_reverse_demand = { + ROOT = { + prestige = -150 + } + + any_defender = { + limit = { character = FROM } + participation_scaled_prestige = 100 + } + any_defender = { + limit = { NOT = { character = FROM } } + hidden_tooltip = { participation_scaled_prestige = 100 } + } + + hidden_tooltip = { + any_attacker = { + limit = { liege = { character = FROM } } + disband_event_forces = faction_revolters + prisoner = FROM + } + } + + FROM = { hidden_tooltip = { disband_event_forces = faction_loyalists } } + } + + on_attacker_leader_death = { + hidden_tooltip = { + any_defender = { + letter_event = { + id = 251 + } + } + } + end_war = invalid + } + + attacker_ai_victory_worth = { + factor = -1 # always accept + } + + attacker_ai_defeat_worth = { + factor = 100 + } + + defender_ai_victory_worth = { + factor = -1 # always accept + } + + defender_ai_defeat_worth = { + factor = 100 + } +} + + +# 3 +claim_on_liege_plot = { + name = CB_NAME_CLAIM + war_name = WAR_NAME_CLAIM_LIEGE + sprite = 3 + truce_days = 3650 + hostile_against_others = yes + + press_claim = yes + major_revolt = yes + attacker_can_call_allies = no + can_ask_to_join_war = no + + allowed_to_target_tributaries = no + allowed_to_target_suzerains = no + + infamy_modifier = 0.85 + + can_use_title = { + OR = { + FROM = { + has_landed_title = PREV + } + holder_scope = { + is_liege_or_above = FROM + } + } + } + + is_valid = { + FROM = { + in_revolt = no + liege_before_war = { + in_revolt = no + liege_before_war = { + in_revolt = no + } + } + } + ROOT = { + OR = { + liege = { + character = PREV # either independent + } + liege = { + FROM = { + is_liege_or_above = PREV # or have shared liege + } + } + } + } + } + + is_valid_title = { + OR = { + FROM = { + has_landed_title = PREV + } + holder_scope = { + is_liege_or_above = FROM + } + } + } + + on_success = { + any_attacker = { + limit = { character = ROOT } + participation_scaled_prestige = 100 + hidden_tooltip = { + disband_event_forces = faction_revolters + } + } + any_attacker = { + limit = { NOT = { character = ROOT } } + hidden_tooltip = { participation_scaled_prestige = 100 } + hidden_tooltip = { + disband_event_forces = faction_revolters + } + } + + FROM = { + + hidden_tooltip = { disband_event_forces = faction_loyalists } + + if = { + limit = { NOT = { has_dlc = "Zeus" } } + any_demesne_title = { # All titles + limit = { + OR = { + tier = king + tier = emperor + } + # is_titular = no + NOT = { has_law = crown_authority_0 } + } + if = { + limit = { has_law = crown_authority_1 } + add_law = crown_authority_0 + } + if = { + limit = { has_law = crown_authority_2 } + add_law = crown_authority_1 + } + if = { + limit = { has_law = crown_authority_3 } + add_law = crown_authority_2 + } + if = { + limit = { has_law = crown_authority_4 } + add_law = crown_authority_3 + } + } + } + } + } + + on_success_title = { + usurp_title_plus_barony_if_unlanded = { target = ROOT type = claim } + + if = { + limit = { + higher_tier_than = BARON + NOT = { culture = ROOT } + } + hidden_tooltip = { conquest_culture = ROOT } + } + ROOT = { + plot_succeeds = yes + } + } + + on_fail = { + ROOT = { + prestige = -100 + } + any_defender = { + limit = { character = FROM } + participation_scaled_prestige = 50 + hidden_tooltip = { + disband_event_forces = faction_revolters + } + } + any_defender = { + limit = { NOT = { character = FROM } } + hidden_tooltip = { participation_scaled_prestige = 50 } + hidden_tooltip = { + disband_event_forces = faction_revolters + } + } + + FROM = { hidden_tooltip = { disband_event_forces = faction_loyalists } } + } + + on_reverse_demand = { + ROOT = { + prestige = -200 + imprison = FROM + } + any_defender = { + limit = { character = FROM } + participation_scaled_prestige = 100 + hidden_tooltip = { + disband_event_forces = faction_revolters + } + } + any_defender = { + limit = { NOT = { character = FROM } } + hidden_tooltip = { participation_scaled_prestige = 100 } + hidden_tooltip = { + disband_event_forces = faction_revolters + } + } + + FROM = { hidden_tooltip = { disband_event_forces = faction_loyalists } } + } + + on_attacker_leader_death = { + hidden_tooltip = { + any_defender = { + letter_event = { + id = 251 + } + } + } + end_war = invalid + } + + attacker_ai_victory_worth = { + factor = -1 # always accept + } + + attacker_ai_defeat_worth = { + factor = 100 + } + + defender_ai_victory_worth = { + factor = -1 # always accept + } + + defender_ai_defeat_worth = { + factor = 100 + } +} + + +# 4 +claim_on_vassal_plot = { + name = CB_NAME_CLAIM_VASSAL + war_name = WAR_NAME_CLAIM_VASSAL + sprite = 3 + truce_days = 3650 + hostile_against_others = yes + reflect_titleholder_change = no + + press_claim = yes + attacker_can_call_allies = no + can_attack_vassals = yes + + allowed_to_target_tributaries = no + allowed_to_target_suzerains = no + + infamy_modifier = 0.85 + + can_use_title = { + OR = { + FROM = { + has_landed_title = PREV + } + holder_scope = { + de_facto_liege = ROOT + } + } + } + + is_valid_title = { + FROM = { + has_landed_title = PREV + } + ROOT = { + has_plot = plot_gain_vassal_title + } + } + + on_success = { + ROOT = { + prestige = 50 + } + } + + on_success_title = { + usurp_title_plus_barony_if_unlanded = { target = ROOT type = claim } + ROOT = { plot_succeeds = yes } + } + + on_fail = { + ROOT = { + prestige = -100 + cancel_plot = plot_gain_vassal_title + } + any_defender = { + limit = { character = FROM } + participation_scaled_prestige = 50 + } + any_defender = { + limit = { NOT = { character = FROM } } + hidden_tooltip = { participation_scaled_prestige = 50 } + } + } + + on_invalidation = { + ROOT = { + cancel_plot = plot_gain_vassal_title + } + + } + + on_reverse_demand = { + ROOT = { + prestige = -200 + cancel_plot = plot_gain_vassal_title + } + any_defender = { + limit = { character = FROM } + participation_scaled_prestige = 100 + } + any_defender = { + limit = { NOT = { character = FROM } } + hidden_tooltip = { participation_scaled_prestige = 100 } + } + } + + on_attacker_leader_death = { + hidden_tooltip = { + any_defender = { + letter_event = { + id = 251 + } + } + } + + end_war = invalid + } + + attacker_ai_victory_worth = { + factor = -1 # always accept + } + + attacker_ai_defeat_worth = { + factor = 100 + } + + on_defender_leader_death = { + ROOT = { + cancel_plot = plot_gain_vassal_title + } + } + + defender_ai_victory_worth = { + factor = -1 # always accept + } + + defender_ai_defeat_worth = { + factor = 100 + } +} + +# 5 +other_claim_on_liege = { + name = CB_NAME_CLAIM + war_name = WAR_NAME_OTHER_CLAIM + sprite = 4 + truce_days = 3650 + hostile_against_others = yes + can_ask_to_join_war = no + + press_claim = yes + can_call_vassals = no +# attacker_can_call_allies = no + major_revolt = yes + + allowed_to_target_tributaries = no + allowed_to_target_suzerains = no + + infamy_modifier = 0.5 + + can_use_title = { + OR = { + ROOT = { is_female = no } + NOT = { has_law = agnatic_succession } + AND = { + lower_tier_than = KING + is_primary_holder_title = no + } + FROMFROM = { has_character_flag = faction_claimant_ultimatum_taken } # Faction war. Ignore claim strength. + } + + FROM = { + has_landed_title = PREV + } + + OR = { + ROOT = { has_strong_claim = PREV } + FROMFROM = { has_character_flag = faction_claimant_ultimatum_taken } # Faction war. Ignore claim strength. + AND = { + ROOT = { has_weak_claim = PREV } + OR = { + is_pretender = yes # Checks vs ROOT character + holder_scope = { has_regent = yes } + AND = { + ROOT = { is_female = no } + holder_scope ={ is_female = yes } + } + is_contested = yes # Is already being contested in some form of Claim or Succession War + } + } + } + is_vice_royalty = no + } + + is_valid = { + FROM = { + in_revolt = no + liege_before_war = { + in_revolt = no + liege_before_war = { + in_revolt = no + } + } + } + OR = { + liege = { + character = PREV # either independent + } + liege = { + FROM = { + is_liege_or_above = PREV # or have shared liege + } + } + } + } + + is_valid_title = { + NOT = { + holder_scope = { + character = ROOT + } + } + + OR = { + FROM = { + has_landed_title = PREV + } + holder_scope = { + is_liege_or_above = FROM + } + } + + OR = { + has_law = succ_feudal_elective + ROOT = { has_claim = PREV } + } + + NOT = { + any_war = { # when used in title scope, checks all wars for that title + attacker = { + character = ROOT + } + } + } + } + + on_success = { + any_attacker = { + limit = { + OR = { + character = ROOT + character = PREV + } + } + participation_scaled_prestige = 100 + hidden_tooltip = { disband_event_forces = faction_revolters } + } + any_attacker = { + limit = { + NOT = { character = ROOT } + NOT = { character = PREV } + } + hidden_tooltip = { + participation_scaled_prestige = 100 + disband_event_forces = faction_revolters + } + } + ROOT = { + opinion = { + modifier = pressed_my_claim + who = PREV + } + } + + FROM = { + hidden_tooltip = { disband_event_forces = faction_loyalists } + + if = { + limit = { NOT = { has_dlc = "Zeus" } } + any_demesne_title = { # All titles + limit = { + OR = { + tier = king + tier = emperor + } + # is_titular = no + NOT = { has_law = crown_authority_0 } + } + if = { + limit = { has_law = crown_authority_1 } + add_law = crown_authority_0 + } + if = { + limit = { has_law = crown_authority_2 } + add_law = crown_authority_1 + } + if = { + limit = { has_law = crown_authority_3 } + add_law = crown_authority_2 + } + if = { + limit = { has_law = crown_authority_4 } + add_law = crown_authority_3 + } + } + } + } + + if = { + limit = { + ROOT = { + prisoner = yes + host = { character = FROM } + } + } + ROOT = { prisoner = no } + } + } + + on_success_title = { + if = { + limit = { + is_primary_holder_title = yes + } + hidden_tooltip = { + FROM = { set_character_flag = temp_other_claim_on_liege_prison } + } + } + + hidden_tooltip = { + ROOT = { + if = { + limit = { + has_nickname = no + lower_tier_than = PREV + } + random = { + chance = 50 + give_nickname = nick_the_usurper + } + } + } + } + + # If the claimant has the wrong government type, take care of that first. + if = { + limit = { + higher_tier_than = ROOT + holder_scope = { + is_feudal = yes + } + ROOT = { + is_ruler = yes + OR = { + is_theocracy = yes + is_republic = yes + } + } + } + ROOT = { + abdicate = { + move = no + } + } + } + + usurp_title_plus_barony_if_unlanded_and_vassals_no_adj = { target = ROOT type = claim } + + if = { + limit = { + higher_tier_than = BARON + NOT = { culture = ROOT } + } + hidden_tooltip = { conquest_culture = ROOT } + } + } + + on_success_posttitle = { + hidden_tooltip = { + if = { + limit = { + top_liege = { + ROOT = { + NOT = { + top_liege = { + character = PREVPREV + } + } + } + } + } + + ROOT = { + set_defacto_liege = PREV + } + } + + if = { + limit = { + top_liege = { + ROOT = { + NOT = { + top_liege = { + character = PREVPREV + } + } + } + } + } + + ROOT = { + set_defacto_liege = ROOT + } + } + + if = { + limit = { + FROM = { + has_character_flag = temp_other_claim_on_liege_prison + lower_tier_than = PREV + } + } + FROM = { + imprison = ROOT + } + } + FROM = { clr_character_flag = temp_other_claim_on_liege_prison } + } + } + + on_fail = { + prestige = -100 + + imprison = FROM + #if = { #Issue CKTWO-233 + # limit = { + # OR = { + # is_liege_of = ROOT + # ROOT = { is_liege_or_above = FROM } + # } + # } + # ROOT = { + # imprison = FROM + # } + #} + + any_defender = { + limit = { character = FROM } + participation_scaled_prestige = 50 + } + any_defender = { + limit = { NOT = { character = FROM } } + hidden_tooltip = { participation_scaled_prestige = 50 } + } + + hidden_tooltip = { + any_attacker = { + disband_event_forces = faction_revolters + } + } + + FROM = { hidden_tooltip = { disband_event_forces = faction_loyalists } } + } + + on_reverse_demand = { + prestige = -200 + + imprison = FROM + #if = { #Issue CKTWO-233 + # limit = { + # OR = { + # is_liege_of = ROOT + # ROOT = { is_liege_or_above = FROM } + # } + # } + # ROOT = { + # imprison = FROM + # } + #} + + any_defender = { + limit = { character = FROM } + participation_scaled_prestige = 100 + } + any_defender = { + limit = { NOT = { character = FROM } } + hidden_tooltip = { participation_scaled_prestige = 100 } + } + + hidden_tooltip = { + any_attacker = { + limit = { liege = { character = FROM } } + disband_event_forces = faction_revolters + prisoner = FROM + } + } + + FROM = { hidden_tooltip = { disband_event_forces = faction_loyalists } } + } + + attacker_ai_victory_worth = { + factor = -1 # always accept + } + + attacker_ai_defeat_worth = { + factor = 100 + } + + defender_ai_victory_worth = { + factor = -1 # always accept + } + + defender_ai_defeat_worth = { + factor = 100 + } +} + +# 6 +claim_all = { + name = CB_NAME_CLAIM_ALL + war_name = WAR_NAME_CLAIM_ALL + sprite = 5 + truce_days = 3650 + is_permanent = yes + can_ask_to_join_war = no + is_claim_all = yes + + allowed_to_target_tributaries = no + allowed_to_target_suzerains = no + + can_use = { + ROOT = { + total_claims = { + who = FROM + strong = yes # Count only strong claims + value = 2 + } + } + } + + is_valid = { + ROOT = { + total_claims = { + who = FROM + strong = yes # Count only strong claims + value = 1 # must have at least one claim left + } + } + } + + on_add = { + ROOT = { + any_claim = { + limit = { + holder_scope = { + OR = { + character = FROM + is_liege_or_above = FROM + } + } + ROOT = { has_strong_claim = PREV } + } + press_claim = ROOT + } + } + } + + on_success = { + ROOT = { + any_claim = { + limit = { + holder_scope = { + OR = { + character = FROM + is_liege_or_above = FROM + } + } + ROOT = { has_strong_claim = PREV } + } + usurp_title_plus_barony_if_unlanded = { target = ROOT type = claim } + if = { + limit = { + higher_tier_than = BARON + NOT = { culture = ROOT } + } + hidden_tooltip = { conquest_culture = ROOT } + } + } + } + hidden_tooltip = { + ROOT = { + if = { + limit = { + has_dlc = "Legacy of Rome" + OR = { + has_landed_title = e_byzantium + has_landed_title = e_roman_empire + } + religion_group = christian + } + character_event = { id = LoR.30 days = 12 } + } + } + } + any_attacker = { + limit = { character = ROOT } + participation_scaled_prestige = 100 + } + any_attacker = { + limit = { NOT = { character = ROOT } } + hidden_tooltip = { participation_scaled_prestige = 100 } + } + } + + on_fail = { + ROOT = { + prestige = -150 + } + any_defender = { + limit = { character = FROM } + participation_scaled_prestige = 75 + } + any_defender = { + limit = { NOT = { character = FROM } } + hidden_tooltip = { participation_scaled_prestige = 75 } + } + } + + on_reverse_demand = { + ROOT = { + prestige = -200 + transfer_scaled_wealth = { + to = FROM + value = 4.0 + } + any_claim = { + limit = { + holder_scope = { + OR = { + character = FROM + is_liege_or_above = FROM + } + } + ROOT = { has_strong_claim = PREV } + } + remove_claim = ROOT + } + } + any_defender = { + limit = { character = FROM } + participation_scaled_prestige = 200 + } + FROM = { + if = { + limit = { + has_dlc = "Legacy of Rome" + OR = { + has_landed_title = e_byzantium + has_landed_title = e_roman_empire + } + religion_group = christian + } + hidden_tooltip = { character_event = { id = LoR.30 days = 12 } } + } + } + any_defender = { + limit = { NOT = { character = FROM } } + hidden_tooltip = { participation_scaled_prestige = 200 } + } + } + + attacker_ai_victory_worth = { + factor = -1 # always accept + } + + attacker_ai_defeat_worth = { + factor = 100 + } + + defender_ai_victory_worth = { + factor = -1 # always accept + } + + defender_ai_defeat_worth = { + factor = 100 + } +} + + +change_seniority_succession_law = { + name = CB_NAME_SENIORITY_SUCCESSION_LAW + war_name = WAR_NAME_SENIORITY_SUCCESSION_LAW + sprite = 6 + truce_days = 3650 + attacker_can_call_allies = no + can_ask_to_join_war = no + major_revolt = yes + + can_use = { + ROOT = { + vassal_of = FROM + } + } + + is_valid = { + FROM = { + in_revolt = no + liege_before_war = { + in_revolt = no + liege_before_war = { + in_revolt = no + } + } + } + ROOT = { + OR = { + liege = { + character = PREV # either independent + } + liege = { + FROM = { + is_liege_or_above = PREV # or have shared liege + } + } + } + } + } + + is_valid_title = { + NOT = { + has_law = succ_seniority + } + OR = { + tier = emperor + tier = king + is_primary_holder_title = yes + } + } + + on_success = { + FROM = { + hidden_tooltip = { disband_event_forces = faction_loyalists } + + if = { + limit = { NOT = { has_dlc = "Zeus" } } + any_demesne_title = { # All titles + limit = { + OR = { + tier = king + tier = emperor + } + # is_titular = no + NOT = { has_law = crown_authority_0 } + } + if = { + limit = { has_law = crown_authority_1 } + add_law = crown_authority_0 + } + if = { + limit = { has_law = crown_authority_2 } + add_law = crown_authority_1 + } + if = { + limit = { has_law = crown_authority_3 } + add_law = crown_authority_2 + } + if = { + limit = { has_law = crown_authority_4 } + add_law = crown_authority_3 + } + } + } + } + any_attacker = { + limit = { character = ROOT } + participation_scaled_prestige = 100 + hidden_tooltip = { + disband_event_forces = faction_revolters + } + } + any_attacker = { + limit = { NOT = { character = ROOT } } + hidden_tooltip = { + participation_scaled_prestige = 100 + disband_event_forces = faction_revolters + } + } + } + + on_success_title = { + succession_w_cooldown = seniority + } + + on_fail = { + ROOT = { + prestige = -100 + } + any_defender = { + limit = { character = FROM } + participation_scaled_prestige = 50 + } + any_defender = { + limit = { NOT = { character = FROM } } + hidden_tooltip = { participation_scaled_prestige = 50 } + } + + hidden_tooltip = { + any_attacker = { + disband_event_forces = faction_revolters + add_character_modifier = { + name = faction_succ_seniority_ultimatum_timer + hidden = yes + duration = 3650 + } + } + } + FROM = { hidden_tooltip = { disband_event_forces = faction_loyalists } } + } + + on_reverse_demand = { + ROOT = { + prestige = -200 + prisoner = FROM + } + any_defender = { + limit = { character = FROM } + participation_scaled_prestige = 100 + } + any_defender = { + limit = { NOT = { character = FROM } } + hidden_tooltip = { participation_scaled_prestige = 100 } + } + + hidden_tooltip = { + any_attacker = { + limit = { liege = { character = FROM } } + prisoner = FROM + disband_event_forces = faction_revolters + add_character_modifier = { + name = faction_succ_seniority_ultimatum_timer + hidden = yes + duration = 3650 + } + } + } + + FROM = { hidden_tooltip = { disband_event_forces = faction_loyalists } } + } + + attacker_ai_victory_worth = { + factor = -1 # always accept + } + + attacker_ai_defeat_worth = { + factor = 100 + } + + defender_ai_victory_worth = { + factor = -1 # always accept + } + + defender_ai_defeat_worth = { + factor = 100 + } +} + + +change_primogeniture_succession_law = { + name = CB_NAME_PRIMOGENITURE_SUCCESSION_LAW + war_name = WAR_NAME_PRIOGENITURE_SUCCESSION_LAW + sprite = 6 + truce_days = 3650 + attacker_can_call_allies = no + can_ask_to_join_war = no + major_revolt = yes + + can_use = { + ROOT = { + vassal_of = FROM + } + } + + is_valid = { + FROM = { + in_revolt = no + liege_before_war = { + in_revolt = no + liege_before_war = { + in_revolt = no + } + } + } + ROOT = { + OR = { + liege = { + character = PREV # either independent + } + liege = { + FROM = { + is_liege_or_above = PREV # or have shared liege + } + } + } + } + } + + is_valid_title = { + NOT = { + has_law = succ_primogeniture + } + OR = { + tier = emperor + tier = king + is_primary_holder_title = yes + } + } + + + on_success = { + FROM = { + hidden_tooltip = { disband_event_forces = faction_loyalists } + + if = { + limit = { NOT = { has_dlc = "Zeus" } } + any_demesne_title = { # All titles + limit = { + OR = { + tier = king + tier = emperor + } + # is_titular = no + NOT = { has_law = crown_authority_0 } + } + if = { + limit = { has_law = crown_authority_1 } + add_law = crown_authority_0 + } + if = { + limit = { has_law = crown_authority_2 } + add_law = crown_authority_1 + } + if = { + limit = { has_law = crown_authority_3 } + add_law = crown_authority_2 + } + if = { + limit = { has_law = crown_authority_4 } + add_law = crown_authority_3 + } + } + } + } + + any_attacker = { + limit = { character = ROOT } + participation_scaled_prestige = 100 + hidden_tooltip = { + disband_event_forces = faction_revolters + } + } + any_attacker = { + limit = { NOT = { character = ROOT } } + hidden_tooltip = { + participation_scaled_prestige = 100 + disband_event_forces = faction_revolters + } + } + } + + on_success_title = { + succession_w_cooldown = primogeniture + } + + on_fail = { + ROOT = { + prestige = -100 + } + any_defender = { + limit = { character = FROM } + participation_scaled_prestige = 50 + } + any_defender = { + limit = { NOT = { character = FROM } } + hidden_tooltip = { participation_scaled_prestige = 50 } + } + + hidden_tooltip = { + any_attacker = { + disband_event_forces = faction_revolters + add_character_modifier = { + name = faction_succ_primogeniture_ultimatum_timer + hidden = yes + duration = 3650 + } + } + } + + FROM = { hidden_tooltip = { disband_event_forces = faction_loyalists } } + } + + on_reverse_demand = { + ROOT = { + prestige = -200 + prisoner = FROM + } + any_defender = { + limit = { character = FROM } + participation_scaled_prestige = 100 + } + any_defender = { + limit = { NOT = { character = FROM } } + hidden_tooltip = { participation_scaled_prestige = 100 } + } + + hidden_tooltip = { + any_attacker = { + limit = { liege = { character = FROM } } + prisoner = FROM + disband_event_forces = faction_revolters + add_character_modifier = { + name = faction_succ_primogeniture_ultimatum_timer + hidden = yes + duration = 3650 + } + } + } + + FROM = { hidden_tooltip = { disband_event_forces = faction_loyalists } } + } + + attacker_ai_victory_worth = { + factor = -1 # always accept + } + + attacker_ai_defeat_worth = { + factor = 100 + } + + defender_ai_victory_worth = { + factor = -1 # always accept + } + + defender_ai_defeat_worth = { + factor = 100 + } +} + +change_feudal_elective_succession_law = { + name = CB_NAME_FEUDAL_ELECTIVE_SUCCESSION_LAW + war_name = WAR_NAME_FEUDAL_ELECTIVE_SUCCESSION_LAW + sprite = 6 + truce_days = 3650 + attacker_can_call_allies = no + can_ask_to_join_war = no + major_revolt = yes + + can_use = { + ROOT = { + vassal_of = FROM + } + } + + is_valid = { + FROM = { + in_revolt = no + liege_before_war = { + in_revolt = no + liege_before_war = { + in_revolt = no + } + } + } + ROOT = { + OR = { + liege = { + character = PREV # either independent + } + liege = { + FROM = { + is_liege_or_above = PREV # or have shared liege + } + } + } + } + } + + is_valid_title = { + NOT = { + has_law = succ_feudal_elective + } + OR = { + tier = emperor + tier = king + is_primary_holder_title = yes + } + +# OR = { +# AND = { +# tier = emperor +# OR = { +# ROOT = { tier = king } +# ROOT = { tier = duke } +# } +# } +# AND = { +# tier = king +# ROOT = { tier = duke } +# } +# AND = { +# tier = duke +# ROOT = { tier = count } +# } +# } + + } + + on_success = { + FROM = { + + hidden_tooltip = { disband_event_forces = faction_loyalists } + if = { + limit = { NOT = { has_dlc = "Zeus" } } + any_demesne_title = { # All titles + limit = { + OR = { + tier = king + tier = emperor + } + # is_titular = no + NOT = { has_law = crown_authority_0 } + } + if = { + limit = { has_law = crown_authority_1 } + add_law = crown_authority_0 + } + if = { + limit = { has_law = crown_authority_2 } + add_law = crown_authority_1 + } + if = { + limit = { has_law = crown_authority_3 } + add_law = crown_authority_2 + } + if = { + limit = { has_law = crown_authority_4 } + add_law = crown_authority_3 + } + } + } + } + any_attacker = { + limit = { character = ROOT } + participation_scaled_prestige = 100 + hidden_tooltip = { + disband_event_forces = faction_revolters + } + } + any_attacker = { + limit = { NOT = { character = ROOT } } + hidden_tooltip = { + participation_scaled_prestige = 100 + disband_event_forces = faction_revolters + } + } + } + + on_success_title = { + succession_w_cooldown = feudal_elective + } + + on_fail = { + ROOT = { + prestige = -100 + } + any_defender = { + limit = { character = FROM } + participation_scaled_prestige = 50 + } + any_defender = { + limit = { NOT = { character = FROM } } + hidden_tooltip = { participation_scaled_prestige = 50 } + } + + hidden_tooltip = { + any_attacker = { + disband_event_forces = faction_revolters + add_character_modifier = { + name = faction_succ_feudal_elective_ultimatum_timer + hidden = yes + duration = 3650 + } + } + } + FROM = { hidden_tooltip = { disband_event_forces = faction_loyalists } } + } + + on_reverse_demand = { + ROOT = { + prestige = -200 + prisoner = FROM + } + any_defender = { + limit = { character = FROM } + participation_scaled_prestige = 100 + } + any_defender = { + limit = { NOT = { character = FROM } } + hidden_tooltip = { participation_scaled_prestige = 100 } + } + + hidden_tooltip = { + any_attacker = { + limit = { liege = { character = FROM } } + prisoner = FROM + disband_event_forces = faction_revolters + add_character_modifier = { + name = faction_succ_feudal_elective_ultimatum_timer + hidden = yes + duration = 3650 + } + } + } + + FROM = { hidden_tooltip = { disband_event_forces = faction_loyalists } } + } + + attacker_ai_victory_worth = { + factor = -1 # always accept + } + + attacker_ai_defeat_worth = { + factor = 100 + } + + defender_ai_victory_worth = { + factor = -1 # always accept + } + + defender_ai_defeat_worth = { + factor = 100 + } +} + + +invasion = { + name = CB_NAME_INVASION + war_name = WAR_NAME_INVASION + sprite = 7 + truce_days = 3650 + hostile_against_others = yes + can_ask_to_join_war = no + + allowed_to_target_tributaries = no + allowed_to_target_suzerains = no + + can_use = { + ROOT = { + mercenary = no + } + } + + can_use_title = { + OR = { + FROM = { + has_landed_title = PREV + } + holder_scope = { + is_liege_or_above = FROM + } + } + } + + is_valid_title = { + OR = { + FROM = { + has_landed_title = PREV + } + holder_scope = { + is_liege_or_above = FROM + } + } + } + + on_success = { + ROOT = { + prestige = 200 + } + any_attacker = { + limit = { character = ROOT } + participation_scaled_prestige = 200 + } + any_attacker = { + limit = { NOT = { character = ROOT } } + hidden_tooltip = { participation_scaled_prestige = 200 } + } + + hidden_tooltip = { + ROOT = { + occupy_minors_of_occupied_settlements = FROM + gain_all_occupied_titles = FROM + + if = { + limit = { + has_nickname = no + } + random_list = { + 10 = { give_nickname = nick_the_great } + 10 = { give_nickname = nick_the_victorious } + 10 = { give_nickname = nick_the_bold } + 10 = { give_nickname = nick_the_conqueror } + } + } + + if = { + limit = { + has_nickname = nick_the_bastard + } + give_nickname = nick_the_conqueror + } + + if = { + limit = { + has_dlc = "Legacy of Rome" + OR = { + has_landed_title = e_byzantium + has_landed_title = e_roman_empire + } + religion_group = christian + } + character_event = { id = LoR.30 days = 12 } + } + } + } + + FROM = { + prestige = -200 + } + } + + on_success_title = { + custom_tooltip = { + text = invasion_succ_tip + hidden_tooltip = { + usurp_title_plus_barony_if_unlanded = { target = ROOT type = invasion } + FROM = { set_defacto_liege = ROOT } + if = { + limit = { + FROM = { is_liege_or_above = ROOT } + } + FROM = { imprison = ROOT } + } + } + } + + if = { + limit = { + higher_tier_than = BARON + NOT = { culture = ROOT } + } + hidden_tooltip = { conquest_culture = ROOT } + } + + if = { + limit = { ROOT = { character = 140 } } + hidden_tooltip = { + add_law = succ_primogeniture + ROOT = { + any_vassal = { + limit = { + culture = saxon + } + opinion = { + modifier = opinion_subjugated + who = ROOT + } + } + } + } + } + } + + on_fail = { + ROOT = { + prestige = -200 + } + FROM = { + prestige = 100 + } + any_defender = { + limit = { character = FROM } + participation_scaled_prestige = 100 + } + any_defender = { + limit = { NOT = { character = FROM } } + hidden_tooltip = { participation_scaled_prestige = 100 } + } + } + + on_reverse_demand = { + ROOT = { + prestige = -200 + transfer_scaled_wealth = { + to = FROM + value = 8.0 + } + } + FROM = { + prestige = 200 + } + any_defender = { + limit = { character = FROM } + participation_scaled_prestige = 200 + } + FROM = { + if = { + limit = { + has_dlc = "Legacy of Rome" + OR = { + has_landed_title = e_byzantium + has_landed_title = e_roman_empire + } + religion_group = christian + } + hidden_tooltip = { character_event = { id = LoR.30 days = 12 } } + } + } + any_defender = { + limit = { NOT = { character = FROM } } + hidden_tooltip = { participation_scaled_prestige = 200 } + } + } + + on_reverse_demand_title = { + any_claim = { + remove_claim = ROOT + } + } + + on_attacker_leader_death = { + hidden_tooltip = { + any_defender = { + letter_event = { + id = 251 + } + } + } + + end_war = whitepeace + } + + attacker_ai_victory_worth = { + factor = 150 + } + + attacker_ai_defeat_worth = { + factor = 100 + } + + defender_ai_victory_worth = { + factor = -1 # always accept + } + + defender_ai_defeat_worth = { + factor = 100 + } +} + +tribal_invasion = { + name = CB_NAME_INVASION + war_name = WAR_NAME_INVASION + sprite = 8 + truce_days = 3650 + hostile_against_others = yes + is_permanent = yes + can_ask_to_join_war = yes + check_de_jure_tier = KING # this scans all de jure kingdoms for the counties which are held by or vassals(or below) of selected character. Only valid if is_permanent = yes + + allowed_to_target_tributaries = no + allowed_to_target_suzerains = no + + can_use_gui = { + ROOT = { + prestige = 500 + } + } + + on_add = { + ROOT = { prestige = -500 } + } + + can_use_title = { + ROOT = { + is_nomadic = no + OR = { + AND = { + has_dlc = "Horse Lords" + higher_tier_than = COUNT + OR = { + has_character_flag = horde_invader + AND = { + independent = yes + religion_group = pagan_group + OR = { + culture_group = altaic + culture_group = magyar + culture_group = mesoamerican + } + FROM = { + NOT = { religion_group = pagan_group } # Should subjugate these instead + } + } + } + } + AND = { + NOT = { has_dlc = "Horse Lords" } + independent = yes + higher_tier_than = COUNT + OR = { + religion_group = pagan_group + AND = { + OR = { + has_horde_culture = yes + has_character_flag = horde_invader + } + NOT = { religion_group = christian } + } + } + OR = { + culture_group = altaic + culture_group = magyar + culture_group = mesoamerican + } + OR = { + has_horde_culture = yes + has_character_flag = horde_invader + FROM = { + NOT = { religion_group = pagan_group } # Should subjugate these instead + } + } + } + AND = { + mercenary = yes + NOT = { + num_of_titles = 2 + } + } + } + } + + ROOT = { + NOT = { same_realm = FROM } + } + } + + is_valid_title = { + FROM = { + any_realm_title = { + de_jure_liege_or_above = PREVPREV + } + } + } + + on_success = { + ROOT = { + prestige = 200 + } + any_attacker = { + limit = { character = ROOT } + participation_scaled_prestige = 200 + } + any_attacker = { + limit = { NOT = { character = ROOT } } + hidden_tooltip = { participation_scaled_prestige = 200 } + } + FROM = { + prestige = -200 + } + hidden_tooltip = { + ROOT = { + occupy_minors_of_occupied_settlements = FROM + gain_all_occupied_titles = { who = FROM type = invasion } + + if = { + limit = { + has_nickname = no + } + random_list = { + 10 = { give_nickname = nick_the_great } + 10 = { give_nickname = nick_the_victorious } + 10 = { give_nickname = nick_the_conqueror } + 10 = { give_nickname = nick_the_brave } + 10 = { give_nickname = nick_the_dragon } + 10 = { give_nickname = nick_the_terrible } + } + } + } + } + } + + on_success_title = { + custom_tooltip = { + text = tribal_invasion_succ_tip + hidden_tooltip = { + ROOT = { + vassalize_or_take_under_title_destroy_duchies = { + title = PREV + enemy = FROM + is_crusade = yes # Even if the title holder is not participating in the war, gain holdings occupied by all Crusade participants + type = invasion + } + } + if = { + limit = { + e_mexikha = { + holder = ROOT + } + } + ROOT = { + any_realm_province = { + limit = { + OR = { + has_province_flag = aztec_explorers + has_province_flag = aztec_second_wave + } + } + culture = nahuatl + religion = aztec + clr_province_flag = aztec_explorers + clr_province_flag = aztec_second_wave + } + } + } + } + } + } + + on_fail = { + FROM = { + prestige = 100 + + hidden_tooltip = { + if = { + limit = { + has_nickname = no + } + random_list = { + 10 = { give_nickname = nick_the_great } + 10 = { give_nickname = nick_the_hammer } + 10 = { give_nickname = nick_the_avenger } + 10 = { give_nickname = nick_the_lion } + 10 = { give_nickname = nick_the_bold } + } + } + } + } + any_defender = { + limit = { character = FROM } + participation_scaled_prestige = 100 + } + any_defender = { + limit = { NOT = { character = FROM } } + hidden_tooltip = { participation_scaled_prestige = 100 } + } + ROOT = { + prestige = -200 + } + } + + on_reverse_demand = { + ROOT = { + prestige = -200 + transfer_scaled_wealth = { + to = FROM + value = 4.0 + } + } + FROM = { + prestige = 200 + hidden_tooltip = { + if = { + limit = { + has_nickname = no + } + random_list = { + 10 = { give_nickname = nick_the_great } + 10 = { give_nickname = nick_the_hammer } + 10 = { give_nickname = nick_the_avenger } + 10 = { give_nickname = nick_the_lion } + 10 = { give_nickname = nick_the_bold } + } + } + } + + if = { + limit = { + has_dlc = "Legacy of Rome" + OR = { + has_landed_title = e_byzantium + has_landed_title = e_roman_empire + } + religion_group = christian + } + hidden_tooltip = { character_event = { id = LoR.30 days = 12 } } + } + } + any_defender = { + limit = { character = FROM } + participation_scaled_prestige = 200 + } + any_defender = { + limit = { NOT = { character = FROM } } + hidden_tooltip = { participation_scaled_prestige = 200 } + } + } + + attacker_ai_victory_worth = { + factor = 200 + } + + attacker_ai_defeat_worth = { + factor = 100 + } + + defender_ai_victory_worth = { + factor = -1 # always accept + } + + defender_ai_defeat_worth = { + factor = 100 + } + + ai_will_do = { + factor = 1 + + modifier = { + factor = 0.9 # Prefer using CB's without on_add costs + } + + # Try to guide the Hordes in the right direction + modifier = { + factor = 0.1 + ROOT = { + OR = { + dynasty = 613 # Seljuks + dynasty = 800 # Timurids + primary_title = { title = e_il-khanate } + } + } + OR = { + empire = { + NOT = { + OR = { + title = e_persia + title = e_byzantium + title = e_arabia + } + } + } + FROM = { + primary_title = { title = e_golden_horde } + NOT = { year = 1300 } + } + } + } + modifier = { + factor = 0.1 + ROOT = { + primary_title = { title = e_golden_horde } + } + OR = { + empire = { + OR = { + title = e_persia + title = e_byzantium + title = e_arabia + } + } + FROM = { + primary_title = { title = e_il-khanate } + NOT = { year = 1300 } + } + } + } + modifier = { + factor = 0.1 + ROOT = { + culture = hungarian + primary_title = { + OR = { + title = k_hungary + title = e_carpathia + } + } + } + empire = { + OR = { + title = e_tartaria + title = e_russia + } + } + } + } +} + +crusade = { + name = CB_NAME_CRUSADE + war_name = WAR_NAME_CRUSADE + sprite = 9 + truce_days = 3650 + is_permanent = yes + is_holy_war = yes + battle_warscore_mult = 0.5 + check_de_jure_tier = KING # this scans all de jure kingdoms for the counties which are held by or vassals(or below) of selected character. Only valid if is_permanent = yes + + allowed_to_target_tributaries = no + allowed_to_target_suzerains = no + + can_use_gui = { + ROOT = { + has_called_crusade = no + religion_authority = 0.05 + OR = { + religion_group = zoroastrian_group + religion_group = jewish_group + AND = { + religion_group = pagan_group + custom_tooltip = { + text = CTT_PAGAN_GHWS_UNLOCKED + has_global_flag = pagan_ghws_unlocked + } + } + AND = { + religion_group = christian + custom_tooltip = { + text = CTT_CHRISTIAN_CRUSADES_UNLOCKED + has_global_flag = christian_crusades_unlocked + } + } + AND = { + religion_group = muslim + custom_tooltip = { + text = CTT_MUSLIM_JIHADS_UNLOCKED + has_global_flag = muslim_jihads_unlocked + } + } + } + mercenary = no + } + } + + can_use = { + ROOT = { + can_call_crusade = yes + } + + FROM = { + OR = { + NOT = { religion_group = ROOT } + is_heresy_of = ROOT + is_parent_religion = ROOT + AND = { + religion_group = pagan_group + NOT = { religion = ROOT } + } + } + } + + NOT = { # Not if the Schism has been mended + AND = { + OR = { + religion = catholic + religion = fraticelli + } + has_global_flag = schism_mended + } + } + } + + can_use_title = { + FROM = { + any_realm_title = { + de_jure_liege_or_above = PREVPREV + } + + independent = yes # Don't declare Crusades on revolters - chances are high the war will invalidate + + num_of_realm_counties = { + value = 6 + title = PREV + } + } + } + + is_valid = { + ROOT = { + can_call_crusade = yes + } + FROM = { + OR = { + NOT = { religion_group = ROOT } + is_heresy_of = ROOT + is_parent_religion = ROOT + AND = { + religion_group = pagan_group + NOT = { religion = ROOT } + } + } + } + } + + is_valid_title = { + FROM = { + any_realm_title = { + de_jure_liege_or_above = PREVPREV + } + } + } + + on_success_title = { + + # Should we give the seized land to its current king? + if = { + limit = { + has_holder = yes + holder_scope = { + religion = ROOT + } + } + holder_scope = { + gain_settlements_under_title = { + title = PREV + enemy = FROM + is_crusade = yes # Even if the title holder is not participating in the war, gain holdings occupied by all Crusade participants + type = holy_war + } + } + } + + # Should we give the seized land to a claimant of our faith? + if = { + limit = { + OR = { + has_holder = no + holder_scope = { + NOT = { religion = ROOT } + } + } + + best_crusade_claimant = { + always = yes # There is a "best" claimant + } + } + + # Claimants must be of ROOT's religion, and are ranked by strength of claim and actual contribution to the war + best_crusade_claimant = { + gain_settlements_under_title = { + title = PREV + enemy = FROM + is_crusade = yes # Even if the title holder is not participating in the war, gain holdings occupied by all Crusade participants + type = holy_war + } + if = { + limit = { + top_liege = { + character = FROM + } + } + set_defacto_liege = THIS + } + if = { + limit = { + PREV = { + OR = { + has_holder = no + holder_scope = { + top_liege = { character = FROM } + } + } + } + OR = { + independent = yes + is_ruler = no + liege = { + tier = EMPEROR + } + } + } + usurp_title = { target = PREV type = holy_war } + } + } + } + + # Give the seized land to the main contributor of the Crusade + if = { + limit = { + OR = { + has_holder = no + NOT = { + holder_scope = { + religion = ROOT + } + } + } + NOT = { + best_crusade_claimant = { + always = yes + } + } + } + most_participating_crusader = { + gain_settlements_under_title = { + title = PREV + enemy = FROM + type = holy_war + } + if = { + limit = { + primary_title = { is_primary_type_title = no } # Mercs, the Pope, Holy Orders, etc + PREV = { + OR = { + has_holder = no + holder_scope = { + top_liege = { character = FROM } + } + } + } + NOT = { character = ROOT } + OR = { + independent = yes + liege = { + tier = EMPEROR + } + } + } + usurp_title_only = { target = PREV type = holy_war } + + if = { + limit = { + NOT = { culture = PREV } + } + hidden_tooltip = { + save_event_target_as = winning_crusader + PREV = { conquest_culture = event_target:winning_crusader } + } + } + } + hidden_tooltip = { + if = { + limit = { + has_nickname = no + } + random_list = { + 10 = { + modifier = { + factor = 0 + NOT = { religion_group = christian } + } + give_nickname = nick_the_crusader + } + 10 = { give_nickname = nick_the_holy } + 10 = { give_nickname = nick_the_glorious } + 10 = { give_nickname = nick_the_lionheart } + 10 = { give_nickname = nick_the_great } + 10 = { give_nickname = nick_the_hammer } + 10 = { give_nickname = nick_the_pilgrim } + 40 = { + modifier = { + factor = 0 + religion_group = christian + } + give_nickname = nick_the_sword_of_god + } + } + } + } + } + } + + any_attacker = { + limit = { character = ROOT } + participation_scaled_prestige = 500 + participation_scaled_piety = 1000 + if = { + limit = { + uses_decadence = yes + } + participation_scaled_decadence = -100 + } + } + any_attacker = { + limit = { NOT = { character = ROOT } } + hidden_tooltip = { + participation_scaled_prestige = 500 + participation_scaled_piety = 1000 + if = { + limit = { + uses_decadence = yes + } + participation_scaled_decadence = -100 + } + } + } + any_attacker = { + limit = { + ai = no + NOT = { has_character_flag = achievement_crusader } + } + set_character_flag = achievement_crusader + } + + ROOT = { + religion_authority = { + modifier = won_crusade + years = 20 + } + } + + FROM = { + piety = -100 + religion_authority = { + modifier = lost_crusade + years = 20 + } + } + } + + on_fail = { + ROOT = { + piety = -100 + } + + any_defender = { + limit = { character = FROM } + participation_scaled_piety = 200 + participation_scaled_prestige = 100 + if = { + limit = { + uses_decadence = yes + } + participation_scaled_decadence = -50 + } + } + any_defender = { + limit = { NOT = { character = FROM } } + hidden_tooltip = { + participation_scaled_piety = 200 + participation_scaled_prestige = 100 + if = { + limit = { + uses_decadence = yes + } + participation_scaled_decadence = -50 + } + } + } + + FROM = { + if = { + limit = { + has_dlc = "Legacy of Rome" + OR = { + has_landed_title = e_byzantium + has_landed_title = e_roman_empire + } + religion_group = christian + } + hidden_tooltip = { character_event = { id = LoR.30 days = 12 } } + } + + hidden_tooltip = { + if = { + limit = { + has_nickname = no + } + random_list = { + 10 = { give_nickname = nick_the_holy } + 10 = { give_nickname = nick_the_glorious } + 10 = { give_nickname = nick_the_lionheart } + 10 = { give_nickname = nick_the_great } + 10 = { give_nickname = nick_the_hammer } + 20 = { + modifier = { + factor = 0 + religion_group = christian + } + give_nickname = nick_the_sword_of_god + } + } + } + } + } + } + + on_reverse_demand = { + ROOT = { + transfer_scaled_wealth = { + to = FROM + value = 4.0 + } + piety = -200 + religion_authority = { + modifier = lost_crusade + years = 20 + } + } + FROM = { + piety = 100 + religion_authority = { + modifier = won_crusade + years = 20 + } + } + any_defender = { + limit = { character = FROM } + participation_scaled_piety = 300 + participation_scaled_prestige = 150 + if = { + limit = { + uses_decadence = yes + } + participation_scaled_decadence = -100 + } + } + FROM = { + if = { + limit = { + has_dlc = "Legacy of Rome" + OR = { + has_landed_title = e_byzantium + has_landed_title = e_roman_empire + } + religion_group = christian + } + hidden_tooltip = { character_event = { id = LoR.30 days = 12 } } + } + hidden_tooltip = { + if = { + limit = { + has_nickname = no + } + random_list = { + 10 = { give_nickname = nick_the_holy } + 10 = { give_nickname = nick_the_glorious } + 10 = { give_nickname = nick_the_lionheart } + 10 = { give_nickname = nick_the_great } + 10 = { give_nickname = nick_the_hammer } + 20 = { + modifier = { + factor = 0 + religion_group = christian + } + give_nickname = nick_the_sword_of_god + } + } + } + } + } + any_defender = { + limit = { NOT = { character = FROM } } + hidden_tooltip = { + participation_scaled_piety = 300 + participation_scaled_prestige = 150 + if = { + limit = { + uses_decadence = yes + } + participation_scaled_decadence = -100 + } + } + } + any_attacker = { + limit = { + character = ROOT + uses_decadence = yes + } + participation_scaled_decadence = 35 + } + any_attacker = { + limit = { + NOT = { character = ROOT } + uses_decadence = yes + } + hidden_tooltip = { + participation_scaled_decadence = 35 + } + } + } + + attacker_ai_victory_worth = { + factor = -1 # always accept + } + + attacker_ai_defeat_worth = { + factor = 100 + } + + defender_ai_victory_worth = { + factor = -1 # always accept + } + + defender_ai_defeat_worth = { + factor = 100 + } +} + +# Holy War CB +religious = { + name = CB_NAME_RELIGIOUS + war_name = WAR_NAME_RELIGIOUS + sprite = 9 + truce_days = 3650 + is_permanent = yes + is_holy_war = yes + check_de_jure_tier = DUKE # this scans all dejure duchies for the counties which are held by or vassals(or below) of selected character. Only valid if is_permanent = yes + + allowed_to_target_tributaries = no + allowed_to_target_suzerains = no + + can_use = { + ROOT = { + is_nomadic = no + NOT = { religion_group = pagan_group } + NOT = { pacifist = yes } + NOT = { religion = buddhist } + OR = { + NOT = { religion = hindu } + FROM = { NOT = { religion_group = indian_group } } + AND = { + religion_group = FROM + FROM = { + has_character_modifier = known_satanist + } + NOT = { + has_character_modifier = known_satanist + } + } + } + NOT = { same_realm = FROM } + OR = { + NOT = { religion_group = FROM } + is_heresy_of = FROM + is_parent_religion = FROM + AND = { + religion_group = muslim + NOT = { religion = FROM } + FROM = { + NOT = { + any_current_enemy = { + NOT = { + religion_group = muslim + } + } + } + } + } + AND = { + religion_group = FROM + FROM = { + has_character_modifier = known_satanist + } + NOT = { + has_character_modifier = known_satanist + } + } + } + top_liege = { + religion_group = ROOT + OR = { + NOT = { religion = FROM } + AND = { + religion = FROM + FROM = { + has_character_modifier = known_satanist + } + NOT = { + has_character_modifier = known_satanist + } + ROOT = { + NOT = { + has_character_modifier = known_satanist + } + } + } + } + OR = { + religion = ROOT + AND = { + is_heretic = no + ROOT = { is_heretic = no } + } + } + } + mercenary = no + } + } + + can_use_title = { + # The attacker needs at least one county in the target kingdom, or a border, or be only two sea zones away from one of your counties + any_direct_de_jure_vassal_title = { + OR = { + holder_scope = { + OR = { + character = ROOT + is_liege_or_above = ROOT + } + } + location = { + any_neighbor_province = { + OR = { + AND = { + has_owner = yes + owner = { + OR = { + character = ROOT + is_liege_or_above = ROOT + } + } + } + AND = { + is_land = no + OR = { + ROOT = { religion_group = muslim } + FROM = { religion_group = muslim } + AND = { + ROOT = { religion_group = pagan_group } + has_global_flag = pagan_ghws_unlocked + } + AND = { + ROOT = { religion_group = christian } + has_global_flag = christian_crusades_unlocked + } + AND = { + ROOT = { religion_group = muslim } + has_global_flag = muslim_jihads_unlocked + } + } + any_neighbor_province = { + OR = { + AND = { + has_owner = yes + owner = { + OR = { + character = ROOT + is_liege_or_above = ROOT + } + } + } + AND = { + is_land = no + any_neighbor_province = { + owner = { + OR = { + character = ROOT + is_liege_or_above = ROOT + } + } + } + } + } + } + } + } + } + } + } + } + } + + is_valid = { + ROOT = { + NOT = { religion_group = pagan_group } + NOT = { pacifist = yes } + NOT = { religion = buddhist } + NOT = { same_realm = FROM } + OR = { + NOT = { religion_group = FROM } + is_heresy_of = FROM + is_parent_religion = FROM + AND = { + religion_group = FROM + FROM = { + has_character_modifier = known_satanist + } + ROOT = { + NOT = { + has_character_modifier = known_satanist + } + } + } + AND = { + religion_group = muslim + NOT = { religion = FROM } + } + } + top_liege = { + OR = { + NOT = { religion = FROM } + AND = { + religion = FROM + FROM = { + has_character_modifier = known_satanist + } + NOT = { + has_character_modifier = known_satanist + } + ROOT = { + NOT = { + has_character_modifier = known_satanist + } + } + } + } + } + } + } + + on_success = { + any_attacker = { + limit = { character = ROOT } + participation_scaled_piety = 100 + participation_scaled_prestige = 50 + if = { + limit = { + uses_decadence = yes + } + participation_scaled_decadence = -10 + } + } + any_attacker = { + limit = { NOT = { character = ROOT } } + hidden_tooltip = { + participation_scaled_piety = 100 + participation_scaled_prestige = 50 + if = { + limit = { + uses_decadence = yes + } + participation_scaled_decadence = -10 + } + } + } + + ROOT = { + religion_authority = { + modifier = won_holy_war + years = 20 + } + } + FROM = { + if = { + limit = { + NOT = { + has_character_modifier = known_satanist + } + } + religion_authority = { + modifier = lost_holy_war + years = 20 + } + } + } + FROM = { piety = -100 } + FROM = { prestige = -50 } + } + + on_success_title = { + custom_tooltip = { + text = religious_cb_succ_tip + hidden_tooltip = { + ROOT = { + vassalize_or_take_under_title = { + title = PREV + enemy = FROM + same_religion = yes # Only vassalize rulers of my religion + is_religious = yes + type = holy_war + } + } + } + } + } + + on_fail = { + ROOT = { + piety = -50 + prestige = -100 + } + } + + on_reverse_demand = { + ROOT = { + transfer_scaled_wealth = { + to = FROM + value = 4.0 + } + piety = -75 + prestige = -150 + } + any_defender = { + limit = { character = FROM } + participation_scaled_piety = 200 + participation_scaled_prestige = 100 + if = { + limit = { + uses_decadence = yes + } + participation_scaled_decadence = -10 + } + } + any_defender = { + limit = { NOT = { character = FROM } } + hidden_tooltip = { + participation_scaled_piety = 200 + participation_scaled_prestige = 100 + if = { + limit = { + uses_decadence = yes + } + participation_scaled_decadence = -10 + } + } + } + any_attacker = { + limit = { + character = ROOT + uses_decadence = yes + } + participation_scaled_decadence = 20 + } + any_attacker = { + limit = { + NOT = { character = ROOT } + uses_decadence = yes + } + hidden_tooltip = { + participation_scaled_decadence = 20 + } + } + ROOT = { + religion_authority = { + modifier = lost_holy_war + years = 20 + } + } + FROM = { + religion_authority = { + modifier = won_holy_war + years = 20 + } + } + } + + attacker_ai_victory_worth = { + factor = -1 # always accept + } + + attacker_ai_defeat_worth = { + factor = 100 + } + + defender_ai_victory_worth = { + factor = -1 # always accept + } + + defender_ai_defeat_worth = { + factor = 100 + } + + ai_will_do = { + factor = 1 + + # Try to guide the Hordes in the right direction + modifier = { + factor = 0.1 + ROOT = { + OR = { + dynasty = 613 # Seljuks + dynasty = 800 # Timurids + primary_title = { title = e_il-khanate } + } + } + OR = { + empire = { + NOT = { + OR = { + title = e_persia + title = e_byzantium + title = e_arabia + } + } + } + FROM = { + primary_title = { title = e_golden_horde } + NOT = { year = 1300 } + } + } + } + modifier = { + factor = 0.1 + ROOT = { + primary_title = { title = e_golden_horde } + } + OR = { + empire = { + OR = { + title = e_persia + title = e_byzantium + title = e_arabia + } + } + FROM = { + primary_title = { title = e_il-khanate } + NOT = { year = 1300 } + } + } + } + modifier = { + factor = 2.0 + OR = { + culture = persian + culture = baloch + culture = afghan + culture = turkish + } + empire = { + OR = { + title = e_persia + title = e_rajastan + } + } + } + } +} + +excommunicated_ruler = { + name = CB_NAME_EXCOMMUNICATED_RULER + war_name = WAR_NAME_EXCOMMUNICATED_RULER + sprite = 11 + truce_days = 3650 + + is_permanent = yes + can_ask_to_join_war = no + + allowed_to_target_tributaries = no + allowed_to_target_suzerains = no + + can_use = { + FROM = { + excommunicated_for = ROOT + in_revolt = no + NOT = { + any_current_enemy = { + NOT = { + religion_group = ROOT + } + } + } + } + ROOT = { + mercenary = no + } + } + + is_valid = { + FROM = { + excommunicated_for = ROOT + } + } + + on_success = { + ROOT = { + if = { + limit = { + FROM = { + primary_title = { + tier = BARON + } + } + } + ROOT = { + piety = 10 + prestige = 50 + } + } + if = { + limit = { + FROM = { + primary_title = { + tier = COUNT + } + } + } + ROOT = { + piety = 20 + prestige = 100 + } + } + if = { + limit = { + FROM = { + primary_title = { + tier = DUKE + } + } + } + ROOT = { + piety = 30 + prestige = 150 + } + } + if = { + limit = { + FROM = { + primary_title = { + tier = KING + } + } + } + ROOT = { + piety = 50 + prestige = 200 + } + } + if = { + limit = { + FROM = { + primary_title = { + tier = EMPEROR + } + } + } + ROOT = { + piety = 70 + prestige = 400 + } + } + } + + FROM = { + excommunicate = no + prestige = -200 + rightful_religious_head_scope = { + opinion = { + who = PREV + modifier = opinion_repented_sins + } + } + abdicate = yes + } + } + + on_fail = { + ROOT = { + piety = -50 + prestige = -100 + } + } + + on_reverse_demand = { + ROOT = { + piety = -100 + prestige = -200 + transfer_scaled_wealth = { + to = FROM + value = 4.0 + } + } + FROM = { + prestige = 200 + } + } + + + attacker_ai_victory_worth = { + factor = -1 # always accept + } + + attacker_ai_defeat_worth = { + factor = 100 + } + + defender_ai_victory_worth = { + factor = -1 # always accept + } + + defender_ai_defeat_worth = { + factor = 100 + } +} + +bid_for_independence = { + name = CB_NAME_INDEPENDENCE + war_name = WAR_NAME_INDEPENDENCE + sprite = 12 + truce_days = 3650 + + is_permanent = yes + is_independence = yes + + can_use = { + ROOT = { + de_facto_liege = FROM + + higher_tier_than = BARON + OR = { + ai = yes + is_feudal = yes + is_tribal = yes + higher_tier_than = COUNT + } + mercenary = no + + OR = { + is_nomadic = no + NOT = { + clan_opinion = { who = FROM value = 0 } + } + } + } + + FROM = { + NOT = { + any_war = { + attacker = { + character = PREVPREV + } + OR = { + using_cb = bid_for_independence + using_cb = depose_liege + } + } + } + any_demesne_title = { + NOT = { lower_tier_than = ROOT } + temporary = no + } + in_revolt = no + liege_before_war = { + in_revolt = no + liege_before_war = { + in_revolt = no + } + } + + # No independence factions in merchant republics + NOT = { + AND = { + is_merchant_republic = yes + liege = { + is_merchant_republic = yes + } + } + } + } + } + + is_valid = { + ROOT = { + OR = { + liege = { + character = PREV # either independent + } + liege = { + FROM = { + is_liege_or_above = PREV # or have shared liege + } + } + } + } + FROM = { + any_demesne_title = { + NOT = { lower_tier_than = ROOT } + temporary = no + } + in_revolt = no + liege_before_war = { + in_revolt = no + liege_before_war = { + in_revolt = no + } + } + # No independence factions in merchant republics + NOT = { + AND = { + is_merchant_republic = yes + liege_before_war = { + is_merchant_republic = yes + } + } + } + } + } + + on_success = { + if = { + limit = { + FROM = { + independent = no + } + } + FROM = { + if = { + limit = { + in_revolt = yes + } + liege_before_war = { + ROOT = { + set_defacto_liege = PREV + } + } + } + if = { + limit = { + in_revolt = no + } + liege = { + ROOT = { + set_defacto_liege = PREV + } + } + } + } + } + + if = { + limit = { + FROM = { + independent = yes + } + } + ROOT = { + set_defacto_liege = ROOT + } + } + + hidden_tooltip = { + ROOT = { + prestige = 100 + any_demesne_title = { + add_pressed_claim = FROM + } + } + } + + any_attacker = { + limit = { character = ROOT } + participation_scaled_prestige = 100 + } + any_attacker = { + limit = { NOT = { character = ROOT } } + hidden_tooltip = { participation_scaled_prestige = 100 } + } + + FROM = { + if = { + limit = { NOT = { has_dlc = "Zeus" } } + any_demesne_title = { # All titles + limit = { + OR = { + tier = king + tier = emperor + } + # is_titular = no + NOT = { has_law = crown_authority_0 } + } + if = { + limit = { has_law = crown_authority_1 } + add_law = crown_authority_0 + } + if = { + limit = { has_law = crown_authority_2 } + add_law = crown_authority_1 + } + if = { + limit = { has_law = crown_authority_3 } + add_law = crown_authority_2 + } + if = { + limit = { has_law = crown_authority_4 } + add_law = crown_authority_3 + } + } + } + } + } + + on_fail = { + ROOT = { + prestige = -50 + } + any_attacker = { + limit = { character = ROOT } + participation_scaled_prestige = -50 + } + any_attacker = { + limit = { NOT = { character = ROOT } } + hidden_tooltip = { participation_scaled_prestige = -50 } + } + } + + on_reverse_demand = { + ROOT = { + prestige = -100 + prisoner = FROM + } + any_attacker = { + limit = { character = ROOT } + participation_scaled_prestige = -100 + } + any_attacker = { + limit = { NOT = { character = ROOT } } + hidden_tooltip = { participation_scaled_prestige = -100 } + } + FROM = { + prestige = 50 + } + } + + on_attacker_leader_death = { + hidden_tooltip = { + any_defender = { + letter_event = { + id = 251 + } + } + } + + end_war = invalid + } + + attacker_ai_victory_worth = { + factor = -1 # always accept + } + + attacker_ai_defeat_worth = { + factor = 150 + } + + defender_ai_victory_worth = { + factor = -1 # always accept + } + + defender_ai_defeat_worth = { + factor = 100 + } +} + +depose_liege = { + name = CB_NAME_DEPOSE_LIEGE + war_name = WAR_NAME_DEPOSE_LIEGE + sprite = 12 + truce_days = 3650 + + is_permanent = yes + can_call_vassals = no + major_revolt = no + + can_use = { + always = no # v2.21 - Disabled - not working well + ROOT = { + de_facto_liege = FROM + } + + FROM = { + is_feudal = yes + primary_title = { + is_vice_royalty = no + } + NOT = { + any_war = { + OR = { + AND = { # Cannot depose liege when our liege is currently involved in such a war + attacker = { + character = PREVPREV + } + OR = { + using_cb = bid_for_independence + using_cb = depose_liege + } + } + AND = { # Cannot depose liege if someone else is already deposing liege + defender = { + character = PREVPREV + } + using_cb = depose_liege + } + } + } + } + } + } + + is_valid = { + ROOT = { + OR = { + liege = { + character = PREV # either independent + } + liege = { + FROM = { + is_liege_or_above = PREV # or have shared liege + } + } + } + } + FROM = { + any_demesne_title = { + NOT = { lower_tier_than = ROOT } + temporary = no + } + in_revolt = no + liege_before_war = { + in_revolt = no + liege_before_war = { + in_revolt = no + } + } + } + } + + on_success = { + FROM = { + prestige = -500 + if = { + limit = { NOT = { has_dlc = "Zeus" } } + any_demesne_title = { # All titles + limit = { + OR = { + tier = king + tier = emperor + } + # is_titular = no + NOT = { has_law = crown_authority_0 } + } + if = { + limit = { has_law = crown_authority_1 } + add_law = crown_authority_0 + } + if = { + limit = { has_law = crown_authority_2 } + add_law = crown_authority_1 + } + if = { + limit = { has_law = crown_authority_3 } + add_law = crown_authority_2 + } + if = { + limit = { has_law = crown_authority_4 } + add_law = crown_authority_3 + } + } + } + + abdicate_to_most_liked_by = ROOT + } + any_attacker = { + limit = { character = ROOT } + participation_scaled_prestige = 250 + } + any_attacker = { + limit = { NOT = { character = ROOT } } + hidden_tooltip = { participation_scaled_prestige = 250 } + } + } + + on_fail = { + ROOT = { + prestige = -100 + } + } + + on_reverse_demand = { + ROOT = { + prestige = -200 + prisoner = FROM + } + any_defender = { + limit = { character = FROM } + participation_scaled_prestige = 50 + } + any_defender = { + limit = { NOT = { character = FROM } } + hidden_tooltip = { participation_scaled_prestige = 50 } + } + } + + attacker_ai_victory_worth = { + factor = -1 # always accept + } + + attacker_ai_defeat_worth = { + factor = 150 + } + + defender_ai_victory_worth = { + factor = -1 # always accept + } + + defender_ai_defeat_worth = { + factor = 100 + } +} + +overthrow_ruler = { + name = CB_NAME_OVERTHROWRULER + war_name = WAR_NAME_OVERTHROWRULER + sprite = 12 + truce_days = 3650 + + is_revolt_cb = yes + can_call_vassals = yes + attacker_can_call_allies = no + major_revolt = yes + is_tyranny_cb = yes + + can_use = { + FROM = { + primary_title = { + is_vice_royalty = no + } + } + ROOT = { + de_facto_liege = FROM + } + } + + is_valid = { + ROOT = { + OR = { + liege = { + character = PREV # either independent + } + liege = { + FROM = { + is_liege_or_above = PREV # or have shared liege + } + } + } + } + FROM = { + any_demesne_title = { + NOT = { lower_tier_than = ROOT } + temporary = no + } + } + } + + on_success = { + ROOT = { + primary_title = { + add_pressed_claim = FROM + } + } + FROM = { + prestige = -500 + remove_opinion = { + who = ROOT + modifier = declared_war + } + if = { + limit = { NOT = { has_dlc = "Zeus" } } + any_demesne_title = { # All titles + limit = { + OR = { + tier = king + tier = emperor + } + # is_titular = no + NOT = { has_law = crown_authority_0 } + } + if = { + limit = { has_law = crown_authority_1 } + add_law = crown_authority_0 + } + if = { + limit = { has_law = crown_authority_2 } + add_law = crown_authority_0 + } + if = { + limit = { has_law = crown_authority_3 } + add_law = crown_authority_1 + } + if = { + limit = { has_law = crown_authority_4 } + add_law = crown_authority_2 + } + } + } + if = { + limit = { has_dlc = "Zeus" } + any_demesne_title = { # All titles + limit = { + OR = { + tier = duke + tier = king + tier = emperor + } + NOT = { has_law = revoke_title_law_0 } + } + if = { + limit = { has_law = revoke_title_law_1 } + add_law = revoke_title_law_0 + } + if = { + limit = { has_law = revoke_title_law_2 } + add_law = revoke_title_law_0 + } + } + } + abdicate = yes + } + any_attacker = { + limit = { character = ROOT } + participation_scaled_prestige = 250 + } + any_attacker = { + limit = { NOT = { character = ROOT } } + hidden_tooltip = { participation_scaled_prestige = 250 } + } + } + + on_fail = { + ROOT = { + prestige = -100 + } + FROM = { + remove_opinion = { + who = ROOT + modifier = declared_war + } + } + } + + on_reverse_demand = { + ROOT = { + prestige = -200 + prisoner = FROM + } + any_defender = { + limit = { character = FROM } + participation_scaled_prestige = 50 + } + any_defender = { + limit = { NOT = { character = FROM } } + hidden_tooltip = { participation_scaled_prestige = 50 } + } + hidden_tooltip = { + any_attacker = { + limit = { liege = { character = FROM } } + prisoner = FROM + disband_event_forces = faction_revolters + add_character_modifier = { + name = faction_council_power_ultimatum_timer + hidden = yes + duration = 3650 + } + } + } + } + + attacker_ai_victory_worth = { + factor = -1 # always accept + } + + attacker_ai_defeat_worth = { + factor = 100 + } + + on_defender_leader_death = { + hidden_tooltip = { + any_attacker = { + letter_event = { + id = 251 + } + } + } + + end_war = invalid + } + + defender_ai_victory_worth = { + factor = -1 # always accept + } + + defender_ai_defeat_worth = { + factor = 100 + } +} + +overthrow_ruler_no_calls = { + name = CB_NAME_OVERTHROWRULER_NC + war_name = WAR_NAME_OVERTHROWRULER_NC + sprite = 12 + truce_days = 3650 + + is_revolt_cb = yes + can_call_vassals = no + can_ask_to_join_war = no + + can_use = { + FROM = { + primary_title = { + is_vice_royalty = no + } + } + ROOT = { + de_facto_liege = FROM + } + } + + is_valid = { + ROOT = { + OR = { + liege = { + character = PREV # either independent + } + liege = { + FROM = { + is_liege_or_above = PREV # or have shared liege + } + } + } + } + FROM = { + higher_tier_than = ROOT + } + } + + on_success = { + ROOT = { + prestige = 200 + primary_title = { + add_pressed_claim = FROM + } + } + FROM = { + prestige = -500 + remove_opinion = { + who = ROOT + modifier = declared_war + } + if = { + limit = { NOT = { has_dlc = "Zeus" } } + any_demesne_title = { # All titles + limit = { + OR = { + tier = king + tier = emperor + } + # is_titular = no + NOT = { has_law = crown_authority_0 } + } + if = { + limit = { has_law = crown_authority_1 } + add_law = crown_authority_0 + } + if = { + limit = { has_law = crown_authority_2 } + add_law = crown_authority_0 + } + if = { + limit = { has_law = crown_authority_3 } + add_law = crown_authority_1 + } + if = { + limit = { has_law = crown_authority_4 } + add_law = crown_authority_2 + } + } + } + abdicate = yes + } + } + + on_fail = { + ROOT = { + prestige = -100 + } + + FROM = { + prestige = -100 + remove_opinion = { + who = ROOT + modifier = declared_war + } + } + } + + on_reverse_demand = { + ROOT = { + prestige = -200 + prisoner = FROM + } + FROM = { + prestige = 50 + } + } + + attacker_ai_victory_worth = { + factor = -1 # always accept + } + + attacker_ai_defeat_worth = { + factor = 100 + } + + defender_ai_victory_worth = { + factor = -1 # always accept + } + + defender_ai_defeat_worth = { + factor = 100 + } +} + +change_gavelkind_succession_law = { + name = CB_NAME_GAVELKIND_SUCCESSION_LAW + war_name = WAR_NAME_GAVELKIND_SUCCESSION_LAW + sprite = 6 + truce_days = 3650 + attacker_can_call_allies = no + can_ask_to_join_war = no + major_revolt = yes + + can_use = { + ROOT = { + vassal_of = FROM + } + } + + is_valid = { + FROM = { + in_revolt = no + liege_before_war = { + in_revolt = no + liege_before_war = { + in_revolt = no + } + } + } + ROOT = { + OR = { + liege = { + character = PREV # either independent + } + liege = { + FROM = { + is_liege_or_above = PREV # or have shared liege + } + } + } + } + } + + is_valid_title = { + NOT = { + has_law = succ_gavelkind + } + OR = { + tier = emperor + tier = king + is_primary_holder_title = yes + } + } + + on_success = { + FROM = { + hidden_tooltip = { disband_event_forces = faction_loyalists } + if = { + limit = { NOT = { has_dlc = "Zeus" } } + any_demesne_title = { # All titles + if = { + limit = { + OR = { + tier = king + tier = emperor + } + # is_titular = no + NOT = { has_law = crown_authority_0 } + } + if = { + limit = { has_law = crown_authority_1 } + add_law = crown_authority_0 + } + if = { + limit = { has_law = crown_authority_2 } + add_law = crown_authority_1 + } + if = { + limit = { has_law = crown_authority_3 } + add_law = crown_authority_2 + } + if = { + limit = { has_law = crown_authority_4 } + add_law = crown_authority_3 + } + } + } + } + } + + any_attacker = { + limit = { character = ROOT } + participation_scaled_prestige = 100 + hidden_tooltip = { + disband_event_forces = faction_revolters + } + } + any_attacker = { + limit = { NOT = { character = ROOT } } + hidden_tooltip = { + participation_scaled_prestige = 100 + disband_event_forces = faction_revolters + } + } + } + + on_success_title = { + succession_w_cooldown = gavelkind + } + + on_fail = { + ROOT = { + prestige = -100 + } + any_defender = { + limit = { character = FROM } + participation_scaled_prestige = 50 + } + any_defender = { + limit = { NOT = { character = FROM } } + hidden_tooltip = { participation_scaled_prestige = 50 } + } + + hidden_tooltip = { + any_attacker = { + disband_event_forces = faction_revolters + add_character_modifier = { + name = faction_succ_gavelkind_ultimatum_timer + hidden = yes + duration = 3650 + } + } + } + FROM = { hidden_tooltip = { disband_event_forces = faction_loyalists } } + } + + on_reverse_demand = { + ROOT = { + prestige = -200 + prisoner = FROM + } + any_defender = { + limit = { character = FROM } + participation_scaled_prestige = 100 + } + any_defender = { + limit = { NOT = { character = FROM } } + hidden_tooltip = { participation_scaled_prestige = 100 } + } + + hidden_tooltip = { + any_attacker = { + limit = { liege = { character = FROM } } + prisoner = FROM + disband_event_forces = faction_revolters + add_character_modifier = { + name = faction_succ_gavelkind_ultimatum_timer + hidden = yes + duration = 3650 + } + } + } + + FROM = { hidden_tooltip = { disband_event_forces = faction_loyalists } } + } + + attacker_ai_victory_worth = { + factor = -1 # always accept + } + + attacker_ai_defeat_worth = { + factor = 100 + } + + defender_ai_victory_worth = { + factor = -1 # always accept + } + + defender_ai_defeat_worth = { + factor = 100 + } +} + +lower_crown_authority_law = { + name = CB_NAME_LOWER_CROWN_AUTHORITY_LAW + war_name = WAR_NAME_LOWER_CROWN_AUTHORITY_LAW + sprite = 6 + truce_days = 3650 + can_call_allies = no + can_ask_to_join_war = no + major_revolt = yes + + can_use = { + ROOT = { + vassal_of = FROM + } + NOT = { has_dlc = "Zeus" } + } + + can_use_title = { + holder_scope = { independent = yes } + OR = { + tier = king + tier = emperor + } + OR = { + has_law = crown_authority_1 + has_law = crown_authority_2 + has_law = crown_authority_3 + has_law = crown_authority_4 + } + } + + is_valid = { + FROM = { + in_revolt = no + liege_before_war = { + in_revolt = no + liege_before_war = { + in_revolt = no + } + } + } + ROOT = { + OR = { + liege = { + character = PREV # either independent + } + liege = { + FROM = { + is_liege_or_above = PREV # or have shared liege + } + } + } + } + } + + on_success = { + ROOT = { + opinion = { + modifier = opinion_lowered_crown_authority + who = FROM + months = 12 + } + } + any_attacker = { + limit = { character = ROOT } + participation_scaled_prestige = 100 + hidden_tooltip = { + disband_event_forces = faction_revolters + } + } + any_attacker = { + limit = { NOT = { character = ROOT } } + hidden_tooltip = { participation_scaled_prestige = 100 } + hidden_tooltip = { + disband_event_forces = faction_revolters + } + } + FROM = { hidden_tooltip = { disband_event_forces = faction_loyalists } } + } + + on_success_title = { + if = { + limit = { has_law = crown_authority_1 } + add_law_w_cooldown = crown_authority_0 + } + if = { + limit = { has_law = crown_authority_2 } + add_law_w_cooldown = crown_authority_1 + } + if = { + limit = { has_law = crown_authority_3 } + add_law_w_cooldown = crown_authority_2 + } + if = { + limit = { has_law = crown_authority_4 } + add_law_w_cooldown = crown_authority_3 + } + } + + on_fail = { + ROOT = { + prestige = -100 + } + + any_defender = { + limit = { character = FROM } + participation_scaled_prestige = 50 + } + any_defender = { + limit = { NOT = { character = FROM } } + hidden_tooltip = { participation_scaled_prestige = 50 } + } + + hidden_tooltip = { + any_attacker = { + disband_event_forces = faction_revolters + add_character_modifier = { + name = faction_lower_CA_ultimatum_timer + hidden = yes + duration = 3650 + } + } + } + FROM = { hidden_tooltip = { disband_event_forces = faction_loyalists } } + } + + on_reverse_demand = { + ROOT = { + prestige = -200 + prisoner = FROM + } + + any_defender = { + limit = { character = FROM } + participation_scaled_prestige = 100 + } + any_defender = { + limit = { NOT = { character = FROM } } + hidden_tooltip = { participation_scaled_prestige = 100 } + } + + hidden_tooltip = { + any_attacker = { + limit = { liege = { character = FROM } } + prisoner = FROM + disband_event_forces = faction_revolters + add_character_modifier = { + name = faction_lower_CA_ultimatum_timer + hidden = yes + duration = 3650 + } + } + } + FROM = { hidden_tooltip = { disband_event_forces = faction_loyalists } } + } + + attacker_ai_victory_worth = { + factor = -1 # always accept + } + + attacker_ai_defeat_worth = { + factor = 100 + } + + defender_ai_victory_worth = { + factor = -1 # always accept + } + + defender_ai_defeat_worth = { + factor = 100 + } +} + + +lower_tribal_organization_law = { + name = CB_NAME_LOWER_TRIBAL_ORGANIZATION_LAW + war_name = WAR_NAME_LOWER_TRIBAL_ORGANIZATION_LAW + sprite = 6 + truce_days = 3650 + can_call_allies = no + can_ask_to_join_war = no + major_revolt = yes + + can_use = { + ROOT = { + vassal_of = FROM + } + } + + can_use_title = { + holder_scope = { independent = yes } + OR = { + tier = duke + tier = king + tier = emperor + } + OR = { + has_law = tribal_organization_1 + has_law = tribal_organization_2 + has_law = tribal_organization_3 + has_law = tribal_organization_4 + } + } + + is_valid = { + FROM = { + is_tribal = yes + in_revolt = no + liege_before_war = { + in_revolt = no + liege_before_war = { + in_revolt = no + } + } + } + ROOT = { + OR = { + liege = { + character = PREV # either independent + } + liege = { + FROM = { + is_liege_or_above = PREV # or have shared liege + } + } + } + } + } + + on_success = { + ROOT = { + opinion = { + modifier = opinion_lowered_tribal_organization + who = FROM + months = 12 + } + } + any_attacker = { + limit = { character = ROOT } + participation_scaled_prestige = 100 + hidden_tooltip = { + disband_event_forces = faction_revolters + } + } + any_attacker = { + limit = { NOT = { character = ROOT } } + hidden_tooltip = { participation_scaled_prestige = 100 } + hidden_tooltip = { + disband_event_forces = faction_revolters + } + } + FROM = { hidden_tooltip = { disband_event_forces = faction_loyalists } } + } + + on_success_title = { + if = { + limit = { has_law = tribal_organization_1 } + add_law_w_cooldown = tribal_organization_0 + } + if = { + limit = { has_law = tribal_organization_2 } + add_law_w_cooldown = tribal_organization_1 + } + if = { + limit = { has_law = tribal_organization_3 } + add_law_w_cooldown = tribal_organization_2 + } + if = { + limit = { has_law = tribal_organization_4 } + add_law_w_cooldown = tribal_organization_3 + } + } + + on_fail = { + ROOT = { + prestige = -100 + } + + any_defender = { + limit = { character = FROM } + participation_scaled_prestige = 50 + } + any_defender = { + limit = { NOT = { character = FROM } } + hidden_tooltip = { participation_scaled_prestige = 50 } + } + + hidden_tooltip = { + any_attacker = { + disband_event_forces = faction_revolters + add_character_modifier = { + name = faction_lower_TO_ultimatum_timer + hidden = yes + duration = 3650 + } + } + } + FROM = { hidden_tooltip = { disband_event_forces = faction_loyalists } } + } + + on_reverse_demand = { + ROOT = { + prestige = -200 + prisoner = FROM + } + + any_defender = { + limit = { character = FROM } + participation_scaled_prestige = 100 + } + any_defender = { + limit = { NOT = { character = FROM } } + hidden_tooltip = { participation_scaled_prestige = 100 } + } + + hidden_tooltip = { + any_attacker = { + limit = { liege = { character = FROM } } + prisoner = FROM + disband_event_forces = faction_revolters + add_character_modifier = { + name = faction_lower_TO_ultimatum_timer + hidden = yes + duration = 3650 + } + } + } + FROM = { hidden_tooltip = { disband_event_forces = faction_loyalists } } + } + + attacker_ai_victory_worth = { + factor = -1 # always accept + } + + attacker_ai_defeat_worth = { + factor = 100 + } + + defender_ai_victory_worth = { + factor = -1 # always accept + } + + defender_ai_defeat_worth = { + factor = 100 + } +} + + +coastal_republic = { + name = CB_NAME_COASTAL_REPUBLIC + war_name = WAR_NAME_COASTAL_REPUBLIC + sprite = 1 + truce_days = 3650 + is_permanent = yes + check_all_titles = yes + can_ask_to_join_war = no + + allow_distant = yes # AI parameter + + allowed_to_target_tributaries = no + allowed_to_target_suzerains = no + + can_use = { + ROOT = { + OR = { + is_merchant_republic = yes + is_patrician = yes + } + NOT = { is_liege_or_above = FROM } + NOT = { is_vassal_or_below = FROM } + NOT = { same_liege = FROM } + mercenary = no + } + } + + can_use_title = { + tier = BARON + is_capital = no # Minor Holding + holding_type = city + + location = { + port = yes + + # Must have a trade post there already + OR = { + PREV = { + holder_scope = { + NOT = { same_realm = ROOT } + OR = { + is_patrician = yes + is_merchant_republic = yes + } + } + } + trade_post_owner = { + OR = { + character = ROOT + is_liege_or_above = ROOT + } + } + } + + # Not allowed to use this CB to take cities in the capital province of a rival merchant republic + FROM = { + OR = { + is_merchant_republic = no + capital_scope = { + NOT = { province_id = PREVPREV } + } + } + } + } + } + + is_valid = { + ROOT = { + OR = { + is_merchant_republic = yes + is_patrician = yes + } + } + } + + on_success_title = { + if = { + limit = { + NOT = { + location = { + trade_post_owner = { + is_liege_or_above = ROOT + } + } + } + } + usurp_title = { target = ROOT type = invasion } + } + + if = { + limit = { + location = { + trade_post_owner = { + is_liege_or_above = ROOT + } + } + } + location = { + trade_post_owner = { + usurp_title = { target = PREVPREV type = invasion } + } + } + } + + any_attacker = { + limit = { character = ROOT } + participation_scaled_prestige = 100 + } + any_attacker = { + limit = { NOT = { character = ROOT } } + hidden_tooltip = { participation_scaled_prestige = 100 } + } + } + + on_fail = { + ROOT = { + prestige = -100 + } + any_defender = { + limit = { character = FROM } + participation_scaled_prestige = 50 + } + any_defender = { + limit = { NOT = { character = FROM } } + hidden_tooltip = { participation_scaled_prestige = 50 } + } + } + + on_reverse_demand = { + ROOT = { + prestige = -200 + transfer_scaled_wealth = { + to = FROM + value = 4.0 + } + } + any_defender = { + limit = { character = FROM } + participation_scaled_prestige = 100 + } + any_defender = { + limit = { NOT = { character = FROM } } + hidden_tooltip = { participation_scaled_prestige = 100 } + } + } + + attacker_ai_victory_worth = { + factor = -1 # always accept + } + + attacker_ai_defeat_worth = { + factor = 50 + } + + defender_ai_victory_worth = { + factor = -1 # always accept + } + + defender_ai_defeat_worth = { + factor = 50 + } +} + +coastal_county_republic = { + name = CB_NAME_COASTAL_COUNTY_REPUBLIC + war_name = WAR_NAME_COASTAL_COUNTY_REPUBLIC + sprite = 1 + truce_days = 3650 + is_permanent = yes + check_all_titles = yes + can_ask_to_join_war = no + + allow_distant = yes # AI parameter + + allowed_to_target_tributaries = no + allowed_to_target_suzerains = no + + can_use = { + ROOT = { + OR = { + is_merchant_republic = yes + is_patrician = yes + } + NOT = { is_liege_or_above = FROM } + NOT = { is_vassal_or_below = FROM } + NOT = { same_liege = FROM } + mercenary = no + } + } + + can_use_title = { + tier = COUNT + location = { + port = yes + county = { + any_direct_de_jure_vassal_title = { + holder_scope = { + OR = { + character = ROOT + is_liege_or_above = ROOT + } + } + } + } + any_neighbor_province = { + OR = { + AND = { + has_owner = yes + owner = { + OR = { + character = ROOT + is_liege_or_above = ROOT + } + } + } + AND = { + is_land = no + any_neighbor_province = { + OR = { + AND = { + has_owner = yes + owner = { + OR = { + character = ROOT + is_liege_or_above = ROOT + } + } + } + AND = { + is_land = no + any_neighbor_province = { + owner = { + OR = { + character = ROOT + is_liege_or_above = ROOT + } + } + } + } + } + } + } + } + } + } + } + + is_valid = { + ROOT = { + OR = { + is_merchant_republic = yes + is_patrician = yes + } + } + } + + is_valid_title = { + tier = COUNT + location = { + port = yes + county = { + any_direct_de_jure_vassal_title = { + holder_scope = { + OR = { + character = ROOT + is_liege_or_above = ROOT + } + } + } + } + } + } + + on_success_title = { + if = { + limit = { + any_direct_de_jure_vassal_title = { + holder_scope = { + character = ROOT + } + } + } + usurp_title = ROOT + } + + if = { + limit = { + NOT = { + any_direct_de_jure_vassal_title = { + holder_scope = { + character = ROOT + } + } + } + } + any_de_jure_vassal_title = { + limit = { + holder_scope = { + is_liege_or_above = ROOT + } + } + holder_scope = { + usurp_title = PREVPREV + set_defacto_liege = ROOT + } + } + } + + any_attacker = { + limit = { character = ROOT } + participation_scaled_prestige = 100 + } + any_attacker = { + limit = { NOT = { character = ROOT } } + hidden_tooltip = { participation_scaled_prestige = 100 } + } + } + + on_fail = { + ROOT = { + prestige = -100 + } + any_defender = { + limit = { character = FROM } + participation_scaled_prestige = 50 + } + any_defender = { + limit = { NOT = { character = FROM } } + hidden_tooltip = { participation_scaled_prestige = 50 } + } + } + + on_reverse_demand = { + ROOT = { + prestige = -200 + transfer_scaled_wealth = { + to = FROM + value = 4.0 + } + } + any_defender = { + limit = { character = FROM } + participation_scaled_prestige = 100 + } + any_defender = { + limit = { NOT = { character = FROM } } + hidden_tooltip = { participation_scaled_prestige = 100 } + } + } + + attacker_ai_victory_worth = { + factor = -1 # always accept + } + + attacker_ai_defeat_worth = { + factor = 100 + } + + defender_ai_victory_worth = { + factor = -1 # always accept + } + + defender_ai_defeat_worth = { + factor = 100 + } +} + + +weaken_vassal_plot = { + name = CB_NAME_WEAKEN_VASSAL + war_name = WAR_NAME_WEAKEN_VASSAL + sprite = 3 + truce_days = 3650 + hostile_against_others = yes + + press_claim = yes + attacker_can_call_allies = no + can_ask_to_join_war = no + + can_use_title = { + OR = { + FROM = { + has_landed_title = PREV + } + holder_scope = { + is_liege_or_above = FROM + } + } + } + + is_valid_title = { + OR = { + FROM = { + has_landed_title = PREV + } + holder_scope = { + is_liege_or_above = FROM + } + } + } + + on_success = { + any_attacker = { + participation_scaled_prestige = 100 + } + FROM = { + if = { + limit = { NOT = { has_dlc = "Zeus" } } + any_demesne_title = { # All titles + limit = { + OR = { + tier = king + tier = emperor + } + # is_titular = no + NOT = { has_law = crown_authority_0 } + } + if = { + limit = { has_law = crown_authority_1 } + add_law = crown_authority_0 + } + if = { + limit = { has_law = crown_authority_2 } + add_law = crown_authority_1 + } + if = { + limit = { has_law = crown_authority_3 } + add_law = crown_authority_2 + } + if = { + limit = { has_law = crown_authority_4 } + add_law = crown_authority_3 + } + } + } + } + } + + on_success_title = { + FROM = { + random_vassal = { + limit = { + tier = count + any_demesne_title = { + tier = count + dejure_liege_title = { + ROOT = { + plot_target_title = { + title = PREVPREV + } + } + } + } + } + grant_title = PREVPREV + } + } + } + + on_fail = { + ROOT = { + prestige = -100 + cancel_plot = plot_weaken_fellow_vassal + } + any_defender = { + limit = { character = FROM } + participation_scaled_prestige = 50 + } + any_defender = { + limit = { NOT = { character = FROM } } + hidden_tooltip = { participation_scaled_prestige = 50 } + } + } + + on_invalidation = { + ROOT = { + cancel_plot = plot_weaken_fellow_vassal + } + + } + + on_reverse_demand = { + ROOT = { + prestige = -200 + imprison = FROM + cancel_plot = plot_weaken_fellow_vassal + } + any_defender = { + limit = { character = FROM } + participation_scaled_prestige = 100 + } + any_defender = { + limit = { NOT = { character = FROM } } + hidden_tooltip = { participation_scaled_prestige = 100 } + } + } + + on_attacker_leader_death = { + hidden_tooltip = { + any_defender = { + letter_event = { + id = 251 + } + } + } + end_war = invalid + } + + attacker_ai_victory_worth = { + factor = -1 # always accept + } + + attacker_ai_defeat_worth = { + factor = 100 + } + + defender_ai_victory_worth = { + factor = -1 # always accept + } + + defender_ai_defeat_worth = { + factor = 100 + } +} + +decadence_invasion = { + name = CB_NAME_INVASION + war_name = WAR_NAME_DEC_INVASION + sprite = 7 + truce_days = 3650 + hostile_against_others = yes + can_ask_to_join_war = no + + can_use = { + ROOT = { + has_character_flag = decadence_invader + } + } + + on_success = { + any_playable_ruler = { + limit = { + ai = no + NOT = { character = FROM } + NOT = { dynasty = FROM } + NOT = { + any_liege = { + character = FROM + } + } + OR = { + FROM = { higher_tier_than = DUKE } + any_realm_province = { + any_neighbor_province = { + owner = { + any_liege = { + character = FROM + } + } + } + } + } + } + narrative_event = { id = 91241 } + } + + FROM = { + if = { + limit = { NOT = { has_dlc = "Zeus" } } + any_demesne_title = { # All titles + if = { + limit = { + OR = { + tier = king + tier = emperor + } + NOT = { has_law = crown_authority_0 } + } + add_law = crown_authority_0 + } + } + } + } + + ROOT = { + prestige = 200 + piety = 100 + occupy_minors_of_occupied_settlements = FROM + gain_all_occupied_titles = { who = FROM type = revolt } + give_nickname = nick_the_conqueror + } + any_attacker = { + limit = { character = ROOT } + participation_scaled_prestige = 200 + participation_scaled_piety = 100 + } + any_attacker = { + limit = { NOT = { character = ROOT } } + hidden_tooltip = { + participation_scaled_prestige = 200 + participation_scaled_piety = 100 + } + } + + FROM = { + prestige = -200 + primary_title = { + holder_scope = { + any_demesne_title = { + limit = { + tier = PREVPREV + } + usurp_title_plus_barony_if_unlanded = { target = ROOT type = revolt } + + if = { + limit = { + higher_tier_than = BARON + NOT = { culture = ROOT } + } + hidden_tooltip = { conquest_culture = ROOT } + } + } + } + } + + set_defacto_liege = ROOT + imprison = ROOT + + hidden_tooltip = { + if = { + limit = { + has_nickname = no + } + random_list = { + 10 = { give_nickname = nick_the_decadent } + 10 = { give_nickname = nick_the_unready } + 10 = { give_nickname = nick_the_ill_ruler } + } + } + } + } + + hidden_tooltip = { + ROOT = { + disband_event_forces = decadence_revolters + + # Powerful vassals can choose independence + any_vassal = { + limit = { + NOT = { character = FROM } + higher_tier_than = COUNT + prisoner = no + } + character_event = { id = 91240 } + } + } + } + } + + on_fail = { + ROOT = { + prestige = -200 + } + FROM = { + prestige = 100 + } + any_defender = { + limit = { character = FROM } + participation_scaled_prestige = 100 + } + any_defender = { + limit = { NOT = { character = FROM } } + hidden_tooltip = { participation_scaled_prestige = 100 } + } + hidden_tooltip = { + ROOT = { disband_event_forces = decadence_revolters } + } + } + + on_reverse_demand = { + ROOT = { set_defacto_liege = FROM } + ROOT = { + prestige = -200 + transfer_scaled_wealth = { + to = FROM + value = 8.0 + } + } + FROM = { + prestige = 200 + } + ROOT = { + imprison = FROM + disband_event_forces = decadence_revolters + } + if = { + limit = { + FROM = { + ai = no + NOT = { has_character_flag = achievement_decadent_warrior } + } + } + FROM = { set_character_flag = achievement_decadent_warrior } + } + } + + on_reverse_demand_title = { + any_claim = { + remove_claim = ROOT + } + } + + attacker_ai_victory_worth = { + factor = 100 + } + + attacker_ai_defeat_worth = { + factor = 100 + } + + defender_ai_victory_worth = { + factor = -1 # always accept + } + + defender_ai_defeat_worth = { + factor = 150 + } +} + +muslim_invasion = { + name = CB_NAME_INVASION + war_name = WAR_NAME_INVASION + sprite = 8 + truce_days = 3650 + hostile_against_others = yes + is_permanent = yes + is_holy_war = yes + can_ask_to_join_war = yes + check_de_jure_tier = KING # this scans all de jure kingdoms for the counties which are held by or vassals(or below) of selected character. Only valid if is_permanent = yes + + allowed_to_target_tributaries = no + allowed_to_target_suzerains = no + + can_use_gui = { + ROOT = { + piety = 1000 + } + } + + on_add = { + ROOT = { piety = -1000 } + } + + can_use = { + ROOT = { + religion_group = muslim + + # These use 'tribal_invasion' instead: + NOR = { + is_nomadic = yes + AND = { + primary_title = { is_tribal_type_title = yes } + has_horde_culture = yes + } + AND = { + mercenary = yes + NOT = { + num_of_titles = 2 + } + } + } + } + + FROM = { NOT = { religion = ROOT } } + + ROOT = { + NOT = { is_liege_or_above = FROM } + mercenary = no + } + } + + can_use_title = { + # Muslims require the target to have at least 6 counties within the target kingdom + FROM = { + num_of_realm_counties = { + value = 6 + title = PREV + } + } + # The attacker needs at least one county in the target kingdom, or a border + any_direct_de_jure_vassal_title = { + any_direct_de_jure_vassal_title = { + OR = { + holder_scope = { + OR = { + character = ROOT + is_liege_or_above = ROOT + } + } + location = { + any_neighbor_province = { + owner = { + OR = { + character = ROOT + is_liege_or_above = ROOT + } + } + } + } + } + } + } + } + + is_valid = { + ROOT = { + religion_group = muslim + } + FROM = { NOT = { religion = ROOT } } + } + + is_valid_title = { + FROM = { + any_realm_title = { + de_jure_liege_or_above = PREVPREV + } + } + } + + on_success = { + ROOT = { + prestige = 200 + } + + any_attacker = { + limit = { character = ROOT } + participation_scaled_prestige = 200 + + if = { + limit = { + uses_decadence = yes + FROM = { NOT = { uses_decadence = yes } } + } + participation_scaled_decadence = -20 + } + } + any_attacker = { + limit = { NOT = { character = ROOT } } + hidden_tooltip = { + participation_scaled_prestige = 200 + if = { + limit = { + uses_decadence = yes + FROM = { NOT = { uses_decadence = yes } } + } + participation_scaled_decadence = -20 + } + } + } + FROM = { + prestige = -200 + } + } + + on_success_title = { + custom_tooltip = { + text = other_invasion_succ_tip + hidden_tooltip = { + ROOT = { + vassalize_or_take_under_title_destroy_duchies = { + title = PREV + enemy = FROM + is_crusade = no # Even if the title holder is not participating in the war, gain holdings occupied by all Crusade participants + type = invasion + } + + if = { + limit = { + has_nickname = no + } + random_list = { + 10 = { give_nickname = nick_the_holy } + 10 = { give_nickname = nick_the_glorious } + 10 = { give_nickname = nick_the_lionheart } + 10 = { give_nickname = nick_the_great } + 10 = { give_nickname = nick_the_hammer } + 10 = { give_nickname = nick_the_magnificent } + } + } + } + } + } + } + + on_fail = { + FROM = { + prestige = 100 + } + FROM = { + if = { + limit = { + has_dlc = "Legacy of Rome" + OR = { + has_landed_title = e_byzantium + has_landed_title = e_roman_empire + } + religion_group = christian + } + hidden_tooltip = { character_event = { id = LoR.30 days = 12 } } + } + + if = { + limit = { + has_nickname = no + } + random_list = { + 10 = { give_nickname = nick_the_holy } + 10 = { give_nickname = nick_the_glorious } + 10 = { give_nickname = nick_the_lionheart } + 10 = { give_nickname = nick_the_great } + 10 = { give_nickname = nick_the_hammer } + 10 = { give_nickname = nick_the_magnificent } + 10 = { give_nickname = nick_the_avenger } + } + } + } + any_defender = { + limit = { character = FROM } + participation_scaled_prestige = 100 + } + any_defender = { + limit = { NOT = { character = FROM } } + hidden_tooltip = { participation_scaled_prestige = 100 } + } + ROOT = { + prestige = -200 + } + } + + on_invalidation = { + ROOT = { + piety = 1000 + } + } + + on_reverse_demand = { + ROOT = { + prestige = -200 + transfer_scaled_wealth = { + to = FROM + value = 4.0 + } + decadence = 10 + } + FROM = { + prestige = 200 + if = { + limit = { + has_dlc = "Legacy of Rome" + OR = { + has_landed_title = e_byzantium + has_landed_title = e_roman_empire + } + religion_group = christian + } + hidden_tooltip = { character_event = { id = LoR.30 days = 12 } } + } + if = { + limit = { + has_nickname = no + } + random_list = { + 10 = { give_nickname = nick_the_holy } + 10 = { give_nickname = nick_the_glorious } + 10 = { give_nickname = nick_the_lionheart } + 10 = { give_nickname = nick_the_great } + 10 = { give_nickname = nick_the_hammer } + 10 = { give_nickname = nick_the_magnificent } + 10 = { give_nickname = nick_the_avenger } + } + } + } + any_defender = { + limit = { character = FROM } + participation_scaled_prestige = 200 + } + any_defender = { + limit = { NOT = { character = FROM } } + hidden_tooltip = { participation_scaled_prestige = 200 } + } + } + + attacker_ai_victory_worth = { + factor = 100 + } + + attacker_ai_defeat_worth = { + factor = 100 + } + + defender_ai_victory_worth = { + factor = -1 # always accept + } + + defender_ai_defeat_worth = { + factor = 150 + } + + ai_will_do = { + factor = 1 + + modifier = { + factor = 0.9 # Prefer using CB's without on_add costs + } + } +} + +cb_faction_independence = { + name = CB_NAME_INDEPENDENCE + war_name = WAR_NAME_FACTION_INDEPENDENCE + sprite = 12 + truce_days = 3650 + major_revolt = yes + + attacker_can_call_allies = no + can_ask_to_join_war = no + + is_independence = yes + + can_use = { + ROOT = { + vassal_of = FROM + mercenary = no + } + } + + is_valid = { + ROOT = { + OR = { + liege = { + character = PREV # either independent + } + liege = { + FROM = { + is_liege_or_above = PREV # or have shared liege + } + } + } + } + FROM = { + any_demesne_title = { + NOT = { lower_tier_than = ROOT } + temporary = no + } + independent = yes + in_revolt = no + liege_before_war = { + in_revolt = no + liege_before_war = { + in_revolt = no + } + } + } + } + + on_success = { + if = { + limit = { + FROM = { + independent = yes + } + } + any_attacker = { + limit = { + OR = { + vassal_of = FROM + liege_before_war = { + character = FROM + } + } + } + set_defacto_liege = THIS + hidden_tooltip = { + prestige = 100 + any_demesne_title = { + limit = { + controls_religion = no + higher_tier_than = BARON + FROM = { + OR = { # If the old liege can use the subjugation CB, give no claims + NOT = { religion_group = pagan_group } + NOT = { culture_group = PREVPREV } + } + } + } + add_weak_pressed_claim = FROM + } + } + } + } + + any_attacker = { + limit = { character = ROOT } + participation_scaled_prestige = 100 + hidden_tooltip = { + disband_event_forces = faction_revolters + } + } + any_attacker = { + limit = { NOT = { character = ROOT } } + hidden_tooltip = { + participation_scaled_prestige = 100 + disband_event_forces = faction_revolters + } + } + + FROM = { + + hidden_tooltip = { disband_event_forces = faction_loyalists } + if = { + limit = { NOT = { has_dlc = "Zeus" } } + any_demesne_title = { # All titles + limit = { + OR = { + tier = king + tier = emperor + } + NOT = { has_law = crown_authority_0 } + } + if = { + limit = { has_law = crown_authority_1 } + add_law = crown_authority_0 + } + if = { + limit = { has_law = crown_authority_2 } + add_law = crown_authority_1 + } + if = { + limit = { has_law = crown_authority_3 } + add_law = crown_authority_2 + } + if = { + limit = { has_law = crown_authority_4 } + add_law = crown_authority_3 + } + } + } + } + } + + on_fail = { + ROOT = { + prestige = -50 +# prisoner = FROM + add_character_modifier = { + name = faction_independence_ultimatum_timer + hidden = yes + duration = 3650 + } + hidden_tooltip = { + disband_event_forces = faction_revolters + } + } + any_attacker = { + limit = { character = ROOT } + participation_scaled_prestige = -50 + } + any_attacker = { + limit = { NOT = { character = ROOT } } + hidden_tooltip = { + participation_scaled_prestige = -50 + disband_event_forces = faction_revolters + } + add_character_modifier = { + name = faction_independence_ultimatum_timer + hidden = yes + duration = 3650 + } + } + FROM = { hidden_tooltip = { disband_event_forces = faction_loyalists } } + } + + on_reverse_demand = { + ROOT = { + prestige = -100 + prisoner = FROM + add_character_modifier = { + name = faction_independence_ultimatum_timer + hidden = yes + duration = 3650 + } + hidden_tooltip = { + disband_event_forces = faction_revolters + } + } + + any_attacker = { + limit = { character = ROOT } + participation_scaled_prestige = -100 + } + + any_attacker = { + limit = { + NOT = { character = ROOT } + liege = { character = FROM } + } + prisoner = FROM + participation_scaled_prestige = -100 + hidden_tooltip = { + disband_event_forces = faction_revolters + add_character_modifier = { + name = faction_independence_ultimatum_timer + hidden = yes + duration = 3650 + } + } + } + + FROM = { + prestige = 50 + hidden_tooltip = { disband_event_forces = faction_loyalists } + } + } + + on_attacker_leader_death = { + hidden_tooltip = { + any_defender = { + letter_event = { + id = 251 + } + } + } + + end_war = invalid + } + + attacker_ai_victory_worth = { + factor = -1 # always accept + } + + attacker_ai_defeat_worth = { + factor = 150 + } + + defender_ai_victory_worth = { + factor = -1 # always accept + } + + defender_ai_defeat_worth = { + factor = 100 + } +} + +imperial_reconquest = { + name = CB_NAME_IMPERIAL + war_name = WAR_NAME_IMPERIAL + sprite = 17 + truce_days = 3650 + is_permanent = yes + check_de_jure_tier = DUKE # this scans all dejure duchies for the counties which are held by or vassals(or below) of selected character. Only valid if is_permanent = yes + + allowed_to_target_tributaries = no + allowed_to_target_suzerains = no + + can_use = { + ROOT = { + has_landed_title = e_roman_empire + independent = yes + religion_group = christian + NOT = { same_realm = FROM } + mercenary = no + } + FROM = { + NOT = { religion_group = muslim } + } + } + + can_use_title = { + OR = { + de_jure_liege_or_above = k_byzantium + de_jure_liege_or_above = k_anatolia + de_jure_liege_or_above = k_armenia + de_jure_liege_or_above = k_bulgaria + de_jure_liege_or_above = k_serbia + de_jure_liege_or_above = k_croatia + de_jure_liege_or_above = k_italy + de_jure_liege_or_above = k_sicily + de_jure_liege_or_above = k_bavaria + de_jure_liege_or_above = k_burgundy + de_jure_liege_or_above = k_france + de_jure_liege_or_above = k_aquitaine + de_jure_liege_or_above = k_brittany + de_jure_liege_or_above = k_england + de_jure_liege_or_above = k_wales + de_jure_liege_or_above = k_frisia + de_jure_liege_or_above = k_lotharingia + de_jure_liege_or_above = k_aragon + de_jure_liege_or_above = k_castille + de_jure_liege_or_above = k_andalusia + de_jure_liege_or_above = k_leon + de_jure_liege_or_above = k_spanish_galicia + de_jure_liege_or_above = k_portugal + de_jure_liege_or_above = k_navarra + de_jure_liege_or_above = k_syria + de_jure_liege_or_above = k_jerusalem + de_jure_liege_or_above = k_egypt + de_jure_liege_or_above = k_africa + de_jure_liege_or_above = k_mauretania + de_jure_liege_or_above = k_papal_state + de_jure_liege_or_above = k_venice + de_jure_liege_or_above = k_asturias + } + } + + is_valid = { + ROOT = { + independent = yes + religion_group = christian + NOT = { same_realm = FROM } + } + } + + on_success = { + any_attacker = { + limit = { character = ROOT } + participation_scaled_prestige = 100 + } + any_attacker = { + limit = { NOT = { character = ROOT } } + hidden_tooltip = { + participation_scaled_prestige = 100 + } + } + + FROM = { prestige = -100 } + } + + on_success_title = { + custom_tooltip = { + text = other_invasion_succ_tip + hidden_tooltip = { + ROOT = { + vassalize_or_take_under_title = { + title = PREV + enemy = FROM + type = invasion + } + } + } + } + if = { + limit = { + holder_scope = { character = FROM } + } + usurp_title_only = { target = ROOT type = invasion } + } + } + + on_fail = { + ROOT = { prestige = -150 } + } + + on_reverse_demand = { + ROOT = { + transfer_scaled_wealth = { + to = FROM + value = 4.0 + } + ROOT = { prestige = -200 } + } + any_defender = { + limit = { character = FROM } + participation_scaled_piety = 100 + participation_scaled_prestige = 200 + if = { + limit = { + uses_decadence = yes + } + participation_scaled_decadence = -10 + } + } + any_defender = { + limit = { NOT = { character = FROM } } + hidden_tooltip = { + participation_scaled_piety = 100 + participation_scaled_prestige = 200 + if = { + limit = { + uses_decadence = yes + } + participation_scaled_decadence = -10 + } + } + } + } + + attacker_ai_victory_worth = { + factor = -1 # always accept + } + + attacker_ai_defeat_worth = { + factor = 100 + } + + defender_ai_victory_worth = { + factor = -1 # always accept + } + + defender_ai_defeat_worth = { + factor = 100 + } +} + +# Embargo Merchant Republic CB +embargo_cb = { + name = CB_NAME_EMBARGO + war_name = WAR_NAME_EMBARGO + sprite = 11 + truce_days = 3650 + + is_permanent = yes + can_ask_to_join_war = no + + allowed_to_target_tributaries = no + allowed_to_target_suzerains = no + + can_use = { + ROOT = { + independent = yes + NOT = { has_embargo = FROM } + mercenary = no + } + FROM = { + OR = { + AND = { + is_merchant_republic = yes + any_trade_post = { + owner = { + OR = { + character = ROOT + is_liege_or_above = ROOT + } + } + } + } + AND = { + higher_tier_than = DUKE + any_realm_lord = { + is_merchant_republic = yes + any_trade_post = { + owner = { + OR = { + character = ROOT + is_liege_or_above = ROOT + } + } + } + } + } + } + } + } + + is_valid = { + ROOT = { + independent = yes + NOT = { has_embargo = FROM } + } + FROM = { + OR = { + is_merchant_republic = yes + AND = { + higher_tier_than = DUKE + any_realm_lord = { + is_merchant_republic = yes + } + } + } + } + } + + on_success = { + ROOT = { + embargo = FROM + if = { + limit = { + NOT = { religion = FROM } + } + piety = 200 + } + } + } + + on_fail = { + if = { + limit = { + NOT = { + any_attacker = { + NOT = { character = ROOT } + is_merchant_republic = yes + } + } + } + ROOT = { + prestige = -100 + } + } + + if = { + limit = { + any_attacker = { + NOT = { character = ROOT } + is_merchant_republic = yes + } + } + any_attacker = { + limit = { + NOT = { character = ROOT } + is_merchant_republic = yes + } + prestige = -100 + } + } + + FROM = { + prestige = 50 + } + } + + on_reverse_demand = { + if = { + limit = { + NOT = { + any_attacker = { + NOT = { character = ROOT } + is_merchant_republic = yes + } + } + } + + ROOT = { + prestige = -200 + transfer_scaled_wealth = { + to = FROM + value = 4.0 + } + } + } + + if = { + limit = { + any_attacker = { + NOT = { character = ROOT } + is_merchant_republic = yes + } + } + any_attacker = { + limit = { + NOT = { character = ROOT } + is_merchant_republic = yes + } + prestige = -200 + transfer_scaled_wealth = { + to = FROM + value = 4.0 + } + } + } + + FROM = { + prestige = 100 + } + } + + attacker_ai_victory_worth = { + factor = -1 # always accept + } + + attacker_ai_defeat_worth = { + factor = 50 + } + + defender_ai_victory_worth = { + factor = -1 # always accept + } + + defender_ai_defeat_worth = { + factor = 50 + } + + # ai importance placed on this CB: scope is the targeted title, ROOT is the attacking character, FROM is the defending character + ai_will_do = { + factor = 1 + modifier = { + factor = 0 + ROOT = { + opinion = { who = FROM value = 25 } + } + } + modifier = { + factor = 0.5 + ROOT = { + opinion = { who = FROM value = 0 } + } + } + modifier = { + factor = 0.5 + ROOT = { + opinion = { who = FROM value = -25 } + } + } + } +} + +seize_trade_post = { + name = CB_NAME_SEIZE_TRADE_POST + war_name = WAR_NAME_SEIZE_TRADE_POST + sprite = 1 + truce_days = 1825 + is_permanent = yes +# check_all_titles = yes + check_all_trade_posts = yes + can_ask_to_join_war = no + ticking_war_score_multiplier = 5.0 + allow_distant = yes + + allowed_to_target_tributaries = no + allowed_to_target_suzerains = no + + can_use = { + ROOT = { + OR = { + is_merchant_republic = yes + is_patrician = yes + } + NOT = { is_liege_or_above = FROM } + + OR = { + NOT = { same_realm = FROM } + + # We cannot overtly attack much weaker Patricians in the same republic + NOT = { + num_of_trade_post_diff = { + character = FROM + value = 3 + } + } + } + mercenary = no + } + FROM = { + NOT = { is_liege_or_above = ROOT } + } + } + + can_use_title = { + tier = COUNT + location = { + port = yes + } + has_trade_post = yes + trade_post_owner = { + OR = { + character = FROM + is_liege_or_above = FROM + } + } + holder_scope = { + NOT = { character = FROM } + } + } + + is_valid = { + ROOT = { + OR = { + is_merchant_republic = yes + is_patrician = yes + } + NOT = { is_liege_or_above = FROM } + } + FROM = { + NOT = { is_liege_or_above = ROOT } + } + } + + is_valid_title = { + has_trade_post = yes + trade_post_owner = { + OR = { + character = FROM + is_liege_or_above = FROM + } + } + holder_scope = { + NOT = { character = FROM } + } + } + + on_success_title = { + + seize_trade_post = ROOT + + any_attacker = { + limit = { character = ROOT } + participation_scaled_prestige = 50 + } + any_attacker = { + limit = { NOT = { character = ROOT } } + hidden_tooltip = { participation_scaled_prestige = 50 } + } + } + + on_fail = { + ROOT = { + prestige = -50 + } + any_defender = { + limit = { character = FROM } + participation_scaled_prestige = 25 + } + any_defender = { + limit = { NOT = { character = FROM } } + hidden_tooltip = { participation_scaled_prestige = 25 } + } + } + + on_reverse_demand = { + ROOT = { + prestige = -100 + transfer_scaled_wealth = { + to = FROM + value = 2.0 + } + } + any_defender = { + limit = { character = FROM } + participation_scaled_prestige = 50 + } + any_defender = { + limit = { NOT = { character = FROM } } + hidden_tooltip = { participation_scaled_prestige = 50 } + } + } + + attacker_ai_victory_worth = { + factor = -1 # always accept + } + + attacker_ai_defeat_worth = { + factor = 25 + } + + defender_ai_victory_worth = { + factor = -1 # always accept + } + + defender_ai_defeat_worth = { + factor = 25 + } + + # ai importance placed on this CB: scope is the targeted title, ROOT is the attacking character, FROM is the defending character + ai_will_do = { + factor = 1 + modifier = { + factor = 0.25 + ROOT = { + NOT = { same_realm = FROM } + } + } + } +} + +# The Prepared Invasion CB of Norse Heathens +viking_invasion = { + name = CB_NAME_VIKING_INVASION + war_name = WAR_NAME_VIKING_INVASION + sprite = 8 + truce_days = 365 + hostile_against_others = no # Vikings share in the spoils... + is_permanent = yes + is_holy_war = yes + can_ask_to_join_war = yes + check_de_jure_tier = KING # this scans all de jure kingdoms for the counties which are held by or vassals(or below) of selected character. Only valid if is_permanent = yes + apply_short_occ_mod = no # Do not apply the 'recently_conquered' modifier to Holdings + + allowed_to_target_tributaries = no + allowed_to_target_suzerains = no + + can_use = { + ROOT = { + has_opinion_modifier = { who = FROM modifier = preparing_to_invade } + NOT = { is_liege_or_above = FROM } + mercenary = no + } + } + + can_use_title = { + is_valid_viking_invasion_target = FROM # Checks that FROM holds the right amount of territory in the kingdom + } + + is_valid_title = { + FROM = { + any_realm_title = { + de_jure_liege_or_above = PREVPREV + } + } + } + + on_success = { + ROOT = { + prestige = 500 + piety = 250 + religion_authority = { + modifier = won_viking_invasion + } + + hidden_tooltip = { + if = { + limit = { + has_nickname = no + } + random_list = { + 10 = { give_nickname = nick_the_great } + 10 = { give_nickname = nick_the_victorious } + 10 = { give_nickname = nick_the_fearless } + 10 = { give_nickname = nick_the_brave } + 10 = { give_nickname = nick_haardraade } + 10 = { give_nickname = nick_the_viking } + 10 = { give_nickname = nick_the_dragon } + 10 = { give_nickname = nick_the_ironside } + } + } + } + } + + any_attacker = { + limit = { character = ROOT } + participation_scaled_prestige = 300 + } + any_attacker = { + limit = { NOT = { character = ROOT } } + hidden_tooltip = { participation_scaled_prestige = 300 } + } + FROM = { + prestige = -500 + } + } + + on_success_title = { + custom_tooltip = { + text = tribal_invasion_succ_tip + hidden_tooltip = { + FROM = { + random_realm_province = { + limit = { + de_jure_liege_or_above = PREVPREV + OR = { + NOT = { culture = ROOT } + NOT = { religion = ROOT } + } + } + culture = ROOT + religion = ROOT + } + } + ROOT = { + occupy_minors_of_occupied_settlements = FROM + gain_all_occupied_titles = { who = FROM type = invasion } + vassalize_or_take_under_title_destroy_duchies = { + title = PREV + enemy = FROM + type = invasion + } + + # Settle the special invasion forces + disband_event_forces = prepared_invasion + any_demesne_title = { + limit = { tier = BARON } + remove_holding_modifier = recently_conquered + refill_holding_levy = yes + } + } + + if = { + limit = { + FROM = { is_liege_or_above = ROOT } + } + FROM = { imprison = ROOT } + } + } + } + } + + on_fail = { + FROM = { + prestige = 200 + } + any_defender = { + limit = { character = FROM } + participation_scaled_prestige = 200 + } + any_defender = { + limit = { NOT = { character = FROM } } + hidden_tooltip = { participation_scaled_prestige = 200 } + } + ROOT = { + prestige = -300 + piety = -100 + hidden_tooltip = { + disband_event_forces = prepared_invasion + } + religion_authority = { + modifier = lost_viking_invasion + } + } + } + + on_reverse_demand = { + ROOT = { + prestige = -500 + piety = -250 + transfer_scaled_wealth = { + to = FROM + value = 2.0 + } + hidden_tooltip = { + disband_event_forces = prepared_invasion + } + religion_authority = { + modifier = lost_viking_invasion + } + } + FROM = { + prestige = 300 + } + FROM = { + if = { + limit = { + has_dlc = "Legacy of Rome" + OR = { + has_landed_title = e_byzantium + has_landed_title = e_roman_empire + } + religion_group = christian + } + hidden_tooltip = { character_event = { id = LoR.30 days = 12 } } + } + } + any_defender = { + limit = { character = FROM } + participation_scaled_prestige = 250 + } + any_defender = { + limit = { NOT = { character = FROM } } + hidden_tooltip = { participation_scaled_prestige = 250 } + } + } + + attacker_ai_victory_worth = { + factor = 200 + } + + attacker_ai_defeat_worth = { + factor = 100 + } + + defender_ai_victory_worth = { + factor = -1 # always accept + } + + defender_ai_defeat_worth = { + factor = 100 + } +} + +# Pagans can subjugate other pagans +pagan_subjugation = { + name = CB_NAME_PAGAN_SUBJUGATION + war_name = WAR_NAME_PAGAN_SUBJUGATION + sprite = 8 + truce_days = 365 + is_permanent = yes + can_ask_to_join_war = yes + allowed_to_target_tributaries = no + allowed_to_target_suzerains = no + + can_use = { + ROOT = { + religion_group = pagan_group + is_reformed_religion = no + NOT = { same_realm = FROM } + NOT = { is_liege_or_above = FROM } + mercenary = no + OR = { + AND = { + has_dlc = "Horse Lords" + is_nomadic = no + } + AND = { + NOT = { has_dlc = "Horse Lords" } + has_horde_culture = no # Should use tribal invasion instead + } + } +# NOT = { lower_tier_than = FROM } + + OR = { + NOT = { has_character_modifier = launched_subjugation } + AND = { + has_ambition = obj_become_king + capital_scope = { + kingdom = { + FROM = { + any_realm_title = { + kingdom = { + title = PREVPREVPREV + } + } + } + } + } + } + } + } + + OR = { + NOT = { ROOT = { religion = aztec } } + FROM = { religion = aztec } + } + + FROM = { + in_revolt = no + religion_group = pagan_group + is_nomadic = no + OR = { + is_reformed_religion = no + is_reformed_religion = ROOT + } + NOT = { + any_war = { + defender = { character = PREVPREV } + OR = { + using_cb = pagan_subjugation + using_cb = nomad_subjugation + } + } + } + } + } + + on_add = { + ROOT = { + add_character_modifier = { + name = launched_subjugation + years = 100 + hidden = yes + } + } + } + + on_success = { + ROOT = { + piety = 100 + } + any_attacker = { + limit = { character = ROOT } + participation_scaled_prestige = 100 + } + any_attacker = { + limit = { NOT = { character = ROOT } } + hidden_tooltip = { participation_scaled_prestige = 100 } + } + FROM = { + piety = -100 + prestige = -100 + + if = { + limit = { + is_reformed_religion = ROOT + controls_religion = no + } + religion = ROOT # Reformed pagans are forced to convert back + } + + custom_tooltip = { + text = tribal_subjugation_tip + } + + hidden_tooltip = { + opinion = { + modifier = opinion_subjugated + who = ROOT + } + any_vassal = { + opinion = { + modifier = opinion_subjugated + who = ROOT + } + } + any_demesne_title = { + limit = { + higher_tier_than = ROOT + } + ROOT = { usurp_title = { target = PREV type = invasion } } + add_pressed_claim = PREV + } + any_demesne_title = { + limit = { + tier = ROOT + } + ROOT = { usurp_title = { target = PREV type = invasion } } + add_pressed_claim = PREV + } + set_defacto_liege = ROOT + } + } + } + + on_fail = { + FROM = { + piety = 50 + } + any_defender = { + limit = { character = FROM } + participation_scaled_prestige = 50 + } + any_defender = { + limit = { NOT = { character = FROM } } + hidden_tooltip = { participation_scaled_prestige = 50 } + } + ROOT = { + piety = -100 + } + } + + on_invalidation = { + ROOT = { + remove_character_modifier = launched_subjugation + } + } + + on_reverse_demand = { + ROOT = { + piety = -200 + transfer_scaled_wealth = { + to = FROM + value = 2.0 + } + } + FROM = { + piety = 100 + } + FROM = { + if = { + limit = { + has_dlc = "Legacy of Rome" + OR = { + has_landed_title = e_byzantium + has_landed_title = e_roman_empire + } + religion_group = christian + } + hidden_tooltip = { character_event = { id = LoR.30 days = 12 } } + } + } + any_defender = { + limit = { character = FROM } + participation_scaled_prestige = 100 + } + any_defender = { + limit = { NOT = { character = FROM } } + hidden_tooltip = { participation_scaled_prestige = 100 } + } + } + + attacker_ai_victory_worth = { + factor = -1 # always accept + } + + attacker_ai_defeat_worth = { + factor = 100 + } + + defender_ai_victory_worth = { + factor = -1 # always accept + } + + defender_ai_defeat_worth = { + factor = 100 + } + + ai_will_do = { + factor = 1 + } +} + +# The CB used by "Peasant revolter" characters +peasant_revolt = { + name = CB_NAME_PEASANT_CONQUEST + war_name = WAR_NAME_PEASANT_CONQUEST + sprite = 16 + truce_days = 365 + hostile_against_others = yes + check_all_titles = yes # setting this to true will check against all of someones titles, including vassal held titles + press_claim = yes + + attacker_can_call_allies = no + defender_can_call_allies = no + can_ask_to_join_war = no + + is_independence = yes + + can_use = { + ROOT = { + primary_title = { temporary = yes } # Revolter or adventurer trigger + war = no + NOT = { is_liege_or_above = FROM } + mercenary = no + } + } + + can_use_title = { + tier = count + } + + is_valid_title = { + OR = { + FROM = { + has_landed_title = PREV + } + holder_scope = { + is_liege_or_above = FROM + } + } + } + + on_success_title = { + usurp_title_plus_barony_if_unlanded = { target = ROOT type = revolt } + ROOT = { set_defacto_liege = ROOT } + FROM = { + prestige = -100 + } + } + + on_fail_title = { + FROM = { + prestige = 10 + hidden_tooltip = { + opinion = { + modifier = opinion_rebel_traitor + who = ROOT + months = 1200 + } + } + } + ROOT = { + clear_wealth = yes + imprison = FROM + hidden_tooltip = { + add_character_modifier = { + name = broken_spirit + days = -1 + } + } + } + } + + on_reverse_demand = { + FROM = { + prestige = 20 + hidden_tooltip = { + opinion = { + modifier = opinion_rebel_traitor + who = ROOT + months = 1200 + } + add_character_modifier = { + name = crushed_revolt + days = 3650 + } + } + } + ROOT = { + clear_wealth = yes + imprison = FROM + hidden_tooltip = { + add_character_modifier = { + name = broken_spirit + days = -1 + } + } + } + } + + attacker_ai_victory_worth = { + factor = -1 # always accept + } + + attacker_ai_defeat_worth = { + factor = 100 + } + + defender_ai_victory_worth = { + factor = -1 # always accept + } + + defender_ai_defeat_worth = { + factor = 100 + } +} + +# The CB used by "Heretic revolter" characters +heretic_revolt = { + name = CB_NAME_HERETIC_UPRISING + war_name = WAR_NAME_HERETIC_UPRISING + sprite = 7 + truce_days = 365 + hostile_against_others = yes + attacker_can_call_allies = no + defender_can_call_allies = no + can_ask_to_join_war = no + + can_use = { + ROOT = { has_character_flag = heretic_revolter } + } + + is_valid = { + FROM = { + NOT = { religion = ROOT } + } + } + + on_success = { + ROOT = { + prestige = 200 + piety = 100 + occupy_minors_of_occupied_settlements = FROM + gain_all_occupied_titles = { who = FROM type = revolt } + clr_character_flag = heretic_revolter + } + + FROM = { + prestige = -500 + piety = -500 + religion_authority = { + modifier = lost_heretic_revolt + } + } + } + + on_fail = { + ROOT = { + clear_wealth = yes + imprison = FROM + clr_character_flag = heretic_revolter + hidden_tooltip = { + add_character_modifier = { + name = broken_spirit + days = -1 + } + } + } + FROM = { + prestige = 50 + piety = 100 + hidden_tooltip = { + opinion = { + modifier = opinion_rebel_traitor + who = ROOT + months = 1200 + } + } + religion_authority = { + modifier = won_heretic_revolt + } + } + } + + on_reverse_demand = { + ROOT = { + clear_wealth = yes + imprison = FROM + clr_character_flag = heretic_revolter + hidden_tooltip = { + add_character_modifier = { + name = broken_spirit + days = -1 + } + } + } + FROM = { + prestige = 100 + piety = 200 + hidden_tooltip = { + opinion = { + modifier = opinion_rebel_traitor + who = ROOT + months = 1200 + } + add_character_modifier = { + name = crushed_revolt + days = 3650 + } + } + religion_authority = { + modifier = won_heretic_revolt + } + } + } + + attacker_ai_victory_worth = { + factor = 100 + } + + attacker_ai_defeat_worth = { + factor = 100 + } + + defender_ai_victory_worth = { + factor = -1 # always accept + } + + defender_ai_defeat_worth = { + factor = 150 + } +} + +# The CB used by "Religious revolter" characters +religious_revolt = { + name = CB_NAME_HERETIC_UPRISING + war_name = WAR_NAME_HERETIC_UPRISING + sprite = 7 + truce_days = 365 + hostile_against_others = yes + attacker_can_call_allies = no + defender_can_call_allies = no + can_ask_to_join_war = no + + can_use = { + ROOT = { has_character_flag = religious_revolter } + } + + is_valid = { + FROM = { + NOT = { religion = ROOT } + } + } + + on_success = { + ROOT = { + prestige = 200 + piety = 100 + occupy_minors_of_occupied_settlements = FROM + gain_all_occupied_titles = { who = FROM type = revolt } + clr_character_flag = religious_revolter + } + + FROM = { + prestige = -500 + piety = -500 + religion_authority = { + modifier = lost_religious_revolt + } + } + } + + on_fail = { + ROOT = { + clear_wealth = yes + imprison = FROM + clr_character_flag = religious_revolter + hidden_tooltip = { + add_character_modifier = { + name = broken_spirit + days = -1 + } + } + } + FROM = { + prestige = 50 + piety = 100 + hidden_tooltip = { + opinion = { + modifier = opinion_rebel_traitor + who = ROOT + months = 1200 + } + } + religion_authority = { + modifier = won_religious_revolt + } + } + } + + on_reverse_demand = { + ROOT = { + clear_wealth = yes + imprison = FROM + clr_character_flag = religious_revolter + hidden_tooltip = { + add_character_modifier = { + name = broken_spirit + days = -1 + } + } + } + FROM = { + prestige = 100 + piety = 200 + hidden_tooltip = { + opinion = { + modifier = opinion_rebel_traitor + who = ROOT + months = 1200 + } + add_character_modifier = { + name = crushed_revolt + days = 3650 + } + } + religion_authority = { + modifier = won_religious_revolt + } + } + } + + attacker_ai_victory_worth = { + factor = 100 + } + + attacker_ai_defeat_worth = { + factor = 100 + } + + defender_ai_victory_worth = { + factor = -1 # always accept + } + + defender_ai_defeat_worth = { + factor = 150 + } +} + +# The CB used by "Nationalist Revolter" characters +liberation_revolt = { + name = CB_NAME_LIBERATION_REVOLT + war_name = WAR_NAME_LIBERATION_REVOLT + sprite = 16 + truce_days = 365 + hostile_against_others = yes + check_de_jure_tier = KING # this scans all dejure duchies for the counties which are held by or vassals(or below) of selected character + press_claim = yes + can_ask_to_join_war = no + is_independence = yes + + can_use = { + ROOT = { has_character_flag = nationalist_rebel } + } + + can_use_title = { + tier = king + has_holder = no + } + + is_valid = { + FROM = { + NOT = { culture = ROOT } + } + } + + is_valid_title = { + has_holder = no + } + + on_success = { + ROOT = { + prestige = 1000 + occupy_minors_of_occupied_settlements = FROM + gain_all_occupied_titles = { who = FROM type = revolt } + clr_character_flag = nationalist_rebel + give_nickname = nick_the_liberator + } + FROM = { + prestige = -500 + } + } + + on_success_title = { + custom_tooltip = { + text = tribal_invasion_succ_tip + hidden_tooltip = { + ROOT = { + vassalize_or_take_under_title = { + title = PREV + enemy = FROM + is_revolt = yes + type = revolt + } + if = { + limit = { + num_of_count_titles = 5 + PREV = { + OR = { + has_holder = no + holder_scope = { + character = FROM + } + } + } + } + usurp_title = { target = PREV type = revolt } + } + } + } + } + } + + on_fail_title = { + FROM = { + prestige = 100 + hidden_tooltip = { + opinion = { + modifier = opinion_rebel_traitor + who = ROOT + months = 1200 + } + } + } + ROOT = { + clear_wealth = yes + imprison = FROM + clr_character_flag = nationalist_rebel + hidden_tooltip = { + add_character_modifier = { + name = broken_spirit + days = -1 + } + remove_trait = inspiring_leader + } + } + } + + on_reverse_demand = { + FROM = { + prestige = 200 + hidden_tooltip = { + opinion = { + modifier = opinion_rebel_traitor + who = ROOT + months = 1200 + } + add_character_modifier = { + name = crushed_major_revolt + days = 3650 + } + } + } + ROOT = { + clear_wealth = yes + imprison = FROM + clr_character_flag = nationalist_rebel + hidden_tooltip = { + add_character_modifier = { + name = broken_spirit + days = -1 + } + remove_trait = inspiring_leader + } + } + } + + attacker_ai_victory_worth = { + factor = 100 + } + + attacker_ai_defeat_worth = { + factor = 100 + } + + defender_ai_victory_worth = { + factor = -1 # always accept + } + + defender_ai_defeat_worth = { + factor = 100 + } +} + +duchy_adventure = { + name = CB_NAME_DUCHY_ADVENTURE + war_name = WAR_DUCHY_ADVENTURE + sprite = 9 + truce_days = 3650 + hostile_against_others = yes + check_de_jure_tier = DUKE # this scans all dejure duchies for the counties which are held by or vassals(or below) of selected character + + can_use = { + ROOT = { has_character_flag = duchy_adventurer } + } + + is_valid = { + always = yes + } + + on_success = { + ROOT = { + prestige = 250 + hidden_tooltip = { + clr_character_flag = duchy_adventurer + give_nickname = nick_the_conqueror + } + } + FROM = { + prestige = -250 + } + } + + on_success_title = { + custom_tooltip = { + text = other_invasion_succ_tip + hidden_tooltip = { + ROOT = { + vassalize_or_take_under_title = { + title = PREV + enemy = FROM + type = host + } + } + } + } + + ROOT = { + hidden_tooltip = { + # Special case: Seljuk succeeds in his first conquest + if = { + limit = { + has_character_flag = seljuk_himself + } + narrative_event = { + id = 60206 + days = 1 + } + } + + # Special case: Timur succeeds in his first conquest + if = { + limit = { + has_character_flag = timur_himself + } + narrative_event = { + id = 60306 + days = 1 + } + } + + # Special case: Sabuktigin succeeds in his first conquest + if = { + limit = { + has_character_flag = sabuktigin_himself + } + narrative_event = { + id = 60406 + days = 1 + } + } + } + } + } + + on_fail = { + FROM = { + prestige = 100 + hidden_tooltip = { + opinion = { + modifier = opinion_rebel_traitor + who = ROOT + months = 1200 + } + } + } + ROOT = { + clear_wealth = yes + imprison = FROM + hidden_tooltip = { + disband_event_forces = yes + clr_character_flag = duchy_adventurer + } + } + + ROOT = { prestige = -100 } + } + + on_reverse_demand = { + ROOT = { + transfer_scaled_wealth = { + to = FROM + value = 4.0 + } + } + + FROM = { + prestige = 200 + } + + ROOT = { + clear_wealth = yes + imprison = FROM + prestige = -200 + hidden_tooltip = { + disband_event_forces = yes + clr_character_flag = duchy_adventurer + } + } + } + + on_attacker_leader_death = { + ROOT = { + hidden_tooltip = { + disband_event_forces = yes + clr_character_flag = duchy_adventurer + } + } + end_war = invalid + } + + attacker_ai_victory_worth = { + factor = -1 # always accept + } + + attacker_ai_defeat_worth = { + factor = 100 + } + + defender_ai_victory_worth = { + factor = -1 # always accept + } + + defender_ai_defeat_worth = { + factor = 100 + } +} + +pagan_holy_war = { + name = CB_NAME_RELIGIOUS + war_name = WAR_NAME_RELIGIOUS + sprite = 9 + truce_days = 1825 + is_permanent = yes + is_holy_war = yes + check_de_jure_tier = DUKE # this scans all dejure duchies for the counties which are held by or vassals(or below) of selected character. Only valid if is_permanent = yes + allowed_to_target_tributaries = no + allowed_to_target_suzerains = no + + can_use_gui = { + ROOT = { + piety = 100 + } + } + + on_add = { + ROOT = { piety = -100 } + } + + can_use = { + ROOT = { + OR = { + religion = norse_pagan_reformed + religion = tengri_pagan_reformed + religion = baltic_pagan_reformed + religion = slavic_pagan_reformed + religion = finnish_pagan_reformed + religion = aztec_reformed + religion = aztec + religion = west_african_pagan_reformed + religion = zun_pagan_reformed + } + NOT = { same_realm = FROM } + NOT = { religion = FROM } + top_liege = { + religion = ROOT + } + mercenary = no + } + } + + can_use_title = { + # The attacker needs at least one county in the target kingdom, or a border, or be only two sea zones away from one of your counties + any_direct_de_jure_vassal_title = { + OR = { + holder_scope = { + OR = { + character = ROOT + is_liege_or_above = ROOT + } + } + location = { + any_neighbor_province = { + OR = { + AND = { + has_owner = yes + owner = { + OR = { + character = ROOT + is_liege_or_above = ROOT + } + } + } + AND = { + is_land = no + any_neighbor_province = { + OR = { + AND = { + has_owner = yes + owner = { + OR = { + character = ROOT + is_liege_or_above = ROOT + } + } + } + AND = { + is_land = no + any_neighbor_province = { + owner = { + OR = { + character = ROOT + is_liege_or_above = ROOT + } + } + } + } + } + } + } + } + } + } + } + } + } + + is_valid = { + ROOT = { + OR = { + religion = norse_pagan_reformed + religion = tengri_pagan_reformed + religion = baltic_pagan_reformed + religion = slavic_pagan_reformed + religion = finnish_pagan_reformed + religion = aztec_reformed + religion = aztec + religion = west_african_pagan_reformed + religion = zun_pagan_reformed + } + NOT = { same_realm = FROM } + NOT = { religion = FROM } + top_liege = { + NOT = { religion = FROM } + } + } + } + + on_success = { + any_attacker = { + limit = { character = ROOT } + participation_scaled_piety = 100 + participation_scaled_prestige = 50 + } + any_attacker = { + limit = { NOT = { character = ROOT } } + hidden_tooltip = { + participation_scaled_piety = 100 + participation_scaled_prestige = 50 + } + } + + ROOT = { + religion_authority = { + modifier = won_holy_war + years = 20 + } + + hidden_tooltip = { + if = { + limit = { + has_nickname = no + } + random_list = { + 10 = { give_nickname = nick_the_dragon } + 10 = { give_nickname = nick_the_holy } + 10 = { give_nickname = nick_bloodaxe } + 10 = { give_nickname = nick_the_great } + 40 = { give_nickname = nick_the_sword_of_god } + } + } + } + } + + FROM = { + religion_authority = { + modifier = lost_holy_war + years = 20 + } + } + FROM = { piety = -100 } + FROM = { prestige = -50 } + } + + on_success_title = { + custom_tooltip = { + text = religious_cb_succ_tip + hidden_tooltip = { + ROOT = { + vassalize_or_take_under_title = { + title = PREV + enemy = FROM + same_religion = yes # Only vassalize rulers of my religion + is_religious = yes + type = holy_war + } + } + } + } + } + + on_fail = { + ROOT = { piety = -50 } + ROOT = { prestige = -100 } + } + + on_reverse_demand = { + ROOT = { + transfer_scaled_wealth = { + to = FROM + value = 4.0 + } + } + any_defender = { + limit = { character = FROM } + participation_scaled_piety = 200 + participation_scaled_prestige = 100 + } + any_defender = { + limit = { NOT = { character = FROM } } + hidden_tooltip = { + participation_scaled_piety = 200 + participation_scaled_prestige = 100 + } + } + ROOT = { + religion_authority = { + modifier = lost_holy_war + years = 20 + } + } + FROM = { + religion_authority = { + modifier = won_holy_war + years = 20 + } + } + } + + attacker_ai_victory_worth = { + factor = -1 # always accept + } + + attacker_ai_defeat_worth = { + factor = 100 + } + + defender_ai_victory_worth = { + factor = -1 # always accept + } + + defender_ai_defeat_worth = { + factor = 100 + } + + ai_will_do = { + factor = 1 + + modifier = { + factor = 0.9 # Prefer using CB's without on_add costs + } + + modifier = { + factor = 0.1 + ROOT = { + culture = hungarian + primary_title = { + OR = { + title = k_hungary + title = e_carpathia + } + } + } + empire = { + OR = { + title = e_tartaria + title = e_russia + } + } + } + } +} + +# Caliphs can subjugate people of their own religion +caliphal_subjugation = { + name = CB_NAME_PAGAN_SUBJUGATION + war_name = WAR_NAME_PAGAN_SUBJUGATION + sprite = 8 + truce_days = 365 + hostile_against_others = yes + is_permanent = yes + can_ask_to_join_war = yes + check_de_jure_tier = KING # this scans all de jure kingdoms for the counties which are held by or vassals(or below) of selected character. Only valid if is_permanent = yes + allowed_to_target_tributaries = no + allowed_to_target_suzerains = no + + can_use_gui = { + ROOT = { + piety = 200 + } + } + + on_add = { + ROOT = { piety = -200 } + } + + can_use = { + ROOT = { + religion_group = muslim + OR = { + has_landed_title = d_sunni + has_landed_title = d_shiite + has_landed_title = d_ibadi + has_landed_title = d_kharijite + has_landed_title = d_yazidi + has_landed_title = d_hurufi + } + is_nomadic = no + OR = { + has_horde_culture = no # Should use tribal invasion instead + has_dlc = "Horse Lords" + } + NOT = { has_character_modifier = launched_subjugation } + mercenary = no + } + FROM = { + religion = ROOT + } + } + + can_use_title = { + FROM = { + any_realm_title = { + de_jure_liege_or_above = PREVPREV + } + } + } + + is_valid_title = { + FROM = { + any_realm_title = { + de_jure_liege_or_above = PREVPREV + } + } + } + + on_add_title = { + ROOT = { + add_character_modifier = { + name = launched_subjugation + days = 3650 + hidden = yes + } + } + } + + on_success = { + ROOT = { + prestige = 100 + decadence = -5 + } + any_attacker = { + limit = { character = ROOT } + participation_scaled_prestige = 100 + } + any_attacker = { + limit = { NOT = { character = ROOT } } + hidden_tooltip = { participation_scaled_prestige = 100 } + } + FROM = { + prestige = -200 + } + } + + on_success_title = { + custom_tooltip = { + text = pagan_subjugation_tip + hidden_tooltip = { + ROOT = { + subjugate_or_take_under_title = { # If the target only has territory within the kingdom, he is simply vassalized + title = PREV + enemy = FROM + } + } + } + } + } + + on_fail = { + FROM = { + prestige = 50 + } + any_defender = { + limit = { character = FROM } + participation_scaled_prestige = 50 + } + any_defender = { + limit = { NOT = { character = FROM } } + hidden_tooltip = { participation_scaled_prestige = 50 } + } + ROOT = { + prestige = -100 + } + } + + on_reverse_demand = { + ROOT = { + prestige = -200 + transfer_scaled_wealth = { + to = FROM + value = 2.0 + } + } + FROM = { + prestige = 100 + } + FROM = { + if = { + limit = { + has_dlc = "Legacy of Rome" + OR = { + has_landed_title = e_byzantium + has_landed_title = e_roman_empire + } + religion_group = christian + } + hidden_tooltip = { character_event = { id = LoR.30 days = 12 } } + } + } + any_defender = { + limit = { character = FROM } + participation_scaled_prestige = 100 + } + any_defender = { + limit = { NOT = { character = FROM } } + hidden_tooltip = { participation_scaled_prestige = 100 } + } + } + + attacker_ai_victory_worth = { + factor = -1 # always accept + } + + attacker_ai_defeat_worth = { + factor = 100 + } + + defender_ai_victory_worth = { + factor = -1 # always accept + } + + defender_ai_defeat_worth = { + factor = 100 + } + + ai_will_do = { + factor = 1 + + modifier = { + factor = 0.9 # Prefer using CB's without on_add costs + } + } +} + +muslim_county_conquest = { + name = CB_NAME_COUNTY_CONQUEST + war_name = WAR_NAME_COUNTY_CONQUEST + sprite = 16 + truce_days = 1825 + hostile_against_others = yes + is_permanent = yes + check_all_titles = yes # if permanent, setting this to true will check against all of someones titles, including vassal held titles + press_claim = yes + can_ask_to_join_war = no + allowed_to_target_tributaries = no + allowed_to_target_suzerains = no + + can_use_gui = { + ROOT = { + piety = 50 + } + } + + on_add = { + ROOT = { piety = -50 } + } + + can_use = { + ROOT = { + NOT = { is_liege_or_above = FROM } + mercenary = no + is_nomadic = no # Use the 'pagan_county_conquest' CB instead + } + } + + can_use_title = { + tier = count + OR = { + FROM = { + has_landed_title = PREV + } + holder_scope = { + is_liege_or_above = FROM + NOT = { same_realm = ROOT } + } + } + + ROOT = { + religion_group = muslim + } + + NOT = { + OR = { + ROOT = { + has_landed_title = PREV + } + holder_scope = { + is_liege_or_above = ROOT + } + } + } + + location = { + any_neighbor_province = { + owner = { + OR = { + character = ROOT + is_liege_or_above = ROOT + } + } + } + } + } + + is_valid_title = { + OR = { + FROM = { + has_landed_title = PREV + } + holder_scope = { + is_liege_or_above = FROM + } + } + } + + on_success_title = { + if = { + limit = { + holder_scope = { + tier = count + NOT = { num_of_count_titles = 2 } + lower_tier_than = ROOT + } + } + + holder_scope = { + set_defacto_liege = ROOT + } + } + + if = { + limit = { + holder_scope = { + OR = { + higher_tier_than = count + num_of_count_titles = 2 + NOT = { lower_tier_than = ROOT } + } + } + } + + usurp_title_plus_barony_if_unlanded = { target = ROOT type = invasion } + any_de_jure_vassal_title = { # take all baronies under the one we're fighting for + limit = { + has_holder = yes + NOT = { + de_facto_liege = PREV + } + holder_scope = { + OR = { + character = FROM + is_liege_or_above = FROM + } + } + } + + usurp_title_plus_barony_if_unlanded = { target = ROOT type = invasion } + } + } + any_attacker = { + limit = { character = ROOT } + participation_scaled_prestige = 100 + } + any_attacker = { + limit = { NOT = { character = ROOT } } + hidden_tooltip = { participation_scaled_prestige = 100 } + } + } + + on_fail_title = { + ROOT = { + prestige = -100 + } + any_defender = { + limit = { character = FROM } + participation_scaled_prestige = 50 + } + any_defender = { + limit = { NOT = { character = FROM } } + hidden_tooltip = { participation_scaled_prestige = 50 } + } + } + + on_reverse_demand = { + ROOT = { + prestige = -200 + transfer_scaled_wealth = { + to = FROM + value = 4.0 + } + } + any_defender = { + limit = { character = FROM } + participation_scaled_prestige = 100 + } + any_defender = { + limit = { NOT = { character = FROM } } + hidden_tooltip = { participation_scaled_prestige = 100 } + } + } + + attacker_ai_victory_worth = { + factor = -1 # always accept + } + + attacker_ai_defeat_worth = { + factor = 100 + } + + defender_ai_victory_worth = { + factor = -1 # always accept + } + + defender_ai_defeat_worth = { + factor = 100 + } + + ai_will_do = { + factor = 1 + + modifier = { + factor = 0.9 # Prefer using CB's without on_add costs + } + } +} + +# 42 +pagan_county_conquest = { + name = CB_NAME_COUNTY_CONQUEST + war_name = WAR_NAME_COUNTY_CONQUEST + sprite = 16 + truce_days = 1825 + hostile_against_others = yes + is_permanent = yes + check_all_titles = yes # if permanent, setting this to true will check against all of someones titles, including vassal held titles + press_claim = yes + can_ask_to_join_war = no + + allow_distant = yes + allowed_to_target_tributaries = no + allowed_to_target_suzerains = no + + can_use = { + ROOT = { + mercenary = no + } + OR = { + ROOT = { + is_nomadic = yes + NOT = { same_realm = FROM } + FROM = { + OR = { + is_nomadic = yes + is_tribal = yes + } + } + } + AND = { + ROOT = { + religion_group = pagan_group + NOT = { same_realm = FROM } + } + FROM = { + NOT = { religion = ROOT } + } + } + } + } + + can_use_title = { + tier = count + OR = { + FROM = { + has_landed_title = PREV + } + holder_scope = { + is_liege_or_above = FROM + NOT = { same_realm = ROOT } + } + } + + NOT = { + OR = { + ROOT = { + has_landed_title = PREV + } + holder_scope = { + is_liege_or_above = ROOT + } + } + } + + OR = { + AND = { + OR = { + ROOT = { religion = norse_pagan } + ROOT = { religion = norse_pagan_reformed } + } + FROM = { NOT = { religion_group = pagan_group } } + location = { + port = yes + } + has_global_flag = viking_age_started + } + location = { + any_neighbor_province = { + owner = { + OR = { + character = ROOT + is_liege_or_above = ROOT + } + } + } + } + } + } + + is_valid_title = { + OR = { + ROOT = { + is_nomadic = yes + } + AND = { + ROOT = { + religion_group = pagan_group + NOT = { same_realm = FROM } + } + FROM = { + NOT = { religion = ROOT } + } + } + } + + OR = { + FROM = { + has_landed_title = PREV + } + holder_scope = { + is_liege_or_above = FROM + } + } + } + + on_success_title = { + usurp_title_plus_barony_if_unlanded = { target = ROOT type = invasion } + + any_de_jure_vassal_title = { # take all baronies too + limit = { + has_holder = yes + holder_scope = { + OR = { + character = FROM + is_liege_or_above = FROM + AND = { + is_liege_or_above = ROOT + NOT = { culture = ROOT } + NOT = { religion = ROOT } + } + } + } + } + + usurp_title = ROOT + } + + any_attacker = { + limit = { character = ROOT } + participation_scaled_prestige = 100 + participation_scaled_piety = 50 + } + any_attacker = { + limit = { NOT = { character = ROOT } } + hidden_tooltip = { + participation_scaled_prestige = 100 + participation_scaled_piety = 50 + } + } + + if = { + limit = { + NOT = { FROM = { religion = ROOT } } + } + ROOT = { + religion_authority = { + modifier = won_county_conquest + } + } + } + } + + on_fail_title = { + ROOT = { + prestige = -100 + } + + if = { + limit = { + NOT = { FROM = { religion = ROOT } } + } + ROOT = { + religion_authority = { + modifier = lost_county_conquest + } + } + } + + any_defender = { + limit = { character = FROM } + participation_scaled_prestige = 50 + } + any_defender = { + limit = { NOT = { character = FROM } } + hidden_tooltip = { participation_scaled_prestige = 50 } + } + } + + on_reverse_demand = { + ROOT = { + prestige = -200 + transfer_scaled_wealth = { + to = FROM + value = 4.0 + } + } + + if = { + limit = { + NOT = { FROM = { religion = ROOT } } + } + ROOT = { + religion_authority = { + modifier = lost_county_conquest + } + } + } + + any_defender = { + limit = { character = FROM } + participation_scaled_prestige = 100 + participation_scaled_piety = 50 + } + any_defender = { + limit = { NOT = { character = FROM } } + hidden_tooltip = { + participation_scaled_prestige = 100 + participation_scaled_piety = 50 + } + } + } + + attacker_ai_victory_worth = { + factor = -1 # always accept + } + + attacker_ai_defeat_worth = { + factor = 100 + } + + defender_ai_victory_worth = { + factor = -1 # always accept + } + + defender_ai_defeat_worth = { + factor = 100 + } + + ai_will_do = { + factor = 1 + + modifier = { + factor = 4.0 + ROOT = { + OR = { + religion = norse_pagan + religion = norse_pagan_reformed + } + } + OR = { + empire = { title = e_scandinavia } + kingdom = { title = k_rus } + } + } + modifier = { + factor = 2.0 + ROOT = { + OR = { + religion = norse_pagan + religion = norse_pagan_reformed + } + } + has_global_flag = viking_age_started + OR = { + empire = { title = e_britannia } + kingdom = { title = k_brittany } + kingdom = { title = k_france } + kingdom = { title = k_frisia } + } + } + modifier = { + factor = 2.0 + ROOT = { + OR = { + religion = norse_pagan + religion = norse_pagan_reformed + } + } + has_global_flag = viking_age_started + location = { port = yes } + } + } +} + +# 43 +dejure_county_claim = { + name = CB_NAME_DEJURECLAIM + war_name = WAR_NAME_DEJURECLAIM + sprite = 16 + truce_days = 3650 + hostile_against_others = yes + is_permanent = yes + check_all_titles = yes # if permanent, setting this to true will check against all of someones titles, including vassal held titles + press_claim = yes + can_ask_to_join_war = no + + allowed_to_target_tributaries = no + allowed_to_target_suzerains = no + + infamy_modifier = 0.5 + + can_use_title = { + tier = count + + OR = { + FROM = { + has_landed_title = PREV + } + holder_scope = { + is_liege_or_above = FROM + } + } + + OR = { + kingdom = { + holder = ROOT + } + empire = { + holder = ROOT + } + dejure_liege_title = { + holder = ROOT + } + } + + NOT = { + OR = { + ROOT = { + has_landed_title = PREV + } + holder_scope = { + is_liege_or_above = ROOT + } + } + } + + FROM = { + OR = { + holy_order = no + NOT = { religion = ROOT } + NOT = { has_dlc = "Sons of Abraham" } + OR = { + AND = { + primary_title = { title = d_knights_templar } + ROOT = { + has_character_modifier = expelled_d_knights_templar + } + } + AND = { + primary_title = { title = d_knights_hospitaler } + ROOT = { + has_character_modifier = expelled_d_knights_hospitaler + } + } + AND = { + primary_title = { title = d_teutonic_order } + ROOT = { + has_character_modifier = expelled_d_teutonic_order + } + } + AND = { + primary_title = { title = d_jomsvikings } + ROOT = { + has_character_modifier = expelled_d_jomsvikings + } + } + AND = { + primary_title = { title = d_hashshashin } + ROOT = { + has_character_modifier = expelled_d_hashshashin + } + } + AND = { + primary_title = { title = d_bektashi } + ROOT = { + has_character_modifier = expelled_d_bektashi + } + } + AND = { + primary_title = { title = d_haruriyyah } + ROOT = { + has_character_modifier = expelled_d_haruriyyah + } + } + AND = { + primary_title = { title = d_holy_sepulchre } + ROOT = { + has_character_modifier = expelled_d_holy_sepulchre + } + } + AND = { + primary_title = { title = d_saint_anthony } + ROOT = { + has_character_modifier = expelled_d_saint_anthony + } + } + AND = { + primary_title = { title = d_immortals } + ROOT = { + has_character_modifier = expelled_d_immortals + } + } + AND = { + primary_title = { title = d_zealots } + ROOT = { + has_character_modifier = expelled_d_zealots + } + } + AND = { + primary_title = { title = d_sky_lords } + ROOT = { + has_character_modifier = expelled_d_sky_lords + } + } + AND = { + primary_title = { title = d_spirit_guardians } + ROOT = { + has_character_modifier = expelled_d_spirit_guardians + } + } + AND = { + primary_title = { title = d_warriors_perun } + ROOT = { + has_character_modifier = expelled_d_warriors_perun + } + } + AND = { + primary_title = { title = d_chosen_perkunas } + ROOT = { + has_character_modifier = expelled_d_chosen_perkunas + } + } + AND = { + primary_title = { title = d_sons_kaleva } + ROOT = { + has_character_modifier = expelled_d_sons_kaleva + } + } + AND = { + primary_title = { title = d_huitzilopochtli } + ROOT = { + has_character_modifier = expelled_d_huitzilopochtli + } + } + AND = { + primary_title = { title = d_knights_santiago } + ROOT = { + has_character_modifier = expelled_d_knights_santiago + } + } + AND = { + primary_title = { title = d_knights_calatrava } + ROOT = { + has_character_modifier = expelled_d_knights_calatrava + } + } + AND = { + primary_title = { title = d_saint_addai } + ROOT = { + has_character_modifier = expelled_d_saint_addai + } + } + AND = { + primary_title = { title = d_zun_warriors } + ROOT = { + has_character_modifier = expelled_d_zun_warriors + } + } + } + } + } + } + + is_valid_title = { + OR = { + FROM = { + has_landed_title = PREV + } + holder_scope = { + is_liege_or_above = FROM + } + } + } + + on_success_title = { + if = { + limit = { + holder_scope = { + tier = count + is_patrician = no + NOT = { + num_of_count_titles = 2 + } + } + } + + holder_scope = { + set_defacto_liege = ROOT + } + } + + if = { + limit = { + holder_scope = { + OR = { + higher_tier_than = count + num_of_count_titles = 2 + is_patrician = yes + } + } + } + + usurp_title_plus_barony_if_unlanded = { target = ROOT type = claim } + any_de_jure_vassal_title = { # take all baronies under the one we're fighting for + limit = { + has_holder = yes + NOT = { + de_facto_liege = PREV + } + holder_scope = { + OR = { + character = FROM + is_liege_or_above = FROM + } + } + } + + usurp_title_plus_barony_if_unlanded = { target = ROOT type = claim } + } + } + any_attacker = { + limit = { character = ROOT } + participation_scaled_prestige = 100 + } + any_attacker = { + limit = { NOT = { character = ROOT } } + hidden_tooltip = { participation_scaled_prestige = 100 } + } + } + + on_fail_title = { + ROOT = { + prestige = -100 + } + any_defender = { + limit = { character = FROM } + participation_scaled_prestige = 50 + } + any_defender = { + limit = { NOT = { character = FROM } } + hidden_tooltip = { participation_scaled_prestige = 50 } + } + } + + on_reverse_demand = { + ROOT = { + prestige = -200 + transfer_scaled_wealth = { + to = FROM + value = 4.0 + } + } + any_defender = { + limit = { character = FROM } + participation_scaled_prestige = 100 + } + any_defender = { + limit = { NOT = { character = FROM } } + hidden_tooltip = { participation_scaled_prestige = 100 } + } + } + + attacker_ai_victory_worth = { + factor = -1 # always accept + } + + attacker_ai_defeat_worth = { + factor = 100 + } + + defender_ai_victory_worth = { + factor = -1 # always accept + } + + defender_ai_defeat_worth = { + factor = 100 + } + + ai_will_do = { + factor = 1 + + modifier = { + factor = 0 # AIs will not take the last counties off their liege's direct vassals + ROOT = { + same_liege = FROM + } + FROM = { + NOT = { + any_demesne_title = { + tier = count + NOT = { title = PREVPREV } + } + } + } + } + } +} + +# 44 +dejure_barony_claim = { + name = CB_NAME_DEJUREBARONYCLAIM + war_name = WAR_NAME_DEJUREBARONYCLAIM + sprite = 16 + truce_days = 3650 + hostile_against_others = yes + is_permanent = yes + check_de_jure_tier = COUNT + can_ask_to_join_war = no + allowed_to_target_tributaries = no + allowed_to_target_suzerains = no + + infamy_modifier = 0.5 + + can_use = { + FROM = { + NOT = { is_vassal_or_below = ROOT } + OR = { + holy_order = no + NOT = { religion = ROOT } + NOT = { has_dlc = "Sons of Abraham" } + OR = { + AND = { + primary_title = { title = d_knights_templar } + ROOT = { + has_character_modifier = expelled_d_knights_templar + } + } + AND = { + primary_title = { title = d_knights_hospitaler } + ROOT = { + has_character_modifier = expelled_d_knights_hospitaler + } + } + AND = { + primary_title = { title = d_teutonic_order } + ROOT = { + has_character_modifier = expelled_d_teutonic_order + } + } + AND = { + primary_title = { title = d_jomsvikings } + ROOT = { + has_character_modifier = expelled_d_jomsvikings + } + } + AND = { + primary_title = { title = d_hashshashin } + ROOT = { + has_character_modifier = expelled_d_hashshashin + } + } + AND = { + primary_title = { title = d_bektashi } + ROOT = { + has_character_modifier = expelled_d_bektashi + } + } + AND = { + primary_title = { title = d_haruriyyah } + ROOT = { + has_character_modifier = expelled_d_haruriyyah + } + } + AND = { + primary_title = { title = d_holy_sepulchre } + ROOT = { + has_character_modifier = expelled_d_holy_sepulchre + } + } + AND = { + primary_title = { title = d_saint_anthony } + ROOT = { + has_character_modifier = expelled_d_saint_anthony + } + } + AND = { + primary_title = { title = d_immortals } + ROOT = { + has_character_modifier = expelled_d_immortals + } + } + AND = { + primary_title = { title = d_zealots } + ROOT = { + has_character_modifier = expelled_d_zealots + } + } + AND = { + primary_title = { title = d_sky_lords } + ROOT = { + has_character_modifier = expelled_d_sky_lords + } + } + AND = { + primary_title = { title = d_spirit_guardians } + ROOT = { + has_character_modifier = expelled_d_spirit_guardians + } + } + AND = { + primary_title = { title = d_warriors_perun } + ROOT = { + has_character_modifier = expelled_d_warriors_perun + } + } + AND = { + primary_title = { title = d_chosen_perkunas } + ROOT = { + has_character_modifier = expelled_d_chosen_perkunas + } + } + AND = { + primary_title = { title = d_sons_kaleva } + ROOT = { + has_character_modifier = expelled_d_sons_kaleva + } + } + AND = { + primary_title = { title = d_huitzilopochtli } + ROOT = { + has_character_modifier = expelled_d_huitzilopochtli + } + } + AND = { + primary_title = { title = d_knights_santiago } + ROOT = { + has_character_modifier = expelled_d_knights_santiago + } + } + AND = { + primary_title = { title = d_knights_calatrava } + ROOT = { + has_character_modifier = expelled_d_knights_calatrava + } + } + AND = { + primary_title = { title = d_saint_addai } + ROOT = { + has_character_modifier = expelled_d_saint_addai + } + } + AND = { + primary_title = { title = d_zun_warriors } + ROOT = { + has_character_modifier = expelled_d_zun_warriors + } + } + } + } + } + } + + can_use_title = { + has_holder = yes + holder_scope = { + OR = { + character = ROOT + is_liege_or_above = ROOT + } + } + any_direct_de_jure_vassal_title = { + holder_scope = { + OR = { + character = FROM + is_liege_or_above = FROM + } + NOR = { + character = ROOT + is_liege_or_above = ROOT + } + } + } + } + + on_success_title = { + holder_scope = { + save_event_target_as = target_taker + } + + any_direct_de_jure_vassal_title = { + limit = { + holder_scope = { + OR = { + character = FROM + is_liege_or_above = FROM + } + NOR = { + character = event_target:target_taker + is_liege_or_above = event_target:target_taker + is_liege_or_above = ROOT + } + } + } + + usurp_title_plus_barony_if_unlanded = { target = event_target:target_taker type = claim } + } + + any_attacker = { + limit = { character = ROOT } + participation_scaled_prestige = 50 + } + any_attacker = { + limit = { NOT = { character = ROOT } } + hidden_tooltip = { participation_scaled_prestige = 50 } + } + } + + on_fail_title = { + ROOT = { + prestige = -50 + } + any_defender = { + limit = { character = FROM } + participation_scaled_prestige = 25 + } + any_defender = { + limit = { NOT = { character = FROM } } + hidden_tooltip = { participation_scaled_prestige = 25 } + } + } + + on_reverse_demand = { + ROOT = { + prestige = -100 + transfer_scaled_wealth = { + to = FROM + value = 4.0 + } + } + any_defender = { + limit = { character = FROM } + participation_scaled_prestige = 50 + } + any_defender = { + limit = { NOT = { character = FROM } } + hidden_tooltip = { participation_scaled_prestige = 50 } + } + } + + attacker_ai_victory_worth = { + factor = -1 # always accept + } + + attacker_ai_defeat_worth = { + factor = 75 + } + + defender_ai_victory_worth = { + factor = -1 # always accept + } + + defender_ai_defeat_worth = { + factor = 75 + } +} + +# 45 - OBSOLETE AND TURNED OFF +other_dejure_barony_claim = { + name = CB_NAME_DEJUREBARONYCLAIM + war_name = WAR_NAME_OTHER_DEJUREBARONYCLAIM + sprite = 16 + truce_days = 3650 + is_permanent = no + + can_use = { + always = no # Obsolete, disabled + } + + is_valid_title = { + always = no + } + + on_success = { + } + + on_success_title = { + } + + on_fail = { + } + + on_reverse_demand = { + } + + attacker_ai_victory_worth = { + factor = -1 # always accept + } + + attacker_ai_defeat_worth = { + factor = 100 + } + + defender_ai_victory_worth = { + factor = -1 # always accept + } + + defender_ai_defeat_worth = { + factor = 100 + } +} + +# 46 +other_dejure_county_claim = { + name = CB_NAME_DEJURECLAIM + war_name = WAR_NAME_OTHER_DEJURECLAIM + sprite = 16 + truce_days = 3650 + hostile_against_others = yes + is_permanent = yes + other_de_jure_claim = yes # Optimization for de jure claims of vassals + press_claim = yes + can_ask_to_join_war = no + + allowed_to_target_tributaries = no + allowed_to_target_suzerains = no + + infamy_modifier = 0.3 + + can_use = { + NOT = { + character = ROOT + } + + FROM = { + OR = { + holy_order = no + NOT = { religion = ROOT } + NOT = { has_dlc = "Sons of Abraham" } + OR = { + AND = { + primary_title = { title = d_knights_templar } + ROOT = { + has_character_modifier = expelled_d_knights_templar + } + } + AND = { + primary_title = { title = d_knights_hospitaler } + ROOT = { + has_character_modifier = expelled_d_knights_hospitaler + } + } + AND = { + primary_title = { title = d_teutonic_order } + ROOT = { + has_character_modifier = expelled_d_teutonic_order + } + } + AND = { + primary_title = { title = d_jomsvikings } + ROOT = { + has_character_modifier = expelled_d_jomsvikings + } + } + AND = { + primary_title = { title = d_hashshashin } + ROOT = { + has_character_modifier = expelled_d_hashshashin + } + } + AND = { + primary_title = { title = d_bektashi } + ROOT = { + has_character_modifier = expelled_d_bektashi + } + } + AND = { + primary_title = { title = d_haruriyyah } + ROOT = { + has_character_modifier = expelled_d_haruriyyah + } + } + AND = { + primary_title = { title = d_holy_sepulchre } + ROOT = { + has_character_modifier = expelled_d_holy_sepulchre + } + } + AND = { + primary_title = { title = d_saint_anthony } + ROOT = { + has_character_modifier = expelled_d_saint_anthony + } + } + AND = { + primary_title = { title = d_immortals } + ROOT = { + has_character_modifier = expelled_d_immortals + } + } + AND = { + primary_title = { title = d_zealots } + ROOT = { + has_character_modifier = expelled_d_zealots + } + } + AND = { + primary_title = { title = d_sky_lords } + ROOT = { + has_character_modifier = expelled_d_sky_lords + } + } + AND = { + primary_title = { title = d_spirit_guardians } + ROOT = { + has_character_modifier = expelled_d_spirit_guardians + } + } + AND = { + primary_title = { title = d_warriors_perun } + ROOT = { + has_character_modifier = expelled_d_warriors_perun + } + } + AND = { + primary_title = { title = d_chosen_perkunas } + ROOT = { + has_character_modifier = expelled_d_chosen_perkunas + } + } + AND = { + primary_title = { title = d_sons_kaleva } + ROOT = { + has_character_modifier = expelled_d_sons_kaleva + } + } + AND = { + primary_title = { title = d_huitzilopochtli } + ROOT = { + has_character_modifier = expelled_d_huitzilopochtli + } + } + AND = { + primary_title = { title = d_knights_santiago } + ROOT = { + has_character_modifier = expelled_d_knights_santiago + } + } + AND = { + primary_title = { title = d_knights_calatrava } + ROOT = { + has_character_modifier = expelled_d_knights_calatrava + } + } + AND = { + primary_title = { title = d_saint_addai } + ROOT = { + has_character_modifier = expelled_d_saint_addai + } + } + AND = { + primary_title = { title = d_zun_warriors } + ROOT = { + has_character_modifier = expelled_d_zun_warriors + } + } + } + } + } + + mercenary = no + } + + can_use_title = { + tier = count + dejure_liege_title = { + has_holder = yes + ROOT = { + has_landed_title = PREV + } + } + + holder_scope = { + NOR = { + character = ROOT + character = FROMFROM + is_liege_or_above = ROOT + is_liege_or_above = FROMFROM # The potential attacker + } + } + + OR = { + FROM = { + has_landed_title = PREV + } + holder_scope = { + is_liege_or_above = FROM + } + } + } + + is_valid_title = { + OR = { + FROM = { + has_landed_title = PREV + } + holder_scope = { + is_liege_or_above = FROM + } + } + } + + on_success = { + ROOT = { + opinion = { + modifier = pressed_my_claim + who = PREV + } + } + any_attacker = { + limit = { character = ROOT } + participation_scaled_prestige = 100 + } + any_attacker = { + limit = { NOT = { character = ROOT } } + hidden_tooltip = { participation_scaled_prestige = 100 } + } + } + + on_success_title = { + if = { + limit = { + holder_scope = { + tier = count + NOT = { + num_of_count_titles = 2 + } + } + } + + holder_scope = { + set_defacto_liege = ROOT + } + } + + if = { + limit = { + holder_scope = { + OR = { + higher_tier_than = count + num_of_count_titles = 2 + } + } + } + + usurp_title_plus_barony_if_unlanded = { target = ROOT type = claim } + any_de_jure_vassal_title = { # take all baronies under the one we're fighting for + limit = { + has_holder = yes + NOT = { + de_facto_liege = PREV + } + holder_scope = { + OR = { + character = FROM + is_liege_or_above = FROM + } + } + } + + usurp_title_plus_barony_if_unlanded = { target = ROOT type = claim } + } + } + } + + on_fail = { + prestige = -50 + ROOT = { + prestige = -100 + } + any_defender = { + limit = { character = FROM } + participation_scaled_prestige = 50 + } + any_defender = { + limit = { NOT = { character = FROM } } + hidden_tooltip = { participation_scaled_prestige = 50 } + } + } + + on_reverse_demand = { + prestige = -100 + transfer_scaled_wealth = { + to = FROM + value = 4.0 + } + ROOT = { + prestige = -200 + } + any_defender = { + limit = { character = FROM } + participation_scaled_prestige = 100 + } + any_defender = { + limit = { NOT = { character = FROM } } + hidden_tooltip = { participation_scaled_prestige = 100 } + } + } + + attacker_ai_victory_worth = { + factor = -1 # always accept + } + + attacker_ai_defeat_worth = { + factor = 100 + } + + defender_ai_victory_worth = { + factor = -1 # always accept + } + + defender_ai_defeat_worth = { + factor = 100 + } +} + +# The special CB for the Rise of the Shi'a Caliphate +shia_caliphate_rising = { + name = CB_NAME_SHIA_CALIPHATE_RISING + war_name = WAR_NAME_SHIA_CALIPHATE_RISING + sprite = 8 + truce_days = 365 + hostile_against_others = no + check_de_jure_tier = KING # this scans all de jure kingdoms for the counties which are held by or vassals(or below) of selected character + apply_short_occ_mod = no # Do not apply the 'recently_conquered' modifier to Holdings + + can_use = { + ROOT = { + has_character_flag = shia_caliphate_pretender + } + } + + is_valid_title = { + ROOT = { + has_character_flag = shia_caliphate_pretender + } + FROM = { + any_realm_title = { + de_jure_liege_or_above = PREVPREV + } + } + d_shiite = { + has_holder = no + } + } + + on_success = { + clr_global_flag = shia_caliphate_revolt_ongoing + ROOT = { + piety = 500 + religion_authority = { + modifier = rise_of_the_shia_caliphate + } + clr_character_flag = shia_caliphate_pretender + } + FROM = { + piety = -500 + } + } + + on_success_title = { + custom_tooltip = { + text = tribal_invasion_succ_tip + hidden_tooltip = { + d_shiite = { + usurp_title = { target = ROOT type = holy_war } + } + FROM = { + random_realm_province = { + limit = { + de_jure_liege_or_above = PREVPREV + NOT = { religion = ROOT } + religion_group = muslim + } + religion = ROOT + } + random_realm_province = { + limit = { + de_jure_liege_or_above = PREVPREV + NOT = { religion = ROOT } + religion_group = muslim + } + religion = ROOT + } + random_realm_province = { + limit = { + de_jure_liege_or_above = PREVPREV + NOT = { religion = ROOT } + religion_group = muslim + } + religion = ROOT + } + random_realm_province = { + limit = { + de_jure_liege_or_above = PREVPREV + NOT = { religion = ROOT } + religion_group = muslim + } + religion = ROOT + } + random_realm_province = { + limit = { + de_jure_liege_or_above = PREVPREV + NOT = { religion = ROOT } + religion_group = muslim + } + religion = ROOT + } + } + ROOT = { + occupy_minors_of_occupied_settlements = FROM + gain_all_occupied_titles = { who = FROM type = revolt } + if = { + limit = { + PREV = { + OR = { + has_holder = no + holder_scope = { + character = FROM + } + } + } + } + usurp_title = { target = PREV type = revolt } + } + if = { + limit = { + NOT = { + ROOT = { + any_demesne_title = { + tier = KING + } + } + } + } + create_title = { + tier = KING + landless = no + temporary = no + custom_created = yes + culture = ROOT + holder = ROOT + name = "SHIA_CUSTOM_FALLBACK" + base_title = PREV + copy_title_laws = yes + } + } + + vassalize_or_take_under_title = { + title = PREV + enemy = FROM + is_religious = yes + type = revolt + } + + any_demesne_title = { + limit = { tier = BARON } + remove_holding_modifier = recently_conquered + refill_holding_levy = yes + } + wealth = 500 + } + + if = { + limit = { + FROM = { is_liege_or_above = ROOT } + } + FROM = { imprison = ROOT } + } + } + } + } + + on_fail = { + clr_global_flag = shia_caliphate_revolt_ongoing + FROM = { + piety = 250 + } + ROOT = { + piety = -250 + clr_character_flag = shia_caliphate_pretender + } + } + + on_reverse_demand = { + clr_global_flag = shia_caliphate_revolt_ongoing + ROOT = { + piety = -500 + clr_character_flag = shia_caliphate_pretender + imprison = FROM + } + FROM = { + piety = 250 + } + any_defender = { + limit = { character = FROM } + participation_scaled_piety = 250 + } + any_defender = { + limit = { NOT = { character = FROM } } + hidden_tooltip = { participation_scaled_piety = 250 } + } + } + + on_attacker_leader_death = { + clr_global_flag = shia_caliphate_revolt_ongoing + ROOT = { + clr_character_flag = shia_caliphate_pretender + } + end_war = invalid + } + + on_invalidation = { + clr_global_flag = shia_caliphate_revolt_ongoing + } + + attacker_ai_victory_worth = { + factor = 200 + } + + attacker_ai_defeat_worth = { + factor = 100 + } + + defender_ai_victory_worth = { + factor = -1 # always accept + } + + defender_ai_defeat_worth = { + factor = 100 + } +} + +depose_antipope = { + name = CB_NAME_DEPOSE_ANTIPOPE + war_name = WAR_NAME_DEPOSE_ANTIPOPE + sprite = 11 + truce_days = 3650 + is_permanent = yes + can_ask_to_join_war = yes + + attacker_rel_head_is_ally = yes # The attacker can call his (main) Pope into the war + allowed_to_target_tributaries = no + allowed_to_target_suzerains = no + + can_use = { + ROOT = { + religion = FROM + OR = { + religion = catholic + religion = fraticelli + } + rightful_religious_head_scope = { + NOT = { has_claim = k_papal_state } + NOT = { has_claim = d_fraticelli } + } + mercenary = no + } + FROM = { + rightful_religious_head_scope = { + is_liege_or_above = PREV + OR = { + has_claim = k_papal_state + has_claim = d_fraticelli + } + } + } + } + + is_valid = { + ROOT = { + religion = FROM + OR = { + religion = catholic + religion = fraticelli + } + rightful_religious_head_scope = { + NOT = { has_claim = k_papal_state } + NOT = { has_claim = d_fraticelli } + } + } + FROM = { + rightful_religious_head_scope = { + is_liege_or_above = PREV + OR = { + has_claim = k_papal_state + has_claim = d_fraticelli + } + } + } + } + + on_success = { + any_attacker = { + limit = { character = ROOT } + participation_scaled_piety = 500 + participation_scaled_prestige = 250 + } + any_attacker = { + limit = { NOT = { character = ROOT } } + hidden_tooltip = { + participation_scaled_piety = 500 + participation_scaled_prestige = 250 + } + } + + ROOT = { + religion_authority = { + modifier = deposed_antipope + years = 50 + } + + if = { + limit = { + rightful_religious_head_scope = { + ROOT = { + excommunicated_for = PREV + } + } + } + excommunicate = no + } + + rightful_religious_head_scope = { + opinion = { + who = ROOT + modifier = opinion_deposed_antipope + } + } + } + + FROM = { + piety = -500 + prestige = -250 + + rightful_religious_head_scope = { + remove_claim = k_papal_state + remove_claim = d_fraticelli + } + } + } + + on_fail = { + ROOT = { + piety = -250 + prestige = -125 + } + FROM = { + piety = 100 + prestige = 50 + } + } + + on_reverse_demand = { + ROOT = { + transfer_scaled_wealth = { + to = FROM + value = 4.0 + } + piety = -500 + prestige = -250 + } + + FROM = { + piety = 500 + prestige = 250 + } + } + + attacker_ai_victory_worth = { + factor = -1 # always accept + } + + attacker_ai_defeat_worth = { + factor = 100 + } + + defender_ai_victory_worth = { + factor = -1 # always accept + } + + defender_ai_defeat_worth = { + factor = 100 + } +} + +# Faction cb to install antiking +cb_install_antiking = { + name = CB_NAME_INSTALL_ANTIKING + war_name = WAR_NAME_INSTALL_ANTIKING + sprite = 11 + truce_days = 3650 + + major_revolt = yes + attacker_can_call_allies = no + + attacker_rel_head_is_ally = yes # The attacker can call his (main) Pope into the war + + can_use = { + ROOT = { + vassal_of = FROM + religion = FROM + OR = { + religion = catholic + religion = fraticelli + } + } + } + + is_valid_title = { + NOT = { + holder_scope = { + character = ROOT + } + } + } + is_valid = { + ROOT = { + religion = FROM + OR = { + religion = catholic + religion = fraticelli + } + } + + ROOT = { + OR = { + liege = { + character = PREV # either independent + } + liege = { + FROM = { + is_liege_or_above = PREV # or have shared liege + } + } + } + } + } + + on_success = { + any_attacker = { + limit = { character = ROOT } + participation_scaled_piety = 500 + participation_scaled_prestige = 250 + } + any_attacker = { + limit = { NOT = { character = ROOT } } + hidden_tooltip = { + participation_scaled_piety = 500 + participation_scaled_prestige = 250 + } + } + + ROOT = { + religion_authority = { + modifier = deposed_antipope + years = 50 + } + + if = { + limit = { + religion = catholic + } + k_papal_state = { + holder_scope = { + opinion = { + who = ROOT + modifier = opinion_deposed_antipope + } + } + } + } + if = { + limit = { + religion = fraticelli + } + d_fraticelli = { + holder_scope = { + opinion = { + who = ROOT + modifier = opinion_deposed_antipope + } + } + } + } + } + + FROM = { + piety = -500 + prestige = -250 + + hidden_tooltip = { + rightful_religious_head_scope = { + remove_claim = k_papal_state + remove_claim = d_fraticelli + } + } + + primary_title = { + usurp_title = { target = ROOT type = revolt } + } + } + if = { + limit = { primary_title = { has_law = investiture_law_1 } } + primary_title = { add_law_w_cooldown = investiture_law_0 } + } + } + + on_fail = { + ROOT = { + piety = -250 + prestige = -125 + cancel_plot = plot_gain_title + } + FROM = { + piety = 100 + prestige = 50 + } + } + + on_invalidation = { + ROOT = { + cancel_plot = plot_gain_title + } + } + + + on_reverse_demand = { + ROOT = { + transfer_scaled_wealth = { + to = FROM + value = 4.0 + } + piety = -500 + prestige = -250 + prisoner = FROM + cancel_plot = plot_gain_title + } + + FROM = { + piety = 500 + prestige = 250 + } + } + + attacker_ai_victory_worth = { + factor = -1 # always accept + } + + attacker_ai_defeat_worth = { + factor = 100 + } + + defender_ai_victory_worth = { + factor = -1 # always accept + } + + defender_ai_defeat_worth = { + factor = 100 + } +} + +buddhist_holy_war = { + name = CB_NAME_RELIGIOUS + war_name = WAR_NAME_RELIGIOUS + sprite = 9 + truce_days = 1825 + hostile_against_others = yes + is_permanent = yes + check_all_titles = yes # if permanent, setting this to true will check against all of someones titles, including vassal held titles + press_claim = yes + can_ask_to_join_war = no + allowed_to_target_tributaries = no + allowed_to_target_suzerains = no + + can_use = { + ROOT = { + religion = buddhist + NOT = { same_realm = FROM } + OR = { + NOT = { religion_group = FROM } + AND = { + religion_group = FROM + FROM = { + has_character_modifier = known_satanist + } + NOT = { + has_character_modifier = known_satanist + } + } + } + top_liege = { + religion_group = ROOT + OR = { + NOT = { religion = FROM } + AND = { + religion_group = FROM + FROM = { + has_character_modifier = known_satanist + } + NOT = { + has_character_modifier = known_satanist + } + ROOT = { + NOT = { + has_character_modifier = known_satanist + } + } + } + } + } + mercenary = no + is_nomadic = no + } + } + + can_use_title = { + tier = count + + # The attacker needs a border or be at the most two sea zones away + location = { + any_neighbor_province = { + OR = { + AND = { + has_owner = yes + owner = { + OR = { + character = ROOT + is_liege_or_above = ROOT + } + } + } + AND = { + is_land = no + any_neighbor_province = { + OR = { + AND = { + has_owner = yes + owner = { + OR = { + character = ROOT + is_liege_or_above = ROOT + } + } + } + AND = { + is_land = no + any_neighbor_province = { + owner = { + OR = { + character = ROOT + is_liege_or_above = ROOT + } + } + } + } + } + } + } + } + } + } + } + + is_valid = { + ROOT = { + religion = buddhist + NOT = { same_realm = FROM } + OR = { + NOT = { religion_group = FROM } + AND = { + religion_group = FROM + FROM = { + has_character_modifier = known_satanist + } + NOT = { + has_character_modifier = known_satanist + } + } + } + top_liege = { + OR = { + NOT = { religion = FROM } + AND = { + religion_group = FROM + FROM = { + has_character_modifier = known_satanist + } + NOT = { + has_character_modifier = known_satanist + } + ROOT = { + NOT = { + has_character_modifier = known_satanist + } + } + } + } + } + } + } + + on_success_title = { + if = { + limit = { + holder_scope = { + tier = count + NOT = { num_of_count_titles = 2 } + lower_tier_than = ROOT + } + } + + holder_scope = { + set_defacto_liege = ROOT + } + } + + if = { + limit = { + holder_scope = { + OR = { + higher_tier_than = count + num_of_count_titles = 2 + NOT = { lower_tier_than = ROOT } + } + } + } + + usurp_title_plus_barony_if_unlanded = { target = ROOT type = holy_war } + any_de_jure_vassal_title = { # take all baronies under the one we're fighting for + limit = { + has_holder = yes + NOT = { + de_facto_liege = PREV + } + holder_scope = { + OR = { + character = FROM + is_liege_or_above = FROM + } + } + } + + usurp_title_plus_barony_if_unlanded = { target = ROOT type = holy_war } + } + } + any_attacker = { + limit = { character = ROOT } + participation_scaled_prestige = 100 + } + any_attacker = { + limit = { NOT = { character = ROOT } } + hidden_tooltip = { participation_scaled_prestige = 100 } + } + } + + on_fail_title = { + ROOT = { + prestige = -100 + } + any_defender = { + limit = { character = FROM } + participation_scaled_prestige = 50 + } + any_defender = { + limit = { NOT = { character = FROM } } + hidden_tooltip = { participation_scaled_prestige = 50 } + } + } + + on_reverse_demand = { + ROOT = { + prestige = -200 + transfer_scaled_wealth = { + to = FROM + value = 4.0 + } + } + any_defender = { + limit = { character = FROM } + participation_scaled_prestige = 100 + } + any_defender = { + limit = { NOT = { character = FROM } } + hidden_tooltip = { participation_scaled_prestige = 100 } + } + } + + attacker_ai_victory_worth = { + factor = -1 # always accept + } + + attacker_ai_defeat_worth = { + factor = 100 + } + + defender_ai_victory_worth = { + factor = -1 # always accept + } + + defender_ai_defeat_worth = { + factor = 100 + } +} + +# 51: The Indian religions can subjugate each other +indian_subjugation = { + name = CB_NAME_PAGAN_SUBJUGATION + war_name = WAR_NAME_PAGAN_SUBJUGATION + sprite = 8 + truce_days = 365 + hostile_against_others = yes + is_permanent = yes + can_ask_to_join_war = yes + check_de_jure_tier = KING # this scans all de jure kingdoms for the counties which are held by or vassals(or below) of selected character. Only valid if is_permanent = yes + allowed_to_target_tributaries = no + allowed_to_target_suzerains = no + + can_use_gui = { + ROOT = { + piety = 500 + } + } + + on_add = { + ROOT = { piety = -500 } + } + + can_use = { + ROOT = { + religion_group = indian_group + NOT = { same_realm = FROM } + NOT = { is_liege_or_above = FROM } + has_horde_culture = no # Should use tribal invasion instead + is_nomadic = no + mercenary = no + } + FROM = { + religion_group = indian_group + culture_group = ROOT + NOT = { + any_war = { + defender = { character = PREVPREV } + using_cb = indian_subjugation + } + } + } + } + + can_use_title = { + ROOT = { + OR = { + NOT = { has_character_modifier = launched_subjugation } + AND = { + has_ambition = obj_become_king + capital_scope = { + kingdom = { + title = PREVPREVPREV + } + } + } + } + } + + FROM = { + any_realm_title = { + de_jure_liege_or_above = PREVPREV + } + } + } + + is_valid_title = { + FROM = { + any_realm_title = { + de_jure_liege_or_above = PREVPREV + } + } + } + + on_add_title = { + ROOT = { + if = { + limit = { + OR = { + NOT = { has_ambition = obj_become_king } + capital_scope = { + kingdom = { + NOT = { title = PREVPREVPREV } + } + } + } + } + add_character_modifier = { + name = launched_subjugation + years = 100 + hidden = yes + } + } + } + } + + on_success = { + any_attacker = { + limit = { character = ROOT } + participation_scaled_prestige = 200 + } + any_attacker = { + limit = { NOT = { character = ROOT } } + hidden_tooltip = { participation_scaled_prestige = 200 } + } + FROM = { + prestige = -200 + } + } + + on_success_title = { + # Usurp the target kingdom itself, if the enemy holds it + if = { + limit = { + holder_scope = { + character = FROM + } + NOT = { ROOT = { tier = EMPEROR } } + } + ROOT = { usurp_title = { target = PREV type = invasion } } + } + + if = { + # Take the enemy's duchies within the target kingdom, if we are the same or lower tier + limit = { + ROOT = { + NOT = { higher_tier_than = FROM } + } + } + FROM = { + any_demesne_title = { + limit = { + tier = DUKE + OR = { + title = PREVPREV + de_jure_liege_or_above = PREVPREV + } + } + ROOT = { usurp_title = { target = PREV type = invasion } } + } + } + } + + # Have I become the vassal of the loser due to taking a duchy or kingdom? + if = { + limit = { + ROOT = { + is_liege_or_above = FROM + } + } + ROOT = { + set_defacto_liege = ROOT + } + } + + # Vassalize the rest + custom_tooltip = { + text = pagan_subjugation_tip + hidden_tooltip = { + ROOT = { + subjugate_or_take_under_title = { # If the target only has territory within the kingdom, he is simply vassalized + title = PREV + enemy = FROM + } + } + } + } + } + + on_fail = { + any_defender = { + limit = { character = FROM } + participation_scaled_prestige = 100 + } + any_defender = { + limit = { NOT = { character = FROM } } + hidden_tooltip = { participation_scaled_prestige = 100 } + } + ROOT = { + prestige = -100 + } + } + + on_invalidation = { + ROOT = { + remove_character_modifier = launched_subjugation + } + } + + on_reverse_demand = { + ROOT = { + prestige = -200 + transfer_scaled_wealth = { + to = FROM + value = 2.0 + } + } + any_defender = { + limit = { character = FROM } + participation_scaled_prestige = 200 + } + any_defender = { + limit = { NOT = { character = FROM } } + hidden_tooltip = { participation_scaled_prestige = 200 } + } + } + + attacker_ai_victory_worth = { + factor = -1 # always accept + } + + attacker_ai_defeat_worth = { + factor = 100 + } + + defender_ai_victory_worth = { + factor = -1 # always accept + } + + defender_ai_defeat_worth = { + factor = 100 + } + + ai_will_do = { + factor = 1 + + modifier = { + factor = 0.9 # Prefer using CB's without on_add costs + } + } +} + +# 52: This can be used for various special cases; the great conquerors +manifest_destiny_invasion = { + name = CB_NAME_INVASION + war_name = WAR_NAME_INVASION + sprite = 8 + truce_days = 3650 + hostile_against_others = yes + is_permanent = yes + is_holy_war = yes + can_ask_to_join_war = yes + check_de_jure_tier = KING # this scans all de jure kingdoms for the counties which are held by or vassals(or below) of selected character. Only valid if is_permanent = yes + + can_use = { + ROOT = { + OR = { + AND = { + dynasty = 613 # Seljuks + NOT = { year = 1200 } + } + dynasty = 800 # Timurids + } + } + + ROOT = { + NOT = { is_liege_or_above = FROM } + mercenary = no + } + } + + can_use_title = { + empire = { + OR = { + title = e_persia + title = e_byzantium + title = e_arabia + } + } + + # Target must have at least 3 counties within the target kingdom + FROM = { + num_of_realm_counties = { + value = 3 + title = PREV + } + } + + # The attacker needs at least one county in the target kingdom, or a border + any_direct_de_jure_vassal_title = { + any_direct_de_jure_vassal_title = { + OR = { + holder_scope = { + OR = { + character = ROOT + is_liege_or_above = ROOT + } + } + location = { + any_neighbor_province = { + owner = { + OR = { + character = ROOT + is_liege_or_above = ROOT + } + } + } + } + } + } + } + } + + is_valid = { + always = yes + } + + is_valid_title = { + FROM = { + any_realm_title = { + de_jure_liege_or_above = PREVPREV + } + } + } + + on_success = { + ROOT = { + prestige = 200 + + hidden_tooltip = { + if = { + limit = { + has_nickname = no + } + random_list = { + 10 = { give_nickname = nick_the_great } + 10 = { give_nickname = nick_the_magnificent } + 10 = { give_nickname = nick_the_glorious } + 10 = { give_nickname = nick_the_conqueror } + } + } + } + } + + any_attacker = { + limit = { character = ROOT } + participation_scaled_prestige = 200 + + if = { + limit = { + uses_decadence = yes + FROM = { NOT = { uses_decadence = yes } } + } + participation_scaled_decadence = -20 + } + } + any_attacker = { + limit = { NOT = { character = ROOT } } + hidden_tooltip = { + participation_scaled_prestige = 200 + if = { + limit = { + uses_decadence = yes + FROM = { NOT = { uses_decadence = yes } } + } + participation_scaled_decadence = -20 + } + } + } + FROM = { + prestige = -200 + } + } + + on_success_title = { + custom_tooltip = { + text = other_invasion_succ_tip + hidden_tooltip = { + ROOT = { + vassalize_or_take_under_title_destroy_duchies = { + title = PREV + enemy = FROM + is_crusade = yes # Even if the kingdom title holder is not participating in the war, gain holdings occupied by all participants + type = invasion + } + } + } + } + } + + on_fail = { + FROM = { + prestige = 100 + } + FROM = { + if = { + limit = { + has_dlc = "Legacy of Rome" + OR = { + has_landed_title = e_byzantium + has_landed_title = e_roman_empire + } + religion_group = christian + } + hidden_tooltip = { character_event = { id = LoR.30 days = 12 } } + } + } + any_defender = { + limit = { character = FROM } + participation_scaled_prestige = 100 + } + any_defender = { + limit = { NOT = { character = FROM } } + hidden_tooltip = { participation_scaled_prestige = 100 } + } + ROOT = { + prestige = -200 + } + } + + on_reverse_demand = { + ROOT = { + prestige = -200 + transfer_scaled_wealth = { + to = FROM + value = 4.0 + } + decadence = 10 + } + FROM = { + prestige = 200 + } + FROM = { + if = { + limit = { + has_dlc = "Legacy of Rome" + OR = { + has_landed_title = e_byzantium + has_landed_title = e_roman_empire + } + religion_group = christian + } + hidden_tooltip = { character_event = { id = LoR.30 days = 12 } } + } + } + any_defender = { + limit = { character = FROM } + participation_scaled_prestige = 200 + } + any_defender = { + limit = { NOT = { character = FROM } } + hidden_tooltip = { participation_scaled_prestige = 200 } + } + } + + attacker_ai_victory_worth = { + factor = 100 + } + + attacker_ai_defeat_worth = { + factor = 100 + } + + defender_ai_victory_worth = { + factor = -1 # always accept + } + + defender_ai_defeat_worth = { + factor = 150 + } + + ai_will_do = { + factor = 10 + } +} + +# 53: Decadence Usurption +cb_decadence_usurption = { + name = CB_NAME_DECADENCE_USURPTION + war_name = WAR_NAME_DECADENCE_USURPTION + sprite = 11 + truce_days = 3650 + is_permanent = yes + allowed_to_target_tributaries = no + allowed_to_target_suzerains = no + + can_use = { + ROOT = { + religion_group = muslim + } + + FROM = { + religion_group = muslim + trait = decadent + dynasty = ROOT + + OR = { + liege = { + character = PREV # either independent + } + liege = { + ROOT = { + is_liege_or_above = PREV # or have shared liege + } + } + } + } + + ROOT = { + mercenary = no + } + } + + is_valid = { + FROM = { + OR = { + liege = { + character = PREV # either independent + } + liege = { + ROOT = { + is_liege_or_above = PREV # or have shared liege + } + } + } + } + } + + on_success = { + any_attacker = { + limit = { character = ROOT } + participation_scaled_piety = 500 + participation_scaled_prestige = 250 + } + any_attacker = { + limit = { NOT = { character = ROOT } } + hidden_tooltip = { + participation_scaled_piety = 500 + participation_scaled_prestige = 250 + } + } + FROM = { + prisoner = ROOT + } + } + + on_success_title = { + usurp_title_plus_barony_if_unlanded = { target = ROOT type = invasion } + } + + on_fail = { + ROOT = { + piety = -250 + prestige = -125 + } + FROM = { + piety = 100 + prestige = 50 + } + } + + on_reverse_demand = { + ROOT = { + transfer_scaled_wealth = { + to = FROM + value = 2.0 + } + piety = -500 + prestige = -250 + } + + FROM = { + piety = 500 + prestige = 250 + } + } + + attacker_ai_victory_worth = { + factor = -1 # always accept + } + + attacker_ai_defeat_worth = { + factor = 100 + } + + defender_ai_victory_worth = { + factor = -1 # always accept + } + + defender_ai_defeat_worth = { + factor = 100 + } +} + +# 54 +rivalry_cb = { + name = CB_NAME_RIVALRY + war_name = WAR_NAME_RIVALRY + sprite = 7 + truce_days = 3650 + is_permanent = yes + can_ask_to_join_war = no + allowed_to_target_tributaries = no + allowed_to_target_suzerains = no + + can_use = { + ROOT = { + is_rival = FROM + } + FROM = { + NOT = { + has_opinion_modifier = { + who = ROOT + modifier = opinion_humiliated_rival + } + } + } + } + + is_valid = { + ROOT = { + is_rival = FROM + } + } + + on_success = { + any_attacker = { + limit = { character = ROOT } + participation_scaled_prestige = 250 + } + any_attacker = { + limit = { NOT = { character = ROOT } } + hidden_tooltip = { + participation_scaled_prestige = 250 + } + } + + ROOT = { + if = { + limit = { + ai = no + FROM = { + any_sibling = { + character = ROOT + } + } + } + set_character_flag = achievement_sibling_rival_war + } + remove_opinion = { + who = FROM + modifier = opinion_humiliated_rival + } + } + + FROM = { + prestige = -250 + + imprison = ROOT + opinion = { + modifier = opinion_humiliated_rival + who = ROOT + years = 150 + } + } + } + + on_fail = { + ROOT = { + prestige = -125 + } + FROM = { + prestige = 50 + } + } + + on_reverse_demand = { + any_defender = { + limit = { character = FROM } + participation_scaled_prestige = 250 + } + any_defender = { + limit = { NOT = { character = FROM } } + hidden_tooltip = { + participation_scaled_prestige = 250 + } + } + ROOT = { + prestige = -250 + imprison = FROM + opinion = { + modifier = opinion_humiliated_rival + who = FROM + years = 150 + } + } + + FROM = { + remove_opinion = { + who = ROOT + modifier = opinion_humiliated_rival + } + if = { + limit = { + ai = no + ROOT = { + any_sibling = { + character = PREVPREV + } + } + } + set_character_flag = achievement_sibling_rival_war + } + } + } + + attacker_ai_victory_worth = { + factor = -1 # always accept + } + + attacker_ai_defeat_worth = { + factor = 100 + } + + defender_ai_victory_worth = { + factor = -1 # always accept + } + + defender_ai_defeat_worth = { + factor = 100 + } +} + +# 55 +tributary_cb = { + name = CB_NAME_TRIBUTARY + war_name = WAR_NAME_TRIBUTARY + sprite = 1 + truce_days = 365 + is_permanent = yes + hostile_against_others = yes + can_ask_to_join_war = no + display_on_map = no + coalition_threat = no + allowed_to_target_tributaries = no + allowed_to_target_suzerains = no + + can_use = { + has_dlc = "Horse Lords" + + ROOT = { + mercenary = no + is_tributary = no + NOT = { is_vassal_or_below = FROM } + NOT = { is_liege_or_above = FROM } + NOT = { + rightful_religious_head_scope = { + character = FROM + } + } + NAND = { + holy_order = yes + religion = FROM + } + } + FROM = { + NAND = { + holy_order = yes + religion = ROOT + } + independent = yes + } + + # The attacker needs a border, or be at most two sea zones away from one of the target's counties + FROM = { + any_realm_province = { + any_neighbor_province = { + OR = { + AND = { + has_owner = yes + owner = { + OR = { + character = ROOT + is_liege_or_above = ROOT + } + } + } + AND = { + is_land = no + any_neighbor_province = { + OR = { + AND = { + has_owner = yes + owner = { + OR = { + character = ROOT + is_liege_or_above = ROOT + } + } + } + AND = { + is_land = no + any_neighbor_province = { + owner = { + OR = { + character = ROOT + is_liege_or_above = ROOT + } + } + } + } + } + } + } + } + } + } + } + + # The defender is not in any tributary war + FROM = { + NOT = + { + any_war = { + using_cb = tributary_cb + } + } + } + } + + is_valid = { + NOT = { + ROOT = { + rightful_religious_head_scope = { + character = FROM + } + } + } + } + + on_success = { + FROM = { + save_event_target_as = target_loser + prestige = -100 + custom_tooltip = { + text = "REMOVE_PREVIOUS_SUZERAIN" + hidden_tooltip = { + any_suzerain = { + event_target:target_loser = { + remove_tributary = PREV + } + } + } + } + } + + ROOT = { + prestige = 200 + make_tributary = { who = FROM percentage = 0.4 } + } + + if = { + limit = { + ROOT = { + uses_decadence = yes + } + } + ROOT = { + decadence = -10 + } + } + if = { + limit = { + ROOT = { + is_nomadic = yes + } + } + ROOT = { + clan_title = { + ROOT = { + any_vassal = { + limit = { is_nomadic = yes } + clan_title = { + clan_opinion = { + who = PREVPREVPREV + modifier = won_tributary_war + years = 5 + } + } + } + } + } + } + } + + if = { + limit = { + ROOT = { + is_tribal = yes + } + } + ROOT = { + any_vassal = { + limit = { is_tribal = yes } + opinion = { + who = PREV + modifier = won_tributary_war + years = 5 + } + } + } + } + } + + on_fail = { + ROOT = { + prestige = -100 + } + FROM = { + prestige = 100 + } + } + + on_reverse_demand = { + ROOT = { + prestige = -200 + transfer_scaled_wealth = { + to = FROM + value = 4.0 + } + } + + FROM = { + prestige = 200 + } + } + + on_attacker_leader_death = { + end_war = invalid + } + + attacker_ai_victory_worth = { + factor = -1 # always accept + } + + attacker_ai_defeat_worth = { + factor = 100 + } + + defender_ai_victory_worth = { + factor = -1 # always accept + } + + defender_ai_defeat_worth = { + factor = 100 + + modifier = { + factor = 2 + FROM = { + trait = proud + } + } + + modifier = { + factor = 2 + FROM = { + trait = brave + } + } + + modifier = { + factor = 2 + FROM = { + trait = greedy + } + } + + modifier = { + factor = 3 + FROM = { + tier = KING + } + } + + modifier = { + factor = 0.85 + ROOT = { + relative_power = { who = FROM power = 1.2 } + } + } + + modifier = { + factor = 0.85 + ROOT = { + relative_power = { who = FROM power = 1.5 } + } + } + + modifier = { + factor = 0.8 + ROOT = { + relative_power = { who = FROM power = 2.0 } + } + } + + modifier = { + factor = 0.8 + ROOT = { + relative_power = { who = FROM power = 2.5 } + } + } + + modifier = { + factor = 0.8 + ROOT = { + relative_power = { who = FROM power = 3 } + } + } + + modifier = { + factor = 0.75 + ROOT = { + relative_power = { who = FROM power = 4 } + } + } + + modifier = { + factor = 0.75 + ROOT = { + relative_power = { who = FROM power = 5 } + } + } + + modifier = { + factor = 0.75 + ROOT = { + relative_power = { who = FROM power = 6 } + } + } + + modifier = { + factor = 0.5 + ROOT = { + relative_power = { who = FROM power = 8 } + } + } + + modifier = { + factor = 0.25 + ROOT = { + relative_power = { who = FROM power = 10 } + } + } + + modifier = { + factor = 2 + ROOT = { + distance_from_realm = { who = FROM value = 20 } + } + } + + modifier = { + factor = 2 + ROOT = { + distance_from_realm = { who = FROM value = 40 } + } + } + + modifier = { + factor = 3 + ROOT = { + distance_from_realm = { who = FROM value = 80 } + } + } + + modifier = { + factor = 4 + ROOT = { + distance_from_realm = { who = FROM value = 120 } + } + } + } + + ai_will_do = { + factor = 1 + + modifier = { + factor = 0.1 # Low prio CB + } + modifier = { + factor = 0.1 # Nomads are the only ones who like using the CB + ROOT = { + is_nomadic = no + } + } + + modifier = { + factor = 0.1 # Target has almost no money + FROM = { + OR = { + is_nomadic = yes + is_tribal = yes + } + } + } + + modifier = { + factor = 4 + ROOT = { + trait = greedy + } + } + } +} + +# 56 +free_tributary_cb = { + name = CB_NAME_FREE_TRIBUTARY + war_name = WAR_NAME_FREE_TRIBUTARY + sprite = 1 + truce_days = 365 + is_permanent = yes + hostile_against_others = yes + can_ask_to_join_war = no + + can_use = { + has_dlc = "Horse Lords" + + ROOT = { + OR = { + AND = { + is_tributary = yes + suzerain = { + OR = { + character = FROM + any_liege = { + character = FROM + } + } + } + } + any_vassal = { + is_tributary = yes + suzerain = { + OR = { + character = FROM + any_liege = { + character = FROM + } + } + } + } + } + } + } + + is_valid = { + ROOT = { + OR = { + AND = { + is_tributary = yes + suzerain = { + OR = { + character = FROM + any_liege = { + character = FROM + } + } + } + } + any_vassal = { + is_tributary = yes + suzerain = { + OR = { + character = FROM + any_liege = { + character = FROM + } + } + } + } + } + } + } + + on_success = { + FROM = { + prestige = -100 + } + + ROOT = { + prestige = 100 + if = { + limit = { + is_tributary = yes + suzerain = { + OR = { + character = FROM + any_liege = { + character = FROM + } + } + } + } + suzerain = { + remove_tributary = PREV + } + } + any_vassal = { + limit = { + is_tributary = yes + suzerain = { + OR = { + character = FROM + any_liege = { + character = FROM + } + } + } + } + suzerain = { + remove_tributary = PREV + } + } + } + } + + on_fail = { + ROOT = { + prestige = -100 + } + FROM = { + prestige = 100 + } + } + + on_reverse_demand = { + ROOT = { + prestige = -100 + transfer_scaled_wealth = { + to = FROM + value = 4.0 + } + } + + FROM = { + prestige = 100 + } + } + + on_attacker_leader_death = { + end_war = invalid + } + + attacker_ai_victory_worth = { + factor = -1 # always accept + } + + attacker_ai_defeat_worth = { + factor = 100 + } + + defender_ai_victory_worth = { + factor = -1 # always accept + } + + defender_ai_defeat_worth = { + factor = 100 + + modifier = { + factor = 1.5 + FROM = { + trait = proud + } + } + + modifier = { + factor = 1.5 + FROM = { + trait = brave + } + } + + modifier = { + factor = 1.5 + FROM = { + trait = greedy + } + } + + modifier = { + factor = 2 + FROM = { + tier = KING + } + } + + modifier = { + factor = 0.80 + ROOT = { + relative_power = { who = FROM power = 1.2 } + } + } + + modifier = { + factor = 0.80 + ROOT = { + relative_power = { who = FROM power = 1.5 } + } + } + + modifier = { + factor = 0.75 + ROOT = { + relative_power = { who = FROM power = 2.0 } + } + } + + modifier = { + factor = 0.75 + ROOT = { + relative_power = { who = FROM power = 2.5 } + } + } + + modifier = { + factor = 0.75 + ROOT = { + relative_power = { who = FROM power = 3 } + } + } + + modifier = { + factor = 0.7 + ROOT = { + relative_power = { who = FROM power = 4 } + } + } + + modifier = { + factor = 0.7 + ROOT = { + relative_power = { who = FROM power = 5 } + } + } + + modifier = { + factor = 0.7 + ROOT = { + relative_power = { who = FROM power = 6 } + } + } + + modifier = { + factor = 0.4 + ROOT = { + relative_power = { who = FROM power = 8 } + } + } + + modifier = { + factor = 0.1 + ROOT = { + relative_power = { who = FROM power = 10 } + } + } + + modifier = { + factor = 5 + ROOT = { + distance_from_realm = { who = FROM value = 20 } + } + } + + modifier = { + factor = 5 + ROOT = { + distance_from_realm = { who = FROM value = 40 } + } + } + + modifier = { + factor = 5 + ROOT = { + distance_from_realm = { who = FROM value = 80 } + } + } + + modifier = { + factor = 5 + ROOT = { + distance_from_realm = { who = FROM value = 120 } + } + } + } + + ai_will_do = { + factor = 1 + + modifier = { + factor = 1.5 + } + + modifier = { + factor = 4 + ROOT = { + trait = greedy + } + } + + modifier = { + factor = 2 + OR = { + ROOT = { + is_nomadic = yes + } + FROM = { + is_nomadic = no + } + } + } + } +} + +# 57 +cb_install_khan = { + name = CB_NAME_INSTALLKHAN + war_name = WAR_NAME_INSTALLKHAN + sprite = 12 + truce_days = 3650 + + is_revolt_cb = no + can_call_vassals = yes + attacker_can_call_allies = no + major_revolt = yes + + can_use = { + has_dlc = "Horse Lords" + + ROOT = { + is_nomadic = yes + } + } + + is_valid = { + ROOT = { + OR = { + liege = { + character = PREV # either independent + } + liege = { + FROM = { + is_liege_or_above = PREV # or have shared liege + } + } + } + any_demesne_title = { + tier = count # has some land + } + } + FROM = { + any_demesne_title = { + NOT = { lower_tier_than = ROOT } + temporary = no + } + } + } + + on_success = { + FROM = { + any_demesne_title = { + limit = { tier = EMPEROR } + gain_title = { target = ROOT type = faction_demand } + } + death = { + death_reason = death_execution + killer = ROOT + } + } + any_attacker = { + limit = { character = ROOT } + participation_scaled_prestige = 250 + } + any_attacker = { + limit = { NOT = { character = ROOT } } + hidden_tooltip = { participation_scaled_prestige = 250 } + } + } + + on_fail = { + ROOT = { + prestige = -100 + } + } + + on_reverse_demand = { + ROOT = { + prestige = -200 + prisoner = FROM + } + any_defender = { + limit = { character = FROM } + participation_scaled_prestige = 50 + } + any_defender = { + limit = { NOT = { character = FROM } } + hidden_tooltip = { participation_scaled_prestige = 50 } + } + } + + attacker_ai_victory_worth = { + factor = -1 # always accept + } + + attacker_ai_defeat_worth = { + factor = 100 + } + + on_defender_leader_death = { + hidden_tooltip = { + any_attacker = { + letter_event = { + id = 251 + } + } + } + + end_war = invalid + } + + defender_ai_victory_worth = { + factor = -1 # always accept + } + + defender_ai_defeat_worth = { + factor = 100 + } +} + +# 58 +nomad_dispute = { + name = CB_NAME_DISPUTE + war_name = CB_NAME_DISPUTE + sprite = 16 + truce_days = 1095 + hostile_against_others = yes + is_permanent = yes + check_all_titles = yes + press_claim = yes + can_ask_to_join_war = no + + allow_distant = yes + + allowed_to_target_tributaries = no + allowed_to_target_suzerains = no + + can_use = { + has_dlc = "Horse Lords" + + FROM = { + is_nomadic = yes + } + ROOT = { + is_nomadic = yes + same_realm = FROM + has_feud_with = FROM + } + + ROOT = { + mercenary = no + } + } + + can_use_title = { + tier = count + location = { + NOT = { num_of_settlements = 1 } + } + FROM = { + has_landed_title = PREV + } + } + + is_valid_title = { + location = { + NOT = { num_of_settlements = 1 } + } + FROM = { + has_landed_title = PREV + } + } + + on_success_title = { + usurp_title_plus_barony_if_unlanded = { target = ROOT type = invasion } + + any_attacker = { + limit = { character = ROOT } + participation_scaled_prestige = 100 + participation_scaled_piety = 50 + } + any_attacker = { + limit = { NOT = { character = ROOT } } + hidden_tooltip = { + participation_scaled_prestige = 100 + participation_scaled_piety = 50 + } + } + } + + on_fail_title = { + ROOT = { + prestige = -100 + } + any_defender = { + limit = { character = FROM } + participation_scaled_prestige = 50 + } + any_defender = { + limit = { NOT = { character = FROM } } + hidden_tooltip = { participation_scaled_prestige = 50 } + } + } + + on_reverse_demand = { + ROOT = { + prestige = -200 + transfer_scaled_wealth = { + to = FROM + value = 4.0 + } + } + any_defender = { + limit = { character = FROM } + participation_scaled_prestige = 100 + participation_scaled_piety = 50 + } + any_defender = { + limit = { NOT = { character = FROM } } + hidden_tooltip = { + participation_scaled_prestige = 100 + participation_scaled_piety = 50 + } + } + } + + attacker_ai_victory_worth = { + factor = -1 # always accept + } + + attacker_ai_defeat_worth = { + factor = 100 + } + + defender_ai_victory_worth = { + factor = -1 # always accept + } + + defender_ai_defeat_worth = { + factor = 100 + } + + ai_will_do = { + factor = 2 + } + +} + +# 59: CB for non-nomads to seize a duchy off a nomad horde +cb_liberate_nomad_duchy = { + name = CB_NAME_LIBERATE_NOMAD + war_name = WAR_NAME_LIBERATE_NOMAD + sprite = 8 + truce_days = 3650 + is_permanent = yes + check_de_jure_tier = DUKE # this scans all dejure duchies for the counties which are held by or vassals(or below) of selected character. Only valid if is_permanent = yes + + allowed_to_target_tributaries = no + allowed_to_target_suzerains = no + + infamy_modifier = 0.75 + + can_use = { + FROM = { + is_nomadic = yes + } + ROOT = { + is_nomadic = no + NOT = { pacifist = yes } + NOT = { same_realm = FROM } + mercenary = no + } + } + + can_use_title = { + # The attacker needs at least one county in the target kingdom, or a border, or be only two sea zones away from one of your counties + any_direct_de_jure_vassal_title = { + OR = { + holder_scope = { + OR = { + character = ROOT + is_liege_or_above = ROOT + } + } + location = { + any_neighbor_province = { + has_owner = yes + owner = { + OR = { + character = ROOT + is_liege_or_above = ROOT + } + } + } + } + } + } + } + + is_valid = { + FROM = { + is_nomadic = yes + } + ROOT = { + is_nomadic = no + NOT = { pacifist = yes } + NOT = { same_realm = FROM } + mercenary = no + } + } + + on_success = { + any_attacker = { + limit = { character = ROOT } + participation_scaled_prestige = 200 + if = { + limit = { + uses_decadence = yes + } + participation_scaled_decadence = -10 + } + } + any_attacker = { + limit = { NOT = { character = ROOT } } + hidden_tooltip = { + participation_scaled_prestige = 200 + if = { + limit = { + uses_decadence = yes + } + participation_scaled_decadence = -10 + } + } + } + + FROM = { prestige = -200 } + } + + on_success_title = { + custom_tooltip = { + text = liberate_nomad_cb_succ_tip + hidden_tooltip = { + ROOT = { + vassalize_or_take_under_title = { + title = PREV + enemy = FROM + anti_nomad = yes # Vassalize non-nomadic rulers + type = invasion + } + } + } + } + } + + on_fail = { + ROOT = { + prestige = -200 + } + } + + on_reverse_demand = { + ROOT = { + transfer_scaled_wealth = { + to = FROM + value = 4.0 + } + prestige = -200 + } + any_defender = { + limit = { character = FROM } + participation_scaled_prestige = 300 + if = { + limit = { + uses_decadence = yes + } + participation_scaled_decadence = -10 + } + } + any_defender = { + limit = { NOT = { character = FROM } } + hidden_tooltip = { + participation_scaled_prestige = 300 + if = { + limit = { + uses_decadence = yes + } + participation_scaled_decadence = -10 + } + } + } + } + + attacker_ai_victory_worth = { + factor = -1 # always accept + } + + attacker_ai_defeat_worth = { + factor = 100 + } + + defender_ai_victory_worth = { + factor = -1 # always accept + } + + defender_ai_defeat_worth = { + factor = 100 + } + + ai_will_do = { + factor = 1 + modifier = { + factor = 0.1 + NOT = { + any_direct_de_jure_vassal_title = { + any_direct_de_jure_vassal_title = { + OR = { + holding_type = castle + holding_type = city + } + } + } + } + } + } +} + +# 60: The CB used by "Minor Clan" revolters in Horse Lords +cb_minor_clan_revolt = { + name = CB_NAME_MINOR_CLAN_REVOLT + war_name = WAR_NAME_MINOR_CLAN_REVOLT + sprite = 16 + truce_days = 365 + hostile_against_others = no + is_permanent = yes + check_all_titles = yes # if permanent, setting this to true will check against all of someones titles, including vassal held titles + press_claim = yes + + attacker_can_call_allies = no + defender_can_call_allies = no + can_ask_to_join_war = no + + is_independence = yes + + can_use = { + ROOT = { + primary_title = { temporary = yes } # Revolter or adventurer trigger + war = no + NOT = { is_liege_or_above = FROM } + mercenary = no + } + } + + can_use_title = { + tier = count + } + + is_valid_title = { + OR = { + FROM = { + has_landed_title = PREV + } + holder_scope = { + is_liege_or_above = FROM + } + } + } + + on_success_title = { + usurp_title_plus_barony_if_unlanded = { target = ROOT type = revolt } + + ROOT = { + primary_title = { + set_title_nomad = { title = THIS status = no } + } + + set_government_type = feudal_government + } + + ROOT = { + set_government_type = nomadic_government + set_defacto_liege = FROM + + hidden_tooltip = { + remove_opinion = { + who = FROM + modifier = opinion_evil_tyrant + } + } + } + FROM = { + prestige = -100 + } + } + + on_fail_title = { + FROM = { + prestige = 10 + hidden_tooltip = { + opinion = { + modifier = opinion_rebel_traitor + who = ROOT + months = 1200 + } + } + } + ROOT = { + clear_wealth = yes + imprison = FROM + hidden_tooltip = { + add_character_modifier = { + name = broken_spirit + days = -1 + } + } + } + } + + on_reverse_demand = { + FROM = { + prestige = 20 + hidden_tooltip = { + opinion = { + modifier = opinion_rebel_traitor + who = ROOT + months = 1200 + } + add_character_modifier = { + name = crushed_revolt + days = 3650 + } + } + } + ROOT = { + clear_wealth = yes + imprison = FROM + hidden_tooltip = { + add_character_modifier = { + name = broken_spirit + days = -1 + } + } + } + } + + on_attacker_leader_death = { + end_war = invalid + } + + attacker_ai_victory_worth = { + factor = -1 # always accept + } + + attacker_ai_defeat_worth = { + factor = 100 + } + + defender_ai_victory_worth = { + factor = -1 # always accept + } + + defender_ai_defeat_worth = { + factor = 100 + } +} + +# 61: Nomads can subjugate non-Nomads +nomad_subjugation = { + name = CB_NAME_PAGAN_SUBJUGATION + war_name = WAR_NAME_PAGAN_SUBJUGATION + sprite = 8 + truce_days = 365 + is_permanent = yes + can_ask_to_join_war = yes + allowed_to_target_tributaries = no + allowed_to_target_suzerains = no + + can_use_gui = { + #higher_tier_than between ROOT and FROM would be better but its tooltip doesn't say anything about comparing character tiers + OR = { + ROOT = { + higher_tier_than = king + } + NOT = { + FROM = { + tier = emperor + } + } + } + FROM = { + is_nomadic = no + OR = { + AND = { + is_tribal = yes + ROOT = { + population = 2500 + } + } + ROOT = { + population = 10000 + } + has_opinion_modifier = { + modifier = declared_independence_nomad + who = FROM + } + } + } + ROOT = { + OR = { + prestige = 500 + has_opinion_modifier = { + modifier = declared_independence_nomad + who = FROM + } + } + } + } + + can_use = { + ROOT = { + is_nomadic = yes + NOT = { same_realm = FROM } + NOT = { is_liege_or_above = FROM } + mercenary = no + OR = { + NOT = { has_character_modifier = launched_subjugation } + has_opinion_modifier = { + modifier = declared_independence_nomad + who = FROM + } + } + } + + FROM = { + in_revolt = no + is_nomadic = no # Nomads cannot be subjugated + NOT = { + any_war = { + defender = { character = PREVPREV } + OR = { + using_cb = nomad_subjugation + using_cb = pagan_subjugation + } + } + } + } + } + + on_add = { + ROOT = { + if = { + limit = { + NOT = { + has_opinion_modifier = { + modifier = declared_independence_nomad + who = FROM + } + } + } + prestige = -500 + add_character_modifier = { + name = launched_subjugation + years = 100 + hidden = yes + } + } + } + } + + on_success = { + hidden_tooltip = { + ROOT = { + if = { + limit = { + has_nickname = no + } + FROM = { + save_event_target_as = nickname_target + } + ROOT = { + save_event_target_as = nickname_receiver + } + random_list = { + 2 = { give_nickname = nick_the_eastern_wind } + 5 = { give_nickname = nick_the_despoiler } + 5 = { + give_nickname = nick_the_bane_of_realmname + modifier = { + factor = 0 + event_target:nickname_target = { is_nomadic = yes } + } + modifier = { + factor = 0 + event_target:nickname_target = { culture = ROOT } + } + } + 5 = { + give_nickname = nick_the_culture_marauder + modifier = { + factor = 0 + event_target:nickname_target = { is_nomadic = yes } + } + modifier = { + factor = 0 + event_target:nickname_target = { culture = ROOT } + } + } + 100 = { } + } + } + } + } + ROOT = { + piety = 100 + } + any_attacker = { + limit = { character = ROOT } + participation_scaled_prestige = 100 + } + any_attacker = { + limit = { NOT = { character = ROOT } } + hidden_tooltip = { participation_scaled_prestige = 100 } + } + FROM = { + piety = -100 + prestige = -100 + + if = { + limit = { + is_reformed_religion = ROOT + controls_religion = no + } + religion = ROOT # Reformed pagans are forced to convert back + } + + custom_tooltip = { + text = tribal_subjugation_tip + } + + hidden_tooltip = { + opinion = { + modifier = opinion_subjugated + who = ROOT + } + any_vassal = { + opinion = { + modifier = opinion_subjugated + who = ROOT + } + } + + any_demesne_title = { + limit = { + higher_tier_than = ROOT + NOT = { controls_religion = yes } + } + ROOT = { grant_title_no_opinion = { target = PREV type = invasion } } + add_pressed_claim = PREV + } + + any_demesne_title = { + limit = { + tier = ROOT + NOT = { controls_religion = yes } + } + ROOT = { grant_title_no_opinion = { target = PREV type = invasion } } + add_pressed_claim = PREV + } + + if = { + limit = { + NOT = { + any_demesne_title = { + controls_religion = yes + } + } + } + set_defacto_liege = ROOT + break = yes + } + any_vassal = { + set_defacto_liege = ROOT + } + any_demesne_title = { + limit = { + NOT = { controls_religion = yes } + } + ROOT = { + grant_title_no_opinion = { target = PREV type = invasion } + } + } + } + } + } + + on_fail = { + FROM = { + piety = 50 + } + any_defender = { + limit = { character = FROM } + participation_scaled_prestige = 50 + } + any_defender = { + limit = { NOT = { character = FROM } } + hidden_tooltip = { participation_scaled_prestige = 50 } + } + ROOT = { + piety = -100 + } + } + + on_invalidation = { + if = { + limit = { + NOT = { + has_opinion_modifier = { + modifier = declared_independence_nomad + who = FROM + } + } + } + ROOT = { + remove_character_modifier = launched_subjugation + } + } + } + + on_reverse_demand = { + ROOT = { + piety = -200 + transfer_scaled_wealth = { + to = FROM + value = 2.0 + } + } + FROM = { + piety = 100 + } + FROM = { + if = { + limit = { + has_dlc = "Legacy of Rome" + OR = { + has_landed_title = e_byzantium + has_landed_title = e_roman_empire + } + religion_group = christian + } + hidden_tooltip = { character_event = { id = LoR.30 days = 12 } } + } + } + any_defender = { + limit = { character = FROM } + participation_scaled_prestige = 100 + } + any_defender = { + limit = { NOT = { character = FROM } } + hidden_tooltip = { participation_scaled_prestige = 100 } + } + } + + attacker_ai_victory_worth = { + factor = -1 # always accept + } + + attacker_ai_defeat_worth = { + factor = 100 + } + + defender_ai_victory_worth = { + factor = -1 # always accept + } + + defender_ai_defeat_worth = { + factor = 100 + } + + ai_will_do = { + factor = 10 + } +} + +# 62: +nomad_invasion = { + name = CB_NAME_INVASION + war_name = WAR_NAME_INVASION + sprite = 8 + truce_days = 3650 + hostile_against_others = yes + is_permanent = yes + is_holy_war = yes + can_ask_to_join_war = yes + check_de_jure_tier = KING # this scans all de jure kingdoms for the counties which are held by or vassals(or below) of selected character. Only valid if is_permanent = yes + + allowed_to_target_tributaries = no + allowed_to_target_suzerains = no + + can_use_gui = { + ROOT = { + prestige = 100 + population = 30000 + population_factor = 0.75 # 75% of max + } + } + + on_add = { + ROOT = { prestige = -100 } + } + + can_use = { + ROOT = { + is_nomadic = yes + } + + ROOT = { + NOT = { same_realm = FROM } + } + } + + is_valid_title = { + FROM = { + any_realm_title = { + de_jure_liege_or_above = PREVPREV + } + } + } + + on_success = { + any_attacker = { + limit = { NOT = { character = ROOT } } + hidden_tooltip = { participation_scaled_prestige = 200 } + } + FROM = { + prestige = -200 + } + hidden_tooltip = { + ROOT = { + occupy_minors_of_occupied_settlements = FROM + gain_all_occupied_titles = { who = FROM type = invasion } + + if = { + limit = { + has_nickname = no + } + FROM = { + save_event_target_as = nickname_target + } + ROOT = { + save_event_target_as = nickname_receiver + } + random_list = { + 5 = { give_nickname = nick_the_great } + 5 = { give_nickname = nick_the_victorious } + 5 = { give_nickname = nick_the_conqueror } + 5 = { give_nickname = nick_the_brave } + 10 = { give_nickname = nick_the_dragon } + 10 = { give_nickname = nick_the_terrible } + 10 = { give_nickname = nick_the_eastern_wind } + 25 = { give_nickname = nick_the_despoiler } + 25 = { + give_nickname = nick_the_culture_marauder + modifier = { + factor = 0 + event_target:nickname_target = { is_nomadic = yes } + } + modifier = { + factor = 0 + event_target:nickname_target = { culture = ROOT } + } + } + 50 = { + give_nickname = nick_the_bane_of_realmname + modifier = { + factor = 0 + event_target:nickname_target = { is_nomadic = yes } + } + modifier = { + factor = 0 + event_target:nickname_target = { culture = ROOT } + } + } + 50 = { + give_nickname = nick_the_slayer_of_culture + modifier = { + factor = 0 + event_target:nickname_target = { culture = ROOT } + } + } + 50 = { + give_nickname = nick_the_scourge_of_god + modifier = { + factor = 0 + event_target:nickname_target = { religion = ROOT } + } + } + } + } + } + } + } + + on_success_title = { + custom_tooltip = { + text = tribal_invasion_succ_tip + hidden_tooltip = { + ROOT = { + vassalize_or_take_under_title_destroy_duchies = { + title = PREV + enemy = FROM + is_crusade = yes # Even if the title holder is not participating in the war, gain holdings occupied by all Crusade participants + type = invasion + } + } + } + } + } + + on_fail = { + FROM = { + prestige = 100 + + hidden_tooltip = { + if = { + limit = { + has_nickname = no + } + random_list = { + 10 = { give_nickname = nick_the_great } + 10 = { give_nickname = nick_the_hammer } + 10 = { give_nickname = nick_the_avenger } + 10 = { give_nickname = nick_the_lion } + 10 = { give_nickname = nick_the_bold } + } + } + } + } + any_defender = { + limit = { character = FROM } + participation_scaled_prestige = 100 + } + any_defender = { + limit = { NOT = { character = FROM } } + hidden_tooltip = { participation_scaled_prestige = 100 } + } + ROOT = { + prestige = -200 + } + } + + on_reverse_demand = { + ROOT = { + prestige = -200 + transfer_scaled_wealth = { + to = FROM + value = 4.0 + } + } + FROM = { + prestige = 200 + hidden_tooltip = { + if = { + limit = { + has_nickname = no + } + random_list = { + 10 = { give_nickname = nick_the_great } + 10 = { give_nickname = nick_the_hammer } + 10 = { give_nickname = nick_the_avenger } + 10 = { give_nickname = nick_the_lion } + 10 = { give_nickname = nick_the_bold } + } + } + } + + if = { + limit = { + has_dlc = "Legacy of Rome" + OR = { + has_landed_title = e_byzantium + has_landed_title = e_roman_empire + } + religion_group = christian + } + hidden_tooltip = { character_event = { id = LoR.30 days = 12 } } + } + } + any_defender = { + limit = { character = FROM } + participation_scaled_prestige = 200 + } + any_defender = { + limit = { NOT = { character = FROM } } + hidden_tooltip = { participation_scaled_prestige = 200 } + } + } + + attacker_ai_victory_worth = { + factor = 200 + } + + attacker_ai_defeat_worth = { + factor = 100 + } + + defender_ai_victory_worth = { + factor = -1 # always accept + } + + defender_ai_defeat_worth = { + factor = 100 + } + + ai_will_do = { + factor = 8 + + modifier = { + factor = 0.9 # Prefer using CB's without on_add costs + } + + # Try to guide the Hordes in the right direction + modifier = { + factor = 0.1 + ROOT = { + OR = { + dynasty = 613 # Seljuks + dynasty = 800 # Timurids + primary_title = { title = e_il-khanate } + } + } + OR = { + empire = { + NOT = { + OR = { + title = e_persia + title = e_byzantium + title = e_arabia + } + } + } + FROM = { + primary_title = { title = e_golden_horde } + NOT = { year = 1300 } + } + } + } + modifier = { + factor = 0.1 + ROOT = { + primary_title = { title = e_golden_horde } + } + OR = { + empire = { + OR = { + title = e_persia + title = e_byzantium + title = e_arabia + } + } + FROM = { + primary_title = { title = e_il-khanate } + NOT = { year = 1300 } + } + } + } + modifier = { + factor = 0.1 + ROOT = { + culture = hungarian + primary_title = { + OR = { + title = k_hungary + title = e_carpathia + } + } + } + empire = { + OR = { + title = e_tartaria + title = e_russia + } + } + } + } +} + +# 63: Nomads can grab entire duchies, if they have the Prestige +nomad_expansion = { + name = CB_NAME_NOMAD_EXPANSION + war_name = WAR_NAME_NOMAD_EXPANSION + sprite = 8 + truce_days = 3650 + is_permanent = yes + is_holy_war = yes + check_de_jure_tier = DUKE # this scans all de jure duchies for the counties which are held by or vassals(or below) of selected character. Only valid if is_permanent = yes + + allowed_to_target_tributaries = no + allowed_to_target_suzerains = no + + can_use_gui = { + ROOT = { + prestige = 300 + population_factor = 0.5 + } + FROM = { + OR = { + is_nomadic = yes # Nomads no population requirement + AND = { + is_tribal = yes + ROOT = { population = 5000 } # Tribals need 5k + } + ROOT = { population = 15000 } # Everyone else needs 15k + } + } + } + + on_add = { + ROOT = { prestige = -300 } + } + + can_use = { + ROOT = { + is_nomadic = yes + NOT = { same_realm = FROM } + mercenary = no + } + } + + can_use_title = { + # The attacker needs at least one county in the target duchy, or a border + any_direct_de_jure_vassal_title = { + OR = { + holder_scope = { + OR = { + character = ROOT + is_liege_or_above = ROOT + } + } + location = { + any_neighbor_province = { + has_owner = yes + owner = { + OR = { + character = ROOT + is_liege_or_above = ROOT + } + } + } + } + } + } + } + + is_valid = { + ROOT = { + NOR = { + pays_tribute_to = FROM + any_liege = { + OR = { + pays_tribute_to = FROM + FROM = { + pays_tribute_to = PREV + } + } + } + } + is_nomadic = yes + NOT = { same_realm = FROM } + } + } + + on_success = { + ROOT = { + if = { + limit = { + has_nickname = no + } + FROM = { + save_event_target_as = nickname_target + } + ROOT = { + save_event_target_as = nickname_receiver + } + random_list = { + 5 = { give_nickname = nick_the_eastern_wind } + 5 = { give_nickname = nick_the_despoiler } + 5 = { + give_nickname = nick_the_culture_marauder + modifier = { + factor = 0 + event_target:nickname_target = { is_nomadic = yes } + } + modifier = { + factor = 0 + event_target:nickname_target = { culture = ROOT } + } + } + 5 = { + give_nickname = nick_the_bane_of_realmname + modifier = { + factor = 0 + event_target:nickname_target = { is_nomadic = yes } + } + modifier = { + factor = 0 + event_target:nickname_target = { culture = ROOT } + } + } + 5 = { + give_nickname = nick_the_slayer_of_culture + modifier = { + factor = 0 + event_target:nickname_target = { culture = ROOT } + } + } + 5 = { + give_nickname = nick_the_scourge_of_god + modifier = { + factor = 0 + event_target:nickname_target = { religion = ROOT } + } + } + 100 = { } + } + } + } + any_attacker = { + limit = { character = ROOT } + if = { + limit = { + uses_decadence = yes + } + participation_scaled_decadence = -10 + } + } + any_attacker = { + limit = { NOT = { character = ROOT } } + hidden_tooltip = { + participation_scaled_prestige = 200 + if = { + limit = { + uses_decadence = yes + } + participation_scaled_decadence = -10 + } + } + } + FROM = { prestige = -200 } + } + + on_success_title = { + custom_tooltip = { + text = pagan_subjugation_tip + hidden_tooltip = { + ROOT = { + subjugate_or_take_under_title = { + title = PREV + enemy = FROM +# same_religion = yes # Only vassalize rulers of my religion + } + } + } + } + } + + on_fail = { + ROOT = { + prestige = -200 + } + } + + on_reverse_demand = { + ROOT = { + transfer_scaled_wealth = { + to = FROM + value = 4.0 + } + prestige = -200 + } + any_defender = { + limit = { character = FROM } + participation_scaled_prestige = 300 + if = { + limit = { + uses_decadence = yes + } + participation_scaled_decadence = -10 + } + } + any_defender = { + limit = { NOT = { character = FROM } } + hidden_tooltip = { + participation_scaled_prestige = 300 + if = { + limit = { + uses_decadence = yes + } + participation_scaled_decadence = -10 + } + } + } + } + + attacker_ai_victory_worth = { + factor = -1 # always accept + } + + attacker_ai_defeat_worth = { + factor = 100 + } + + defender_ai_victory_worth = { + factor = -1 # always accept + } + + defender_ai_defeat_worth = { + factor = 100 + } + + ai_will_do = { + factor = 2 + + # Try to guide the Hordes in the right direction + modifier = { + factor = 0.1 + ROOT = { + OR = { + dynasty = 613 # Seljuks + dynasty = 800 # Timurids + primary_title = { title = e_il-khanate } + } + } + OR = { + empire = { + NOT = { + OR = { + title = e_persia + title = e_byzantium + title = e_arabia + } + } + } + FROM = { + primary_title = { title = e_golden_horde } + NOT = { year = 1300 } + } + } + } + modifier = { + factor = 0.1 + ROOT = { + primary_title = { title = e_golden_horde } + } + OR = { + empire = { + OR = { + title = e_persia + title = e_byzantium + title = e_arabia + } + } + FROM = { + primary_title = { title = e_il-khanate } + NOT = { year = 1300 } + } + } + } + modifier = { + factor = 2.0 + OR = { + culture = persian + culture = baloch + culture = afghan + culture = turkish + } + empire = { + OR = { + title = e_persia + title = e_rajastan + } + } + } + } +} + +#64 +increase_council_power_war = { # Started from faction + name = CB_NAME_INCREASE_COUNCIL_POWER + war_name = WAR_NAME_INCREASE_COUNCIL_POWER + sprite = 6 + truce_days = 3650 + can_call_allies = no + can_ask_to_join_war = no + major_revolt = yes + + can_use = { + ROOT = { + vassal_of = FROM + } + } + + can_use_title = { + higher_tier_than = BARON + OR = { + has_law = law_voting_power_0 + has_law = banish_voting_power_0 + has_law = execution_voting_power_0 + has_law = revoke_title_voting_power_0 + has_law = grant_title_voting_power_0 + has_law = imprison_voting_power_0 + has_law = war_voting_power_0 + } + is_primary_holder_title = yes + } + + is_valid = { + FROM = { + in_revolt = no + liege_before_war = { + in_revolt = no + liege_before_war = { + in_revolt = no + } + } + } + ROOT = { + OR = { + liege = { + character = PREV # either independent + } + liege = { + FROM = { + is_liege_or_above = PREV # or have shared liege + } + } + } + } + } + + on_success = { + ROOT = { + opinion = { + modifier = opinion_increased_council_power + who = FROM + months = 12 + } + } + any_attacker = { + limit = { character = ROOT } + participation_scaled_prestige = 100 + hidden_tooltip = { + disband_event_forces = faction_revolters + } + } + any_attacker = { + limit = { NOT = { character = ROOT } } + hidden_tooltip = { participation_scaled_prestige = 100 } + hidden_tooltip = { + disband_event_forces = faction_revolters + } + } + FROM = { hidden_tooltip = { disband_event_forces = faction_loyalists } } + } + + on_success_title = { + increase_council_power_effect = yes + increase_vassal_freedom_effect = yes + } + + on_fail = { + ROOT = { + prestige = -100 + } + + any_defender = { + limit = { character = FROM } + participation_scaled_prestige = 50 + } + any_defender = { + limit = { NOT = { character = FROM } } + hidden_tooltip = { participation_scaled_prestige = 50 } + } + + hidden_tooltip = { + any_attacker = { + disband_event_forces = faction_revolters + add_character_modifier = { + name = faction_council_power_ultimatum_timer + hidden = yes + duration = 3650 + } + } + } + FROM = { hidden_tooltip = { disband_event_forces = faction_loyalists } } + } + + on_reverse_demand = { + ROOT = { + prestige = -200 + prisoner = FROM + } + + any_defender = { + limit = { character = FROM } + participation_scaled_prestige = 100 + } + any_defender = { + limit = { NOT = { character = FROM } } + hidden_tooltip = { participation_scaled_prestige = 100 } + } + + hidden_tooltip = { + any_attacker = { + limit = { liege = { character = FROM } } + prisoner = FROM + disband_event_forces = faction_revolters + add_character_modifier = { + name = faction_council_power_ultimatum_timer + hidden = yes + duration = 3650 + } + } + } + FROM = { hidden_tooltip = { disband_event_forces = faction_loyalists } } + } + + attacker_ai_victory_worth = { + factor = -1 # always accept + } + + attacker_ai_defeat_worth = { + factor = 100 + } + + defender_ai_victory_worth = { + factor = -1 # always accept + } + + defender_ai_defeat_worth = { + factor = 100 + } +} + +# 55 +nomad_humiliate_cb = { + name = CB_NAME_HUMILIATE + war_name = WAR_NAME_HUMILIATE + sprite = 1 + truce_days = 3650 + is_permanent = yes + hostile_against_others = yes + can_ask_to_join_war = no + display_on_map = no + coalition_threat = no + allowed_to_target_tributaries = no + allowed_to_target_suzerains = no + + can_use = { + has_dlc = "Horse Lords" + + FROM = { + is_nomadic = yes + } + + ROOT = { + is_nomadic = yes + mercenary = no + OR = { + AND = { + same_realm = FROM + has_feud_with = FROM + } + FROM = { + is_nomadic = yes + independent = yes + } + } + } + + # The attacker needs a border, or be at most two sea zones away from one of the target's counties + FROM = { + any_realm_province = { + any_neighbor_province = { + OR = { + AND = { + has_owner = yes + owner = { + OR = { + character = ROOT + is_liege_or_above = ROOT + } + } + } + AND = { + is_land = no + any_neighbor_province = { + OR = { + AND = { + has_owner = yes + owner = { + OR = { + character = ROOT + is_liege_or_above = ROOT + } + } + } + AND = { + is_land = no + any_neighbor_province = { + owner = { + OR = { + character = ROOT + is_liege_or_above = ROOT + } + } + } + } + } + } + } + } + } + } + } + } + + on_success = { + ROOT = { + prestige = 300 + steal_population_scaled = { + target = FROM + percentage = 0.25 + } + } + FROM = { + prestige = -300 + } + } + + on_fail = { + ROOT = { + prestige = -100 + } + FROM = { + prestige = 100 + } + } + + on_reverse_demand = { + ROOT = { + prestige = -200 + transfer_scaled_wealth = { + to = FROM + value = 4.0 + } + } + + FROM = { + prestige = 200 + } + } + + on_attacker_leader_death = { + end_war = invalid + } + + attacker_ai_victory_worth = { + factor = -1 # always accept + } + + attacker_ai_defeat_worth = { + factor = 100 + } + + defender_ai_victory_worth = { + factor = -1 # always accept + } + + defender_ai_defeat_worth = { + factor = 100 + + modifier = { + factor = 2 + FROM = { + trait = proud + } + } + + modifier = { + factor = 2 + FROM = { + trait = brave + } + } + + modifier = { + factor = 2 + FROM = { + trait = greedy + } + } + + modifier = { + factor = 3 + FROM = { + tier = KING + } + } + + modifier = { + factor = 0.85 + ROOT = { + relative_power = { who = FROM power = 1.2 } + } + } + + modifier = { + factor = 0.85 + ROOT = { + relative_power = { who = FROM power = 1.5 } + } + } + + modifier = { + factor = 0.8 + ROOT = { + relative_power = { who = FROM power = 2.0 } + } + } + + modifier = { + factor = 0.8 + ROOT = { + relative_power = { who = FROM power = 2.5 } + } + } + + modifier = { + factor = 0.8 + ROOT = { + relative_power = { who = FROM power = 3 } + } + } + + modifier = { + factor = 0.75 + ROOT = { + relative_power = { who = FROM power = 4 } + } + } + + modifier = { + factor = 0.75 + ROOT = { + relative_power = { who = FROM power = 5 } + } + } + + modifier = { + factor = 0.75 + ROOT = { + relative_power = { who = FROM power = 6 } + } + } + + modifier = { + factor = 0.5 + ROOT = { + relative_power = { who = FROM power = 8 } + } + } + + modifier = { + factor = 0.25 + ROOT = { + relative_power = { who = FROM power = 10 } + } + } + + modifier = { + factor = 2 + ROOT = { + distance_from_realm = { who = FROM value = 20 } + } + } + + modifier = { + factor = 2 + ROOT = { + distance_from_realm = { who = FROM value = 40 } + } + } + + modifier = { + factor = 3 + ROOT = { + distance_from_realm = { who = FROM value = 80 } + } + } + + modifier = { + factor = 4 + ROOT = { + distance_from_realm = { who = FROM value = 120 } + } + } + } + + ai_will_do = { + factor = 1 + + modifier = { + factor = 0.1 # Low prio CB + } + + modifier = { + factor = 0.1 # Target has almost no money + FROM = { + OR = { + is_nomadic = yes + is_tribal = yes + } + } + } + + modifier = { + factor = 4 + ROOT = { + trait = greedy + } + } + } +} + +#64 +powerful_vassal_takeover_war = { # Started from faction + name = CB_NAME_POWERFUL_VASSAL_TAKEOVER + war_name = WAR_NAME_POWERFUL_VASSAL_TAKEOVER + sprite = 6 + truce_days = 3650 + can_call_allies = no + can_ask_to_join_war = no + major_revolt = yes + + can_use = { + ROOT = { + vassal_of = FROM + } + } + + can_use_title = { + higher_tier_than = BARON + is_primary_holder_title = yes + } + + is_valid = { + FROM = { + in_revolt = no + has_character_flag = powerful_vassal_takeover_target + } + ROOT = { + OR = { + liege = { + character = PREV # either independent + } + liege = { + FROM = { + is_liege_or_above = PREV # or have shared liege + } + } + } + } + } + + on_success = { + any_attacker = { + participation_scaled_prestige = 100 + hidden_tooltip = { + disband_event_forces = faction_revolters + } + } + FROM = { hidden_tooltip = { disband_event_forces = faction_loyalists } } + } + + on_success_title = { #This is the target title of the faction + increase_council_power_effect = yes + increase_vassal_freedom_effect = yes + increase_vassal_freedom_effect = yes + if = { + limit = { has_law = succession_voting_power_0 } + add_law_w_cooldown = succession_voting_power_1 + } + custom_tooltip = { + text = overthrow_text + hidden_tooltip = { + if = { + limit = { + NOT = { has_law = succ_feudal_elective } + has_law = law_voting_power_1 + has_law = banish_voting_power_1 + has_law = execution_voting_power_1 + has_law = revoke_title_voting_power_1 + has_law = grant_title_voting_power_1 + has_law = imprison_voting_power_1 + has_law = war_voting_power_1 + } + add_law_w_cooldown = succ_feudal_elective + } + if = { + limit = { + NOT = { has_law = succ_gavelkind } + NOT = { has_law = succ_feudal_elective } + NAND = { + has_law = succ_feudal_elective + has_law = law_voting_power_1 + has_law = banish_voting_power_1 + has_law = execution_voting_power_1 + has_law = revoke_title_voting_power_1 + has_law = grant_title_voting_power_1 + has_law = imprison_voting_power_1 + has_law = war_voting_power_1 + } + } + add_law_w_cooldown = succ_gavelkind + } + } + } + holder_scope = { + clr_character_flag = powerful_vassal_takeover_target + most_popular_vassal = { + limit = { + higher_tier_than = BARON + is_feudal = yes + prisoner = no + NOR = { + is_inaccessible_trigger = yes + trait = incapable + trait = eunuch + } + age = 16 + #can_hold_title = PREVPREV + OR = { + is_female = no + AND = { + is_female = yes + ROOT = { has_law = true_cognatic_succession } + } + } + } + usurp_title = { + target = PREVPREV + type = faction_demand + } + save_event_target_as = new_title_holder + hidden_tooltip = { + any_attacker = { + limit = { NOT = { character = PREV } } + set_character_flag = helped_win_war + } + } + character_event = { id = 8226 days = 1 } + } + } + } + + on_fail = { + ROOT = { + prestige = -100 + } + + any_defender = { + limit = { character = FROM } + participation_scaled_prestige = 50 + } + any_defender = { + limit = { NOT = { character = FROM } } + hidden_tooltip = { participation_scaled_prestige = 50 } + } + + hidden_tooltip = { + any_attacker = { + disband_event_forces = faction_revolters + add_character_modifier = { + name = faction_powerful_vassal_takeover_ultimatum_timer + hidden = yes + duration = 3650 + } + } + } + FROM = { + hidden_tooltip = { + disband_event_forces = faction_loyalists + clr_character_flag = powerful_vassal_takeover_target + } + } + } + + on_reverse_demand = { + ROOT = { + prestige = -200 + prisoner = FROM + } + + + any_defender = { + limit = { character = FROM } + participation_scaled_prestige = 100 + } + any_defender = { + limit = { NOT = { character = FROM } } + hidden_tooltip = { participation_scaled_prestige = 100 } + } + + hidden_tooltip = { + any_attacker = { + limit = { liege = { character = FROM } } + prisoner = FROM + disband_event_forces = faction_revolters + add_character_modifier = { + name = faction_powerful_vassal_takeover_ultimatum_timer + hidden = yes + duration = 3650 + } + } + } + FROM = { + hidden_tooltip = { + disband_event_forces = faction_loyalists + clr_character_flag = powerful_vassal_takeover_target + } + } + } + + attacker_ai_victory_worth = { + factor = -1 # always accept + } + + attacker_ai_defeat_worth = { + factor = 100 + } + + defender_ai_victory_worth = { + factor = -1 # always accept + } + + defender_ai_defeat_worth = { + factor = 100 + } +} diff --git a/LCDA/common/defines.txt b/LCDA/common/defines.txt new file mode 100644 index 0000000..55cefcf --- /dev/null +++ b/LCDA/common/defines.txt @@ -0,0 +1,15 @@ +start_date = 1066.9.15 +last_start_date = 1337.1.1 +end_date = 1453.1.1 + +character = { +} + +diplomacy = { +} + +economy = { +} + +military = { +} diff --git a/LCDA/common/dynasties/00_dynasties.txt b/LCDA/common/dynasties/00_dynasties.txt new file mode 100644 index 0000000..6b37089 --- /dev/null +++ b/LCDA/common/dynasties/00_dynasties.txt @@ -0,0 +1,43459 @@ +1= +{ + name="Gårdske" + culture="swedish" +} +2= +{ + used_for_random=no + name="Orsini" + culture="italian" + religion="catholic" + coat_of_arms = { + template = 0 + layer = { + texture = 5 + texture_internal = 0 + emblem = 0 + color = 0 + color = 0 + color = 0 + } + } +} +3= +{ + name="de Villeneuve" + culture="norman" + religion="catholic" +} +4= +{ + name="Fournier" + culture="frankish" + religion="catholic" +} +5= +{ + name="Kârawân" + culture="persian" +} +6= +{ + name="Jorjani" + culture="persian" +} +7= +{ + name="Ottoman" + culture="turkish" + religion="sunni" + coat_of_arms= + { + data= + { +0 1 0 43 12 3 10 } + religion="sunni" + } + used_for_random=no +} +8= +{ + name="Basarab" + culture="romanian" +} +9= +{ + name="Jogailaitis" + culture="lithuanian" +} +10= +{ + name="Mikhailovich" + culture="russian" +} +11= +{ + name="Gediminaitis" + culture="lithuanian" + religion="baltic_pagan" + coat_of_arms = { + template = 0 + layer = { + texture = 3 + texture_internal = 24 + emblem = 0 + color = 0 + color = 0 + color = 0 + } + } +} +12= +{ + name="Sartaq" + culture="mongol" +} +13= +{ + name="Fyodyorov" + culture="russian" + religion="orthodox" + coat_of_arms= + { + data= + { +1 1 0 4 11 4 4 1 0 4 11 4 4 } + religion="orthodox" + } +} +14= +{ + name="Lukinich" + culture="russian" +} +15= +{ + name="Mengu-Timur" + culture="mongol" +} +16= +{ + name="Swidnicki" + culture="polish" +} +17= +{ + name="Branicki" + culture="polish" +} +18= +{ + name="Borkowic" + culture="polish" + religion="catholic" +} +19= +{ + name="von Pommern" + culture="german" +} +20= +{ + name="von Rügen" + culture="german" +} +21= +{ + name="Glogowski" + culture="polish" +} +22= +{ + name="Bogorski" + culture="polish" +} +23= +{ + name="Lisy" + culture="polish" +} +24= +{ + name="Lewicki" + culture="polish" + religion="catholic" +} +25= +{ + name="Wielkopolski" + culture="polish" +} +26= +{ + name="Opolski" + culture="polish" +} +27= +{ + name="Astikaitis" + culture="lithuanian" +} +28= +{ + name="Czartoryski" + culture="polish" +} +29= +{ + name="Opawski" + culture="polish" +} +30= +{ + name="Halicki" + culture="polish" +} +31= +{ + name="Alšeniškis" + culture="lithuanian" +} +32= +{ + name="Zahumski" + culture="polish" + religion="orthodox" +} +33= +{ + name="Kujawski" + culture="polish" + religion="orthodox" +} +34= +{ + name="Kotromanic" + culture="serbian" + religion="bogomilist" + coat_of_arms = { + template = 0 + layer = { + texture = 5 + texture_internal = 1 + emblem = 0 + color = 0 + color = 0 + color = 0 + } + } +} +35= +{ + name="Dragusin" + culture="romanian" +} +36= +{ + name="Dragutin" + culture="serbian" +} +37= +{ + name="Srbija" + culture="serbian" + religion="orthodox" +} +38= +{ + name="Srednogorski" + culture="bulgarian" +} +39= +{ + name="Karvuna" + culture="bulgarian" + religion="orthodox" + coat_of_arms= + { + data= + { +2 2 0 40 8 1 14 2 0 40 8 1 14 } + religion="orthodox" + } +} +40= +{ + name="Terter" + culture="bulgarian" + religion="orthodox" + coat_of_arms = { + template = 0 + layer = { + texture = 7 + texture_internal = 41 + emblem = 0 + color = 0 + color = 0 + color = 0 + } + } +} +41= +{ + name="Shishman" + culture="bulgarian" + religion="orthodox" + coat_of_arms = { + template = 0 + layer = { + texture = 7 + texture_internal = 42 + emblem = 0 + color = 0 + color = 0 + color = 0 + } + } +} +42= +{ + name="Jaqeli" + culture="georgian" + religion="miaphysite" + coat_of_arms= + { + data= + { +2 2 0 16 12 1 0 2 0 16 12 1 0 } + religion="miaphysite" + } +} +43= +{ + name="Bagratuni" + culture="armenian" + coat_of_arms= + { + data= + { + 0 0 0 14 5 3 3 + } + religion=orthodox + } +} +44= +{ + name="Hayastani" + culture="armenian" + religion="miaphysite" +} +45= +{ + name="Struma" + culture="bulgarian" +} +46= +{ + name="Kantakouzenos" + culture="greek" + religion="orthodox" + coat_of_arms = { + template = 0 + layer = { + texture = 8 + texture_internal = 45 + emblem = 0 + color = 0 + color = 0 + color = 0 + } + } +} +47= +{ + name="di Monferrato" + culture="italian" +} +48= +{ + name="Palaiologos" + culture="greek" + religion="orthodox" + coat_of_arms= + { + data= + { +0 3 0 32 0 0 0 } + religion="catholic" + } + used_for_random=no +} +49= +{ + name="Dandolo" + culture="italian" +} +50= +{ + name="Spinola" + culture="italian" + religion="catholic" + coat_of_arms= + { + data= + { +0 6 0 12 0 0 0 } + religion="catholic" + } +} +51= +{ + name="von Habsburg" + culture="german" + religion="catholic" + coat_of_arms= + { + data= + { +0 3 0 20 0 0 0 } + religion="catholic" + } + used_for_random=no +} +52= +{ + name="von Diepholz" + culture="german" + religion="catholic" +} +53= +{ + name="von Silesia-Glogau" + culture="german" +} +54= +{ + name="du Dros" + culture="frankish" +} +55= +{ + name="Wittelsbach" + culture="german" +} +56= +{ + name="von Kärnten" + culture="german" +} +57= +{ + name="de la Tour du Pin" + culture="frankish" + religion="catholic" + coat_of_arms= + { + data= + { +0 5 0 2 0 0 0 } + religion="catholic" + } +} +58= +{ + name="de Piemont" + culture="frankish" +} +59= +{ + name="de Bage" + culture="frankish" + religion="catholic" +} +60= +{ + name="de Montferrat" + culture="frankish" +} +61= +{ + name="de Luxembourg" + culture="frankish" + religion="catholic" + coat_of_arms= + { + data= + { +0 3 0 28 0 0 0 } + religion="catholic" + } +} +62= +{ + name="Cartoriskis" + culture="lithuanian" +} +63= +{ + name="Kilikos" + culture="greek" + religion="orthodox" +} +64= +{ + name="Moncada" + culture="italian" +} +65= +{ + name="di Chiaramonte" + culture="italian" + religion="catholic" +} +66= +{ + name="Palizzi" + culture="italian" +} +67= +{ + name="Ventimiglia" + culture="italian" +} +68= +{ + name="di Verona" + culture="italian" + religion="catholic" +} +69= +{ + name="di Castalnasetta" + culture="italian" + religion="catholic" +} +70= +{ + name="Sormella" + culture="italian" + religion="catholic" +} +71= +{ + name="de Sabran" + culture="italian" + religion="catholic" +} +72= +{ + name="de Saboya" + culture="italian" +} +73= +{ + name="de Mallorca" + culture="catalan" +} +74= +{ + name="d'Entença" + culture="catalan" + religion="catholic" + coat_of_arms= + { + data= + { +0 5 0 3 0 0 0 } + religion="catholic" + } +} +75= +{ + name="de Coimbra" + culture="portuguese" + religion="catholic" + coat_of_arms= + { + data= + { +0 0 0 8 1 2 2 } + religion="catholic" + } +} +76= +{ + name="Núñez" + culture="castillan" +} +77= +{ + name="de la Cerda" + culture="castillan" + religion="catholic" +} +78= +{ + name="van Gelre" + culture="frisian" + religion="catholic" +} +79= +{ + name="de Thouars" + culture="frankish" + religion="catholic" + coat_of_arms= + { + data= + { +0 1 0 1 2 0 3 } + religion="catholic" + } +} +80= +{ + name="de Brienne" + culture="frankish" + religion="catholic" + coat_of_arms= + { + data= + { +0 3 0 12 0 0 0 } + religion="catholic" + } +} +81= +{ + name="d'Anjou" + culture="frankish" + religion="catholic" + coat_of_arms= + { + data= + { +0 7 0 40 0 0 0 } + religion="catholic" + } +} +82= +{ + name="Chamillart" + culture="frankish" +} +83= +{ + name="de Châtillion" + culture="frankish" +} +84= +{ + name="d'Avaugour" + culture="frankish" + religion="catholic" +} +85= +{ + name="de Dreaux" + culture="frankish" +} +86= +{ + name="de Dreux" + culture="frankish" + religion="catholic" + coat_of_arms= + { + data= + { +0 5 0 4 0 0 0 } + religion="catholic" + } +} +87= +{ + name="von Neuenburg" + culture="german" + religion="catholic" +} +88= +{ + name="Scarponnois" + culture="frankish" + religion="catholic" +} +89= +{ + name="de Clermont" + culture="frankish" + religion="catholic" +} +90= +{ + name="de Vitry" + culture="frankish" + religion="catholic" +} +91= +{ + name="de Rodez" + culture="occitan" + religion="catholic" +} +92= +{ + name="de Dampierre" + culture="frankish" + religion="catholic" + coat_of_arms= + { + data= + { +0 8 0 47 0 0 0 } + religion="catholic" + } +} +93= +{ + name="de Lusignan" + culture="frankish" + religion="catholic" + coat_of_arms= + { + data= + { +0 5 0 5 0 0 0 } + religion="catholic" + } +} +94= +{ + name="de Sully" + culture="frankish" + religion="catholic" +} +95= +{ + name="de Bourg" + culture="frankish" + religion="catholic" +} +96= +{ + name="de Gironde" + culture="frankish" + religion="catholic" +} +97= +{ + name="de Bergerac" + culture="occitan" + religion="catholic" +} +98= +{ + name="de Périgord" + culture="occitan" + religion="catholic" + coat_of_arms= + { + data= + { +0 2 0 12 0 5 3 } + religion="catholic" + } +} +99= +{ + name="de L'isle Jourdain" + culture="occitan" + religion="catholic" +} +100= +{ + name="d'Artois" + culture="frankish" + religion="catholic" +} +101= +{ + name="de Valois" + culture="frankish" + religion="catholic" + coat_of_arms= + { + data= + { +0 7 0 32 0 0 0 } + religion="catholic" + } +} +102= +{ + name="de Guines" + culture="frankish" + religion="catholic" +} +103= +{ + name="Balliol" + culture="norman" + religion="catholic" + coat_of_arms= + { + data= + { +0 8 0 50 0 0 0 } + religion="catholic" + } +} +104= +{ + name="Hayles" + culture="saxon" + religion="catholic" + coat_of_arms= + { + data= + { +0 0 0 5 3 5 5 } + religion="catholic" + } +} +105= +{ + name="of Norfolk" + culture="saxon" + religion="catholic" + coat_of_arms= + { + data= + { +0 0 0 13 2 1 1 } + religion="catholic" + } +} +106= +{ + name="Plantagenet" + culture="norman" + religion="catholic" + coat_of_arms= + { + data= + { +0 3 0 34 0 0 0 } + religion="catholic" + } + used_for_random=no +} +107= +{ + name="of Scotland" + culture="scottish" +} +108= +{ + name="af Island" + culture="norwegian" + religion="catholic" + used_for_random=no +} +109= +{ + name="Brusastad" + culture="norwegian" + religion="catholic" +} +110= +{ + name="von Rügen" + culture="german" +} +111= +{ + name="von Werle" + culture="german" + religion="catholic" +} +112= +{ + name="von Mecklemburg" + culture="german" +} +113= +{ + name="von Wittenberg" + culture="german" +} +114= +{ + name="von Brandenburg" + culture="german" + religion="catholic" +} +115= +{ + name="von Glogau" + culture="german" + religion="catholic" +} +116= +{ + name="von Holstein" + culture="german" + religion="catholic" +} +117= +{ + name="von Rendsburg" + culture="german" +} +118= +{ + name="Porse" + culture="danish" + religion="catholic" +} +119= +{ + name="von Pommern" + culture="german" +} +120= +{ + name="von Slesvig" + culture="german" + religion="catholic" +} +121= +{ + name="Grip" + culture="swedish" + religion="catholic" +} +122= +{ + name="Rose" + culture="saxon" + coat_of_arms= + { + data= + { +0 0 0 21 3 1 1 } + religion="catholic" + } +} +123= +{ + name="Menteith" + culture="scottish" + religion="catholic" +} +124= +{ + name="Strathearn" + culture="scottish" + religion="catholic" +} +125= +{ + name="Bolt" + culture="norwegian" + religion="catholic" +} +126= +{ + name="Svarte" + culture="swedish" + religion="catholic" +} +127= +{ + name="Skancke" + culture="swedish" + religion="catholic" + coat_of_arms= + { + data= + { +0 5 0 6 0 0 0 } + religion="catholic" + } +} +128= +{ + name="Thornberg" + culture="swedish" + religion="catholic" +} +129= +{ + name="Giske" + culture="norwegian" + religion="catholic" +} +130= +{ + name="Ribbing" + culture="swedish" + religion="catholic" +} +131= +{ + name="Bååt" + culture="swedish" + religion="catholic" +} +132= +{ + name="Raud" + culture="norwegian" + religion="catholic" +} +133= +{ + name="Gullbjelke" + culture="norwegian" + religion="catholic" +} +134= +{ + name="Rova" + culture="finnish" + religion="catholic" +} +135= +{ + name="Hesby" + culture="norwegian" + religion="catholic" +} +136= +{ + name="Ulv" + culture="swedish" + religion="catholic" +} +137= +{ + name="Sparre" + culture="swedish" + religion="catholic" +} +138= +{ + name="Färla" + culture="swedish" + religion="catholic" +} +139= +{ + name="Rasulid" + culture="bedouin_arabic" + religion="sunni" + coat_of_arms= + { + data= + { +0 1 0 26 12 8 2 } + religion="sunni" + } +} +140= +{ + name="Brahe" + culture="swedish" +} +141= +{ + name="af Rumby" + culture="swedish" + religion="catholic" +} +142= +{ + name="af Brunnsholm" + culture="swedish" + religion="catholic" +} +143= +{ + name="af Ulvåsa" + culture="swedish" + religion="catholic" +} +144= +{ + name="Sjöblad" + culture="swedish" + religion="catholic" +} +145= +{ + name="av Sudreim" + culture="norwegian" + religion="catholic" +} +146= +{ + name="Skarsholm" + culture="swedish" +} +147= +{ + name="Blå" + culture="swedish" + religion="catholic" +} +148= +{ + name="Natt och Dag" + culture="swedish" + religion="catholic" +} +149= +{ + name="Griphuvud" + culture="swedish" + religion="catholic" +} +150= +{ + name="Lejon" + culture="swedish" + religion="catholic" +} +151= +{ + name="Syktyvkar" + culture="komi" +} +152= +{ + name="Glysing" + culture="danish" + religion="catholic" +} +153= +{ + name="Bielke" + culture="swedish" + religion="catholic" +} +154= +{ + name="von Holstein" + culture="german" + religion="catholic" +} +155= +{ + name="af Bjälbo" + culture="swedish" + religion="catholic" + coat_of_arms= + { + data= + { +0 3 0 0 0 0 0 } + religion="catholic" + } + used_for_random=no +} +156= +{ + name="di Crivelli" + culture="italian" + religion="catholic" +} +157= +{ + name="de Chypre" + culture="norman" +} +158= +{ + name="de Harenc" + culture="norman" + religion="catholic" +} +159= +{ + name="de Tiberiade" + culture="norman" +} +160= +{ + name="Saint-Gilles" + culture="frankish" +} +161= +{ + name="de Montjoy" + culture="norman" + religion="catholic" +} +162= +{ + name="d'Éolienne" + culture="frankish" +} +163= +{ + name="de Bessa" + culture="frankish" + religion="catholic" +} +164= +{ + name="de Ramla" + culture="frankish" + religion="catholic" +} +165= +{ + name="d'Ibelin" + culture="frankish" +} +166= +{ + name="de Toron" + culture="norman" + religion="catholic" +} +167= +{ + name="Montferrato" + culture="italian" +} +168= +{ + name="Andreievich" + culture="russian" +} +169= +{ + name="Dobrynich" + culture="russian" +} +170= +{ + name="Kuchka" + culture="armenian" + religion="orthodox" +} +171= +{ + name="Komnenos" + culture="greek" +} +172= +{ + name="Petrilov" + culture="russian" +} +173= +{ + name="Borisov" + culture="russian" +} +175= +{ + name="Subislawowic" + culture="polish" + religion="catholic" +} +176= +{ + name="Obroditen" + culture="pommeranian" +} +177= +{ + name="Gryfita" + culture="pommeranian" + religion="slavic_pagan" + coat_of_arms= + { + data= + { +0 5 0 7 0 0 0 } + religion="catholic" + } +} +178= +{ + name="Znaim" + culture="serbian" +} +179= +{ + name="von Berg-Schelklingen" + culture="german" + religion="catholic" +} +180= +{ + name="Somogy" + culture="hungarian" + religion="tengri_pagan" +} +181= +{ + name="Kievskiy" + culture="russian" +} +182= +{ + name="Árpády" + culture="hungarian" +} +183= +{ + name="Kulinic" + culture="croatian" + religion="catholic" +} +184= +{ + name="Nemanjic" + culture="serbian" + religion="orthodox" + coat_of_arms= + { + data= + { +0 5 0 8 0 0 0 } + religion="catholic" + } +} +185= +{ + name="Asen" + culture="bulgarian" + religion="orthodox" + coat_of_arms= + { + data= + { +0 3 0 3 0 0 0 } + religion="catholic" + } +} +186= +{ + name="Kholmsky" + culture="russian" +} +188= +{ + name="Macrodoukas" + culture="greek" + religion="orthodox" +} +189= +{ + name="Aineidas" + culture="greek" +} +190= +{ + name="Rubenid" + culture="armenian" + religion="miaphysite" + coat_of_arms= + { + data= + { +0 7 0 46 0 0 0 } + religion="catholic" + } +} +191= +{ + name="Vojislavljevic" + culture="serbian" + religion="orthodox" +} +192= +{ + name="Kantakouzenos" + culture="greek" +} +193= +{ + name="Pegonitissos" + culture="greek" + religion="orthodox" + coat_of_arms= + { + data= + { +0 0 0 26 7 0 0 } + religion="orthodox" + } +} +195= +{ + name="Angelos" + culture="greek" + religion="orthodox" + coat_of_arms= + { + data= + { +0 5 0 9 0 0 0 } + religion="catholic" + } +} +197= +{ + name="Mac Carthaigh" + culture="irish" + religion="catholic" +} +198= +{ + name="Ua Braenain" + culture="irish" + religion="catholic" +} +199= +{ + name="Ua Néill Noígiallaich" + culture="irish" + religion="pagan" + coat_of_arms= + { + data= + { +0 0 0 4 3 1 1 } + religion="catholic" + } + used_for_random=no + forced_coa_religiongroup="christian" +} +200= +{ + name="Ua Murchada" + culture="irish" +} +201= +{ + name="Ua Conchobair" + culture="irish" + religion="catholic" + coat_of_arms= + { + data= + { +0 4 0 7 4 1 1 } + religion="catholic" + } +} +202= +{ + name="Mastropiero" + culture="italian" +} +203= +{ + name="d'Arborea" + culture="italian" + religion="catholic" +} +204= +{ + name="di Saluzzo" + culture="italian" +} +205= +{ + name="de Busca" + culture="italian" + religion="catholic" +} +206= +{ + name="Aleramicci" + culture="italian" + religion="catholic" + coat_of_arms= + { + data= + { +0 7 0 43 0 0 0 } + religion="catholic" + } +} +207= +{ + name="von Plain" + culture="german" + religion="catholic" +} +208= +{ + name="Luneville" + culture="frankish" +} +209= +{ + name="van Loon" + culture="dutch" + coat_of_arms= + { + data= + { +0 0 0 20 5 8 8 } + religion="catholic" + } +} +210= +{ + name="von Formbach" + culture="german" + religion="catholic" +} +211= +{ + name="von Wasserburg" + culture="german" + religion="catholic" +} +212= +{ + name="von Lengenfeld" + culture="german" + religion="catholic" +} +213= +{ + name="von Eberstein" + culture="german" + religion="catholic" +} +214= +{ + name="von Heinsberg" + culture="german" +} +215= +{ + name="von Wettin" + culture="german" +} +216= +{ + name="von Weimar" + culture="german" + religion="catholic" + coat_of_arms= + { + data= + { +0 0 0 24 0 5 5 } + religion="catholic" + } +} +217= +{ + name="von Wittelsbach" + culture="german" + religion="catholic" + coat_of_arms= + { + data= + { +0 3 0 47 0 0 0 } + religion="catholic" + } +} +218= +{ + name="von Andechs" + culture="german" + religion="catholic" +} +219= +{ + name="von Sulzbach" + culture="german" + religion="catholic" +} +220= +{ + name="van Serooskerken" + culture="frisian" +} +221= +{ + name="von Kleve" + culture="german" +} +222= +{ + name="von Versfleth" + culture="german" + religion="catholic" +} +223= +{ + name="von Wickerode" + culture="german" + religion="catholic" +} +224= +{ + name="von Oldenburg" + culture="german" + religion="catholic" +} +225= +{ + name="von Winzenburg" + culture="german" + religion="catholic" +} +226= +{ + name="Askanien" + culture="german" + religion="catholic" + coat_of_arms= + { + data= + { +0 3 0 4 0 0 0 } + religion="catholic" + } +} +227= +{ + name="von Thüringen" + culture="german" + religion="catholic" + coat_of_arms= + { + data= + { +0 8 0 33 0 0 0 } + religion="catholic" + } +} +228= +{ + name="von Bogen" + culture="german" + religion="catholic" +} +229= +{ + name="von Meissen" + culture="german" + religion="catholic" +} +230= +{ + name="von Österreich" + culture="german" +} +231= +{ + name="de Cleriuex" + culture="frankish" + religion="catholic" +} +232= +{ + name="d'Albon" + culture="occitan" + religion="catholic" + coat_of_arms= + { + data= + { +0 0 0 4 0 3 3 } + religion="catholic" + } +} +233= +{ + name="de Poitiers-Valentinois" + culture="occitan" + religion="catholic" +} +234= +{ + name="Visconti" + culture="italian" + religion="catholic" + coat_of_arms= + { + data= + { +0 5 0 10 0 0 0 } + religion="catholic" + } +} +235= +{ + name="de Valpergue" + culture="frankish" + religion="catholic" +} +236= +{ + name="de Cuiseaux" + culture="frankish" + religion="catholic" +} +237= +{ + name="von Genf" + culture="german" +} +238= +{ + name="von Arstein" + culture="german" + religion="catholic" +} +239= +{ + name="von Geldern" + culture="dutch" + religion="catholic" +} +240= +{ + name="de Savoie" + culture="frankish" + religion="catholic" + coat_of_arms= + { + data= + { +0 3 0 40 0 0 0 } + religion="catholic" + } +} +241= +{ + name="de Joinville" + culture="frankish" + religion="catholic" +} +242= +{ + name="de Vaudemont" + culture="frankish" +} +243= +{ + name="von Veldenz" + culture="german" + religion="catholic" +} +244= +{ + name="von Landsberg" + culture="german" +} +245= +{ + name="von Franken" + culture="german" +} +246= +{ + name="Folcwalding" + culture="frisian" + religion="catholic" +} +247= +{ + name="von Babenberg" + culture="german" + religion="catholic" + coat_of_arms= + { + data= + { +0 3 0 5 0 0 0 } + religion="catholic" + } +} +248= +{ + name="von Berg" + culture="german" + religion="catholic" +} +249= +{ + name="Jankovský z Vlašimi" + culture="bohemian" +} +250= +{ + name="z Psova" + culture="bohemian" + religion="slavic_pagan" +} +251= +{ + name="von Hohenstauf" + culture="german" +} +252= +{ + name="von Saarbrucken" + culture="german" + religion="catholic" +} +253= +{ + name="von Puteledorg" + culture="german" +} +254= +{ + name="von Henneberg" + culture="german" +} +255= +{ + name="von Stade" + culture="german" +} +256= +{ + name="von Sommerchenberg" + culture="german" + religion="catholic" +} +257= +{ + name="Ludowinger" + culture="german" + religion="catholic" + coat_of_arms= + { + data= + { +0 8 0 38 0 0 0 } + religion="catholic" + } +} +258= +{ + name="von Kirchberg" + culture="german" + religion="catholic" +} +259= +{ + name="von Württemberg" + culture="german" +} +260= +{ + name="von Tübingen" + culture="german" + religion="catholic" +} +261= +{ + name="von Zähringen" + culture="german" + religion="catholic" + coat_of_arms= + { + data= + { +0 3 0 50 0 0 0 } + religion="catholic" + } +} +262= +{ + name="von Raabs" + culture="german" +} +263= +{ + name="von Nassau" + culture="german" + religion="catholic" +} +264= +{ + name="Schauenburger" + culture="german" +} +265= +{ + name="d'Hauteville" + culture="frankish" +} +266= +{ + name="d'Urgell" + culture="catalan" + religion="catholic" +} +267= +{ + name="de Vilademuls" + culture="catalan" + religion="catholic" +} +268= +{ + name="d'Anoia" + culture="catalan" +} +269= +{ + name="d'Aragó" + culture="catalan" +} +270= +{ + name="Fogaça" + culture="portuguese" +} +271= +{ + name="Nunes" + culture="portuguese" +} +272= +{ + name="de Bragança" + culture="portuguese" + religion="catholic" + coat_of_arms= + { + data= + { +0 1 0 10 0 3 5 } + religion="catholic" + } +} +273= +{ + name="de Borgonha" + culture="portuguese" +} +274= +{ + name="de Deza" + culture="castillan" + religion="catholic" +} +275= +{ + name="de Borgona" + culture="castillan" +} +276= +{ + name="Alonso" + culture="castillan" +} +277= +{ + name="de Navarra" + culture="basque" + religion="catholic" + coat_of_arms= + { + data= + { +0 7 0 37 0 0 0 } + religion="catholic" + } +} +278= +{ + name="de Traba" + culture="castillan" + religion="catholic" +} +279= +{ + name="de Castro" + culture="castillan" + religion="catholic" +} +280= +{ + name="de Narbonne" + culture="frankish" + religion="catholic" + coat_of_arms= + { + data= + { +0 2 0 2 0 3 2 } + religion="catholic" + } +} +281= +{ + name="de Bourgogne-Comté" + culture="frankish" +} +282= +{ + name="von Heimbach" + culture="german" + religion="catholic" +} +283= +{ + name="von Vianden" + culture="german" + religion="catholic" +} +284= +{ + name="von Nörvenich" + culture="german" + religion="catholic" +} +285= +{ + name="von Jülich" + culture="german" + religion="catholic" + coat_of_arms= + { + data= + { +0 8 0 49 0 0 0 } + religion="catholic" + } +} +286= +{ + name="van Bonen" + culture="dutch" +} +287= +{ + name="von Limburg" + culture="german" + religion="catholic" +} +288= +{ + name="van Sulzbach" + culture="dutch" +} +289= +{ + name="von Eppstein" + culture="german" + religion="catholic" +} +290= +{ + name="van Rheineck" + culture="dutch" + religion="catholic" +} +291= +{ + name="van Wassemberg" + culture="dutch" +} +292= +{ + name="van Geldern" + culture="dutch" +} +293= +{ + name="van Bergh" + culture="dutch" +} +294= +{ + name="von Metz" + culture="german" + religion="catholic" +} +295= +{ + name="de l'Aigle" + culture="frankish" + religion="catholic" +} +296= +{ + name="del Carpio" + culture="castillan" + religion="catholic" +} +297= +{ + name="Trencval" + culture="occitan" + religion="catholic" +} +298= +{ + name="de Flotte" + culture="frankish" + religion="catholic" +} +299= +{ + name="d'Urgel" + culture="norman" +} +300= +{ + name="de Vendome" + culture="frankish" +} +301= +{ + name="de Champagne" + culture="frankish" +} +302= +{ + name="de Namur" + culture="frankish" + religion="catholic" + coat_of_arms= + { + data= + { +0 5 0 11 0 0 0 } + religion="catholic" + } +} +303= +{ + name="de Bissy" + culture="frankish" +} +304= +{ + name="d'Eu" + culture="frankish" +} +305= +{ + name="von Margrave" + culture="german" +} +306= +{ + name="du Perche" + culture="frankish" + religion="catholic" +} +307= +{ + name="van Brabant" + culture="dutch" +} +308= +{ + name="de Boulogne" + culture="frankish" + religion="catholic" + coat_of_arms= + { + data= + { +0 7 0 44 0 0 0 } + religion="catholic" + } +} +309= +{ + name="de Dinan" + culture="breton" + religion="catholic" +} +310= +{ + name="de Vitré" + culture="breton" + religion="catholic" +} +311= +{ + name="de Cornouaille" + culture="breton" + religion="catholic" + coat_of_arms= + { + data= + { +0 0 0 4 0 5 5 } + religion="catholic" + } +} +312= +{ + name="de Rohan" + culture="breton" + religion="catholic" + coat_of_arms= + { + data= + { +0 4 0 9 1 7 7 } + religion="catholic" + } +} +313= +{ + name="de Porhoët" + culture="breton" + religion="catholic" +} +314= +{ + name="Puy du Fou" + culture="frankish" + religion="catholic" +} +315= +{ + name="de Preuilly" + culture="frankish" + religion="catholic" +} +316= +{ + name="de Guingamp" + culture="norman" + religion="catholic" +} +317= +{ + name="de Penthièvre" + culture="frankish" + religion="catholic" + coat_of_arms= + { + data= + { +0 4 0 9 1 5 5 } + religion="catholic" + } +} +318= +{ + name="de Châtellerault" + culture="occitan" + religion="catholic" +} +319= +{ + name="de Laval" + culture="frankish" + religion="catholic" +} +320= +{ + name="de Bachaumont" + culture="frankish" + religion="catholic" + coat_of_arms= + { + data= + { +0 2 0 12 2 1 3 } + religion="catholic" + } +} +321= +{ + name="de Salins" + culture="frankish" + religion="catholic" +} +322= +{ + name="de Méziriac" + culture="frankish" + religion="catholic" +} +323= +{ + name="d'Oisy" + culture="frankish" + religion="catholic" +} +324= +{ + name="de Barthe" + culture="frankish" + religion="catholic" +} +325= +{ + name="de Fezensac" + culture="frankish" + religion="catholic" +} +326= +{ + name="de Brézé" + culture="norman" +} +328= +{ + name="de Boisrobert" + culture="frankish" +} +327= +{ + name="de Rancon" + culture="occitan" + religion="catholic" +} +329= +{ + name="de Bourbon" + culture="frankish" + religion="catholic" + coat_of_arms= + { + data= + { +0 5 0 12 0 0 0 } + religion="catholic" + } +} +330= +{ + name="d'Angoulême" + culture="frankish" +} +331= +{ + name="de Guyenne" + culture="occitan" + religion="catholic" +} +332= +{ + name="Le Tellier" + culture="frankish" + religion="catholic" +} +333= +{ + name="de Talleyrand" + culture="frankish" +} +334= +{ + name="de Batarnay" + culture="frankish" +} +335= +{ + name="de Beaumont-au-Maine" + culture="frankish" + religion="catholic" +} +336= +{ + name="de Montcada" + culture="catalan" + religion="catholic" +} +337= +{ + name="de Béarn" + culture="occitan" + religion="catholic" +} +338= +{ + name="de Hainaut" + culture="frankish" +} +339= +{ + name="de Crecy" + culture="frankish" +} +340= +{ + name="de Bellegarde" + culture="frankish" +} +341= +{ + name="de St. Hilary" + culture="frankish" + religion="catholic" +} +342= +{ + name="d'Aubigny" + culture="frankish" + religion="catholic" +} +343= +{ + name="de Albemarle" + culture="frankish" + religion="catholic" +} +344= +{ + name="de Mandeville" + culture="english" + religion="catholic" +} +345= +{ + name="de Verre" + culture="frankish" +} +346= +{ + name="de Bigod" + culture="norman" + religion="catholic" + coat_of_arms= + { + data= + { +0 3 0 30 0 0 0 } + religion="catholic" + } +} +347= +{ + name="de Warren" + culture="norman" + religion="catholic" +} +348= +{ + name="de Newburgh" + culture="norman" +} +349= +{ + name="Peveral" + culture="norman" + religion="catholic" +} +350= +{ + name="de Braose" + culture="norman" + religion="catholic" +} +351= +{ + name="de Toni" + culture="norman" + religion="catholic" +} +352= +{ + name="de Ferrers" + culture="norman" + religion="catholic" +} +353= +{ + name="d'Evreux" + culture="frankish" + religion="catholic" + coat_of_arms= + { + data= + { +0 7 0 38 0 0 0 } + religion="catholic" + } +} +354= +{ + name="de Blundeville" + culture="norman" +} +355= +{ + name="de Mellent" + culture="frankish" + religion="catholic" +} +356= +{ + name="de Baalun" + culture="frankish" + religion="catholic" +} +357= +{ + name="de Vernon" + culture="frankish" +} +358= +{ + name="de Gloucester" + culture="norman" + religion="catholic" +} +359= +{ + name="de Bohun" + culture="english" + religion="catholic" +} +360= +{ + name="Estouteville" + culture="frankish" + religion="catholic" +} +361= +{ + name="Dodington" + culture="saxon" + coat_of_arms= + { + data= + { +0 0 0 21 1 11 11 } + religion="catholic" + } +} +362= +{ + name="de Grandmesnil" + culture="norman" + religion="catholic" +} +363= +{ + name="de Gaunt" + culture="norman" + religion="catholic" +} +364= +{ + name="de Clare" + culture="norman" + religion="catholic" +} +365= +{ + name="de Vere" + culture="english" + religion="catholic" +} +366= +{ + name="Stawell" + culture="saxon" +} +367= +{ + name="Nicolay" + culture="frankish" +} +368= +{ + name="de Morville" + culture="norman" + religion="catholic" +} +369= +{ + name="Angevin" + culture="norman" +} +370= +{ + name="Dunbar" + culture="scottish" + religion="catholic" + coat_of_arms= + { + data= + { +0 7 0 48 0 0 0 } + religion="catholic" + } +} +371= +{ + name="of Galloway" + culture="scottish" + religion="catholic" +} +372= +{ + name="FitzWalter" + culture="norman" +} +373= +{ + name="a Cairge" + culture="scottish" +} +374= +{ + name="Huntingdon" + culture="saxon" +} +375= +{ + name="Roes" + culture="german" + religion="catholic" +} +376= +{ + name="av Norge" + culture="norwegian" +} +377= +{ + name="of Burgundy" + culture="frankish" +} +378= +{ + name="af Danmark" + culture="danish" + used_for_random=no +} +379= +{ + name="Ulfhilde" + culture="norwegian" + religion="catholic" +} +380= +{ + name="de Vexin-Amiens" + culture="frankish" + religion="catholic" + coat_of_arms= + { + data= + { +0 7 0 22 0 0 0 } + religion="catholic" + } +} +381= +{ + name="Erik" + culture="swedish" + religion="catholic" + coat_of_arms= + { + data= + { +0 5 0 13 0 0 0 } + religion="catholic" + } + used_for_random=no +} +382= +{ + name="Lockhart" + culture="saxon" +} +383= +{ + name="di Torino" + culture="italian" +} +384= +{ + name="de Bolea" + culture="castillan" +} +385= +{ + name="de Tosny" + culture="norman" + religion="catholic" +} +386= +{ + name="de Comminges" + culture="frankish" + religion="catholic" + coat_of_arms= + { + data= + { +0 2 0 1 1 3 5 } + religion="catholic" + } +} +387= +{ + name="de Lluçà" + culture="catalan" +} +388= +{ + name="de Vasconia" + culture="basque" + religion="catholic" + coat_of_arms= + { + data= + { +0 8 0 23 0 0 0 } + religion="catholic" + } +} +389= +{ + name="de Nimes" + culture="frankish" +} +390= +{ + name="de Acuña" + culture="castillan" +} +391= +{ + name="de Bezieres" + culture="occitan" +} +392= +{ + name="de Rocabertí" + culture="catalan" + religion="catholic" +} +393= +{ + name="d'Empúries" + culture="catalan" + religion="catholic" + coat_of_arms= + { + data= + { +0 1 0 8 5 0 3 } + religion="catholic" + } +} +394= +{ + name="de Ribera" + culture="catalan" +} +395= +{ + name="d'Urgell" + culture="catalan" + religion="catholic" + coat_of_arms= + { + data= + { +0 0 0 11 5 0 0 } + religion="catholic" + } +} +396= +{ + name="Mendes" + culture="portuguese" +} +397= +{ + name="Ramírez" + culture="castillan" +} +398= +{ + name="Trillo de las Asturias" + culture="castillan" +} +399= +{ + name="de Agurto" + culture="basque" +} +400= +{ + name="de Menezes" + culture="castillan" + religion="catholic" +} +401= +{ + name="de las Asturias" + culture="castillan" + religion="catholic" +} +402= +{ + name="de Oviedo" + culture="castillan" + religion="catholic" + coat_of_arms= + { + data= + { +0 1 0 16 0 2 1 } + religion="catholic" + } +} +403= +{ + name="de Alba de Liste" + culture="castillan" +} +404= +{ + name="de Tilly" + culture="frankish" +} +405= +{ + name="Ansúrez" + culture="visigothic" + religion="catholic" + coat_of_arms= + { + data= + { +0 1 0 8 3 0 5 } + religion="catholic" + } +} +406= +{ + name="de Castrogeriz" + culture="castillan" +} +407= +{ + name="de Vivar" + culture="castillan" + religion="catholic" +} +408= +{ + name="de Alencastre" + culture="castillan" +} +409= +{ + name="de Ovando" + culture="castillan" +} +410= +{ + name="de Vizcaya" + culture="basque" +} +411= +{ + name="de Viguera" + culture="castillan" +} +412= +{ + name="d'Ávalos" + culture="basque" +} +413= +{ + name="de Poitou" + culture="occitan" + religion="catholic" + coat_of_arms= + { + data= + { +0 3 0 35 0 0 0 } + religion="catholic" + } +} +414= +{ + name="de Mons" + culture="frankish" +} +415= +{ + name="de Hainault" + culture="frankish" +} +416= +{ + name="Luitpolding" + culture="german" + religion="catholic" +} +417= +{ + name="van Teisterbant" + culture="frisian" + religion="catholic" + coat_of_arms= + { + data= + { +0 0 0 22 0 3 3 } + religion="catholic" + } +} +418= +{ + name="Wuffing" + culture="saxon" +} +419= +{ + name="van Leuven" + culture="frisian" +} +420= +{ + name="von Luxemburg" + culture="german" + religion="catholic" +} +421= +{ + name="van Gent" + culture="frisian" + religion="catholic" +} +422= +{ + name="von Hornes" + culture="german" + religion="catholic" +} +423= +{ + name="van Namen" + culture="dutch" +} +424= +{ + name="van Loon" + culture="dutch" + religion="catholic" +} +425= +{ + name="van Heinsberg" + culture="dutch" +} +426= +{ + name="de Montaigu" + culture="frankish" + religion="catholic" +} +427= +{ + name="Flamens" + culture="dutch" + religion="catholic" + coat_of_arms= + { + data= + { +0 0 0 20 0 8 8 } + religion="catholic" + } +} +428= +{ + name="d'Alsace" + culture="frankish" + religion="catholic" +} +429= +{ + name="van de Veluwe" + culture="dutch" + religion="catholic" +} +430= +{ + name="De Graeff" + culture="dutch" +} +431= +{ + name="von Sachsen" + culture="german" +} +432= +{ + name="Gerulfing" + culture="frisian" + religion="catholic" + coat_of_arms= + { + data= + { +0 5 0 15 0 0 0 } + religion="catholic" + } +} +433= +{ + name="van Susa" + culture="dutch" +} +434= +{ + name="de Gand" + culture="english" + religion="catholic" +} +435= +{ + name="Brunonen" + culture="german" + religion="catholic" +} +436= +{ + name="de León" + culture="castillan" + religion="catholic" + coat_of_arms= + { + data= + { +0 7 0 24 0 0 0 } + religion="catholic" + } +} +437= +{ + name="de Aza" + culture="castillan" + religion="catholic" +} +438= +{ + name="de Bazán" + culture="basque" +} +439= +{ + name="de Aybar" + culture="basque" + religion="catholic" +} +440= +{ + name="de Nájera" + culture="basque" +} +441= +{ + name="de Benavides" + culture="castillan" +} +442= +{ + name="Jimena" + culture="castillan" + religion="catholic" + coat_of_arms= + { + data= + { +0 3 0 25 0 0 0 } + religion="catholic" + } + used_for_random=no +} +443= +{ + name="de Benserade" + culture="frankish" +} +444= +{ + name="av Freysey" + culture="norwegian" + religion="catholic" + coat_of_arms= + { + data= + { +0 0 0 12 7 0 0 } + religion="catholic" + } +} +445= +{ + name="av Sudrey" + culture="norwegian" + religion="catholic" +} +446= +{ + name="av Sola" + culture="norwegian" + religion="catholic" + coat_of_arms= + { + data= + { +0 0 0 21 0 2 2 } + religion="catholic" + } +} +447= +{ + name="av Aurland" + culture="norwegian" + religion="catholic" + coat_of_arms= + { + data= + { +0 0 0 13 1 3 3 } + religion="catholic" + } +} +448= +{ + name="Briem" + culture="norwegian" + religion="catholic" +} +449= +{ + name="Kormákur" + culture="norwegian" +} +450= +{ + name="Gautur" + culture="norwegian" +} +451= +{ + name="av Gimse" + culture="norwegian" + religion="norse_pagan" +} +452= +{ + name="Laxness" + culture="norwegian" + religion="catholic" +} +453= +{ + name="Gisking" + culture="norwegian" + religion="catholic" + coat_of_arms= + { + data= + { +0 0 0 17 1 2 2 } + religion="catholic" + } +} +454= +{ + name="Kvaran" + culture="norwegian" +} +455= +{ + name="Hagalín" + culture="norwegian" + religion="catholic" + coat_of_arms= + { + data= + { +0 2 0 8 5 1 3 } + religion="catholic" + } +} +456= +{ + name="Eldjárn" + culture="norwegian" +} +457= +{ + name="Mjøll" + culture="norwegian" +} +458= +{ + name="Nótt" + culture="norwegian" +} +459= +{ + name="Huld" + culture="norwegian" + religion="catholic" +} +460= +{ + name="Hafstein" + culture="norwegian" + religion="catholic" +} +461= +{ + name="af Orkneyjar" + culture="norse" + religion="norse_pagan" + coat_of_arms= + { + data= + { +0 7 0 15 0 0 0 } + religion="catholic" + } +} +462= +{ + name="Bløndal" + culture="norwegian" +} +463= +{ + name="Finne" + culture="norwegian" +} +464= +{ + name="Orri" + culture="norwegian" +} +465= +{ + name="Grønske" + culture="norwegian" +} +466= +{ + name="Ómar" + culture="norwegian" + religion="catholic" +} +467= +{ + name="Nordal" + culture="norwegian" +} +468= +{ + name="Trætte" + culture="norwegian" + religion="catholic" +} +469= +{ + name="Kjærnested" + culture="norwegian" +} +470= +{ + name="Icey" + culture="norwegian" + religion="catholic" +} +471= +{ + name="Mule" + culture="norwegian" + religion="catholic" +} +472= +{ + name="Bjørk" + culture="norwegian" +} +473= +{ + name="Dosenrode" + culture="norwegian" +} +474= +{ + name="Haarde" + culture="norwegian" +} +475= +{ + name="Alfing" + culture="danish" + religion="catholic" +} +476= +{ + name="Ósk" + culture="norwegian" + religion="catholic" +} +477= +{ + name="af Bornholm" + culture="danish" + religion="catholic" +} +478= +{ + name="Ásbrning" + culture="norwegian" +} +479= +{ + name="Haukdaelir" + culture="norwegian" + religion="catholic" +} +480= +{ + name="Oddaverjar" + culture="norwegian" +} +481= +{ + name="af Viborg" + culture="danish" +} +482= +{ + name="Hvide" + culture="danish" + religion="catholic" + coat_of_arms= + { + data= + { +0 5 0 16 0 0 0 } + religion="catholic" + } +} +483= +{ + name="Sprakalegg" + culture="danish" +} +484= +{ + name="Sturlung" + culture="danish" +} +485= +{ + name="Svínfelling" + culture="danish" +} +486= +{ + name="Vatnsfirðing" + culture="danish" +} +487= +{ + name="Estrid" + culture="danish" + religion="catholic" + coat_of_arms= + { + data= + { +0 3 0 48 0 0 0 } + religion="catholic" + } + used_for_random=no +} +488= +{ + name="Ormslev" + culture="norwegian" +} +489= +{ + name="Gnarr" + culture="norwegian" +} +490= +{ + name="Knytling" + culture="norse" + religion="norse_pagan" + coat_of_arms= + { + data= + { +0 7 0 8 0 0 0 } + religion="catholic" + } +} +491= +{ + name="af Roden" + culture="swedish" + religion="norse_pagan" + coat_of_arms= + { + data= + { +0 0 0 13 0 11 11 } + religion="norse_pagan" + } +} +492= +{ + name="af Tofta" + culture="swedish" + religion="catholic" +} +493= +{ + name="af Hamra" + culture="swedish" + religion="catholic" +} +494= +{ + name="af Akebäck" + culture="swedish" + religion="catholic" +} +495= +{ + name="Stenkyrka" + culture="swedish" + religion="catholic" + coat_of_arms= + { + data= + { +0 6 0 20 0 0 0 } + religion="catholic" + } +} +496= +{ + name="Sverker" + culture="swedish" + religion="norse_pagan" + coat_of_arms= + { + data= + { +0 5 0 17 0 0 0 } + religion="catholic" + } + used_for_random=no +} +497= +{ + name="Horn" + culture="swedish" + religion="catholic" + coat_of_arms= + { + data= + { +0 0 0 18 5 1 1 } + religion="norse_pagan" + } +} +498= +{ + name="Stenkiling" + culture="swedish" + religion="catholic" + coat_of_arms= + { + data= + { +0 7 0 1 0 0 0 } + religion="catholic" + } + used_for_random=no +} +499= +{ + name="Yngling" + culture="norse" + religion="norse_pagan" + coat_of_arms= + { + data= + { +0 3 0 49 0 0 0 } + religion="catholic" + } + used_for_random=no +} +500= +{ + name="af Skogla" + culture="norse" + religion="norse_pagan" + used_for_random=no +} +501= +{ + name="Wend" + culture="pommeranian" + religion="slavic_pagan" +} +502= +{ + name="af Munsö" + culture="norse" + religion="norse_pagan" + coat_of_arms= + { + data= + { +0 7 0 7 0 0 0 } + religion="catholic" + } + used_for_random=no +} +503= +{ + name="Izyaslavich" + culture="russian" +} +504= +{ + name="Wolin" + culture="polish" +} +505= +{ + name="Császár" + culture="hungarian" +} +506= +{ + name="Premyslid" + culture="bohemian" + religion="slavic_pagan" + coat_of_arms= + { + data= + { +0 3 0 36 0 0 0 } + religion="catholic" + } + used_for_random=no +} +507= +{ + name="Bagrationi" + culture="georgian" + religion="zoroastrian" + coat_of_arms= + { + data= + { +0 3 0 6 0 0 0 } + religion="catholic" + } + used_for_random=no +} +508= +{ + name="Kastriotis" + culture="greek" +} +509= +{ + name="Doukas Kamateros" + culture="greek" +} +510= +{ + name="Kamateros" + culture="greek" + religion="orthodox" +} +511= +{ + name="Zavidic" + culture="serbian" + religion="orthodox" +} +512= +{ + name="Trpimirovic" + culture="croatian" + religion="slavic_pagan" + coat_of_arms= + { + data= + { +0 7 0 11 0 0 0 } + religion="catholic" + } +} +513= +{ + name="Ordelaffo" + culture="italian" +} +514= +{ + name="Faliero" + culture="italian" + religion="catholic" + coat_of_arms= + { + data= + { +0 6 0 8 0 0 0 } + religion="catholic" + } +} +515= +{ + name="Silvio" + culture="italian" + religion="catholic" +} +516= +{ + name="Contarini" + culture="italian" + religion="catholic" + coat_of_arms= + { + data= + { +0 6 0 2 0 0 0 } + religion="catholic" + } +} +517= +{ + name="Barrois" + culture="frankish" + religion="catholic" +} +518= +{ + name="Henry" + culture="saxon" +} +519= +{ + name="Aleramo" + culture="italian" +} +520= +{ + name="di Cremona" + culture="italian" + religion="catholic" +} +521= +{ + name="von Beilstein" + culture="german" + religion="catholic" +} +522= +{ + name="Spanhem-Ortenburg" + culture="hungarian" + religion="catholic" +} +523= +{ + name="von Eppenstein" + culture="german" + religion="catholic" +} +524= +{ + name="von Lusatia" + culture="german" +} +525= +{ + name="Babenberg" + culture="german" +} +526= +{ + name="Brunswick" + culture="german" +} +527= +{ + name="Orlamunde" + culture="german" +} +528= +{ + name="Wettin" + culture="german" + religion="catholic" + coat_of_arms= + { + data= + { +0 3 0 46 0 0 0 } + religion="catholic" + } +} +529= +{ + name="von Hohenstaufen" + culture="german" + religion="catholic" + coat_of_arms= + { + data= + { +0 3 0 22 0 0 0 } + religion="catholic" + } +} +530= +{ + name="de Harcourt" + culture="frankish" + religion="catholic" +} +531= +{ + name="FitzOsbern" + culture="norman" +} +532= +{ + name="de Ivry" + culture="norman" + religion="catholic" +} +533= +{ + name="Voclain" + culture="norman" +} +534= +{ + name="de Crepon" + culture="norman" + religion="catholic" +} +535= +{ + name="de Châtillon" + culture="norman" +} +536= +{ + name="Fredelon" + culture="norman" +} +537= +{ + name="Ydulfing" + culture="german" +} +538= +{ + name="Matfrieding" + culture="frankish" +} +539= +{ + name="de Bougency" + culture="norman" + religion="catholic" +} +540= +{ + name="Hastings" + culture="saxon" + religion="catholic" +} +541= +{ + name="Taillefer" + culture="norman" + religion="catholic" + coat_of_arms= + { + data= + { +0 7 0 23 0 0 0 } + religion="catholic" + } +} +542={ + name="de Merohingi" + culture="frankish" + coat_of_arms={ data={ 0 2 0 41 0 3 3 } + religion="catholic" } +} +543= +{ + name="de Carolui" + culture="frankish" +} +544= +{ + name="de Soissons" + culture="frankish" + religion="catholic" +} +545= +{ + name="Caradoc" + culture="welsh" + religion="catholic" +} +546= +{ + name="Mac Ragnaill" + culture="scottish" +} +547= +{ + name="Morgannwg" + culture="welsh" + religion="catholic" + coat_of_arms= + { + data= + { +0 8 0 20 0 0 0 } + religion="catholic" + } +} +548= +{ + name="Mathrafal" + culture="welsh" + religion="catholic" + coat_of_arms= + { + data= + { +0 1 0 16 3 1 0 } + religion="catholic" + } +} +549= +{ + name="Cynfyn" + culture="welsh" +} +550= +{ + name="Sithrigi" + culture="irish" + religion="catholic" +} +551= +{ + name="Mac Murchada" + culture="irish" +} +552= +{ + name="Lorc" + culture="irish" +} +553= +{ + name="Boru" + culture="irish" + religion="catholic" +} +554= +{ + name="a Muirebe" + culture="scottish" + religion="catholic" + coat_of_arms= + { + data= + { +0 0 0 23 1 2 2 } + religion="catholic" + } +} +555= +{ + name="Bluome" + culture="german" + religion="catholic" +} +556= +{ + name="Crovan" + culture="irish" + religion="catholic" + coat_of_arms= + { + data= + { +0 7 0 5 0 0 0 } + religion="catholic" + } +} +557= +{ + name="Puttoc" + culture="saxon" +} +558= +{ + name="de Mowbray" + culture="norman" + religion="catholic" +} +559= +{ + name="de Gael" + culture="norman" + religion="catholic" +} +560= +{ + name="of Hwicce" + culture="saxon" + religion="catholic" + coat_of_arms= + { + data= + { +0 7 0 33 0 0 0 } + religion="catholic" + } +} +561= +{ + name="de Puiset" + culture="norman" + religion="catholic" +} +562= +{ + name="of Durham" + culture="saxon" + religion="catholic" +} +563= +{ + name="d'Escures" + culture="norman" + religion="catholic" +} +564= +{ + name="de Jumièges" + culture="norman" +} +565= +{ + name="of Canterbury" + culture="saxon" + religion="catholic" +} +566= +{ + name="Mutamin" + culture="andalusian_arabic" +} +567= +{ + name="Huddid" + culture="andalusian_arabic" +} +568= +{ + name="Ahmadid" + culture="bedouin_arabic" + religion="sunni" +} +569= +{ + name="Amirid" + culture="andalusian_arabic" + religion="sunni" +} +570= +{ + name="Dhunnunid" + culture="andalusian_arabic" + religion="sunni" + coat_of_arms= + { + data= + { +0 0 0 3 1 5 5 } + religion="sunni" + } +} +571= +{ + name="Matiyid" + culture="andalusian_arabic" +} +572= +{ + name="Tahirid" + culture="andalusian_arabic" + religion="sunni" + coat_of_arms= + { + data= + { +0 0 0 4 5 0 0 } + religion="sunni" + } +} +573= +{ + name="Aftasid" + culture="andalusian_arabic" + religion="sunni" + coat_of_arms= + { + data= + { +0 0 0 5 5 1 1 } + religion="sunni" + } +} +574= +{ + name="Umarid" + culture="bedouin_arabic" + religion="sunni" +} +575= +{ + name="Hammadid" + culture="maghreb_arabic" + religion="sunni" + coat_of_arms= + { + data= + { +0 0 0 33 1 7 7 } + religion="sunni" + } +} +576= +{ + name="Rassid" + culture="bedouin_arabic" + religion="shiite" + coat_of_arms= + { + data= + { +0 0 0 3 0 7 7 } + religion="sunni" + } +} +577= +{ + name="Nasrid" + culture="levantine_arabic" + religion="sunni" +} +578= +{ + name="Najadid" + culture="bedouin_arabic" +} +579= +{ + name="Muayyadid" + culture="levantine_arabic" +} +580= +{ + name="Isavid" + culture="levantine_arabic" + religion="sunni" +} +581= +{ + name="Khamisis" + culture="bedouin_arabic" + religion="sunni" +} +582= +{ + name="Taghlibid" + culture="bedouin_arabic" + religion="sunni" + coat_of_arms= + { + data= + { +0 2 0 2 0 0 0 } + religion="sunni" + } +} +583= +{ + name="Futohid" + culture="levantine_arabic" + religion="sunni" +} +584= +{ + name="Shukrid" + culture="levantine_arabic" +} +585= +{ + name="Dinnid" + culture="bedouin_arabic" +} +586= +{ + name="Razinid" + culture="andalusian_arabic" + religion="sunni" +} +587= +{ + name="Mazyadid" + culture="levantine_arabic" + religion="shiite" +} +588= +{ + name="Mazyad" + culture="levantine_arabic" + religion="sunni" +} +589= +{ + name="Fatimid" + culture="maghreb_arabic" + religion="sunni" + coat_of_arms= + { + data= + { +0 0 0 9 1 7 7 } + religion="shiite" + } +} +590= +{ + name="Sulaihid" + culture="levantine_arabic" + religion="shiite" +} +591= +{ + name="Dulo" + culture="bolghar" + religion="tengri_pagan" + coat_of_arms= + { + data= + { +0 7 0 17 0 0 0 } + religion="catholic" + } +} +592= +{ + name="Yaruqid" + culture="levantine_arabic" +} +593= +{ + name="Hammadid" + culture="egyptian_arabic" +} +594= +{ + name="Abbadid" + culture="andalusian_arabic" + religion="sunni" + coat_of_arms= + { + data= + { +0 0 0 5 2 1 1 } + religion="sunni" + } +} +595= +{ + name="Zirid" + culture="maghreb_arabic" + religion="shiite" + coat_of_arms= + { + data= + { +0 0 0 31 1 2 2 } + religion="shiite" + } +} +596= +{ + name="Amirid" + culture="maghreb_arabic" + religion="sunni" + coat_of_arms= + { + data= + { +0 1 0 37 1 5 2 } + religion="sunni" + } +} +597= +{ + name="Umayyad" + culture="egyptian_arabic" + religion="sunni" + coat_of_arms= + { + data= + { +0 2 0 1 0 0 0 } + religion="sunni" + } +} +598= +{ + name="Mustazhirid" + culture="levantine_arabic" + religion="sunni" + coat_of_arms= + { + data= + { +0 0 0 13 1 2 2 } + religion="sunni" + } +} +599= +{ + name="Hudid" + culture="andalusian_arabic" + religion="sunni" + coat_of_arms= + { + data= + { +0 0 0 13 7 1 1 } + religion="sunni" + } +} +600= +{ + name="Qaimid" + culture="levantine_arabic" +} +601= +{ + name="Quadirid" + culture="egyptian_arabic" + religion="sunni" +} +602= +{ + name="Taid" + culture="levantine_arabic" + religion="sunni" +} +603= +{ + name="Alaid" + culture="levantine_arabic" +} +604= +{ + name="Zahirid" + culture="levantine_arabic" +} +605= +{ + name="Jamalid" + culture="levantine_arabic" +} +606= +{ + name="Izzid" + culture="levantine_arabic" +} +607= +{ + name="Bahaid" + culture="levantine_arabic" +} +608= +{ + name="Shihabid" + culture="levantine_arabic" +} +609= +{ + name="Jalalid" + culture="levantine_arabic" +} +610= +{ + name="Yaminid" + culture="levantine_arabic" +} +611= +{ + name="Mulkid" + culture="egyptian_arabic" + religion="sunni" +} +612= +{ + name="Qutalmish" + culture="bedouin_arabic" +} +613= +{ + name="Seljuk" + culture="turkish" + religion="sunni" + coat_of_arms= + { + data= + { +0 0 0 11 0 2 2 } + religion="sunni" + } + can_appear=no + used_for_random=no + forced_coa_religiongroup="muslim" +} +614= +{ + name="Shams" + culture="egyptian_arabic" + religion="sunni" +} +615= +{ + name="Tabghach" + culture="egyptian_arabic" + religion="sunni" +} +616= +{ + name="Tigin" + culture="turkish" + religion="sunni" + coat_of_arms= + { + data= + { +0 1 0 34 7 12 0 } + religion="sunni" + } +} +617= +{ + name="Qadir" + culture="bedouin_arabic" +} +618= +{ + name="Toghan" + culture="bedouin_arabic" +} +619= +{ + name="Arslan" + culture="turkish" +} +620= +{ + name="Bodricz" + culture="polish" + religion="catholic" +} +621= +{ + name="Scannabecchi" + culture="italian" + religion="catholic" +} +622= +{ + name="Caetani" + culture="italian" + religion="catholic" + coat_of_arms= + { + data= + { +0 6 0 1 0 0 0 } + religion="catholic" + } +} +623= +{ + name="de Lagery" + culture="frankish" +} +624= +{ + name="di Lucca" + culture="italian" + religion="catholic" + coat_of_arms= + { + data= + { +0 0 0 19 7 0 0 } + religion="catholic" + } +} +626= +{ + name="of East Anglia" + culture="saxon" + religion="catholic" + coat_of_arms= + { + data= + { +0 0 0 22 2 3 3 } + religion="catholic" + } +} +627= +{ + name="Skleros" + culture="greek" + religion="orthodox" + coat_of_arms= + { + data= + { +0 5 0 18 0 0 0 } + religion="catholic" + } +} +628= +{ + name="Palaiologos" + culture="greek" + religion="orthodox" +} +629= +{ + name="de Gothia" + culture="frankish" + religion="catholic" +} +630= +{ + name="Makrembolites" + culture="greek" + religion="orthodox" + coat_of_arms= + { + data= + { +0 1 0 2 2 1 0 } + religion="orthodox" + } +} +631= +{ + name="Botaneiates" + culture="greek" + religion="orthodox" + coat_of_arms= + { + data= + { +0 8 0 36 0 0 0 } + religion="catholic" + } +} +632= +{ + name="Diogenes" + culture="greek" + religion="orthodox" + coat_of_arms= + { + data= + { +0 8 0 35 0 0 0 } + religion="catholic" + } +} +633= +{ + name="Doukas" + culture="greek" + religion="orthodox" + coat_of_arms= + { + data= + { +0 3 0 15 0 0 0 } + religion="catholic" + } + used_for_random=no +} +634= +{ + name="Komnenos" + culture="greek" + religion="orthodox" + coat_of_arms= + { + data= + { +0 3 0 26 0 0 0 } + religion="catholic" + } + used_for_random=no +} +635= +{ + name="Stratiotikos" + culture="greek" + religion="orthodox" +} +636= +{ + name="Monomachos" + culture="greek" + religion="orthodox" + coat_of_arms= + { + data= + { +0 0 0 11 0 6 6 } + religion="orthodox" + } +} +637= +{ + name="Kalaphates" + culture="greek" + religion="orthodox" +} +638= +{ + name="Paphlagon" + culture="greek" + religion="orthodox" +} +639= +{ + name="Argyros" + culture="greek" + religion="orthodox" + coat_of_arms= + { + data= + { +0 5 0 19 0 0 0 } + religion="catholic" + } +} +640= +{ + name="Kourkouas" + culture="greek" + religion="orthodox" + coat_of_arms= + { + data= + { +0 0 0 5 0 3 3 } + religion="orthodox" + } +} +641= +{ + name="Phokas" + culture="greek" + religion="orthodox" + coat_of_arms= + { + data= + { +0 7 0 16 0 0 0 } + religion="catholic" + } +} +642= +{ + name="Lekapenos" + culture="greek" + religion="orthodox" + coat_of_arms= + { + data= + { +0 5 0 20 0 0 0 } + religion="catholic" + } +} +643= +{ + name="Karbonopsis" + culture="greek" + religion="orthodox" +} +644= +{ + name="Makedon" + culture="greek" + religion="orthodox" + coat_of_arms= + { + data= + { +0 7 0 13 0 0 0 } + religion="catholic" + } +} +645= +{ + name="von Otakar" + culture="german" +} +646= +{ + name="Weimar" + culture="german" +} +647= +{ + name="von Tirol" + culture="german" +} +648= +{ + name="von Zähringen" + culture="german" +} +649= +{ + name="Oeningen" + culture="german" +} +650= +{ + name="Welf" + culture="german" + religion="catholic" + coat_of_arms= + { + data= + { +0 3 0 44 0 0 0 } + religion="catholic" + } + used_for_random=no +} +651= +{ + name="Salian" + culture="german" + religion="catholic" + coat_of_arms= + { + data= + { +0 5 0 14 0 0 0 } + religion="catholic" + } + used_for_random=no +} +652= +{ + name="von Haldensleben" + culture="german" + religion="catholic" +} +653= +{ + name="von Schweinfurt" + culture="german" +} +654= +{ + name="Moha" + culture="hungarian" + religion="catholic" +} +655= +{ + name="von Stad" + culture="german" +} +656= +{ + name="Billung" + culture="saxon" + religion="norse_pagan" + coat_of_arms= + { + data= + { +0 3 0 8 0 0 0 } + religion="catholic" + } +} +657= +{ + name="von Rheinfelden" + culture="german" + religion="catholic" + coat_of_arms= + { + data= + { +0 3 0 38 0 0 0 } + religion="catholic" + } +} +658= +{ + name="von Suebi" + culture="german" + religion="catholic" +} +659= +{ + name="Litpolden" + culture="frankish" +} +660= +{ + name="de Maine" + culture="norman" + religion="catholic" +} +661= +{ + name="Udonen" + culture="german" + religion="norse_pagan" + coat_of_arms= + { + data= + { +0 0 0 8 3 0 0 } + religion="catholic" + } +} +662= +{ + name="de Moselle" + culture="frankish" + religion="catholic" +} +663= +{ + name="von Dagsburg" + culture="norman" + religion="catholic" +} +664= +{ + name="Etichonen" + culture="german" + religion="catholic" + coat_of_arms= + { + data= + { +0 0 0 21 1 3 3 } + religion="catholic" + } +} +665= +{ + name="von Franken" + culture="frankish" +} +666= +{ + name="of Saxony" + culture="saxon" +} +667= +{ + name="Chatenois" + culture="frankish" + religion="catholic" + coat_of_arms= + { + data= + { +0 3 0 27 0 0 0 } + religion="catholic" + } +} +668= +{ + name="von Ringelheim" + culture="german" +} +669= +{ + name="Ludolfinger" + culture="german" + religion="norse_pagan" + coat_of_arms= + { + data= + { +0 7 0 39 0 0 0 } + religion="catholic" + } +} +670= +{ + name="de Luxembourg" + culture="german" +} +671= +{ + name="Hainaut" + culture="german" + religion="catholic" +} +672= +{ + name="von Lenzburg" + culture="german" + religion="catholic" + coat_of_arms= + { + data= + { +0 0 0 4 0 7 7 } + religion="catholic" + } +} +673= +{ + name="de Maurienne" + culture="frankish" +} +674= +{ + name="de Arelat" + culture="occitan" +} +675= +{ + name="de Vienne" + culture="frankish" + religion="catholic" +} +676= +{ + name="Drengot" + culture="norman" + religion="catholic" + coat_of_arms= + { + data= + { +0 0 0 17 3 0 0 } + religion="catholic" + } +} +677= +{ + name="de Burgund" + culture="frankish" + religion="catholic" +} +678= +{ + name="de Hauteville" + culture="norman" + religion="catholic" + coat_of_arms= + { + data= + { +0 3 0 21 0 0 0 } + religion="catholic" + } +} +679= +{ + name="d'Este" + culture="italian" + religion="catholic" + coat_of_arms= + { + data= + { +0 3 0 17 0 0 0 } + religion="catholic" + } +} +680= +{ + name="Ardoinici" + culture="italian" + religion="catholic" + coat_of_arms= + { + data= + { +0 0 0 18 1 3 3 } + religion="catholic" + } +} +681= +{ + name="d'Ivrea" + culture="italian" + religion="catholic" + coat_of_arms= + { + data= + { +0 5 0 21 0 0 0 } + religion="catholic" + } +} +682= +{ + name="Barcino" + culture="catalan" +} +683= +{ + name="Menéndez" + culture="castillan" +} +684= +{ + name="de Foix" + culture="frankish" + religion="catholic" + coat_of_arms= + { + data= + { +0 3 0 19 0 0 0 } + religion="catholic" + } +} +685= +{ + name="Roger" + culture="norman" +} +687= +{ + name="a Dúin Chaillden" + culture="scottish" +} +686= +{ + name="de Bigorre" + culture="frankish" + religion="catholic" +} +688= +{ + name="Mac Ailpin" + culture="scottish" + religion="catholic" + coat_of_arms= + { + data= + { +0 7 0 4 0 0 0 } + religion="catholic" + } +} +689= +{ + name="Mac Eóin Duib" + culture="scottish" + religion="catholic" +} +690= +{ + name="Ua Fáeláin" + culture="irish" + religion="catholic" +} +691= +{ + name="Ua Néill Móir" + culture="irish" +} +692= +{ + name="Mac Diarmaida" + culture="irish" + religion="catholic" +} +693= +{ + name="Mac Máil na mBó" + culture="irish" + religion="catholic" +} +694= +{ + name="Ua Tuathail" + culture="irish" + religion="catholic" +} +695= +{ + name="Ua Briain" + culture="irish" + religion="catholic" + coat_of_arms= + { + data= + { +0 4 0 6 1 3 3 } + religion="catholic" + } +} +696= +{ + name="Mac Cennétig" + culture="scottish" +} +697= +{ + name="Osenevich" + culture="cuman" +} +698= +{ + name="Terteroba" + culture="cuman" + religion="tengri_pagan" + coat_of_arms= + { + data= + { +0 1 0 4 5 0 4 } + religion="tengri_pagan" + } +} +699= +{ + name="Piast" + culture="polish" + religion="slavic_pagan" + coat_of_arms= + { + data= + { +0 3 0 33 0 0 0 } + religion="catholic" + } + used_for_random=no +} +700= +{ + name="Delyan" + culture="bulgarian" +} +701= +{ + name="Radomir" + culture="bulgarian" +} +702= +{ + name="Kometopoulos" + culture="bulgarian" + religion="orthodox" + coat_of_arms= + { + data= + { +0 0 0 23 1 7 7 } + religion="orthodox" + } +} +703= +{ + name="Vyatich" + culture="ilmenian" + religion="orthodox" +} +704= +{ + name="Lyubechanin" + culture="russian" + religion="slavic_pagan" +} +705= +{ + name="Rurikid" + culture="russian" + religion="norse_pagan" + coat_of_arms= + { + data= + { +0 3 0 39 0 0 0 } + religion="catholic" + } + used_for_random=no +} +706= +{ + name="Prochaska" + culture="german" + religion="catholic" +} +708= +{ + name="Árpád" + culture="hungarian" + religion="tengri_pagan" + coat_of_arms= + { + data= + { +0 3 0 2 0 0 0 } + religion="catholic" + } + used_for_random=no +} +709= +{ + name="de Belesme" + culture="norman" + religion="catholic" +} +710= +{ + name="de Beaumont" + culture="norman" + religion="catholic" +} +711= +{ + name="de Vielles" + culture="norman" +} +712= +{ + name="d'Archiac" + culture="frankish" + religion="catholic" +} +713= +{ + name="de Ponthieu" + culture="occitan" + religion="catholic" +} +714= +{ + name="d'Aumale" + culture="frankish" + religion="catholic" +} +715= +{ + name="de Lorraine" + culture="frankish" + religion="catholic" +} +716= +{ + name="la Belle" + culture="frankish" + religion="catholic" +} +717= +{ + name="Bar-Sur-Seine" + culture="frankish" + religion="catholic" +} +718= +{ + name="de Vermandois" + culture="frankish" +} +719= +{ + name="Cavanez" + culture="basque" + religion="catholic" +} +720= +{ + name="de Provence" + culture="occitan" +} +721= +{ + name="de Blois" + culture="frankish" + religion="catholic" + coat_of_arms= + { + data= + { +0 3 0 9 0 0 0 } + religion="catholic" + } +} +722= +{ + name="de Gastinois" + culture="frankish" +} +723= +{ + name="d'Anjou" + culture="norman" + religion="catholic" + coat_of_arms= + { + data= + { +0 3 0 1 0 0 0 } + religion="catholic" + } +} +724= +{ + name="van Vlaanderen" + culture="frisian" + religion="catholic" + coat_of_arms= + { + data= + { +0 3 0 18 0 0 0 } + religion="catholic" + } +} +725= +{ + name="de Guincamp" + culture="frankish" +} +726= +{ + name="de Bretagne" + culture="frankish" +} +727= +{ + name="de Toulouse" + culture="occitan" + religion="catholic" + coat_of_arms= + { + data= + { +0 3 0 42 0 0 0 } + religion="catholic" + } +} +728= +{ + name="de Montignac" + culture="occitan" + religion="catholic" +} +729= +{ + name="de Limoges" + culture="occitan" + religion="catholic" +} +730= +{ + name="Bontemps" + culture="frankish" + religion="catholic" +} +731= +{ + name="de Boullion" + culture="frankish" +} +732= +{ + name="von Boulogne" + culture="german" +} +733= +{ + name="d'Auvergne" + culture="occitan" + religion="catholic" + coat_of_arms= + { + data= + { +0 0 0 9 0 7 7 } + religion="catholic" + } +} +734= +{ + name="de Longwy" + culture="frankish" +} +735= +{ + name="de Vergy" + culture="frankish" + religion="catholic" +} +736= +{ + name="de Chalon" + culture="frankish" + religion="catholic" +} +737= +{ + name="de Macon" + culture="frankish" + religion="catholic" +} +738= +{ + name="de Roucy" + culture="frankish" + religion="catholic" +} +739= +{ + name="de Heismes" + culture="frankish" +} +740= +{ + name="d'Aquitaine" + culture="occitan" +} +741= +{ + name="de Bourgogne" + culture="frankish" + religion="catholic" + coat_of_arms= + { + data= + { +0 3 0 10 0 0 0 } + religion="catholic" + } +} +742= +{ + name="de Sémur-en-Brionnais" + culture="frankish" + religion="catholic" +} +743= +{ + name="Capet" + culture="frankish" + religion="catholic" + coat_of_arms= + { + data= + { +0 3 0 14 0 0 0 } + religion="catholic" + } + used_for_random=no +} +744= +{ + name="of Bamburgh" + culture="saxon" + religion="catholic" + coat_of_arms= + { + data= + { +0 7 0 35 0 0 0 } + religion="catholic" + } +} +745= +{ + name="of Northumbria" + culture="saxon" + religion="catholic" + coat_of_arms= + { + data= + { +0 1 0 9 3 0 5 } + religion="catholic" + } +} +746= +{ + name="Fergant" + culture="frankish" +} +747= +{ + name="Gerbod" + culture="german" + religion="catholic" +} +748= +{ + name="de Warenne" + culture="norman" + religion="catholic" +} +749= +{ + name="de Brevere" + culture="norman" + religion="catholic" +} +750= +{ + name="Flambard" + culture="saxon" + religion="catholic" +} +751= +{ + name="de Montgomery" + culture="norman" + religion="catholic" +} +752= +{ + name="de Normandie" + culture="norman" + religion="norse_pagan" + coat_of_arms= + { + data= + { +0 3 0 31 0 0 0 } + religion="catholic" + } +} +753= +{ + name="of Northampton" + culture="saxon" + religion="catholic" +} +756= +{ + name="of Godwin" + culture="saxon" + religion="catholic" + coat_of_arms= + { + data= + { +0 3 0 45 0 0 0 } + religion="catholic" + } + used_for_random=no +} +757= +{ + name="Ætheling" + culture="saxon" +} +758= +{ + name="Bjering" + culture="swedish" +} +759= +{ + name="Rothén" + culture="swedish" +} +760= +{ + name="Galen" + culture="danish" + religion="catholic" + coat_of_arms= + { + data= + { +0 5 0 22 0 0 0 } + religion="catholic" + } +} +761= +{ + name="Läma" + culture="swedish" + religion="catholic" +} +762= +{ + name="Bahri" + culture="egyptian_arabic" + religion="sunni" + coat_of_arms= + { + data= + { +0 0 0 20 5 12 1 } + religion="sunni" + } +} +763= +{ + name="Rumby" + culture="swedish" +} +764= +{ + name="Basarab" + culture="romanian" + religion="orthodox" + coat_of_arms= + { + data= + { +0 5 0 23 0 0 0 } + religion="catholic" + } +} +765= +{ + name="Taishufin" + culture="maghreb_arabic" +} +766= +{ + name="von Nordheim" + culture="german" + religion="catholic" + coat_of_arms= + { + data= + { +0 0 0 11 2 1 1 } + religion="catholic" + } +} +767= +{ + name="de Albuquerque" + culture="portuguese" + religion="catholic" +} +768= +{ + name="de Bolougne" + culture="frankish" + religion="catholic" +} +769= +{ + name="de Ribeira" + culture="portuguese" + religion="catholic" +} +770= +{ + name="de Sousa" + culture="portuguese" + religion="catholic" + coat_of_arms= + { + data= + { +0 1 0 10 1 3 0 } + religion="catholic" + } +} +771= +{ + name="de Noboa" + culture="basque" + religion="catholic" +} +772= +{ + name="Pacheco" + culture="portuguese" +} +773= +{ + name="de Briteiros" + culture="portuguese" + religion="catholic" +} +774= +{ + name="de Trastámara" + culture="castillan" + religion="catholic" + coat_of_arms= + { + data= + { +0 3 0 43 0 0 0 } + religion="catholic" + } + used_for_random=no +} +775= +{ + name="d'Antoing" + culture="frankish" + religion="catholic" +} +776= +{ + name="de Lara" + culture="castillan" + religion="catholic" +} +777= +{ + name="d'Espagne" + culture="frankish" +} +778= +{ + name="de Haro" + culture="basque" + religion="catholic" + coat_of_arms= + { + data= + { +0 0 0 4 1 8 8 } + religion="catholic" + } +} +779= +{ + name="de València" + culture="catalan" + religion="catholic" +} +780= +{ + name="de Briteirose" + culture="portuguese" +} +781= +{ + name="de Castañeda" + culture="castillan" + religion="catholic" +} +782= +{ + name="de Molina" + culture="castillan" + religion="catholic" +} +783= +{ + name="di Castalnasetta" + culture="italian" +} +784= +{ + name="de Gandia" + culture="catalan" +} +785= +{ + name="de Vidaure" + culture="basque" + religion="catholic" +} +786= +{ + name="Álvarez de Azagra" + culture="castillan" +} +787= +{ + name="d'Aragó" + culture="catalan" +} +788= +{ + name="de Aragón" + culture="basque" + religion="catholic" + coat_of_arms= + { + data= + { +0 0 0 2 2 0 0 } + religion="catholic" + } +} +789= +{ + name="Karasi" + culture="ugricbaltic" +} +790= +{ + name="Ghaznavid" + culture="turkish" + religion="sunni" + used_for_random=no +} +791= +{ + name="Ghurid" + culture="persian" + religion="sunni" +} +792= +{ + name="Uyunid" + culture="bedouin_arabic" + religion="shiite" +} +793= +{ + name="Ammarid" + culture="maghreb_arabic" + religion="shiite" +} +794= +{ + name="de Lacon Serra" + culture="italian" + religion="catholic" +} +795= +{ + name="von Egisheim" + culture="german" +} +796= +{ + name="Fromonides" + culture="frankish" + religion="catholic" +} +797= +{ + name="Asperger" + culture="german" + religion="catholic" +} +798= +{ + name="di Bergamo" + culture="italian" + religion="catholic" + coat_of_arms= + { + data= + { +0 0 0 12 1 7 7 } + religion="catholic" + } +} +799= +{ + name="d'Asti" + culture="italian" + religion="catholic" + coat_of_arms= + { + data= + { +0 0 0 3 3 1 1 } + religion="catholic" + } +} +800= +{ + name="Timurid" +} +801= +{ + name="Djäkn" + culture="swedish" +} +802= +{ + name="Svärd" + culture="swedish" +} +803= +{ + name="Bonifazi" + culture="italian" + religion="catholic" + coat_of_arms= + { + data= + { +0 0 0 4 1 5 5 } + religion="catholic" + } +} +804= +{ + name="Radelchis" + culture="italian" + religion="catholic" + coat_of_arms= + { + data= + { +0 8 0 31 0 0 0 } + religion="catholic" + } +} +805= +{ + name="Siconulf" + culture="italian" + religion="catholic" +} +806= +{ + name="Sawdanid" + culture="maghreb_arabic" + religion="sunni" + coat_of_arms= + { + data= + { +0 0 0 11 0 7 7 } + religion="sunni" + } +} +807= +{ + name="Aghlabid" + culture="maghreb_arabic" + religion="sunni" + coat_of_arms= + { + data= + { +0 0 0 31 0 2 2 } + religion="sunni" + } +} +808= +{ + name="Rustamid" + culture="maghreb_arabic" + religion="ibadi" + coat_of_arms= + { + data= + { +0 0 0 20 7 1 1 } + religion="sunni" + } +} +809= +{ + name="Dulafid" + culture="bedouin_arabic" + religion="sunni" +} +810= +{ + name="Samanid" + culture="persian" + religion="sunni" + coat_of_arms= + { + data= + { +0 1 0 46 2 1 3 } + religion="sunni" + } +} +811= +{ + name="Tahirid" + culture="persian" + religion="sunni" + coat_of_arms= + { + data= + { +0 1 0 13 5 3 1 } + religion="sunni" + } +} +812= +{ + name="Saffarid" + culture="persian" + religion="sunni" + coat_of_arms= + { + data= + { +0 1 0 23 5 7 1 } + religion="sunni" + } +} +813= +{ + name="of Mercia" + culture="saxon" + religion="catholic" + coat_of_arms= + { + data= + { +0 7 0 34 0 0 0 } + religion="catholic" + } +} +814= +{ + name="of Northumbria" + culture="saxon" + religion="catholic" + coat_of_arms= + { + data= + { +0 0 0 9 3 0 0 } + religion="catholic" + } +} +815= +{ + name="Bagge" + culture="swedish" +} +816= +{ + name="Alt Clut" + culture="welsh" + religion="catholic" + coat_of_arms= + { + data= + { +0 0 0 21 1 2 2 } + religion="catholic" + } +} +817= +{ + name="of Brittany" + culture="breton" +} +818= +{ + name="Jute" + culture="danish" + religion="norse_pagan" + coat_of_arms= + { + data= + { +0 8 0 21 0 0 0 } + religion="catholic" + } +} +819= +{ + name="Dál Fiatach" + culture="irish" + religion="pagan" + coat_of_arms= + { + data= + { +0 0 0 13 1 2 2 } + religion="catholic" + } +} +820= +{ + name="Tulunid" + culture="egyptian_arabic" + religion="sunni" + coat_of_arms= + { + data= + { +0 0 0 30 1 2 2 } + religion="sunni" + } +} +821= +{ + name="Ulfing" + culture="norse" + religion="norse_pagan" + coat_of_arms= + { + data= + { +0 7 0 25 0 0 0 } + religion="catholic" + } +} +822= +{ + name="Gautske" + culture="norse" + religion="norse_pagan" + coat_of_arms= + { + data= + { +0 7 0 26 0 0 0 } + religion="catholic" + } +} +823= +{ + name="Väse" + culture="norse" + religion="norse_pagan" + coat_of_arms= + { + data= + { +0 0 0 1 0 2 2 } + religion="norse_pagan" + } +} +824= +{ + name="Njudunge" + culture="norse" + religion="norse_pagan" + coat_of_arms= + { + data= + { +0 1 0 2 1 5 2 } + religion="norse_pagan" + } +} +825= +{ + name="Gute" + culture="norse" + religion="norse_pagan" + coat_of_arms= + { + data= + { +0 0 0 13 0 7 7 } + religion="norse_pagan" + } +} +826= +{ + name="Stórr" + culture="norse" +} +827= +{ + name="Värending" + culture="swedish" + religion="norse_pagan" + coat_of_arms= + { + data= + { +0 0 0 2 1 11 11 } + religion="norse_pagan" + } +} +828= +{ + name="Holming" + culture="norse" + religion="norse_pagan" + coat_of_arms= + { + data= + { +0 0 0 14 1 7 7 } + religion="norse_pagan" + } +} +829= +{ + name="Ingrija" + culture="ugricbaltic" + religion="finnish_pagan" +} +830= +{ + name="Borg" + culture="norse" + religion="norse_pagan" + coat_of_arms= + { + data= + { +0 0 0 5 5 1 1 } + religion="norse_pagan" + } +} +831= +{ + name="Nerking" + culture="norse" + religion="norse_pagan" + coat_of_arms= + { + data= + { +0 0 0 15 0 5 5 } + religion="norse_pagan" + } +} +832= +{ + name="Auster" + culture="norse" + religion="norse_pagan" + coat_of_arms= + { + data= + { +0 0 0 8 0 5 5 } + religion="norse_pagan" + } +} +833= +{ + name="Hammer" + culture="norse" + religion="norse_pagan" + coat_of_arms= + { + data= + { +0 0 0 4 1 7 7 } + religion="norse_pagan" + } +} +834= +{ + name="Bleik" + culture="norse" + religion="norse_pagan" + coat_of_arms= + { + data= + { +0 0 0 1 1 5 5 } + religion="norse_pagan" + } +} +835= +{ + name="Falk" + culture="norse" + religion="norse_pagan" + coat_of_arms= + { + data= + { +0 0 0 12 0 5 5 } + religion="norse_pagan" + } +} +836= +{ + name="Hede" + culture="norse" + religion="norse_pagan" + coat_of_arms= + { + data= + { +0 0 0 8 1 5 5 } + religion="norse_pagan" + } +} +837= +{ + name="Ubmeje" + culture="lappish" + religion="finnish_pagan" +} +838= +{ + name="Kauping" + culture="norse" + religion="norse_pagan" + coat_of_arms= + { + data= + { +0 0 0 6 1 5 5 } + religion="norse_pagan" + } +} +839= +{ + name="Styr" + culture="norse" + religion="norse_pagan" + coat_of_arms= + { + data= + { +0 1 0 14 0 3 5 } + religion="norse_pagan" + } +} +840= +{ + name="Suensaari" + culture="finnish" +} +841= +{ + name="Berkanid" + culture="maghreb_arabic" + religion="sunni" +} +842= +{ + name="Mezwarid" + culture="maghreb_arabic" + religion="sunni" + coat_of_arms= + { + data= + { +0 0 0 33 1 2 2 } + religion="sunni" + } +} +843= +{ + name="Firhunid" + culture="maghreb_arabic" + religion="sunni" +} +844= +{ + name="Agdunid" + culture="maghreb_arabic" + religion="sunni" +} +845= +{ + name="Tegamid" + culture="maghreb_arabic" + religion="sunni" +} +846= +{ + name="Islid" + culture="maghreb_arabic" + religion="sunni" + coat_of_arms= + { + data= + { +0 0 0 32 1 7 7 } + religion="sunni" + } +} +847= +{ + name="Yabdasid" + culture="maghreb_arabic" + religion="sunni" +} +848= +{ + name="d'Arc" + culture="frankish" + coat_of_arms= + { + data= + { +1 0 19 28 2 2 2 0 2 0 2 2 2 0 0 0 0 1 2 0 0 0 0 1 2 } + religion="catholic" + } + used_for_random=no +} +849= +{ + name="Gladius Christi" + coat_of_arms= + { + data= + { +4 0 9 1 13 13 2 0 9 0 13 13 2 0 9 0 13 13 2 3 0 48 1 0 0 } + religion="catholic" + } + used_for_random=no +} +850= +{ + name="Blackadder" + culture="scottish" + coat_of_arms= + { + data= + { +4 2 0 11 9 12 6 2 0 11 9 12 6 2 0 11 9 12 6 } + religion="catholic" + } +} +851= +{ + name="Turgay" + culture="cuman" + religion="tengri_pagan" +} +852= +{ + name="Kimak" + culture="cuman" + religion="tengri_pagan" + coat_of_arms= + { + data= + { +0 0 0 2 9 10 7 } + religion="tengri_pagan" + } +} +853= +{ + name="Zhetysu" + culture="karluk" +} +854= +{ + name="Kirghiz" + culture="kirghiz" + religion="manichean" + coat_of_arms= + { + data= + { +0 0 0 0 0 11 2 } + religion="manichean" + } +} +855= +{ + name="Bamid" + culture="persian" + religion="sunni" +} +856= +{ + name="Sirjani" + culture="persian" + religion="sunni" +} +857= +{ + name="Furgid" + culture="persian" + religion="sunni" +} +858= +{ + name="Yeldarid" + culture="baloch" + religion="sunni" +} +859= +{ + name="Feruxid" + culture="baloch" + religion="sunni" +} +860= +{ + name="Anward" + culture="swedish" + religion="catholic" + used_for_random=no +} +861= +{ + name="Palmqvist" + culture="swedish" + religion="catholic" + used_for_random=no +} +862= +{ + name="Vogelius" + culture="danish" + religion="norse_pagan" + used_for_random=no +} +863= +{ + name="Ivannikov" + culture="russian" + religion="slavic_pagan" + used_for_random=no +} +864= +{ + name="Bodlund" + culture="swedish" + religion="norse_pagan" + used_for_random=no +} +865= +{ + name="Lasan" + culture="italian" + religion="catholic" + used_for_random=no +} +866= +{ + name="Lugmaïr" + culture="swedish" + religion="finnish_pagan" + used_for_random=no +} +867= +{ + name="Tammpere" + culture="finnish" + used_for_random=no +} +868= +{ + name="Harnesk" + culture="swedish" + used_for_random=no +} +869= +{ + name="Bermann" + culture="swedish" + religion="catholic" + used_for_random=no +} +870= +{ + name="Tisander" + culture="german" + religion="catholic" + coat_of_arms= + { + data= + { + 0 1 26 9 1 11 7 4 0 7 1 7 7 + } + religion="catholic" + } + used_for_random=no +} +871= +{ + name="Sparrhult" + culture="swedish" + religion="jewish" + used_for_random=no +} +872= +{ + name="Sålder" + culture="norse" + religion="norse_pagan" + coat_of_arms= + { + data= + { +0 0 0 16 5 13 9 } + religion="norse_pagan" + } + used_for_random=no +} +873= +{ + name="Oltner" + culture="swedish" + religion="catholic" + coat_of_arms= + { + data= + { +0 0 29 23 0 9 8 } + religion="catholic" + } + used_for_random=no +} +874= +{ + name="Larzone" + culture="italian" + religion="catholic" + used_for_random=no +} +875= +{ + name="Skager" + culture="swedish" + religion="buddhist" + used_for_random=no + coat_of_arms= + { + data={ + 0 0 0 7 0 7 1 + } + religion = buddhist + } +} +876= +{ + name="Sjöberg" + culture="swedish" + religion="catholic" + used_for_random=no +} +877= +{ + name="Koter" + culture="polish" + religion="catholic" + used_for_random=no +} +878= +{ + name="Jenelius" + culture="irish" + religion="catholic" + used_for_random=no +} +879= +{ + name="von Eikenschild" + culture="german" + religion="catholic" + used_for_random=no +} +880= +{ + name="von Carenwall" + culture="german" + religion="catholic" + used_for_random=no +} +881= +{ + name="Woewodskij" + culture="polish" + religion="jewish" + used_for_random=no +} +882= +{ + name="Brock" + culture="danish" + religion="norse_pagan" + coat_of_arms= + { + data= + { +1 0 0 2 1 2 2 0 0 2 1 2 2 3 0 48 0 0 0 3 0 48 0 0 0 } + religion="catholic" + } + used_for_random=no +} +883={ + name="Nieminen" + culture=finnish + religion=finnish_pagan + coat_of_arms = + { + data = + { + 0 2 0 3 14 11 5 + } + religion = finnish_pagan + } + used_for_random = no +} +1002= +{ + name="Banner" + culture="danish" +} +1003= +{ + name="Bese" + culture="swedish" +} +1004= +{ + name="Boberg" + culture="swedish" +} +1005= +{ + name="Bragde" + culture="swedish" +} +1007= +{ + name="Bure" + culture="swedish" +} +1008= +{ + name="Eka" + culture="swedish" +} +1009= +{ + name="Fargalt" + culture="swedish" +} +1010= +{ + name="af Fånö" + culture="swedish" +} +1011= +{ + name="Forsa" + culture="swedish" +} +1012= +{ + name="Get" + culture="swedish" +} +1013= +{ + name="Gedda" + culture="swedish" +} +1014= +{ + name="af Hafrid" + culture="swedish" +} +1015= +{ + name="Hatt" + culture="swedish" +} +1016= +{ + name="af Hålbonäs" + culture="swedish" +} +1017= +{ + name="Hästhuvud" + culture="swedish" +} +1018= +{ + name="Knoppe" + culture="swedish" +} +1019= +{ + name="Kraam" + culture="swedish" +} +1020= +{ + name="Lake" + culture="swedish" +} +1021= +{ + name="Lejonansikte" + culture="swedish" +} +1022= +{ + name="Lejonbalk" + culture="swedish" +} +1023= +{ + name="Marsvin" + culture="swedish" +} +1024= +{ + name="Oxhufvud" + culture="swedish" +} +1025= +{ + name="Oxpanna" + culture="swedish" +} +1026= +{ + name="Pik" + culture="swedish" +} +1029= +{ + name="Skytte" + culture="swedish" + religion="norse_pagan" + coat_of_arms= + { + data= + { +0 0 0 7 1 7 7 } + religion="tengri_pagan" + } +} +1030= +{ + name="Stake" + culture="swedish" + religion="norse_pagan" + coat_of_arms= + { + data= + { +0 0 0 15 1 2 2 } + religion="norse_pagan" + } +} +1031= +{ + name="Stenbock" + culture="swedish" + religion="norse_pagan" + coat_of_arms= + { + data= + { +0 0 0 1 1 7 7 } + religion="norse_pagan" + } +} +1032= +{ + name="Sture" + culture="swedish" + religion="norse_pagan" +} +1033= +{ + name="Svan" + culture="swedish" +} +1034= +{ + name="Svinhufvud" + culture="swedish" +} +1035= +{ + name="Thott" + culture="danish" +} +1036= +{ + name="Tott" + culture="swedish" +} +1037= +{ + name="Tre Rosor" + culture="swedish" + religion="catholic" +} +1038= +{ + name="Tre Rutor" + culture="swedish" +} +1040= +{ + name="Trolle" + culture="swedish" + religion="catholic" +} +1042= +{ + name="Vasa" + culture="swedish" +} +1043= +{ + name="Vinstorpa" + culture="swedish" +} +1044= +{ + name="Virske" + culture="swedish" +} +1045= +{ + name="Vingad Pil" + culture="swedish" +} +1046= +{ + name="Vingad Lilja" + culture="swedish" +} +1047= +{ + name="Hästesko" + culture="swedish" +} +1048= +{ + name="Örnsparre" + culture="swedish" +} +1049= +{ + name="Snedbielke" + culture="swedish" +} +1050= +{ + name="Läma" + culture="swedish" +} +1052= +{ + name="Fluga" + culture="swedish" +} +1053= +{ + name="Konradiner" + culture="german" + religion="catholic" + coat_of_arms= + { + data= + { +0 7 0 9 0 0 0 } + religion="catholic" + } +} +1054= +{ + name="Hunfriding" + culture="german" + religion="catholic" + coat_of_arms= + { + data= + { +0 0 0 19 0 3 3 } + religion="catholic" + } +} +1055= +{ + name="Karmanjaka" + culture="swedish" + religion="norse_pagan" + used_for_random=no +} +1056= +{ + name="Ukhaidhirid" + culture="bedouin_arabic" + religion="shiite" +} +1057= +{ + name="Guldtupp" + culture="swedish" +} +1058= +{ + name="Ulfsax" + culture="swedish" +} +1059= +{ + name="Hæsteining" + culture="norse" + religion="norse_pagan" + coat_of_arms= + { + data= + { +0 0 0 0 5 0 0 } + religion="norse_pagan" + } + used_for_random=no +} +1060= +{ + name="Marinian" + culture="italian" + religion="orthodox" +} +1144= +{ + name="Tre Sjöblad" + culture="swedish" +} +1150= +{ + name="Fysche" + culture="saxon" +} +1151= +{ + name="Myall" + culture="english" +} +1152= +{ + name="Shannon" + culture="irish" +} +1153= +{ + name="Stjerne" + culture="swedish" +} +1154= +{ + name="Schmollinger" + culture="german" +} +1155= +{ + name="Witte" + culture="german" + religion="catholic" +} +1156= +{ + name="Wullenpund" + culture="german" +} +1158= +{ + name="von Hagen" + culture="german" + religion="catholic" +} +1159= +{ + name="Kráka" + culture="norse" +} +1160= +{ + name="Mikli" + culture="norse" +} +1161= +{ + name="Steneke" + culture="german" + religion="catholic" +} +1162= +{ + name="Hildemar" + culture="german" +} +1163= +{ + name="von Mölln" + culture="german" +} +1164= +{ + name="Runese" + culture="german" +} +1165= +{ + name="Smiðr" + culture="norse" +} +1166= +{ + name="Pleskow" + culture="german" + religion="catholic" +} +1167= +{ + name="Möring" + culture="norse" +} +1168= +{ + name="Gárdske" + culture="norse" +} +1169= +{ + name="Trolli" + culture="norse" +} +1170= +{ + name="Kven" + culture="norse" +} +1171= +{ + name="Toki" + culture="norse" +} +1172= +{ + name="Hárde" + culture="norse" +} +1173= +{ + name="Eyjing" + culture="norse" +} +1174= +{ + name="Orming" + culture="norse" + coat_of_arms= + { + data= + { +0 0 0 1 5 1 1 } + religion="norse_pagan" + } +} +1175= +{ + name="Hrafn" + culture="norse" + religion="norse_pagan" + coat_of_arms= + { + data= + { +0 0 0 0 5 1 1 } + religion="norse_pagan" + } +} +1176= +{ + name="Goði" + culture="norse" +} +1177= +{ + name="Austmaðr" + culture="norse" +} +1178= +{ + name="Hávi" + culture="norse" +} +1179= +{ + name="Rakki" + culture="norse" +} +1180= +{ + name="Refr" + culture="norse" + religion="norse_pagan" +} +1181= +{ + name="Skrauti" + culture="norse" +} +1182= +{ + name="Snarfari" + culture="norse" +} +1183= +{ + name="Stafr" + culture="norse" + religion="norse_pagan" +} +1184= +{ + name="Strangi" + culture="norse" +} +1185= +{ + name="Snjalli" + culture="norse" +} +1186= +{ + name="Súrr" + culture="norse" +} +1187= +{ + name="Skáld" + culture="norse" +} +1188= +{ + name="Viss" + culture="norse" +} +1189= +{ + name="Þrymr" + culture="norse" +} +1190= +{ + name="Þvari" + culture="norse" +} +1191= +{ + name="Ölfúss" + culture="norse" +} +1192= +{ + name="Örn" + culture="norse" +} +1193= +{ + name="Hvíti" + culture="norse" + coat_of_arms= + { + data= + { +0 0 0 12 5 1 1 } + religion="norse_pagan" + } +} +1194= +{ + name="Sterki" + culture="norse" +} +1195= +{ + name="Auðgi" + culture="norse" +} +1196= +{ + name="Rauði" + culture="norse" + coat_of_arms= + { + data= + { +0 0 0 1 0 7 7 } + religion="norse_pagan" + } +} +1197= +{ + name="Spaki" + culture="norse" +} +1198= +{ + name="Svarti" + culture="norse" + coat_of_arms= + { + data= + { +0 0 0 1 0 5 5 } + religion="norse_pagan" + } +} +1199= +{ + name="Rammi" + culture="norse" +} +1200= +{ + name="Lalli" + culture="finnish" +} +1201= +{ + name="Hannus" + culture="finnish" +} +1202= +{ + name="Jaakkola" + culture="finnish" +} +1203= +{ + name="Ilkka" + culture="finnish" +} +1204= +{ + name="Isotalo" + culture="finnish" +} +1205= +{ + name="Lauri" + culture="finnish" +} +1206= +{ + name="Tuure" + culture="finnish" +} +1207= +{ + name="Maunu" + culture="finnish" +} +1208= +{ + name="Akseli" + culture="finnish" +} +1209= +{ + name="Mjóvi" + culture="norse" +} +1210= +{ + name="Ríki" + culture="norse" +} +1211= +{ + name="Lambi" + culture="norse" +} +1212= +{ + name="Skarfr" + culture="norse" +} +1213= +{ + name="Skál" + culture="norse" +} +1214= +{ + name="Sleggja" + culture="norse" +} +1215= +{ + name="Smjör" + culture="norse" +} +1216= +{ + name="Stjarna" + culture="norse" +} +1217= +{ + name="Strúgr" + culture="norse" +} +1218= +{ + name="Sælendingr" + culture="norse" +} +1219= +{ + name="Súrr" + culture="norse" +} +1220= +{ + name="Sælingr" + culture="norse" +} +1221= +{ + name="Trausti" + culture="norse" +} +1222= +{ + name="Veðr" + culture="norse" +} +1223= +{ + name="Vámúli" + culture="norse" +} +1224= +{ + name="Væni" + culture="norse" +} +1225= +{ + name="Þistill" + culture="norse" +} +1226= +{ + name="Þjófi" + culture="norse" +} +1227= +{ + name="Þynning" + culture="norse" +} +1687= +{ + name="Dunkeld" + culture="scottish" + religion="catholic" + coat_of_arms= + { + data= + { +0 3 0 16 0 0 0 } + religion="catholic" + } + used_for_random=no +} +2000= +{ + name="Lahtinen" + culture="finnish" +} +2001= +{ + name="Benkestokk" + culture="norwegian" +} +2002= +{ + name="Handingmann" + culture="norwegian" +} +2003= +{ + name="Aspa" + culture="norwegian" +} +2004= +{ + name="Aurland" + culture="norwegian" +} +2005= +{ + name="Bjarkøy" + culture="norwegian" +} +2006= +{ + name="Andenes" + culture="norwegian" +} +2007= +{ + name="Blakar" + culture="norwegian" +} +2008= +{ + name="Blindheim" + culture="norwegian" +} +2009= +{ + name="Botner" + culture="danish" +} +2010= +{ + name="Bratt" + culture="swedish" +} +2011= +{ + name="Darre" + culture="danish" +} +2012= +{ + name="Egge" + culture="danish" +} +2013= +{ + name="Dall" + culture="saxon" +} +2014= +{ + name="Slee" + culture="saxon" +} +2015= +{ + name="Asdal" + culture="norwegian" +} +2016= +{ + name="Hudfat" + culture="norwegian" +} +2017= +{ + name="Hård" + culture="norwegian" +} +2018= +{ + name="Kane" + culture="norwegian" +} +2019= +{ + name="Kiil" + culture="saxon" +} +2020= +{ + name="Kusse" + culture="danish" +} +2021= +{ + name="Losna" + culture="norwegian" +} +2022= +{ + name="Mel" + culture="saxon" +} +2023= +{ + name="Munk" + culture="swedish" +} +2024= +{ + name="Ringnes" + culture="norwegian" +} +2025= +{ + name="Semeleng" + culture="norwegian" +} +2026= +{ + name="Spånheim" + culture="norwegian" +} +2027= +{ + name="Gjesling" + culture="norwegian" +} +2028= +{ + name="Sudrheim" + culture="norwegian" +} +2029= +{ + name="Talgje" + culture="norwegian" +} +2030= +{ + name="Teiste" + culture="norwegian" +} +2031= +{ + name="Østby" + culture="norwegian" +} +2032= +{ + name="Østråt" + culture="norwegian" +} +2033= +{ + name="Rein" + culture="norwegian" + religion="catholic" +} +2034= +{ + name="Giske" + culture="norwegian" +} +2035= +{ + name="Kamp" + culture="norwegian" +} +2036= +{ + name="Nordhagen" + culture="norwegian" +} +2037= +{ + name="Holter" + culture="saxon" +} +2038= +{ + name="Bjelke" + culture="swedish" +} +2039= +{ + name="Bolt" + culture="norwegian" +} +2040= +{ + name="Galle" + culture="norwegian" +} +2041= +{ + name="Galtung" + culture="norwegian" +} +2042= +{ + name="Hjerne" + culture="norwegian" +} +2043= +{ + name="Kamp" + culture="norwegian" +} +2044= +{ + name="Rømer" + culture="norwegian" +} +2045= +{ + name="Skanke" + culture="norwegian" +} +2046= +{ + name="Smør" + culture="norwegian" +} +2047= +{ + name="Staur" + culture="norwegian" +} +2050= +{ + name="Skjegge" + culture="norwegian" +} +3092= +{ + name="Cameron" + culture="scottish" +} +3093= +{ + name="Campbell" + culture="scottish" +} +3094= +{ + name="Mac Amhlaigh" + culture="scottish" +} +3100= +{ + name="Mac Léoit" + culture="scottish" +} +3101= +{ + name="Mac Domnaill" + culture="scottish" +} +3102= +{ + name="Mac DubSithe" + culture="scottish" +} +3103= +{ + name="Mac Néill" + culture="scottish" +} +3104= +{ + name="Mac Áeda" + culture="scottish" + religion="catholic" +} +3105= +{ + name="Mac Cainnig" + culture="scottish" +} +3106= +{ + name="na Ceardadh" + culture="scottish" +} +3107= +{ + name="Mac Finnagáin" + culture="scottish" +} +3108= +{ + name="Mac Gregoir" + culture="scottish" + religion="catholic" +} +3109= +{ + name="Mac Dubgaill" + culture="scottish" +} +3110= +{ + name="Gunn" + culture="norwegian" +} +3111= +{ + name="Mac in Rothaich" + culture="scottish" +} +3112= +{ + name="Neacail" + culture="scottish" +} +3113= +{ + name="Ceiteach" + culture="irish" +} +3117= +{ + name="a' Phearsain" + culture="scottish" +} +3119= +{ + name="Friseal" + culture="scottish" +} +3099= +{ + name="Grannd" + culture="scottish" +} +3098= +{ + name="Sdíbard" + culture="scottish" +} +3097= +{ + name="Lachlainn" + culture="scottish" +} +3138= +{ + name="Craigies" + culture="scottish" +} +3114= +{ + name="Mac Bethain" + culture="scottish" + religion="catholic" +} +3115= +{ + name="Mac in Toisich" + culture="scottish" +} +3116= +{ + name="Mac Gillebrath" + culture="scottish" +} +3096= +{ + name="Mac a' Phearsain" + culture="scottish" +} +3118= +{ + name="Barclay" + culture="scottish" +} +3095= +{ + name="Fraser" + culture="scottish" +} +3120= +{ + name="de Ramsay" + culture="scottish" +} +3121= +{ + name="Mac Duib" + culture="scottish" + religion="catholic" + coat_of_arms= + { + data= + { +0 4 0 0 7 0 0 } + religion="catholic" + } +} +3122= +{ + name="de Lindsay" + culture="scottish" + religion="catholic" +} +3123= +{ + name="de Brus" + culture="norman" + religion="catholic" + coat_of_arms= + { + data= + { +0 3 0 13 0 0 0 } + religion="catholic" + } +} +3124= +{ + name="Ceanadach" + culture="scottish" +} +3125= +{ + name="Douglas" + culture="scottish" + religion="catholic" +} +3126= +{ + name="Mac Fergusa" + culture="scottish" +} +3127= +{ + name="Mac Amlaigh" + culture="scottish" +} +3128= +{ + name="Caimbeul" + culture="scottish" + coat_of_arms={ data={0 4 0 31 0 5 2 } + religion="catholic" } +} +3129= +{ + name="Camshron" + culture="scottish" +} +3130= +{ + name="Gordon" + culture="scottish" +} +3131= +{ + name="Sgain" + culture="scottish" +} +3132= +{ + name="Grant" + culture="scottish" +} +3133= +{ + name="Wallace" + culture="scottish" + religion="catholic" +} +3134= +{ + name="Stewart" + culture="scottish" + religion="catholic" + coat_of_arms= + { + data= + { +0 3 0 41 0 0 0 } + religion="catholic" + } + used_for_random=no +} +3135= +{ + name="Emenon" + culture="frankish" + religion="catholic" + coat_of_arms= + { + data= + { +0 1 0 14 1 3 0 } + religion="catholic" + } +} +3140= +{ + name="Forbes" + culture="scottish" +} +3141= +{ + name="Armstrong" + culture="scottish" +} +3142= +{ + name="Johnston" + culture="scottish" +} +3143= +{ + name="Mac Áegusa" + culture="scottish" +} +3145= +{ + name="a Sratha Balgaid" + culture="scottish" + religion="catholic" +} +3146= +{ + name="Randolph" + culture="saxon" + religion="catholic" +} +3811= +{ + name="Bonde" + culture="swedish" + religion="catholic" +} +3950= +{ + name="Vajlok" + culture="hungarian" + religion="catholic" +} +3951= +{ + name="Wester" + culture="swedish" + religion="catholic" +} +3952= +{ + name="Helmehytte" + culture="norwegian" +} +3953= +{ + name="Pilhufvud" + culture="swedish" + religion="catholic" +} +4000= +{ + name="Percy" + culture="saxon" +} +4001= +{ + name="Mortimer" + culture="norman" + religion="catholic" +} +4002= +{ + name="Despencer" + culture="saxon" + religion="catholic" +} +4003= +{ + name="de Montfort" + culture="frankish" + religion="catholic" + coat_of_arms= + { + data= + { +0 3 0 29 0 0 0 } + religion="catholic" + } +} +4004= +{ + name="Neville" + culture="norman" +} +4005= +{ + name="Scrope" + culture="norman" +} +4007= +{ + name="Bacon" + culture="saxon" + religion="catholic" +} +4008= +{ + name="Reresby" + culture="saxon" +} +4009= +{ + name="Cornwallis" + culture="saxon" +} +4010= +{ + name="Clifford" + culture="saxon" + religion="catholic" +} +4011= +{ + name="Giffard" + culture="norman" + religion="catholic" +} +4012= +{ + name="Crispin" + culture="norman" +} +4013= +{ + name="Carew" + culture="saxon" +} +4014= +{ + name="Maddock" + culture="saxon" +} +4015= +{ + name="de Turberville" + culture="english" +} +4016= +{ + name="Fortescue" + culture="saxon" +} +4017= +{ + name="Bourchier" + culture="norman" +} +4018= +{ + name="Stanley" + culture="norman" +} +4019= +{ + name="de Ros" + culture="saxon" + religion="catholic" +} +4020= +{ + name="Talbot" + culture="norman" +} +4021= +{ + name="Howard" + culture="saxon" +} +4022= +{ + name="Maudit" + culture="saxon" +} +4023= +{ + name="d'Audley" + culture="norman" + religion="catholic" +} +4024= +{ + name="Berkeley" + culture="saxon" + religion="catholic" +} +4025= +{ + name="Barton" + culture="saxon" +} +4026= +{ + name="de St John" + culture="norman" + religion="catholic" +} +4027= +{ + name="de Seagrave" + culture="norman" +} +4028= +{ + name="Colvile" + culture="saxon" +} +4029= +{ + name="de Fauconberg" + culture="norman" +} +4030= +{ + name="de Leyburne" + culture="norman" +} +4031= +{ + name="Grey" + culture="saxon" +} +4032= +{ + name="de Greystock" + culture="norman" +} +4033= +{ + name="de Lisle" + culture="norman" +} +4034= +{ + name="de Burgh" + culture="saxon" + religion="catholic" +} +4035= +{ + name="de Holland" + culture="english" + religion="catholic" +} +4036= +{ + name="d'Ufford" + culture="norman" + religion="catholic" +} +4037= +{ + name="de Lacy" + culture="norman" + religion="catholic" +} +4038= +{ + name="de Frenes" + culture="norman" + religion="catholic" +} +4039= +{ + name="Darcy" + culture="saxon" + religion="catholic" +} +4040= +{ + name="Butler" + culture="english" + religion="catholic" +} +4041= +{ + name="FitzGerald" + culture="norman" + religion="catholic" +} +4042= +{ + name="de Cherleton" + culture="norman" + religion="catholic" +} +4043= +{ + name="Ua Domnaill" + culture="irish" + religion="catholic" +} +4044= +{ + name="Ua Ruairc" + culture="irish" +} +4045= +{ + name="Ua Máil Eóin" + culture="irish" + religion="catholic" +} +4046= +{ + name="FitzPatrick" + culture="irish" +} +4047= +{ + name="d'Avranches" + culture="norman" + religion="catholic" +} +5000= +{ + name="d'Harcourt" + culture="norman" + religion="catholic" +} +5001= +{ + name="de Rochechouart" + culture="frankish" + religion="catholic" +} +5002= +{ + name="de Mortemart" + culture="frankish" + religion="catholic" +} +5003= +{ + name="de Gramont" + culture="frankish" + religion="catholic" +} +5004= +{ + name="de la Rochefoucauld" + culture="frankish" +} +5005= +{ + name="de Caumont" + culture="frankish" +} +5006= +{ + name="de Serrant" + culture="frankish" +} +5007= +{ + name="de la Roche Aymon" + culture="frankish" + religion="catholic" +} +5008= +{ + name="de Lévis" + culture="frankish" + religion="catholic" +} +5009= +{ + name="de Villeneuve" + culture="frankish" +} +5010= +{ + name="de Prunelé" + culture="norman" +} +5011= +{ + name="de Beaufort" + culture="norman" +} +5012= +{ + name="de Cosnac" + culture="norman" +} +5013= +{ + name="de Beauffremont" + culture="frankish" +} +5014= +{ + name="de Chalencon" + culture="frankish" + religion="catholic" +} +5015= +{ + name="de Polignac" + culture="frankish" +} +5016= +{ + name="de Riencourt" + culture="frankish" +} +5017= +{ + name="de Matignon" + culture="norman" +} +5018= +{ + name="de Pontevès" + culture="occitan" +} +5019= +{ + name="de Sabran" + culture="occitan" + religion="catholic" +} +5020= +{ + name="de Crussol" + culture="occitan" +} +5021= +{ + name="de Quatrebarbes" + culture="occitan" +} +5022= +{ + name="de Menthon" + culture="frankish" +} +5023= +{ + name="d'Argouges" + culture="frankish" +} +5024= +{ + name="de Noailles" + culture="frankish" +} +5025= +{ + name="de Mostuejouls" + culture="frankish" +} +5026= +{ + name="de Briey" + culture="frankish" +} +5027= +{ + name="de Vogué" + culture="frankish" + religion="catholic" +} +5028= +{ + name="de la Panouse" + culture="occitan" +} +5029= +{ + name="de Tournemire" + culture="frankish" +} +5030= +{ + name="de Curières" + culture="frankish" +} +5031= +{ + name="de Lévezou" + culture="occitan" +} +5032= +{ + name="de Beauvau" + culture="frankish" +} +5033= +{ + name="de Rohan" + culture="norman" +} +5034= +{ + name="Chabot" + culture="frankish" + religion="catholic" +} +5035= +{ + name="de Menou" + culture="frankish" +} +5036= +{ + name="de la Rochelambert" + culture="occitan" +} +5037= +{ + name="de Cadoine" + culture="occitan" +} +5038= +{ + name="de Saint-Gilles" + culture="frankish" +} +5039= +{ + name="de Montrichard" + culture="frankish" +} +5040= +{ + name="d'Abzac" + culture="frankish" +} +5041= +{ + name="de Loubens" + culture="frankish" +} +5043= +{ + name="de Kerret" + culture="occitan" +} +5044= +{ + name="de Donges" + culture="occitan" +} +5045= +{ + name="de Pontchâteau" + culture="frankish" +} +5046= +{ + name="de Vitré" + culture="frankish" +} +5047= +{ + name="d'Estouville" + culture="frankish" +} +5048= +{ + name="de Forz" + culture="norman" +} +5049= +{ + name="de Mauvoisin" + culture="frankish" +} +5050= +{ + name="de Montbray" + culture="norman" +} +5051= +{ + name="de Rouvray" + culture="occitan" +} +5052= +{ + name="de Say" + culture="norman" + religion="catholic" +} +5053= +{ + name="de Blaison" + culture="frankish" +} +5054= +{ + name="de Craon" + culture="frankish" +} +5055= +{ + name="de l'Isle" + culture="norman" +} +5056= +{ + name="de Mayenne" + culture="frankish" + religion="catholic" +} +5057= +{ + name="de Mello" + culture="frankish" + religion="catholic" +} +5058= +{ + name="des Roches" + culture="frankish" + religion="catholic" +} +5059= +{ + name="de Sablé" + culture="frankish" +} +5060= +{ + name="d'Avesnes" + culture="frankish" + religion="catholic" + coat_of_arms= + { + data= + { +0 5 0 24 0 0 0 } + religion="catholic" + } +} +5061= +{ + name="de Beaumont" + culture="norman" + religion="catholic" +} +5062= +{ + name="Clément" + culture="frankish" +} +5063= +{ + name="du Perche" + culture="frankish" +} +5064= +{ + name="des Barres" + culture="frankish" +} +5065= +{ + name="de Senlis" + culture="norman" + religion="catholic" +} +5066= +{ + name="de Campistron" + culture="frankish" + religion="catholic" +} +5067= +{ + name="de Corbeil" + culture="norman" + religion="catholic" +} +5068= +{ + name="de Dreux" + culture="norman" +} +5069= +{ + name="de Garlande" + culture="saxon" + religion="catholic" +} +5070= +{ + name="de Marly" + culture="frankish" +} +5071= +{ + name="de Melun" + culture="frankish" +} +5072= +{ + name="de Meulan" + culture="frankish" + religion="catholic" +} +5073= +{ + name="de Montmorency" + culture="frankish" + religion="catholic" +} +5074= +{ + name="de Nanteuil" + culture="frankish" +} +5075= +{ + name="de Neauphle" + culture="frankish" +} +5076= +{ + name="de Poissy" + culture="occitan" +} +5077= +{ + name="de Saint-Denis" + culture="frankish" +} +5078= +{ + name="de Voisins" + culture="frankish" + religion="catholic" +} +5079= +{ + name="de Boves" + culture="frankish" +} +5080= +{ + name="de Cayeux" + culture="occitan" +} +5081= +{ + name="de Coucy" + culture="frankish" + religion="catholic" +} +5082= +{ + name="de Fontaines" + culture="frankish" +} +5083= +{ + name="de Nesle" + culture="frankish" + religion="catholic" +} +5084= +{ + name="de Picquigny" + culture="frankish" + religion="catholic" +} +5085= +{ + name="de Roucy" + culture="frankish" +} +5086= +{ + name="de Saint-Valéry" + culture="frankish" +} +5087= +{ + name="Tyrel" + culture="norman" +} +5088= +{ + name="de Bar" + culture="frankish" +} +5089= +{ + name="de Grandpré" + culture="frankish" + religion="catholic" +} +5090= +{ + name="de Joigny" + culture="frankish" + religion="catholic" +} +5091= +{ + name="de Villehardouin" + culture="frankish" + religion="catholic" + coat_of_arms= + { + data= + { +0 5 0 25 0 0 0 } + religion="catholic" + } +} +5092= +{ + name="de Beaujeu" + culture="occitan" + religion="catholic" + coat_of_arms= + { + data= + { +0 5 0 26 0 0 0 } + religion="catholic" + } +} +5093= +{ + name="de Donzy" + culture="frankish" + religion="catholic" +} +5094= +{ + name="de Thury" + culture="norman" +} +5095= +{ + name="de Vergy" + culture="occitan" + religion="catholic" +} +5096= +{ + name="de Gourdon" + culture="occitan" +} +5097= +{ + name="de Mauléon" + culture="frankish" + religion="catholic" +} +5098= +{ + name="de Turenne" + culture="frankish" + religion="catholic" +} +5099= +{ + name="d'Astarac" + culture="frankish" +} +5100= +{ + name="de Lomagne" + culture="frankish" + religion="catholic" +} +5101= +{ + name="de Montesquiou" + culture="frankish" + religion="catholic" +} +5102= +{ + name="de Alfaro" + culture="castillan" +} +5103= +{ + name="d'Anduze" + culture="occitan" + religion="catholic" +} +5104= +{ + name="de Cardaillac" + culture="frankish" +} +5105= +{ + name="de Gontaut" + culture="frankish" +} +5106= +{ + name="de Puylaurens" + culture="occitan" +} +5107= +{ + name="de Roquefeuil" + culture="frankish" +} +5108= +{ + name="de Barbaira" + culture="frankish" +} +5109= +{ + name="de Durfort" + culture="frankish" +} +5110= +{ + name="d'Hautpoul" + culture="frankish" +} +5111= +{ + name="de Laurac" + culture="frankish" +} +5112= +{ + name="de Saissac" + culture="frankish" +} +5113= +{ + name="de Termes" + culture="frankish" +} +5114= +{ + name="de Castelbon" + culture="occitan" +} +5115= +{ + name="de Durban" + culture="frankish" +} +5116= +{ + name="de Fenolhet" + culture="occitan" +} +5117= +{ + name="des Baux" + culture="occitan" + religion="catholic" +} +6000= +{ + name="van Egmond" + culture="dutch" +} +6001= +{ + name="van Amstel" + culture="dutch" + religion="catholic" +} +6002= +{ + name="van Arkel" + culture="dutch" +} +6003= +{ + name="van Boutershem" + culture="dutch" +} +6004= +{ + name="van Brederode" + culture="dutch" +} +6005= +{ + name="van Brunesheim" + culture="dutch" +} +6006= +{ + name="van Breda" + culture="dutch" +} +6007= +{ + name="van Heemskerk" + culture="dutch" +} +6008= +{ + name="van Gaveren" + culture="dutch" +} +6009= +{ + name="van Glymes" + culture="dutch" +} +6010= +{ + name="van Grimberghe" + culture="dutch" +} +6011= +{ + name="van Hurne" + culture="dutch" +} +6012= +{ + name="van Renesse" + culture="dutch" +} +6013= +{ + name="van Wesemael" + culture="dutch" +} +6014= +{ + name="van Wassenaer" + culture="dutch" +} +6015= +{ + name="van Rheden" + culture="dutch" +} +6016= +{ + name="van Bronckhorst" + culture="dutch" + religion="catholic" +} +6017= +{ + name="van Keppel" + culture="dutch" +} +6018= +{ + name="van Voorst" + culture="dutch" +} +6019= +{ + name="van Lathum" + culture="dutch" +} +6021= +{ + name="van Swane" + culture="dutch" +} +6022= +{ + name="van Wisch" + culture="dutch" +} +7000= +{ + name="de Amaya" + culture="basque" + religion="catholic" +} +7001= +{ + name="de Azagra" + culture="basque" + religion="catholic" + coat_of_arms= + { + data= + { +0 8 0 41 0 0 0 } + religion="catholic" + } +} +7002= +{ + name="Benavides" + culture="basque" +} +7003= +{ + name="Ponce de León" + culture="castillan" + religion="catholic" +} +7004= +{ + name="Barrientos" + culture="castillan" +} +7005= +{ + name="de Ceballos" + culture="castillan" +} +7006= +{ + name="de Toledo" + culture="castillan" +} +7007= +{ + name="de Córdoba" + culture="castillan" +} +7008= +{ + name="de Godoy" + culture="castillan" +} +7009= +{ + name="de la Vega" + culture="castillan" +} +7010= +{ + name="de Guzmán" + culture="castillan" + religion="catholic" +} +7011= +{ + name="de Villalobos" + culture="castillan" + religion="catholic" +} +7012= +{ + name="de Castella" + culture="visigothic" + religion="catholic" + coat_of_arms= + { + data= + { +0 0 0 11 0 3 3 } + religion="catholic" + } +} +7013= +{ + name="de Noreña" + culture="castillan" +} +7014= +{ + name="de Gijón" + culture="castillan" +} +7015= +{ + name="de Sotomayor" + culture="castillan" +} +7016= +{ + name="de Zúñiga" + culture="basque" +} +7017= +{ + name="de Cáceres" + culture="castillan" +} +7018= +{ + name="de Solís" + culture="castillan" +} +7019= +{ + name="de Siones" + culture="portuguese" + religion="catholic" +} +7020= +{ + name="de Quiñones" + culture="castillan" + religion="catholic" +} +7021= +{ + name="de Quintana" + culture="castillan" + religion="catholic" +} +7022= +{ + name="de Padilla" + culture="castillan" + religion="catholic" +} +7023= +{ + name="de Pereira" + culture="portuguese" + religion="catholic" +} +7024= +{ + name="de Villena" + culture="catalan" + religion="catholic" +} +7025= +{ + name="de Girón" + culture="castillan" + religion="catholic" +} +7026= +{ + name="de Marañón" + culture="castillan" + religion="catholic" +} +7027= +{ + name="de Candamio" + culture="castillan" +} +7028= +{ + name="Barragán" + culture="castillan" +} +7029= +{ + name="Mejía" + culture="castillan" +} +7030= +{ + name="Cabeza de Vaca" + culture="castillan" +} +7031= +{ + name="de Villagarcía" + culture="castillan" +} +7032= +{ + name="de Figueroa" + culture="catalan" +} +7033= +{ + name="de Luna" + culture="castillan" + religion="catholic" +} +70434= +{ + name="de la Cueva" + culture="castillan" +} +7035= +{ + name="de Pacheco" + culture="castillan" + religion="catholic" +} +7036= +{ + name="de Cárdenas" + culture="castillan" + religion="catholic" +} +7037= +{ + name="Fernández" + culture="castillan" +} +7038= +{ + name="Pérez" + culture="castillan" +} +7039= +{ + name="Ruíz" + culture="castillan" +} +7040= +{ + name="López" + culture="castillan" +} +7041= +{ + name="Díaz" + culture="castillan" +} +7042= +{ + name="Alonso" + culture="castillan" +} +7043= +{ + name="Sánchez" + culture="castillan" + religion="catholic" +} +7044= +{ + name="Láinez" + culture="castillan" +} +7045= +{ + name="de Aviz" + culture="portuguese" +} +7046= +{ + name="de Prado" + culture="castillan" + religion="catholic" +} +7047= +{ + name="de Fonseca" + culture="portuguese" + religion="catholic" +} +7048= +{ + name="da Cunha" + culture="portuguese" + religion="catholic" +} +7049= +{ + name="Coronel" + culture="basque" +} +7050= +{ + name="de Lauria" + culture="italian" + religion="catholic" +} +7051= +{ + name="Tusculani" + culture="italian" + religion="catholic" + coat_of_arms= + { + data= + { +0 2 0 16 5 3 0 } + religion="catholic" + } +} +7052= +{ + name="Bosonid" + culture="frankish" + religion="catholic" + coat_of_arms= + { + data= + { +0 3 0 37 0 0 0 } + religion="catholic" + } + used_for_random=no +} +7100= +{ + name="von Nellenburg" + culture="german" + religion="catholic" +} +7101= +{ + name="von Arnstein" + culture="german" + religion="catholic" +} +7102= +{ + name="van Kamerijk" + culture="dutch" +} +7103= +{ + name="von Supplingenburg" + culture="german" + religion="catholic" +} +7104= +{ + name="von Plotzkau" + culture="german" + religion="catholic" +} +7105= +{ + name="von Katlenburg" + culture="german" + religion="catholic" +} +7106= +{ + name="von Goslar" + culture="german" + religion="catholic" +} +7107= +{ + name="von Bremen" + culture="german" + religion="catholic" +} +7108= +{ + name="von Köln" + culture="german" + religion="catholic" +} +7109= +{ + name="von Wunstorf" + culture="german" + religion="catholic" +} +7110= +{ + name="von Goltern" + culture="german" + religion="catholic" +} +7111= +{ + name="von Wölpe" + culture="german" + religion="catholic" +} +7112= +{ + name="Grand" + culture="danish" + religion="catholic" +} +7113= +{ + name="von Holte" + culture="german" + religion="catholic" +} +7114= +{ + name="von Are" + culture="german" + religion="catholic" +} +7115= +{ + name="von Wippra" + culture="german" + religion="catholic" +} +7116= +{ + name="von Isenberg" + culture="german" + religion="catholic" +} +7117= +{ + name="von der Mark" + culture="german" + religion="catholic" +} +7118= +{ + name="von Diest" + culture="german" + religion="catholic" +} +7119= +{ + name="von Rietberg" + culture="german" + religion="catholic" +} +7120= +{ + name="von Löningen" + culture="german" + religion="catholic" +} +7121= +{ + name="von Corvey" + culture="german" + religion="catholic" +} +7122= +{ + name="von Steinfurt" + culture="german" + religion="catholic" +} +7123= +{ + name="von Tecklenburg" + culture="german" + religion="catholic" +} +7124= +{ + name="von Rüssel" + culture="german" + religion="catholic" +} +7125= +{ + name="von Waldeck" + culture="german" + religion="catholic" +} +7126= +{ + name="von Ravensberg" + culture="german" + religion="catholic" +} +7127= +{ + name="von Weyhe" + culture="german" + religion="catholic" +} +7128= +{ + name="Cirksena" + culture="dutch" + religion="catholic" +} +7129= +{ + name="van Visquard" + culture="dutch" + religion="catholic" +} +7130= +{ + name="van Groothusen" + culture="dutch" + religion="catholic" +} +7131= +{ + name="von Hoya" + culture="german" + religion="catholic" +} +7132= +{ + name="von Dachau" + culture="german" +} +7133= +{ + name="von Bassenheim" + culture="german" + religion="catholic" +} +7134= +{ + name="von Kerpen" + culture="german" + religion="catholic" +} +7135= +{ + name="von Tunna" + culture="german" + religion="catholic" +} +7136= +{ + name="von Salza" + culture="german" + religion="catholic" +} +7137= +{ + name="von Malberg" + culture="german" + religion="catholic" +} +7138= +{ + name="von Hohenlohe" + culture="german" + religion="catholic" +} +7139= +{ + name="von Wüllersleben" + culture="german" + religion="catholic" +} +7140= +{ + name="von Osterna" + culture="german" + religion="catholic" +} +7141= +{ + name="von Sangershausen" + culture="german" + religion="catholic" +} +7142= +{ + name="von Heldrungen" + culture="german" + religion="catholic" +} +7143= +{ + name="von Schwanden" + culture="german" + religion="catholic" +} +7144= +{ + name="von Feuchtwangen" + culture="german" + religion="catholic" +} +7145= +{ + name="von Trier" + culture="german" + religion="catholic" +} +7146= +{ + name="von Orseln" + culture="german" + religion="catholic" +} +7147= +{ + name="von Buxthoeven" + culture="german" + religion="catholic" +} +7148= +{ + name="von Nauen" + culture="german" + religion="catholic" +} +7149= +{ + name="Suerbeer" + culture="german" + religion="catholic" +} +7150= +{ + name="von Lunen" + culture="german" + religion="catholic" +} +7151= +{ + name="von Vechta" + culture="german" + religion="catholic" +} +7152= +{ + name="de Fontiès" + culture="occitan" + religion="catholic" +} +7153= +{ + name="Pernstein" + culture="german" + religion="catholic" +} +7154= +{ + name="von Schwerin" + culture="german" + religion="catholic" +} +7155= +{ + name="von Dorpat" + culture="german" + religion="catholic" +} +7156= +{ + name="von Haseldorf" + culture="german" + religion="catholic" +} +7157= +{ + name="von Vyshusen" + culture="german" + religion="catholic" +} +7158= +{ + name="von Dolen" + culture="german" + religion="catholic" +} +7159= +{ + name="von Ösel" + culture="german" + religion="catholic" +} +7160= +{ + name="Powal" + culture="polish" + religion="catholic" +} +7161= +{ + name="z Liubic" + culture="pommeranian" +} +7162= +{ + name="z Pomorza" + culture="pommeranian" + religion="slavic_pagan" +} +7163= +{ + name="Swienca" + culture="pommeranian" + religion="catholic" +} +7164= +{ + name="von Friesack" + culture="german" + religion="catholic" +} +7165= +{ + name="von Henneberg" + culture="german" + religion="catholic" +} +7166= +{ + name="von Hildesheim" + culture="german" + religion="catholic" +} +7167= +{ + name="von Lechsgmünd" + culture="german" +} +7168= +{ + name="van Cuijck" + culture="dutch" + religion="catholic" +} +7169= +{ + name="van Bierum" + culture="dutch" + religion="catholic" +} +7170= +{ + name="van Rhenen" + culture="dutch" + religion="catholic" +} +7171= +{ + name="van Are" + culture="dutch" + religion="catholic" +} +7172= +{ + name="van Randerath" + culture="dutch" + religion="catholic" +} +7173= +{ + name="von Ziegenhain" + culture="german" + religion="catholic" +} +7174= +{ + name="van Sierck" + culture="dutch" + religion="catholic" +} +7175= +{ + name="van Berthout" + culture="dutch" + religion="catholic" +} +7176= +{ + name="van Oudshoorn" + culture="frisian" + religion="catholic" +} +7177= +{ + name="van Diest" + culture="dutch" +} +7178= +{ + name="von Komburg" + culture="german" + religion="catholic" +} +7180= +{ + name="von Stahleck" + culture="german" + religion="catholic" +} +7181= +{ + name="di Poli" + culture="italian" + religion="catholic" +} +7182= +{ + name="Ridel" + culture="norman" + religion="catholic" +} +7183= +{ + name="di Sorrento" + culture="italian" + religion="catholic" +} +7184= +{ + name="di Capua" + culture="italian" + religion="catholic" + coat_of_arms= + { + data= + { +0 0 0 17 0 7 7 } + religion="catholic" + } +} +7185= +{ + name="d'Amalfi" + culture="italian" +} +7186= +{ + name="di Molise" + culture="italian" + religion="catholic" +} +7187= +{ + name="Mansel" + culture="norman" + religion="catholic" +} +7188= +{ + name="di Brindisi" + culture="italian" + religion="catholic" +} +7189= +{ + name="Brictone" + culture="italian" + religion="catholic" +} +7190= +{ + name="di Catanzaro" + culture="italian" + religion="catholic" +} +7191= +{ + name="di Loritello" + culture="italian" + religion="catholic" +} +7192= +{ + name="de Bassonville" + culture="norman" + religion="catholic" +} +7193= +{ + name="de Saone" + culture="frankish" + religion="catholic" +} +7194= +{ + name="de Saint-Omer" + culture="frankish" + religion="catholic" + coat_of_arms= + { + data= + { +0 5 0 27 0 0 0 } + religion="catholic" + } +} +7195= +{ + name="von Dinslaken" + culture="german" + religion="catholic" +} +7196= +{ + name="Ledur" + culture="frankish" + religion="catholic" +} +7197= +{ + name="van Voorne" + culture="dutch" + religion="catholic" +} +7198= +{ + name="Reginar" + culture="dutch" + religion="catholic" + coat_of_arms= + { + data= + { +0 3 0 11 0 0 0 } + religion="catholic" + } + used_for_random=no +} +7199= +{ + name="de Guise" + culture="frankish" + religion="catholic" +} +7200= +{ + name="van Naaldwijk" + culture="dutch" + religion="catholic" +} +7201= +{ + name="de Crysoing" + culture="frankish" + religion="catholic" +} +7202= +{ + name="Mytzes" + culture="bulgarian" + religion="orthodox" +} +7203= +{ + name="Tikh" + culture="bulgarian" + religion="orthodox" +} +7204= +{ + name="Bardovka" + culture="bulgarian" + religion="orthodox" +} +7205= +{ + name="Sliven" + culture="bulgarian" + religion="orthodox" +} +7206= +{ + name="Desllor" + culture="catalan" + religion="catholic" +} +7207= +{ + name="de Neuilly" + culture="frankish" + religion="catholic" +} +7208= +{ + name="de Bures" + culture="frankish" + religion="catholic" + coat_of_arms= + { + data= + { +0 5 0 28 0 0 0 } + religion="catholic" + } +} +7209= +{ + name="de Bazoches" + culture="frankish" + religion="catholic" + coat_of_arms= + { + data= + { +0 5 0 29 0 0 0 } + religion="catholic" + } +} +7210= +{ + name="de Chappes" + culture="frankish" + religion="catholic" +} +7211= +{ + name="de Toucy" + culture="frankish" + religion="catholic" +} +7212= +{ + name="de Candia" + culture="italian" + religion="catholic" +} +7213= +{ + name="Fimetta" + culture="italian" + religion="catholic" +} +7214= +{ + name="di Rocca" + culture="italian" + religion="catholic" +} +7215= +{ + used_for_random=no + name="Orsini" + culture="italian" + religion="catholic" +} +7216= +{ + name="Gozzadini" + culture="italian" + religion="catholic" +} +7217= +{ + name="de Pecoriari" + culture="italian" + religion="catholic" +} +7218= +{ + name="Ghisi" + culture="italian" + religion="catholic" +} +7219= +{ + name="de Trith" + culture="frankish" + religion="catholic" +} +7220= +{ + name="Rapotonen" + culture="german" + religion="catholic" +} +7221= +{ + name="von Lambach" + culture="german" + religion="catholic" +} +7222= +{ + name="von Pluyvoise" + culture="german" + religion="catholic" +} +7223= +{ + name="von Scharfenberg" + culture="german" + religion="catholic" +} +7224= +{ + name="d'Apremont" + culture="frankish" + religion="catholic" +} +7225= +{ + name="de Trainel" + culture="frankish" + religion="catholic" +} +7226= +{ + name="von Leistenberg" + culture="german" + religion="catholic" +} +7227= +{ + name="de Rhéninghe" + culture="frankish" + religion="catholic" +} +7228= +{ + name="Richwiner" + culture="german" + religion="catholic" +} +7229= +{ + name="de Monteil" + culture="frankish" + religion="catholic" +} +7230= +{ + name="von Schwarzburg" + culture="german" + religion="catholic" +} +7231= +{ + name="von Badewide" + culture="german" + religion="catholic" +} +7232= +{ + name="von Wassel" + culture="german" + religion="catholic" +} +7233= +{ + name="von Dassel" + culture="german" + religion="catholic" +} +7235= +{ + name="Michele" + culture="italian" + religion="catholic" +} +7236= +{ + name="Polani" + culture="italian" + religion="catholic" +} +7237= +{ + name="Zen" + culture="italian" + religion="catholic" +} +7238= +{ + name="Soranzo" + culture="italian" + religion="catholic" +} +7239= +{ + name="de Grimmingen" + culture="dutch" + religion="catholic" +} +7240= +{ + name="de Bourbourg" + culture="frankish" + religion="catholic" +} +7241= +{ + name="d'Ardres" + culture="frankish" + religion="catholic" +} +7242= +{ + name="de Fiennes" + culture="frankish" + religion="catholic" +} +7244= +{ + name="de Saint-Pol" + culture="frankish" + religion="catholic" +} +7245= +{ + name="de Baudement" + culture="frankish" + religion="catholic" +} +7246= +{ + name="Solomonid" + culture="ethiopian" + religion="miaphysite" + coat_of_arms= + { + data= + { +0 7 0 50 0 0 0 } + religion="catholic" + } +} +7248= +{ + name="d'Orange" + culture="occitan" + religion="catholic" + coat_of_arms= + { + data= + { +0 2 0 10 3 1 5 } + religion="catholic" + } +} +7249= +{ + name="d'Omélas" + culture="occitan" + religion="catholic" +} +7250= +{ + name="Tocco" + culture="italian" + religion="catholic" +} +7251= +{ + name="di Licinardo" + culture="italian" + religion="catholic" +} +7252= +{ + name="di Leone" + culture="italian" + religion="catholic" +} +7253= +{ + name="di San Lucido" + culture="italian" + religion="catholic" +} +7254= +{ + name="Torda" + culture="italian" + religion="catholic" +} +7255= +{ + name="Scripari" + culture="italian" + religion="catholic" +} +7256= +{ + name="d'Erville" + culture="frankish" + religion="catholic" +} +7257= +{ + name="von Greyerz" + culture="german" + religion="catholic" +} +7258= +{ + name="de Glane" + culture="frankish" + religion="catholic" +} +7259= +{ + name="von Grenchen" + culture="german" + religion="catholic" +} +7260= +{ + name="d'Apchier" + culture="frankish" + religion="catholic" +} +7262= +{ + name="de Messines" + culture="frankish" +} +7263= +{ + name="de Chocques" + culture="norman" +} +7264= +{ + name="La Ferté" + culture="frankish" +} +7265= +{ + name="Grenier" + culture="frankish" + religion="catholic" +} +7266= +{ + name="de Brisebarre" + culture="frankish" + religion="catholic" +} +7267= +{ + name="Bunduqdarid" + culture="turkish" + religion="sunni" + coat_of_arms= + { + data= + { +0 1 0 40 2 0 12 } + religion="sunni" + } + forced_coa_religiongroup="muslim" +} +7268= +{ + name="Aybakid" + culture="turkish" + religion="sunni" + coat_of_arms= + { + data= + { +0 1 0 26 7 1 9 } + religion="sunni" + } + forced_coa_religiongroup="muslim" +} +7269= +{ + name="Qutuzid" + culture="turkish" + religion="sunni" + coat_of_arms= + { + data= + { +0 1 0 11 12 10 4 } + religion="sunni" + } + forced_coa_religiongroup="muslim" +} +7270= +{ + name="Kitbughai" + culture="turkish" + religion="sunni" + coat_of_arms= + { + data= + { +0 1 0 9 0 2 3 } + religion="sunni" + } + forced_coa_religiongroup="muslim" +} +7271= +{ + name="Lajinli" + culture="turkish" + religion="sunni" + coat_of_arms= + { + data= + { +0 1 0 28 6 9 9 } + religion="sunni" + } + forced_coa_religiongroup="muslim" +} +7272= +{ + name="Jashnakirid" + culture="turkish" + religion="sunni" + coat_of_arms= + { + data= + { +0 0 0 8 6 9 0 } + religion="sunni" + } + forced_coa_religiongroup="muslim" +} +7273= +{ + name="Walashma" + culture="bedouin_arabic" + religion="sunni" + coat_of_arms= + { + data= + { +0 0 0 11 12 7 6 } + religion="sunni" + } +} +7274= +{ + name="Almoravid" + culture="maghreb_arabic" + religion="sunni" + coat_of_arms= + { + data= + { +0 0 0 12 2 1 1 } + religion="sunni" + } +} +7275= +{ + name="an-Nafzawiyyat" + culture="maghreb_arabic" + religion="sunni" +} +7276= +{ + name="Hafsid" + culture="maghreb_arabic" + religion="sunni" + coat_of_arms= + { + data= + { +0 0 0 26 11 0 1 } + religion="sunni" + } +} +7277= +{ + name="Zayanid" + culture="maghreb_arabic" + religion="sunni" + coat_of_arms= + { + data= + { +0 0 0 2 11 1 12 } + religion="sunni" + } +} +7278= +{ + name="Aglabid" + culture="andalusian_arabic" + religion="sunni" +} +7279= +{ + name="Hakamid" + culture="andalusian_arabic" + religion="shiite" +} +7280= +{ + name="van Aarschot" + culture="dutch" + religion="catholic" +} +7281= +{ + name="de Chiny" + culture="frankish" + religion="catholic" +} +7282= +{ + name="Immedinger" + culture="german" + religion="catholic" + coat_of_arms= + { + data= + { +0 0 0 14 0 2 2 } + religion="catholic" + } + forced_coa_religiongroup="christian" +} +7283= +{ + name="von Abensberg" + culture="german" + religion="catholic" +} +7284= +{ + name="von Grünberg" + culture="german" + religion="catholic" +} +7285= +{ + name="von Lichtenberg" + culture="german" + religion="catholic" +} +7286= +{ + name="von Hachberg" + culture="german" + religion="catholic" +} +7287= +{ + name="de Montfaucon" + culture="frankish" + religion="catholic" +} +7288= +{ + name="von Wartenberg" + culture="german" + religion="catholic" +} +7289= +{ + name="von Wolfach" + culture="german" + religion="catholic" +} +7290= +{ + name="Babenberger" + culture="german" + religion="catholic" + coat_of_arms= + { + data= + { +0 7 0 2 0 0 0 } + religion="catholic" + } +} +7291= +{ + name="von Gudensberg" + culture="german" + religion="catholic" +} +7292= +{ + name="von Gerhausen" + culture="german" + religion="catholic" +} +7293= +{ + name="von Signau" + culture="german" + religion="catholic" +} +7295= +{ + name="von Groitzsch" + culture="german" + religion="catholic" +} +7296= +{ + name="Hashimid" + culture="bedouin_arabic" + religion="pagan" + coat_of_arms= + { + data= + { +0 0 0 4 0 2 2 } + religion="sunni" + } + forced_coa_religiongroup="muslim" +} +7298= +{ + name="af Frondholm" + culture="danish" + religion="catholic" +} +7299= +{ + name="de Bailleul" + culture="frankish" + religion="catholic" +} +7300= +{ + name="Karesili" + culture="turkish" + religion="sunni" + coat_of_arms= + { + data= + { +0 1 0 46 11 12 1 } + religion="sunni" + } +} +7301= +{ + name="Tzachas" + culture="turkish" + religion="sunni" +} +7302= +{ + name="Stryphnos" + culture="greek" + religion="orthodox" +} +7303= +{ + name="of Alife" + culture="norman" + religion="catholic" +} +7304= +{ + name="Euforbenos" + culture="greek" + religion="orthodox" +} +7305= +{ + name="of Thornham" + culture="english" + religion="catholic" +} +7306= +{ + name="de Camville" + culture="english" + religion="catholic" +} +7307= +{ + name="Chinard" + culture="italian" + religion="catholic" +} +7308= +{ + name="Usfurid" + culture="bedouin_arabic" + religion="shiite" + coat_of_arms= + { + data= + { +0 0 0 22 1 4 4 } + religion="shiite" + } +} +7309= +{ + name="Jarwanid" + culture="bedouin_arabic" + religion="shiite" + coat_of_arms= + { + data= + { +0 0 0 32 2 0 9 } + religion="shiite" + } +} +7310= +{ + name="de Larsa" + culture="italian" + religion="catholic" +} +7311= +{ + name="Litovoi" + culture="romanian" + religion="orthodox" +} +7312= +{ + name="ad-Daula" + culture="egyptian_arabic" + religion="sunni" +} +7313= +{ + name="Dell'Orto" + culture="italian" + religion="catholic" +} +7314= +{ + name="Gabras" + culture="greek" + religion="orthodox" + coat_of_arms= + { + data= + { +1 1 0 10 2 1 1 1 0 10 2 1 1 } + religion="orthodox" + } +} +7315= +{ + name="Uriankhai" + culture="mongol" + religion="tengri_pagan" +} +7316= +{ + name="Bujakhin" + culture="mongol" +} +7317= +{ + name="Besud" + culture="mongol" + religion="tengri_pagan" +} +7319= +{ + name="as-Sa'di" + culture="egyptian_arabic" + religion="shiite" +} +7320= +{ + name="Jukondarid" + culture="egyptian_arabic" + religion="sunni" +} +7321= +{ + name="Dewadarid" + culture="egyptian_arabic" + religion="sunni" +} +7322= +{ + name="Kanzid" + culture="egyptian_arabic" + religion="sunni" + coat_of_arms= + { + data= + { +0 1 0 28 5 1 1 } + religion="sunni" + } +} +7323= +{ + name="Askarid" + culture="cuman" + religion="sunni" +} +7324= +{ + name="Adirlu" + culture="cuman" + religion="sunni" +} +7325= +{ + name="de Plancy" + culture="frankish" + religion="catholic" +} +7326= +{ + name="Hashimid" + culture="persian" + religion="sunni" + coat_of_arms= + { + data= + { +0 0 0 19 1 2 2 } + religion="sunni" + } +} +7327= +{ + name="Oghuz" + culture="turkish" + religion="sunni" +} +7328= +{ + name="Qocharid" + culture="turkish" + religion="sunni" +} +7329= +{ + name="Burhanid" + culture="persian" + religion="sunni" +} +7330= +{ + name="Kartid" + culture="persian" + religion="sunni" + coat_of_arms= + { + data= + { +0 1 0 17 9 7 7 } + religion="sunni" + } +} +7331= +{ + name="Bavandid" + culture="persian" + religion="zoroastrian" + coat_of_arms= + { + data= + { +0 0 0 4 0 3 3 } + religion="zoroastrian" + } +} +7332= +{ + name="Baduspanid" + culture="persian" + religion="shiite" + coat_of_arms={ + data={0 0 0 2 8 11 1 } + religion="zoroastrian" + } + forced_coa_religiongroup="zoroastrian_group" +} +7333= +{ + name="Hazaraspid" + culture="kurdish" + religion="sunni" + coat_of_arms= + { + data= + { +0 1 0 19 7 9 1 } + religion="sunni" + } +} +7334= +{ + name="Khurshidi" + culture="turkish" + religion="sunni" + coat_of_arms= + { + data= + { +0 1 0 4 9 10 7 } + religion="sunni" + } +} +7335= +{ + name="Salaghurid" + culture="turkish" + religion="sunni" +} +7336= +{ + name="Ghuzz" + culture="turkish" + religion="sunni" +} +7337= +{ + name="Qutlugh-Khan" + culture="persian" + religion="sunni" +} +7338= +{ + name="Nasrid" + culture="persian" + religion="sunni" +} +7339= +{ + name="Mihrabanid" + culture="persian" + religion="sunni" + coat_of_arms= + { + data= + { +0 1 0 11 0 3 8 } + religion="sunni" + } +} +7340= +{ + name="Safavid" + culture="persian" + religion="shiite" + coat_of_arms= + { + data= + { +0 1 0 21 6 1 0 } + religion="shiite" + } +} +7341= +{ + name="Gilani" + culture="persian" + religion="shiite" +} +7342= +{ + name="Pishkinoghlu" + culture="turkish" + religion="sunni" +} +7343= +{ + name="Lu'Lu" + culture="levantine_arabic" + religion="sunni" +} +7344= +{ + name="Sulaymanid" + culture="levantine_arabic" + religion="sunni" + coat_of_arms= + { + data= + { +0 0 0 1 1 7 7 } + religion="sunni" + } +} +7345= +{ + name="Gauhar Ayin" + culture="turkish" + religion="sunni" +} +7346= +{ + name="Abuqid" + culture="levantine_arabic" + religion="sunni" +} +7347= +{ + name="Bohruz" + culture="turkish" + religion="sunni" +} +7348= +{ + name="Bursaqid" + culture="levantine_arabic" + religion="sunni" + coat_of_arms= + { + data= + { +0 0 0 12 1 7 7 } + religion="sunni" + } +} +7349= +{ + name="Mahmudid" + culture="levantine_arabic" + religion="sunni" +} +7350= +{ + name="Bahadur" + culture="levantine_arabic" + religion="sunni" +} +7351= +{ + name="Ata-Malik" + culture="levantine_arabic" + religion="sunni" +} +7352= +{ + name="de Petra" + culture="frankish" + religion="catholic" +} +7353= +{ + name="Kerbogali" + culture="turkish" + religion="sunni" +} +7354= +{ + name="Altuntekin" + culture="turkish" + religion="sunni" +} +7355= +{ + name="Saqawa" + culture="turkish" + religion="sunni" +} +7356= +{ + name="Sonqorjali" + culture="turkish" + religion="sunni" +} +7357= +{ + name="Juyushli" + culture="turkish" + religion="sunni" +} +7358= +{ + name="Aq Sonqor" + culture="turkish" + religion="sunni" +} +7359= +{ + name="Sökmenid" + culture="turkish" + religion="sunni" +} +7360= +{ + name="Begtimurid" + culture="turkish" + religion="sunni" +} +7361= +{ + name="Hazardinari" + culture="turkish" + religion="sunni" +} +7362= +{ + name="Dulkadir" + culture="turkish" + religion="sunni" + coat_of_arms= + { + data= + { +0 1 0 20 6 1 0 } + religion="sunni" + } +} +7363= +{ + name="Inalid" + culture="turkish" + religion="sunni" +} +7364= +{ + name="de Marash" + culture="frankish" + religion="catholic" +} +7365= +{ + name="Teginid" + culture="levantine_arabic" + religion="shiite" +} +7366= +{ + name="Kitamid" + culture="levantine_arabic" + religion="shiite" +} +7367= +{ + name="Masmudid" + culture="levantine_arabic" + religion="shiite" +} +7368= +{ + name="Kwarazmid" + culture="turkish" + religion="sunni" +} +7369= +{ + name="Burid" + culture="turkish" + religion="sunni" +} +7370= +{ + name="Ma'anid" + culture="levantine_arabic" + religion="sunni" + coat_of_arms= + { + data= + { +0 1 0 41 9 3 6 } + religion="sunni" + } +} +7371= +{ + name="Noyan" + culture="mongol" + religion="nestorian" +} +7372= +{ + name="de Afranji" + culture="norman" + religion="catholic" +} +7373= +{ + name="Darod" + culture="ethiopian" + religion="sunni" + coat_of_arms= + { + data= + { +0 1 0 9 8 12 12 } + religion="sunni" + } +} +7374= +{ + name="Saint-Abraham" + culture="frankish" + religion="catholic" +} +7375= +{ + name="Inanj" + culture="turkish" + religion="sunni" + coat_of_arms= + { + data= + { +0 1 0 26 2 1 9 } + religion="sunni" + } +} +7376= +{ + name="Mihaljevic" + culture="croatian" + religion="catholic" +} +7377= +{ + name="di Castropola" + culture="italian" + religion="catholic" +} +7378= +{ + name="Kán" + culture="hungarian" + religion="catholic" +} +7379= +{ + name="Jochid" + culture="mongol" +} +7380= +{ + name="Chagatayid" + culture="mongol" +} +7389= +{ + name="Guideschi" + culture="italian" + religion="catholic" + coat_of_arms= + { + data= + { +0 7 0 10 0 0 0 } + religion="catholic" + } +} +7500= +{ + name="Mozzainid" + culture="andalusian_arabic" + religion="sunni" +} +7501= +{ + name="Hammudid" + culture="bedouin_arabic" + religion="shiite" +} +7502= +{ + name="Aznagid" + culture="maghreb_arabic" +} +7503= +{ + name="Zurayid" + culture="bedouin_arabic" + religion="shiite" +} +7504= +{ + name="Muazzamid" + culture="bedouin_arabic" + religion="shiite" +} +7505= +{ + name="Hatimid" + culture="bedouin_arabic" + religion="shiite" +} +7506= +{ + name="Qubaybid" + culture="bedouin_arabic" + religion="shiite" +} +7507= +{ + name="Sarbadar" + culture="persian" + religion="shiite" + coat_of_arms= + { + data= + { +0 0 0 21 11 1 12 } + religion="shiite" + } +} +7508= +{ + name="Mojmírid" + culture="bohemian" + religion="slavic_pagan" + coat_of_arms= + { + data= + { +0 7 0 30 0 0 0 } + religion="catholic" + } +} +7509= +{ + name="z Nitrava" + culture="bohemian" + religion="catholic" + coat_of_arms= + { + data= + { +0 2 0 0 5 1 3 } + religion="catholic" + } +} +7510= +{ + name="Faravid" + culture="persian" + religion="zoroastrian" + coat_of_arms= + { + data= + { +0 0 0 2 0 7 7 } + religion="zoroastrian" + } +} +7511= +{ + name="Karen" + culture="persian" + religion="zoroastrian" + coat_of_arms= + { + data= + { +0 7 0 29 0 0 0 } + religion="catholic" + } + forced_coa_religiongroup="zoroastrian_group" +} +7512= +{ + name="Alavid" + culture="bedouin_arabic" + religion="shiite" + coat_of_arms= + { + data= + { +0 1 0 44 0 2 0 } + religion="shiite" + } +} +7513= +{ + name="Justanid" + culture="kurdish" + religion="zoroastrian" + coat_of_arms= + { + data= + { +0 0 0 3 0 5 5 } + religion="zoroastrian" + } + forced_coa_religiongroup="zoroastrian_group" +} +7514= +{ + name="Hvitserk" + culture="norse" + religion="norse_pagan" + coat_of_arms= + { + data= + { +0 7 0 31 0 0 0 } + religion="catholic" + } + used_for_random=no +} +7515= +{ + name="Ubbing" + culture="norse" + religion="norse_pagan" + coat_of_arms= + { + data= + { +0 1 0 0 1 3 5 } + religion="norse_pagan" + } + used_for_random=no +} +7516= +{ + name="Oskyldr" + culture="norse" + religion="norse_pagan" + coat_of_arms= + { + data= + { +0 0 0 14 0 5 5 } + religion="norse_pagan" + } + used_for_random=no +} +7517= +{ + name="al-Turki" + culture="turkish" + religion="sunni" +} +7518= +{ + name="Hamdanid" + culture="levantine_arabic" + religion="shiite" +} +7519= +{ + name="al-Sharabi" + culture="turkish" + religion="sunni" +} +7520= +{ + name="al-Armani" + culture="turkish" + religion="sunni" +} +7521= +{ + name="Ashinas" + culture="turkish" + religion="sunni" +} +7522= +{ + name="Bajkam" + culture="turkish" +} +7700= +{ + name="de Châteaubriant" + culture="breton" +} +8600= +{ + name="d'Asturias" + culture="visigothic" + religion="catholic" + coat_of_arms= + { + data= + { +0 7 0 36 0 0 0 } + religion="catholic" + } +} +8601= +{ + name="de Cantabria" + culture="visigothic" + religion="catholic" + coat_of_arms= + { + data= + { +0 7 0 12 0 0 0 } + religion="catholic" + } +} +8602= +{ + name="Gutiérrez" + culture="castillan" +} +8603= +{ + name="Venigómez" + culture="castillan" + religion="catholic" +} +8604= +{ + name="de Liébana" + culture="castillan" +} +8605= +{ + name="Feijoo" + culture="castillan" +} +8606= +{ + name="de Lugo" + culture="castillan" +} +8607= +{ + name="de Bergido" + culture="castillan" +} +8608= +{ + name="de Peñalba" + culture="castillan" +} +8609= +{ + name="Muñoz" + culture="castillan" +} +8610= +{ + name="Velaz" + culture="basque" + religion="catholic" +} +8611= +{ + name="de Miravalles" + culture="castillan" +} +8612= +{ + name="de Cisneros" + culture="castillan" + religion="catholic" +} +8613= +{ + name="de Oca" + culture="basque" + religion="catholic" +} +8614= +{ + name="de Tafalla" + culture="basque" + religion="catholic" +} +8615= +{ + name="de Viguera" + culture="basque" + religion="catholic" +} +8616= +{ + name="de Cea" + culture="basque" +} +8617= +{ + name="Íñiga" + culture="basque" + religion="catholic" + coat_of_arms= + { + data= + { +0 7 0 27 0 0 0 } + religion="catholic" + } +} +8618= +{ + name="Gundemáriz" + culture="visigothic" + religion="catholic" +} +8619= +{ + name="Peláez" + culture="castillan" +} +8620= +{ + name="Osorio" + culture="castillan" + religion="catholic" +} +8621= +{ + name="de Sahagún" + culture="castillan" +} +8622= +{ + name="Alfonso" + culture="castillan" +} +8623= +{ + name="Rodríguez" + culture="castillan" +} +8624= +{ + name="Bermúdez" + culture="castillan" +} +8625= +{ + name="de Prauia" + culture="visigothic" + religion="catholic" +} +8626= +{ + name="Vimaranes" + culture="portuguese" + religion="catholic" + coat_of_arms= + { + data= + { +0 8 0 30 0 0 0 } + religion="catholic" + } +} +8627= +{ + name="de Braga" + culture="portuguese" +} +8628= +{ + name="Froilies" + culture="portuguese" +} +8629= +{ + name="Velasques" + culture="portuguese" + religion="catholic" +} +8630= +{ + name="de Manzanedo" + culture="castillan" +} +8631= +{ + name="de Tost" + culture="catalan" +} +8632= +{ + name="Lukaric" + culture="serbian" + religion="catholic" +} +8633= +{ + name="Aaron" + culture="greek" +} +8634= +{ + name="Lampinos" + culture="greek" + religion="orthodox" +} +8635= +{ + name="Erdevelu" + culture="bolghar" + religion="tengri_pagan" +} +8636= +{ + name="Balgarsko" + culture="bulgarian" + religion="tengri_pagan" + coat_of_arms= + { + data= + { +0 7 0 18 0 0 0 } + religion="catholic" + } +} +8637= +{ + name="Tzimiskes" + culture="greek" + religion="orthodox" +} +8638= +{ + name="Kurtikainos" + culture="greek" + religion="orthodox" +} +8639= +{ + name="Murzuphlos" + culture="greek" + religion="orthodox" + coat_of_arms= + { + data= + { +0 1 0 12 5 0 1 } + religion="orthodox" + } +} +8640= +{ + name="Balatios" + culture="greek" + religion="orthodox" +} +8641= +{ + name="Ouranos" + culture="greek" + religion="orthodox" + coat_of_arms= + { + data= + { +0 2 0 1 0 3 1 } + religion="orthodox" + } +} +8642= +{ + name="Amorios" + culture="greek" + religion="iconoclast" + coat_of_arms= + { + data= + { +0 7 0 14 0 0 0 } + religion="catholic" + } +} +8643= +{ + name="Armenios" + culture="greek" + religion="iconoclast" +} +8644= +{ + name="Rangabes" + culture="greek" + religion="iconoclast" + coat_of_arms= + { + data= + { +0 0 0 35 5 1 0 } + religion="orthodox" + } +} +8645= +{ + name="Logothetes" + culture="greek" + religion="orthodox" +} +8646= +{ + name="Isauros" + culture="greek" + religion="iconoclast" + coat_of_arms= + { + data= + { +0 8 0 12 0 0 0 } + religion="catholic" + } +} +8647= +{ + name="ton Rhomaion" + religion="orthodox" +} +8648= +{ + name="Octavianus" + culture="roman" + religion="hellenic_pagan" + forced_coa_religiongroup="christian" +} +8649= +{ + name="Polites" + culture="greek" + religion="orthodox" +} +8650= +{ + name="Studites" + culture="greek" + religion="orthodox" +} +8651= +{ + name="Skamandrenos" + culture="greek" + religion="orthodox" +} +8652= +{ + name="Synkellos" + culture="greek" + religion="orthodox" +} +8653= +{ + name="Kauleas" + culture="greek" + religion="orthodox" +} +8654= +{ + name="Monocharzanios" + culture="greek" + religion="iconoclast" +} +8655= +{ + name="Kassymatas" + culture="greek" + religion="iconoclast" +} +8656= +{ + name="Nesteutes" + culture="greek" + religion="orthodox" +} +8657= +{ + name="Scholastikos" + culture="greek" + religion="orthodox" +} +8658= +{ + name="Chrisostomos" + culture="greek" + religion="orthodox" +} +8659= +{ + name="Nazianzen" + culture="greek" + religion="orthodox" +} +8660= +{ + name="Nikomedianos" + culture="greek" + religion="orthodox" +} +8661= +{ + name="Protokletos" + culture="greek" + religion="orthodox" +} +8662= +{ + name="Garidas" + culture="greek" + religion="orthodox" +} +8663= +{ + name="Grammatikos" + culture="greek" +} +8664= +{ + name="de Mousson" + culture="frankish" +} +8665= +{ + name="von Frickingen" + culture="german" + religion="catholic" +} +8666= +{ + name="von Sigmaringen" + culture="german" + religion="catholic" +} +8667= +{ + name="von Regensburg" + culture="german" + religion="catholic" +} +8668= +{ + name="von Lurngau" + culture="german" + religion="catholic" +} +8669= +{ + name="di Biandrate" + culture="italian" + religion="catholic" +} +8670= +{ + name="di Montemerlo" + culture="italian" + religion="catholic" +} +8671= +{ + name="Buzzacavani" + culture="italian" + religion="catholic" +} +8672= +{ + name="Ramberti" + culture="italian" + religion="catholic" +} +8673= +{ + name="Ariosti" + culture="italian" + religion="catholic" +} +8674= +{ + name="Pepoli" + culture="italian" + religion="catholic" +} +8675= +{ + name="di Guidoti" + culture="italian" + religion="catholic" +} +8676= +{ + name="Boccadelli" + culture="italian" + religion="catholic" +} +8677= +{ + name="Borri" + culture="italian" + religion="catholic" +} +8678= +{ + name="Botticelli" + culture="italian" + religion="catholic" +} +8679= +{ + name="Caccianemici" + culture="italian" + religion="catholic" +} +8680= +{ + name="Cambiano" + culture="italian" + religion="catholic" +} +8681= +{ + name="d'Alamant" + culture="frankish" + religion="catholic" +} +8682= +{ + name="d'Aquino" + culture="italian" + religion="catholic" +} +8683= +{ + name="da Dovara" + culture="italian" + religion="catholic" +} +8684= +{ + name="da Egna" + culture="italian" + religion="catholic" +} +8685= +{ + name="de Alagón" + culture="castillan" + religion="catholic" +} +8686= +{ + name="de Cicon" + culture="frankish" + religion="catholic" +} +8687= +{ + name="de Faucigny" + culture="frankish" + religion="catholic" +} +8688= +{ + name="de Gallaura" + culture="italian" + religion="catholic" +} +8689= +{ + name="de Garamontibus" + culture="italian" + religion="catholic" +} +8690= +{ + name="de Karditsa" + culture="frankish" + religion="catholic" +} +8691= +{ + name="de Lacon" + culture="italian" + religion="catholic" +} +8692= +{ + name="de Machierato" + culture="italian" + religion="catholic" +} +8693= +{ + name="de Motluel" + culture="frankish" + religion="catholic" +} +8694= +{ + name="de Salvaing" + culture="frankish" + religion="catholic" +} +8695= +{ + name="de Thoire" + culture="frankish" + religion="catholic" +} +8696= +{ + name="de Valromey" + culture="frankish" + religion="catholic" +} +8697= +{ + name="del Balzo" + culture="italian" + religion="catholic" +} +8698= +{ + name="di Agledo" + culture="italian" + religion="catholic" +} +8699= +{ + name="di Battifolle" + culture="italian" + religion="catholic" +} +8700= +{ + name="di Barbiano" + culture="italian" + religion="catholic" +} +8701= +{ + name="di Brayda" + culture="italian" + religion="catholic" +} +8702= +{ + name="di Cavanesse" + culture="italian" + religion="catholic" +} +8703= +{ + name="di Ceva" + culture="italian" + religion="catholic" +} +8704= +{ + name="di Cosseria" + culture="italian" + religion="catholic" +} +8705= +{ + name="di Cuma" + culture="italian" + religion="catholic" +} +8706= +{ + name="di Gucellone" + culture="italian" + religion="catholic" +} +8707= +{ + name="di L'Aquila" + culture="italian" + religion="catholic" +} +8708= +{ + name="di Maltraversi" + culture="italian" + religion="catholic" +} +8709= +{ + name="di Mansano" + culture="italian" + religion="catholic" +} +8710= +{ + name="di Montelongo" + culture="italian" + religion="catholic" +} +8711= +{ + name="di Mulazzano" + culture="italian" + religion="catholic" +} +8712= +{ + name="di Ocra" + culture="italian" + religion="catholic" +} +8713= +{ + name="di Ponzone" + culture="italian" + religion="catholic" +} +8714= +{ + name="di Serro" + culture="italian" + religion="catholic" +} +8715= +{ + name="Enganna" + culture="italian" + religion="catholic" +} +8716= +{ + name="Gerra" + culture="italian" + religion="catholic" +} +8717= +{ + name="Guercio" + culture="italian" + religion="catholic" +} +8718= +{ + name="Mandelli" + culture="italian" + religion="catholic" +} +8719= +{ + name="Monticelli" + culture="italian" + religion="catholic" +} +8720= +{ + name="Navigajoso" + culture="italian" + religion="catholic" +} +8721= +{ + name="Turchi" + culture="italian" + religion="catholic" +} +8722= +{ + name="Pettiti" + culture="italian" + religion="catholic" +} +8723= +{ + name="Pierleoni" + culture="italian" + religion="catholic" +} +8724= +{ + name="Pio" + culture="italian" + religion="catholic" +} +8725= +{ + name="Pirovano" + culture="italian" + religion="catholic" +} +8726= +{ + name="Rangoni" + culture="italian" + religion="catholic" +} +8727= +{ + name="Sasudo" + culture="italian" + religion="catholic" +} +8728= +{ + name="Scrofegni" + culture="italian" + religion="catholic" +} +8729= +{ + name="Valperga" + culture="italian" + religion="catholic" +} +8730= +{ + name="von Leibrechtskirchen" + culture="german" + religion="catholic" +} +8731= +{ + name="von Meran" + culture="german" +} +8732= +{ + name="von Treven" + culture="german" + religion="catholic" +} +8733= +{ + name="Zaccaria" + culture="italian" + religion="catholic" +} +8734= +{ + name="Zorzi" + culture="italian" + religion="catholic" + coat_of_arms= + { + data= + { +0 5 0 30 0 0 0 } + religion="catholic" + } +} +8735= +{ + name="di Salizzolo" + culture="italian" + religion="catholic" +} +8736= +{ + name="di Pontio" + culture="italian" + religion="catholic" +} +8737= +{ + name="de Samos" + culture="castillan" +} +8738= +{ + name="de Bembimbre" + culture="castillan" + religion="catholic" +} +8739= +{ + name="de Villacorta" + culture="castillan" +} +8740= +{ + name="de Santibáñez" + culture="castillan" + religion="catholic" +} +8741= +{ + name="Herrámeliz" + culture="castillan" + religion="catholic" +} +8742= +{ + name="Carracedo" + culture="basque" + religion="catholic" +} +8743= +{ + name="de Silos" + culture="castillan" +} +8744= +{ + name="de Quintanilla" + culture="castillan" + religion="catholic" +} +8745= +{ + name="de Aguilar" + culture="castillan" +} +8746= +{ + name="de Toro" + culture="castillan" + religion="catholic" +} +8747= +{ + name="de Segovia" + culture="castillan" + religion="catholic" +} +8748= +{ + name="de Biedma" + culture="castillan" + religion="catholic" +} +8749= +{ + name="de Cabra" + culture="castillan" + religion="catholic" +} +8750= +{ + name="de Álava" + culture="basque" + religion="catholic" +} +8751= +{ + name="de Yarnoz" + culture="basque" + religion="catholic" +} +8752= +{ + name="de Lacarre" + culture="frankish" + religion="catholic" +} +8753= +{ + name="de Montaner" + culture="occitan" +} +8754= +{ + name="Cajal" + culture="basque" +} +8755= +{ + name="de Ramerupt" + culture="frankish" + religion="catholic" +} +8756= +{ + name="de Castellbò" + culture="catalan" + religion="catholic" +} +8757= +{ + name="de Dax" + culture="occitan" + religion="catholic" +} +8758= +{ + name="de Cervera" + culture="catalan" + religion="catholic" +} +8759= +{ + name="de Torroja" + culture="catalan" + religion="catholic" +} +8760= +{ + name="de Melgueil" + culture="occitan" + religion="catholic" + coat_of_arms= + { + data= + { +0 2 0 10 5 1 3 } + religion="catholic" + } +} +8761= +{ + name="d'Aniort" + culture="catalan" + religion="catholic" +} +8762= +{ + name="de Xèrica" + culture="catalan" + religion="catholic" +} +8763= +{ + name="di Avola" + culture="italian" + religion="catholic" +} +8764= +{ + name="del Rei" + culture="catalan" +} +8765= +{ + name="de Pinós" + culture="catalan" + religion="catholic" +} +8766= +{ + name="de Fenouillet" + culture="frankish" +} +8767= +{ + name="de Vilaragut" + culture="catalan" + religion="catholic" +} +8768= +{ + name="del Port" + culture="catalan" + religion="catholic" +} +8769= +{ + name="de Ayerbe" + culture="castillan" + religion="catholic" +} +8770= +{ + name="di Veintimiglia" + culture="italian" +} +8771= +{ + name="de Castre" + culture="catalan" + religion="catholic" +} +8772= +{ + name="de Canet" + culture="catalan" + religion="catholic" +} +8773= +{ + name="de Híjar" + culture="castillan" + religion="catholic" +} +8774= +{ + name="de Sa Roca" + culture="catalan" +} +8775= +{ + name="di Trinacria" + culture="italian" +} +8776= +{ + name="Polizzi" + culture="italian" +} +8777= +{ + name="de Castilla y León" +} +8778= +{ + name="de Aragón" + culture="castillan" +} +8779= +{ + name="Vela" + culture="basque" + religion="catholic" +} +8780= +{ + name="de Risnal" + culture="castillan" + religion="catholic" +} +8781= +{ + name="Furtado" + culture="castillan" + religion="catholic" +} +8782= +{ + name="de Castro Urdiales" + culture="castillan" + religion="catholic" +} +8783= +{ + name="da Soana" + culture="italian" + religion="catholic" +} +8784= +{ + name="Coniulo" + culture="italian" +} +8785= +{ + name="di Castello" + culture="italian" + religion="catholic" +} +8786= +{ + name="Paganelli" + culture="italian" + religion="catholic" +} +8787= +{ + name="della Suburra" + culture="italian" + religion="catholic" +} +8788= +{ + name="Breakspear" + culture="english" + religion="catholic" +} +8789= +{ + name="Allucingolli" + culture="italian" + religion="catholic" +} +8790= +{ + name="di Conti" + culture="italian" + religion="catholic" +} +8791= +{ + name="di Jenne" + culture="italian" + religion="catholic" +} +8792= +{ + name="Pantaléon" + culture="frankish" + religion="catholic" +} +8793= +{ + name="Faucoi" + culture="occitan" + religion="catholic" +} +8794= +{ + name="de Tarentaise" + culture="frankish" + religion="catholic" +} +8795= +{ + name="Hispano" + culture="portuguese" + religion="catholic" +} +8796= +{ + name="Angelerio" + culture="italian" + religion="catholic" +} +8797= +{ + name="de Got" + culture="occitan" + religion="catholic" +} +8798= +{ + name="d'Euse" + culture="frankish" + religion="catholic" +} +9006= +{ + name="de Távora" + culture="portuguese" +} +9007= +{ + name="Moniz" + culture="portuguese" +} +9008= +{ + name="Pais" + culture="portuguese" +} +9009= +{ + name="de Sá" + culture="portuguese" +} +9010= +{ + name="Martins" + culture="portuguese" +} +9011= +{ + name="de Melo" + culture="portuguese" +} +9101= +{ + name="of Strathearn" + culture="scottish" + religion="catholic" + coat_of_arms= + { + data= + { +0 4 0 0 0 2 2 } + religion="catholic" + } +} +9102= +{ + name="of Tullibardine" + culture="scottish" + religion="catholic" +} +9103= +{ + name="d'Aubigny" + culture="norman" +} +9104= +{ + name="de Moravia" + culture="dutch" + religion="catholic" +} +9105= +{ + name="of Itchington" + culture="english" +} +9106= +{ + name="of Northall" + culture="english" + religion="catholic" +} +9107= +{ + name="de Montagu" + culture="english" + religion="catholic" +} +9108= +{ + name="of Kendale" + culture="english" + religion="catholic" +} +9109= +{ + name="de Taillebois" + culture="norman" + religion="catholic" +} +9110= +{ + name="de Roumare" + culture="norman" + religion="catholic" +} +9111= +{ + name="de Briquessart" + culture="norman" + religion="catholic" +} +9112= +{ + name="of Bolingbroke" + culture="norman" + religion="catholic" +} +9113= +{ + name="de Vieuxpont" + culture="norman" + religion="catholic" +} +9114= +{ + name="de Umfraville" + culture="english" + religion="catholic" +} +9115= +{ + name="Mowbray-Aubigny" + culture="english" + religion="catholic" +} +9116= +{ + name="Palemonaitis" + culture="lithuanian" + religion="baltic_pagan" +} +9117= +{ + name="of Žemaiteje" + culture="lithuanian" + religion="baltic_pagan" + coat_of_arms= + { + data= + { +0 0 0 10 0 7 7 } + religion="baltic_pagan" + } +} +9118= +{ + name="of Gardinas" + culture="lithuanian" + religion="baltic_pagan" +} +9119= +{ + name="of Palenke" + culture="lithuanian" + religion="baltic_pagan" +} +9120= +{ + name="Choscisko" + culture="polish" + religion="slavic_pagan" + coat_of_arms= + { + data= + { +0 0 0 4 1 3 3 } + religion="slavic_pagan" + } +} +9121= +{ + name="Sieradzki" + culture="polish" + religion="slavic_pagan" +} +9122= +{ + name="Kujawski" + culture="polish" + religion="slavic_pagan" + coat_of_arms= + { + data= + { +0 0 0 5 3 1 1 } + religion="slavic_pagan" + } +} +9123= +{ + name="Mazowiecki" + culture="polish" + religion="slavic_pagan" + coat_of_arms= + { + data= + { +0 0 0 5 3 1 1 } + religion="slavic_pagan" + } +} +9124= +{ + name="Lechowicz" + culture="polish" + religion="slavic_pagan" + coat_of_arms= + { + data= + { +0 0 0 5 1 3 3 } + religion="slavic_pagan" + } +} +9125= +{ + name="Lyakhovich" + culture="russian" + religion="slavic_pagan" +} +9126= +{ + name="Suvalkija" + culture="lithuanian" + religion="baltic_pagan" + coat_of_arms= + { + data= + { +0 1 0 3 0 2 11 } + religion="slavic_pagan" + } +} +9127= +{ + name="of the Slezanie" + culture="polish" + religion="slavic_pagan" +} +9128= +{ + name="Wratyslawicz" + culture="polish" + religion="slavic_pagan" +} +9129= +{ + name="of the Opolanie" + culture="polish" + religion="slavic_pagan" +} +9130= +{ + name="of the Golensizi" + culture="polish" + religion="slavic_pagan" +} +9200= +{ + name="Ua Cearbhaill" + culture="irish" + religion="catholic" +} +9201= +{ + name="Mac Mathgamna" + culture="irish" + religion="catholic" +} +9202= +{ + name="Ua Néill" + culture="irish" + religion="catholic" +} +9203= +{ + name="Ua hUalgairg" + culture="irish" + religion="catholic" +} +9204= +{ + name="Ua Flaithbertaig" + culture="irish" + religion="catholic" +} +9205= +{ + name="Ua Maíl Sechlainn" + culture="irish" + religion="catholic" +} +9206= +{ + name="Got" + culture="irish" + religion="catholic" +} +9207= +{ + name="Ua Maíl Ruanaid" + culture="irish" + religion="catholic" +} +9208= +{ + name="Ua Cheinnselaig" + culture="irish" + religion="catholic" + coat_of_arms= + { + data= + { +0 0 0 6 3 1 1 } + religion="catholic" + } +} +9209= +{ + name="Mac Murchada Cáemánach" + culture="irish" + religion="catholic" +} +9210= +{ + name="Mac Murchada Cennselach" + culture="irish" + religion="catholic" +} +9211= +{ + name="Ua Fáeláin" + culture="irish" + religion="catholic" +} +9212= +{ + name="Ua Cáellaíde" + culture="irish" + religion="catholic" +} +9213= +{ + name="av Dyflinn" + culture="norwegian" + religion="catholic" +} +9214= +{ + name="av Vedrafjord" + culture="norwegian" + religion="catholic" + coat_of_arms= + { + data= + { +0 7 0 6 0 0 0 } + religion="catholic" + } +} +9215= +{ + name="Ua Rubann" + culture="irish" + religion="catholic" +} +9216= +{ + name="Ua Briúin Aí" + culture="irish" + religion="catholic" + coat_of_arms= + { + data= + { +0 4 0 6 1 3 3 } + religion="catholic" + } + used_for_random=no + forced_coa_religiongroup="christian" +} +9217= +{ + name="Cétchathach" + culture="irish" + religion="pagan" +} +9218= +{ + name="Ua Briúin Bréifne" + culture="irish" + religion="catholic" + coat_of_arms= + { + data= + { +0 4 0 6 0 3 3 } + religion="catholic" + } + used_for_random=no + forced_coa_religiongroup="christian" +} +9219= +{ + name="Ua Briúin Seóla" + culture="irish" + religion="catholic" +} +9220= +{ + name="Ua Conchobar Sligig" + culture="irish" + religion="catholic" +} +9221= +{ + name="Ua Conchobar Ruad" + culture="irish" +} +9222= +{ + name="Ua Conchobar Donn" + culture="irish" +} +9223= +{ + name="Mac Gabráin" + culture="scottish" + religion="catholic" +} +9224= +{ + name="Mac Alaxandair" + culture="scottish" + religion="catholic" +} +9225= +{ + name="Eóganacht-Chaisil" + culture="irish" + religion="catholic" + coat_of_arms= + { + data= + { +0 0 0 20 1 5 5 } + religion="catholic" + } +} +9226= +{ + name="Eóganacht-Airthir Chliach" + culture="irish" + religion="pagan" + coat_of_arms= + { + data= + { +0 0 0 20 1 3 3 } + religion="catholic" + } + forced_coa_religiongroup="christian" +} +9227= +{ + name="Eóganacht-Glendamnach" + culture="irish" + religion="pagan" +} +9228= +{ + name="Eóganacht-Raithlind" + culture="irish" + religion="pagan" + coat_of_arms= + { + data= + { +0 0 0 20 3 1 1 } + religion="catholic" + } +} +9229= +{ + name="Eóganacht-Áine" + culture="irish" + religion="catholic" +} +9230= +{ + name="Eóganacht-Locha Léin" + culture="irish" + religion="pagan" +} +9231= +{ + name="Mac Finnachta" + culture="irish" + religion="catholic" + coat_of_arms= + { + data= + { +0 0 0 25 0 2 2 } + religion="catholic" + } +} +9301= +{ + name="de Courtenay" + culture="frankish" + religion="catholic" + coat_of_arms= + { + data= + { +0 7 0 45 0 0 0 } + religion="catholic" + } +} +9302= +{ + name="de Worms" + culture="frankish" + religion="catholic" +} +9303= +{ + name="de Saint-Valery" + culture="frankish" + religion="catholic" +} +9304= +{ + name="de Sens" + culture="frankish" + religion="catholic" + coat_of_arms= + { + data= + { +0 0 0 18 1 2 2 } + religion="catholic" + } +} +9305= +{ + name="de Dun" + culture="frankish" + religion="catholic" +} +9530= +{ + name="Penikis" + culture="lettigallish" + religion="baltic_pagan" + coat_of_arms= + { + data= + { +0 0 0 6 11 1 1 } + religion="baltic_pagan" + } +} +9531= +{ + name="Tontegode" + culture="lettigallish" + religion="baltic_pagan" + coat_of_arms= + { + data= + { +0 0 0 3 0 11 11 } + religion="baltic_pagan" + } +} +9532= +{ + name="Vidins" + culture="lettigallish" + religion="baltic_pagan" + coat_of_arms= + { + data= + { +0 0 0 11 0 2 2 } + religion="baltic_pagan" + } +} +9533= +{ + name="Draguns" + culture="lettigallish" + religion="baltic_pagan" +} +9534= +{ + name="Sirkants" + culture="lettigallish" + religion="baltic_pagan" +} +9535= +{ + name="Saaremaa" + culture="ugricbaltic" + religion="finnish_pagan" +} +9536= +{ + name="Revala" + culture="ugricbaltic" + religion="finnish_pagan" + coat_of_arms= + { + data= + { +0 0 0 2 0 11 11 } + religion="baltic_pagan" + } +} +9537= +{ + name="Virumaa" + culture="ugricbaltic" + religion="finnish_pagan" +} +9538= +{ + name="Läänemaa" + culture="ugricbaltic" + religion="finnish_pagan" + coat_of_arms= + { + data= + { +0 0 0 10 0 6 6 } + religion="baltic_pagan" + } +} +9539= +{ + name="Vaiga" + culture="ugricbaltic" + religion="finnish_pagan" +} +9540= +{ + name="Wilks" + culture="prussian" + religion="baltic_pagan" + coat_of_arms= + { + data= + { +0 0 0 8 3 5 5 } + religion="baltic_pagan" + } +} +9541= +{ + name="Klakis" + culture="prussian" + religion="baltic_pagan" +} +9542= +{ + name="Luks" + culture="prussian" + religion="baltic_pagan" +} +9543= +{ + name="Kuilis" + culture="prussian" +} +9544= +{ + name="Kalabijjan" + culture="prussian" +} +10000= +{ + name="d'Eril" + culture="italian" +} +10001= +{ + name="de Soler" + culture="castillan" +} +10002= +{ + name="de Thous" + culture="catalan" +} +10003= +{ + name="March" + culture="catalan" +} +10004= +{ + name="de Corbera" + culture="catalan" +} +10005= +{ + name="de Montsoriu" + culture="catalan" +} +10006= +{ + name="Despuig" + culture="catalan" +} +10007= +{ + name="de Cañamas" + culture="castillan" +} +10008= +{ + name="de Borja" + culture="castillan" +} +10009= +{ + name="d'Almenara" + culture="catalan" +} +10010= +{ + name="de Castellvell" + culture="catalan" + religion="catholic" +} +10012= +{ + name="Gross" + culture="german" +} +10013= +{ + name="de Tàrrega" + culture="catalan" +} +10014= +{ + name="Gualch" + culture="german" +} +10015= +{ + name="Certores" + culture="portuguese" +} +10016= +{ + name="de Castelló" + culture="catalan" +} +10017= +{ + name="Urgell" + culture="catalan" +} +10018= +{ + name="d'Empúries" + culture="catalan" +} +10019= +{ + name="de Cerdanya" + culture="catalan" + religion="catholic" +} +10020= +{ + name="de Besalú" + culture="catalan" + religion="catholic" +} +10021= +{ + name="de Huesca" + culture="castillan" +} +10022= +{ + name="del Ripollès" + culture="catalan" +} +10023= +{ + name="d'Amador" + culture="catalan" +} +10024= +{ + name="de Ribagorça" + culture="visigothic" + religion="catholic" +} +10025= +{ + name="de Cardona" + culture="catalan" +} +10026= +{ + name="de Montcada" + culture="catalan" + religion="catholic" +} +10027= +{ + name="de Mataplana" + culture="catalan" + religion="catholic" +} +10028= +{ + name="de Pallars" + culture="catalan" + religion="catholic" +} +10029= +{ + name="de Cardona" + culture="catalan" + religion="catholic" +} +10100= +{ + name="Benesovic" + culture="bohemian" +} +10101= +{ + name="Drslavic" + culture="bohemian" +} +10102= +{ + name="Hrabisic" + culture="bohemian" +} +10103= +{ + name="Kounic" + culture="bohemian" +} +10104= +{ + name="Markvartic" + culture="bohemian" +} +10105= +{ + name="Ronovec" + culture="bohemian" + religion="catholic" +} +10106= +{ + name="Vítkovec" + culture="bohemian" + religion="catholic" +} +10107= +{ + name="Vrsovec" + culture="bohemian" +} +10108= +{ + name="Zerotín" + culture="bohemian" +} +10109= +{ + name="Vratislavovec" + culture="bohemian" + religion="catholic" +} +10110= +{ + name="Opavan Premyslid" + culture="bohemian" + religion="catholic" +} +10111= +{ + name="Dunin" + culture="polish" + religion="catholic" + coat_of_arms= + { + data= + { +0 1 0 1 0 5 1 } + religion="catholic" + } +} +11000= +{ + name="Fakhkharid" + culture="sephardi" + religion="jewish" +} +11001= +{ + name="Shalbib" + culture="sephardi" + religion="jewish" +} +11002= +{ + name="Zarzar" + culture="sephardi" + religion="jewish" +} +11003= +{ + name="Benveniste" + culture="sephardi" + religion="jewish" +} +11100= +{ + name="Borjigin" + culture="mongol" + religion="tengri_pagan" + coat_of_arms= + { + data= + { +0 8 0 44 0 0 0 } + religion="catholic" + } + used_for_random=no +} +11101= +{ + name="Mikulinich" + culture="russian" + religion="orthodox" +} +11102= +{ + name="Miroslavich" + culture="russian" + religion="orthodox" +} +11103= +{ + name="Ivankovich" + culture="russian" + religion="orthodox" +} +11104= +{ + name="Tverdiatich" + culture="russian" + religion="orthodox" +} +11105= +{ + name="Zakharyinich" + culture="russian" + religion="orthodox" +} +11106= +{ + name="Nerevinich" + culture="russian" + religion="orthodox" +} +11107= +{ + name="Stepanovich" + culture="russian" + religion="orthodox" + coat_of_arms= + { + data= + { +3 4 0 42 13 0 1 4 0 42 13 0 1 4 0 42 13 0 1 4 0 42 13 0 1 } + religion="orthodox" + } +} +11108= +{ + name="Nezdinich" + culture="russian" + religion="orthodox" +} +11109= +{ + name="Feofilaktovich" + culture="russian" + religion="orthodox" +} +11110= +{ + name="Klimovich" + culture="russian" + religion="orthodox" +} +11111= +{ + name="Chodkiewicz" + culture="polish" +} +11112= +{ + name="Jablonowski" + culture="polish" +} +11113= +{ + name="Korecki" + culture="polish" +} +11114= +{ + name="Leszczynski" + culture="polish" + religion="catholic" +} +11115= +{ + name="Lubomirski" + culture="polish" +} +11116= +{ + name="Malachowski" + culture="polish" +} +11117= +{ + name="Olelkowicz" + culture="polish" +} +11118= +{ + name="Ostrogski" + culture="polish" +} +11119= +{ + name="Poniatowski" + culture="polish" +} +11120= +{ + name="Potocki" + culture="polish" +} +11121= +{ + name="Radziwill" + culture="polish" +} +11122= +{ + name="Rzewuski" + culture="polish" +} +11123= +{ + name="Sanguszko" + culture="polish" +} +11124= +{ + name="Sapieha" + culture="polish" +} +11125= +{ + name="Sobieski" + culture="polish" +} +11126= +{ + name="Wisniowecki" + culture="polish" +} +11127= +{ + name="Zamojski" + culture="polish" +} +11128= +{ + name="Zbaraski" + culture="polish" +} +11129= +{ + name="Sologashvili" + culture="georgian" +} +11130= +{ + name="Tavdgiridze" + culture="georgian" +} +11131= +{ + name="Vakhvakhishvili" + culture="georgian" +} +11500= +{ + name="FitzPeter" + culture="english" + religion="catholic" +} +12000= +{ + name="Omodej" + culture="hungarian" +} +12001= +{ + name="Zapolsky" + culture="hungarian" +} +12002= +{ + name="Drugeth" + culture="hungarian" + religion="catholic" +} +12003= +{ + name="Thursa" + culture="hungarian" + religion="catholic" +} +12004= +{ + name="Csak" + culture="hungarian" +} +12005= +{ + name="Beck" + culture="german" +} +12006= +{ + name="Pallfy" + culture="hungarian" +} +12101= +{ + name="Pervane" + culture="turkish" + religion="sunni" + coat_of_arms= + { + data= + { +0 1 0 32 6 0 12 } + religion="sunni" + } +} +12102= +{ + name="Qayi" + culture="turkish" + religion="sunni" +} +12103= +{ + name="Eretnid" + culture="turkish" + religion="sunni" + coat_of_arms= + { + data= + { +0 0 0 23 12 2 7 } + religion="sunni" + } +} +12104= +{ + name="Germiyan" + culture="turkish" + religion="sunni" + coat_of_arms= + { + data= + { +0 0 0 18 4 12 12 } + religion="sunni" + } +} +12105= +{ + name="Saruhan" + culture="turkish" + religion="sunni" + coat_of_arms= + { + data= + { +0 1 0 53 6 1 1 } + religion="sunni" + } +} +12106= +{ + name="Mentese" + culture="turkish" + religion="sunni" + coat_of_arms= + { + data= + { +0 1 0 5 11 1 1 } + religion="sunni" + } +} +12107= +{ + name="Aydin" + culture="turkish" + religion="sunni" + coat_of_arms= + { + data= + { +0 1 0 3 3 12 12 } + religion="sunni" + } +} +12108= +{ + name="Karaman" + culture="turkish" + religion="sunni" + coat_of_arms= + { + data= + { +0 1 0 4 4 1 12 } + religion="sunni" + } +} +12109= +{ + name="Tekke" + culture="turkish" + religion="sunni" + coat_of_arms= + { + data= + { +0 1 0 41 10 12 0 } + religion="sunni" + } +} +12110= +{ + name="Unruochinger" + culture="german" + religion="catholic" + coat_of_arms= + { + data= + { +0 8 0 32 0 0 0 } + religion="catholic" + } +} +12111= +{ + name="de los Cameros" + culture="basque" + religion="catholic" +} +12112= +{ + name="de Sarria" + culture="castillan" + religion="catholic" +} +12113= +{ + name="de Estíbaliz" + culture="basque" + religion="catholic" +} +12114= +{ + name="de Riaño" + culture="castillan" + religion="catholic" +} +12115= +{ + name="de Besalú" + culture="catalan" + religion="catholic" +} +12116= +{ + name="de Limia" + culture="castillan" + religion="catholic" +} +12117= +{ + name="di Squillache" + culture="italian" + religion="catholic" +} +12118= +{ + name="Bordet" + culture="norman" + religion="catholic" +} +12119= +{ + name="Vallferrera" + culture="catalan" + religion="catholic" +} +12120= +{ + name="d'Erill" + culture="catalan" + religion="catholic" +} +12121= +{ + name="d'en Bas" + culture="catalan" + religion="catholic" +} +12122= +{ + name="Rocó" + culture="catalan" + religion="catholic" +} +12123= +{ + name="de Sant Martí" + culture="catalan" + religion="catholic" +} +12124= +{ + name="Garçadó" + culture="catalan" +} +12125= +{ + name="de Sales" + culture="catalan" +} +12126= +{ + name="de Ribellés" + culture="catalan" + religion="catholic" +} +12127= +{ + name="de Montclús" + culture="catalan" + religion="catholic" +} +12128= +{ + name="de Castellet" + culture="catalan" + religion="catholic" +} +12129= +{ + name="de Cervelló" + culture="catalan" + religion="catholic" +} +12130= +{ + name="d'Antilló" + culture="catalan" + religion="catholic" +} +12131= +{ + name="de Palafolls" + culture="catalan" + religion="catholic" +} +12132= +{ + name="de Castellnou" + culture="catalan" + religion="catholic" +} +12133= +{ + name="Descatllar" + culture="catalan" + religion="catholic" +} +12134= +{ + name="de Cabrenys" + culture="catalan" + religion="catholic" +} +12135= +{ + name="de Claramunt" + culture="catalan" + religion="catholic" +} +12136= +{ + name="d'Anglesola" + culture="catalan" + religion="catholic" +} +12137= +{ + name="Alemany" + culture="catalan" + religion="catholic" +} +12138= +{ + name="de Cruïlles" + culture="catalan" + religion="catholic" +} +12139= +{ + name="de Pontiac" + culture="catalan" + religion="catholic" +} +12140= +{ + name="de Belorado" + culture="castillan" + religion="catholic" +} +12141= +{ + name="de Arroyolos" + culture="castillan" + religion="catholic" +} +12142= +{ + name="de Riva" + culture="portuguese" +} +12143= +{ + name="de Villamayor" + culture="castillan" + religion="catholic" +} +12144= +{ + name="de Montcatanier" + culture="occitan" + religion="catholic" +} +12145= +{ + name="de Caylus" + culture="occitan" + religion="catholic" +} +12146= +{ + name="de Trians" + culture="occitan" + religion="catholic" +} +12147= +{ + name="Manrique" + culture="castillan" +} +12148= +{ + name="Venegas" + culture="castillan" + religion="catholic" +} +12149= +{ + name="de la Vega" + culture="castillan" + religion="catholic" +} +12150= +{ + name="de Rojas" + culture="castillan" + religion="catholic" +} +12151= +{ + name="de Rocafull" + culture="catalan" + religion="catholic" +} +12152= +{ + name="de Escobar" + culture="castillan" + religion="catholic" +} +12153= +{ + name="de Fuente Almexir" + culture="castillan" + religion="catholic" +} +12154= +{ + name="d'Àger" + culture="catalan" + religion="catholic" +} +12155= +{ + name="de Avellaneda" + culture="castillan" + religion="catholic" +} +12156= +{ + name="de Fano" + culture="castillan" + religion="catholic" +} +12157= +{ + name="Adgaz" + culture="castillan" +} +12158= +{ + name="de Xinzo" + culture="castillan" + religion="catholic" +} +12159= +{ + name="del Valle" + culture="castillan" + religion="catholic" +} +12160= +{ + name="de Entralgo" + culture="castillan" + religion="catholic" +} +12161= +{ + name="de Feniosara" + culture="castillan" + religion="catholic" +} +12162= +{ + name="de Saz" + culture="castillan" + religion="catholic" +} +12163= +{ + name="de Silva" + culture="castillan" + religion="catholic" +} +12164= +{ + name="de Toroño" + culture="castillan" + religion="catholic" +} +12165= +{ + name="de Cifuentes" + culture="castillan" + religion="catholic" +} +12166= +{ + name="Ponç de Minerva" + culture="catalan" + religion="catholic" +} +12167= +{ + name="de Ledesma" + culture="castillan" + religion="catholic" +} +12168= +{ + name="del Puente" + culture="castillan" + religion="catholic" +} +12169= +{ + name="de Palencia" + culture="castillan" + religion="catholic" +} +12170= +{ + name="Helías" + culture="castillan" + religion="catholic" +} +12171= +{ + name="Gelmírez" + culture="castillan" +} +12172= +{ + name="Episcopus" +} +12173= +{ + name="Camundo" + culture="castillan" + religion="catholic" +} +12174= +{ + name="Gundestéiz" + culture="castillan" +} +12175= +{ + name="Muñíz" + culture="castillan" +} +12176= +{ + name="de Padrón" + culture="castillan" + religion="catholic" +} +12177= +{ + name="de Landora" + culture="castillan" + religion="catholic" +} +12178= +{ + name="de Perigueux" + culture="occitan" + religion="catholic" +} +12179= +{ + name="de Carrión" + culture="castillan" + religion="catholic" +} +12180= +{ + name="de Tabladiello" + culture="castillan" + religion="catholic" +} +12181= +{ + name="de San Millán" + culture="castillan" +} +12182= +{ + name="de la Frontera" + culture="castillan" + religion="catholic" +} +12183= +{ + name="Icaza" + culture="castillan" + religion="catholic" +} +12184= +{ + name="de Yanguas" + culture="castillan" + religion="catholic" +} +12185= +{ + name="de Novoa" + culture="castillan" + religion="catholic" +} +12186= +{ + name="de Cevallos" + culture="castillan" + religion="catholic" +} +12187= +{ + name="de Santsoles" + culture="castillan" + religion="catholic" +} +12188= +{ + name="de Barrantes" + culture="castillan" + religion="catholic" +} +12189= +{ + name="Gallego" + culture="castillan" + religion="catholic" +} +12190= +{ + name="de Quiroga" + culture="castillan" + religion="catholic" +} +12191= +{ + name="Maldonado" + culture="castillan" + religion="catholic" +} +12192= +{ + name="Hayyid" + culture="andalusian_arabic" + religion="sunni" +} +12193= +{ + name="Tifilwitid" + culture="andalusian_arabic" + religion="sunni" +} +12194= +{ + name="Tuyyibid" + culture="andalusian_arabic" + religion="sunni" +} +12195= +{ + name="Yahaffid" + culture="andalusian_arabic" + religion="sunni" +} +12196= +{ + name="Jyadid" + culture="andalusian_arabic" + religion="sunni" +} +12197= +{ + name="Wazirid" + culture="andalusian_arabic" + religion="sunni" +} +12198= +{ + name="Yusufid" + culture="andalusian_arabic" + religion="sunni" +} +12199= +{ + name="Ismailid" + culture="andalusian_arabic" + religion="sunni" +} +12200= +{ + name="Abu-Bakrid" + culture="maghreb_arabic" + religion="sunni" +} +12201= +{ + name="Ya'farid" + culture="andalusian_arabic" + religion="sunni" +} +12202= +{ + name="Lubbunid" + culture="andalusian_arabic" + religion="sunni" +} +12203= +{ + name="Wanurid" + culture="maghreb_arabic" + religion="sunni" +} +12204= +{ + name="Ammarid" + culture="andalusian_arabic" + religion="sunni" +} +12205= +{ + name="Yasavid" + culture="andalusian_arabic" + religion="sunni" +} +12206= +{ + name="Alivid" + culture="maghreb_arabic" + religion="shiite" +} +12207= +{ + name="Madinid" + culture="maghreb_arabic" + religion="shiite" +} +12208= +{ + name="Rasiqid" + culture="andalusian_arabic" + religion="sunni" +} +12209= +{ + name="Farayid" + culture="andalusian_arabic" + religion="sunni" +} +12210= +{ + name="Abu-Ya'farid" + culture="andalusian_arabic" + religion="sunni" +} +12211= +{ + name="Mardanisid" + culture="andalusian_arabic" + religion="sunni" +} +12212= +{ + name="Musavid" + culture="andalusian_arabic" + religion="sunni" +} +12213= +{ + name="Mursiyid" + culture="andalusian_arabic" + religion="sunni" +} +12214= +{ + name="Abdallahvid" + culture="andalusian_arabic" + religion="sunni" +} +12215= +{ + name="banu Fätima" + culture="andalusian_arabic" + religion="sunni" +} +12216= +{ + name="Laridid" + culture="andalusian_arabic" + religion="sunni" +} +12217= +{ + name="Muttawakilid" + culture="maghreb_arabic" + religion="shiite" +} +12218= +{ + name="Mansurid" + culture="maghreb_arabic" + religion="shiite" +} +12219= +{ + name="Yazid" + culture="maghreb_arabic" + religion="shiite" +} +12220= +{ + name="Ishbiliyid" + culture="andalusian_arabic" + religion="shiite" +} +12221= +{ + name="Tremecen" + culture="maghreb_arabic" + religion="shiite" +} +12222= +{ + name="Ishaqid" + culture="maghreb_arabic" + religion="shiite" +} +12223= +{ + name="Qunkid" + culture="andalusian_arabic" + religion="sunni" +} +12224= +{ + name="Qaturbid" + culture="andalusian_arabic" + religion="sunni" +} +12225= +{ + name="Yahyavid" + culture="maghreb_arabic" + religion="shiite" +} +12226= +{ + name="Balansiyyid" + culture="andalusian_arabic" + religion="shiite" +} +12227= +{ + name="Maymunid" + culture="andalusian_arabic" + religion="sunni" +} +12228= +{ + name="Ramimid" + culture="andalusian_arabic" + religion="sunni" +} +12229= +{ + name="Adhavid" + culture="andalusian_arabic" + religion="sunni" +} +12230= +{ + name="Hassunid" + culture="andalusian_arabic" + religion="sunni" +} +12231= +{ + name="Malaqid" + culture="andalusian_arabic" + religion="sunni" +} +12232= +{ + name="Gharnatid" + culture="andalusian_arabic" + religion="shiite" +} +12233= +{ + name="Bilalid" + culture="maghreb_arabic" + religion="shiite" +} +12234= +{ + name="Hishamid" + culture="andalusian_arabic" + religion="sunni" +} +12235= +{ + name="d'Enghien" + culture="frankish" + religion="catholic" +} +12236= +{ + name="Mankudid" + culture="maghreb_arabic" + religion="sunni" +} +12237= +{ + name="Avethid" + culture="maghreb_arabic" + religion="sunni" +} +12238= +{ + name="Fadlid" + culture="maghreb_arabic" + religion="sunni" +} +12239= +{ + name="Nicmavid" + culture="maghreb_arabic" + religion="sunni" +} +12240= +{ + name="Kalbid" + culture="maghreb_arabic" + religion="shiite" + coat_of_arms= + { + data= + { +0 0 0 19 2 1 1 } + religion="shiite" + } +} +12241= +{ + name="Mdinid" + culture="maghreb_arabic" + religion="sunni" +} +12242= +{ + name="zu Schwaben" + culture="german" + religion="catholic" +} +12243= +{ + name="di Aquino" + culture="italian" + religion="catholic" +} +12244= +{ + name="di Gaeta" + culture="italian" +} +12245= +{ + name="di Celano" + culture="italian" + religion="catholic" +} +12246= +{ + name="Romano" + culture="italian" + religion="catholic" +} +12247= +{ + name="von Attems" + culture="german" + religion="catholic" +} +12248= +{ + name="degli Ubaldini" + culture="italian" + religion="catholic" +} +12249= +{ + name="di Brunforte" + culture="italian" + religion="catholic" +} +12250= +{ + name="di Perugia" + culture="italian" + religion="catholic" +} +12251= +{ + name="von Schweipünt" + culture="german" + religion="catholic" +} +12252= +{ + name="Torrelli" + culture="italian" + religion="catholic" +} +12253= +{ + name="di Corregio" + culture="italian" + religion="catholic" +} +12254= +{ + name="Bocattorria" + culture="italian" + religion="catholic" +} +12255= +{ + name="Montigli" + culture="italian" + religion="catholic" +} +12269= +{ + name="Ashina" + culture="khazar" + religion="tengri_pagan" + coat_of_arms= + { + data= + { +0 8 0 13 0 0 0 } + religion="catholic" + } +} +12270= +{ + name="Bulanid" + culture="khazar" + religion="jewish" + coat_of_arms= + { + data= + { +0 7 0 28 0 0 0 } + religion="catholic" + } +} +12271= +{ + name="Burtasid" + culture="alan" + religion="tengri_pagan" +} +12272= +{ + name="Yabguid" + culture="turkish" + religion="tengri_pagan" + coat_of_arms= + { + data= + { +0 0 0 4 7 1 1 } + religion="tengri_pagan" + } +} +12273= +{ + name="Ashkayada" + culture="persian" + religion="zoroastrian" +} +12274= +{ + name="Yoishta" + culture="persian" + religion="zoroastrian" +} +12275= +{ + name="Mahrid" + culture="bedouin_arabic" + religion="sunni" +} +12276= +{ + name="Dofharid" + culture="bedouin_arabic" + religion="sunni" +} +12277= +{ + name="Azdid" + culture="bedouin_arabic" + religion="ibadi" + coat_of_arms= + { + data= + { +0 0 0 10 0 2 2 } + religion="sunni" + } +} +12278= +{ + name="Zabid" + culture="bedouin_arabic" + religion="shiite" +} +12279= +{ + name="Jannabid" + culture="bedouin_arabic" + religion="shiite" +} +12280= +{ + name="Halabanid" + culture="bedouin_arabic" +} +12281= +{ + name="Ha'ilid" + culture="bedouin_arabic" + religion="sunni" +} +12282= +{ + name="Rafhid" + culture="bedouin_arabic" + religion="sunni" +} +12283= +{ + name="Hajrid" + culture="bedouin_arabic" + religion="sunni" +} +12400= +{ + name="von Saffenberg" + culture="german" + religion="catholic" +} +12401= +{ + name="von Nörvenich" + culture="german" +} +12402= +{ + name="von Querfurt" + culture="german" + religion="catholic" +} +12403= +{ + name="von Mansfeld" + culture="german" + religion="catholic" +} +12404= +{ + name="Meinhardiner" + culture="german" + religion="catholic" +} +12405= +{ + name="von Kärnten" + culture="german" +} +12406= +{ + name="von Eschenloch" + culture="german" +} +12407= +{ + name="von Naumburg" + culture="german" + religion="catholic" +} +12408= +{ + name="von Schrapelnau" + culture="german" + religion="catholic" +} +12409= +{ + name="von Magdeburg" + culture="german" +} +12410= +{ + name="von Hardegg" + culture="german" +} +12411= +{ + name="von Arneburg" + culture="german" +} +12412= +{ + name="von Seeburg" + culture="german" +} +12413= +{ + name="von Veldenz" + culture="german" +} +12414= +{ + name="von Schmidtburg" + culture="german" +} +12415= +{ + name="von Bamberg" + culture="german" +} +12416= +{ + name="von Kyrburg" + culture="german" +} +12417= +{ + name="von Baumberg" + culture="german" +} +12418= +{ + name="von Stolzenberg" + culture="german" +} +12419= +{ + name="von Altenbaumberg" + culture="german" +} +12420= +{ + name="von Tyrol" + culture="german" + religion="catholic" +} +12421= +{ + name="von Ortenburg" + culture="german" + religion="catholic" +} +12422= +{ + name="von Wangen" + culture="german" + religion="catholic" +} +12423= +{ + name="von Frontenhausen" + culture="german" +} +12424= +{ + name="von Andechs" + culture="german" +} +12425= +{ + name="von Eurasburg" + culture="german" +} +12426= +{ + name="von Geroldseck" + culture="german" +} +12427= +{ + name="von Bocksberg" + culture="german" +} +12429= +{ + name="von Vinstingen" + culture="german" +} +12430= +{ + name="von Schoenecken" + culture="german" +} +12431= +{ + name="von Daun" + culture="german" +} +12432= +{ + name="von Limpurg" + culture="german" +} +12433= +{ + name="von Leiningen" + culture="german" + religion="catholic" +} +12434= +{ + name="von Hohenfels" + culture="german" +} +12435= +{ + name="von Hunolstein" + culture="german" +} +12436= +{ + name="von Blankenheim" + culture="german" +} +12437= +{ + name="von Salm" + culture="german" + religion="catholic" +} +12438= +{ + name="von Falkenstein" + culture="german" +} +12439= +{ + name="von Sponheim" + culture="german" + religion="catholic" +} +12440= +{ + name="von Brunshorn" + culture="german" +} +12441= +{ + name="von Stein" + culture="german" +} +12442= +{ + name="von Bikkenbach" + culture="german" +} +12443= +{ + name="von Heinsberg" + culture="german" +} +12444= +{ + name="van Valkenburg" + culture="german" + religion="catholic" +} +12445= +{ + name="von Sayn" + culture="german" + religion="catholic" +} +12446= +{ + name="von Württemberg" + culture="german" + religion="catholic" +} +12447= +{ + name="von Veringen" + culture="german" +} +12448= +{ + name="von Gruningen" + culture="german" + religion="catholic" +} +12449= +{ + name="von Eselsberg" + culture="german" +} +12450= +{ + name="von Muhlhausen" + culture="german" +} +12451= +{ + name="von Pfirt" + culture="german" + religion="catholic" +} +12452= +{ + name="von Lövenstein" + culture="german" +} +12453= +{ + name="von Landau" + culture="german" +} +12454= +{ + name="von Tschudi" + culture="german" + religion="catholic" +} +12455= +{ + name="von Glarus" + culture="german" +} +12456= +{ + name="von Chalôns" + culture="german" + religion="catholic" +} +12457= +{ + name="von Rugen" + culture="german" +} +12458= +{ + name="von Ratzeburg" + culture="german" +} +12459= +{ + name="von Schlawe" + culture="german" +} +12460= +{ + name="von Schwelz" + culture="german" +} +12461= +{ + name="von Liebschau" + culture="german" +} +12462= +{ + name="von der Lippe" + culture="german" + religion="catholic" +} +12463= +{ + name="von Schauenburg" + culture="german" + religion="catholic" + coat_of_arms= + { + data= + { +0 8 0 48 0 0 0 } + religion="catholic" + } +} +12464= +{ + name="von Assel" + culture="german" +} +12465= +{ + name="von Kiel" + culture="german" +} +12466= +{ + name="von Rostock" + culture="german" +} +12467= +{ + name="von Gustrow" + culture="german" +} +12468= +{ + name="von Rendsburg" + culture="german" +} +12469= +{ + name="von Segeberg" + culture="german" + religion="catholic" +} +12470= +{ + name="von Neuhaus" + culture="german" +} +12471= +{ + name="von Friedenthal" + culture="german" +} +12472= +{ + name="Kaunitz" + culture="german" +} +12473= +{ + name="von Rosenberg" + culture="german" +} +12474= +{ + name="von Sternberg" + culture="bohemian" + religion="catholic" +} +12475= +{ + name="von Waldenstein" + culture="german" +} +12476= +{ + name="von Hohenzollern" + culture="german" + religion="catholic" + coat_of_arms= + { + data= + { +0 3 0 23 0 0 0 } + religion="catholic" + } + used_for_random=no +} +12477= +{ + name="von Altenburg" + culture="german" + religion="catholic" +} +12478= +{ + name="von Pernstein" + culture="german" + religion="catholic" +} +12479= +{ + name="von Monheim" + culture="german" + religion="catholic" +} +12480= +{ + name="von Urslingen" + culture="german" + religion="catholic" +} +12256= +{ + name="Utmanid" + culture="maghreb_arabic" + religion="shiite" +} +12257= +{ + name="Tittawin" + culture="maghreb_arabic" + religion="shiite" +} +12258= +{ + name="Sebtaid" + culture="maghreb_arabic" + religion="shiite" +} +12259= +{ + name="Tariqid" + culture="maghreb_arabic" + religion="shiite" +} +12260= +{ + name="Jattabid" + culture="bedouin_arabic" + religion="sunni" + coat_of_arms= + { + data= + { +0 0 0 24 1 2 2 } + religion="sunni" + } +} +12261= +{ + name="Mahfuzid" + culture="andalusian_arabic" + religion="sunni" +} +12262= +{ + name="Ahlidid" + culture="andalusian_arabic" + religion="sunni" +} +12263= +{ + name="Zannunid" + culture="andalusian_arabic" + religion="sunni" +} +12264= +{ + name="Mahdid" + culture="andalusian_arabic" + religion="sunni" +} +12265= +{ + name="Sa'did" + culture="andalusian_arabic" + religion="sunni" +} +12266= +{ + name="Wadalqavirid" + culture="andalusian_arabic" + religion="sunni" +} +12267= +{ + name="Qadirid" + culture="andalusian_arabic" + religion="sunni" +} +12268= +{ + name="Hamdinid" + culture="andalusian_arabic" + religion="sunni" +} +12284= +{ + name="Bijelahrvatskic" + culture="croatian" + religion="slavic_pagan" +} +13000= +{ + name="Cybo" + culture="italian" +} +13001= +{ + name="Boccanegra" + culture="italian" + religion="catholic" +} +13002= +{ + name="Pallavicini" + culture="italian" + religion="catholic" + coat_of_arms= + { + data= + { +0 5 0 31 0 0 0 } + religion="catholic" + } +} +13003= +{ + name="Adorno" + culture="italian" +} +13004= +{ + name="Campofregoso" + culture="italian" +} +13005= +{ + name="Bentivoglio" + culture="italian" +} +13006= +{ + name="Tiepolo" + culture="italian" + religion="catholic" +} +13007= +{ + name="Gradenigo" + culture="italian" + religion="catholic" +} +13008= +{ + name="Borghese" + culture="italian" +} +13009= +{ + name="Borromeo" + culture="italian" + religion="catholic" +} +13010= +{ + name="Giustiniano" + culture="italian" + religion="catholic" +} +13011= +{ + name="Delfino" + culture="italian" +} +13012= +{ + name="Capponi" + culture="italian" +} +13013= +{ + name="Castracani" + culture="italian" +} +13014= +{ + name="da Baggio" + culture="italian" + religion="catholic" +} +13015= +{ + name="Cenci" + culture="italian" +} +13016= +{ + name="Grimaldi" + culture="italian" + religion="catholic" + coat_of_arms= + { + data= + { +0 6 0 10 0 0 0 } + religion="catholic" + } +} +13017= +{ + name="Colleoni" + culture="italian" +} +13018= +{ + name="Colombo" + culture="italian" +} +13019= +{ + name="Colonna" + culture="italian" +} +13020= +{ + name="Concini" + culture="italian" +} +13021= +{ + name="Obertenghi" + culture="italian" + religion="catholic" +} +13023= +{ + name="Crispo" + culture="italian" +} +13024= +{ + name="da Carmagnola" + culture="italian" +} +13025= +{ + name="da Romano" + culture="italian" + religion="catholic" +} +13026= +{ + name="d'Appiano" + culture="italian" + religion="catholic" + coat_of_arms= + { + data= + { +0 6 0 4 0 0 0 } + religion="catholic" + } +} +13027= +{ + name="Dandolo" + culture="italian" + religion="catholic" + coat_of_arms= + { + data= + { +0 6 0 3 0 0 0 } + religion="catholic" + } +} +13028= +{ + name="Fieschi" + culture="italian" + religion="catholic" + coat_of_arms= + { + data= + { +0 6 0 9 0 0 0 } + religion="catholic" + } +} +13029= +{ + name="Gattilusio" + culture="italian" + religion="catholic" +} +13030= +{ + name="de Medici" + culture="italian" +} +13031= +{ + name="della Gherardesca" + culture="italian" + religion="catholic" + coat_of_arms= + { + data= + { +0 6 0 5 0 0 0 } + religion="catholic" + } +} +13032= +{ + name="della Scala" + culture="italian" + religion="catholic" + coat_of_arms= + { + data= + { +0 8 0 46 0 0 0 } + religion="catholic" + } +} +13033= +{ + name="Bandinelli" + culture="italian" +} +13034= +{ + name="Serra" + culture="italian" + religion="catholic" +} +13035= +{ + name="Sfondrati" + culture="italian" +} +13036= +{ + name="di Gattinara" + culture="italian" +} +13037= +{ + name="Torchitorio" + culture="italian" + religion="catholic" +} +13038= +{ + name="di Rienzi" + culture="italian" +} +13039= +{ + name="di Simiano" + culture="italian" +} +13040= +{ + name="Graziano" + culture="italian" +} +13041= +{ + name="Doria" + culture="italian" + religion="catholic" + coat_of_arms= + { + data= + { +0 6 0 6 0 0 0 } + religion="catholic" + } +} +13042= +{ + name="Papareschi" + culture="italian" + religion="catholic" +} +13043= +{ + name="Crivelli" + culture="italian" +} +13044= +{ + name="di Morra" + culture="italian" + religion="catholic" +} +13045= +{ + name="Faliero" + culture="italian" +} +13046= +{ + name="Scolari" + culture="italian" + religion="catholic" +} +13047= +{ + name="Farnese" + culture="italian" + religion="catholic" +} +13048= +{ + name="Bobone" + culture="italian" + religion="catholic" +} +13049= +{ + name="Savelli" + culture="italian" + religion="catholic" +} +13050= +{ + name="di Castiglione" + culture="italian" + religion="catholic" +} +13051= +{ + name="di Tarantasia" + culture="italian" +} +13052= +{ + name="Gonzaga" + culture="italian" + religion="catholic" +} +13053= +{ + name="Masci" + culture="italian" + religion="catholic" +} +13054= +{ + name="da Morrone" + culture="italian" +} +13055= +{ + name="Guerrazzi" + culture="italian" +} +13056= +{ + name="Boccasini" + culture="italian" + religion="catholic" +} +13057= +{ + name="Prignano" + culture="italian" +} +13058= +{ + name="Luzzatti" + culture="italian" +} +13059= +{ + name="Malatesta" + culture="italian" + religion="catholic" +} +13060= +{ + name="Mancini" + culture="italian" +} +13061= +{ + name="Manin" + culture="italian" +} +13062= +{ + name="Tomacelli" + culture="italian" +} +13063= +{ + name="Migliorati" + culture="italian" +} +13064= +{ + name="da Correggio" + culture="italian" + religion="catholic" +} +13065= +{ + name="Condulmer" + culture="italian" +} +13066= +{ + name="Moneta" + culture="italian" +} +13067= +{ + name="Parentucelli" + culture="italian" +} +13068= +{ + name="Montefeltro" + culture="italian" + religion="catholic" +} +13069= +{ + name="di Murta" + culture="italian" +} +13070= +{ + name="Morosini" + culture="italian" + religion="catholic" + coat_of_arms= + { + data= + { +0 6 0 11 0 0 0 } + religion="catholic" + } +} +13071= +{ + name="Flabanico" + culture="italian" + religion="catholic" +} +13072= +{ + name="Valente" + culture="italian" +} +13073= +{ + name="Ossoli" + culture="italian" +} +13074= +{ + name="Pellegrino" + culture="italian" +} +13075= +{ + name="Ziani" + culture="italian" + religion="catholic" + coat_of_arms= + { + data= + { +0 6 0 14 0 0 0 } + religion="catholic" + } +} +13076= +{ + name="Mastropiero" + culture="italian" + religion="catholic" +} +13077= +{ + name="Ruffo" + culture="italian" + religion="catholic" +} +13078= +{ + name="Zeno" + culture="greek" +} +13079= +{ + name="Cornaro" + culture="italian" +} +13080= +{ + name="Segni" + culture="italian" + religion="catholic" +} +13081= +{ + name="Sforza" + culture="italian" +} +13082= +{ + name="Foscaro" + culture="italian" +} +13083= +{ + name="Steno" + culture="italian" +} +13084= +{ + name="Strozzi" + culture="italian" +} +13085= +{ + name="Sturzo" + culture="italian" +} +13086= +{ + name="Taparelli" + culture="italian" +} +13087= +{ + name="Tittoni" + culture="italian" +} +13088= +{ + name="Togliatti" + culture="italian" +} +13089= +{ + name="Turati" + culture="italian" +} +13091= +{ + name="Zanardelli" + culture="italian" +} +13100= +{ + name="de Comborn" + culture="occitan" + religion="catholic" +} +13101= +{ + name="de Ventadour" + culture="occitan" + religion="catholic" +} +13102= +{ + name="de Brosse" + culture="occitan" + religion="catholic" +} +13103= +{ + name="de Gavarret" + culture="occitan" + religion="catholic" +} +13104= +{ + name="de Marseille" + culture="occitan" + religion="catholic" +} +13105= +{ + name="de Marsan" + culture="occitan" + religion="catholic" +} +13106= +{ + name="de Matha" + culture="frankish" + religion="catholic" +} +13107= +{ + name="d'Uzès" + culture="occitan" + religion="catholic" +} +13108= +{ + name="d'Arcy" + culture="frankish" + religion="catholic" +} +13109= +{ + name="de Die" + culture="frankish" + religion="catholic" +} +13110= +{ + name="de Baugé" + culture="frankish" + religion="catholic" +} +13111= +{ + name="de Montboissier" + culture="frankish" + religion="catholic" +} +13112= +{ + name="Belles-mains" + culture="english" + religion="catholic" +} +13113= +{ + name="de Thiern" + culture="occitan" + religion="catholic" +} +13114= +{ + name="de Villars" + culture="occitan" + religion="catholic" +} +13115= +{ + name="FitzHamon" + culture="norman" + religion="catholic" +} +13117= +{ + name="de Rovignan" + culture="occitan" + religion="catholic" +} +14100= +{ + name="Ua Báegill" + culture="irish" +} +14101= +{ + name="Ua Dúngaile" + culture="irish" +} +14102= +{ + name="Ua Dochartaigh" + culture="irish" + religion="catholic" +} +14103= +{ + name="Ua hEchtigirn" + culture="irish" +} +14104= +{ + name="Bairéad" + culture="scottish" +} +14105= +{ + name="Barry" + culture="irish" +} +14106= +{ + name="Bradnigh" + culture="scottish" +} +14107= +{ + name="Ó Braonain" + culture="irish" +} +14108= +{ + name="Branain" + culture="scottish" +} +14109= +{ + name="Burke" + culture="irish" +} +14110= +{ + name="Ua Bráéin" + culture="irish" +} +14111= +{ + name="Ua Cathail" + culture="irish" +} +14112= +{ + name="Ua Canannáin" + culture="irish" + religion="catholic" +} +14113= +{ + name="Ua Cerbaill" + culture="irish" +} +14114= +{ + name="Ua Cathasaigh" + culture="irish" +} +14115= +{ + name="Ua Flannchaid" + culture="irish" +} +14116= +{ + name="Ua Cleirigh" + culture="irish" + religion="catholic" +} +14117= +{ + name="Ua Congalaigh" + culture="irish" +} +14118= +{ + name="Mac Coistela" + culture="scottish" +} +14119= +{ + name="Ua Cruadláich" + culture="irish" +} +14120= +{ + name="Ua Dimasaigh" + culture="irish" +} +14121= +{ + name="Ua Dubgaill" + culture="irish" +} +14122= +{ + name="Ua Áedacáin" + culture="irish" +} +14123= +{ + name="Ua Fergail" + culture="irish" +} +14124= +{ + name="Mac Gillepatraig" + culture="scottish" + religion="catholic" +} +14125= +{ + name="Ua Flaithbertaigh" + culture="irish" + religion="catholic" +} +14126= +{ + name="Ua Floinn" + culture="irish" + religion="catholic" +} +14127= +{ + name="Ua Gallchobair" + culture="irish" +} +14250= +{ + name="Ceredigion" + culture="welsh" + religion="catholic" +} +14251= +{ + name="Caereinion" + culture="welsh" +} +14252= +{ + name="Glastenning" + culture="welsh" +} +14253= +{ + name="Lleyn" + culture="welsh" +} +14254= +{ + name="Mostyn" + culture="welsh" +} +14255= +{ + name="Seisyllwg" + culture="welsh" + religion="catholic" +} +14256= +{ + name="Rhufoniog" + culture="welsh" +} +14257= +{ + name="Maelor" + culture="welsh" +} +14258= +{ + name="Penllyn" + culture="welsh" +} +14259= +{ + name="Tewdwr" + culture="welsh" + religion="catholic" +} +14260= +{ + name="Meilyr" + culture="welsh" +} +14261= +{ + name="Mochnant" + culture="welsh" +} +14262= +{ + name="Buellt" + culture="welsh" +} +14263= +{ + name="Llewellyn" + culture="welsh" +} +14264= +{ + name="Mechain" + culture="welsh" +} +14265= +{ + name="Cedewain" + culture="welsh" +} +14266= +{ + name="Penweddig" + culture="welsh" +} +14267= +{ + name="Iâl" + culture="welsh" +} +14268= +{ + name="Amwythig" + culture="welsh" +} +14269= +{ + name="Caerloyw" + culture="welsh" +} +14270= +{ + name="Emlyn" + culture="welsh" +} +14271= +{ + name="Ystrad Tywi" + culture="welsh" +} +14272= +{ + name="Rhuddlan" + culture="welsh" +} +14273= +{ + name="Llwydiarth" + culture="welsh" +} +14274= +{ + name="Aberavon" + culture="welsh" +} +14275= +{ + name="Dunoding" + culture="welsh" +} +14276= +{ + name="Pebidiog" + culture="welsh" +} +14277= +{ + name="Deugleddyf" + culture="welsh" +} +14278= +{ + name="Seisyll" + culture="welsh" + religion="catholic" +} +14279= +{ + name="Deheuwynt" + culture="welsh" +} +14280= +{ + name="Eginog" + culture="welsh" +} +14281= +{ + name="Gorfynydd" + culture="welsh" +} +14282= +{ + name="Gwyr" + culture="welsh" +} +14283= +{ + name="Senghenydd" + culture="welsh" +} +14284= +{ + name="Rhos" + culture="welsh" + religion="catholic" +} +14285= +{ + name="Crwthor" + culture="welsh" +} +14286= +{ + name="Arfon" + culture="welsh" +} +14287= +{ + name="Bach" + culture="german" +} +14288= +{ + name="Perry" + culture="saxon" +} +15000= +{ + name="Sokolovic" + culture="serbian" +} +15001= +{ + name="Thopia" + culture="serbian" +} +15002= +{ + name="Bua Spatas" + culture="greek" +} +15003= +{ + name="Muzaka" + culture="serbian" +} +17000= +{ + name="Assen" + culture="serbian" +} +17001= +{ + name="Terter" + culture="bulgarian" + religion="orthodox" +} +17002= +{ + name="Tich" + culture="serbian" +} +17003= +{ + name="Soimirovich" + culture="serbian" +} +17004= +{ + name="Balik" + culture="turkish" +} +17005= +{ + name="Balin" + culture="serbian" +} +17006= +{ + name="Bogoris" + culture="bulgarian" +} +17007= +{ + name="Slav" + culture="bulgarian" +} +17008= +{ + name="Hriz" + culture="bulgarian" + religion="orthodox" +} +17009= +{ + name="Momtchil" + culture="bulgarian" +} +17010= +{ + name="Cherven" + culture="bulgarian" +} +17011= +{ + name="Marko" + culture="bulgarian" +} +17012= +{ + name="Konstantinov" + culture="russian" +} +18000= +{ + name="Vukanovic" + culture="serbian" +} +18001= +{ + name="Mrnjavcevic" + culture="serbian" +} +18002= +{ + name="Lazarevic" + culture="serbian" + religion="orthodox" +} +18003= +{ + name="Brankovic" + culture="serbian" +} +18004= +{ + name="Balsic" + culture="serbian" + religion="orthodox" +} +18005= +{ + name="Subic" + culture="croatian" + religion="catholic" + coat_of_arms= + { + data= + { +0 5 0 33 0 0 0 } + religion="catholic" + } +} +18006= +{ + name="Hrvatinic" + culture="croatian" +} +18008= +{ + name="Kosaca" + culture="croatian" +} +18009= +{ + name="Vukcic" + culture="croatian" +} +18010= +{ + name="Uglesa" + culture="serbian" +} +18011= +{ + name="Hlapen" + culture="serbian" +} +18012= +{ + name="Vukasin" + culture="croatian" +} +18013= +{ + name="Dukasin" + culture="croatian" +} +18014= +{ + name="Selimovic" + culture="romanian" +} +19000= +{ + name="Aba" + culture="hungarian" + religion="catholic" + coat_of_arms= + { + data= + { +0 0 0 3 7 1 1 } + religion="catholic" + } +} +19001= +{ + name="Apafi" + culture="hungarian" + religion="catholic" +} +19002= +{ + name="Babonic" + culture="croatian" + religion="catholic" +} +19003= +{ + name="Bercsényi" + culture="hungarian" + religion="catholic" +} +19004= +{ + name="Kastriotic" + culture="croatian" +} +19005= +{ + name="Bánffy" + culture="hungarian" +} +19006= +{ + name="Berzényi" + culture="hungarian" +} +19007= +{ + name="Blagai" + culture="serbian" + religion="catholic" +} +19008= +{ + name="Bocskai" + culture="hungarian" +} +19009= +{ + name="Borsa" + culture="hungarian" + religion="catholic" +} +19010= +{ + name="Csák" + culture="hungarian" + religion="catholic" + coat_of_arms= + { + data= + { +0 8 0 39 0 0 0 } + religion="catholic" + } +} +19011= +{ + name="Csáky" + culture="romanian" +} +19012= +{ + name="Cziráky" + culture="hungarian" +} +19013= +{ + name="Czobor" + culture="serbian" +} +19014= +{ + name="Debreceni" + culture="hungarian" + religion="catholic" +} +19015= +{ + name="Derencsényi" + culture="hungarian" +} +19016= +{ + name="Dezsõfi" + culture="romanian" +} +19017= +{ + name="Diószegi" + culture="hungarian" +} +19018= +{ + name="Dõry" + culture="hungarian" +} +19019= +{ + name="Drágfi" + culture="hungarian" + religion="catholic" +} +19020= +{ + name="Guthi-Országh" + culture="romanian" +} +19021= +{ + name="Egervári" + culture="hungarian" +} +19023= +{ + name="Forgách" + culture="hungarian" +} +19024= +{ + name="Frankopan" + culture="croatian" + religion="catholic" +} +19025= +{ + name="Garai" + culture="hungarian" +} +19026= +{ + name="Pálóczi" + culture="hungarian" +} +19027= +{ + name="Hédervári" + culture="hungarian" +} +19028= +{ + name="Hunyadi" + culture="hungarian" +} +19029= +{ + name="Kacic" + culture="croatian" +} +19030= +{ + name="Kán" + culture="hungarian" + religion="catholic" +} +19031= +{ + name="Károlyi" + culture="hungarian" +} +19032= +{ + name="Kõszegi" + culture="hungarian" + religion="catholic" +} +19033= +{ + name="Kun" + culture="hungarian" +} +19034= +{ + name="Losonczi" + culture="hungarian" +} +19035= +{ + name="Marczaltövi" + culture="romanian" +} +19036= +{ + name="Maróti" + culture="hungarian" +} +19037= +{ + name="Perényi" + culture="hungarian" +} +19038= +{ + name="Petenye" + culture="romanian" +} +19039= +{ + name="Rátót" + culture="hungarian" +} +19040= +{ + name="Rozgonyi" + culture="hungarian" +} +19041= +{ + name="Draskovic" + culture="croatian" +} +19042= +{ + name="Szakoly" + culture="hungarian" +} +19043= +{ + name="Szécsényi" + culture="hungarian" + religion="catholic" +} +19044= +{ + name="Széchy" + culture="hungarian" +} +19045= +{ + name="Telegdi" + culture="hungarian" + religion="catholic" +} +19046= +{ + name="Thurzó" + culture="hungarian" +} +19047= +{ + name="Tibai" + culture="romanian" +} +19048= +{ + name="Újlaki" + culture="hungarian" +} +19049= +{ + name="Zách" + culture="romanian" +} +19050= +{ + name="Szapolyai" + culture="romanian" +} +19051= +{ + name="Zeleméri" + culture="croatian" + religion="catholic" +} +19052= +{ + name="Guthkeled" + culture="hungarian" + religion="catholic" + coat_of_arms= + { + data= + { +0 0 0 14 7 1 1 } + religion="catholic" + } +} +19053= +{ + name="Hontpázmány" + culture="hungarian" + religion="catholic" + coat_of_arms= + { + data= + { +0 0 0 22 7 1 1 } + religion="catholic" + } +} +19054= +{ + name="Kanizsai" + culture="hungarian" + religion="catholic" +} +19055= +{ + name="Bebek" + culture="croatian" +} +19056= +{ + name="Várdai" + culture="romanian" + religion="catholic" +} +19057= +{ + name="Meggyesi" + culture="hungarian" + religion="catholic" +} +19058= +{ + name="Osli" + culture="hungarian" + religion="catholic" +} +19059= +{ + name="Viczay" + culture="hungarian" + religion="catholic" +} +19060= +{ + name="Balassa" + culture="hungarian" + religion="catholic" +} +19061= +{ + name="Szentgyörgyi" + culture="hungarian" + religion="catholic" +} +19062= +{ + name="Báthory" + culture="hungarian" + religion="catholic" +} +19063= +{ + name="Prodanic" + culture="romanian" + religion="catholic" +} +20013= +{ + name="Gwynn" + culture="welsh" +} +20014= +{ + name="de Bailleul" + culture="norman" + religion="catholic" +} +20015= +{ + name="Longchamp" + culture="norman" + religion="catholic" +} +20016= +{ + name="de Nantes" + culture="breton" + religion="catholic" +} +20017= +{ + name="Leon" + culture="breton" + religion="catholic" + coat_of_arms= + { + data= + { +0 0 0 11 1 7 7 } + religion="catholic" + } +} +20018= +{ + name="Penteur" + culture="norman" +} +20019= +{ + name="Baghvashi" + culture="georgian" +} +20020= +{ + name="Apokapes" + culture="georgian" +} +20021= +{ + name="Baghuashi" + culture="georgian" + religion="orthodox" +} +20022= +{ + name="Aelfricson" + culture="saxon" + religion="catholic" +} +20023= +{ + name="Beskond" + culture="armenian" +} +20024= +{ + name="Bloch" + culture="german" +} +20025= +{ + name="Cadfeal" + culture="welsh" +} +20026= +{ + name="Cannevet" + culture="welsh" +} +20027= +{ + name="Mac Eógain" + culture="scottish" +} +20028= +{ + name="Guennec" + culture="breton" +} +20029= +{ + name="Llyn" + culture="welsh" +} +20030= +{ + name="Pensec" + culture="breton" +} +20031= +{ + name="Scoarnec" + culture="breton" +} +20032= +{ + name="Riowall" + culture="breton" +} +20033= +{ + name="de Bourcq" + culture="norman" +} +20034= +{ + name="de Baugency" + culture="frankish" + religion="catholic" +} +20035= +{ + name="de Rethel" + culture="frankish" + religion="catholic" +} +20036= +{ + name="Bethell" + culture="saxon" +} +20037= +{ + name="Ergyng" + culture="welsh" + religion="catholic" +} +20038= +{ + name="Gwarthaf" + culture="welsh" +} +20039= +{ + name="Aeron" + culture="welsh" +} +20040= +{ + name="Emlyn" + culture="welsh" +} +20041= +{ + name="Cedweli" + culture="welsh" +} +20042= +{ + name="Gwrinydd" + culture="welsh" +} +20043= +{ + name="Talgarth" + culture="welsh" +} +20044= +{ + name="Pengwern" + culture="welsh" +} +20045= +{ + name="Penrhys" + culture="welsh" +} +20046= +{ + name="Perry" + culture="saxon" +} +20047= +{ + name="Lloyd" + culture="welsh" +} +20048= +{ + name="Lowery" + culture="irish" +} +20049= +{ + name="Wake" + culture="saxon" + religion="catholic" +} +20050= +{ + name="Longespée" + culture="norman" + religion="catholic" +} +20051= +{ + name="Davides" + culture="italian" + religion="catholic" + coat_of_arms= + { + data= + { +0 1 0 7 3 1 0 } + religion="catholic" + } +} +20052= +{ + name="de Fuentes" + culture="castillan" +} +20053= +{ + name="von Preussen" + culture="prussian" +} +20054= +{ + name="von Königsberg" + culture="prussian" +} +20055= +{ + name="Jankowskie" + culture="prussian" +} +20056= +{ + name="Tatikid" + culture="bedouin_arabic" +} +20057= +{ + name="Xelmirez" + culture="castillan" + religion="catholic" +} +20058= +{ + name="Ovéquiz" + culture="castillan" + religion="catholic" +} +20059= +{ + name="de Trastámara" + culture="castillan" + religion="catholic" +} +20060= +{ + name="Dauferio" + culture="italian" +} +20061= +{ + name="Dolfos" + culture="castillan" + religion="catholic" +} +20062= +{ + name="de Montlhéry" + culture="frankish" + religion="catholic" +} +20063= +{ + name="Varajnuni" + culture="armenian" + religion="miaphysite" + coat_of_arms= + { + data= + { +0 0 0 5 5 1 1 } + religion="orthodox" + } +} +20064= +{ + name="Mangaphas" + culture="armenian" + religion="orthodox" +} +20065= +{ + name="Gavalas" + culture="greek" + religion="orthodox" +} +20066= +{ + name="Rallis-Raoul" + culture="norman" + religion="catholic" + coat_of_arms= + { + data= + { +0 8 0 40 0 0 0 } + religion="catholic" + } +} +20067= +{ + name="Axuchos" + culture="greek" + religion="orthodox" +} +20068= +{ + name="de Chigi" + culture="italian" +} +20069= +{ + name="de La Valette" + culture="occitan" +} +20070= +{ + name="de Tresmes" + culture="frankish" +} +20071= +{ + name="Progonovic" + culture="serbian" + religion="orthodox" +} +20072= +{ + name="Kamonas" + culture="greek" + religion="orthodox" +} +20073= +{ + name="Asidenos" + culture="greek" + religion="orthodox" +} +20074= +{ + name="Andronikashvili" + culture="georgian" + religion="orthodox" +} +20075= +{ + name="Komnenos Doukas" + culture="greek" + religion="orthodox" + coat_of_arms= + { + data= + { +0 2 0 7 5 0 0 } + religion="orthodox" + } +} +20076= +{ + name="Hasdai" + culture="sephardi" + religion="jewish" +} +20077= +{ + name="Abalia" + culture="sephardi" + religion="jewish" +} +20078= +{ + name="Migas" + culture="sephardi" + religion="jewish" +} +20079= +{ + name="Muhajir" + culture="maghreb_arabic" +} +20080= +{ + name="Vyshatich" + culture="russian" + religion="orthodox" +} +20081= +{ + name="Boryatinskiy" + culture="russian" + religion="orthodox" +} +20082= +{ + name="Novotorgsky" + culture="russian" + religion="orthodox" +} +20083= +{ + name="a Áengusa" + culture="scottish" + religion="catholic" +} +20084= +{ + name="Ivaring" + culture="danish" + religion="norse_pagan" + coat_of_arms= + { + data= + { +0 7 0 3 0 0 0 } + religion="catholic" + } + used_for_random=no +} +20137= +{ + name="de Vannes" + culture="breton" + religion="catholic" + coat_of_arms= + { + data= + { +0 7 0 20 0 0 0 } + religion="catholic" + } +} +20138= +{ + name="Nwrcelyn" + culture="welsh" + religion="catholic" +} +20142= +{ + name="Llifon" + culture="welsh" +} +20143= +{ + name="Abermenai" + culture="welsh" +} +20144= +{ + name="Penfro" + culture="welsh" +} +20145= +{ + name="Gilmyn" + culture="welsh" +} +20146= +{ + name="Efionydd" + culture="welsh" + religion="catholic" +} +20147= +{ + name="Conwy" + culture="welsh" +} +20148= +{ + name="Aberteifi" + culture="welsh" + religion="catholic" +} +20149= +{ + name="Clwyd" + culture="welsh" +} +20151= +{ + name="Tal-y-bont" + culture="welsh" +} +20153= +{ + name="Isaled" + culture="welsh" +} +20154= +{ + name="Ynys Môn" + culture="welsh" + religion="catholic" +} +20155= +{ + name="Talhaiarn" + culture="welsh" +} +20156= +{ + name="Brynffenigl" + culture="welsh" +} +20157= +{ + name="Llechwedd" + culture="welsh" +} +20158= +{ + name="Arwystli" + culture="welsh" + religion="catholic" +} +20159= +{ + name="Cefeliog" + culture="welsh" +} +20160= +{ + name="Carmarthen" + culture="welsh" +} +20161= +{ + name="Caenogion" + culture="welsh" +} +20164= +{ + name="Maelienydd" + culture="welsh" +} +20165= +{ + name="Elfael" + culture="welsh" +} +20166= +{ + name="Mynydd" + culture="welsh" +} +20169= +{ + name="Bangor" + culture="welsh" +} +20171= +{ + name="Mynyw" + culture="welsh" +} +20172= +{ + name="Tyddewi" + culture="welsh" + religion="catholic" +} +20173= +{ + name="Llandaff" + culture="welsh" +} +20174= +{ + name="Arllechwedd" + culture="welsh" +} +20181= +{ + name="Llanbadarn" + culture="welsh" + religion="catholic" +} +20191= +{ + name="Llancarfan" + culture="welsh" + religion="catholic" +} +20180= +{ + name="Tegaingl" + culture="welsh" +} +20124= +{ + name="Breizh" + culture="breton" + religion="catholic" +} +20125= +{ + name="de Bretagne" + culture="breton" +} +20126= +{ + name="Kerouac" + culture="breton" +} +20127= +{ + name="Paignon" + culture="breton" +} +20128= +{ + name="Sant Nazar" + culture="breton" +} +20129= +{ + name="Tanguy" + culture="breton" +} +20131= +{ + name="Parisy" + culture="breton" +} +20132= +{ + name="Henbont" + culture="breton" +} +20133= +{ + name="de Herve" + culture="breton" +} +20135= +{ + name="Sant Brieuc" + culture="breton" +} +20136= +{ + name="Sant Mikael" + culture="breton" +} +20103= +{ + name="Leon" + culture="breton" +} +1051999= +{ + name="de Leon" + culture="breton" + religion="catholic" +} +20105= +{ + name="Gwened" + culture="breton" +} +20106= +{ + name="Naoned" + culture="breton" + religion="catholic" +} +21001= +{ + name="Awdaniec" + culture="polish" +} +21002= +{ + name="Czetwertynski" + culture="polish" + religion="catholic" +} +21003= +{ + name="Skarbek" + culture="polish" +} +21004= +{ + name="Brochwicz" + culture="polish" +} +21005= +{ + name="Ciolek" + culture="polish" +} +21006= +{ + name="Dabrowa" + culture="polish" +} +21007= +{ + name="Dolega" + culture="polish" +} +21008= +{ + name="Doliwa" + culture="polish" +} +21009= +{ + name="Godziemba" + culture="polish" +} +21010= +{ + name="Gozdawa" + culture="polish" + religion="catholic" +} +21011= +{ + name="z Czarnkowa" + culture="polish" + religion="catholic" +} +21012= +{ + name="Gryf" + culture="polish" + religion="catholic" +} +21013= +{ + name="Grzymala" + culture="pommeranian" +} +21014= +{ + name="Jastrzebiec" + culture="pommeranian" +} +21015= +{ + name="Leliwa" + culture="polish" +} +21016= +{ + name="Lis" + culture="polish" + religion="catholic" +} +21017= +{ + name="Lodzia" + culture="pommeranian" +} +21018= +{ + name="Lubicz" + culture="pommeranian" +} +21019= +{ + name="Nalecz" + culture="pommeranian" +} +21020= +{ + name="Nowina" + culture="polish" +} +21021= +{ + name="Odrowaz" + culture="polish" + religion="catholic" +} +21022= +{ + name="Ogonczyk" + culture="polish" +} +21023= +{ + name="Polkozic" + culture="polish" + religion="catholic" +} +21024= +{ + name="Pomian" + culture="polish" +} +21025= +{ + name="Poraj" + culture="polish" + religion="catholic" + coat_of_arms= + { + data= + { +0 2 0 16 1 3 5 } + religion="catholic" + } +} +21026= +{ + name="Radwan" + culture="polish" +} +21027= +{ + name="Rawicz" + culture="polish" +} +21028= +{ + name="Rogala" + culture="polish" +} +21029= +{ + name="Grot" + culture="serbian" +} +21030= +{ + name="Gniewosz" + culture="pommeranian" +} +21031= +{ + name="Bodzeta" + culture="polish" + religion="catholic" +} +21032= +{ + name="Sulima" + culture="polish" +} +21033= +{ + name="Szeliga" + culture="polish" +} +21034= +{ + name="Traba" + culture="polish" +} +21035= +{ + name="Wlostowic" + culture="polish" + religion="catholic" +} +21036= +{ + name="Dlugosz" + culture="polish" +} +21037= +{ + name="Kmita" + culture="polish" +} +21038= +{ + name="Swinka" + culture="polish" +} +21039= +{ + name="z Wislicy" + culture="polish" +} +21040= +{ + name="z Garbowa" + culture="polish" +} +21041= +{ + name="z Olesnicy" + culture="polish" +} +21042= +{ + name="z Melsztyna" + culture="polish" +} +21043= +{ + name="z Teczyna" + culture="polish" +} +22000= +{ + name="di Acerenza" + culture="italian" +} +22001= +{ + name="de Vassy" + culture="norman" + religion="catholic" +} +22002= +{ + name="de Toni" + culture="norman" + religion="catholic" +} +22003= +{ + name="Arbuthnot" + culture="scottish" +} +22004= +{ + name="de Tonnerre" + culture="frankish" + religion="catholic" +} +22005= +{ + name="de Millau" + culture="occitan" + religion="catholic" + coat_of_arms= + { + data= + { +0 2 0 2 1 5 3 } + religion="catholic" + } +} +22006= +{ + name="de Rennes" + culture="breton" + religion="catholic" + coat_of_arms= + { + data= + { +0 7 0 19 0 0 0 } + religion="catholic" + } +} +22007= +{ + name="Wigeriche" + culture="frankish" + religion="catholic" + coat_of_arms= + { + data= + { +0 7 0 21 0 0 0 } + religion="catholic" + } +} +23000= +{ + name="Arzrouni" + culture="armenian" + religion="miaphysite" +} +23001= +{ + name="Parnavaziani" + culture="georgian" + religion="zoroastrian" + coat_of_arms= + { + data= + { +0 0 0 4 7 1 9 } + religion="zoroastrian" + } + forced_coa_religiongroup="zoroastrian_group" +} +23002= +{ + name="Pahlavuni" + culture="armenian" + religion="miaphysite" + forced_coa_religiongroup="christian" +} +23003= +{ + name="Hetoumi" + culture="armenian" + religion="miaphysite" + coat_of_arms= + { + data= + { +0 7 0 47 0 0 0 } + religion="catholic" + } +} +23004= +{ + name="Makisdros" + culture="armenian" +} +23005= +{ + name="Pakradouni" + culture="armenian" +} +23006= +{ + name="Mamikonian" + culture="armenian" + religion="zoroastrian" + forced_coa_religiongroup="christian" +} +23007= +{ + name="Sarkis" + culture="armenian" +} +23008= +{ + name="Gurieli" + culture="georgian" +} +23009= +{ + name="Shnorhali" + culture="armenian" +} +23010= +{ + name="Vanantezi" + culture="armenian" + religion="miaphysite" +} +23100= +{ + name="de Courtenay" + culture="frankish" + religion="catholic" +} +23101= +{ + name="d'Amalric" + culture="occitan" +} +23102= +{ + name="d'Ibelin" + culture="frankish" + religion="catholic" +} +23103= +{ + name="le Bourg" + culture="occitan" +} +23104= +{ + name="de Blanchegard" + culture="occitan" +} +23105= +{ + name="de Monreal" + culture="frankish" + religion="catholic" +} +23106= +{ + name="de Milly" + culture="frankish" + religion="catholic" + coat_of_arms= + { + data= + { +0 5 0 34 0 0 0 } + religion="catholic" + } +} +23107= +{ + name="Embriaco" + culture="italian" + religion="catholic" + coat_of_arms= + { + data= + { +0 6 0 7 0 0 0 } + religion="catholic" + } +} +23108= +{ + name="Carpenel" + culture="frankish" + religion="catholic" +} +23109= +{ + name="de Villaret" + culture="occitan" +} +23110= +{ + name="de Joinville" + culture="frankish" + religion="catholic" +} +23111= +{ + name="Grenier" + culture="norman" +} +23112= +{ + name="de Rochefort" + culture="frankish" + religion="catholic" +} +23113= +{ + name="de Châtillon" + culture="frankish" + religion="catholic" +} +23114= +{ + name="de la Roche" + culture="frankish" + religion="catholic" +} +23115= +{ + name="de Brienne" + culture="frankish" + religion="catholic" +} +23116= +{ + name="d'Altaville" + culture="frankish" +} +24000= +{ + name="Ayyubid" + culture="kurdish" + religion="sunni" + coat_of_arms= + { + data= + { +0 1 0 2 3 0 0 } + religion="sunni" + } +} +25001= +{ + name="Haraldsson" + culture="swedish" +} +25002= +{ + name="Mac Arailt" + culture="scottish" +} +25003= +{ + name="Ua Dubagáin" + culture="irish" +} +25004= +{ + name="Mac Dubgaill" + culture="scottish" +} +25005= +{ + name="Mac Gille-Fáelain" + culture="scottish" +} +25006= +{ + name="Mac Uchtraigh" + culture="scottish" +} +25007= +{ + name="Mac Findláich" + culture="scottish" +} +25008= +{ + name="Mac Adaim" + culture="scottish" +} +25009= +{ + name="Donnchaid" + culture="scottish" +} +25010= +{ + name="Mac Donnchada" + culture="scottish" +} +25011= +{ + name="Cormaig" + culture="scottish" +} +25012= +{ + name="Kennoway" + culture="scottish" +} +25013= +{ + name="Lochore" + culture="scottish" +} +25014= +{ + name="Abernethy" + culture="scottish" + religion="catholic" +} +25015= +{ + name="Ceitein" + culture="scottish" +} +25016= +{ + name="Mac Torfinn" + culture="scottish" +} +25017= +{ + name="Carrun" + culture="scottish" +} +25018= +{ + name="Madethyn" + culture="scottish" + religion="catholic" +} +25019= +{ + name="an Dorsair" + culture="scottish" + religion="catholic" +} +25020= +{ + name="Archil" + culture="scottish" +} +25021= +{ + name="Rannaire" + culture="scottish" +} +25022= +{ + name="Mac in Baird" + culture="scottish" +} +25023= +{ + name="Mac a' Chruiteir" + culture="scottish" +} +25024= +{ + name="Mac Ruaidri" + culture="scottish" + religion="catholic" +} +25025= +{ + name="a hÉrinn" + culture="scottish" +} +25026= +{ + name="a Monid-Tédaich" + culture="scottish" +} +25027= +{ + name="a Gabráin" + culture="scottish" +} +25028= +{ + name="a Lemnain" + culture="scottish" +} +25029= +{ + name="Scoine" + culture="scottish" +} +25030= +{ + name="a Scóine" + culture="scottish" +} +25031= +{ + name="a hInberuraid" + culture="scottish" +} +25032= +{ + name="a Baidenaich" + culture="scottish" +} +25033= +{ + name="Na Rannaibh" + culture="scottish" +} +25034= +{ + name="Machair" + culture="scottish" +} +25035= +{ + name="Siorrachd" + culture="scottish" +} +25036= +{ + name="Glenklochar" + culture="scottish" +} +25037= +{ + name="Fothriff" + culture="scottish" +} +25038= +{ + name="Borthwick" + culture="scottish" +} +25039= +{ + name="Srath Nid" + culture="scottish" +} +25040= +{ + name="A' Mhaoirne" + culture="scottish" +} +25041= +{ + name="Borthwick" + culture="saxon" +} +25042= +{ + name="Kyle" + culture="scottish" +} +25043= +{ + name="Gillespie" + culture="scottish" +} +25044= +{ + name="Cosmungho" + culture="scottish" +} +25045= +{ + name="Muireadhach" + culture="scottish" +} +25046= +{ + name="Somhairle" + culture="scottish" + religion="catholic" +} +25047= +{ + name="Breitheamh" + culture="scottish" + religion="catholic" +} +25048= +{ + name="le Cheyne" + culture="norman" + religion="catholic" +} +25049= +{ + name="de Kald" + culture="scottish" + religion="catholic" +} +25050= +{ + name="Bannock" + culture="scottish" + religion="catholic" +} +25051= +{ + name="Glaschu" + culture="scottish" + religion="catholic" +} +25052= +{ + name="de London" + culture="saxon" + religion="catholic" +} +25053= +{ + name="de Malveisin" + culture="frankish" + religion="catholic" +} +25054= +{ + name="de la Haya" + culture="scottish" + religion="catholic" +} +25055= +{ + name="de Soules" + culture="norman" + religion="catholic" +} +25056= +{ + name="Errol" + culture="scottish" + religion="catholic" +} +25057= +{ + name="de Valognes" + culture="norman" + religion="catholic" +} +25058= +{ + name="Avenel" + culture="norman" + religion="catholic" +} +25059= +{ + name="Olifard" + culture="scottish" + religion="catholic" +} +25060= +{ + name="de Chaumontois" + culture="frankish" + religion="catholic" + coat_of_arms= + { + data= + { +0 4 0 10 3 1 1 } + religion="catholic" + } +} +25061= +{ + name="Karling" + culture="old_frankish" + religion="catholic" + coat_of_arms= + { + data= + { +0 5 0 35 0 0 0 } + religion="catholic" + } + used_for_random=no +} +25062= +{ + name="de Mortain" + culture="norman" + religion="catholic" +} +25063= +{ + name="de Stafford" + culture="norman" + religion="catholic" +} +25064= +{ + name="Kálnoky" + culture="hungarian" +} +25065= +{ + name="Jerome-Karling" + culture="old_frankish" + religion="catholic" +} +25066= +{ + name="Bernhard-Karling" + culture="old_frankish" + religion="catholic" +} +25200= +{ + name="Voiteh" + culture="bulgarian" + religion="orthodox" + coat_of_arms= + { + data= + { +0 0 0 26 1 7 7 } + religion="orthodox" + } +} +25201= +{ + name="Kvirikian" + culture="turkish" + religion="orthodox" +} +25202= +{ + name="Hephaistos" + culture="greek" + religion="orthodox" +} +40000= +{ + name="d'Oloron" + culture="frankish" + religion="catholic" +} +40001= +{ + name="de Soule" + culture="frankish" +} +40002= +{ + name="de Leu" + culture="frankish" +} +40003= +{ + name="de Coarraze" + culture="frankish" +} +40004= +{ + name="de Lescar" + culture="frankish" +} +40005= +{ + name="de Morlaas" + culture="frankish" +} +40006= +{ + name="de Pau" + culture="frankish" +} +40007= +{ + name="d'Orthez" + culture="frankish" +} +40008= +{ + name="de Pardiac" + culture="frankish" +} +40009= +{ + name="de Fezenzaguet" + culture="frankish" +} +40010= +{ + name="de Parthenay" + culture="frankish" + religion="catholic" +} +40011= +{ + name="de Luçon" + culture="frankish" +} +40012= +{ + name="de Talmont" + culture="frankish" +} +40013= +{ + name="d'Aulnay" + culture="frankish" + religion="catholic" +} +40014= +{ + name="de Guéret" + culture="frankish" +} +40015= +{ + name="de Martel" + culture="frankish" +} +40016= +{ + name="de Cognac" + culture="frankish" + religion="catholic" +} +40017= +{ + name="d'Aubusson" + culture="occitan" +} +40018= +{ + name="de Riom" + culture="frankish" +} +40019= +{ + name="de Montferrand" + culture="occitan" +} +40020= +{ + name="de Thiers" + culture="frankish" +} +40021= +{ + name="Trencavel" + culture="occitan" + religion="catholic" +} +40022= +{ + name="de Sémur" + culture="frankish" + religion="catholic" + coat_of_arms= + { + data= + { +0 0 0 18 1 7 7 } + religion="catholic" + } +} +100000= +{ + name="Ladenid" + culture="maghreb_arabic" +} +100001= +{ + name="Akeleye" + culture="norwegian" + religion="catholic" +} +100002= +{ + name="Brockenhuus" + culture="norwegian" +} +100003= +{ + name="Eóganachta" + culture="irish" + religion="pagan" +} +100004= +{ + name="Connachta" + culture="irish" +} +100005= +{ + name="Uí Néill" + culture="irish" +} +100006= +{ + name="Posse" + culture="swedish" + religion="catholic" +} +100007= +{ + name="Uí Maine" + culture="irish" +} +100008= +{ + name="Laigin" + culture="irish" +} +100009= +{ + name="Dál gCais" + culture="irish" + religion="pagan" +} +100010= +{ + name="Ua Fidgeinte" + culture="irish" + religion="catholic" +} +100011= +{ + name="Oitir" + culture="irish" +} +100012= +{ + name="Uí Briain" + culture="irish" +} +100013= +{ + name="Cholmáin" + culture="irish" +} +100014= +{ + name="Ua Mael Sechlainn" + culture="irish" +} +100015= +{ + name="Uí Garrchon" + culture="irish" +} +100016= +{ + name="Laighin" + culture="irish" +} +100017= +{ + name="of Hereford" + culture="saxon" +} +100018= +{ + name="Anwyl" + culture="welsh" +} +100019= +{ + name="Cyfeiliog" + culture="welsh" +} +100020= +{ + name="Fane" + culture="welsh" +} +100021= +{ + name="of Gloucester" + culture="saxon" +} +100022= +{ + name="of Oxford" + culture="saxon" +} +100023= +{ + name="of Salisbury" + culture="saxon" + religion="catholic" +} +100024= +{ + name="of Surrey" + culture="saxon" +} +100025= +{ + name="of Sussex" + culture="saxon" +} +100026= +{ + name="of Hampshire" + culture="saxon" +} +100027= +{ + name="of Dorset" + culture="saxon" +} +100028= +{ + name="of Somerset" + culture="saxon" +} +100029= +{ + name="of Devon" + culture="saxon" + religion="catholic" +} +100030= +{ + name="of Exeter" + culture="saxon" +} +100031= +{ + name="of Cornwall" + culture="welsh" + religion="catholic" +} +100032= +{ + name="of Bristol" + culture="welsh" +} +100033= +{ + name="Kamban" + culture="norwegian" + religion="catholic" +} +100034= +{ + name="af Shetland" + culture="norwegian" + religion="catholic" +} +100035= +{ + name="Somerled" + culture="norwegian" +} +100036= +{ + name="Møre" + culture="norwegian" +} +100037= +{ + name="Gallaibh" + culture="scottish" +} +100038= +{ + name="Cataibh" + culture="scottish" +} +100039= +{ + name="Mac in tSagairt" + culture="scottish" + religion="catholic" +} +100040= +{ + name="Murray" + culture="scottish" + religion="catholic" +} +100041= +{ + name="Buchan" + culture="scottish" + religion="catholic" +} +100042= +{ + name="of Mar" + culture="scottish" + religion="catholic" +} +100043= +{ + name="of Angus" + culture="scottish" +} +100044= +{ + name="of Atholl" + culture="scottish" + religion="catholic" + coat_of_arms= + { + data= + { +0 1 0 13 5 0 3 } + religion="catholic" + } +} +100045= +{ + name="of Argyll" + culture="scottish" + religion="catholic" + coat_of_arms= + { + data= + { +0 0 0 7 5 0 0 } + religion="catholic" + } +} +100046= +{ + name="of Fife" + culture="scottish" + religion="catholic" +} +100047= +{ + name="of Strathclyde" + culture="scottish" + religion="catholic" +} +100048= +{ + name="Lowden" + culture="scottish" +} +100049= +{ + name="of Carrick" + culture="scottish" +} +100050= +{ + name="of Galloway" + culture="scottish" +} +100051= +{ + name="Cockburn" + culture="scottish" +} +100052= +{ + name="MacEadwine " + culture="scottish" + religion="catholic" +} +100053= +{ + name="of Cumberland" + culture="saxon" + religion="catholic" +} +100054= +{ + name="Crovan" + culture="irish" +} +100055= +{ + name="Craig" + culture="irish" + religion="catholic" +} +100056= +{ + name="of Durham" + culture="norman" + religion="catholic" +} +100057= +{ + name="of York" + culture="saxon" +} +100058= +{ + name="of Lancaster" + culture="saxon" + religion="catholic" +} +100059= +{ + name="of Chester" + culture="saxon" + religion="catholic" +} +100060= +{ + name="Ynys Cybi" + culture="welsh" +} +100061= +{ + name="of Lincoln" + culture="saxon" +} +100062= +{ + name="of Leicester" + culture="saxon" +} +100063= +{ + name="of Derby" + culture="saxon" +} +100064= +{ + name="Gwynedd" + culture="welsh" + religion="catholic" +} +100065= +{ + name="Gruffydd" + culture="welsh" +} +100066= +{ + name="of Shrewsbury" + culture="saxon" +} +100067= +{ + name="of Warwick" + culture="english" + religion="catholic" +} +100068= +{ + name="of Northampton" + culture="saxon" +} +100069= +{ + name="of Bedford" + culture="saxon" +} +100070= +{ + name="of Norfolk" + culture="saxon" +} +100071= +{ + name="of Suffolk" + culture="saxon" +} +100072= +{ + name="of Wessex" + culture="saxon" + religion="catholic" + coat_of_arms= + { + data= + { +0 7 0 0 0 0 0 } + religion="catholic" + } +} +100073= +{ + name="of Kent" + culture="saxon" + religion="catholic" +} +100074= +{ + name="de Guines" + culture="frankish" +} +100076= +{ + name="van Yperen" + culture="dutch" +} +100077= +{ + name="de Artois" + culture="frankish" +} +100078= +{ + name="van Brugge" + culture="dutch" + religion="catholic" +} +100079= +{ + name="van Zeeland" + culture="dutch" +} +100081= +{ + name="van Westfriesland" + culture="frisian" + religion="catholic" +} +100082= +{ + name="van Sticht" + culture="dutch" + religion="catholic" +} +100085= +{ + name="van Ostfriesland" + culture="frisian" + religion="catholic" +} +100086= +{ + name="von Oldenburg" + culture="german" + religion="catholic" +} +100087= +{ + name="von Osnabrück" + culture="german" + religion="catholic" +} +100088= +{ + name="von Münster" + culture="german" + religion="catholic" +} +100089= +{ + name="von Kleve" + culture="german" +} +100090= +{ + name="von Jülich" + culture="german" +} +100095= +{ + name="d'Amiens" + culture="norman" +} +100096= +{ + name="d'Eu" + culture="norman" + religion="catholic" +} +100097= +{ + name="de Arques" + culture="frankish" + religion="catholic" +} +100098= +{ + name="de Vexin" + culture="norman" +} +100099= +{ + name="de Evreux" + culture="frankish" +} +100100= +{ + name="de Avranches" + culture="italian" +} +100101= +{ + name="de Rennes" + culture="frankish" +} +100102= +{ + name="de Penthievre" + culture="frankish" +} +100103= +{ + name="de Léon" + culture="norman" +} +100104= +{ + name="de Cornouaille" + culture="norman" +} +100105= +{ + name="de Vannes" + culture="norman" +} +100106= +{ + name="de Nantes" + culture="norman" +} +100107= +{ + name="d'Angers" + culture="norman" +} +100108= +{ + name="de Maine" + culture="frankish" + religion="catholic" +} +100109= +{ + name="de Vendome" + culture="frankish" +} +100110= +{ + name="de Blois" + culture="frankish" +} +100111= +{ + name="de Chartres" + culture="frankish" +} +100112= +{ + name="d'Île" + culture="frankish" +} +100113= +{ + name="de Vermandois" + culture="frankish" + religion="catholic" +} +100114= +{ + name="de Reims" + culture="frankish" + religion="catholic" +} +100115= +{ + name="de Luxembourg" + culture="frankish" +} +100116= +{ + name="de Liege" + culture="frankish" + religion="catholic" +} +100117= +{ + name="von Brabant" + culture="german" +} +100118= +{ + name="von Andernach" + culture="german" +} +100119= +{ + name="von Köln" + culture="german" +} +100120= +{ + name="von Göttingen" + culture="german" + religion="catholic" +} +100121= +{ + name="von Nassau" + culture="german" +} +100122= +{ + name="von Leiningen" + culture="german" +} +100123= +{ + name="von Mainz" + culture="german" + religion="catholic" +} +100124= +{ + name="von Pfalz" + culture="german" +} +100125= +{ + name="von Baden" + culture="german" +} +100126= +{ + name="von Nordgau" + culture="german" +} +100127= +{ + name="von Lothringen" + culture="german" +} +100128= +{ + name="von Metz" + culture="german" + religion="catholic" +} +100129= +{ + name="de Verdun" + culture="norman" + religion="catholic" +} +100130= +{ + name="de Troyes" + culture="frankish" + religion="catholic" +} +100131= +{ + name="de Sens" + culture="frankish" + religion="catholic" +} +100132= +{ + name="d'Auxerre" + culture="frankish" +} +100133= +{ + name="de Saintois" + culture="frankish" +} +100134= +{ + name="von Sundgau" + culture="german" +} +100135= +{ + name="de Besancon" + culture="frankish" +} +100136= +{ + name="de Dijon" + culture="frankish" + religion="catholic" +} +100137= +{ + name="de Nevers" + culture="frankish" +} +100138= +{ + name="d'Orleans" + culture="frankish" + religion="catholic" +} +100139= +{ + name="de Bourges" + culture="frankish" + religion="catholic" + coat_of_arms= + { + data= + { +0 0 0 18 0 2 2 } + religion="catholic" + } +} +100140= +{ + name="de Tourraine" + culture="frankish" +} +100141= +{ + name="de Poitiers" + culture="occitan" +} +100142= +{ + name="de la Trémoille" + culture="frankish" +} +100143= +{ + name="de Saintonge" + culture="frankish" +} +100144= +{ + name="de Cilicia" + culture="frankish" +} +100145= +{ + name="de La Marche" + culture="frankish" + religion="catholic" +} +100146= +{ + name="de Bourbon" + culture="frankish" + religion="catholic" +} +100147= +{ + name="de Limousin" + culture="frankish" +} +100148= +{ + name="d'Angouleme" + culture="frankish" +} +100149= +{ + name="de Bordeaux" + culture="occitan" +} +100150= +{ + name="d'Albret" + culture="occitan" + religion="catholic" +} +100151= +{ + name="de Labourd" + culture="occitan" +} +100152= +{ + name="de Estella" + culture="basque" + religion="catholic" +} +100153= +{ + name="de Viscaya" + culture="basque" +} +100154= +{ + name="de Asturias de Santillana" + culture="basque" +} +100155= +{ + name="de Asturias de Oviedo" + culture="basque" +} +100156= +{ + name="Compostela" + culture="basque" +} +100157= +{ + name="de Santiago" + culture="castillan" + religion="catholic" +} +100158= +{ + name="de Porto" + culture="portuguese" + religion="catholic" +} +100159= +{ + name="de Coimbra" + culture="portuguese" +} +100160= +{ + name="de Lisboa" + culture="portuguese" +} +100161= +{ + name="de Alcácer do Sal" + culture="portuguese" +} +100162= +{ + name="de Silves" + culture="portuguese" +} +100163= +{ + name="de Faro" + culture="portuguese" +} +100164= +{ + name="de Niebla" + culture="castillan" +} +100165= +{ + name="de Cádiz" + culture="castillan" +} +100166= +{ + name="de Algeciras" + culture="castillan" +} +100167= +{ + name="de Málaga" + culture="castillan" +} +100168= +{ + name="de Almería" + culture="castillan" +} +100169= +{ + name="de Murcia" + culture="castillan" +} +100170= +{ + name="de Denia" + culture="castillan" +} +100171= +{ + name="de Valencia" + culture="castillan" +} +100172= +{ + name="de Castellon" + culture="castillan" +} +100173= +{ + name="de Tarragona" + culture="catalan" +} +100174= +{ + name="de Albarracín" + culture="castillan" +} +100175= +{ + name="de Calatayud" + culture="castillan" +} +100176= +{ + name="de Molina" + culture="castillan" +} +100177= +{ + name="de Cuenca" + culture="castillan" +} +100178= +{ + name="de La Mancha" + culture="castillan" +} +100179= +{ + name="de Almansa" + culture="castillan" +} +100180= +{ + name="de Granada" + culture="castillan" +} +100181= +{ + name="de Cordoba" + culture="castillan" +} +100182= +{ + name="de Sevilla" + culture="castillan" +} +100183= +{ + name="de Aracena" + culture="castillan" +} +100184= +{ + name="de Badajoz" + culture="castillan" +} +100185= +{ + name="de Mértola" + culture="portuguese" +} +100186= +{ + name="de Évora" + culture="portuguese" +} +100187= +{ + name="de Castelo Branco" + culture="portuguese" +} +100188= +{ + name="de Braganza" + culture="portuguese" +} +100189= +{ + name="de Astorga" + culture="castillan" + religion="catholic" +} +100190= +{ + name="de León" + culture="castillan" +} +100191= +{ + name="de Zamora" + culture="castillan" +} +100192= +{ + name="de Salamanca" + culture="castillan" +} +100193= +{ + name="de Alcántara" + culture="castillan" +} +100194= +{ + name="de Plasencia" + culture="castillan" +} +100195= +{ + name="d'Arena" + culture="italian" + religion="catholic" +} +100196= +{ + name="de Calatrava" + culture="castillan" +} +100197= +{ + name="Ferrer" + culture="catalan" +} +100198= +{ + name="de Valladolid" + culture="castillan" +} +100199= +{ + name="de Burgos" + culture="castillan" +} +100200= +{ + name="de Soria" + culture="castillan" +} +100201= +{ + name="de La Rioja" + culture="basque" +} +100202= +{ + name="de Zaragoza" + culture="castillan" +} +100203= +{ + name="de Lleida" + culture="catalan" +} +100204= +{ + name="de Barcelona" + culture="catalan" + religion="catholic" + coat_of_arms= + { + data= + { +0 3 0 7 0 0 0 } + religion="catholic" + } +} +100205= +{ + name="d'Empordà" + culture="catalan" +} +100206= +{ + name="Mariano" + culture="basque" +} +100207= +{ + name="de Jaca" + culture="basque" +} +100209= +{ + name="d'Armagnac" + culture="occitan" + religion="catholic" + coat_of_arms= + { + data= + { +0 4 0 0 3 1 1 } + religion="catholic" + } +} +100210= +{ + name="de Foix" + culture="occitan" +} +100211= +{ + name="de Roselló" +} +100212= +{ + name="de Narbonne" +} +100213= +{ + name="de Carcassonne" + culture="occitan" + religion="catholic" +} +100214= +{ + name="de Toulouse" + culture="occitan" +} +100215= +{ + name="d'Agen" + culture="occitan" + religion="catholic" +} +100216= +{ + name="de Perigord" + culture="occitan" + religion="catholic" +} +100217= +{ + name="Gellones" + culture="occitan" + religion="catholic" + coat_of_arms= + { + data= + { +0 8 0 22 0 0 0 } + religion="catholic" + } +} +100218= +{ + name="de Rouergue" + culture="occitan" +} +100219= +{ + name="de Gevaudan" + culture="occitan" + religion="catholic" +} +100220= +{ + name="de Montpellier" + culture="occitan" + religion="catholic" +} +100221= +{ + name="de Provence" + culture="occitan" + religion="catholic" +} +100222= +{ + name="de Venaissin" + culture="occitan" +} +100223= +{ + name="de Viviers" + culture="occitan" + religion="catholic" +} +100225= +{ + name="de Macon" + culture="frankish" + religion="catholic" +} +100226= +{ + name="de Charolais" + culture="occitan" +} +100227= +{ + name="de Forez" + culture="occitan" + religion="catholic" + coat_of_arms= + { + data= + { +0 0 0 17 0 3 3 } + religion="catholic" + } +} +100228= +{ + name="de Dauphine" + culture="frankish" +} +100229= +{ + name="de Forcalquier" + culture="occitan" +} +100230= +{ + name="de Nice" + culture="occitan" +} +100231= +{ + name="de Saluces" + culture="italian" +} +100232= +{ + name="de Monferrato" + culture="frankish" +} +100233= +{ + name="di Genova" + culture="italian" + religion="catholic" +} +100234= +{ + name="di Pavia" + culture="italian" + religion="catholic" +} +100235= +{ + name="di lombardia" + culture="italian" + religion="catholic" +} +100236= +{ + name="di Piemonte" + culture="italian" + religion="catholic" +} +100238= +{ + name="de Valais" + culture="frankish" +} +100239= +{ + name="de Genève" + culture="frankish" + religion="catholic" + coat_of_arms= + { + data= + { +0 5 0 36 0 0 0 } + religion="catholic" + } +} +100240= +{ + name="de Chalons" + culture="frankish" + religion="catholic" +} +100241= +{ + name="von Neuchatel" + culture="german" + religion="catholic" +} +100242= +{ + name="von Aargau" + culture="german" +} +100243= +{ + name="di Orvieto" + culture="italian" +} +100244= +{ + name="von Bern" + culture="german" +} +100245= +{ + name="von Schwyz" + culture="german" + religion="catholic" +} +100246= +{ + name="de Grisons" + culture="frankish" +} +100247= +{ + name="de Chur" + culture="frankish" +} +100248= +{ + name="di Gallen" + culture="italian" +} +100249= +{ + name="von Schwaben" + culture="german" + religion="catholic" +} +100250= +{ + name="von Breisgau" + culture="german" +} +100251= +{ + name="von Fürstenberg" + culture="german" +} +100252= +{ + name="von Ulm" + culture="german" + religion="catholic" +} +100253= +{ + name="von Württemberg" + culture="german" +} +100254= +{ + name="von Franken" + culture="german" + religion="catholic" +} +100255= +{ + name="von Thüringen" + culture="german" +} +100256= +{ + name="von Weimar" + culture="german" +} +100257= +{ + name="von Braunschweig" + culture="german" +} +100259= +{ + name="von Celle" + culture="german" +} +100260= +{ + name="von Mecklemburg" + culture="german" +} +100261= +{ + name="von Hamburg" + culture="german" + religion="catholic" +} +100262= +{ + name="von Lübeck" + culture="german" +} +100263= +{ + name="Gøye" + culture="danish" +} +100264= +{ + name="Grøn" + culture="danish" +} +100265= +{ + name="Friis" + culture="danish" +} +100266= +{ + name="Daa" + culture="danish" +} +100267= +{ + name="Ryning" + culture="danish" + religion="catholic" +} +100268= +{ + name="Bille" + culture="norwegian" + religion="catholic" + coat_of_arms= + { + data= + { +0 2 0 0 11 0 1 } + religion="catholic" + } +} +100269= +{ + name="Krabbe" + culture="norwegian" + religion="catholic" +} +100270= +{ + name="Blixen" + culture="norwegian" + religion="catholic" + coat_of_arms= + { + data= + { +0 0 0 17 5 0 0 } + religion="catholic" + } +} +100271= +{ + name="Lodehat" + culture="norwegian" + religion="catholic" +} +100272= +{ + name="Pagh" + culture="norwegian" + religion="catholic" +} +100273= +{ + name="Stibolt" + culture="norwegian" + religion="catholic" + coat_of_arms= + { + data= + { +0 2 0 8 2 1 0 } + religion="catholic" + } +} +100274= +{ + name="Vedel" + culture="norwegian" +} +100275= +{ + name="Rosenkrantz" + culture="norwegian" + religion="catholic" +} +100276= +{ + name="Kaas" + culture="norwegian" + religion="catholic" +} +100277= +{ + name="Juel" + culture="norwegian" +} +100278= +{ + name="Bildt" + culture="norwegian" + religion="catholic" +} +100279= +{ + name="Magga" + culture="lappish" + religion="finnish_pagan" + coat_of_arms= + { + data= + { +0 0 0 11 13 10 7 } + religion="finnish_pagan" + } +} +100280= +{ + name="Frille" + culture="swedish" + religion="catholic" + coat_of_arms= + { + data= + { +0 0 0 0 5 3 3 } + religion="norse_pagan" + } +} +100281= +{ + name="Eketrä" + culture="swedish" + religion="catholic" + coat_of_arms= + { + data= + { +0 0 0 15 11 0 0 } + religion="norse_pagan" + } +} +100282= +{ + name="Galte" + culture="norwegian" + religion="catholic" +} +100283= +{ + name="Ekeblad" + culture="swedish" + religion="catholic" + coat_of_arms= + { + data= + { +0 0 0 16 0 11 11 } + religion="norse_pagan" + } +} +100284= +{ + name="And" + culture="swedish" + religion="catholic" + coat_of_arms= + { + data= + { +0 0 0 12 0 5 5 } + religion="catholic" + } +} +100285= +{ + name="Gera" + culture="swedish" + religion="catholic" +} +100286= +{ + name="Soop" + culture="swedish" + religion="catholic" +} +100287= +{ + name="Hiort" + culture="swedish" + religion="norse_pagan" + coat_of_arms= + { + data= + { +0 0 0 4 5 1 1 } + religion="norse_pagan" + } +} +100288= +{ + name="Gylta" + culture="swedish" + religion="catholic" +} +100289= +{ + name="Kärling" + culture="swedish" + religion="catholic" +} +100290= +{ + name="af Finsta" + culture="swedish" + religion="catholic" +} +100291= +{ + name="Gren" + culture="swedish" + religion="norse_pagan" +} +100292= +{ + name="Leijonhufvud" + culture="swedish" +} +100293= +{ + name="af Aspenäs" + culture="swedish" + religion="catholic" +} +100294= +{ + name="Rosenstråle" + culture="swedish" + religion="catholic" +} +100295= +{ + name="Gälta" + culture="swedish" + religion="catholic" + coat_of_arms= + { + data= + { +0 0 0 1 3 1 1 } + religion="catholic" + } +} +100296= +{ + name="af Hammersta" + culture="swedish" +} +100297= +{ + name="Lilliehöök" + culture="swedish" + religion="catholic" +} +100298= +{ + name="af Malsta" + culture="swedish" + religion="catholic" +} +100299= +{ + name="Puke" + culture="swedish" + religion="catholic" +} +100300= +{ + name="Slatte" + culture="swedish" + religion="catholic" + coat_of_arms= + { + data= + { +0 0 0 15 1 2 2 } + religion="catholic" + } +} +100301= +{ + name="Ängel" + culture="swedish" + religion="catholic" +} +100302= +{ + name="Reventlow" + culture="danish" +} +100303= +{ + name="af Torestorp" + culture="danish" +} +100304= +{ + name="Slaweka" + culture="pommeranian" + religion="catholic" +} +100305= +{ + name="Ulfstand" + culture="danish" +} +100306= +{ + name="z Roztoki" + culture="pommeranian" +} +100307= +{ + name="von Amsberg" + culture="german" +} +100308= +{ + name="von Wolgast" + culture="german" + religion="slavic_pagan" +} +100309= +{ + name="von Altmark" + culture="german" +} +100310= +{ + name="von Anhalt" + culture="german" +} +100311= +{ + name="von Plauen" + culture="german" +} +100312= +{ + name="von Ascania" + culture="german" +} +100313= +{ + name="von Ansbach" + culture="german" +} +100314= +{ + name="von Nürnberg" + culture="german" +} +100315= +{ + name="von Kempten" + culture="german" + religion="catholic" + coat_of_arms= + { + data= + { +0 0 0 19 3 2 2 } + religion="catholic" + } +} +100316= +{ + name="von Arnim" + culture="german" +} +100317= +{ + name="von Trent" + culture="german" + religion="catholic" +} +100318= +{ + name="da Brescia" + culture="italian" + religion="catholic" +} +100320= +{ + name="di Cremona" + culture="italian" + religion="catholic" +} +100321= +{ + name="di Parma" + culture="italian" + religion="catholic" +} +100322= +{ + name="di Modena" + culture="italian" + religion="catholic" +} +100323= +{ + name="di Lucca" + culture="italian" +} +100324= +{ + name="di Corsica" + culture="italian" +} +100325= +{ + name="di Arborea" + culture="italian" +} +100326= +{ + name="di Cagliari" + culture="italian" + religion="catholic" +} +100327= +{ + name="di Livorno" + culture="italian" + religion="catholic" + coat_of_arms= + { + data= + { +0 0 0 10 1 3 3 } + religion="catholic" + } +} +100328= +{ + name="di Firenze" + culture="italian" + religion="catholic" +} +100329= +{ + name="di Urbino" + culture="italian" +} +100330= +{ + name="di Siena" + culture="italian" + religion="catholic" +} +100331= +{ + name="di Piombino" + culture="italian" +} +100332= +{ + name="di Orbetello" + culture="italian" +} +100333= +{ + name="di Roma" + culture="italian" + religion="catholic" +} +100334= +{ + name="di Napoli" + culture="italian" + religion="catholic" +} +100335= +{ + name="di Benevento" + culture="italian" + religion="catholic" +} +100336= +{ + name="di Salerno" + culture="italian" + religion="catholic" + coat_of_arms= + { + data= + { +0 7 0 49 0 0 0 } + religion="catholic" + } +} +100337= +{ + name="di Consenza" + culture="italian" +} +100338= +{ + name="di Reggio" + culture="italian" +} +100339= +{ + name="di Messina" + culture="italian" +} +100340= +{ + name="di Palermo" + culture="italian" +} +100341= +{ + name="di Trapani" + culture="italian" +} +100342= +{ + name="di Agrigento" + culture="italian" +} +100343= +{ + name="di Siracusa" + culture="italian" +} +100344= +{ + name="di Taranto" + culture="italian" + religion="catholic" +} +100345= +{ + name="di Lecce" + culture="italian" + religion="catholic" +} +100346= +{ + name="di Bari" + culture="italian" + religion="catholic" +} +100347= +{ + name="di Apulia" + culture="italian" +} +100348= +{ + name="di Foggia" + culture="italian" + religion="catholic" +} +100349= +{ + name="di Spoleto" + culture="italian" + religion="catholic" +} +100350= +{ + name="di Ancona" + culture="italian" + religion="catholic" +} +100351= +{ + name="di Ravenna" + culture="italian" +} +100352= +{ + name="di Bologna" + culture="italian" + religion="catholic" +} +100353= +{ + name="di Ferrara" + culture="italian" +} +100354= +{ + name="di Mantua" + culture="italian" + religion="catholic" + coat_of_arms= + { + data= + { +0 0 0 8 3 1 1 } + religion="catholic" + } +} +100355= +{ + name="di Padua" + culture="italian" + religion="catholic" +} +100356= +{ + name="di Venezia" + culture="italian" +} +100357= +{ + name="di Treviso" + culture="italian" + religion="catholic" +} +100358= +{ + name="d'Aquileia" + culture="italian" + religion="catholic" +} +100359= +{ + name="von Innsbruck" + culture="german" + religion="catholic" + coat_of_arms= + { + data= + { +0 2 0 15 5 1 3 } + religion="catholic" + } +} +100360= +{ + name="von Oberbayern" + culture="german" +} +100361= +{ + name="von Niederbayern" + culture="german" +} +100362= +{ + name="Bavor ze Strakonic" + culture="bohemian" +} +100364= +{ + name="von Lausitz" + culture="german" + religion="catholic" +} +100366= +{ + name="von Stettin" + culture="german" +} +100367= +{ + name="ze Slupska" + culture="pommeranian" +} +100368= +{ + name="von Danzig" + culture="prussian" + religion="catholic" +} +100369= +{ + name="von Seidlitz" + culture="prussian" +} +100370= +{ + name="von Marienburg" + culture="prussian" + religion="baltic_pagan" +} +100371= +{ + name="Konopacki" + culture="prussian" + religion="baltic_pagan" +} +100372= +{ + name="von Memel" + culture="lettigallish" + religion="baltic_pagan" +} +100373= +{ + name="von Kurs" + culture="lettigallish" + religion="baltic_pagan" +} +100374= +{ + name="Goštautas" + culture="lithuanian" + religion="baltic_pagan" +} +100375= +{ + name="von Rohrbach" + culture="lettigallish" + religion="catholic" +} +100376= +{ + name="Kask" + culture="finnish" + religion="catholic" +} +100377= +{ + name="Kukk" + culture="finnish" + religion="finnish_pagan" +} +100378= +{ + name="Sepp" + culture="finnish" + religion="baltic_pagan" +} +100379= +{ + name="Tamm" + culture="finnish" + religion="finnish_pagan" +} +100380= +{ + name="Pärn" + culture="finnish" + religion="finnish_pagan" +} +100381= +{ + name="Laine" + culture="finnish" + religion="finnish_pagan" +} +100382= +{ + name="Korhonen" + culture="finnish" + religion="finnish_pagan" +} +100383= +{ + name="Hämäläinen" + culture="finnish" + religion="finnish_pagan" + coat_of_arms= + { + data= + { +0 0 0 2 1 2 2 } + religion="finnish_pagan" + } +} +100384= +{ + name="Virtanen" + culture="finnish" + religion="finnish_pagan" + coat_of_arms= + { + data= + { +0 0 0 2 2 1 1 } + religion="finnish_pagan" + } +} +100385= +{ + name="Järvinen" + culture="finnish" + religion="finnish_pagan" +} +100386= +{ + name="Kemiläinen" + culture="finnish" + religion="finnish_pagan" + coat_of_arms= + { + data= + { +0 0 0 4 0 6 6 } + religion="finnish_pagan" + } +} +100387= +{ + name="Guoládat" + culture="lappish" + religion="finnish_pagan" + coat_of_arms= + { + data= + { +0 0 0 15 1 6 6 } + religion="finnish_pagan" + } +} +100388= +{ + name="Karjalainen" + culture="finnish" + religion="finnish_pagan" + coat_of_arms= + { + data= + { +0 0 0 15 6 1 1 } + religion="finnish_pagan" + } +} +100389= +{ + name="Kukkonen" + culture="finnish" + religion="finnish_pagan" + coat_of_arms= + { + data= + { +0 1 0 14 12 0 13 } + religion="finnish_pagan" + } +} +100390= +{ + name="Savolainen" + culture="finnish" + religion="finnish_pagan" + coat_of_arms= + { + data= + { +0 0 0 5 0 10 10 } + religion="finnish_pagan" + } +} +100391= +{ + name="Oravainen" + culture="finnish" + religion="finnish_pagan" +} +100392= +{ + name="Itkonen" + culture="finnish" + religion="finnish_pagan" + coat_of_arms= + { + data= + { +0 0 0 16 0 2 2 } + religion="finnish_pagan" + } +} +100393= +{ + name="Tolstoy" + culture="russian" + religion="orthodox" + coat_of_arms= + { + data= + { +3 0 0 7 8 1 14 0 0 7 8 1 14 0 0 7 8 1 14 0 0 7 8 1 14 } + religion="orthodox" + } +} +100394= +{ + name="Pahlen" + culture="german" + religion="orthodox" + coat_of_arms= + { + data= + { +1 4 0 40 1 10 7 4 0 40 1 10 7 } + religion="orthodox" + } +} +100395= +{ + name="Oksakov" + culture="russian" + religion="orthodox" + coat_of_arms= + { + data= + { +4 1 0 16 4 5 11 1 0 16 4 5 11 1 0 16 4 5 11 } + religion="orthodox" + } +} +100396= +{ + name="Ovinov" + culture="russian" + religion="orthodox" + coat_of_arms= + { + data= + { +4 4 0 18 4 8 12 4 0 18 4 8 12 4 0 18 4 8 12 } + religion="orthodox" + } +} +100397= +{ + name="Romanov" + culture="russian" + religion="orthodox" + coat_of_arms= + { + data= + { +1 1 0 21 11 14 14 1 0 21 11 14 14 } + religion="orthodox" + } +} +100398= +{ + name="Okolnichy" + culture="russian" + religion="orthodox" + coat_of_arms= + { + data= + { +3 0 0 36 8 0 14 0 0 36 8 0 14 0 0 36 8 0 14 0 0 36 8 0 14 } + religion="orthodox" + } +} +100399= +{ + name="Yenikeyev" + culture="russian" + religion="orthodox" + coat_of_arms= + { + data= + { +3 1 0 0 0 12 7 1 0 0 0 12 7 1 0 0 0 12 7 1 0 0 0 12 7 } + religion="orthodox" + } +} +100400= +{ + name="Bakunin" + culture="russian" + religion="orthodox" + coat_of_arms= + { + data= + { +3 0 0 4 7 14 9 0 0 4 7 14 9 0 0 4 7 14 9 0 0 4 7 14 9 } + religion="orthodox" + } +} +100401= +{ + name="Balashov" + culture="russian" + religion="orthodox" + coat_of_arms= + { + data= + { +2 0 0 40 3 14 14 0 0 40 3 14 14 } + religion="orthodox" + } +} +100402= +{ + name="Rumyanets" + culture="russian" + religion="orthodox" + coat_of_arms= + { + data= + { +1 0 0 20 11 4 0 0 0 20 11 4 0 } + religion="orthodox" + } +} +100403= +{ + name="Matveev" + culture="russian" + religion="orthodox" + coat_of_arms= + { + data= + { +1 4 0 31 11 4 14 4 0 31 11 4 14 } + religion="orthodox" + } +} +100404= +{ + name="Artamonovich" + culture="russian" + religion="orthodox" + coat_of_arms= + { + data= + { +4 2 0 33 14 10 11 2 0 33 14 10 11 2 0 33 14 10 11 } + religion="orthodox" + } +} +100405= +{ + name="Osipovich" + culture="russian" + religion="orthodox" + coat_of_arms= + { + data= + { +3 2 0 36 14 12 12 2 0 36 14 12 12 2 0 36 14 12 12 2 0 36 14 12 12 } + religion="orthodox" + } +} +100406= +{ + name="Ignatiev" + culture="russian" + religion="orthodox" + coat_of_arms= + { + data= + { +2 1 0 4 7 0 9 1 0 4 7 0 9 } + religion="orthodox" + } +} +100407= +{ + name="Bestuzhev-Ryumin" + culture="russian" + religion="orthodox" + coat_of_arms= + { + data= + { +0 2 0 24 10 0 0 } + religion="orthodox" + } +} +100408= +{ + name="Cherkassky" + culture="russian" + religion="orthodox" +} +100409= +{ + name="Chernyshev" + culture="russian" + religion="orthodox" + coat_of_arms= + { + data= + { +1 2 0 22 3 0 1 2 0 22 3 0 1 } + religion="orthodox" + } +} +100410= +{ + name="Galitsyn" + culture="russian" + religion="orthodox" + coat_of_arms= + { + data= + { +0 0 0 45 14 6 5 } + religion="orthodox" + } +} +100411= +{ + name="Saar" + culture="finnish" + religion="finnish_pagan" +} +100412= +{ + name="Dashkov" + culture="russian" + religion="orthodox" + coat_of_arms= + { + data= + { +3 1 0 19 13 0 1 1 0 19 13 0 1 1 0 19 13 0 1 1 0 19 13 0 1 } + religion="orthodox" + } +} +100413= +{ + name="Demidov" + culture="russian" + religion="orthodox" +} +100414= +{ + name="Alexandrov" + culture="russian" + religion="orthodox" + coat_of_arms= + { + data= + { +2 0 0 31 2 0 0 0 0 31 2 0 0 } + religion="orthodox" + } +} +100415= +{ + name="Sobakin" + culture="russian" + religion="orthodox" + coat_of_arms= + { + data= + { +3 1 0 21 2 1 1 1 0 21 2 1 1 1 0 21 2 1 1 1 0 21 2 1 1 } + religion="orthodox" + } +} +100416= +{ + name="Giedraitis" + culture="lithuanian" +} +100417= +{ + name="Glinsky" + culture="russian" + religion="orthodox" +} +100418= +{ + name="Radvila" + culture="lithuanian" + religion="orthodox" +} +100419= +{ + name="Alelkaitis" + culture="lithuanian" +} +100420= +{ + name="Gedgaudis" + culture="lithuanian" + religion="baltic_pagan" +} +100421= +{ + name="Sviriskis" + culture="lithuanian" + religion="baltic_pagan" +} +100422= +{ + name="Valmantaitis" + culture="lithuanian" + religion="baltic_pagan" +} +100423= +{ + name="Kesgailos" + culture="lithuanian" +} +100424= +{ + name="Mangirdaitis" + culture="lithuanian" +} +100425= +{ + name="Pacas" + culture="lithuanian" + religion="baltic_pagan" +} +100426= +{ + name="Chodkevicius" + culture="lithuanian" + religion="baltic_pagan" +} +100427= +{ + name="von Finckenstein" + culture="prussian" + religion="catholic" +} +100428= +{ + name="Sypniewski" + culture="polish" +} +100429= +{ + name="Odrowaz" + culture="polish" +} +100430= +{ + name="von Beetzen" + culture="german" + religion="catholic" +} +100431= +{ + name="Lanckoronski" + culture="polish" +} +100432= +{ + name="Taczanowski" + culture="polish" +} +100433= +{ + name="Lubranski" + culture="polish" +} +100434= +{ + name="von Abensberg" + culture="german" +} +100435= +{ + name="von Berlichingen" + culture="german" +} +100436= +{ + name="Czernín" + culture="bohemian" +} +100438= +{ + name="von Harrach" + culture="bohemian" +} +100442= +{ + name="Niedzica" + culture="hungarian" + religion="catholic" +} +100443= +{ + name="Zápolya" + culture="hungarian" +} +100444= +{ + name="Székely" + culture="hungarian" + religion="catholic" +} +100445= +{ + name="Dózsa" + culture="hungarian" + religion="catholic" +} +100446= +{ + name="von Bibra" + culture="german" +} +100447= +{ + name="von Bismarck" + culture="german" +} +100448= +{ + name="von Bodeck" + culture="german" +} +100449= +{ + name="Boeselager" + culture="german" +} +100450= +{ + name="Apafi" + culture="hungarian" + religion="catholic" +} +100451= +{ + name="Balassi" + culture="hungarian" + religion="catholic" +} +100452= +{ + name="Bethlen von Iktár" + culture="hungarian" + religion="catholic" +} +100453= +{ + name="of Szekezfehervar" + culture="hungarian" + religion="catholic" +} +100454= +{ + name="Budai Nagy" + culture="hungarian" + religion="catholic" +} +100455= +{ + name="Jaworski" + culture="german" +} +100456= +{ + name="Brauchitsch" + culture="german" +} +100457= +{ + name="von Bülow" + culture="german" +} +100458= +{ + name="Borgia" + culture="italian" +} +100459= +{ + name="Cantemir" + culture="german" +} +100460= +{ + name="Svetoslavic" + culture="croatian" + religion="catholic" +} +100461= +{ + name="Krešimirovic" + culture="croatian" + religion="catholic" +} +100462= +{ + name="Domagojevic" + culture="croatian" + religion="catholic" + coat_of_arms= + { + data= + { +0 0 0 11 1 3 3 } + religion="catholic" + } +} +100463= +{ + name="Feštetic" + culture="croatian" + religion="catholic" +} +100464= +{ + name="Gorjanski" + culture="croatian" + religion="catholic" +} +100465= +{ + name="Lackfi" + culture="croatian" + religion="catholic" +} +100466= +{ + name="Odescalchi" + culture="romanian" + religion="catholic" +} +100467= +{ + name="Šubic" + culture="croatian" + religion="catholic" +} +100468= +{ + name="Vukovic" + culture="serbian" + religion="catholic" +} +100469= +{ + name="Radoslav" + culture="serbian" +} +100470= +{ + name="Caradja" + culture="serbian" +} +100471= +{ + name="Karatzas" + culture="greek" +} +100472= +{ + name="dalle Carceri" + culture="italian" + religion="catholic" +} +100473= +{ + name="Clavelli" + culture="italian" + religion="orthodox" +} +100474= +{ + name="Sommaripa" + culture="italian" + religion="catholic" +} +100475= +{ + name="Amiroutzes" + culture="greek" +} +100476= +{ + name="Bessarion" + culture="greek" +} +100477= +{ + name="Callistus" + culture="greek" + religion="catholic" +} +100478= +{ + name="Chalkokondyles" + culture="greek" +} +100479= +{ + name="Gazis" + culture="greek" +} +100480= +{ + name="Kourtesios" + culture="greek" + religion="catholic" +} +100481= +{ + name="Kallistos" + culture="greek" +} +100482= +{ + name="Kladas" + culture="greek" +} +100483= +{ + name="de Patras" + culture="greek" +} +100484= +{ + name="Gemistus" + culture="greek" +} +100485= +{ + name="Allatios" + culture="greek" +} +100486= +{ + name="Chalcocondyles" + culture="greek" +} +100487= +{ + name="Korniaktos" + culture="greek" +} +100488= +{ + name="Damaskenos" + culture="greek" +} +100489= +{ + name="Eparchos" + culture="greek" + religion="orthodox" +} +100490= +{ + name="Flanginis" + culture="greek" + religion="orthodox" +} +100491= +{ + name="Fokás" + culture="greek" + religion="orthodox" +} +100492= +{ + name="Fruzhin" + culture="bulgarian" +} +100493= +{ + name="Heraclides" + culture="greek" +} +100494= +{ + name="Kallokratos" + culture="greek" +} +100495= +{ + name="Kottounios" + culture="greek" +} +100496= +{ + name="Leontaritis" + culture="greek" +} +100497= +{ + name="Loukanis" + culture="greek" +} +100498= +{ + name="Ermi" + culture="bulgarian" +} +100499= +{ + name="Hrabar" + culture="bulgarian" +} +100500= +{ + name="Exarch" + culture="bulgarian" + religion="orthodox" +} +100501= +{ + name="Prosigoj" + culture="serbian" + religion="orthodox" +} +100502= +{ + name="Vlastimirovic" + culture="serbian" + religion="slavic_pagan" + coat_of_arms= + { + data= + { +0 8 0 11 0 0 0 } + religion="catholic" + } +} +100503= +{ + name="Gojnikovic" + culture="serbian" +} +100504= +{ + name="Branovic" + culture="serbian" +} +100505= +{ + name="Pribisavljevic" + culture="serbian" + religion="orthodox" +} +100506= +{ + name="Klonimirovic" + culture="serbian" +} +100507= +{ + name="Sigritsa" + culture="bulgarian" +} +100508= +{ + name="Chrysos" + culture="bulgarian" + religion="orthodox" +} +100509= +{ + name="Komnene" + culture="bulgarian" +} +100510= +{ + name="Svetoslav" + culture="bulgarian" +} +100511= +{ + name="Palaeologus" + culture="bulgarian" +} +100512= +{ + name="Golovin" + culture="russian" + religion="catholic" +} +100513= +{ + name="Costin" + culture="romanian" + religion="orthodox" + coat_of_arms= + { + data= + { +2 1 0 4 10 0 0 1 0 4 10 0 0 } + religion="orthodox" + } +} +100514= +{ + name="Machabeli" + culture="georgian" + religion="tengri_pagan" +} +100515= +{ + name="Szilágyi " + culture="romanian" + religion="orthodox" + coat_of_arms= + { + data= + { +4 2 0 12 14 12 3 2 0 12 14 12 3 2 0 12 14 12 3 } + religion="orthodox" + } +} +100516= +{ + name="Jianu" + culture="romanian" + religion="orthodox" + coat_of_arms= + { + data= + { +2 1 0 14 6 0 14 1 0 14 6 0 14 } + religion="orthodox" + } +} +100517= +{ + name="de Kincstartó" + culture="hungarian" + religion="catholic" +} +100518= +{ + name="Celko" + culture="hungarian" + religion="catholic" +} +100519= +{ + name="Corvinus" + culture="hungarian" + religion="catholic" +} +100520= +{ + name="de Cseszneky" + culture="hungarian" + religion="catholic" +} +100521= +{ + name="de Milvány" + culture="hungarian" + religion="catholic" +} +100522= +{ + name="von Moraván" + culture="hungarian" +} +100523= +{ + name="Dávid " + culture="hungarian" + religion="catholic" +} +100524= +{ + name="Décsey" + culture="hungarian" + religion="catholic" +} +100525= +{ + name="Mézesi" + culture="hungarian" + religion="catholic" +} +100526= +{ + name="Tarnowski" + culture="polish" +} +100527= +{ + name="Giese" + culture="polish" +} +100528= +{ + name="Kolanka" + culture="polish" +} +100529= +{ + name="Gamrat" + culture="polish" +} +100530= +{ + name="Hlebowicius" + culture="lithuanian" +} +100531= +{ + name="Mielzynski" + culture="polish" +} +100532= +{ + name="Oginski" + culture="polish" +} +100533= +{ + name="de Ruszka" + culture="hungarian" + religion="catholic" +} +100534= +{ + name="Gurielov" + culture="russian" +} +100535= +{ + name="Sudimantaitis" + culture="lithuanian" + religion="orthodox" +} +100536= +{ + name="Khitrov" + culture="russian" +} +100537= +{ + name="Draskovich" + culture="hungarian" + religion="catholic" +} +100538= +{ + name="Erdödy" + culture="hungarian" + religion="catholic" +} +100539= +{ + name="Révay" + culture="hungarian" + religion="catholic" +} +100540= +{ + name="Duružmic" + culture="hungarian" + religion="catholic" +} +100541= +{ + name="Micu-Klein" + culture="romanian" + religion="catholic" +} +100542= +{ + name="Gutkeled" + culture="cuman" + religion="tengri_pagan" + coat_of_arms= + { + data= + { +0 1 0 8 13 10 11 } + religion="tengri_pagan" + } +} +100543= +{ + name="Kolbasz" + culture="cuman" + religion="tengri_pagan" + coat_of_arms= + { + data= + { +0 0 0 5 12 13 1 } + religion="tengri_pagan" + } +} +100544= +{ + name="Khovansky" + culture="russian" + religion="orthodox" + coat_of_arms= + { + data= + { +3 1 0 3 6 9 14 1 0 3 6 9 14 1 0 3 6 9 14 1 0 3 6 9 14 } + religion="orthodox" + } +} +100545= +{ + name="Olas" + culture="cuman" + religion="catholic" +} +100546= +{ + name="of Terebovl" + culture="russian" + religion="orthodox" + coat_of_arms= + { + data= + { +2 1 0 3 10 0 1 1 0 3 10 0 1 } + religion="orthodox" + } +} +100547= +{ + name="Kikin" + culture="russian" + religion="orthodox" +} +100548= +{ + name="Kobylin" + culture="russian" +} +100549= +{ + name="Korybut" + culture="lithuanian" + religion="orthodox" +} +100550= +{ + name="Lopukhin" + culture="russian" +} +100551= +{ + name="Lvov" + culture="russian" + religion="orthodox" +} +100552= +{ + name="Rumyantsev" + culture="russian" +} +100553= +{ + name="Matveyev" + culture="russian" +} +100554= +{ + name="Menshikov" + culture="russian" + religion="orthodox" +} +100555= +{ + name="Meshchersky" + culture="russian" + religion="orthodox" + coat_of_arms= + { + data= + { +3 0 0 19 5 1 9 0 0 19 5 1 9 0 0 19 5 1 9 0 0 19 5 1 9 } + religion="orthodox" + } +} +100556= +{ + name="Kunev" + culture="cuman" + religion="tengri_pagan" +} +100557= +{ + name="Kumanov" + culture="cuman" + religion="tengri_pagan" + coat_of_arms= + { + data= + { +0 1 0 2 4 13 1 } + religion="tengri_pagan" + } +} +100558= +{ + name="Folban" + culture="cuman" + religion="tengri_pagan" +} +100560= +{ + name="Margunios" + culture="greek" +} +100561= +{ + name="Musurus" + culture="greek" + religion="orthodox" +} +100563= +{ + name="Qoun" + culture="cuman" + religion="tengri_pagan" +} +100564= +{ + name="Polovtsy" + culture="cuman" + religion="tengri_pagan" + coat_of_arms= + { + data= + { +0 1 0 7 13 8 6 } + religion="tengri_pagan" + } +} +100565= +{ + name="Miloslavsky" + culture="russian" + religion="tengri_pagan" +} +100566= +{ + name="Kipchak" + culture="cuman" + religion="tengri_pagan" + coat_of_arms= + { + data= + { +0 1 0 3 12 1 1 } + religion="tengri_pagan" + } +} +100567= +{ + name="Morozov" + culture="russian" + religion="orthodox" + coat_of_arms= + { + data= + { +2 2 0 7 0 12 13 2 0 7 0 12 13 } + religion="orthodox" + } +} +100568= +{ + name="Naryshkin" + culture="russian" +} +100569= +{ + name="Poluektovich" + culture="russian" +} +100570= +{ + name="Neplyuyev" + culture="russian" + religion="orthodox" +} +100571= +{ + name="Obolensky" + culture="russian" + religion="orthodox" +} +100572= +{ + name="Panin" + culture="russian" + religion="orthodox" +} +100573= +{ + name="Pankeyev" + culture="russian" +} +100574= +{ + name="Paskevich" + culture="russian" + religion="orthodox" +} +100575= +{ + name="Potyomkin" + culture="russian" + religion="orthodox" +} +100576= +{ + name="Pushkin" + culture="russian" +} +100577= +{ + name="Bogolyubsky" + culture="russian" + religion="orthodox" +} +100578= +{ + name="Rtishchev" + culture="russian" +} +100579= +{ + name="Anttonen" + culture="finnish" + religion="finnish_pagan" + coat_of_arms= + { + data= + { +0 1 0 18 10 9 13 } + religion="finnish_pagan" + } +} +100580= +{ + name="Shafirov" + culture="russian" + religion="orthodox" +} +100581= +{ + name="Shchenya" + culture="russian" + religion="orthodox" +} +100582= +{ + name="Shein" + culture="russian" +} +100583= +{ + name="Shemyachich" + culture="russian" + religion="orthodox" +} +100584= +{ + name="Shemyaka" + culture="russian" +} +100585= +{ + name="Sheremetev" + culture="russian" +} +100586= +{ + name="Shuvalov" + culture="russian" + religion="orthodox" +} +100587= +{ + name="Danske" + culture="swedish" + religion="catholic" +} +100588= +{ + name="Fleming" + culture="swedish" + religion="catholic" +} +100589= +{ + name="Bidz" + culture="swedish" + religion="catholic" +} +100590= +{ + name="Diekn" + culture="swedish" + religion="catholic" +} +100591= +{ + name="Karpela" + culture="finnish" + religion="catholic" +} +100592= +{ + name="Stiernkors" + culture="swedish" + religion="catholic" +} +100593= +{ + name="Kuman" + culture="cuman" + religion="sunni" + coat_of_arms= + { + data= + { +0 1 0 27 8 12 12 } + religion="sunni" + } +} +100594= +{ + name="Skuratov" + culture="russian" + religion="tengri_pagan" + coat_of_arms= + { + data= + { +0 0 0 3 7 0 1 } + religion="tengri_pagan" + } +} +100595= +{ + name="Stolnik" + culture="russian" + religion="tengri_pagan" + coat_of_arms= + { + data= + { +0 1 0 4 7 0 0 } + religion="tengri_pagan" + } +} +100596= +{ + name="Thocomer" + culture="cuman" + religion="tengri_pagan" +} +100597= +{ + name="Bazaraads" + culture="cuman" + religion="tengri_pagan" +} +100598= +{ + name="Trubetskoy" + culture="russian" + religion="sunni" +} +100599= +{ + name="Kunság" + culture="cuman" + religion="tengri_pagan" +} +100600= +{ + name="Abuserisdze" + culture="georgian" +} +100601= +{ + name="Surameli" + culture="georgian" +} +100602= +{ + name="Alauni" + culture="alan" + religion="sunni" + coat_of_arms= + { + data= + { +0 1 0 34 12 11 5 } + religion="sunni" + } +} +100603= +{ + name="Halani" + culture="alan" + religion="orthodox" +} +100604= +{ + name="Alp" + culture="turkish" + religion="orthodox" + coat_of_arms= + { + data= + { +2 4 0 15 7 1 14 4 0 15 7 1 14 } + religion="orthodox" + } +} +100605= +{ + name="Shoana" + culture="alan" + religion="orthodox" +} +100606= +{ + name="Senty" + culture="alan" + religion="orthodox" + coat_of_arms= + { + data= + { +0 2 0 8 0 2 10 } + religion="orthodox" + } +} +100607= +{ + name="Nagykunság" + culture="cuman" + religion="tengri_pagan" + coat_of_arms= + { + data= + { +0 1 0 1 6 13 0 } + religion="tengri_pagan" + } +} +100608= +{ + name="Kiskunság" + culture="cuman" + religion="tengri_pagan" +} +100609= +{ + name="Uvarov" + culture="russian" + religion="sunni" + coat_of_arms= + { + data= + { +0 1 0 2 2 12 0 } + religion="sunni" + } +} +100610= +{ + name="Turgenev" + culture="russian" + religion="sunni" + coat_of_arms= + { + data= + { +0 1 0 42 3 9 0 } + religion="sunni" + } +} +100611= +{ + name="Valuyev" + culture="russian" + religion="sunni" + coat_of_arms= + { + data= + { +0 1 0 53 9 2 6 } + religion="sunni" + } +} +100612= +{ + name="Vogak" + culture="russian" + religion="sunni" + coat_of_arms= + { + data= + { +0 1 0 37 9 10 3 } + religion="sunni" + } +} +100613= +{ + name="Volynsky" + culture="volhynian" + religion="sunni" + coat_of_arms= + { + data= + { +0 1 0 23 1 10 6 } + religion="sunni" + } +} +100614= +{ + name="Bortz" + culture="cuman" + religion="tengri_pagan" + coat_of_arms= + { + data= + { +0 0 0 4 1 12 6 } + religion="tengri_pagan" + } +} +100615= +{ + name="Bahariyya" + culture="cuman" + religion="tengri_pagan" + coat_of_arms= + { + data= + { +0 0 0 9 8 0 1 } + religion="tengri_pagan" + } +} +100616= +{ + name="Klobuky" + culture="cuman" + religion="tengri_pagan" + coat_of_arms= + { + data= + { +0 0 0 0 7 1 0 } + religion="tengri_pagan" + } +} +100617= +{ + name="Kimak" + culture="cuman" + religion="sunni" + coat_of_arms= + { + data= + { +0 1 0 10 1 10 11 } + religion="sunni" + } +} +100618= +{ + name="Altar" + culture="turkish" + religion="tengri_pagan" + coat_of_arms= + { + data= + { +0 1 0 1 6 13 1 } + religion="tengri_pagan" + } +} +100619= +{ + name="Aybars" + culture="turkish" + religion="tengri_pagan" + coat_of_arms= + { + data= + { +0 0 0 5 5 0 0 } + religion="tengri_pagan" + } +} +100620= +{ + name="Doganin" + culture="turkish" + religion="tengri_pagan" + coat_of_arms= + { + data= + { +0 1 0 7 4 1 1 } + religion="tengri_pagan" + } +} +100621= +{ + name="Ecevit" + culture="turkish" + religion="tengri_pagan" + coat_of_arms= + { + data= + { +0 0 0 9 4 1 13 } + religion="tengri_pagan" + } +} +100622= +{ + name="Gökhan" + culture="turkish" + religion="tengri_pagan" + coat_of_arms= + { + data= + { +0 0 0 5 11 1 1 } + religion="tengri_pagan" + } +} +100623= +{ + name="Ilhan" + culture="turkish" + religion="tengri_pagan" + coat_of_arms= + { + data= + { +0 0 0 9 2 13 0 } + religion="tengri_pagan" + } +} +100624= +{ + name="Kagan" + culture="turkish" + religion="tengri_pagan" + coat_of_arms= + { + data= + { +0 1 0 8 1 12 11 } + religion="tengri_pagan" + } +} +100625= +{ + name="Metehan" + culture="turkish" + religion="tengri_pagan" + coat_of_arms= + { + data= + { +0 0 0 1 9 10 5 } + religion="tengri_pagan" + } +} +100626= +{ + name="Ozan" + culture="turkish" + religion="tengri_pagan" +} +100627= +{ + name="Senol" + culture="turkish" + religion="tengri_pagan" + coat_of_arms= + { + data= + { +0 0 0 9 7 9 9 } + religion="tengri_pagan" + } +} +100628= +{ + name="Tarkan" + culture="turkish" + religion="sunni" + coat_of_arms= + { + data= + { +0 0 0 12 3 0 1 } + religion="sunni" + } +} +100629= +{ + name="Utku" + culture="turkish" +} +100630= +{ + name="Yavuz" + culture="turkish" +} +100631= +{ + name="Olcayto" + culture="turkish" +} +100632= +{ + name="Kazeruni" + culture="persian" + religion="sunni" + coat_of_arms= + { + data= + { +0 0 0 9 3 12 12 } + religion="sunni" + } +} +100633= +{ + name="Tahirids" + culture="persian" + religion="sunni" + coat_of_arms= + { + data= + { +0 1 0 39 9 3 6 } + religion="sunni" + } +} +100634= +{ + name="Ummayyads" + culture="persian" +} +100635= +{ + name="Samanid" + culture="persian" + religion="sunni" + coat_of_arms= + { + data= + { +0 0 0 9 2 12 9 } + religion="sunni" + } +} +100636= +{ + name="Muqannid" + culture="persian" +} +100637= +{ + name="Sunpadh" + culture="persian" + religion="sunni" + coat_of_arms= + { + data= + { +0 1 0 30 8 12 1 } + religion="sunni" + } +} +100638= +{ + name="Khurramites" + culture="persian" +} +100639= +{ + name="Khorramdin" + culture="persian" +} +100640= +{ + name="Maziar" + culture="persian" +} +100641= +{ + name="Mardavij" + culture="persian" +} +100642= +{ + name="Ustadh" + culture="persian" +} +100643= +{ + name="Saffari" + culture="persian" +} +100644= +{ + name="Laith" + culture="persian" +} +100645= +{ + name="Ferdowsi" + culture="persian" +} +100646= +{ + name="Tamerlane" + culture="persian" +} +100647= +{ + name="Hulagu" + culture="persian" +} +100648= +{ + name="Ajami" + culture="persian" + religion="sunni" + coat_of_arms= + { + data= + { +0 1 0 40 11 1 12 } + religion="sunni" + } +} +100649= +{ + name="Basri" + culture="bedouin_arabic" + religion="sunni" +} +100650= +{ + name="Hallaj" + culture="bedouin_arabic" + religion="sunni" + coat_of_arms= + { + data= + { +0 1 0 28 4 1 1 } + religion="sunni" + } +} +100651= +{ + name="Baghdadi" + culture="bedouin_arabic" + religion="sunni" + coat_of_arms= + { + data= + { +0 1 0 9 9 5 5 } + religion="sunni" + } +} +100652= +{ + name="Bistami" + culture="bedouin_arabic" + religion="sunni" + coat_of_arms= + { + data= + { +0 0 0 19 10 1 9 } + religion="sunni" + } +} +100653= +{ + name="Karkhi" + culture="bedouin_arabic" + religion="sunni" + coat_of_arms= + { + data= + { +0 1 0 21 3 9 1 } + religion="sunni" + } +} +100654= +{ + name="Qadir" + culture="bedouin_arabic" + religion="sunni" + coat_of_arms= + { + data= + { +0 1 0 44 3 0 12 } + religion="sunni" + } +} +100655= +{ + name="Jilani" + culture="bedouin_arabic" + religion="sunni" +} +100656= +{ + name="Chishti" + culture="bedouin_arabic" + religion="sunni" +} +100657= +{ + name="Rumi" + culture="persian" + religion="sunni" + coat_of_arms= + { + data= + { +0 1 0 13 2 12 1 } + religion="sunni" + } +} +100658= +{ + name="Hamadan" + culture="persian" + religion="sunni" +} +100659= +{ + name="Parthi" + culture="persian" +} +100660= +{ + name="Kubra" + culture="persian" +} +100661= +{ + name="Naqshband" + culture="persian" +} +100662= +{ + name="Bukhari" + culture="persian" + religion="sunni" + coat_of_arms= + { + data= + { +0 1 0 53 7 0 0 } + religion="sunni" + } +} +100663= +{ + name="Hanifa" + culture="persian" +} +100664= +{ + name="Khaldun" + culture="persian" + religion="sunni" +} +100665= +{ + name="Dinid" + culture="persian" +} +100666= +{ + name="Tusid" + culture="persian" + religion="sunni" +} +100667= +{ + name="Shirazid" + culture="persian" + religion="sunni" + coat_of_arms= + { + data= + { +0 0 0 3 7 1 1 } + religion="sunni" + } +} +100668= +{ + name="Khusrawid" + culture="persian" + religion="sunni" +} +100669= +{ + name="Birunid" + culture="persian" + religion="sunni" + coat_of_arms= + { + data= + { +0 1 0 42 5 0 0 } + religion="sunni" + } +} +100670= +{ + name="Maraghid" + culture="persian" + religion="sunni" +} +100671= +{ + name="Bakunc" + culture="armenian" + religion="sunni" +} +100672= +{ + name="Arakelian" + culture="armenian" + religion="sunni" +} +100673= +{ + name="Muqaffid" + culture="persian" + religion="sunni" + coat_of_arms= + { + data= + { +0 0 0 0 9 6 2 } + religion="sunni" + } +} +100674= +{ + name="Özkan" + culture="turkish" + religion="sunni" + coat_of_arms= + { + data= + { +0 0 0 3 10 0 12 } + religion="sunni" + } +} +100675= +{ + name="Doganin" + culture="turkish" + religion="sunni" + coat_of_arms= + { + data= + { +0 1 0 16 3 12 9 } + religion="sunni" + } +} +100676= +{ + name="Zevdginidze" + culture="georgian" +} +100677= +{ + name="Amirejibi" + culture="georgian" +} +100678= +{ + name="Nafpliotis" + culture="greek" + religion="sunni" +} +100679= +{ + name="Abazasdze" + culture="georgian" +} +100680= +{ + name="Khosroviani" + culture="georgian" + religion="zoroastrian" +} +100681= +{ + name="Baboian" + culture="armenian" + religion="sunni" +} +100682= +{ + name="Bagdazarian" + culture="armenian" + religion="sunni" +} +100683= +{ + name="Badr" + culture="bedouin_arabic" + religion="sunni" + coat_of_arms= + { + data= + { +0 1 0 27 6 12 9 } + religion="sunni" + } +} +100684= +{ + name="Kirdar" + culture="bedouin_arabic" + religion="sunni" + coat_of_arms= + { + data= + { +0 0 0 5 7 12 1 } + religion="sunni" + } +} +100685= +{ + name="Arsacid" + culture="persian" + religion="zoroastrian" + coat_of_arms= + { + data= + { +0 1 0 7 11 1 13 } + religion="zoroastrian" + } + forced_coa_religiongroup="zoroastrian_group" +} +100686= +{ + name="Ashkan" + culture="persian" + religion="sunni" +} +100687= +{ + name="Abedi" + culture="bedouin_arabic" + religion="sunni" + coat_of_arms= + { + data= + { +0 1 0 18 6 0 0 } + religion="sunni" + } +} +100688= +{ + name="Miqadiyid" + culture="bedouin_arabic" + religion="sunni" +} +100689= +{ + name="Munirid" + culture="bedouin_arabic" + religion="sunni" +} +100690= +{ + name="Nabhanid" + culture="bedouin_arabic" + religion="shiite" + coat_of_arms= + { + data= + { +0 0 0 7 5 12 12 } + religion="shiite" + } +} +100691= +{ + name="Nasiraid" + culture="bedouin_arabic" + religion="sunni" + coat_of_arms= + { + data= + { +0 0 0 10 5 1 1 } + religion="sunni" + } +} +100692= +{ + name="Nadjafid" + culture="bedouin_arabic" + religion="sunni" +} +100693= +{ + name="Hamdan" + culture="bedouin_arabic" +} +100694= +{ + name="Ashhadid" + culture="bedouin_arabic" + religion="sunni" +} +100695= +{ + name="Quraishid" + culture="bedouin_arabic" + religion="sunni" +} +100696= +{ + name="Kamalid" + culture="bedouin_arabic" + religion="sunni" +} +100697= +{ + name="Mosulid" + culture="bedouin_arabic" + religion="sunni" +} +100698= +{ + name="Jazrid" + culture="bedouin_arabic" + religion="sunni" +} +100699= +{ + name="Husayn" + culture="bedouin_arabic" + religion="sunni" +} +100700= +{ + name="Barsamian" + culture="armenian" + religion="sunni" +} +100701= +{ + name="Ortokid" + culture="turkish" + religion="sunni" + coat_of_arms= + { + data= + { +0 0 0 3 2 12 12 } + religion="sunni" + } +} +100702= +{ + name="Saltukid" + culture="armenian" + religion="sunni" +} +100703= +{ + name="Haladjian" + culture="armenian" + religion="sunni" +} +100704= +{ + name="Mengujek" + culture="turkish" + religion="sunni" +} +100705= +{ + name="Hatzidákis" + culture="greek" + religion="sunni" + coat_of_arms= + { + data= + { +0 0 0 1 7 12 0 } + religion="sunni" + } +} +100706= +{ + name="Harpootlian" + culture="armenian" + religion="miaphysite" +} +100707= +{ + name="Artuqid" + culture="turkish" + religion="sunni" +} +100708= +{ + name="Nazeerid" + culture="bedouin_arabic" + religion="sunni" +} +100709= +{ + name="Nasrid" + culture="bedouin_arabic" + religion="sunni" + coat_of_arms= + { + data= + { +0 1 0 19 6 12 1 } + religion="sunni" + } +} +100710= +{ + name="Bichrid" + culture="bedouin_arabic" + religion="sunni" + coat_of_arms= + { + data= + { +0 1 0 0 11 12 0 } + religion="sunni" + } +} +100711= +{ + name="Hafizid" + culture="bedouin_arabic" + religion="sunni" +} +100712= +{ + name="Fakhourid" + culture="bedouin_arabic" + religion="sunni" +} +100713= +{ + name="Nawawid" + culture="bedouin_arabic" + religion="sunni" + coat_of_arms= + { + data= + { +0 1 0 35 5 0 0 } + religion="sunni" + } +} +100714= +{ + name="Naderid" + culture="bedouin_arabic" + religion="sunni" + coat_of_arms= + { + data= + { +0 1 0 42 11 12 1 } + religion="sunni" + } +} +100715= +{ + name="Chakroun" + culture="bedouin_arabic" + religion="sunni" +} +100716= +{ + name="Atrashid" + culture="bedouin_arabic" + religion="sunni" + coat_of_arms= + { + data= + { +0 0 0 5 4 12 0 } + religion="sunni" + } +} +100717= +{ + name="Shehhid" + culture="bedouin_arabic" + religion="sunni" + coat_of_arms= + { + data= + { +0 0 0 8 10 12 9 } + religion="sunni" + } +} +100718= +{ + name="Farooqid" + culture="levantine_arabic" + religion="sunni" + coat_of_arms= + { + data= + { +0 1 0 51 10 9 9 } + religion="sunni" + } +} +100719= +{ + name="Elbazid" + culture="levantine_arabic" + religion="sunni" + coat_of_arms= + { + data= + { +0 1 0 6 3 0 9 } + religion="sunni" + } +} +100720= +{ + name="Abbarid" + culture="levantine_arabic" + religion="sunni" + coat_of_arms= + { + data= + { +0 1 0 3 9 2 10 } + religion="sunni" + } +} +100721= +{ + name="Abbasid" + culture="levantine_arabic" + religion="sunni" + coat_of_arms= + { + data= + { +0 0 0 34 9 6 2 } + religion="sunni" + } +} +100722= +{ + name="Shamid" + culture="levantine_arabic" + religion="sunni" + coat_of_arms= + { + data= + { +0 1 0 51 1 8 2 } + religion="sunni" + } +} +100723= +{ + name="Allawid" + culture="levantine_arabic" + religion="sunni" + coat_of_arms= + { + data= + { +0 0 0 12 3 9 1 } + religion="sunni" + } +} +100724= +{ + name="Aqilid" + culture="levantine_arabic" + religion="sunni" + coat_of_arms= + { + data= + { +0 1 0 11 8 0 1 } + religion="sunni" + } +} +100725= +{ + name="Qahtanid" + culture="levantine_arabic" + religion="sunni" + coat_of_arms= + { + data= + { +0 1 0 19 8 1 12 } + religion="sunni" + } +} +100726= +{ + name="Bahjatid" + culture="levantine_arabic" + religion="sunni" + coat_of_arms= + { + data= + { +0 1 0 34 1 10 5 } + religion="sunni" + } +} +100727= +{ + name="Bekkalid" + culture="levantine_arabic" + religion="sunni" + coat_of_arms= + { + data= + { +0 1 0 26 7 12 9 } + religion="sunni" + } +} +100728= +{ + name="Baradid" + culture="levantine_arabic" + religion="sunni" + coat_of_arms= + { + data= + { +0 1 0 12 7 12 9 } + religion="sunni" + } +} +100729= +{ + name="Bseisoid" + culture="levantine_arabic" + religion="sunni" + coat_of_arms= + { + data= + { +0 1 0 10 0 6 8 } + religion="sunni" + } +} +100730= +{ + name="Fattaid" + culture="levantine_arabic" + religion="sunni" + coat_of_arms= + { + data= + { +0 0 0 23 0 8 5 } + religion="sunni" + } +} +100731= +{ + name="Fazilid" + culture="levantine_arabic" + religion="sunni" + coat_of_arms= + { + data= + { +0 1 0 14 6 12 9 } + religion="sunni" + } +} +100732= +{ + name="Gheisarid" + culture="levantine_arabic" +} +100733= +{ + name="Hayekid" + culture="levantine_arabic" + religion="sunni" + coat_of_arms= + { + data= + { +0 1 0 52 12 3 8 } + religion="sunni" + } +} +100734= +{ + name="Ibrahimid" + culture="levantine_arabic" + religion="sunni" +} +100735= +{ + name="Kaprielian" + culture="armenian" +} +100736= +{ + name="Kezerian" + culture="armenian" +} +100737= +{ + name="Aprenos" + culture="greek" +} +100738= +{ + name="Chortatzis" + culture="greek" +} +100739= +{ + name="Gabrielopoulos" + culture="greek" + religion="sunni" + coat_of_arms= + { + data= + { +0 1 0 34 10 0 12 } + religion="sunni" + } +} +100740= +{ + name="Gounaropoulos" + culture="greek" +} +100741= +{ + name="Belissariotis" + culture="greek" +} +100742= +{ + name="Konstantopoulos" + culture="greek" + religion="orthodox" +} +100743= +{ + name="Kavallarios" + culture="greek" +} +100744= +{ + name="Maniakis" + culture="greek" + religion="sunni" + coat_of_arms= + { + data= + { +0 1 0 41 1 5 4 } + religion="sunni" + } +} +100745= +{ + name="Notaras" + culture="greek" +} +100746= +{ + name="Sgouromallis" + culture="greek" +} +100747= +{ + name="Epiphanis" + culture="greek" + religion="sunni" + coat_of_arms= + { + data= + { +0 1 0 43 0 11 7 } + religion="sunni" + } +} +100748= +{ + name="Logaras" + culture="greek" +} +100749= +{ + name="Eudaimon" + culture="greek" +} +100750= +{ + name="Sakellarios" + culture="greek" + religion="sunni" +} +100751= +{ + name="Maurozoumis" + culture="greek" + religion="sunni" +} +100752= +{ + name="Stylaios" + culture="greek" + religion="sunni" +} +100753= +{ + name="Maleinos" + culture="greek" + religion="orthodox" + coat_of_arms= + { + data= + { +0 0 0 5 0 5 5 } + religion="orthodox" + } +} +100754= +{ + name="Basilakios" + culture="greek" + religion="orthodox" +} +100755= +{ + name="Mamonas" + culture="greek" +} +100756= +{ + name="Kekaumenos" + culture="greek" +} +100757= +{ + name="Metaxas" + culture="greek" +} +100758= +{ + name="Kanavos" + culture="greek" +} +100759= +{ + name="Koukouzelis" + culture="greek" +} +100760= +{ + name="Koresis" + culture="greek" + religion="orthodox" +} +100761= +{ + name="Aharonian" + culture="armenian" +} +100762= +{ + name="Sahakyan" + culture="armenian" +} +100763= +{ + name="Makrinos" + culture="greek" +} +100764= +{ + name="Lambardas" + culture="greek" + religion="sunni" + coat_of_arms= + { + data= + { +0 0 0 2 8 1 0 } + religion="sunni" + } +} +100765= +{ + name="Abdel Nour" + culture="levantine_arabic" + religion="sunni" + coat_of_arms= + { + data= + { +0 1 0 12 9 7 6 } + religion="sunni" + } +} +100766= +{ + name="Abdilla" + culture="levantine_arabic" + religion="sunni" + coat_of_arms= + { + data= + { +0 1 0 53 2 1 0 } + religion="sunni" + } +} +100767= +{ + name="Mahdi" + culture="levantine_arabic" + religion="sunni" + coat_of_arms= + { + data= + { +0 1 0 7 2 9 9 } + religion="sunni" + } +} +100768= +{ + name="el-Khattab" + culture="levantine_arabic" + religion="sunni" + coat_of_arms= + { + data= + { +0 1 0 45 8 1 1 } + religion="sunni" + } +} +100769= +{ + name="Moneim" + culture="levantine_arabic" + religion="sunni" + coat_of_arms= + { + data= + { +0 1 0 34 1 6 11 } + religion="sunni" + } +} +100770= +{ + name="Moosevi" + culture="levantine_arabic" + religion="sunni" + coat_of_arms= + { + data= + { +0 1 0 19 1 2 7 } + religion="sunni" + } +} +100771= +{ + name="Mubarak" + culture="levantine_arabic" + religion="sunni" + coat_of_arms= + { + data= + { +0 0 0 7 6 9 1 } + religion="sunni" + } +} +100772= +{ + name="Moustapha" + culture="levantine_arabic" + religion="sunni" + coat_of_arms= + { + data= + { +0 0 0 26 8 12 0 } + religion="sunni" + } +} +100773= +{ + name="Nader" + culture="levantine_arabic" + religion="sunni" + coat_of_arms= + { + data= + { +0 0 0 1 0 6 11 } + religion="sunni" + } +} +100774= +{ + name="Nafti" + culture="levantine_arabic" + religion="sunni" + coat_of_arms= + { + data= + { +0 1 0 30 5 12 1 } + religion="sunni" + } +} +100775= +{ + name="Alam" + culture="levantine_arabic" + religion="sunni" + coat_of_arms= + { + data= + { +0 1 0 16 6 12 12 } + religion="sunni" + } +} +100776= +{ + name="Naguib" + culture="levantine_arabic" + religion="sunni" + coat_of_arms= + { + data= + { +0 1 0 2 12 4 5 } + religion="sunni" + } +} +100777= +{ + name="Naeemi" + culture="levantine_arabic" + religion="sunni" + coat_of_arms= + { + data= + { +0 0 0 19 12 4 3 } + religion="sunni" + } +} +100778= +{ + name="Nahhas" + culture="levantine_arabic" + religion="sunni" + coat_of_arms= + { + data= + { +0 0 0 22 5 9 12 } + religion="sunni" + } +} +100779= +{ + name="Nimri" + culture="levantine_arabic" + religion="sunni" + coat_of_arms= + { + data= + { +0 1 0 35 10 1 1 } + religion="sunni" + } +} +100780= +{ + name="Himsi" + culture="levantine_arabic" + religion="sunni" + coat_of_arms= + { + data= + { +0 1 0 7 11 12 1 } + religion="sunni" + } +} +100781= +{ + name="Haleem" + culture="levantine_arabic" + religion="sunni" + coat_of_arms= + { + data= + { +0 0 0 1 4 0 1 } + religion="sunni" + } +} +100782= +{ + name="Qaderi" + culture="levantine_arabic" + religion="sunni" + coat_of_arms= + { + data= + { +0 0 0 19 4 0 0 } + religion="sunni" + } +} +100783= +{ + name="Atef" + culture="levantine_arabic" + religion="sunni" + coat_of_arms= + { + data= + { +0 1 0 37 10 1 0 } + religion="sunni" + } +} +100784= +{ + name="Aqabid" + culture="levantine_arabic" + religion="sunni" + coat_of_arms= + { + data= + { +0 1 0 22 3 9 12 } + religion="sunni" + } +} +100785= +{ + name="Jalalid" + culture="levantine_arabic" + religion="sunni" + coat_of_arms= + { + data= + { +0 1 0 20 3 12 1 } + religion="sunni" + } +} +100786= +{ + name="Jarraid" + culture="levantine_arabic" + religion="sunni" + coat_of_arms= + { + data= + { +0 0 0 22 8 0 1 } + religion="sunni" + } +} +100787= +{ + name="Arishid" + culture="levantine_arabic" + religion="sunni" + coat_of_arms= + { + data= + { +0 1 0 3 10 12 9 } + religion="sunni" + } +} +100788= +{ + name="Jasemid" + culture="levantine_arabic" + religion="sunni" + coat_of_arms= + { + data= + { +0 1 0 43 2 1 12 } + religion="sunni" + } +} +100789= +{ + name="Azizid" + culture="egyptian_arabic" +} +100790= +{ + name="Ghanemid" + culture="egyptian_arabic" +} +100791= +{ + name="Abazid" + culture="egyptian_arabic" +} +100792= +{ + name="Hararid" + culture="egyptian_arabic" +} +100793= +{ + name="Bayoumid" + culture="egyptian_arabic" + religion="shiite" +} +100794= +{ + name="Bashandid" + culture="egyptian_arabic" +} +100795= +{ + name="Bakhoumid" + culture="egyptian_arabic" +} +100796= +{ + name="Bekhitid" + culture="egyptian_arabic" +} +100797= +{ + name="Bahurid" + culture="egyptian_arabic" +} +100798= +{ + name="Banoubid" + culture="egyptian_arabic" +} +100799= +{ + name="Shenoudid" + culture="egyptian_arabic" +} +100800= +{ + name="Abusirid" + culture="egyptian_arabic" +} +100801= +{ + name="Abuhairyid" + culture="egyptian_arabic" +} +100802= +{ + name="Masrid" + culture="egyptian_arabic" +} +100803= +{ + name="Shamyid" + culture="egyptian_arabic" + religion="sunni" +} +100804= +{ + name="Abuneb" + culture="egyptian_arabic" + religion="sunni" +} +100805= +{ + name="Ramzan" + culture="egyptian_arabic" + religion="sunni" +} +100806= +{ + name="Hannachid" + culture="maghreb_arabic" + religion="sunni" +} +100807= +{ + name="Sabrid" + culture="maghreb_arabic" + religion="sunni" +} +100808= +{ + name="Safavid" + culture="maghreb_arabic" + religion="sunni" +} +100809= +{ + name="Sajjadid" + culture="maghreb_arabic" + religion="sunni" + coat_of_arms= + { + data= + { +0 1 0 15 9 10 10 } + religion="sunni" + } +} +100810= +{ + name="Saidid" + culture="maghreb_arabic" + religion="sunni" + coat_of_arms= + { + data= + { +0 0 0 30 2 1 9 } + religion="sunni" + } +} +100811= +{ + name="Sedkid" + culture="maghreb_arabic" + religion="sunni" + coat_of_arms= + { + data= + { +0 1 0 22 7 9 0 } + religion="sunni" + } +} +100812= +{ + name="Shakeelid" + culture="maghreb_arabic" +} +100813= +{ + name="Sharifid" + culture="maghreb_arabic" + religion="sunni" + coat_of_arms= + { + data= + { +0 1 0 36 1 7 5 } + religion="sunni" + } +} +100814= +{ + name="Shehzadid" + culture="maghreb_arabic" + religion="sunni" + coat_of_arms= + { + data= + { +0 0 0 27 1 11 11 } + religion="sunni" + } +} +100815= +{ + name="Sidqid" + culture="maghreb_arabic" + religion="sunni" + coat_of_arms= + { + data= + { +0 1 0 43 7 9 9 } + religion="sunni" + } +} +100816= +{ + name="Tahirid" + culture="maghreb_arabic" + religion="sunni" + coat_of_arms= + { + data= + { +0 1 0 38 12 7 8 } + religion="sunni" + } +} +100817= +{ + name="Talalid" + culture="maghreb_arabic" + religion="sunni" + coat_of_arms= + { + data= + { +0 1 0 23 0 10 5 } + religion="sunni" + } +} +100818= +{ + name="Medjerdid" + culture="maghreb_arabic" + religion="sunni" + coat_of_arms= + { + data= + { +0 0 0 11 6 9 9 } + religion="sunni" + } +} +100819= +{ + name="Tasneemid" + culture="maghreb_arabic" + religion="sunni" + coat_of_arms= + { + data= + { +0 1 0 48 6 9 0 } + religion="sunni" + } +} +100820= +{ + name="Tayebid" + culture="maghreb_arabic" + religion="sunni" + coat_of_arms= + { + data= + { +0 1 0 4 11 12 1 } + religion="sunni" + } +} +100821= +{ + name="Umarid" + culture="maghreb_arabic" + religion="sunni" + coat_of_arms= + { + data= + { +0 0 0 34 0 5 6 } + religion="sunni" + } +} +100822= +{ + name="Waheedid" + culture="maghreb_arabic" + religion="sunni" + coat_of_arms= + { + data= + { +0 1 0 20 5 12 1 } + religion="sunni" + } +} +100823= +{ + name="Wahidid" + culture="maghreb_arabic" + religion="sunni" + coat_of_arms= + { + data= + { +0 1 0 6 10 9 1 } + religion="sunni" + } +} +100824= +{ + name="Waleedid" + culture="maghreb_arabic" + religion="sunni" + coat_of_arms= + { + data= + { +0 0 0 28 11 12 1 } + religion="sunni" + } +} +100825= +{ + name="Wazirid" + culture="maghreb_arabic" + religion="sunni" + coat_of_arms= + { + data= + { +0 0 0 24 4 1 0 } + religion="sunni" + } +} +100826= +{ + name="Yakubid" + culture="andalusian_arabic" + religion="sunni" +} +100827= +{ + name="Yassin" + culture="andalusian_arabic" +} +100828= +{ + name="Younisid" + culture="maghreb_arabic" + religion="sunni" + coat_of_arms= + { + data= + { +0 1 0 24 2 9 12 } + religion="sunni" + } +} +100829= +{ + name="Zafarid" + culture="maghreb_arabic" + religion="sunni" + coat_of_arms= + { + data= + { +0 1 0 10 3 0 9 } + religion="sunni" + } +} +100830= +{ + name="Zahirid" + culture="maghreb_arabic" + religion="sunni" + coat_of_arms= + { + data= + { +0 0 0 18 9 6 6 } + religion="sunni" + } +} +100831= +{ + name="Zakariyid" + culture="maghreb_arabic" + religion="sunni" + coat_of_arms= + { + data= + { +0 1 0 26 9 7 6 } + religion="sunni" + } +} +100832= +{ + name="Zakidid" + culture="maghreb_arabic" + religion="sunni" + coat_of_arms= + { + data= + { +0 1 0 36 2 1 1 } + religion="sunni" + } +} +100833= +{ + name="Zaydid" + culture="maghreb_arabic" + religion="sunni" + coat_of_arms= + { + data= + { +0 1 0 0 8 1 1 } + religion="sunni" + } +} +100834= +{ + name="Abdoid" + culture="maghreb_arabic" + religion="sunni" + coat_of_arms= + { + data= + { +0 1 0 7 8 1 1 } + religion="sunni" + } +} +100835= +{ + name="Abidin" + culture="maghreb_arabic" + religion="sunni" + coat_of_arms= + { + data= + { +0 1 0 47 0 3 6 } + religion="sunni" + } +} +100836= +{ + name="Adilid" + culture="maghreb_arabic" + religion="sunni" + coat_of_arms= + { + data= + { +0 1 0 33 2 0 12 } + religion="sunni" + } +} +100837= +{ + name="Balochid" + culture="maghreb_arabic" + religion="sunni" + coat_of_arms= + { + data= + { +0 1 0 43 7 1 12 } + religion="sunni" + } +} +100838= +{ + name="Bakkalid" + culture="maghreb_arabic" + religion="sunni" + coat_of_arms= + { + data= + { +0 1 0 28 12 7 11 } + religion="sunni" + } +} +100839= +{ + name="Mahmoudid" + culture="maghreb_arabic" + religion="sunni" + coat_of_arms= + { + data= + { +0 1 0 35 0 11 7 } + religion="sunni" + } +} +100840= +{ + name="Nadeerid" + culture="maghreb_arabic" +} +100841= +{ + name="Nadvid" + culture="maghreb_arabic" + religion="sunni" + coat_of_arms= + { + data= + { +0 1 0 3 6 9 1 } + religion="sunni" + } +} +100842= +{ + name="Najidid" + culture="maghreb_arabic" +} +100843= +{ + name="Naqvid" + culture="maghreb_arabic" + religion="sunni" + coat_of_arms= + { + data= + { +0 1 0 1 4 0 1 } + religion="sunni" + } +} +100844= +{ + name="Namjoid" + culture="maghreb_arabic" +} +100845= +{ + name="Anwarid" + culture="maghreb_arabic" +} +100846= +{ + name="Fawzid" + culture="maghreb_arabic" +} +100847= +{ + name="Nawfalid" + culture="maghreb_arabic" +} +100848= +{ + name="Tikanariyen" + culture="maghreb_arabic" + religion="sunni" + coat_of_arms= + { + data= + { +0 1 0 53 10 12 1 } + religion="sunni" + } +} +220061= +{ + name="de Fézensaguet" + culture="frankish" +} +101004= +{ + name="Abesání" + culture="persian" + religion="sunni" +} +101005= +{ + name="Khurásání" + culture="persian" +} +101006= +{ + name="Mázindarání" + culture="persian" +} +101007= +{ + name="Tihrání" + culture="persian" +} +101008= +{ + name="Isfahání" + culture="persian" + religion="sunni" +} +101009= +{ + name="Shírází" + culture="persian" +} +101010= +{ + name="Ahvazí" + culture="persian" +} +101011= +{ + name="Razaví" + culture="persian" +} +101012= +{ + name="Máshadí" + culture="persian" +} +101013= +{ + name="Kermahadí" + culture="persian" +} +101014= +{ + name="Abbadid" + culture="maghreb_arabic" + religion="sunni" +} +101015= +{ + name="Abbasid" + culture="maghreb_arabic" + religion="sunni" +} +101016= +{ + name="Abdelid" + culture="levantine_arabic" + religion="sunni" +} +101017= +{ + name="Abdulid" + culture="levantine_arabic" + religion="sunni" +} +101018= +{ + name="Abdullid" + culture="bedouin_arabic" + religion="sunni" +} +101019= +{ + name="Abolhassan" + culture="andalusian_arabic" + religion="sunni" + coat_of_arms= + { + data= + { +0 1 0 49 4 0 12 } + religion="sunni" + } +} +101020= +{ + name="Ahmedid" + culture="bedouin_arabic" + religion="sunni" +} +101021= +{ + name="Alivid" + culture="levantine_arabic" + religion="sunni" +} +101022= +{ + name="Jabirid" + culture="maghreb_arabic" + religion="sunni" +} +101023= +{ + name="Nasserid" + culture="bedouin_arabic" + religion="sunni" + coat_of_arms= + { + data= + { +0 1 0 23 3 9 1 } + religion="sunni" + } +} +101024= +{ + name="Qasimid" + culture="levantine_arabic" +} +101025= +{ + name="Rahmanid" + culture="egyptian_arabic" + religion="sunni" +} +101026= +{ + name="Aminid" + culture="andalusian_arabic" +} +101027= +{ + name="Armanjani" + culture="bedouin_arabic" + religion="sunni" +} +101028= +{ + name="Awadid" + culture="egyptian_arabic" + religion="sunni" +} +101029= +{ + name="Bari" + culture="maghreb_arabic" +} +101030= +{ + name="Habibid" + culture="andalusian_arabic" + religion="sunni" +} +101031= +{ + name="Hadadid" + culture="bedouin_arabic" + religion="sunni" +} +101032= +{ + name="Hamidid" + culture="egyptian_arabic" + religion="sunni" +} +101033= +{ + name="Hananid" + culture="maghreb_arabic" + religion="sunni" + coat_of_arms= + { + data= + { +0 1 0 50 1 4 2 } + religion="sunni" + } +} +101034= +{ + name="Hasanid" + culture="bedouin_arabic" + religion="sunni" + coat_of_arms= + { + data= + { +0 1 0 35 1 7 6 } + religion="sunni" + } +} +101035= +{ + name="Hussainid" + culture="bedouin_arabic" + religion="sunni" +} +101036= +{ + name="Ibrahimid" + culture="egyptian_arabic" + religion="sunni" + coat_of_arms= + { + data= + { +0 0 0 11 0 8 4 } + religion="sunni" + } +} +101037= +{ + name="Isavid" + culture="maghreb_arabic" +} +101038= +{ + name="Ismailid" + culture="andalusian_arabic" + religion="shiite" + coat_of_arms= + { + data= + { +0 0 0 33 5 1 1 } + religion="shiite" + } +} +101039= +{ + name="Khaleelid" + culture="bedouin_arabic" + religion="sunni" +} +101040= +{ + name="Khouryid" + culture="egyptian_arabic" + religion="sunni" +} +101041= +{ + name="Mahmoodid" + culture="maghreb_arabic" + religion="sunni" +} +101042= +{ + name="Malikid" + culture="bedouin_arabic" + religion="sunni" + coat_of_arms= + { + data= + { +0 1 0 44 5 1 9 } + religion="sunni" + } +} +101043= +{ + name="Mansoorid" + culture="bedouin_arabic" + religion="sunni" +} +101044= +{ + name="Mazin" + culture="egyptian_arabic" + religion="sunni" +} +101045= +{ + name="Mousavid" + culture="maghreb_arabic" + religion="sunni" +} +101046= +{ + name="Muratid" + culture="andalusian_arabic" + religion="sunni" +} +101047= +{ + name="Mustafadid" + culture="maghreb_arabic" + religion="sunni" +} +101048= +{ + name="Najeebid" + culture="egyptian_arabic" + religion="sunni" +} +101049= +{ + name="Najjarid" + culture="maghreb_arabic" + religion="sunni" +} +101050= +{ + name="Omarid" + culture="andalusian_arabic" + religion="sunni" + coat_of_arms= + { + data= + { +0 1 0 9 9 7 7 } + religion="sunni" + } +} +101051= +{ + name="Qasimid" + culture="bedouin_arabic" + religion="sunni" + coat_of_arms= + { + data= + { +0 1 0 24 2 1 1 } + religion="sunni" + } +} +101052= +{ + name="Salavid" + culture="egyptian_arabic" + religion="sunni" +} +101053= +{ + name="Salimid" + culture="maghreb_arabic" + religion="sunni" +} +101054= +{ + name="Salmanid" + culture="andalusian_arabic" + religion="sunni" +} +101055= +{ + name="Shaheen" + culture="bedouin_arabic" + religion="sunni" +} +101056= +{ + name="Sharifid" + culture="egyptian_arabic" + religion="sunni" +} +101057= +{ + name="Sulaymanid" + culture="bedouin_arabic" + religion="sunni" +} +101058= +{ + name="Yaseenid" + culture="andalusian_arabic" + religion="shiite" + coat_of_arms= + { + data= + { +0 1 0 42 0 10 7 } + religion="shiite" + } +} +101059= +{ + name="Yousifid" + culture="bedouin_arabic" + religion="shiite" +} +101060= +{ + name="Abouresid" + culture="egyptian_arabic" +} +101061= +{ + name="Adrianos" + culture="greek" +} +101062= +{ + name="Agallon" + culture="greek" +} +101063= +{ + name="Akropolites" + culture="greek" + religion="orthodox" + coat_of_arms= + { + data= + { +4 0 0 45 10 0 14 0 0 45 10 0 14 0 0 45 10 0 14 } + religion="orthodox" + } +} +101064= +{ + name="Angelous" + culture="italian" +} +101065= +{ + name="Aoinos" + culture="greek" +} +101066= +{ + name="Apokaukos" + culture="greek" +} +101067= +{ + name="Aprenos" + culture="greek" +} +101068= +{ + name="Arbantenos" + culture="greek" +} +101069= +{ + name="Argyros" + culture="greek" +} +101070= +{ + name="Arianites" + culture="greek" +} +101071= +{ + name="Asanes" + culture="bulgarian" + religion="orthodox" +} +101072= +{ + name="Atrapes" + culture="greek" +} +101073= +{ + name="Balsamon" + culture="greek" +} +101074= +{ + name="Batatzes" + culture="greek" + religion="orthodox" + coat_of_arms= + { + data= + { +0 5 0 37 0 0 0 } + religion="catholic" + } +} +101075= +{ + name="Botaneiates" + culture="greek" +} +101076= +{ + name="Boumbalis" + culture="greek" +} +101077= +{ + name="Bourtzes" + culture="greek" +} +101078= +{ + name="Branas" + culture="greek" + religion="orthodox" + coat_of_arms= + { + data= + { +0 5 0 38 0 0 0 } + religion="catholic" + } +} +101079= +{ + name="Bryennios" + culture="greek" + religion="orthodox" + coat_of_arms= + { + data= + { +0 5 0 39 0 0 0 } + religion="catholic" + } +} +101080= +{ + name="Chandrenos" + culture="greek" +} +101081= +{ + name="Choniates" + culture="greek" + religion="orthodox" +} +101082= +{ + name="Choumnos" + culture="greek" + religion="orthodox" +} +101083= +{ + name="Chrysaphes" + culture="greek" + religion="orthodox" +} +101084= +{ + name="Chrysoloras" + culture="greek" +} +101085= +{ + name="Dalassenos" + culture="greek" + religion="orthodox" + coat_of_arms= + { + data= + { +0 5 0 40 0 0 0 } + religion="catholic" + } +} +101086= +{ + name="Dermokaïtes" + culture="greek" + religion="orthodox" +} +101087= +{ + name="Diasorenos" + culture="greek" + religion="orthodox" +} +101088= +{ + name="Dokeianos" + culture="greek" + religion="orthodox" + coat_of_arms= + { + data= + { +0 0 0 26 1 5 5 } + religion="orthodox" + } +} +101089= +{ + name="Eirenikos" + culture="greek" + religion="orthodox" +} +101090= +{ + name="Exazenos" + culture="greek" +} +101091= +{ + name="Gavras" + culture="greek" + religion="orthodox" + coat_of_arms= + { + data= + { +0 0 0 11 1 2 2 } + religion="orthodox" + } +} +101092= +{ + name="Glabas" + culture="greek" +} +101093= +{ + name="Iagaris" + culture="greek" + religion="orthodox" +} +101094= +{ + name="Kabakes" + culture="greek" + religion="orthodox" +} +101095= +{ + name="Kabasilas" + culture="greek" + religion="orthodox" + coat_of_arms= + { + data= + { +1 2 0 2 6 9 0 2 0 2 6 9 0 } + religion="orthodox" + } +} +101096= +{ + name="Kalamanos" + culture="greek" + religion="orthodox" +} +101097= +{ + name="Kaloethes" + culture="greek" +} +101098= +{ + name="Kalothetos" + culture="greek" +} +101099= +{ + name="Kamateros" + culture="greek" + religion="orthodox" +} +101100= +{ + name="Kantakouzenos" + culture="greek" +} +101101= +{ + name="Katrares" + culture="greek" +} +101102= +{ + name="Kaukadenos" + culture="greek" + religion="orthodox" +} +101103= +{ + name="Kontostephanos" + culture="greek" + religion="orthodox" + coat_of_arms= + { + data= + { +0 5 0 41 0 0 0 } + religion="catholic" + } +} +101104= +{ + name="Koresses" + culture="greek" +} +101105= +{ + name="Kourkouas" + culture="greek" +} +101106= +{ + name="Kourtikes" + culture="greek" +} +101107= +{ + name="Laskaris" + culture="greek" + religion="orthodox" + coat_of_arms= + { + data= + { +0 8 0 43 0 0 0 } + religion="catholic" + } +} +101108= +{ + name="Limpidares" + culture="greek" +} +101109= +{ + name="Machoneos" + culture="greek" +} +101110= +{ + name="Makrembolites" + culture="greek" +} +101111= +{ + name="Malakes" + culture="greek" +} +101112= +{ + name="Maliasenos" + culture="greek" +} +101113= +{ + name="Mamalis" + culture="greek" +} +101114= +{ + name="Mandromenos" + culture="greek" +} +101115= +{ + name="Manouelites" + culture="greek" +} +101116= +{ + name="Melachroinos" + culture="greek" +} +101117= +{ + name="Mourtzouphlos" + culture="greek" +} +101118= +{ + name="Mouzakios" + culture="greek" +} +101119= +{ + name="Mouzalon" + culture="greek" + religion="orthodox" +} +101120= +{ + name="Neokaisareites" + culture="greek" +} +101121= +{ + name="Nestongos" + culture="greek" +} +101122= +{ + name="Pantechnes" + culture="greek" +} +101123= +{ + name="Paraspondylos" + culture="greek" +} +101124= +{ + name="Petraliphas" + culture="greek" + religion="orthodox" +} +101125= +{ + name="Petzikopoulos" + culture="greek" +} +101126= +{ + name="Philanthropenos" + culture="greek" + religion="orthodox" + coat_of_arms= + { + data= + { +1 4 0 23 11 4 4 4 0 23 11 4 4 } + religion="orthodox" + } +} +101127= +{ + name="Phokas" + culture="greek" +} +101128= +{ + name="Pleustes" + culture="greek" + religion="orthodox" +} +101129= +{ + name="Prasomales" + culture="greek" +} +101130= +{ + name="Prinkips" + culture="greek" +} +101131= +{ + name="Psellos" + culture="greek" + religion="orthodox" +} +101132= +{ + name="Radenos" + culture="greek" + religion="orthodox" + coat_of_arms= + { + data= + { +0 0 0 2 2 1 1 } + religion="orthodox" + } +} +101133= +{ + name="Rossatas" + culture="greek" +} +101134= +{ + name="Sarantapechos" + culture="greek" + religion="iconoclast" + coat_of_arms= + { + data= + { +0 4 0 42 0 6 0 } + religion="orthodox" + } +} +101135= +{ + name="Sebastopoulos" + culture="greek" +} +101136= +{ + name="Segouropoulos" + culture="greek" +} +101137= +{ + name="Sgouros" + culture="greek" + religion="orthodox" +} +101138= +{ + name="Spartenos" + culture="greek" + religion="orthodox" + coat_of_arms= + { + data= + { +0 0 0 23 0 6 6 } + religion="orthodox" + } +} +101139= +{ + name="Sphrantzes" + culture="greek" +} +101140= +{ + name="Strabomytes" + culture="greek" +} +101141= +{ + name="Synadenos" + culture="greek" + religion="orthodox" + coat_of_arms= + { + data= + { +0 1 0 16 1 7 5 } + religion="orthodox" + } +} +101142= +{ + name="Syraneres" + culture="greek" +} +101143= +{ + name="Syropoulos" + culture="greek" +} +101144= +{ + name="Tagares" + culture="greek" +} +101145= +{ + name="Tarchaneiotes" + culture="greek" + religion="orthodox" + coat_of_arms= + { + data= + { +0 2 0 7 5 1 3 } + religion="orthodox" + } +} +101146= +{ + name="Tornikes" + culture="greek" + religion="orthodox" + coat_of_arms= + { + data= + { +0 5 0 42 0 0 0 } + religion="catholic" + } +} +101147= +{ + name="Trichas" + culture="greek" +} +101148= +{ + name="Tsaphas" + culture="greek" +} +101149= +{ + name="Tzamplakon" + culture="greek" + religion="orthodox" +} +101150= +{ + name="Tzykandeles" + culture="greek" +} +101151= +{ + name="Zaridas" + culture="greek" +} +101152= +{ + name="Abuladze" + culture="georgian" +} +101153= +{ + name="Akunin" + culture="greek" +} +101154= +{ + name="Chkhetidze" + culture="georgian" +} +101155= +{ + name="Gelovani" + culture="georgian" +} +101156= +{ + name="Panaskerteli" + culture="georgian" +} +101157= +{ + name="Agiashvili" + culture="georgian" +} +101158= +{ + name="Kazanjian" + culture="turkish" +} +101159= +{ + name="Keshishian" + culture="armenian" +} +101160= +{ + name="Baljian" + culture="armenian" +} +101161= +{ + name="Petrosian" + culture="armenian" +} +101162= +{ + name="Ghougasian" + culture="armenian" +} +101163= +{ + name="Mickaelian" + culture="armenian" +} +101164= +{ + name="Maoukian" + culture="armenian" +} +101165= +{ + name="Zohrabian" + culture="armenian" +} +101166= +{ + name="Altoonian" + culture="armenian" +} +101167= +{ + name="Fatamid" + culture="maghreb_arabic" +} +101168= +{ + name="Ayyubid" + culture="maghreb_arabic" + religion="sunni" +} +101169= +{ + name="Abalantes" + culture="greek" +} +101170= +{ + name="Aboudimos" + culture="greek" +} +101171= +{ + name="Adralestos" + culture="greek" +} +101172= +{ + name="Agallianos" + culture="greek" +} +101173= +{ + name="Agrites" + culture="greek" + religion="orthodox" +} +101174= +{ + name="Akapnes" + culture="greek" +} +101175= +{ + name="Alopos" + culture="greek" +} +101176= +{ + name="Alousianos" + culture="greek" +} +101177= +{ + name="Alyattes" + culture="greek" + religion="orthodox" +} +101178= +{ + name="Amaseianos" + culture="greek" + religion="orthodox" +} +101179= +{ + name="Amiropoulos" + culture="greek" +} +101180= +{ + name="Anatolikos" + culture="greek" +} +101181= +{ + name="Andreiomenos" + culture="greek" +} +101182= +{ + name="Androsalites" + culture="greek" +} +101183= +{ + name="Anemas" + culture="greek" + religion="orthodox" +} +101184= +{ + name="Angoures" + culture="greek" +} +101185= +{ + name="Anthemiotes" + culture="greek" + religion="iconoclast" +} +101186= +{ + name="Antiochites" + culture="greek" +} +101187= +{ + name="Antiochos" + culture="greek" +} +101188= +{ + name="Antipapas" + culture="greek" +} +101189= +{ + name="Kachibadze" + culture="georgian" +} +101190= +{ + name="Chavchavadze" + culture="georgian" +} +101191= +{ + name="Cholokashvili" + culture="georgian" +} +101192= +{ + name="Diasamidze" + culture="georgian" +} +101193= +{ + name="Arbintenos" + culture="greek" +} +101194= +{ + name="Areobindenos" + culture="greek" +} +101195= +{ + name="Areobindos" + culture="greek" +} +101196= +{ + name="Argyropoulos" + culture="greek" + religion="orthodox" +} +101197= +{ + name="Aristenos" + culture="greek" +} +101198= +{ + name="Khursidze" + culture="georgian" +} +101199= +{ + name="Artavazd" + culture="armenian" + religion="orthodox" +} +101200= +{ + name="Artoukomites" + culture="greek" +} +101201= +{ + name="Arvantenos" + culture="greek" +} +101202= +{ + name="Shildisani" + culture="georgian" +} +101203= +{ + name="Attaleiates" + culture="greek" + religion="orthodox" +} +101204= +{ + name="Aulenos" + culture="greek" +} +101205= +{ + name="Aulepates" + culture="greek" +} +101206= +{ + name="Axinites" + culture="greek" +} +101207= +{ + name="Axiomatikos" + culture="greek" +} +101208= +{ + name="Balantes" + culture="greek" +} +101209= +{ + name="Barbaros" + culture="greek" +} +101210= +{ + name="Bardales" + culture="greek" +} +101211= +{ + name="Barenos" + culture="greek" +} +101212= +{ + name="Barsakes" + culture="greek" + religion="orthodox" +} +101213= +{ + name="Barys" + culture="greek" +} +101214= +{ + name="Belissariotes" + culture="greek" +} +101215= +{ + name="Bempetziotes" + culture="greek" +} +101216= +{ + name="Beriboes" + culture="greek" +} +101217= +{ + name="Beriotes" + culture="greek" +} +101218= +{ + name="Blachernites" + culture="greek" +} +101219= +{ + name="Blangas" + culture="greek" +} +101220= +{ + name="Boïlas" + culture="greek" +} +101221= +{ + name="Bouches" + culture="greek" +} +101222= +{ + name="Boutzares" + culture="greek" +} +101223= +{ + name="Bouzenos" + culture="greek" +} +101224= +{ + name="Brachamios" + culture="greek" +} +101225= +{ + name="Bringas" + culture="greek" + religion="orthodox" +} +101226= +{ + name="Chaldos" + culture="greek" +} +101227= +{ + name="Chalkites" + culture="greek" +} +101228= +{ + name="Chalkoutzes" + culture="greek" +} +101229= +{ + name="Chamaretos" + culture="greek" + religion="orthodox" +} +101230= +{ + name="Charsianites" + culture="greek" +} +101231= +{ + name="Chasanes" + culture="greek" +} +101232= +{ + name="Chazanes" + culture="greek" +} +101233= +{ + name="Choinides" + culture="greek" +} +101234= +{ + name="Choirosphaktes" + culture="greek" + religion="orthodox" + coat_of_arms= + { + data= + { +0 0 0 5 6 1 1 } + religion="orthodox" + } +} +101235= +{ + name="Chomatenos" + culture="greek" +} +101236= +{ + name="Chordolibas" + culture="greek" +} +101237= +{ + name="Choriates" + culture="greek" +} +101238= +{ + name="Chrouselios" + culture="greek" +} +101239= +{ + name="Chrousos" + culture="greek" +} +101240= +{ + name="Chrysanthos" + culture="greek" +} +101241= +{ + name="Chryselios" + culture="greek" +} +101242= +{ + name="Chrysobalantites" + culture="greek" +} +101243= +{ + name="Chrysoberges" + culture="greek" + religion="orthodox" +} +101244= +{ + name="Chytes" + culture="greek" +} +101245= +{ + name="Daimones" + culture="greek" +} +101246= +{ + name="Dalessenos" + culture="greek" +} +101247= +{ + name="Dalassenos Doukas" + culture="greek" +} +101248= +{ + name="Dekanos" + culture="greek" +} +101249= +{ + name="Diabatenos" + culture="greek" +} +101250= +{ + name="Dikaios" + culture="greek" +} +101251= +{ + name="Diogenes" + culture="greek" +} +101252= +{ + name="Domestikopouolos" + culture="greek" +} +101253= +{ + name="Doukas Laskaris" + culture="greek" +} +101254= +{ + name="Doukas Palaiologos" + culture="greek" + religion="orthodox" +} +101255= +{ + name="Doxapatres" + culture="greek" +} +101256= +{ + name="Drakontopoulos" + culture="greek" +} +101257= +{ + name="Drosinos" + culture="greek" +} +101258= +{ + name="Drosos" + culture="greek" +} +101259= +{ + name="Droulenos" + culture="greek" +} +101260= +{ + name="Elegmites" + culture="greek" +} +101261= +{ + name="Elesbaam" + culture="egyptian_arabic" +} +101262= +{ + name="Enochos" + culture="greek" +} +101263= +{ + name="Epanokomites" + culture="greek" +} +101264= +{ + name="Ergodotes" + culture="greek" +} +101265= +{ + name="Erotikos" + culture="greek" +} +101266= +{ + name="Eugenianos" + culture="greek" +} +101267= +{ + name="Eugenios" + culture="greek" +} +101268= +{ + name="Eulogios" + culture="greek" +} +101269= +{ + name="Exotrochos" + culture="greek" +} +101270= +{ + name="Gabalas" + culture="greek" +} +101271= +{ + name="Galaton" + culture="greek" +} +101272= +{ + name="Gelotes" + culture="greek" +} +101273= +{ + name="Gerardos" + culture="italian" +} +101274= +{ + name="Gidos" + culture="greek" + religion="orthodox" +} +101275= +{ + name="Glykys" + culture="greek" + religion="orthodox" +} +101276= +{ + name="Goudeles" + culture="greek" +} +101277= +{ + name="Gourzoubathenos" + culture="greek" +} +101278= +{ + name="Granatos" + culture="greek" +} +101279= +{ + name="Gribas" + culture="greek" +} +101280= +{ + name="Grispos" + culture="greek" +} +101281= +{ + name="Gymnos" + culture="greek" +} +101282= +{ + name="Hagiochrisophorites" + culture="greek" +} +101283= +{ + name="Hagioprokopites" + culture="greek" +} +101284= +{ + name="Hagiotheodorites" + culture="greek" +} +101285= +{ + name="Hagiozacharites" + culture="greek" +} +101286= +{ + name="Hamartolos" + culture="greek" +} +101287= +{ + name="Haplorabdes" + culture="greek" +} +101288= +{ + name="Haploucheir" + culture="greek" +} +101289= +{ + name="Hexakionites" + culture="greek" +} +101290= +{ + name="Hexaklinites" + culture="greek" +} +101291= +{ + name="Hexamilites" + culture="greek" +} +101292= +{ + name="Hierakes" + culture="greek" +} +101293= +{ + name="Hikanatos" + culture="greek" +} +101294= +{ + name="Iasites" + culture="greek" +} +101295= +{ + name="Iberopoulos" + culture="greek" +} +101296= +{ + name="Isakiotes" + culture="greek" +} +101297= +{ + name="Italikos" + culture="greek" +} +101298= +{ + name="Kaballarios" + culture="greek" +} +101299= +{ + name="Kabasilas" + culture="greek" +} +101300= +{ + name="Kaisar" + culture="greek" +} +101301= +{ + name="Kalameteros" + culture="greek" +} +101302= +{ + name="Kalamaras" + culture="greek" +} +101303= +{ + name="Kalampakes" + culture="greek" +} +101304= +{ + name="Kalognomos" + culture="greek" +} +101305= +{ + name="Kamytzes Komnenodoukas" + culture="greek" +} +101306= +{ + name="Kappadokes" + culture="greek" + religion="orthodox" +} +101307= +{ + name="Kappadox Kalampakes" + culture="greek" +} +101308= +{ + name="Karabitenos" + culture="greek" +} +101309= +{ + name="Karabitziotes" + culture="greek" +} +101310= +{ + name="Karaïonatan" + culture="greek" +} +101311= +{ + name="Karamallos" + culture="greek" +} +101312= +{ + name="Karandenos" + culture="greek" + religion="orthodox" + coat_of_arms= + { + data= + { +0 0 0 7 0 3 3 } + religion="orthodox" + } +} +101313= +{ + name="Karantes" + culture="greek" +} +101314= +{ + name="Kardamopoulos" + culture="greek" +} +101315= +{ + name="Karenos" + culture="greek" +} +101316= +{ + name="Karianites" + culture="greek" +} +101317= +{ + name="Karkaronymos" + culture="greek" +} +101318= +{ + name="Karmalikes" + culture="greek" +} +101319= +{ + name="Karouzeiates" + culture="greek" +} +101320= +{ + name="Kaspax" + culture="greek" +} +101321= +{ + name="Kastamonites" + culture="greek" + religion="orthodox" +} +101322= +{ + name="Katakalon" + culture="greek" +} +101323= +{ + name="Katakalos" + culture="greek" +} +101324= +{ + name="Kataphloros" + culture="greek" +} +101325= +{ + name="Katas" + culture="greek" +} +101326= +{ + name="Katharos" + culture="greek" +} +101327= +{ + name="Katotikos" + culture="greek" +} +101328= +{ + name="Katzamoundes" + culture="greek" +} +101329= +{ + name="Kegenes" + culture="greek" +} +101330= +{ + name="Kekaleimenos" + culture="greek" +} +101331= +{ + name="Keklymmenos" + culture="greek" +} +101332= +{ + name="Kemineianos" + culture="greek" +} +101333= +{ + name="Kenchres" + culture="greek" +} +101334= +{ + name="Kentenares" + culture="greek" +} +101335= +{ + name="Kephalas" + culture="greek" +} +101336= +{ + name="Keroularios" + culture="greek" + religion="orthodox" +} +101337= +{ + name="Kibyrraiotes" + culture="greek" +} +101338= +{ + name="Kinnamos" + culture="greek" +} +101339= +{ + name="Kokkinos" + culture="greek" +} +101340= +{ + name="Komnenodoukas" + culture="greek" +} +101341= +{ + name="Konops" + culture="greek" +} +101342= +{ + name="Kontostephanos Komnenos" + culture="greek" +} +101343= +{ + name="Kopsenos" + culture="greek" +} +101344= +{ + name="Kostomyres" + culture="greek" +} +101345= +{ + name="Kotertzes" + culture="greek" +} +101346= +{ + name="Kouloukes" + culture="greek" +} +101347= +{ + name="Kouneres" + culture="greek" +} +101348= +{ + name="Krateros" + culture="greek" + religion="orthodox" + coat_of_arms= + { + data= + { +0 0 0 7 0 7 7 } + religion="orthodox" + } +} +101349= +{ + name="Krinites" + culture="greek" + religion="orthodox" + coat_of_arms= + { + data= + { +0 4 0 13 1 7 0 } + religion="orthodox" + } +} +101350= +{ + name="Kritharas" + culture="greek" +} +101351= +{ + name="Kritopolos" + culture="greek" +} +101352= +{ + name="Kyminianos" + culture="greek" +} +101353= +{ + name="Kynochorites" + culture="greek" +} +101354= +{ + name="Kyriotes" + culture="greek" +} +101355= +{ + name="Kyritzes" + culture="greek" +} +101356= +{ + name="Labouzenos" + culture="greek" +} +101357= +{ + name="Laktentitzes" + culture="greek" +} +101358= +{ + name="Lalakon" + culture="greek" +} +101359= +{ + name="Lampsiotes" + culture="greek" +} +101360= +{ + name="Lapardas" + culture="greek" +} +101361= +{ + name="Leichoudes" + culture="greek" + religion="orthodox" +} +101362= +{ + name="Lependrenos" + culture="greek" +} +101363= +{ + name="Leukedonites" + culture="greek" +} +101364= +{ + name="Libadares" + culture="greek" +} +101365= +{ + name="Libadas" + culture="greek" +} +101366= +{ + name="Libellisios" + culture="greek" +} +101367= +{ + name="Limas" + culture="greek" +} +101368= +{ + name="Liparites" + culture="greek" +} +101369= +{ + name="Lithokastrites" + culture="greek" +} +101370= +{ + name="Logariastes" + culture="greek" +} +101371= +{ + name="Loules" + culture="greek" +} +101372= +{ + name="Louloukes" + culture="greek" +} +101373= +{ + name="Lykaon" + culture="greek" +} +101374= +{ + name="Machetarios" + culture="greek" +} +101375= +{ + name="Madrites" + culture="greek" +} +101376= +{ + name="Madytenos" + culture="greek" +} +101377= +{ + name="Makropoderes" + culture="greek" +} +101378= +{ + name="Maleïnos" + culture="greek" +} +101379= +{ + name="Maleses" + culture="greek" +} +101380= +{ + name="Mamalos" + culture="greek" +} +101381= +{ + name="Manganes" + culture="greek" +} +101382= +{ + name="Marachas" + culture="greek" +} +101383= +{ + name="Marapas" + culture="greek" +} +101384= +{ + name="Marchapsabos" + culture="greek" +} +101385= +{ + name="Marianites" + culture="greek" +} +101386= +{ + name="Marzapoulos" + culture="greek" +} +101387= +{ + name="Matzaris" + culture="greek" +} +101388= +{ + name="Matzas" + culture="greek" +} +101389= +{ + name="Matzoukes" + culture="greek" +} +101390= +{ + name="Maurex" + culture="greek" +} +101391= +{ + name="Maurokatakalos" + culture="greek" +} +101392= +{ + name="Mauros" + culture="greek" +} +101393= +{ + name="Maurozomes" + culture="greek" + religion="orthodox" +} +101394= +{ + name="Mechos" + culture="greek" +} +101395= +{ + name="Megalommates" + culture="greek" +} +101396= +{ + name="Megenos" + culture="greek" +} +101397= +{ + name="Meginos" + culture="greek" +} +101398= +{ + name="Melias" + culture="greek" + religion="orthodox" +} +101399= +{ + name="Melissenos" + culture="greek" + religion="iconoclast" + coat_of_arms= + { + data= + { +0 5 0 43 0 0 0 } + religion="catholic" + } +} +101400= +{ + name="Mermentoulos" + culture="greek" +} +101401= +{ + name="Mesarites" + culture="greek" +} +101403= +{ + name="Meschos" + culture="greek" +} +101404= +{ + name="Mesopotamites" + culture="greek" +} +101405= +{ + name="Metochites" + culture="greek" +} +101406= +{ + name="Metropoulos" + culture="greek" +} +101407= +{ + name="Mitylenaios" + culture="greek" +} +101408= +{ + name="Monachites" + culture="greek" +} +101409= +{ + name="Monokarites" + culture="greek" +} +101410= +{ + name="Monomachatos" + culture="greek" + religion="orthodox" +} +101411= +{ + name="Moroiannes" + culture="greek" +} +101412= +{ + name="Mosaraph" + culture="greek" +} +101413= +{ + name="Moschianos" + culture="italian" +} +101414= +{ + name="Moschos" + culture="greek" +} +101415= +{ + name="Mosele" + culture="greek" +} +101416= +{ + name="Moungos" + culture="greek" +} +101417= +{ + name="Mourmoures" + culture="greek" +} +101418= +{ + name="Moustakes" + culture="greek" +} +101419= +{ + name="Mozaes" + culture="greek" +} +101420= +{ + name="Myralides" + culture="greek" +} +101421= +{ + name="Myredeïtes" + culture="greek" +} +101422= +{ + name="Myrelaetes" + culture="greek" +} +101423= +{ + name="Myron" + culture="greek" +} +101424= +{ + name="Nabatenos" + culture="greek" +} +101425= +{ + name="Narbiotes" + culture="greek" +} +101426= +{ + name="Narsites" + culture="greek" +} +101427= +{ + name="Neophytos" + culture="greek" +} +101428= +{ + name="Neustongios" + culture="greek" +} +101429= +{ + name="Nikerites" + culture="greek" +} +101430= +{ + name="Nikoulitzes" + culture="greek" +} +101431= +{ + name="Noe" + culture="greek" +} +101432= +{ + name="Oinaiotes" + culture="greek" +} +101433= +{ + name="Olyntenos" + culture="greek" +} +101434= +{ + name="Opos" + culture="greek" +} +101435= +{ + name="Pagomenos" + culture="greek" +} +101436= +{ + name="Pakourianos" + culture="greek" + religion="orthodox" + coat_of_arms= + { + data= + { +0 0 0 16 1 6 6 } + religion="orthodox" + } +} +101437= +{ + name="Paktiares" + culture="greek" +} +101438= +{ + name="Palaiologos Komnenos" + culture="greek" +} +101439= +{ + name="Doukas Mourtzouphlos" + culture="greek" + religion="orthodox" + coat_of_arms= + { + data= + { +0 8 0 42 0 0 0 } + religion="catholic" + } +} +101440= +{ + name="Palaiotes" + culture="greek" +} +101441= +{ + name="Palatinos" + culture="greek" +} +101442= +{ + name="Pamphilos" + culture="greek" +} +101443= +{ + name="Panaretos" + culture="greek" + religion="orthodox" + coat_of_arms= + { + data= + { +0 2 0 4 5 4 9 } + religion="orthodox" + } +} +101444= +{ + name="Pankalos" + culture="greek" +} +101445= +{ + name="Panokomites" + culture="greek" +} +101446= +{ + name="Parsakoutenos" + culture="greek" +} +101447= +{ + name="Parthenios" + culture="greek" +} +101448= +{ + name="Paxenos" + culture="greek" +} +101449= +{ + name="Pediasimos" + culture="greek" +} +101450= +{ + name="Peganites" + culture="greek" +} +101451= +{ + name="Pegonites" + culture="greek" + religion="orthodox" + coat_of_arms= + { + data= + { +0 2 0 11 0 1 2 } + religion="orthodox" + } +} +101452= +{ + name="Pekoules" + culture="greek" +} +101453= +{ + name="Pelamedes" + culture="greek" +} +101454= +{ + name="Pentarkles" + culture="greek" +} +101455= +{ + name="Pepagomenos" + culture="greek" +} +101456= +{ + name="Pepanos" + culture="greek" +} +101457= +{ + name="Perenos" + culture="greek" +} +101458= +{ + name="Peribleptenos" + culture="greek" +} +101459= +{ + name="Phalkon" + culture="greek" +} +101460= +{ + name="Phialites" + culture="greek" +} +101461= +{ + name="Philaretos" + culture="greek" +} +101462= +{ + name="Philinos" + culture="greek" +} +101463= +{ + name="Philokales" + culture="greek" + religion="orthodox" +} +101464= +{ + name="Phrangopolos" + culture="greek" +} +101465= +{ + name="Pistophilos" + culture="greek" +} +101466= +{ + name="Pleures" + culture="greek" +} +101467= +{ + name="Politopolos" + culture="greek" +} +101468= +{ + name="Pothos" + culture="greek" +} +101469= +{ + name="Probatas" + culture="greek" +} +101470= +{ + name="Promountenos" + culture="greek" +} +101471= +{ + name="Proteuon" + culture="greek" +} +101472= +{ + name="Ptochos" + culture="greek" +} +101473= +{ + name="Radomiros" + culture="serbian" +} +101474= +{ + name="Raoul" + culture="norman" +} +101475= +{ + name="Rentakenos" + culture="greek" +} +101476= +{ + name="Rizenos" + culture="greek" +} +101477= +{ + name="Rodios" + culture="greek" +} +101478= +{ + name="Rogerios" + culture="greek" +} +101479= +{ + name="Romaios" + culture="greek" +} +101480= +{ + name="Rousopoulos" + culture="greek" +} +101481= +{ + name="Sagopoulos" + culture="greek" +} +101482= +{ + name="Sarakenopoulos" + culture="greek" +} +101483= +{ + name="Saronites" + culture="greek" +} +101484= +{ + name="Sauloioannes" + culture="greek" +} +101485= +{ + name="Semnos" + culture="greek" +} +101486= +{ + name="Serblias" + culture="greek" +} +101487= +{ + name="Sikoundenos" + culture="greek" +} +101488= +{ + name="Sinopites" + culture="greek" +} +101489= +{ + name="Skandales" + culture="greek" +} +101490= +{ + name="Skanranos" + culture="greek" +} +101491= +{ + name="Skeblenos" + culture="greek" +} +101492= +{ + name="Skleropoulos" + culture="greek" +} +101493= +{ + name="Skoutariotes" + culture="greek" +} +101494= +{ + name="Skribas" + culture="greek" +} +101495= +{ + name="Smyrnaios" + culture="greek" +} +101496= +{ + name="Solomon" + culture="greek" +} +101497= +{ + name="Sortes" + culture="greek" +} +101498= +{ + name="Soumenos" + culture="greek" +} +101499= +{ + name="Spanogregores" + culture="greek" +} +101500= +{ + name="Spanopoulos" + culture="greek" +} +101501= +{ + name="Spondyles" + culture="greek" +} +101502= +{ + name="Stachytzes" + culture="greek" +} +101503= +{ + name="Stemnitziotes" + culture="greek" +} +101504= +{ + name="Strategopoulos" + culture="greek" + religion="orthodox" +} +101505= +{ + name="Strephnes" + culture="greek" +} +101506= +{ + name="Stypeiotes" + culture="greek" +} +101507= +{ + name="Styppes" + culture="greek" + religion="orthodox" +} +101508= +{ + name="Synacheris" + culture="greek" +} +101509= +{ + name="Syros" + culture="greek" +} +101510= +{ + name="Taronites" + culture="greek" + religion="miaphysite" + coat_of_arms= + { + data= + { +0 5 0 44 0 0 0 } + religion="catholic" + } +} +101511= +{ + name="Tatikes" + culture="greek" +} +101512= +{ + name="Tetragonites" + culture="greek" +} +101513= +{ + name="Theodorokanos" + culture="greek" +} +101514= +{ + name="Theodosiopolites" + culture="greek" +} +101515= +{ + name="Thrakesios" + culture="greek" + religion="orthodox" +} +101516= +{ + name="Thylakas" + culture="greek" +} +101517= +{ + name="Tilapos" + culture="greek" +} +101518= +{ + name="Timonites" + culture="greek" +} +101519= +{ + name="Tourmarchopoulos" + culture="greek" +} +101520= +{ + name="Traphines" + culture="greek" +} +101521= +{ + name="Trellos" + culture="greek" +} +101522= +{ + name="Triakontaphyllos" + culture="greek" +} +101523= +{ + name="Triblattites" + culture="greek" +} +101524= +{ + name="Trichinopodes" + culture="greek" +} +101525= +{ + name="Triphyllios" + culture="greek" +} +101526= +{ + name="Tzanzes" + culture="greek" +} +101527= +{ + name="Tzefres" + culture="greek" +} +101528= +{ + name="Tzetas" + culture="greek" +} +101529= +{ + name="Tzipoureles" + culture="greek" +} +101530= +{ + name="Tzirithon" + culture="greek" +} +101531= +{ + name="Tzoulas" + culture="greek" +} +101532= +{ + name="Tzoumenes" + culture="greek" +} +101533= +{ + name="Tzouroulles" + culture="greek" +} +101534= +{ + name="Tzympenos" + culture="greek" +} +101535= +{ + name="Vatatzes" + culture="greek" +} +101536= +{ + name="Xanthos" + culture="greek" + religion="orthodox" +} +101537= +{ + name="Xenos" + culture="greek" +} +101538= +{ + name="Xeros" + culture="greek" +} +101539= +{ + name="Xiphias" + culture="greek" +} +101540= +{ + name="Xiphilinos" + culture="greek" + religion="orthodox" +} +101541= +{ + name="Xylinites" + culture="greek" + religion="orthodox" +} +101542= +{ + name="Zabareiotes" + culture="greek" +} +101543= +{ + name="Zagarommates" + culture="greek" +} +101544= +{ + name="Zerbos" + culture="greek" +} +101545= +{ + name="Zomes" + culture="greek" +} +101546= +{ + name="Zonaras" + culture="greek" + religion="orthodox" + coat_of_arms= + { + data= + { +3 2 0 29 8 1 0 2 0 29 8 1 0 2 0 29 8 1 0 2 0 29 8 1 0 } + religion="orthodox" + } +} +101547= +{ + name="Kalomalas" + culture="greek" +} +101548= +{ + name="Kaloudes" + culture="greek" +} +101549= +{ + name="Kamateros Kantakouzenos" + culture="greek" + religion="orthodox" +} +101550= +{ + name="Kampanarios" + culture="greek" +} +101551= +{ + name="Kamytzes" + culture="greek" + religion="orthodox" +} +101552= +{ + name="Kallierges" + culture="greek" +} +101553= +{ + name="Loukites" + culture="greek" +} +101554= +{ + name="Ezzonen" + culture="german" + religion="catholic" + coat_of_arms= + { + data= + { +0 0 0 5 5 0 0 } + religion="catholic" + } +} +101555= +{ + name="Hupoldinger" + culture="german" + religion="catholic" +} +101556= +{ + name="di Canossa" + culture="italian" + religion="catholic" + coat_of_arms= + { + data= + { +0 5 0 45 0 0 0 } + religion="catholic" + } +} +101557= +{ + name="von Goseck" + culture="german" + religion="catholic" + coat_of_arms= + { + data= + { +0 0 0 19 7 1 1 } + religion="catholic" + } +} +101558= +{ + name="von Calw" + culture="german" + religion="catholic" +} +101559= +{ + name="von Ohningen" + culture="german" +} +101560= +{ + name="von Cham" + culture="german" + religion="catholic" +} +101561= +{ + name="Komitopulov" + culture="bulgarian" +} +101562= +{ + name="Orseolo" + culture="italian" + religion="catholic" +} +101563= +{ + name="Örösur" + culture="hungarian" + religion="catholic" + coat_of_arms= + { + data= + { +0 0 0 3 1 12 12 } + religion="catholic" + } +} +101564= +{ + name="Kaplyon" + culture="hungarian" + religion="catholic" +} +101565= +{ + name="Ákos" + culture="hungarian" + religion="catholic" +} +101566= +{ + name="Csanád" + culture="hungarian" + religion="catholic" + coat_of_arms= + { + data= + { +0 0 0 10 1 2 2 } + religion="catholic" + } +} +101567= +{ + name="Szemere" + culture="hungarian" +} +101568= +{ + name="Poth" + culture="hungarian" + religion="catholic" + coat_of_arms= + { + data= + { +0 0 0 14 1 7 7 } + religion="catholic" + } +} +101569= +{ + name="Balog" + culture="hungarian" + religion="catholic" + coat_of_arms= + { + data= + { +0 0 0 10 0 2 2 } + religion="catholic" + } +} +101570= +{ + name="Ják" + culture="hungarian" + religion="catholic" + coat_of_arms= + { + data= + { +0 0 0 14 1 2 2 } + religion="catholic" + } +} +101571= +{ + name="Borkalán" + culture="hungarian" + religion="catholic" + coat_of_arms= + { + data= + { +0 0 0 14 0 3 3 } + religion="catholic" + } +} +101572= +{ + name="Szalók" + culture="hungarian" + religion="catholic" +} +101573= +{ + name="Bikács" + culture="hungarian" + religion="catholic" +} +101600= +{ + name="Comyn" + culture="norman" + religion="catholic" +} +101601= +{ + name="Crawford" + culture="saxon" + religion="catholic" +} +101602= +{ + name="de Molle" + culture="frankish" + religion="catholic" +} +101603= +{ + name="Tynedale" + culture="saxon" +} +101604= +{ + name="de Faucogney" + culture="frankish" + religion="catholic" +} +101605= +{ + name="Otakeren" + culture="german" + religion="catholic" +} +101606= +{ + name="HaNagid" + culture="sephardi" + religion="jewish" +} +101607= +{ + name="Jahwarid" + culture="maghreb_arabic" + religion="sunni" +} +101608= +{ + name="Sumadid" + culture="andalusian_arabic" + religion="sunni" +} +101609= +{ + name="Mezzabarba" + culture="italian" + religion="catholic" +} +101670= +{ + name="Halwasid" + culture="bedouin_arabic" +} +101671= +{ + name="Suleimid" + culture="bedouin_arabic" + religion="sunni" + coat_of_arms= + { + data= + { +0 1 0 46 12 5 11 } + religion="sunni" + } +} +101672= +{ + name="Khazrunid" + culture="maghreb_arabic" +} +101674= +{ + name="Ua Mórdha" + culture="irish" +} +101675= +{ + name="Ua Ruairc" + culture="irish" + religion="catholic" +} +101676= +{ + name="Ua Faeláin" + culture="irish" + religion="catholic" +} +101677= +{ + name="Mac Gilla-Pátraic" + culture="irish" + religion="catholic" +} +101678= +{ + name="Ua Flaithri" + culture="irish" +} +101679= +{ + name="Ua hEochadha" + culture="irish" +} +101680= +{ + name="Tegaingl" + culture="welsh" + religion="catholic" + coat_of_arms= + { + data= + { +0 1 0 3 5 1 0 } + religion="catholic" + } +} +101681= +{ + name="Topor" + culture="polish" + religion="catholic" +} +101682= +{ + name="Dukljanin" + culture="serbian" + religion="orthodox" + coat_of_arms= + { + data= + { +0 8 0 34 0 0 0 } + religion="catholic" + } +} +101683= +{ + name="Kometopoulos" + culture="greek" +} +101684= +{ + name="Jamalid" + culture="bedouin_arabic" + religion="shiite" +} +101685= +{ + name="Mirdasid" + culture="levantine_arabic" + religion="shiite" +} +101686= +{ + name="Marwanid" + culture="kurdish" + religion="shiite" +} +101687= +{ + name="Zengi" + culture="turkish" + religion="sunni" +} +101688= +{ + name="Annazid" + culture="kurdish" + religion="sunni" +} +101689= +{ + name="Ziyarid" + culture="persian" + coat_of_arms={ + data={0 0 0 3 1 12 4 } + religion="zoroastrian" + } + forced_coa_religiongroup="zoroastrian_group" +} +101690= +{ + name="Shabankarai" + culture="kurdish" + religion="sunni" + coat_of_arms= + { + data= + { +0 0 0 12 0 10 2 } + religion="sunni" + } +} +101691= +{ + name="de Gourney" + culture="frankish" + religion="catholic" +} +101692= +{ + name="von Steutzlingen" + culture="german" + religion="catholic" +} +101693= +{ + name="von Wetterau" + culture="german" + religion="catholic" +} +101694= +{ + name="von Julichgau" + culture="german" + religion="catholic" +} +101695= +{ + name="von Helffenstein" + culture="german" + religion="catholic" +} +101696= +{ + name="von Venis" + culture="german" +} +101697= +{ + name="von Kyburg" + culture="german" +} +101698= +{ + name="Iashvili" + culture="georgian" + religion="orthodox" +} +101699= +{ + name="Galbunid" + culture="andalusian_arabic" + religion="sunni" +} +101700= +{ + name="Jizrunid" + culture="maghreb_arabic" + religion="sunni" +} +101701= +{ + name="de Cabrera" + culture="catalan" + religion="catholic" +} +101702= +{ + name="da Camino" + culture="italian" + religion="catholic" +} +101703= +{ + name="Mac Áéda" + culture="irish" +} +101704= +{ + name="de Ridefort" + culture="frankish" + religion="catholic" +} +101705= +{ + name="de Moulin" + culture="frankish" + religion="catholic" +} +101706= +{ + name="Drotning" + culture="norwegian" + religion="catholic" +} +101707= +{ + name="an t-Saoir" + culture="irish" + religion="catholic" +} +101708= +{ + name="Pudsey" + culture="saxon" + religion="catholic" +} +101709= +{ + name="Marshal" + culture="saxon" + religion="catholic" +} +101710= +{ + name="de Quincy" + culture="norman" + religion="catholic" +} +101711= +{ + name="de Courcy" + culture="norman" + religion="catholic" +} +101712= +{ + name="Mac Lochlainn" + culture="scottish" + religion="catholic" +} +101713= +{ + name="Ua Maíl Doraid" + culture="irish" + religion="catholic" +} +101714= +{ + name="de Chacim" + culture="frankish" + religion="catholic" +} +101715= +{ + name="Camelo" + culture="portuguese" +} +101716= +{ + name="Pires" + culture="portuguese" + religion="catholic" +} +101717= +{ + name="von Arbon" + culture="german" + religion="catholic" +} +101718= +{ + name="von Urach" + culture="german" + religion="catholic" +} +101719= +{ + name="Basiliakos" + culture="greek" + religion="orthodox" + coat_of_arms= + { + data= + { +0 0 0 4 1 7 7 } + religion="orthodox" + } +} +101720= +{ + name="Pateranos" + culture="greek" +} +101721= +{ + name="Ua Caollaidhe" + culture="irish" +} +101722= +{ + name="Ua Maoileachlainn" + culture="irish" +} +101723= +{ + name="Coel" + culture="welsh" +} +101724= +{ + name="Edern" + culture="welsh" + religion="catholic" +} +101725= +{ + name="Ua Carthaigh" + culture="irish" +} +101726= +{ + name="von Winterthur" + culture="greek" + religion="catholic" +} +101727= +{ + name="Abbasid" + culture="bedouin_arabic" + religion="sunni" + coat_of_arms= + { + data= + { +0 2 0 0 0 0 0 } + religion="sunni" + } +} +101728= +{ + name="i-Sabbah" + culture="bedouin_arabic" + religion="sunni" + coat_of_arms= + { + data= + { +0 1 0 1 3 0 1 } + religion="sunni" + } +} +101729= +{ + name="Khayyam" + culture="persian" + religion="sunni" +} +101730= +{ + name="Danishmend" + culture="persian" + religion="sunni" +} +101731= +{ + name="Hilalid" + culture="bedouin_arabic" + religion="sunni" +} +101732= +{ + name="Marinid" + culture="maghreb_arabic" + religion="sunni" + coat_of_arms= + { + data= + { +0 1 0 44 7 1 0 } + religion="sunni" + } +} +101733= +{ + name="Iznagen" + culture="maghreb_arabic" + religion="sunni" +} +101734= +{ + name="de Montreuil" + culture="frankish" +} +101735= +{ + name="Gardman-Aghbania" + culture="armenian" +} +101736= +{ + name="Arcruni" + culture="armenian" + religion="zoroastrian" + forced_coa_religiongroup="christian" +} +101737= +{ + name="Anchabadze" + culture="georgian" + religion="orthodox" + coat_of_arms= + { + data= + { +0 4 0 43 5 1 0 } + religion="orthodox" + } +} +101738= +{ + name="Namrun Kalesi" + culture="turkish" +} +101739= +{ + name="Shavliani" + culture="georgian" +} +101740= +{ + name="Donauri" + culture="georgian" +} +101741= +{ + name="Vardanisdze" + culture="georgian" + religion="orthodox" +} +101742= +{ + name="Orbeliani" + culture="georgian" + religion="orthodox" + coat_of_arms= + { + data= + { +2 2 0 25 7 14 14 2 0 25 7 14 14 } + religion="orthodox" + } +} +101743= +{ + name="Siwnik" + culture="armenian" + religion="zoroastrian" + forced_coa_religiongroup="christian" +} +101744= +{ + name="Japaridze" + culture="georgian" +} +101745= +{ + name="Javakhishvili" + culture="georgian" +} +101746= +{ + name="Jorjadze" + culture="georgian" + religion="orthodox" +} +101747= +{ + name="Mkhargrdzeli" + culture="georgian" + religion="orthodox" +} +101748= +{ + name="Kakhaberisdze" + culture="georgian" + religion="orthodox" +} +101749= +{ + name="Kherkheulidze" + culture="georgian" +} +101750= +{ + name="Mankaberdeli" + culture="georgian" +} +101751= +{ + name="Khimshiashvili" + culture="georgian" +} +101752= +{ + name="Shervashidze" + culture="georgian" + religion="orthodox" +} +101753= +{ + name="Dadiani" + culture="georgian" + religion="orthodox" +} +101754= +{ + name="de Conteville" + culture="norman" + religion="catholic" +} +101755= +{ + name="de Falaise" + culture="norman" + religion="catholic" +} +101756= +{ + name="de Courseulles" + culture="norman" +} +101757= +{ + name="Kjarval" + culture="norwegian" +} +101758= +{ + name="Ekeh" + culture="norwegian" +} +101759= +{ + name="Löve" + culture="norwegian" +} +101760= +{ + name="Ormstunga" + culture="norwegian" +} +101761= +{ + name="Goði" + culture="norwegian" +} +101762= +{ + name="Gautur" + culture="norwegian" +} +101763= +{ + name="Eyfells" + culture="norwegian" +} +101764= +{ + name="Ásgeir" + culture="norwegian" +} +101765= +{ + name="Kamban" + culture="norwegian" +} +101766= +{ + name="Braghde" + culture="norwegian" +} +101767= +{ + name="Banér" + culture="norwegian" +} +101768= +{ + name="Wrede" + culture="norwegian" +} +101769= +{ + name="Balk" + culture="norwegian" +} +101770= +{ + name="Taube" + culture="norwegian" +} +101771= +{ + name="Creutz" + culture="norwegian" +} +101772= +{ + name="Wrangel" + culture="norwegian" +} +101773= +{ + name="Sporre" + culture="norwegian" +} +101774= +{ + name="Ehrensvärd" + culture="norwegian" +} +101775= +{ + name="Aldersparre" + culture="norwegian" +} +101776= +{ + name="Adelswärd" + culture="norwegian" +} +101777= +{ + name="Azim" + culture="ethiopian" + religion="miaphysite" + coat_of_arms= + { + data= + { +2 4 0 38 3 0 1 4 0 38 3 0 1 } + religion="miaphysite" + } +} +101778= +{ + name="Marisid" + culture="ethiopian" + religion="miaphysite" +} +101779= +{ + name="Muqurrid" + culture="ethiopian" +} +101780= +{ + name="Pakhoras" + culture="ethiopian" +} +101781= +{ + name="Hadik" + culture="hungarian" +} +101782= +{ + name="Ramlid" + culture="ethiopian" +} +101783= +{ + name="Sebsibeid" + culture="ethiopian" +} +101784= +{ + name="Kebedeid" + culture="ethiopian" +} +101785= +{ + name="Bekeleid" + culture="ethiopian" +} +101786= +{ + name="Abateid" + culture="ethiopian" +} +101787= +{ + name="Sabraid" + culture="ethiopian" + religion="miaphysite" + coat_of_arms= + { + data= + { +1 4 0 25 6 14 1 4 0 25 6 14 1 } + religion="miaphysite" + } +} +101788= +{ + name="Astatkeid" + culture="ethiopian" +} +101789= +{ + name="Habeshid" + culture="ethiopian" + religion="miaphysite" +} +101790= +{ + name="Dubé" + culture="ethiopian" +} +101791= +{ + name="Gobena" + culture="ethiopian" +} +101792= +{ + name="Selassie" + culture="ethiopian" +} +101793= +{ + name="Zagwe" + culture="ethiopian" + religion="miaphysite" + coat_of_arms= + { + data= + { +2 2 0 17 12 1 1 2 0 17 12 1 1 } + religion="miaphysite" + } +} +101794= +{ + name="Dengel" + culture="ethiopian" +} +101795= +{ + name="Mesafint" + culture="ethiopian" +} +101796= +{ + name="Sehul" + culture="ethiopian" +} +101797= +{ + name="Andreievich" + culture="russian" +} +101798= +{ + name="Bryachislavich" + culture="russian" +} +101799= +{ + name="Igorevich" + culture="russian" +} +101800= +{ + name="Ivanovich" + culture="russian" +} +101801= +{ + name="Iziaslavich" + culture="russian" +} +101802= +{ + name="Mikhailovich" + culture="russian" + religion="orthodox" +} +101803= +{ + name="Mstislavich" + culture="russian" + religion="orthodox" +} +101804= +{ + name="Nikitich" + culture="russian" +} +101805= +{ + name="Rostislavich" + culture="russian" +} +101806= +{ + name="Sviatoslavich" + culture="russian" +} +101807= +{ + name="Vasilievich" + culture="russian" +} +101808= +{ + name="Viacheslavich" + culture="russian" +} +101809= +{ + name="Vladimirovich" + culture="russian" +} +101810= +{ + name="Vseslavich" + culture="russian" +} +101811= +{ + name="Vsevolodovich" + culture="russian" +} +101812= +{ + name="Vysheslavich" + culture="russian" +} +101813= +{ + name="Yaroslavich" + culture="russian" +} +101814= +{ + name="Yurievich" + culture="russian" +} +101815= +{ + name="Dmitrievich" + culture="russian" +} +101816= +{ + name="Fedorovich" + culture="russian" +} +101817= +{ + name="Antelminelli" + culture="italian" + religion="catholic" +} +101818= +{ + name="d'Attala" + culture="italian" +} +101819= +{ + name="Beccaria" + culture="italian" + religion="catholic" +} +101820= +{ + name="de Bonacolsi" + culture="italian" + religion="catholic" +} +101822= +{ + name="da Cardano" + culture="italian" + religion="catholic" +} +101823= +{ + name="da Carrara" + culture="italian" + religion="catholic" +} +101824= +{ + name="di Caretto" + culture="italian" + religion="catholic" +} +101825= +{ + name="Cavalcabò" + culture="italian" +} +101826= +{ + name="della Faggiola" + culture="italian" + religion="catholic" +} +101827= +{ + name="da Intimiano" + culture="italian" +} +101828= +{ + name="Lancia" + culture="italian" + religion="catholic" +} +101829= +{ + name="Loredano" + culture="italian" +} +101830= +{ + name="di Malaspina" + culture="italian" + religion="catholic" +} +101831= +{ + name="Malipiero" + culture="italian" + religion="catholic" +} +101832= +{ + name="Maggi" + culture="italian" +} +101833= +{ + name="Mocenigo" + culture="italian" +} +101834= +{ + name="Pico di Mirandola" + culture="italian" + religion="catholic" +} +101835= +{ + name="Polentano" + culture="italian" + religion="catholic" +} +101836= +{ + name="da Ponte" + culture="italian" +} +101837= +{ + name="da Promontorio" + culture="italian" +} +101838= +{ + name="Rainalducci" + culture="italian" +} +101839= +{ + name="Razzi" + culture="italian" + religion="catholic" +} +101840= +{ + name="della Rocca" + culture="italian" +} +101841= +{ + name="Rossi" + culture="italian" + religion="catholic" +} +101842= +{ + name="di San Bonifazio" + culture="italian" +} +101843= +{ + name="de Sanseverino" + culture="italian" + religion="catholic" +} +101844= +{ + name="Scoto" + culture="italian" +} +101845= +{ + name="Sommariva" + culture="italian" +} +101846= +{ + name="Terzi" + culture="italian" +} +101847= +{ + name="Tizzone" + culture="italian" +} +101848= +{ + name="Torelli" + culture="italian" +} +101849= +{ + name="della Torre" + culture="italian" + religion="catholic" +} +101850= +{ + name="di Torres" + culture="italian" +} +101851= +{ + name="Traversari" + culture="italian" + religion="catholic" +} +101852= +{ + name="di Valenti" + culture="italian" +} +101853= +{ + name="da Velate" + culture="italian" +} +101854= +{ + name="da Verucchio" + culture="italian" +} +101855= +{ + name="Vistarini" + culture="italian" +} +101856= +{ + name="Zoagli" + culture="italian" +} +101857= +{ + name="de Redvers" + culture="norman" + religion="catholic" +} +101858= +{ + name="de Meschines" + culture="norman" +} +101859= +{ + name="de Breteuil" + culture="norman" + religion="catholic" +} +101860= +{ + name="de Waer" + culture="norman" +} +101861= +{ + name="de Montoire" + culture="frankish" + religion="catholic" +} +101862= +{ + name="Uqaylid" + culture="bedouin_arabic" + religion="sunni" +} +101863= +{ + name="Saffarid" + culture="bedouin_arabic" + religion="sunni" +} +101864= +{ + name="Karakhanid" + culture="karluk" + religion="tengri_pagan" +} +101865= +{ + name="Gaznin" + culture="persian" +} +101866= +{ + name="Khwarezmid" + culture="turkish" + religion="sunni" +} +101867= +{ + name="Razinid" + culture="bedouin_arabic" +} +101868= +{ + name="Rawwadid" + culture="kurdish" + religion="sunni" +} +101869= +{ + name="Shaddad" + culture="levantine_arabic" +} +101870= +{ + name="Musafir" + culture="bedouin_arabic" + religion="sunni" +} +101871= +{ + name="Ka'usiya" + culture="persian" +} +101872= +{ + name="Kobulashvili" + culture="georgian" +} +101873= +{ + name="Kesranid" + culture="persian" + religion="sunni" + coat_of_arms= + { + data= + { +0 0 0 24 11 12 0 } + religion="sunni" + } +} +101874= +{ + name="Svacic" + culture="croatian" + religion="catholic" + coat_of_arms= + { + data= + { +0 1 0 5 0 2 1 } + religion="catholic" + } +} +101875= +{ + name="Almohad" + culture="maghreb_arabic" + religion="sunni" +} +101876= +{ + name="Ildeguzid" + culture="turkish" + religion="sunni" +} +101877= +{ + name="Ghaniya" + culture="maghreb_arabic" +} +101878= +{ + name="Fernández de Lima" + culture="portuguese" +} +101879= +{ + name="de Cippico" + culture="norman" +} +101880= +{ + name="Tvrtkovic" + culture="serbian" +} +101881= +{ + name="von Cilli" + culture="german" +} +101882= +{ + name="de Clissa" + culture="frankish" +} +101883= +{ + name="Kobilic" + culture="croatian" +} +101884= +{ + name="Arias" + culture="castillan" + religion="catholic" +} +101885= +{ + name="le Blount" + culture="norman" + religion="catholic" +} +101886= +{ + name="de Brionne" + culture="frankish" + religion="catholic" +} +101887= +{ + name="von Utlede" + culture="german" + religion="catholic" +} +101888= +{ + name="von Katzenelnbogen" + culture="german" + religion="catholic" +} +101889= +{ + name="von Altena" + culture="german" + religion="catholic" +} +101890= +{ + name="Wizlawid" + culture="pommeranian" + religion="slavic_pagan" + coat_of_arms= + { + data= + { +0 0 0 28 2 0 0 } + religion="slavic_pagan" + } +} +101891= +{ + name="af Haukadalur" + culture="norwegian" + religion="catholic" + coat_of_arms= + { + data= + { +0 0 0 8 2 1 1 } + religion="catholic" + } +} +101892= +{ + name="af Oddi" + culture="norwegian" + religion="catholic" +} +101893= +{ + name="Niklotid" + culture="german" + religion="slavic_pagan" + coat_of_arms= + { + data= + { +0 0 0 16 0 3 12 } + religion="slavic_pagan" + } +} +101894= +{ + name="von der Marck" + culture="german" +} +101895= +{ + name="von Hessen" + culture="german" +} +101896= +{ + name="von Arnsberg" + culture="german" + religion="catholic" +} +101897= +{ + name="von Bucheck" + culture="german" + religion="catholic" +} +101898= +{ + name="van Diest" + culture="german" + religion="catholic" +} +101899= +{ + name="FitzAlan" + culture="english" + religion="catholic" +} +101900= +{ + name="de Botreaux" + culture="norman" + religion="catholic" +} +101901= +{ + name="Mac Uilleim" + culture="scottish" + religion="catholic" +} +101902= +{ + name="von Regenstein" + culture="german" + religion="catholic" +} +101903= +{ + name="de Barry" + culture="norman" + religion="catholic" +} +101904= +{ + name="Nasrid" + culture="andalusian_arabic" + religion="sunni" + coat_of_arms= + { + data= + { +0 1 0 22 3 1 0 } + religion="sunni" + } +} +101905= +{ + name="de Windsor" + culture="norman" + religion="catholic" +} +101906= +{ + name="Nakonid" + culture="german" + religion="slavic_pagan" +} +101907= +{ + name="z Wagrow" + culture="pommeranian" + religion="slavic_pagan" +} +101908= +{ + name="Hlidarendi" + culture="norwegian" + religion="catholic" +} +101909= +{ + name="de Mendoza" + culture="castillan" + religion="catholic" +} +101910= +{ + name="Martínez de Oviedo" + culture="castillan" + religion="catholic" +} +101911= +{ + name="de Peralta" + culture="castillan" + religion="catholic" +} +101912= +{ + name="Chupanid" + culture="mongol" + religion="tengri_pagan" + coat_of_arms= + { + data= + { +0 1 0 8 2 0 1 } + religion="tengri_pagan" + } +} +101913= +{ + name="Injuid" + culture="mongol" + religion="shiite" + coat_of_arms= + { + data= + { +0 0 0 5 7 0 12 } + religion="shiite" + } +} +101914= +{ + name="Jalayar" + culture="maghreb_arabic" + religion="shiite" + coat_of_arms= + { + data= + { +0 1 0 26 0 3 6 } + religion="shiite" + } +} +101915= +{ + name="Muzaffar" + culture="andalusian_arabic" + religion="sunni" + coat_of_arms= + { + data= + { +0 1 0 40 6 0 0 } + religion="sunni" + } +} +101916= +{ + name="Toluid" + culture="mongol" + can_appear=no +} +101917= +{ + name="Pérez de Zamora" + culture="castillan" +} +101918= +{ + name="van Zutphen" + culture="german" + religion="catholic" +} +101919= +{ + name="Dinefwr" + culture="welsh" + religion="catholic" + coat_of_arms= + { + data= + { +0 4 0 10 0 3 5 } + religion="catholic" + } +} +101920= +{ + name="Aberffraw" + culture="welsh" + religion="catholic" +} +101921= +{ + name="Glywysing" + culture="welsh" +} +101922= +{ + name="Manaw" + culture="welsh" + religion="catholic" +} +101923= +{ + name="Llywelin" + culture="welsh" +} +101924= +{ + name="FitzRichard" + culture="norman" +} +101925= +{ + name="of Mercia" + culture="saxon" +} +101926= +{ + name="Cynllibiwg" + culture="welsh" +} +101927= +{ + name="Ganbold" + culture="mongol" +} +101928= +{ + name="Bolormaa" + culture="mongol" +} +101929= +{ + name="Batbayar" + culture="mongol" +} +101930= +{ + name="Bat-Erdene" + culture="mongol" +} +101931= +{ + name="Otgonbayar" + culture="mongol" +} +101932= +{ + name="Enkhtuyaa" + culture="mongol" +} +101933= +{ + name="Gantulga" + culture="mongol" +} +101934= +{ + name="Nergüi" + culture="mongol" +} +101935= +{ + name="Lkhagvasüren" + culture="mongol" +} +101936= +{ + name="Enkhjargal" + culture="mongol" +} +101937= +{ + name="Ganzorig" + culture="mongol" +} +101938= +{ + name="Narantsetseg" + culture="mongol" + religion="tengri_pagan" +} +101939= +{ + name="Pürevsüren" + culture="mongol" +} +101940= +{ + name="Ganbaatar" + culture="mongol" +} +101941= +{ + name="Mönkhtsetseg" + culture="mongol" +} +101942= +{ + name="Mönkhbat" + culture="mongol" +} +101943= +{ + name="Mönkh-Erdene" + culture="mongol" +} +101944= +{ + name="Jalair" + culture="mongol" +} +101945= +{ + name="Sartuul" + culture="mongol" +} +101946= +{ + name="Olkhunut" + culture="mongol" + religion="tengri_pagan" +} +101947= +{ + name="Khatagin" + culture="mongol" +} +101948= +{ + name="Iljigin" + culture="mongol" +} +101949= +{ + name="Tsookhor" + culture="mongol" +} +102000= +{ + name="de Buonalbergo" + culture="norman" + religion="catholic" +} +1029104= +{ + name="Muromid" + culture="mordvin" + religion="finnish_pagan" + coat_of_arms= + { + data= + { +0 1 0 15 0 2 5 } + religion="finnish_pagan" + } +} +1029105= +{ + name="Mordvanid" + culture="mordvin" + religion="finnish_pagan" + coat_of_arms= + { + data= + { +0 1 0 15 1 10 5 } + religion="finnish_pagan" + } +} +1029106= +{ + name="Mescheravid" + culture="mordvin" + religion="finnish_pagan" + coat_of_arms= + { + data= + { +0 1 0 15 1 5 2 } + religion="finnish_pagan" + } +} +1029107= +{ + name="Meryavid" + culture="mordvin" + religion="finnish_pagan" + coat_of_arms= + { + data= + { +0 0 0 6 9 5 5 } + religion="finnish_pagan" + } +} +1029108= +{ + name="Cheremisid" + culture="mordvin" + religion="finnish_pagan" + coat_of_arms= + { + data= + { +0 0 0 6 0 10 10 } + religion="finnish_pagan" + } +} +1029109= +{ + name="Chumbulatid" + culture="mordvin" +} +1029110= +{ + name="Purginepazid" + culture="mordvin" +} +1029111= +{ + name="Varakid" + culture="samoyed" +} +200078= +{ + name="Mercadier" + culture="frankish" + religion="catholic" +} +200079= +{ + name="Walter" + culture="german" +} +200080= +{ + name="de Conversano" + culture="frankish" + religion="catholic" + coat_of_arms= + { + data= + { +0 0 0 2 1 3 3 } + religion="catholic" + } +} +200001= +{ + name="Särkilahti" + culture="finnish" +} +200002= +{ + name="Tavast" + culture="finnish" +} +200003= +{ + name="Karp" + culture="finnish" +} +200004= +{ + name="Kangas" + culture="finnish" +} +200005= +{ + name="Villnäs" + culture="swedish" +} +200006= +{ + name="Kurki" + culture="finnish" +} +200007= +{ + name="Lepo" + culture="finnish" +} +200008= +{ + name="Fincke" + culture="swedish" +} +200009= +{ + name="Dufva" + culture="swedish" +} +2000010= +{ + name="Harviala" + culture="finnish" +} +200011= +{ + name="Sydänmaa" + culture="finnish" +} +200012= +{ + name="Mäkelä" + culture="finnish" +} +200014= +{ + name="Jägerhorn af Spurila" + culture="swedish" +} +200015= +{ + name="Koskinen" + culture="finnish" +} +200016= +{ + name="Gesterby" + culture="swedish" +} +200017= +{ + name="Sarvilahti" + culture="finnish" +} +200031= +{ + name="Batthyány" + culture="hungarian" +} +200032= +{ + name="Csesznegi" + culture="hungarian" +} +200033= +{ + name="Esterházy" + culture="hungarian" +} +200036= +{ + name="Hajdú" + culture="hungarian" +} +200037= +{ + name="Jesenský" + culture="hungarian" +} +200039= +{ + name="Lackovic" + culture="croatian" +} +200040= +{ + name="Medveczky" + culture="hungarian" +} +200041= +{ + name="Rákóczi" + culture="hungarian" +} +200042= +{ + name="Wass de Czege" + culture="hungarian" +} +200043= +{ + name="Szapolyai" + culture="hungarian" +} +200044= +{ + name="Zichy" + culture="hungarian" +} +200045= +{ + name="Zrinski" + culture="hungarian" +} +200051= +{ + name="Frankopan" + culture="croatian" +} +20085= +{ + name="Buchanan" + culture="scottish" + religion="catholic" + coat_of_arms= + { + data= + { +0 0 0 7 2 0 0 } + religion="catholic" + } +} +20086= +{ + name="Evans" + culture="welsh" +} +20087= +{ + name="Mac Aillein" + culture="scottish" +} +20088= +{ + name="Rowe" + culture="saxon" +} +20089= +{ + name="Candar" + culture="turkish" + religion="sunni" + coat_of_arms= + { + data= + { +0 0 0 23 2 9 9 } + religion="sunni" + } +} +20090= +{ + name="Doranites" + culture="turkish" + religion="orthodox" + coat_of_arms= + { + data= + { +2 2 0 25 12 0 0 2 0 25 12 0 0 } + religion="orthodox" + } +} +20091= +{ + name="Kabasites" + culture="turkish" + religion="orthodox" + coat_of_arms= + { + data= + { +3 0 0 33 8 14 14 0 0 33 8 14 14 0 0 33 8 14 14 0 0 33 8 14 14 } + religion="orthodox" + } +} +20092= +{ + name="Meizomates" + culture="turkish" + religion="orthodox" + coat_of_arms= + { + data= + { +1 2 0 30 1 13 11 2 0 30 1 13 11 } + religion="orthodox" + } +} +20093= +{ + name="Tzanichites" + culture="turkish" + religion="orthodox" + coat_of_arms= + { + data= + { +1 1 0 19 8 14 14 1 0 19 8 14 14 } + religion="orthodox" + } +} +20094= +{ + name="Paleologo" + culture="greek" +} +200052= +{ + name="Lortkipanidze" + culture="georgian" + religion="orthodox" +} +200053= +{ + name="Chqondideli" + culture="georgian" + religion="orthodox" +} +200054= +{ + name="de Vaqueiras" + culture="frankish" + religion="catholic" +} +200055= +{ + name="Machutadze" + culture="georgian" + religion="orthodox" +} +200056= +{ + name="Gamrekeli" + culture="georgian" + religion="orthodox" +} +200057= +{ + name="Mikeladze" + culture="georgian" + religion="orthodox" +} +200058= +{ + name="Mkhetsidze" + culture="georgian" + religion="orthodox" +} +200059= +{ + name="Taoeli" + culture="georgian" + religion="orthodox" +} +200060= +{ + name="St. Genes" + culture="frankish" + religion="catholic" +} +200061= +{ + name="Grelle" + culture="german" + religion="catholic" +} +200062= +{ + name="von Dolen" + culture="german" + religion="catholic" +} +200063= +{ + name="von Liebnitz" + culture="german" + religion="catholic" +} +200064= +{ + name="von Virneberg" + culture="german" +} +200065= +{ + name="Palavandishvili" + culture="georgian" + religion="orthodox" +} +200066= +{ + name="Gregoras" + culture="greek" + religion="orthodox" + coat_of_arms= + { + data= + { +4 2 0 16 6 14 9 2 0 16 6 14 9 2 0 16 6 14 9 } + religion="orthodox" + } +} +200067= +{ + name="Maelienydd" + culture="welsh" + religion="catholic" +} +200068= +{ + name="Brycheiniog" + culture="welsh" + religion="catholic" +} +200069= +{ + name="de la Pole" + culture="welsh" + religion="catholic" +} +200070= +{ + name="Llyn" + culture="irish" +} +200071= +{ + name="Rhosyr" + culture="welsh" +} +200072= +{ + name="Cemais" + culture="welsh" +} +200073= +{ + name="Meirionydd" + culture="welsh" +} +200074= +{ + name="Ynys Enlli" + culture="welsh" +} +200075= +{ + name="Aberdaron" + culture="welsh" +} +200076= +{ + name="Penmôn" + culture="welsh" +} +200077= +{ + name="Ystrad Clud" + culture="welsh" +} +102001= +{ + name="Davidovich" + culture="russian" +} +102004= +{ + name="de Sancerre" + culture="frankish" +} +102005= +{ + name="Vienne" + culture="frankish" + religion="catholic" +} +102006= +{ + name="de Dammartin" + culture="frankish" +} +102007= +{ + name="Longespee" + culture="norman" +} +102008= +{ + name="de Beauchamp" + culture="english" + religion="catholic" +} +102009= +{ + name="de Coligny" + culture="frankish" +} +102010= +{ + name="de Lautrec" + culture="frankish" +} +102011= +{ + name="d'Amboise" + culture="frankish" +} +102012= +{ + name="de Saint-Pol" + culture="frankish" +} +102013= +{ + name="Skjöldung" + culture="norse" + religion="norse_pagan" + coat_of_arms= + { + data= + { +0 8 0 5 0 0 0 } + religion="catholic" + } + used_for_random=no +} +102014= +{ + name="Bååt" + culture="swedish" +} +102015= +{ + name="Cronstedt" + culture="swedish" +} +102016= +{ + name="Saint-Menehould" + culture="frankish" +} +102017= +{ + name="Massa" + culture="italian" +} +102019= +{ + name="Navigaiozi" + culture="italian" +} +102020= +{ + name="Sanudo" + culture="greek" + religion="catholic" + coat_of_arms= + { + data= + { +0 5 0 46 0 0 0 } + religion="catholic" + } +} +102021= +{ + name="Vetrano" + culture="italian" +} +102022= +{ + name="della Carceri" + culture="italian" +} +102023= +{ + name="de Bruyeres" + culture="frankish" +} +102024= +{ + name="de Stromoncourt" + culture="frankish" + religion="catholic" +} +102026= +{ + name="de Champlitte" + culture="frankish" + religion="catholic" + coat_of_arms= + { + data= + { +0 5 0 47 0 0 0 } + religion="catholic" + } +} +102027= +{ + name="Komytzes" + culture="greek" +} +102028= +{ + name="de Tries" + culture="frankish" +} +102029= +{ + name="Vrana" + culture="serbian" + religion="orthodox" +} +102030= +{ + name="de Bethune" + culture="frankish" + religion="catholic" + coat_of_arms= + { + data= + { +0 0 0 19 0 7 7 } + religion="catholic" + } +} +102031= +{ + name="Lascaris" + culture="greek" +} +102034= +{ + name="Pescatore" + culture="italian" +} +102035= +{ + name="Avogadro" + culture="italian" +} +102036= +{ + name="de Moncade" + culture="italian" +} +102037= +{ + name="Vsevolodich" + culture="russian" +} +1020101= +{ + name="de Bellême" + culture="norman" +} +1020102= +{ + name="de Montjoie" + culture="german" +} +1020103= +{ + name="de Dunstanville" + culture="norman" + religion="catholic" +} +1020104= +{ + name="Fitz-Count" + culture="norman" +} +1020105= +{ + name="Gaveston" + culture="norman" +} +1020106= +{ + name="Darc" +} +1020110= +{ + name="de Barbosa" + culture="portuguese" + religion="catholic" +} +1020111= +{ + name="de Ribadouro" + culture="portuguese" + religion="catholic" +} +1020112= +{ + name="de Vasconcelos" + culture="portuguese" + religion="catholic" +} +1020113= +{ + name="de Lumiares" + culture="portuguese" +} +1020114= +{ + name="de Aboim" + culture="portuguese" + religion="catholic" +} +1020115= +{ + name="de Valadares" + culture="portuguese" + religion="catholic" +} +1020116= +{ + name="de Riba Vizela" + culture="portuguese" + religion="catholic" +} +1020117= +{ + name="de Sousa Chichorro" + culture="portuguese" + religion="catholic" +} +1020118= +{ + name="de Sousa Arronches" + culture="portuguese" + religion="catholic" +} +1020119= +{ + name="Betótez" + culture="castillan" + religion="catholic" + coat_of_arms= + { + data= + { +0 0 0 8 1 3 3 } + religion="catholic" + } +} +1020120= +{ + name="de Soverosa" + culture="portuguese" + religion="catholic" +} +1020121= +{ + name="da Maia" + culture="portuguese" + religion="catholic" +} +1020122= +{ + name="de Baião" + culture="portuguese" + religion="catholic" +} +1020123= +{ + name="de Alvarenga" + culture="portuguese" + religion="catholic" +} +1020124= +{ + name="Coelho" + culture="portuguese" + religion="catholic" +} +1020125= +{ + name="da Fonseca" + culture="portuguese" + religion="catholic" +} +1020126= +{ + name="de Sande" + culture="portuguese" + religion="catholic" +} +1020127= +{ + name="de Melo" + culture="portuguese" + religion="catholic" +} +1020128= +{ + name="de Azevedo" + culture="portuguese" + religion="catholic" +} +1020129= +{ + name="da Nóbrega" + culture="portuguese" + religion="catholic" +} +1020130= +{ + name="Velho" + culture="portuguese" + religion="catholic" +} +1022111= +{ + name="Kyrdiniatis" + culture="greek" + religion="orthodox" +} +1022112= +{ + name="Agapetos" + culture="greek" + religion="orthodox" +} +1022113= +{ + name="Attikos" + culture="greek" + religion="orthodox" +} +1022114= +{ + name="Anastasiotis" + culture="greek" + religion="orthodox" +} +1022115= +{ + name="Evergetidiotis" + culture="greek" + religion="orthodox" +} +1022116= +{ + name="Chliarinos" + culture="greek" + religion="orthodox" +} +1022117= +{ + name="Chysovergis" + culture="greek" + religion="orthodox" +} +1022118= +{ + name="Eugeniotis" + culture="greek" + religion="orthodox" +} +1022119= +{ + name="Vorradiotis" + culture="greek" + religion="orthodox" +} +1022120= +{ + name="Mountanis" + culture="greek" + religion="orthodox" +} +1022121= +{ + name="Theotokitis" + culture="greek" + religion="orthodox" +} +1022122= +{ + name="Viticlenou" + culture="greek" + religion="orthodox" +} +1022123= +{ + name="Autoreianos" + culture="greek" + religion="orthodox" +} +1022124= +{ + name="Akoimitos" + culture="greek" + religion="orthodox" +} +1022125= +{ + name="Charitopoulos" + culture="greek" + religion="orthodox" +} +1022126= +{ + name="Panemorphiotis" + culture="greek" + religion="orthodox" +} +1022127= +{ + name="Hyakinthiotis" + culture="greek" + religion="orthodox" +} +1022128= +{ + name="Galesiotis" + culture="greek" + religion="orthodox" +} +1022129= +{ + name="Bekkos" + culture="greek" + religion="orthodox" +} +1022130= +{ + name="Kyprios" + culture="greek" + religion="orthodox" +} +1022131= +{ + name="Gonitis" + culture="greek" + religion="orthodox" +} +1022132= +{ + name="Pammakaristiotis" + culture="greek" + religion="orthodox" +} +1022133= +{ + name="Perivleptiotis" + culture="greek" + religion="orthodox" +} +1022134= +{ + name="Manganiotis" + culture="greek" + religion="orthodox" +} +1022135= +{ + name="Kalekas" + culture="greek" + religion="orthodox" + coat_of_arms= + { + data= + { +3 4 0 35 3 14 1 4 0 35 3 14 1 4 0 35 3 14 1 4 0 35 3 14 1 } + religion="orthodox" + } +} +1022136= +{ + name="de Castro Arquato" + culture="italian" + religion="catholic" +} +1023000= +{ + name="Tenque" + culture="frankish" + religion="catholic" +} +1023001= +{ + name="du Pay de Provence" + culture="frankish" + religion="catholic" +} +1023002= +{ + name="de Balben" + culture="frankish" + religion="catholic" + coat_of_arms= + { + data= + { +0 5 0 48 0 0 0 } + religion="catholic" + } +} +1023003= +{ + name="de Comps" + culture="frankish" + religion="catholic" + coat_of_arms= + { + data= + { +0 5 0 49 0 0 0 } + religion="catholic" + } +} +1023004= +{ + name="d'Aissailly" + culture="frankish" +} +1023005= +{ + name="de Murois" + culture="frankish" + religion="catholic" +} +1023006= +{ + name="of Syria" + culture="frankish" + religion="catholic" +} +1023007= +{ + name="Borrel" + culture="frankish" + religion="catholic" +} +1023008= +{ + name="de Aspa" + culture="frankish" + religion="catholic" +} +1023009= +{ + name="de Naplouse" + culture="frankish" + religion="catholic" +} +1023010= +{ + name="de Donjon" + culture="frankish" + religion="catholic" +} +1023011= +{ + name="de Portugal" + culture="portuguese" +} +1023012= +{ + name="le Rat" + culture="frankish" + religion="catholic" +} +1023013= +{ + name="de Montaigu" + culture="frankish" + religion="catholic" +} +1023014= +{ + name="de Thercy" + culture="frankish" + religion="catholic" +} +1023015= +{ + name="de Montacute" + culture="frankish" + religion="catholic" +} +1023016= +{ + name="de Ville-Bride" + culture="frankish" + religion="catholic" +} +1023017= +{ + name="de Chateauneuf" + culture="frankish" + religion="catholic" +} +1023018= +{ + name="de Revel" + culture="frankish" + religion="catholic" +} +1023019= +{ + name="de Lorgue" + culture="frankish" + religion="catholic" +} +1023020= +{ + name="de Villiers" + culture="frankish" + religion="catholic" +} +1023021= +{ + name="de Pins" + culture="frankish" + religion="catholic" +} +1023022= +{ + name="de Villaret" + culture="frankish" + religion="catholic" +} +1025000= +{ + name="Thrugot" + culture="danish" + religion="catholic" +} +1025001= +{ + name="Hack" + culture="danish" + religion="catholic" +} +1025002= +{ + name="Juul" + culture="danish" + religion="catholic" +} +1025003= +{ + name="Ulfeldt" + culture="danish" + religion="catholic" +} +1025004= +{ + name="Bang" + culture="danish" + religion="catholic" +} +1027000= +{ + name="Iznaten" + culture="maghreb_arabic" + religion="sunni" +} +1027001= +{ + name="Maghrawavid" + culture="maghreb_arabic" + religion="sunni" + coat_of_arms= + { + data= + { +0 0 0 10 1 7 7 } + religion="sunni" + } +} +1027002= +{ + name="Ya'lalid" + culture="maghreb_arabic" + religion="sunni" + coat_of_arms= + { + data= + { +0 0 0 0 1 2 2 } + religion="sunni" + } +} +1027003= +{ + name="Miknasid" + culture="maghreb_arabic" + religion="sunni" +} +1027004= +{ + name="Snassenid" + culture="maghreb_arabic" + religion="sunni" +} +1027005= +{ + name="Zuwawid" + culture="maghreb_arabic" + religion="sunni" +} +1027006= +{ + name="Barghawatid" + culture="maghreb_arabic" + religion="sunni" + coat_of_arms= + { + data= + { +0 1 0 7 0 2 1 } + religion="sunni" + } +} +1027007= +{ + name="Massufid" + culture="maghreb_arabic" + religion="sunni" +} +1027008= +{ + name="Kutamid" + culture="maghreb_arabic" + religion="sunni" +} +1027009= +{ + name="Lemdiyyid" + culture="maghreb_arabic" + religion="sunni" +} +1027010= +{ + name="Khurasanid" + culture="maghreb_arabic" + religion="sunni" +} +1027011= +{ + name="Riyahdid" + culture="bedouin_arabic" + religion="sunni" +} +1027012= +{ + name="Tudjinid" + culture="maghreb_arabic" + religion="sunni" + coat_of_arms= + { + data= + { +0 1 0 39 0 2 10 } + religion="sunni" + } +} +1027013= +{ + name="Wardid" + culture="bedouin_arabic" + religion="sunni" +} +1027014= +{ + name="Seddoukid" + culture="maghreb_arabic" + religion="sunni" + coat_of_arms= + { + data= + { +0 1 0 40 7 1 1 } + religion="sunni" + } +} +1027015= +{ + name="Raghraghwid" + culture="maghreb_arabic" + religion="sunni" +} +1027016= +{ + name="Temimid" + culture="maghreb_arabic" + religion="sunni" +} +1027017= +{ + name="Zoghbadid" + culture="bedouin_arabic" + religion="sunni" + coat_of_arms= + { + data= + { +0 0 0 28 1 2 2 } + religion="sunni" + } +} +1027018= +{ + name="Athbejid" + culture="bedouin_arabic" + religion="sunni" +} +1027019= +{ + name="Azfavid" + culture="maghreb_arabic" + religion="sunni" + coat_of_arms= + { + data= + { +0 1 0 7 12 5 4 } + religion="sunni" + } +} +1027020= +{ + name="Hamdanid" + culture="maghreb_arabic" + religion="sunni" +} +1027021= +{ + name="Thabitid" + culture="maghreb_arabic" + religion="sunni" + coat_of_arms= + { + data= + { +0 1 0 23 5 0 9 } + religion="sunni" + } +} +1027022= +{ + name="de la Marck" + culture="frankish" +} +1027023= +{ + name="de Thourotte" + culture="frankish" + religion="catholic" +} +1027024= +{ + name="de Roussillon" + culture="frankish" + religion="catholic" +} +1027025= +{ + name="de Pontigny" + culture="frankish" + religion="catholic" +} +1027026= +{ + name="de Beauvoir" + culture="frankish" + religion="catholic" +} +1027027= +{ + name="de Winchester" + culture="norman" + religion="catholic" +} +1027028= +{ + name="of Ilchester" + culture="english" + religion="catholic" +} +1027029= +{ + name="de Luci" + culture="norman" + religion="catholic" +} +1027030= +{ + name="de Raleigh" + culture="english" + religion="catholic" +} +1027031= +{ + name="de Stratford" + culture="english" + religion="catholic" +} +1027032= +{ + name="Uí Ímair" + culture="norwegian" +} +1029000= +{ + name="Rheged" + culture="welsh" + religion="catholic" +} +1029001= +{ + name="Prydain" + culture="welsh" + religion="catholic" +} +1029002= +{ + name="Ebrauc" + culture="welsh" + religion="catholic" +} +1029989= +{ + name="de Hiergis" + culture="frankish" + religion="catholic" +} +1029990= +{ + name="de Grandson" + culture="frankish" + religion="catholic" +} +1029991= +{ + name="de Marcey" + culture="frankish" + religion="catholic" +} +1029992= +{ + name="d'Aix" + culture="frankish" + religion="catholic" +} +1029993= +{ + name="de Médidan" + culture="frankish" + religion="catholic" +} +1029994= +{ + name="de Sarvay" + culture="frankish" + religion="catholic" +} +1029995= +{ + name="de Ruvigny" + culture="frankish" + religion="catholic" +} +1029996= +{ + name="de Richercourt" + culture="frankish" + religion="catholic" +} +1029997= +{ + name="de Blâmont" + culture="frankish" + religion="catholic" +} +1029998= +{ + name="de Neuville" + culture="frankish" + religion="catholic" +} +1029999= +{ + name="de Traînel" + culture="frankish" + religion="catholic" +} +1029115= +{ + name="Volhynsky" + culture="russian" +} +1029116= +{ + name="Kryvich" + culture="ilmenian" + religion="slavic_pagan" + coat_of_arms= + { + data= + { +0 0 0 3 0 5 5 } + religion="slavic_pagan" + } +} +1029117= +{ + name="Dregovich" + culture="russian" + religion="slavic_pagan" + coat_of_arms= + { + data= + { +0 0 0 7 0 5 5 } + religion="slavic_pagan" + } +} +1029118= +{ + name="Vyatich" + culture="russian" + religion="slavic_pagan" + coat_of_arms= + { + data= + { +0 0 0 11 0 2 2 } + religion="slavic_pagan" + } +} +1029119= +{ + name="Kaysite" + culture="levantine_arabic" + religion="sunni" + coat_of_arms= + { + data= + { +0 0 0 17 1 7 7 } + religion="sunni" + } +} +1029120= +{ + name="Marwanid" + culture="levantine_arabic" + religion="sunni" + coat_of_arms= + { + data= + { +0 0 0 30 1 7 7 } + religion="sunni" + } +} +1029121= +{ + name="Damyanid" + culture="levantine_arabic" + religion="sunni" + coat_of_arms= + { + data= + { +0 0 0 21 0 2 2 } + religion="sunni" + } +} +1029122= +{ + name="Bardunid" + culture="levantine_arabic" + religion="sunni" + coat_of_arms= + { + data= + { +0 0 0 6 0 2 2 } + religion="sunni" + } +} +1029123= +{ + name="Shaybanid" + culture="levantine_arabic" + religion="sunni" +} +1029124= +{ + name="Yazidid" + culture="levantine_arabic" + religion="sunni" + coat_of_arms= + { + data= + { +0 0 0 16 1 2 2 } + religion="sunni" + } +} +1030000= +{ + name="Cisse" + culture="manden" + religion="west_african_pagan" +} +1030001= +{ + name="Diarisso" + culture="manden" + religion="sunni" +} +1030002= +{ + name="Keita" + culture="manden" + religion="sunni" + coat_of_arms= + { + data= + { +0 1 0 10 0 8 7 } + religion="sunni" + } +} +1030003= +{ + name="Bereté" + culture="manden" + religion="sunni" +} +1030004= +{ + name="Kédjou" + culture="manden" + religion="sunni" +} +1030005= +{ + name="Moussa" + culture="manden" + religion="sunni" +} +1030006= +{ + name="Zuwa" + culture="manden" + religion="west_african_pagan" +} +1030007= +{ + name="Sonni" + culture="manden" + religion="sunni" + coat_of_arms= + { + data= + { +0 1 0 50 4 0 1 } + religion="sunni" + } +} +1030008= +{ + name="Askiya" + culture="manden" +} +1030009= +{ + name="Konare" + culture="manden" + religion="sunni" + coat_of_arms= + { + data= + { +0 1 0 33 11 0 0 } + religion="sunni" + } +} +1030010= +{ + name="Traoré" + culture="manden" + religion="sunni" + coat_of_arms= + { + data= + { +0 1 0 30 11 12 0 } + religion="sunni" + } +} +1030011= +{ + name="Modibo" + culture="manden" + religion="sunni" + coat_of_arms= + { + data= + { +0 1 0 8 4 0 12 } + religion="sunni" + } +} +1030012= +{ + name="Toumani" + culture="manden" + religion="sunni" + coat_of_arms= + { + data= + { +0 1 0 42 9 3 6 } + religion="sunni" + } +} +1030013= +{ + name="Gurmanche" + culture="manden" + religion="west_african_pagan" + coat_of_arms= + { + data= + { +0 0 0 7 3 1 1 } + religion="west_african_pagan" + } +} +1030014= +{ + name="Buricimba" + culture="manden" + religion="west_african_pagan" +} +1030015= +{ + name="Nungu" + culture="manden" +} +1030016= +{ + name="Mossi" + culture="manden" +} +1030017= +{ + name="Habe" + culture="manden" + religion="west_african_pagan" + coat_of_arms= + { + data= + { +0 0 0 3 9 3 10 } + religion="west_african_pagan" + } +} +1030031= +{ + name="Skakke" + culture="norwegian" + religion="catholic" +} +1030030= +{ + name="Østman" + culture="norwegian" + religion="catholic" +} +1029003= +{ + name="Gwerthrynion" + culture="welsh" + religion="catholic" +} +1029004= +{ + name="Gwynllwg" + culture="welsh" + religion="catholic" + coat_of_arms= + { + data= + { +0 1 0 14 3 2 0 } + religion="catholic" + } +} +1029005= +{ + name="Dentümoger" + culture="cuman" + religion="tengri_pagan" +} +1031000= +{ + name="Michael" + culture="irish" + religion="catholic" +} +1031001= +{ + name="Jess" + culture="norman" + religion="catholic" + coat_of_arms= + { + data= + { +0 0 0 11 8 1 5 0 1 11 8 1 5 0 1 11 8 1 5 0 1 11 8 1 5 } + religion="catholic" + } +} +1031002= +{ + name="Rübsamen" + culture="german" + religion="catholic" +} +1031003= +{ + name="Dean" + culture="scottish" + religion="catholic" +} +1031004= +{ + name="de Criel" + culture="saxon" + religion="catholic" + coat_of_arms= + { + data= + { +4 0 2 21 0 11 5 0 2 21 0 11 5 0 2 21 0 11 5 } + religion="catholic" + } +} +1031005= +{ + name="Martín" + culture="castillan" + religion="catholic" +} +1031006= +{ + name="Karpivin" + culture="russian" + religion="orthodox" +} +1031007= +{ + name="Berglen" + culture="swedish" + religion="catholic" +} +1031008= +{ + name="Ciesla" + culture="saxon" + religion="catholic" +} +1031009= +{ + name="Munthe" + culture="dutch" + religion="catholic" +} +1031010= +{ + name="Louie" + culture="italian" + religion="catholic" +} +1031011= +{ + name="Ross" + culture="saxon" + religion="catholic" +} +1031012= +{ + name="Andersson" + culture="swedish" + religion="norse_pagan" + used_for_random=no +} +1031013= +{ + name="Kiby" + culture="swedish" + religion="catholic" +} +1031014= +{ + name="Wendel" + culture="swedish" + religion="catholic" +} +1031015= +{ + name="Toll" + culture="danish" + religion="catholic" +} +1031016= +{ + name="Johansson" + culture="swedish" + religion="catholic" + used_for_random=no +} +1031017= +{ + name="Fåhraeus" + culture="swedish" + religion="norse_pagan" + coat_of_arms= + { + data= + { +2 0 1 15 11 2 5 0 23 20 11 1 5 0 24 11 11 14 5 0 24 11 11 14 5 } + religion="catholic" + } + used_for_random=no +} +1031018= +{ + name="Lerström" + culture="swedish" + religion="catholic" + used_for_random=no +} +1031019= +{ + name="Dmowski" + culture="polish" + religion="catholic" +} +1031020= +{ + name="Ballantyne" + culture="scottish" + religion="catholic" +} +1031021= +{ + name="Björk" + culture="swedish" + religion="norse_pagan" +} +1031022= +{ + name="Zetterman" + culture="swedish" + religion="norse_pagan" + used_for_random=no +} +1031023= +{ + name="Eklund" + culture="swedish" + religion="norse_pagan" +} +1031024= +{ + name="Lind" + culture="swedish" + religion="shiite" + coat_of_arms= + { + data= + { +0 1 0 34 5 1 3 } + religion="sunni" + } +} +1031025= +{ + name="Mard-e Koochak" + culture="dutch" + religion="catholic" + coat_of_arms= + { + data= + { +1 0 11 19 1 14 12 0 19 19 10 3 12 0 0 19 10 13 12 0 0 19 10 13 12 } + religion="catholic" + } +} +1031026= +{ + name="Hoving" + culture="dutch" + religion="catholic" +} +1031027= +{ + name="Gunlycke" + culture="swedish" + religion="catholic" +} +1031028= +{ + name="Kowalczyk" + culture="polish" + religion="catholic" +} +1031029= +{ + name="Blomberg" + culture="swedish" + religion="catholic" + coat_of_arms= + { + data= + { +0 1 18 17 11 11 11 1 23 15 14 12 7 1 23 15 14 12 7 } + religion="catholic" + } + used_for_random=no +} +1031030= +{ + name="Rudén" + culture="swedish" + religion="norse_pagan" + used_for_random=no +} + +1051126= +{ + name="of Bebbanburg" + culture="norse" + religion="norse_pagan" + used_for_random=no +} +1051127= +{ + name="Corvina" + culture="italian" + religion="orthodox" + used_for_random=no +} +1051128= +{ + name="Todd" + culture="pictish" + religion="catholic" + coat_of_arms= + { + data= + { +0 4 0 36 7 1 0 4 0 36 7 11 0 4 0 36 7 11 0 4 0 36 7 11 0 } + religion="catholic" + } + used_for_random=no +} +1051129= +{ + name="Blackbird" + culture="volhynian" + religion="slavic_pagan" + coat_of_arms= + { + data= + { +0 4 0 5 1 2 0 } + religion="catholic" + } + used_for_random=no +} +1051130= +{ + name="Turnbull" + culture="scottish" + religion="catholic" + coat_of_arms= + { + data= + { +0 2 0 22 2 4 5 2 0 8 2 0 0 2 0 13 2 0 0 2 0 13 2 0 0 } + religion="catholic" + } + used_for_random=no +} +1051131= +{ + name="Byrrnesson" + culture="norse" + religion="norse_pagan" + coat_of_arms= + { + data= + { +0 1 0 12 11 3 1 } + religion="norse_pagan" + } + used_for_random=no +} +1051132= +{ + name="d'Aubergine" + culture="old_frankish" + religion="catholic" + coat_of_arms= + { + data= + { +0 4 0 37 11 2 1 2 0 15 12 0 9 2 0 24 12 0 9 } + religion="catholic" + } + used_for_random=no +} +1031100= +{ + name="al-Ghazali" + culture="persian" + coat_of_arms= + { + data= + { +0 0 0 11 8 12 12 } + religion="sunni" + } + forced_coa_religiongroup="muslim" +} +1031101= +{ + name="al-Idrisi" + culture="maghreb_arabic" + coat_of_arms= + { + data= + { +0 0 0 5 8 0 12 } + religion="sunni" + } + forced_coa_religiongroup="muslim" +} +1031102= +{ + name="Khaldun" + culture="maghreb_arabic" + coat_of_arms= + { + data= + { +0 1 0 43 1 2 10 } + religion="sunni" + } + forced_coa_religiongroup="muslim" +} +1031103= +{ + name="al-Qazwini" + culture="persian" + coat_of_arms= + { + data= + { +0 0 0 2 7 12 0 } + religion="sunni" + } + forced_coa_religiongroup="muslim" +} +1031104= +{ + name="al-Juwayni" + culture="persian" + coat_of_arms= + { + data= + { +0 1 0 26 7 0 1 } + religion="sunni" + } + forced_coa_religiongroup="muslim" +} +1031105= +{ + name="al-Farisi" + culture="persian" + coat_of_arms= + { + data= + { +0 0 0 27 12 11 3 } + religion="sunni" + } + forced_coa_religiongroup="muslim" +} +1031106= +{ + name="Hamadani" + culture="persian" + coat_of_arms= + { + data= + { +0 1 0 21 1 4 2 } + religion="sunni" + } + forced_coa_religiongroup="muslim" +} +1031107= +{ + name="al-Nafis" + culture="levantine_arabic" + coat_of_arms= + { + data= + { +0 1 0 49 6 1 0 } + religion="sunni" + } + forced_coa_religiongroup="muslim" +} +1031108= +{ + name="al-Baghdadi" + culture="levantine_arabic" + coat_of_arms= + { + data= + { +0 0 0 30 11 12 12 } + religion="sunni" + } + forced_coa_religiongroup="muslim" +} +1031109= +{ + name="Bajjah" + culture="andalusian_arabic" + coat_of_arms= + { + data= + { +0 0 0 29 12 10 3 } + religion="sunni" + } + forced_coa_religiongroup="muslim" +} +1031110= +{ + name="Ganjavi" + culture="persian" + coat_of_arms= + { + data= + { +0 1 0 44 5 1 0 } + religion="sunni" + } + forced_coa_religiongroup="muslim" +} +1031111= +{ + name="al-Amuli" + culture="persian" + coat_of_arms= + { + data= + { +0 1 0 49 5 9 12 } + religion="sunni" + } + forced_coa_religiongroup="muslim" +} +1031112= +{ + name="Balkhi" + culture="persian" + coat_of_arms= + { + data= + { +0 1 0 12 11 1 12 } + religion="sunni" + } + forced_coa_religiongroup="muslim" +} +1031113= +{ + name="Bukhari" + culture="persian" + coat_of_arms= + { + data= + { +0 1 0 44 3 12 1 } + religion="sunni" + } + forced_coa_religiongroup="muslim" +} +1031114= +{ + name="Suhrawardi" + culture="persian" + coat_of_arms= + { + data= + { +0 0 0 10 4 12 0 } + religion="sunni" + } + forced_coa_religiongroup="muslim" +} +1031115= +{ + name="al-Abhari" + culture="persian" + coat_of_arms= + { + data= + { +0 1 0 15 10 9 0 } + religion="sunni" + } + forced_coa_religiongroup="muslim" +} +1031116= +{ + name="al-Tusi" + culture="persian" + coat_of_arms= + { + data= + { +0 1 0 34 10 1 12 } + religion="sunni" + } + forced_coa_religiongroup="muslim" +} +1031117= +{ + name="Zuhr" + culture="andalusian_arabic" + coat_of_arms= + { + data= + { +0 1 0 32 3 9 12 } + religion="sunni" + } + forced_coa_religiongroup="muslim" +} +1031118= +{ + name="Hamadani" + culture="persian" + coat_of_arms= + { + data= + { +0 1 0 45 9 10 5 } + religion="sunni" + } + forced_coa_religiongroup="muslim" +} +1031119= +{ + name="al-Shirazi" + culture="persian" + coat_of_arms= + { + data= + { +0 1 0 9 9 5 3 } + religion="sunni" + } + forced_coa_religiongroup="muslim" +} +1031120= +{ + name="al-Dakhwar" + culture="levantine_arabic" + coat_of_arms= + { + data= + { +0 1 0 20 1 5 10 } + religion="sunni" + } + forced_coa_religiongroup="muslim" +} +1031121= +{ + name="Gorgani" + culture="persian" + coat_of_arms= + { + data= + { +0 1 0 45 3 1 12 } + religion="sunni" + } + forced_coa_religiongroup="muslim" +} +1031122= +{ + name="al-Suri" + culture="levantine_arabic" + coat_of_arms= + { + data= + { +0 1 0 18 8 12 1 } + religion="sunni" + } + forced_coa_religiongroup="muslim" +} +1031123= +{ + name="al-Baitar" + culture="andalusian_arabic" + coat_of_arms= + { + data= + { +0 0 0 32 8 12 12 } + religion="sunni" + } + forced_coa_religiongroup="muslim" +} +1031124= +{ + name="Mustawfi" + culture="persian" + coat_of_arms= + { + data= + { +0 1 0 41 1 8 3 } + religion="sunni" + } + forced_coa_religiongroup="muslim" +} +1031125= +{ + name="Ansari" + culture="persian" + coat_of_arms= + { + data= + { +0 1 0 52 7 0 9 } + religion="sunni" + } + forced_coa_religiongroup="muslim" +} +1031126= +{ + name="al-Kashi" + culture="persian" + coat_of_arms= + { + data= + { +0 1 0 9 7 0 1 } + religion="sunni" + } + forced_coa_religiongroup="muslim" +} +1031127= +{ + name="Kubra" + culture="persian" + coat_of_arms= + { + data= + { +0 1 0 23 0 2 4 } + religion="sunni" + } + forced_coa_religiongroup="muslim" +} +1031128= +{ + name="Khayyám" + culture="persian" + coat_of_arms= + { + data= + { +0 1 0 21 0 4 3 } + religion="sunni" + } + forced_coa_religiongroup="muslim" +} +1031129= +{ + name="Battuta" + culture="maghreb_arabic" + coat_of_arms= + { + data= + { +0 0 0 3 6 0 0 } + religion="sunni" + } + forced_coa_religiongroup="muslim" +} +1031130= +{ + name="al-Razi" + culture="persian" + coat_of_arms= + { + data= + { +0 1 0 44 12 8 8 } + religion="sunni" + } + forced_coa_religiongroup="muslim" +} +1031131= +{ + name="al-Khatib" + culture="andalusian_arabic" + coat_of_arms= + { + data= + { +0 1 0 28 12 11 6 } + religion="sunni" + } + forced_coa_religiongroup="muslim" +} +1031132= +{ + name="Rushd" + culture="andalusian_arabic" + coat_of_arms= + { + data= + { +0 0 0 31 4 12 0 } + religion="sunni" + } + forced_coa_religiongroup="muslim" +} +1031133= +{ + name="Sina" + culture="persian" + coat_of_arms= + { + data= + { +0 0 0 16 5 9 9 } + religion="sunni" + } + forced_coa_religiongroup="muslim" +} +1031134= +{ + name="al-Jaldaki" + culture="persian" + coat_of_arms= + { + data= + { +0 1 0 31 11 1 12 } + religion="sunni" + } + forced_coa_religiongroup="muslim" +} +1022137= +{ + name="Herakleidon" + culture="greek" + religion="orthodox" +} +1022138= +{ + name="Xylaloes" + culture="greek" + religion="orthodox" +} +1022139= +{ + name="Syrikos" + culture="greek" + religion="orthodox" +} +9500= +{ + name="Becket" + culture="english" + religion="catholic" +} +1029006= +{ + name="Dustakid" + culture="kurdish" + religion="shiite" +} +1029007= +{ + name="Hadhabanid" + culture="kurdish" + religion="sunni" +} +1029008= +{ + name="Buyid" + culture="kurdish" +} +1029009= +{ + name="Kakuyid" + culture="kurdish" +} +1029010= +{ + name="Jafarid" + culture="kurdish" +} +1029011= +{ + name="Hasanwayhid" + culture="kurdish" +} +1029012= +{ + name="Daisamid" + culture="kurdish" +} +1029013= +{ + name="Bitlisid" + culture="kurdish" +} +1029014= +{ + name="Ardalanid" + culture="kurdish" +} +1029015= +{ + name="Kayusid" + culture="kurdish" +} +1029016= +{ + name="Sadakiyanid" + culture="kurdish" +} +1029017= +{ + name="Rozeguitid" + culture="kurdish" +} +1029018= +{ + name="Zakarian" + culture="armenian" + religion="miaphysite" +} +1029019= +{ + name="Andzewatsi" + culture="armenian" +} +1029020= +{ + name="Fadhilwayhid" + culture="kurdish" +} +1029021= +{ + name="Ayyarid" + culture="kurdish" +} +1029022= +{ + name="Narseid" + culture="kurdish" +} +1029023= +{ + name="Vakhtangian" + culture="armenian" + religion="miaphysite" +} +1029024= +{ + name="Hasan-Jalalyan" + culture="armenian" +} +1029025= +{ + name="Arranshahik" + culture="armenian" + religion="miaphysite" +} +1029026= +{ + name="Fadlunid" + culture="persian" + religion="sunni" +} +1029027= +{ + name="Mihranian" + culture="armenian" + religion="miaphysite" +} +1029028= +{ + name="Melik-Avanyan" + culture="armenian" +} +1035000= +{ + name="Acatl" + culture="nahuatl" +} +1035001= +{ + name="Atl" + culture="nahuatl" +} +1035002= +{ + name="Calli" + culture="nahuatl" +} +1035003= +{ + name="Cipactli" + culture="nahuatl" +} +1035004= +{ + name="Coatl" + culture="nahuatl" +} +1035005= +{ + name="Coyotl" + culture="nahuatl" +} +1035006= +{ + name="Cozcaquauhtli" + culture="nahuatl" +} +1035007= +{ + name="Cuetzpalin" + culture="nahuatl" +} +1035008= +{ + name="Ehecatl" + culture="nahuatl" +} +1035009= +{ + name="Icpalli" + culture="nahuatl" +} +1035010= +{ + name="Itz" + culture="nahuatl" +} +1035011= +{ + name="Itzcuintli" + culture="nahuatl" +} +1035012= +{ + name="Macehualli" + culture="nahuatl" +} +1035013= +{ + name="Malinalli" + culture="nahuatl" +} +1035014= +{ + name="Mazatl" + culture="nahuatl" +} +1035015= +{ + name="Miquiztli" + culture="nahuatl" +} +1035016= +{ + name="Nezahual" + culture="nahuatl" +} +1035017= +{ + name="Nochtli" + culture="nahuatl" +} +1035018= +{ + name="Ocelotl" + culture="nahuatl" +} +1035019= +{ + name="Ollin" + culture="nahuatl" +} +1035020= +{ + name="Otli" + culture="nahuatl" +} +1035021= +{ + name="Ozomatli" + culture="nahuatl" +} +1035022= +{ + name="Pipiltin" + culture="nahuatl" +} +1035023= +{ + name="Pochtecatl" + culture="nahuatl" +} +1035024= +{ + name="Quauhtli" + culture="nahuatl" +} +1035025= +{ + name="Quauitl" + culture="nahuatl" +} +1035026= +{ + name="Quiautl" + culture="nahuatl" +} +1035027= +{ + name="Tecpatl" + culture="nahuatl" +} +1035028= +{ + name="Tecuhtli" + culture="nahuatl" +} +1035029= +{ + name="Tepetl" + culture="nahuatl" +} +1035030= +{ + name="Tetl" + culture="nahuatl" +} +1035031= +{ + name="Tlantli" + culture="nahuatl" +} +1035032= +{ + name="Tochtli" + culture="nahuatl" +} +1035033= +{ + name="Toltecatl" + culture="nahuatl" +} +1035034= +{ + name="Xochitl" + culture="nahuatl" +} +1029029= +{ + name="Shaddadid" + culture="kurdish" + religion="sunni" +} +9510= +{ + name="von Bardewik" + culture="german" + religion="catholic" + coat_of_arms= + { + data= + { +0 6 0 18 0 0 0 } + religion="catholic" + } +} +9511= +{ + name="Vorrade" + culture="german" + religion="catholic" + coat_of_arms= + { + data= + { +0 6 0 19 0 0 0 } + religion="catholic" + } +} +9512= +{ + name="Warendorp" + culture="german" + religion="catholic" + coat_of_arms= + { + data= + { +0 6 0 16 0 0 0 } + religion="catholic" + } +} +9513= +{ + name="Lüneburg" + culture="german" + religion="catholic" + coat_of_arms= + { + data= + { +0 6 0 15 0 0 0 } + religion="catholic" + } +} +9514= +{ + name="Wittenborg" + culture="german" + religion="catholic" + coat_of_arms= + { + data= + { +0 6 0 17 0 0 0 } + religion="catholic" + } +} +9515= +{ + name="von Klingenberg" + culture="german" + religion="catholic" +} +9516= +{ + name="von Parchim" + culture="german" + religion="catholic" +} +9517= +{ + name="Guldsmed" + culture="swedish" + religion="catholic" + coat_of_arms= + { + data= + { +0 6 0 22 0 0 0 } + religion="catholic" + } +} +9518= +{ + name="Hejnum" + culture="swedish" + religion="catholic" + coat_of_arms= + { + data= + { +0 6 0 23 0 0 0 } + religion="catholic" + } +} +9519= +{ + name="Gildehusen" + culture="swedish" + religion="catholic" + coat_of_arms= + { + data= + { +0 6 0 21 0 0 0 } + religion="catholic" + } +} +9520= +{ + name="Stråben" + culture="swedish" + religion="catholic" + coat_of_arms= + { + data= + { +0 6 0 24 0 0 0 } + religion="catholic" + } +} +9521= +{ + name="Alliata" + culture="italian" + religion="catholic" + coat_of_arms= + { + data= + { +0 6 0 0 0 0 0 } + religion="catholic" + } +} +9501= +{ + name="van Oosterzele" + culture="dutch" + religion="catholic" +} +1042000= +{ + name="Aldobrandeschi" + culture="italian" + religion="catholic" +} +1042003= +{ + name="Calcinaia" + culture="italian" + religion="catholic" +} +1042004= +{ + name="Dora" + culture="italian" + religion="catholic" +} +1042005= +{ + name="Duodi" + culture="italian" + religion="catholic" +} +1042006= +{ + name="Egidio" + culture="italian" + religion="catholic" +} +1042007= +{ + name="Lanfranchi" + culture="italian" + religion="catholic" +} +1042009= +{ + name="Panico" + culture="italian" + religion="catholic" +} +1042010= +{ + name="Pannocchieschi" + culture="italian" + religion="catholic" +} +1042011= +{ + name="Sasso" + culture="italian" + religion="catholic" +} +1042013= +{ + name="Suvereto" + culture="italian" + religion="catholic" +} +1042014= +{ + name="Visconti" + culture="italian" + religion="catholic" + coat_of_arms= + { + data= + { +0 6 0 13 0 0 0 } + religion="catholic" + } +} +1042015= +{ + name="de Gunale" + culture="italian" + religion="catholic" +} +1042017= +{ + name="del Monte S. Maria" + culture="italian" + religion="catholic" +} +1042019= +{ + name="di Berardeschi" + culture="italian" + religion="catholic" +} +1042020= +{ + name="di Cadolingi" + culture="italian" + religion="catholic" +} +1042022= +{ + name="di Campiglia" + culture="italian" + religion="catholic" +} +1029034= +{ + name="'Amirid" + culture="bedouin_arabic" + religion="sunni" +} +1029035= +{ + name="Kilabid" + culture="bedouin_arabic" + religion="sunni" +} +1029036= +{ + name="Numayrid" + culture="bedouin_arabic" +} +1029037= +{ + name="Kaabid" + culture="bedouin_arabic" +} +1029038= +{ + name="Jabrid" + culture="bedouin_arabic" +} +1029055= +{ + name="Idrisid" + culture="maghreb_arabic" + religion="shiite" + coat_of_arms= + { + data= + { +0 1 0 7 0 7 1 } + religion="shiite" + } +} +1042023= +{ + name="Belforti" + culture="italian" + religion="catholic" +} +1042024= +{ + name="Caldera" + culture="italian" + religion="catholic" +} +1042025= +{ + name="Grasso" + culture="italian" + religion="catholic" +} +1042026= +{ + name="Gualandi" + culture="italian" + religion="catholic" +} +1042027= +{ + name="Guidi" + culture="italian" + religion="catholic" +} +1042028= +{ + name="Latreto" + culture="italian" + religion="catholic" +} +1042029= +{ + name="Mele" + culture="italian" + religion="catholic" +} +1042030= +{ + name="Montecchio" + culture="italian" + religion="catholic" +} +1042031= +{ + name="Pellari" + culture="italian" + religion="catholic" +} +1042032= +{ + name="S. Cassiano" + culture="italian" + religion="catholic" +} +1042033= +{ + name="Sismondi" + culture="italian" + religion="catholic" +} +1042034= +{ + name="Uppezzhingi" + culture="italian" + religion="catholic" +} +1042035= +{ + name="da Montecchio" + culture="italian" + religion="catholic" +} +1042036= +{ + name="da Parlascio" + culture="italian" + religion="catholic" +} +1042800= +{ + name="z Obodrytow" + culture="pommeranian" + religion="slavic_pagan" + coat_of_arms= + { + data= + { +0 0 0 11 0 5 5 } + religion="slavic_pagan" + } +} +1042801= +{ + name="z Wieletow" + culture="pommeranian" + religion="slavic_pagan" +} +1042802= +{ + name="z Rujani" + culture="pommeranian" + religion="slavic_pagan" +} +1042803= +{ + name="z Kessini" + culture="pommeranian" + religion="slavic_pagan" + coat_of_arms= + { + data= + { +0 0 0 8 1 10 10 } + religion="slavic_pagan" + } +} +1042804= +{ + name="z Luzyc" + culture="pommeranian" + religion="slavic_pagan" + coat_of_arms= + { + data= + { +0 0 0 11 0 7 7 } + religion="slavic_pagan" + } +} +1042805= +{ + name="ze Stodaranow" + culture="pommeranian" + religion="slavic_pagan" +} +1042806= +{ + name="z Milczanow" + culture="pommeranian" + religion="slavic_pagan" +} +1042809= +{ + name="Tradonico" + culture="italian" + religion="catholic" +} +1042810= +{ + name="Tribuno" + culture="italian" + religion="catholic" +} +1042811= +{ + name="Memmo" + culture="italian" + religion="catholic" +} +1042812= +{ + name="Participazio" + culture="italian" + religion="catholic" +} +1042813= +{ + name="Candiano" + culture="italian" + religion="catholic" +} +1029056= +{ + name="Ovseti" + culture="alan" + religion="orthodox" +} +1029057= +{ + name="Tsærasantæ" + culture="alan" + religion="tengri_pagan" +} +1029058= +{ + name="Ælbegatæ" + culture="alan" + religion="orthodox" +} +1029059= +{ + name="Ardasentæ" + culture="alan" +} +1029060= +{ + name="Bekkuyzartæ" + culture="alan" + religion="tengri_pagan" +} +1029061= +{ + name="Gæbæratæ" + culture="alan" +} +1029062= +{ + name="Dzæræhohtæ" + culture="alan" +} +1029063= +{ + name="Dzebysatæ" + culture="alan" +} +1029064= +{ + name="Djerdjitæ" + culture="alan" +} +1029065= +{ + name="Guyrdzybetæ" + culture="alan" +} +1029066= +{ + name="Zændjiatæ" + culture="alan" +} +1029067= +{ + name="Kærkuystæ" + culture="alan" +} +1029068= +{ + name="Djykkajtæ" + culture="alan" +} +1029069= +{ + name="Godjysatæ" + culture="alan" +} +1029070= +{ + name="Magkætæ" + culture="alan" + religion="orthodox" +} +1029071= +{ + name="Pærræstatæ" + culture="alan" +} +1029072= +{ + name="Hetægkatæ" + culture="alan" +} +1029073= +{ + name="Hædarcatæ" + culture="alan" +} +1029074= +{ + name="Tuallægtæ" + culture="alan" +} +1029075= +{ + name="Færniatæ" + culture="alan" +} +1029076= +{ + name="Ephraimid" + culture="alan" +} +1029077= +{ + name="Tandelatæ" + culture="alan" +} +1029078= +{ + name="Tsæykostæ" + culture="alan" +} +1029079= +{ + name="Sozanatæ" + culture="alan" +} +1029080= +{ + name="Mærzojtæ" + culture="alan" +} +1040000= +{ + name="Corcu Loígde" + culture="irish" + religion="catholic" +} +1040001= +{ + name="Dál Birn" + culture="irish" + religion="catholic" + coat_of_arms= + { + data= + { +0 0 0 21 0 3 3 } + religion="catholic" + } +} +1040002= +{ + name="Ua Máele Ódrain" + culture="irish" + religion="catholic" +} +1040003= +{ + name="af Gautaland" + culture="norwegian" + religion="norse_pagan" +} +1040004= +{ + name="Horðalandi" + culture="norwegian" + religion="norse_pagan" +} +1040005= +{ + name="Írakonungr" + culture="norwegian" + religion="catholic" +} +1040006= +{ + name="Síol Muireadaigh" + culture="irish" + religion="catholic" +} +1040007= +{ + name="Uí Áeda Odba" + culture="irish" + religion="catholic" +} +1029030= +{ + name="Dyfed" + culture="welsh" + religion="catholic" + coat_of_arms= + { + data= + { +0 0 0 6 0 5 5 } + religion="catholic" + } +} +1029031= +{ + name="Dal Fiachrach Suighe" + culture="irish" + religion="pagan" +} +1029032= +{ + name="Brycheiniog" + culture="welsh" + religion="catholic" +} +1029033= +{ + name="Buellt" + culture="welsh" +} +1029093= +{ + name="Hafsid" + culture="andalusian_arabic" + religion="sunni" + coat_of_arms= + { + data= + { +0 0 0 37 0 2 2 } + religion="sunni" + } +} +1029094= +{ + name="Tatikios" + culture="greek" + religion="orthodox" +} +1029095= +{ + name="Aspietes" + culture="greek" + religion="orthodox" +} +1029125= +{ + name="Permyakid" + culture="komi" + religion="finnish_pagan" + coat_of_arms= + { + data= + { +0 0 0 15 1 5 5 } + religion="finnish_pagan" + } +} +1029126= +{ + name="Yugra" + culture="komi" + religion="finnish_pagan" +} +1042040= +{ + name="Gyla" + culture="pecheneg" + religion="tengri_pagan" +} +1042041= +{ + name="Jabdertim" + culture="pecheneg" + religion="tengri_pagan" +} +1042042= +{ + name="Kankali" + culture="pecheneg" + religion="tengri_pagan" +} +1042043= +{ + name="Kharoboe" + culture="pecheneg" + religion="tengri_pagan" +} +1042044= +{ + name="Tzopon" + culture="pecheneg" +} +1042045= +{ + name="Andjogli" + culture="cuman" + religion="tengri_pagan" + coat_of_arms= + { + data= + { +0 0 0 6 5 0 0 } + religion="tengri_pagan" + } +} +1042046= +{ + name="Durut" + culture="cuman" + religion="tengri_pagan" +} +1042047= +{ + name="Kochoba" + culture="cuman" + religion="tengri_pagan" +} +1042048= +{ + name="Toksoba" + culture="cuman" + religion="tengri_pagan" +} +1042049= +{ + name="Urosoba" + culture="cuman" + religion="tengri_pagan" +} +1042807= +{ + name="de Tharros" + culture="italian" + religion="catholic" +} +1042808= +{ + name="de Callaris" + culture="italian" + religion="catholic" +} +1043300= +{ + name="av Hålogaland" + culture="norse" + religion="norse_pagan" +} +1043301= +{ + name="Sapmi" + culture="lappish" + religion="finnish_pagan" + coat_of_arms= + { + data= + { +0 0 0 5 0 6 6 } + religion="finnish_pagan" + } +} +1043302= +{ + name="Lade" + culture="norse" + religion="norse_pagan" + coat_of_arms= + { + data= + { +0 1 0 14 1 5 11 } + religion="norse_pagan" + } +} +1043303= +{ + name="Trönde" + culture="norse" + religion="norse_pagan" + coat_of_arms= + { + data= + { +0 1 0 13 1 5 7 } + religion="norse_pagan" + } +} +1043304= +{ + name="av Agder" + culture="norse" + religion="norse_pagan" + coat_of_arms= + { + data= + { +0 0 0 13 1 11 11 } + religion="norse_pagan" + } +} +1043305= +{ + name="av Hordaland" + culture="norse" + religion="norse_pagan" + coat_of_arms= + { + data= + { +0 1 0 0 1 11 5 } + religion="norse_pagan" + } +} +1043306= +{ + name="av Rogaland" + culture="norse" + religion="norse_pagan" + coat_of_arms= + { + data= + { +0 1 0 12 5 7 1 } + religion="norse_pagan" + } +} +1043307= +{ + name="av Telemark" + culture="norse" + religion="norse_pagan" + coat_of_arms= + { + data= + { +0 1 0 12 1 1 5 } + religion="norse_pagan" + } +} +1043308= +{ + name="av Herjedalen" + culture="norse" + religion="norse_pagan" + coat_of_arms= + { + data= + { +0 0 0 2 1 7 7 } + religion="norse_pagan" + } +} +1043309= +{ + name="av Jämtland" + culture="norse" + religion="norse_pagan" + coat_of_arms= + { + data= + { +0 0 0 2 7 1 1 } + religion="norse_pagan" + } +} +1043500= +{ + name="Hrolfing" + culture="norse" + religion="norse_pagan" + coat_of_arms= + { + data= + { +0 0 0 13 5 1 1 } + religion="norse_pagan" + } + used_for_random=no +} +1043501= +{ + name="Herse" + culture="norse" + religion="norse_pagan" + coat_of_arms= + { + data= + { +0 0 0 13 1 5 5 } + religion="norse_pagan" + } +} +1043502= +{ + name="Fróni" + culture="norse" + religion="norse_pagan" + coat_of_arms= + { + data= + { +0 1 0 1 0 5 2 } + religion="norse_pagan" + } +} +1043503= +{ + name="Þyli" + culture="norse" + religion="norse_pagan" +} +1043504= +{ + name="Naddoðr" + culture="norse" + religion="norse_pagan" + coat_of_arms= + { + data= + { +0 0 0 13 7 1 1 } + religion="norse_pagan" + } +} +1029081= +{ + name="Azegid" + culture="komi" +} +1029082= +{ + name="Gachegid" + culture="komi" +} +1029083= +{ + name="Zhebegid" + culture="komi" +} +1029084= +{ + name="Lunegid" + culture="komi" +} +1029085= +{ + name="Zhunegid" + culture="komi" +} +1029086= +{ + name="Irtegid" + culture="komi" +} +1029087= +{ + name="Moshegid" + culture="komi" +} +1029088= +{ + name="Nydogid" + culture="komi" +} +1029089= +{ + name="Nylogid" + culture="komi" +} +1029090= +{ + name="Ozhegid" + culture="komi" +} +1029091= +{ + name="Odegid" + culture="komi" +} +1029092= +{ + name="Rategid" + culture="komi" +} +1029096= +{ + name="Llwydiarth" + culture="welsh" +} +1029097= +{ + name="Llywel" + culture="welsh" + religion="catholic" +} +1040008= +{ + name="Daw" + culture="ethiopian" + religion="miaphysite" + coat_of_arms= + { + data= + { +4 1 0 6 0 13 7 1 0 6 0 13 7 1 0 6 0 13 7 } + religion="miaphysite" + } +} +1040009= +{ + name="Alwa" + culture="ethiopian" + religion="miaphysite" +} +1022140= +{ + name="Kastenianos" + culture="greek" + religion="orthodox" +} +1022141= +{ + name="Leovachos" + culture="greek" + religion="orthodox" + coat_of_arms= + { + data= + { +0 0 0 5 6 5 5 } + religion="orthodox" + } +} +1022142= +{ + name="Maniatis" + culture="greek" + religion="orthodox" + coat_of_arms= + { + data= + { +0 0 0 5 9 5 5 } + religion="orthodox" + } +} +1022143= +{ + name="Ademarius" + culture="italian" + religion="catholic" +} +1022144= +{ + name="Vaklikas" + culture="greek" + religion="orthodox" +} +1022145= +{ + name="Maurikios" + culture="greek" + religion="orthodox" +} +1022146= +{ + name="Skrinarios" + culture="greek" + religion="orthodox" +} +1022147= +{ + name="Mesanaktis" + culture="greek" + religion="orthodox" +} +1022148= +{ + name="Lachanodrakon" + culture="greek" + religion="orthodox" + coat_of_arms= + { + data= + { +0 0 0 4 1 6 6 } + religion="orthodox" + } +} +1022149= +{ + name="Kalokyris" + culture="greek" + religion="orthodox" + coat_of_arms= + { + data= + { +0 0 0 14 5 1 1 } + religion="orthodox" + } +} +1022150= +{ + name="Lykodontis" + culture="greek" + religion="orthodox" + coat_of_arms= + { + data= + { +0 0 0 3 9 1 1 } + religion="orthodox" + } +} +1022151= +{ + name="Skyllaris" + culture="greek" + religion="orthodox" +} +1022152= +{ + name="Ampelas" + culture="greek" + religion="orthodox" +} +1022153= +{ + name="Gerontas" + culture="greek" + religion="orthodox" +} +1022154= +{ + name="Apokapis" + culture="greek" + religion="orthodox" +} +1022155= +{ + name="Pallikarios" + culture="greek" + religion="orthodox" +} +1022156= +{ + name="Orphanotrophos" + culture="greek" + religion="orthodox" + coat_of_arms= + { + data= + { +0 0 0 8 1 6 6 } + religion="orthodox" + } +} +1022157= +{ + name="Chlorokokis" + culture="greek" + religion="orthodox" + coat_of_arms= + { + data= + { +0 0 0 6 6 0 0 } + religion="orthodox" + } +} +1022158= +{ + name="Inger" + culture="norse" + religion="orthodox" +} +1022159= +{ + name="Hexavoulis" + culture="greek" + religion="orthodox" + coat_of_arms= + { + data= + { +0 0 0 2 3 0 0 } + religion="orthodox" + } +} +1022160= +{ + name="Martinakios" + culture="greek" + religion="orthodox" +} +1022161= +{ + name="Agelastos" + culture="greek" + religion="orthodox" + coat_of_arms= + { + data= + { +0 0 0 20 1 6 6 } + religion="orthodox" + } +} +1022162= +{ + name="Kotzes" + culture="greek" + religion="orthodox" +} +1022163= +{ + name="Toxaras" + culture="greek" + religion="orthodox" +} +1022164= +{ + name="Aplakes" + culture="greek" + religion="orthodox" + coat_of_arms= + { + data= + { +0 0 0 8 1 5 5 } + religion="orthodox" + } +} +1022165= +{ + name="Gomostos" + culture="greek" + religion="orthodox" +} +1022166= +{ + name="Koupharas" + culture="greek" + religion="orthodox" +} +1022167= +{ + name="Tyropoulis" + culture="greek" + religion="orthodox" + coat_of_arms= + { + data= + { +0 0 0 17 1 7 7 } + religion="orthodox" + } +} +1022168= +{ + name="Kontomytes" + culture="greek" + religion="orthodox" + coat_of_arms= + { + data= + { +0 0 0 8 6 0 0 } + religion="orthodox" + } +} +1022169= +{ + name="Chenopoulos" + culture="greek" + religion="orthodox" +} +1022170= +{ + name="Sellokalas" + culture="greek" + religion="orthodox" + coat_of_arms= + { + data= + { +0 0 0 5 2 1 1 } + religion="orthodox" + } +} +1022171= +{ + name="Kentrokoukouros" + culture="greek" + religion="orthodox" +} +1022172= +{ + name="Antigonos" + culture="greek" + religion="orthodox" + coat_of_arms= + { + data= + { +0 0 0 16 0 7 7 } + religion="orthodox" + } +} +1022173= +{ + name="Pastillas" + culture="greek" + religion="orthodox" + coat_of_arms= + { + data= + { +0 0 0 7 0 6 6 } + religion="orthodox" + } +} +1022174= +{ + name="Katakalitzes" + culture="greek" + religion="orthodox" + coat_of_arms= + { + data= + { +0 0 0 26 0 6 6 } + religion="orthodox" + } +} +1022175= +{ + name="Manikophagos" + culture="greek" + religion="orthodox" +} +1022176= +{ + name="Kolokynthis" + culture="greek" + religion="orthodox" + coat_of_arms= + { + data= + { +0 0 0 3 1 6 6 } + religion="orthodox" + } +} +1022177= +{ + name="Rachites" + culture="greek" + religion="orthodox" + coat_of_arms= + { + data= + { +0 0 0 3 6 0 0 } + religion="orthodox" + } +} +1029101= +{ + name="Domnonea" + culture="breton" + religion="catholic" +} +1029102= +{ + name="de Poher" + culture="breton" + religion="catholic" + coat_of_arms= + { + data= + { +0 8 0 29 0 0 0 } + religion="catholic" + } +} +1029103= +{ + name="de Rieux" + culture="breton" + religion="catholic" +} +1029039= +{ + name="Manaw Goddoddin" + culture="welsh" + religion="catholic" +} +1029040= +{ + name="Dyfnaint" + culture="welsh" + religion="catholic" +} +1029041= +{ + name="Devnent" + culture="breton" + religion="catholic" +} +1029042= +{ + name="Cerneu" + culture="breton" + religion="catholic" + coat_of_arms= + { + data= + { +0 8 0 0 0 0 0 } + religion="catholic" + } +} +12289= +{ + name="A'idid" + culture="bedouin_arabic" + religion="sunni" +} +12290= +{ + name="Sajrid" + culture="bedouin_arabic" + religion="sunni" +} +12291= +{ + name="Amrusid" + culture="andalusian_arabic" + religion="sunni" + coat_of_arms= + { + data= + { +0 0 0 21 1 2 2 } + religion="sunni" + } +} +12292= +{ + name="Hafsunid" + culture="andalusian_arabic" + religion="sunni" +} +12293= +{ + name="Qasid" + culture="andalusian_arabic" + religion="sunni" +} +12294= +{ + name="Salimid" + culture="andalusian_arabic" + religion="sunni" +} +12295= +{ + name="d'Oriola" + culture="visigothic" + religion="catholic" +} +12296= +{ + name="Qaysid" + culture="bedouin_arabic" + religion="sunni" + coat_of_arms= + { + data= + { +0 0 0 22 1 2 2 } + religion="sunni" + } +} +12297= +{ + name="Hayyunid" + culture="andalusian_arabic" + religion="sunni" +} +12298= +{ + name="de Amaya" + culture="castillan" + religion="catholic" +} +12286= +{ + name="de Castrosiero" + culture="castillan" +} +12287= +{ + name="de Laturce" + culture="basque" +} +12288= +{ + name="de Guimarães" + culture="portuguese" + religion="catholic" +} +12285= +{ + name="Belascotenes" + culture="basque" + religion="catholic" +} +12299= +{ + name="Qutamid" + culture="andalusian_arabic" + religion="sunni" + coat_of_arms= + { + data= + { +0 0 0 0 0 2 2 } + religion="sunni" + } +} +12300= +{ + name="Jarrazid" + culture="andalusian_arabic" + religion="sunni" +} +12301= +{ + name="Burrunid" + culture="andalusian_arabic" + religion="sunni" +} +1029129= +{ + name="Gwent" + culture="welsh" + religion="catholic" +} +1029130= +{ + name="Cernyw" + culture="welsh" + religion="catholic" +} +1029131= +{ + name="Manaw" + culture="welsh" + religion="catholic" +} +1029132= +{ + name="Caerloyw" + culture="welsh" + religion="catholic" +} +1029133= +{ + name="Powys" + culture="welsh" + religion="catholic" +} +1029134= +{ + name="Dyfed" + culture="welsh" + religion="catholic" +} +12302= +{ + name="Nayihid" + culture="bedouin_arabic" + religion="sunni" +} +12303= +{ + name="Musarrid" + culture="maghreb_arabic" + religion="sunni" +} +12304= +{ + name="Zuhrid" + culture="andalusian_arabic" + religion="sunni" +} +9550= +{ + name="Ekbertiner" + culture="german" + religion="catholic" +} +9551= +{ + name="Esikonen" + culture="german" + religion="catholic" + coat_of_arms= + { + data= + { +0 0 0 6 1 2 2 } + religion="catholic" + } +} +9552= +{ + name="Akra" + culture="danish" + religion="norse_pagan" + coat_of_arms= + { + data= + { +0 0 0 12 1 7 7 } + religion="norse_pagan" + } +} +9553= +{ + name="Wilhelmiden" + culture="german" + religion="catholic" + coat_of_arms= + { + data= + { +0 2 0 15 5 1 2 } + religion="catholic" + } +} +9554= +{ + name="Aribonen" + culture="german" + religion="catholic" + coat_of_arms= + { + data= + { +0 4 0 0 7 1 1 } + religion="catholic" + } +} +9555= +{ + name="de Friuli" + culture="italian" + religion="catholic" +} +9556= +{ + name="Ernste" + culture="german" + religion="catholic" + coat_of_arms= + { + data= + { +0 0 0 1 0 2 2 } + religion="catholic" + } +} +9557= +{ + name="Geroldonen" + culture="german" + religion="catholic" + coat_of_arms= + { + data= + { +0 1 0 11 7 1 7 } + religion="catholic" + } +} +9558= +{ + name="Udalrichinger" + culture="german" + religion="catholic" + coat_of_arms= + { + data= + { +0 0 0 14 7 0 0 } + religion="catholic" + } +} +1022178= +{ + name="Dauferidi" + culture="italian" + religion="catholic" + coat_of_arms= + { + data= + { +0 0 0 4 7 1 1 } + religion="catholic" + } +} +1029098= +{ + name="Karen-Pahlav" + culture="persian" + religion="zoroastrian" + coat_of_arms= + { + data= + { +0 0 0 1 2 1 0 } + religion="zoroastrian" + } + forced_coa_religiongroup="zoroastrian_group" +} +1029099= +{ + name="Kamsarakan" + culture="armenian" + religion="zoroastrian" +} +1029100= +{ + name="Sassanid" + culture="persian" + religion="zoroastrian" + coat_of_arms={ + data={0 0 0 8 5 1 2 0 0 0 0 1 2} + religion="zoroastrian" } + forced_coa_religiongroup="zoroastrian_group" +} +1029127= +{ + name="Guramiani" + culture="georgian" + religion="orthodox" +} +1029128= +{ + name="Nersiani" + culture="georgian" + religion="orthodox" +} +12305= +{ + name="Marwanid" + culture="andalusian_arabic" + religion="sunni" + coat_of_arms= + { + data= + { +0 0 0 21 1 7 7 } + religion="sunni" + } +} +12306= +{ + name="Alkadid" + culture="andalusian_arabic" + religion="sunni" +} +12307= +{ + name="Balawid" + culture="andalusian_arabic" + religion="sunni" +} +12308= +{ + name="Aslamid" + culture="bedouin_arabic" + religion="sunni" + coat_of_arms= + { + data= + { +0 0 0 0 7 0 0 } + religion="sunni" + } +} +12309= +{ + name="Namirid" + culture="andalusian_arabic" + religion="sunni" +} +12310= +{ + name="Jalidid" + culture="andalusian_arabic" + religion="sunni" +} +12311= +{ + name="Ubbaid" + culture="andalusian_arabic" + religion="sunni" +} +9559= +{ + name="Alaholfinger" + culture="german" + religion="catholic" + coat_of_arms= + { + data= + { +0 0 0 1 7 1 1 } + religion="catholic" + } +} +9561= +{ + name="Supponidi" + culture="italian" + religion="catholic" + coat_of_arms= + { + data= + { +0 0 0 5 2 0 0 } + religion="catholic" + } +} +9562= +{ + name="di Piacenza" + culture="italian" + religion="catholic" +} +9560= +{ + name="Belojevic" + culture="serbian" + religion="slavic_pagan" +} +9570= +{ + name="Khunzakhal" + culture="avar" + religion="tengri_pagan" + coat_of_arms= + { + data= + { +0 8 0 8 0 0 0 } + religion="catholic" + } +} +9563= +{ + name="d'Auriate" + culture="italian" + religion="catholic" + coat_of_arms= + { + data= + { +0 0 0 1 2 1 1 } + religion="catholic" + } +} +9564= +{ + name="di Stazone" + culture="italian" + religion="catholic" +} +9565= +{ + name="di Milano" + culture="italian" + religion="catholic" + coat_of_arms= + { + data= + { +0 0 0 3 1 4 4 } + religion="catholic" + } +} +9566= +{ + name="Hucbaldi" + culture="italian" + religion="catholic" + coat_of_arms= + { + data= + { +0 1 0 1 1 5 3 } + religion="catholic" + } +} +9567= +{ + name="di Ravenna" + culture="italian" + religion="catholic" + coat_of_arms= + { + data= + { +0 1 0 13 4 0 3 } + religion="catholic" + } +} +9568= +{ + name="Bouchardides" + culture="frankish" + religion="catholic" +} +9569= +{ + name="Rorgonides" + culture="frankish" + religion="catholic" + coat_of_arms= + { + data= + { +0 1 0 0 5 3 0 } + religion="catholic" + } +} +1029136= +{ + name="Slovensky" + culture="ilmenian" + religion="slavic_pagan" + coat_of_arms= + { + data= + { +0 0 0 17 1 7 7 } + religion="slavic_pagan" + } +} +1029137= +{ + name="Radimich" + culture="severian" + religion="slavic_pagan" + coat_of_arms= + { + data= + { +0 0 0 3 5 1 1 } + religion="slavic_pagan" + } +} +1029138= +{ + name="Seversky" + culture="severian" + religion="slavic_pagan" + coat_of_arms= + { + data= + { +0 0 0 3 0 7 7 } + religion="slavic_pagan" + } +} +1029139= +{ + name="Sarakid" + culture="samoyed" + religion="finnish_pagan" +} +1029140= +{ + name="Hasabid" + culture="samoyed" + religion="finnish_pagan" + coat_of_arms= + { + data= + { +0 0 0 16 1 11 11 } + religion="finnish_pagan" + } +} +1029141= +{ + name="Tatvid" + culture="samoyed" + religion="finnish_pagan" +} +1029142= +{ + name="Yurakid" + culture="samoyed" + religion="finnish_pagan" +} +1041000= +{ + name="Onggirat" + culture="mongol" + religion="tengri_pagan" +} +1041001= +{ + name="Naiman" + culture="mongol" + religion="nestorian" + coat_of_arms= + { + data= + { +3 0 0 45 2 1 0 0 0 45 2 1 0 0 0 45 2 1 0 0 0 45 2 1 0 } + religion="nestorian" + } +} +1041002= +{ + name="Kereyid" + culture="mongol" + religion="nestorian" +} +1022179= +{ + name="Apsimaros" + culture="greek" + religion="orthodox" +} +1022180= +{ + name="Artemios" + culture="greek" + religion="orthodox" +} +1022181= +{ + name="Vardan" + culture="armenian" + religion="miaphysite" +} +1022182= +{ + name="Leon" + culture="greek" + religion="orthodox" +} +1022183= +{ + name="Phokas" + culture="greek" + religion="orthodox" +} +1022184= +{ + name="Arabissinos" + culture="greek" + religion="orthodox" +} +1022185= +{ + name="Konstantinos" + culture="greek" + religion="orthodox" +} +1022186= +{ + name="Iustinianus" + religion="orthodox" + forced_coa_religiongroup="christian" +} +1022187= +{ + name="Tarasis" + religion="orthodox" + forced_coa_religiongroup="christian" +} +1022188= +{ + name="Leon" + religion="orthodox" + forced_coa_religiongroup="christian" +} +1022189= +{ + name="Verinus" + culture="roman" + religion="miaphysite" + forced_coa_religiongroup="christian" +} +1022190= +{ + name="Marcianus" + culture="roman" + religion="orthodox" + forced_coa_religiongroup="christian" +} +1022191= +{ + name="Theodosius" + culture="roman" + religion="orthodox" + forced_coa_religiongroup="christian" +} +1022192= +{ + name="Constantius" + culture="roman" + religion="catholic" + forced_coa_religiongroup="christian" +} +1022193= +{ + name="Valentinianus" + culture="roman" + religion="catholic" + forced_coa_religiongroup="christian" +} +1022194= +{ + name="Iovianus" + culture="roman" + religion="catholic" + forced_coa_religiongroup="christian" +} +1022195= +{ + name="Constantinus" + culture="roman" + religion="hellenic_pagan" + forced_coa_religiongroup="christian" +} +1022196= +{ + name="Licinianus" + culture="roman" + religion="hellenic_pagan" + forced_coa_religiongroup="christian" +} +1022197= +{ + name="Daia" + culture="roman" + religion="hellenic_pagan" + forced_coa_religiongroup="christian" +} +1022198= +{ + name="Armentarius" + culture="roman" + religion="hellenic_pagan" + forced_coa_religiongroup="christian" +} +1022199= +{ + name="Diocletianus" + culture="roman" + religion="hellenic_pagan" + forced_coa_religiongroup="christian" +} +1022200= +{ + name="Carus" + culture="roman" + religion="hellenic_pagan" + forced_coa_religiongroup="christian" +} +1022201= +{ + name="Dalmatius" + culture="roman" + religion="hellenic_pagan" + forced_coa_religiongroup="christian" +} +1022202= +{ + name="Tacitus" + culture="roman" + religion="hellenic_pagan" + forced_coa_religiongroup="christian" +} +1022203= +{ + name="Crinitus" + culture="roman" + religion="hellenic_pagan" + forced_coa_religiongroup="christian" +} +1022204= +{ + name="Domitius" + culture="roman" + religion="hellenic_pagan" + forced_coa_religiongroup="christian" +} +1022205= +{ + name="Gothicus" + religion="hellenic_pagan" + forced_coa_religiongroup="christian" +} +1022206= +{ + name="Valerianus" + culture="roman" + religion="hellenic_pagan" + forced_coa_religiongroup="christian" +} +1022207= +{ + name="Aemilius" + culture="roman" + religion="hellenic_pagan" + forced_coa_religiongroup="christian" +} +1022208= +{ + name="Trebonianus" + culture="roman" + religion="hellenic_pagan" + forced_coa_religiongroup="christian" +} +1022209= +{ + name="Messius" + culture="roman" + religion="hellenic_pagan" + forced_coa_religiongroup="christian" +} +1022210= +{ + name="Arabs" + religion="hellenic_pagan" + forced_coa_religiongroup="christian" +} +1022211= +{ + name="Africanus" + culture="roman" + religion="hellenic_pagan" + forced_coa_religiongroup="christian" +} +1022212= +{ + name="Calvinus" + culture="roman" + religion="hellenic_pagan" + forced_coa_religiongroup="christian" +} +1022213= +{ + name="Maximus" + culture="roman" + religion="hellenic_pagan" + forced_coa_religiongroup="christian" +} +1022214= +{ + name="Thrax" + culture="roman" + religion="hellenic_pagan" + forced_coa_religiongroup="christian" +} +1022215= +{ + name="Severus" + culture="roman" + religion="hellenic_pagan" + forced_coa_religiongroup="christian" +} +1022216= +{ + name="Antoninus" + culture="roman" + religion="hellenic_pagan" + forced_coa_religiongroup="christian" +} +1022217= +{ + name="Opellius" + culture="roman" + religion="hellenic_pagan" + forced_coa_religiongroup="christian" +} +1022218= +{ + name="Severus" + culture="roman" + religion="hellenic_pagan" + forced_coa_religiongroup="christian" +} +1022219= +{ + name="Didius" + culture="roman" + religion="hellenic_pagan" + forced_coa_religiongroup="christian" +} +1022220= +{ + name="Helvius" + culture="roman" + religion="hellenic_pagan" + forced_coa_religiongroup="christian" +} +1022221= +{ + name="Aurelius" + culture="roman" + religion="hellenic_pagan" + forced_coa_religiongroup="christian" +} +1022222= +{ + name="Verus" + culture="roman" + religion="hellenic_pagan" + forced_coa_religiongroup="christian" +} +1022223= +{ + name="Pius" + culture="roman" + religion="hellenic_pagan" + forced_coa_religiongroup="christian" +} +1022224= +{ + name="Hadrianus" + culture="roman" + religion="hellenic_pagan" + forced_coa_religiongroup="christian" +} +1022225= +{ + name="Traianus" + culture="roman" + religion="hellenic_pagan" + forced_coa_religiongroup="christian" +} +1022226= +{ + name="Cocceius" + culture="roman" + religion="hellenic_pagan" + forced_coa_religiongroup="christian" +} +1022227= +{ + name="Flavius" + culture="roman" + religion="hellenic_pagan" + forced_coa_religiongroup="christian" +} +1022228= +{ + name="Vitellius" + culture="roman" + religion="hellenic_pagan" + forced_coa_religiongroup="christian" +} +1022229= +{ + name="Salvius" + culture="roman" + religion="hellenic_pagan" + forced_coa_religiongroup="christian" +} +1022230= +{ + name="Sulpicius" + culture="roman" + religion="hellenic_pagan" + forced_coa_religiongroup="christian" +} +1022231= +{ + name="Pompeius" + culture="roman" + religion="miaphysite" + forced_coa_religiongroup="christian" +} +1022232= +{ + name="Claudius" + culture="roman" + religion="hellenic_pagan" + forced_coa_religiongroup="christian" +} +1022233= +{ + name="Maximianus" + culture="roman" + religion="hellenic_pagan" + forced_coa_religiongroup="christian" +} +1029143= +{ + name="Tšuudit" + culture="finnish" + religion="finnish_pagan" +} +1029144= +{ + name="Vepsä" + culture="finnish" + religion="finnish_pagan" + coat_of_arms= + { + data= + { +0 0 0 16 2 1 1 } + religion="finnish_pagan" + } +} +9571= +{ + name="d'Auvergne" + culture="occitan" + religion="catholic" + coat_of_arms= + { + data= + { +0 0 0 15 0 3 3 } + religion="catholic" + } +} +9572= +{ + name="de Gevaudan" + culture="occitan" + religion="catholic" + coat_of_arms= + { + data= + { +0 0 0 26 0 3 3 } + religion="catholic" + } +} +12312= +{ + name="Qutid" + culture="andalusian_arabic" + religion="catholic" + coat_of_arms= + { + data= + { +0 0 0 34 1 3 3 } + religion="sunni" + } +} +12313= +{ + name="de Maiorica" + culture="visigothic" + religion="catholic" +} +12314= +{ + name="de Minorica" + culture="visigothic" + religion="catholic" +} +12315= +{ + name="Galindid" + culture="andalusian_arabic" + religion="sunni" +} +1042050= +{ + name="Giazihopon" + culture="pecheneg" + religion="manichean" +} +1042051= +{ + name="Haravoi" + culture="pecheneg" + religion="tengri_pagan" +} +1042052= +{ + name="Havuksingila" + culture="pecheneg" + religion="manichean" + coat_of_arms= + { + data= + { +0 0 0 5 1 2 2 } + religion="tengri_pagan" + } +} +1042053= +{ + name="Iavdiertim" + culture="pecheneg" + religion="tengri_pagan" +} +1042054= +{ + name="Kuertsitsur" + culture="pecheneg" + religion="manichean" +} +1042055= +{ + name="Sirukalpei" + culture="pecheneg" + religion="manichean" +} +1042056= +{ + name="Vorotalmat" + culture="pecheneg" + religion="tengri_pagan" +} +1042057= +{ + name="Vulatsopon" + culture="pecheneg" + religion="tengri_pagan" +} +1042058= +{ + name="Paguman" + culture="pecheneg" +} +1042059= +{ + name="Belermen" + culture="pecheneg" +} +1042060= +{ + name="Thonuzoba" + culture="pecheneg" +} +9573= +{ + name="Sieghardinger" + culture="german" + religion="catholic" + coat_of_arms= + { + data= + { +0 0 0 14 5 0 0 } + religion="catholic" + } +} +9574= +{ + name="de Ponthieu" + culture="frankish" + religion="catholic" +} +9575= +{ + name="Salihid" + culture="maghreb_arabic" + religion="sunni" +} +9576= +{ + name="Barghawata" + culture="maghreb_arabic" + religion="sunni" +} +9577= +{ + name="Umorid" + culture="avar" + religion="tengri_pagan" +} +9578= +{ + name="Araslanid" + culture="avar" + religion="tengri_pagan" +} +9579= +{ + name="Pavalid" + culture="avar" + religion="tengri_pagan" +} +9580= +{ + name="Carasova" + culture="romanian" + religion="orthodox" +} +9581= +{ + name="Alogoboturid" + culture="bulgarian" + religion="orthodox" +} +9582= +{ + name="Makedonska" + culture="bulgarian" + religion="orthodox" +} +9586= +{ + name="Senulatovic" + culture="croatian" + religion="slavic_pagan" + coat_of_arms= + { + data= + { +0 8 0 9 0 0 0 } + religion="catholic" + } +} +9587= +{ + name="von Bregenz" + culture="german" + religion="catholic" +} +9588= +{ + name="Slavnikovci" + culture="bohemian" + religion="catholic" +} +9589= +{ + name="af Torgar" + culture="norse" + religion="norse_pagan" + coat_of_arms= + { + data= + { +0 0 0 1 0 2 2 } + religion="norse_pagan" + } + used_for_random=no +} +9590= +{ + name="Konstantios" + culture="greek" + religion="orthodox" +} +9591= +{ + name="Polkarios" + culture="greek" + religion="orthodox" +} +9592= +{ + name="Musco" + culture="italian" + religion="catholic" +} +9593= +{ + name="Urso" + culture="italian" + religion="catholic" +} +9594= +{ + name="Mauro" + culture="italian" + religion="catholic" +} +9602= +{ + name="Isbulid" + culture="avar" + religion="tengri_pagan" +} +9603= +{ + name="Slavomirid" + culture="bohemian" + religion="catholic" +} +9604= +{ + name="Draslavid" + culture="bohemian" + religion="catholic" + coat_of_arms= + { + data= + { +0 2 0 3 5 1 2 } + religion="catholic" + } +} +1042070= +{ + name="Mihran" + culture="persian" + religion="zoroastrian" + coat_of_arms= + { + data= + { +0 0 0 7 1 12 10 } + religion="zoroastrian" + } + forced_coa_religiongroup="zoroastrian_group" +} +9600= +{ + name="von Walbeck" + culture="german" + religion="catholic" +} +9601= +{ + name="Geronen" + culture="german" + religion="catholic" +} +9605= +{ + name="z Hevelli" + culture="pommeranian" + religion="slavic_pagan" +} +9606= +{ + name="z Wagrow" + culture="pommeranian" + religion="slavic_pagan" +} +9607= +{ + name="z Dalemincow" + culture="pommeranian" + religion="slavic_pagan" +} +9608= +{ + name="z Wranovi" + culture="pommeranian" + religion="slavic_pagan" +} +9609= +{ + name="z Chyzani" + culture="pommeranian" + religion="slavic_pagan" +} +9610= +{ + name="ze Slowincow" + culture="pommeranian" + religion="slavic_pagan" +} +9611= +{ + name="z Kaszëbow" + culture="pommeranian" + religion="slavic_pagan" +} +9583= +{ + name="Mostichid" + culture="bulgarian" + religion="orthodox" +} +9584= +{ + name="Zalanid" + culture="bulgarian" + religion="orthodox" +} +1029043= +{ + name="Yüregir" + culture="pecheneg" +} +1029044= +{ + name="Beçenek" + culture="pecheneg" +} +1029045= +{ + name="Bügdüz" + culture="pecheneg" +} +1029046= +{ + name="Üçok" + culture="pecheneg" +} +1029047= +{ + name="Çavuldur" + culture="pecheneg" +} +1029048= +{ + name="Bayandur" + culture="pecheneg" +} +1029049= +{ + name="Irtim" + culture="pecheneg" +} +1029050= +{ + name="Talmat" + culture="pecheneg" +} +1029051= +{ + name="Batas" + culture="pecheneg" +} +1029052= +{ + name="Alayuntlu" + culture="pecheneg" +} +1029053= +{ + name="Çepni" + culture="pecheneg" +} +1029054= +{ + name="Eymür" + culture="pecheneg" +} +1029145= +{ + name="Salgurlu" + culture="pecheneg" +} +1029146= +{ + name="Kimek" + culture="cuman" +} +1029147= +{ + name="Laktan" + culture="cuman" +} +1029148= +{ + name="Vokil" + culture="bolghar" + religion="tengri_pagan" +} +1029149= +{ + name="Ugain" + culture="bolghar" + religion="tengri_pagan" +} +1029150= +{ + name="Altsikur" + culture="bolghar" +} +1029151= +{ + name="Sabir" + culture="avar" +} +1029152= +{ + name="Ezgil" + culture="bolghar" + religion="tengri_pagan" +} +1029153= +{ + name="Kashu" + culture="bolghar" +} +1029154= +{ + name="Barskhan" + culture="bolghar" +} +1029155= +{ + name="Suvar" + culture="bolghar" + religion="tengri_pagan" +} +1029156= +{ + name="Barsil" + culture="bolghar" + religion = sunni +} +1029157= +{ + name="Bilar" + culture="bolghar" + religion="tengri_pagan" +} +1029158= +{ + name="Balanjar" + culture="bolghar" + religion = sunni +} +1029159= +{ + name="Baskatir" + culture="bolghar" + religion="tengri_pagan" +} +1029160= +{ + name="Kabar" + culture="khazar" +} +1029161= +{ + name="Khwaliz" + culture="khazar" +} +1029162= +{ + name="Kozar" + culture="khazar" +} +1029163= +{ + name="Baranjar" + culture="khazar" +} +1029164= +{ + name="Akhasir" + culture="avar" +} +1029165= +{ + name="Kazarig" + culture="avar" +} +1029166= +{ + name="Kidar" + culture="avar" +} +1042061= +{ + name="Svavarsson" + culture="norse" + religion="norse_pagan" + coat_of_arms= + { + data= + { +0 0 0 13 1 7 7 } + religion="norse_pagan" + } +} +1029167= +{ + name="Tyvercy" + culture="volhynian" + religion="slavic_pagan" +} +1042817= +{ + name="Brycheiniog" + culture="welsh" + religion="catholic" +} +1042816= +{ + name="Mac Ruaidrí" + culture="irish" + religion="catholic" +} +1042815= +{ + name="Brogyntyn" + culture="welsh" + religion="catholic" +} +1042631= +{ + name="Oualata" + culture="manden" + religion="west_african_pagan" +} +1042632= +{ + name="Bambuk" + culture="manden" + religion="west_african_pagan" +} +1042633= +{ + name="Gurma" + culture="manden" + religion="west_african_pagan" +} +1042634= +{ + name="Djenné" + culture="manden" + religion="west_african_pagan" +} +1042635= +{ + name="Tadmekka" + culture="manden" + religion="west_african_pagan" +} +1042636= +{ + name="Na'akuelo" + culture="ethiopian" + religion="miaphysite" +} +1042637= +{ + name="Yostos" + culture="ethiopian" + religion="miaphysite" +} +1042638= +{ + name="Merkourios" + culture="ethiopian" + religion="miaphysite" +} +1042639= +{ + name="Shamumun" + culture="ethiopian" + religion="miaphysite" +} +1042640= +{ + name="Desta" + culture="ethiopian" + religion="miaphysite" +} +1042641= +{ + name="Mac Drostan" + culture="scottish" + religion="catholic" + coat_of_arms= + { + data= + { +0 0 0 12 3 0 0 } + religion="catholic" + } +} +1042642= +{ + name="Mac Giric" + culture="scottish" + religion="catholic" + coat_of_arms= + { + data= + { +0 0 0 15 0 2 2 } + religion="catholic" + } +} +1042643= +{ + name="Mac Malmure" + culture="scottish" + religion="catholic" + coat_of_arms= + { + data= + { +0 0 0 9 5 0 0 } + religion="catholic" + } +} +1042644= +{ + name="Mac Morgan" + culture="scottish" + religion="catholic" + coat_of_arms= + { + data= + { +0 0 0 16 1 3 3 } + religion="catholic" + } +} +1042645= +{ + name="Mac Crinan" + culture="scottish" + religion="catholic" + coat_of_arms= + { + data= + { +0 0 0 16 0 2 2 } + religion="catholic" + } +} +1042646= +{ + name="Mac Comgall" + culture="scottish" + religion="catholic" + coat_of_arms= + { + data= + { +0 0 0 4 0 2 2 } + religion="catholic" + } +} +9612= +{ + name="Flatnefr" + culture="norse" + religion="norse_pagan" + coat_of_arms= + { + data= + { +0 1 0 13 1 3 5 } + religion="norse_pagan" + } +} +1042610= +{ + name="de la Pole" + culture="english" + religion="catholic" +} +9613= +{ + name="Hjort" + culture="norse" + religion="norse_pagan" +} +1042647= +{ + name="de Sully" + culture="frankish" + religion="catholic" +} +1042062= +{ + name="Sallarid" + culture="kurdish" + religion="zoroastrian" +} +1041050= +{ + name="Ben Aharon" + culture="ashkenazi" +} +1041051= +{ + name="Ben Ari" + culture="ashkenazi" +} +1041052= +{ + name="Binyamin" + culture="ashkenazi" +} +1041053= +{ + name="Ben David" + culture="ashkenazi" +} +1041054= +{ + name="Ben Jeremias" + culture="ashkenazi" +} +1041055= +{ + name="Ben Leonhard" + culture="ashkenazi" +} +1041056= +{ + name="Ben Michael" + culture="ashkenazi" +} +1041057= +{ + name="Mose" + culture="ashkenazi" +} +1041058= +{ + name="Ben Reuben" + culture="ashkenazi" +} +1041059= +{ + name="Shaoul" + culture="sephardi" +} +1041060= +{ + name="Ben Sol" + culture="sephardi" +} +1041061= +{ + name="Ben Shlomo" + culture="sephardi" +} +1041062= +{ + name="Ben Shimon" + culture="sephardi" +} +1041063= +{ + name="Ben Yitzhak" + culture="sephardi" +} +1041064= +{ + name="Ya’akov" + culture="sephardi" +} +1041065= +{ + name="Ben Yankev" + culture="sephardi" +} +1041066= +{ + name="Yeshayahu" + culture="sephardi" +} +1041067= +{ + name="Ben Yosef" + culture="sephardi" +} +1042063= +{ + name="de Hesdin" + culture="frankish" + religion="catholic" +} +1042648= +{ + name="Danilovich" + culture="russian" + religion="orthodox" + coat_of_arms= + { + data= + { +0 2 0 41 0 5 13 } + religion="orthodox" + } +} +1043000= +{ + name="Pala" + culture="bengali" + religion="buddhist" + coat_of_arms= + { + data= + { +0 0 0 3 0 2 2 } + religion="buddhist" + } +} +1043001= +{ + name="Lambakanna" + culture="sinhala" + religion="buddhist" + coat_of_arms= + { + data= + { +0 0 0 9 1 11 11 } + religion="buddhist" + } +} +1043002= +{ + name="Mlechchha" + culture="assamese" + religion="hindu" + coat_of_arms= + { + data= + { +0 0 0 11 1 2 2 } + religion="buddhist" + } +} +1043003= +{ + name="Rashtrakuta" + culture="kannada" + religion="hindu" + coat_of_arms= + { + data= + { +0 0 0 34 0 10 10 } + religion="jain" + } +} +1043005= +{ + name="Habbari" + culture="persian" + religion="sunni" + coat_of_arms= + { + data= + { +0 0 0 22 0 2 2 } + religion="sunni" + } +} +1043006= +{ + name="Shahi" + culture="turkish" + religion="hindu" + coat_of_arms= + { + data= + { +0 0 0 13 0 5 5 } + religion="buddhist" + } +} +1043007= +{ + name="Pallava" + culture="tamil" + religion="hindu" + coat_of_arms= + { + data= + { +0 0 0 0 0 2 2 } + religion="hindu" + } +} +1043008= +{ + name="Chola" + culture="tamil" + religion="hindu" + coat_of_arms= + { + data= + { +0 0 0 14 1 5 5 } + religion="hindu" + } +} +1043009= +{ + name="Pandya" + culture="tamil" + religion="hindu" + coat_of_arms= + { + data= + { +0 0 0 19 1 7 7 } + religion="hindu" + } +} +1043010= +{ + name="Chera" + culture="tamil" + religion="hindu" + coat_of_arms= + { + data= + { +0 0 0 1 1 7 7 } + religion="hindu" + } +} +1043011= +{ + name="Samatata" + culture="bengali" +} +1043012= +{ + name="Badami Chalukya" + culture="kannada" + religion="hindu" +} +1043013= +{ + name="Bhaumakara" + culture="oriya" + religion="buddhist" + coat_of_arms= + { + data= + { +0 0 0 15 1 11 11 } + religion="buddhist" + } +} +1043014= +{ + name="Bana" + culture="oriya" + religion="hindu" + coat_of_arms= + { + data= + { +0 0 0 10 7 0 0 } + religion="buddhist" + } +} +1043015= +{ + name="Maldivia" + culture="tamil" + religion="buddhist" +} +1042066= +{ + name="Pratihara" + culture="rajput" + religion="hindu" + coat_of_arms= + { + data= + { +0 0 0 14 0 7 7 } + religion="hindu" + } +} +1042067= +{ + name="Chandela" + culture="rajput" + religion="hindu" + coat_of_arms= + { + data= + { +0 1 0 16 8 0 13 } + religion="hindu" + } +} +1042068= +{ + name="Chawda" + culture="gujurati" + religion="hindu" + coat_of_arms= + { + data= + { +0 0 0 2 0 11 11 } + religion="hindu" + } +} +1042069= +{ + name="Solanki" + culture="rajput" + religion="hindu" +} +12318= +{ + name="Sangama" + culture="kannada" + religion="hindu" + coat_of_arms= + { + data= + { +0 0 0 20 6 1 13 } + religion="hindu" + } +} +1029171= +{ + name="Moriya" + culture="sinhala" + religion = buddhist +} +1029172= +{ + name="Vijayabahu" + culture="sinhala" + religion="buddhist" +} +1029173= +{ + name="Kalinga" + culture="sinhala" + religion = buddhist +} +1029174= +{ + name="Siri Sanga Bo" + culture="sinhala" + religion = buddhist +} +12319= +{ + name="Kalyani Chalukya" + culture="kannada" + religion="hindu" + coat_of_arms= + { + data= + { +0 0 0 0 1 5 5 } + religion="hindu" + } +} +12320= +{ + name="Kalachuri" + culture="kannada" + religion="hindu" +} +12321= +{ + name="Kolhapur Silahara" + culture="kannada" + religion="hindu" +} +12322= +{ + name="Thana Silahara" + culture="kannada" + religion="hindu" +} +12323= +{ + name="Silahara" + culture="kannada" + religion="hindu" +} +12324= +{ + name="Goa Kadamba" + culture="marathi" + religion="hindu" +} +12325= +{ + name="Hoysala" + culture="kannada" + religion="jain" + coat_of_arms= + { + data= + { +0 0 0 25 12 1 0 } + religion="jain" + } +} +1022234= +{ + name="Chrusarkha" + culture="bedouin_arabic" + religion="nestorian" + coat_of_arms= + { + data= + { +2 0 0 42 7 14 14 0 0 42 7 14 14 } + religion="nestorian" + } +} +1022235= +{ + name="Diskarkha" + culture="bedouin_arabic" + religion="nestorian" +} +1022236= +{ + name="Yahballaha" + culture="bedouin_arabic" + religion="nestorian" +} +12326= +{ + name="Wodeyar" + culture="kannada" + religion="hindu" +} +12327= +{ + name="Alupa" + culture="kannada" + religion="hindu" +} +12328= +{ + name="Pandya Alupa" + culture="kannada" + religion="hindu" +} +12329= +{ + name="Chellaketana" + culture="kannada" + religion="jain" +} +12330= +{ + name="Hoysala Alupa" + culture="kannada" + religion="hindu" + coat_of_arms= + { + data= + { +0 1 0 17 0 6 12 } + religion="hindu" + } +} +12331= +{ + name="Seuna Yadava" + culture="marathi" + religion="jain" + coat_of_arms= + { + data= + { +0 0 0 24 0 10 10 } + religion="jain" + } +} +1042071= +{ + name="Jewlia" + culture="rajput" + religion="hindu" +} +12332= +{ + name="Talakad Ganga" + culture="kannada" + religion="hindu" + coat_of_arms= + { + data= + { +0 0 0 12 7 1 1 } + religion="jain" + } +} +1040200= +{ + name="Tomara" + culture="rajput" + religion="hindu" + coat_of_arms= + { + data= + { +0 0 0 33 0 7 7 } + religion="hindu" + } +} +1040206= +{ + name="Pathan" + culture="rajput" + religion="hindu" + coat_of_arms= + { + data= + { +0 0 0 26 4 13 1 } + religion="hindu" + } +} +1029175= +{ + name="Vengi Chalukya" + culture="telugu" + religion="hindu" + coat_of_arms= + { + data= + { +0 0 0 15 0 10 10 } + religion="hindu" + } +} +1029176= +{ + name="Chalukya Chola" + culture="tamil" + religion="hindu" +} +12333= +{ + name="Kamadeva" + culture="marathi" + religion="hindu" + coat_of_arms= + { + data= + { +0 0 0 2 2 1 13 } + religion="hindu" + } +} +1042072= +{ + name="Vaghela" + culture="rajput" + religion="hindu" + coat_of_arms= + { + data= + { +0 1 0 8 1 7 11 } + religion="hindu" + } +} +12334= +{ + name="Bahmanid" + culture="afghan" + religion="sunni" + coat_of_arms= + { + data= + { +0 1 0 6 2 1 12 } + religion="sunni" + } +} +1022237= +{ + name="Warsangali" + culture="somali" + religion="sunni" + coat_of_arms= + { + data= + { +0 1 0 4 7 1 9 } + religion="sunni" + } +} +1022238= +{ + name="Darod" + culture="somali" + religion="sunni" +} +1022239= +{ + name="Samaale" + culture="somali" + religion="sunni" +} +1022240= +{ + name="Dahnay" + culture="ethiopian" + religion="sunni" +} +1022241= +{ + name="Makhzumi" + culture="bedouin_arabic" + religion="sunni" +} +1022242= +{ + name="Gideon" + culture="ethiopian" + religion="jewish" + coat_of_arms= + { + data= + { +0 8 0 37 0 0 0 } + religion="catholic" + } +} +1022243= +{ + name="Assabi" + culture="ethiopian" + religion="sunni" +} +1022244= +{ + name="Afari" + culture="ethiopian" + religion="sunni" + coat_of_arms= + { + data= + { +0 0 0 9 5 0 12 } + religion="sunni" + } +} +1022245= +{ + name="Hadaatar" + culture="nubian" + religion="miaphysite" +} +1022246= +{ + name="Hadendoa" + culture="nubian" + religion="miaphysite" + coat_of_arms= + { + data= + { +0 4 0 15 0 7 8 } + religion="miaphysite" + } +} +1022247= +{ + name="Handiwa" + culture="nubian" + religion="miaphysite" +} +1022248= +{ + name="Hadendowa" + culture="nubian" + religion="miaphysite" + coat_of_arms= + { + data= + { +0 0 0 8 0 12 12 } + religion="miaphysite" + } +} +1022249= +{ + name="Hidarib" + culture="nubian" + religion="miaphysite" +} +1022250= +{ + name="Hedareb" + culture="nubian" + religion="miaphysite" + coat_of_arms= + { + data= + { +3 0 0 40 3 14 0 0 0 40 3 14 0 0 0 40 3 14 0 0 0 40 3 14 0 } + religion="miaphysite" + } +} +1022251= +{ + name="Atbai" + culture="nubian" + religion="miaphysite" +} +1022252= +{ + name="Amarar" + culture="nubian" + religion="miaphysite" + coat_of_arms= + { + data= + { +2 2 0 35 7 9 0 2 0 35 7 9 0 } + religion="miaphysite" + } +} +1022253= +{ + name="Bisarin" + culture="nubian" + religion="miaphysite" +} +1022254= +{ + name="Bisharin" + culture="nubian" + religion="miaphysite" + coat_of_arms= + { + data= + { +0 1 0 7 0 10 11 } + religion="miaphysite" + } +} +1022255= +{ + name="Bisariab" + culture="nubian" + religion="miaphysite" +} +1022256= +{ + name="Bisharyeen" + culture="nubian" + religion="miaphysite" + coat_of_arms= + { + data= + { +1 2 0 41 3 14 14 2 0 41 3 14 14 } + religion="miaphysite" + } +} +1022257= +{ + name="Tamirat" + culture="ethiopian" + religion="miaphysite" + coat_of_arms= + { + data= + { +3 2 0 25 10 0 1 2 0 25 10 0 1 2 0 25 10 0 1 2 0 25 10 0 1 } + religion="miaphysite" + } +} +1022258= +{ + name="Mengesha" + culture="ethiopian" + religion="miaphysite" + coat_of_arms= + { + data= + { +4 1 0 8 14 10 5 1 0 8 14 10 5 1 0 8 14 10 5 } + religion="miaphysite" + } +} +1022259= +{ + name="Teka" + culture="ethiopian" + religion="miaphysite" +} +1022260= +{ + name="Getachew" + culture="ethiopian" + religion="miaphysite" + coat_of_arms= + { + data= + { +3 2 0 35 6 9 1 2 0 35 6 9 1 2 0 35 6 9 1 2 0 35 6 9 1 } + religion="miaphysite" + } +} +1022333= +{ + name="Abrone" + culture="somali" + religion="sunni" +} +1022334= +{ + name="Dir" + culture="somali" +} +1022335= +{ + name="Hawiye" + culture="somali" +} +1022336= +{ + name="Isaaq" + culture="somali" +} +1022337= +{ + name="Digil" + culture="somali" +} +1022338= +{ + name="Mirifle" + culture="somali" +} +1022339= +{ + name="Gadabuursi" + culture="somali" +} +1022340= +{ + name="Akishe" + culture="somali" +} +1022341= +{ + name="Biyomaal" + culture="somali" +} +1022342= +{ + name="Surre" + culture="somali" +} +1022343= +{ + name="Gurgura" + culture="somali" +} +1022344= +{ + name="Issa" + culture="somali" +} +1022345= +{ + name="Harti" + culture="somali" +} +1022346= +{ + name="Marehan" + culture="somali" +} +1022347= +{ + name="Bartire" + culture="somali" +} +1022348= +{ + name="Rahanweyn" + culture="somali" +} +1022349= +{ + name="Bigawi" + culture="nubian" + religion="miaphysite" +} +1022350= +{ + name="Qamhat" + culture="nubian" + religion="miaphysite" +} +1022351= +{ + name="Amarrar" + culture="nubian" + religion="miaphysite" +} +1022352= +{ + name="Hadendiwa" + culture="nubian" + religion="miaphysite" +} +1022353= +{ + name="Hadareb" + culture="nubian" + religion="miaphysite" +} +1022354= +{ + name="Beniamer" + culture="nubian" + religion="miaphysite" +} +12335= +{ + name="Nolamba" + culture="kannada" + religion="hindu" + coat_of_arms= + { + data= + { +0 0 0 1 5 1 1 } + religion="hindu" + } +} +1029177= +{ + name="Cinkaiariyan" + culture="tamil" + religion="hindu" +} +1029178= +{ + name="Aryacakravarti" + culture="tamil" + religion="hindu" + coat_of_arms= + { + data= + { +0 1 0 1 3 1 1 } + religion="hindu" + } +} +1029179= +{ + name="Kakatiya" + culture="telugu" + religion="jain" +} +1029180= +{ + name="Kulasekhara" + culture="tamil" +} +1029181= +{ + name="Samoothiri" + culture="tamil" +} +1029182= +{ + name="Perumadappu" + culture="tamil" +} +1029183= +{ + name="Kadava" + culture="tamil" + religion="hindu" +} +1029184= +{ + name="Pattavardhani" + culture="telugu" +} +1029185= +{ + name="Katakaraja" + culture="telugu" +} +1029186= +{ + name="Durjaya" + culture="telugu" +} +1029187= +{ + name="Aryyahu" + culture="telugu" +} +1029188= +{ + name="Mitreyu" + culture="telugu" +} +1029189= +{ + name="Panara" + culture="telugu" +} +1029190= +{ + name="Velanati Chola" + culture="telugu" +} +1029191= +{ + name="Somavansha" + culture="sinhala" + religion="buddhist" +} +1029192= +{ + name="Adityavansha" + culture="sinhala" + religion="buddhist" + coat_of_arms= + { + data= + { +0 0 0 3 0 5 5 } + religion="buddhist" + } +} +1029193= +{ + name="Chandravansha" + culture="sinhala" +} +1029194= +{ + name="Suryavansha" + culture="sinhala" +} +1044001= +{ + name="Kaivarta" + culture="bengali" + religion="hindu" +} +1044000= +{ + name="Bhauma Pala" + culture="assamese" + religion="hindu" +} +1044002= +{ + name="Candravamsa" + culture="bengali" + religion="hindu" +} +1044003= +{ + name="Varman" + culture="assamese" + religion="hindu" +} +1044004= +{ + name="Timgyadeva" + culture="assamese" + religion="buddhist" +} +1044005= +{ + name="Vaidyadeva" + culture="assamese" + religion="buddhist" +} +12336= +{ + name="Ratta" + culture="kannada" + religion="jain" +} +1042073= +{ + name="Bhil" + culture="gujurati" + religion="hindu" +} +1042074= +{ + name="Pragvata" + culture="rajput" + religion="jain" +} +1042075= +{ + name="Abhira" + culture="rajput" + religion="jain" +} +1042076= +{ + name="Kacchapaghata" + culture="rajput" + religion="hindu" +} +1042077= +{ + name="Paramara" + culture="rajput" + religion="hindu" + coat_of_arms= + { + data= + { +0 0 0 34 8 13 0 } + religion="hindu" + } +} +1042078= +{ + name="of Malwa" + culture="kannada" + religion="hindu" +} +1042079= +{ + name="Guhilot" + culture="rajput" + religion="hindu" + coat_of_arms= + { + data= + { +0 1 0 14 13 3 4 } + religion="hindu" + } +} +1042081= +{ + name="Chauhan" + culture="rajput" + religion="hindu" + coat_of_arms= + { + data= + { +0 1 0 13 4 13 13 } + religion="hindu" + } +} +1042080= +{ + name="Nagil" + culture="rajput" + religion="hindu" +} +1042082= +{ + name="Vagada" + culture="rajput" +} +1042083= +{ + name="Hunas" + culture="persian" + religion="hindu" +} +1040201= +{ + name="Mamluk" + culture="turkish" + religion="sunni" +} +1040202= +{ + name="Delhi" + culture="turkish" + religion="sunni" +} +1040203= +{ + name="Altunia" + culture="turkish" + religion="sunni" +} +1040204= +{ + name="Balban" + culture="turkish" + religion="sunni" +} +1040205= +{ + name="Khilji" + culture="turkish" + religion="sunni" +} +1040207= +{ + name="Kushru" + culture="turkish" + religion="sunni" +} +1040208= +{ + name="Tughluq" + culture="turkish" + religion="sunni" + coat_of_arms= + { + data= + { +0 1 0 15 0 11 4 } + religion="sunni" + } +} +1040209= +{ + name="Alauddin" + culture="turkish" + religion="sunni" +} +1040210= +{ + name="Saifuddin" + culture="turkish" + religion="sunni" +} +1040211= +{ + name="Awar" + culture="turkish" + religion="sunni" +} +1040212= +{ + name="Tughral" + culture="turkish" + religion="sunni" +} +1040213= +{ + name="Tamar" + culture="turkish" + religion="sunni" +} +1040214= +{ + name="Iuzbaki" + culture="turkish" + religion="sunni" +} +1040215= +{ + name="Tatar" + culture="turkish" + religion="sunni" +} +1040216= +{ + name="Iitigin" + culture="turkish" + religion="sunni" +} +1040217= +{ + name="Sonargaon" + culture="turkish" + religion="sunni" + coat_of_arms= + { + data= + { +0 0 0 30 4 0 0 } + religion="sunni" + } +} +1040218= +{ + name="Lakhnauti" + culture="turkish" + religion="sunni" + coat_of_arms= + { + data= + { +0 1 0 40 9 5 2 } + religion="sunni" + } +} +1040219= +{ + name="Satgaon" + culture="turkish" + religion="sunni" + coat_of_arms= + { + data= + { +0 1 0 4 11 0 1 } + religion="sunni" + } +} +1040220= +{ + name="Qabajah" + culture="turkish" + religion="sunni" +} +1040221= +{ + name="Yildoz" + culture="turkish" + religion="sunni" +} +1040222= +{ + name="Ghanzi" + culture="turkish" + religion="sunni" +} +1029195= +{ + name="Kalinga Ganga" + culture="oriya" + religion="hindu" + coat_of_arms= + { + data= + { +0 2 0 1 0 0 0 } + religion="hindu" + } +} +1029196= +{ + name="Somavamsi" + culture="oriya" + religion="hindu" + coat_of_arms= + { + data= + { +0 1 0 5 1 8 8 } + religion="hindu" + } +} +1029197= +{ + name="Bhanja" + culture="oriya" + religion="hindu" +} +1029198= +{ + name="Sulki" + culture="oriya" + religion="hindu" +} +1029199= +{ + name="Tunga" + culture="oriya" + religion="hindu" +} +1029200= +{ + name="Nandobhava" + culture="oriya" + religion="hindu" +} +1029201= +{ + name="Gajapati" + culture="oriya" +} +1029202= +{ + name="Mayura" + culture="oriya" +} +1029203= +{ + name="Shailobhava" + culture="oriya" +} +1029204= +{ + name="Kesari" + culture="oriya" +} +1029205= +{ + name="Svetaka Ganga" + culture="oriya" + religion="hindu" +} +1029206= +{ + name="Chalukya Kakatiya" + culture="telugu" + religion="hindu" + coat_of_arms= + { + data= + { +0 0 0 14 2 13 0 } + religion="hindu" + } +} +1044006= +{ + name="Chandra" + culture="bengali" + religion="buddhist" +} +1044007= +{ + name="Bangala Varman" + culture="bengali" + religion="hindu" +} +1044008= +{ + name="Shantideva" + culture="bengali" + religion="hindu" +} +1044009= +{ + name="Harikela" + culture="bengali" + religion="hindu" +} +1044010= +{ + name="Kamboja Pala" + culture="bengali" + religion="hindu" +} +1042085= +{ + name="Jadeja" + culture="rajput" + religion="hindu" + coat_of_arms= + { + data= + { +0 0 0 29 11 9 1 } + religion="hindu" + } +} +1042086= +{ + name="Samma" + culture="rajput" + religion="hindu" +} +1042087= +{ + name="Saindhava" + culture="rajput" + religion="hindu" +} +1042088= +{ + name="Chudasama" + culture="rajput" + religion="hindu" + coat_of_arms= + { + data= + { +0 0 0 5 9 7 11 } + religion="hindu" + } +} +1042089= +{ + name="Kathi" + culture="gujurati" + religion="hindu" +} +1026500= +{ + name="Sena" + culture="bengali" + religion="hindu" +} +1026501= +{ + name="Sur" + culture="bengali" + religion="hindu" +} +12337= +{ + name="Hangal Kadamba" + culture="kannada" + religion="hindu" + coat_of_arms= + { + data= + { +0 1 0 15 0 3 10 } + religion="hindu" + } +} +12338= +{ + name="Bhandavapura Kadamba" + culture="kannada" + religion="hindu" +} +12339= +{ + name="Uchangidurga Kadamba" + culture="kannada" + religion="hindu" +} +1044011= +{ + name="Jarasandha" + culture="bengali" + religion="hindu" +} +1044012= +{ + name="Biswajit" + culture="bengali" + religion="hindu" +} +1044013= +{ + name="Palaka" + culture="bengali" + religion="hindu" +} +1044014= +{ + name="Ajatashatru" + culture="bengali" + religion="buddhist" +} +1044015= +{ + name="Senajit" + culture="bengali" + religion="buddhist" +} +1044016= +{ + name="Kaivarta" + culture="bengali" + religion="hindu" +} +1044017= +{ + name="Ladahachandra" + culture="bengali" + religion="buddhist" +} +1044018= +{ + name="Ajaka" + culture="hindustani" + religion="buddhist" +} +1044019= +{ + name="Cedi" + culture="hindustani" + religion="hindu" + coat_of_arms= + { + data= + { +0 0 0 15 0 6 0 } + religion="buddhist" + } +} +1044020= +{ + name="Ghosha" + culture="bengali" + religion="hindu" +} +1044021= +{ + name="Dasaratha" + culture="hindustani" + religion="hindu" +} +1044022= +{ + name="Salisuka" + culture="hindustani" + religion="hindu" +} +1044023= +{ + name="Satadhanva" + culture="hindustani" + religion="hindu" +} +1044024= +{ + name="Rajabhata" + culture="bengali" + religion="buddhist" +} +1044025= +{ + name="Skanda" + culture="bengali" + religion="hindu" +} +1044026= +{ + name="Visvarupa" + culture="bengali" + religion="buddhist" +} +1044030= +{ + name="Gahadvala" + culture="hindustani" + religion="buddhist" + coat_of_arms= + { + data= + { +0 1 0 4 2 13 1 } + religion="buddhist" + } +} +1041100= +{ + name="Baweja" + culture="panjabi" + religion="buddhist" +} +1041101= +{ + name="Dhariwal" + culture="hindustani" + religion="hindu" +} +1041102= +{ + name="Jethani" + culture="hindustani" + religion="hindu" +} +1041103= +{ + name="Mansukhani" + culture="hindustani" + religion="buddhist" +} +1041104= +{ + name="Patiala" + culture="hindustani" + religion="buddhist" +} +1041105= +{ + name="Malhi" + culture="hindustani" + religion="hindu" +} +1041106= +{ + name="Sohota" + culture="hindustani" + religion="jain" +} +1041107= +{ + name="Ghosh" + culture="bengali" + religion="buddhist" +} +1041108= +{ + name="Gaitonde" + culture="marathi" + religion="hindu" +} +1041109= +{ + name="Nanduri" + culture="telugu" + religion="hindu" +} +1041110= +{ + name="Udutha" + culture="telugu" + religion="hindu" +} +1041111= +{ + name="Ghanshani" + culture="sindhi" + religion="hindu" +} +1041112= +{ + name="Doolani" + culture="sindhi" + religion="buddhist" +} +1041113= +{ + name="Khetpal" + culture="sindhi" + religion="buddhist" +} +1041114= +{ + name="Lohi" + culture="sindhi" + religion="hindu" +} +1041115= +{ + name="Notani" + culture="sindhi" + religion="hindu" +} +1041116= +{ + name="Sawai" + culture="sindhi" + religion="buddhist" +} +1041117= +{ + name="Bhambhani" + culture="sindhi" + religion="hindu" +} +1041118= +{ + name="Qalat" + culture="baloch" + religion="hindu" +} +1041119= +{ + name="Khattak" + culture="afghan" + religion="sunni" +} +1041120= +{ + name="Garcha" + culture="panjabi" + religion="buddhist" +} +1041121= +{ + name="Janda" + culture="panjabi" + religion="buddhist" +} +1041122= +{ + name="Jhuti" + culture="panjabi" + religion="hindu" +} +1041123= +{ + name="Kahlon" + culture="panjabi" + religion="hindu" +} +1041124= +{ + name="Nagra" + culture="panjabi" + religion="hindu" +} +1041125= +{ + name="Padda" + culture="panjabi" + religion="buddhist" +} +1041126= +{ + name="Sihota" + culture="panjabi" + religion="hindu" +} +1042090= +{ + name="Soomra" + culture="sindhi" + religion="shiite" + coat_of_arms= + { + data= + { +0 1 0 48 6 12 0 } + religion="shiite" + } +} +1042091= +{ + name="Bhatti" + culture="rajput" + religion="hindu" + coat_of_arms= + { + data= + { +0 1 0 11 3 13 13 } + religion="hindu" + } +} +1042097= +{ + name="Sanchore" + culture="rajput" +} +1042098= +{ + name="Sisodia" + culture="rajput" + religion="hindu" + coat_of_arms= + { + data= + { +0 0 0 8 9 7 3 } + religion="hindu" + } +} +1042100= +{ + name="Karkota" + culture="panjabi" + religion="hindu" + coat_of_arms= + { + data= + { +0 2 0 0 0 0 0 } + religion="hindu" + } +} +1042092= +{ + name="Utpala" + culture="panjabi" + religion="hindu" +} +1042093= +{ + name="Lohara" + culture="panjabi" + religion="hindu" +} +1042094= +{ + name="Vopyadeva" + culture="panjabi" + religion="hindu" +} +1042095= +{ + name="of Dakhinpara" + culture="panjabi" + religion="hindu" + coat_of_arms= + { + data= + { +0 1 0 25 6 13 1 } + religion="hindu" + } +} +1042096= +{ + name="Ladakhi" + culture="panjabi" + religion="hindu" +} +1042099= +{ + name="Banu Sama" + culture="panjabi" + religion="sunni" +} +1042101= +{ + name="Qarmatia" + culture="panjabi" + religion="shiite" +} +1042102= +{ + name="Ma'danid" + culture="panjabi" + religion="sunni" +} +1044033= +{ + name="Agilolfing" + culture="german" + religion="catholic" + coat_of_arms= + { + data= + { +0 8 0 6 0 0 0 } + religion="catholic" + } +} +1044055= +{ + name="Lantfriding" + culture="german" + religion="catholic" +} +1044056= +{ + name="Theotbalding" + culture="german" + religion="catholic" +} +1044057= +{ + name="Herberting" + culture="german" + religion="catholic" +} +1044058= +{ + name="Lotharing" + culture="german" + religion="catholic" +} +1044031= +{ + name="Gausian" + culture="lombard" + religion="catholic" + coat_of_arms= + { + data= + { +0 8 0 10 0 0 0 } + religion="catholic" + } +} +1044032= +{ + name="Theoderingi" + culture="lombard" + religion="catholic" +} +1044036= +{ + name="Lampertingi" + culture="lombard" + religion="catholic" +} +1044037= +{ + name="Giselbertling" + culture="lombard" + religion="catholic" +} +1044038= +{ + name="Gaiduldling" + culture="lombard" + religion="catholic" +} +1044039= +{ + name="Waldulfingi" + culture="lombard" + religion="catholic" +} +1044041= +{ + name="Romoaldingi" + culture="lombard" + religion="catholic" +} +1044042= +{ + name="Falco" + culture="lombard" + religion="catholic" +} +1044043= +{ + name="Walbertingi" + culture="lombard" + religion="catholic" +} +1044044= +{ + name="Sicard" + culture="lombard" + religion="catholic" + coat_of_arms= + { + data= + { +0 8 0 17 0 0 0 } + religion="catholic" + } +} +1044045= +{ + name="Beleoingi" + culture="lombard" + religion="catholic" +} +1044046= +{ + name="Bavarae" + culture="lombard" + religion="catholic" +} +1044047= +{ + name="Arioldling" + culture="lombard" + religion="catholic" +} +1044048= +{ + name="Harodingian" + culture="lombard" + religion="catholic" +} +1044049= +{ + name="Pandulfingi" + culture="lombard" + religion="catholic" +} +1044050= +{ + name="Billoingi" + culture="lombard" + religion="catholic" +} +1044051= +{ + name="Ansprandling" + culture="lombard" + religion="catholic" +} +1044052= +{ + name="Munichingi" + culture="lombard" + religion="catholic" +} +1044053= +{ + name="Alachisling" + culture="lombard" + religion="catholic" + coat_of_arms= + { + data= + { +0 8 0 7 0 0 0 } + religion="catholic" + } +} +1044054= +{ + name="Sicardling" + culture="lombard" + religion="catholic" +} +1044059= +{ + name="Wechtaringi" + culture="lombard" + religion="catholic" +} +1044060= +{ + name="Ansfridingi" + culture="lombard" + religion="catholic" +} +1044061= +{ + name="Theodingi" + culture="lombard" + religion="catholic" +} +1044062= +{ + name="Giselbertingi" + culture="lombard" + religion="catholic" +} +1044063= +{ + name="Ursingi" + culture="lombard" + religion="catholic" +} +1044064= +{ + name="Ademingi" + culture="lombard" + religion="catholic" +} +1044065= +{ + name="Adalbertingi" + culture="lombard" + religion="catholic" +} +1044066= +{ + name="Walpertingi" + culture="lombard" + religion="catholic" + coat_of_arms= + { + data= + { +0 8 0 25 0 0 0 } + religion="catholic" + } +} +1044067= +{ + name="Tachipertingi" + culture="lombard" + religion="catholic" +} +1044068= +{ + name="Teduericingi" + culture="lombard" + religion="catholic" +} +1044069= +{ + name="Daufingi" + culture="lombard" + religion="catholic" +} +1044070= +{ + name="Rodoaldingi" + culture="lombard" + religion="catholic" +} +1044071= +{ + name="Gandulfingi" + culture="lombard" + religion="catholic" +} +1044072= +{ + name="Maioingi" + culture="lombard" + religion="catholic" +} +1044073= +{ + name="Rodoaldingi" + culture="lombard" + religion="catholic" +} +1044074= +{ + name="Varbertingi" + culture="lombard" + religion="catholic" +} +1044075= +{ + name="Paldoling" + culture="lombard" + religion="catholic" +} +1044076= +{ + name="Tatingi" + culture="lombard" + religion="catholic" +} +1044077= +{ + name="Lambertingi" + culture="lombard" + religion="catholic" +} +1044078= +{ + name="Engelbertingi" + culture="lombard" + religion="catholic" +} +1044079= +{ + name="Liutfredingi" + culture="lombard" + religion="catholic" +} +1044080= +{ + name="Gaidoaldingi" + culture="lombard" + religion="catholic" +} +1044081= +{ + name="Tasoingi" + culture="lombard" + religion="catholic" +} +1044082= +{ + name="Petringi" + culture="lombard" + religion="catholic" +} +1044083= +{ + name="Faroaldingi" + culture="lombard" + religion="catholic" +} +1044084= +{ + name="Liutprandingi" + culture="lombard" + religion="catholic" +} +1044085= +{ + name="Liutprandling" + culture="lombard" + religion="catholic" +} +1044086= +{ + name="Roderissingi" + culture="lombard" + religion="catholic" +} +1044087= +{ + name="Lotharling" + culture="lombard" +} +1044088= +{ + name="Berthilding" + culture="german" + religion="catholic" +} +1044089= +{ + name="Lotharing" + culture="german" + religion="catholic" +} +1044090= +{ + name="Gosberting" + culture="german" + religion="catholic" +} +1044091= +{ + name="Amalricing" + culture="german" + religion="catholic" +} +1022261= +{ + name="Kameniatis" + culture="greek" + religion="orthodox" + coat_of_arms= + { + data= + { +0 4 0 19 0 5 0 } + religion="orthodox" + } +} +1022262= +{ + name="Chameas" + culture="greek" + religion="orthodox" +} +1022263= +{ + name="Demetrianos" + culture="greek" + religion="orthodox" +} +1022264= +{ + name="Laloudios" + culture="greek" + religion="iconoclast" + coat_of_arms= + { + data= + { +0 4 0 30 0 5 0 } + religion="orthodox" + } +} +1022265= +{ + name="Stamopatas" + culture="greek" + religion="orthodox" +} +1022266= +{ + name="Peloponnesites" + culture="greek" + religion="orthodox" +} +1022267= +{ + name="Klados" + culture="greek" + religion="orthodox" +} +1022268= +{ + name="Avastaktos" + culture="greek" + religion="orthodox" + coat_of_arms= + { + data= + { +0 4 0 13 1 5 0 } + religion="orthodox" + } +} +1022269= +{ + name="Lardotyros" + culture="greek" + religion="orthodox" +} +1022270= +{ + name="Kyritzios" + culture="greek" + religion="orthodox" + coat_of_arms= + { + data= + { +0 4 0 12 0 7 0 } + religion="orthodox" + } +} +1022271= +{ + name="Kolovos" + culture="greek" + religion="orthodox" +} +1022272= +{ + name="Podopagouros" + culture="greek" + religion="orthodox" +} +1022273= +{ + name="Touvakes" + culture="greek" + religion="iconoclast" + coat_of_arms= + { + data= + { +0 4 0 15 3 1 0 } + religion="orthodox" + } +} +1022274= +{ + name="Peteinakes" + culture="greek" + religion="orthodox" +} +1022275= +{ + name="Ooryphas" + culture="greek" + religion="orthodox" + coat_of_arms= + { + data= + { +0 0 0 34 0 7 0 } + religion="orthodox" + } +} +1022276= +{ + name="Myxares" + culture="greek" + religion="iconoclast" +} +1022277= +{ + name="Toxias" + culture="greek" + religion="iconoclast" +} +1022278= +{ + name="Bardouchos" + culture="greek" + religion="orthodox" +} +1022279= +{ + name="Boilas" + culture="greek" + religion="orthodox" + coat_of_arms= + { + data= + { +0 4 0 14 1 6 0 } + religion="orthodox" + } +} +1022280= +{ + name="Skepides" + culture="greek" + religion="orthodox" +} +1022281= +{ + name="Mamoulianos" + culture="greek" + religion="orthodox" +} +1022282= +{ + name="Katakylas" + culture="greek" + religion="orthodox" + coat_of_arms= + { + data= + { +0 4 0 42 1 5 0 } + religion="orthodox" + } +} +1022283= +{ + name="Drakokephalos" + culture="greek" + religion="orthodox" +} +1022284= +{ + name="Rentakes" + culture="greek" + religion="orthodox" +} +1022285= +{ + name="Exarchos" + culture="greek" + religion="orthodox" +} +1022286= +{ + name="Skepastos" + culture="greek" + religion="orthodox" +} +1022287= +{ + name="Kyminas" + culture="greek" + religion="iconoclast" +} +1022288= +{ + name="Krasas" + culture="greek" + religion="orthodox" +} +1022289= +{ + name="Konstantinakes" + culture="greek" + religion="orthodox" +} +1022290= +{ + name="Mouzelis" + culture="greek" + religion="orthodox" +} +1022291= +{ + name="Souanites" + culture="greek" + religion="orthodox" +} +1022292= +{ + name="Karteroukas" + culture="greek" + religion="orthodox" +} +1022293= +{ + name="Machairas" + culture="greek" + religion="orthodox" +} +1022294= +{ + name="Koutzodaktylos" + culture="greek" + religion="orthodox" +} +1022295= +{ + name="Kanakaris" + culture="greek" + religion="catholic" +} +1022296= +{ + name="Vamvaloudes" + culture="greek" + religion="orthodox" +} +1022297= +{ + name="Leontares" + culture="greek" + religion="orthodox" + coat_of_arms= + { + data= + { +0 0 0 45 1 5 0 } + religion="orthodox" + } +} +1022298= +{ + name="Klokas" + culture="greek" + religion="orthodox" +} +1022299= +{ + name="Axiotes" + culture="greek" + religion="orthodox" + coat_of_arms= + { + data= + { +0 4 0 13 5 1 0 } + religion="orthodox" + } +} +1022300= +{ + name="Chrysouchos" + culture="greek" + religion="orthodox" +} +1022301= +{ + name="Pyrrogenes" + culture="greek" + religion="orthodox" +} +1022302= +{ + name="Kophinas" + culture="greek" + religion="orthodox" + coat_of_arms= + { + data= + { +0 0 0 22 5 1 0 } + religion="orthodox" + } +} +1022303= +{ + name="Makroleon" + culture="greek" + religion="orthodox" +} +1022304= +{ + name="Kalopragmon" + culture="greek" + religion="orthodox" +} +1022305= +{ + name="Karphitzes" + culture="greek" + religion="orthodox" +} +1022306= +{ + name="Trichares" + culture="greek" + religion="orthodox" +} +1022307= +{ + name="Kokkalos" + culture="greek" + religion="orthodox" +} +1022308= +{ + name="Kritharatos" + culture="greek" + religion="orthodox" +} +1022309= +{ + name="Kretikos" + culture="greek" + religion="orthodox" +} +1022310= +{ + name="Tourkos" + culture="greek" + religion="orthodox" +} +1022311= +{ + name="Symvatikes" + culture="greek" + religion="orthodox" +} +1022312= +{ + name="Glykomachaires" + culture="greek" + religion="orthodox" +} +1022313= +{ + name="Chrysochoos" + culture="greek" + religion="orthodox" +} +1022314= +{ + name="Neapolites" + culture="greek" + religion="iconoclast" + coat_of_arms= + { + data= + { +0 8 0 28 0 0 0 } + religion="catholic" + } +} +1022315= +{ + name="Amalfinos" + culture="greek" + religion="catholic" +} +1022316= +{ + name="Vonos" + culture="greek" + religion="iconoclast" +} +1022317= +{ + name="Mystakon" + culture="greek" + religion="orthodox" +} +1022318= +{ + name="Pterotos" + culture="greek" + religion="orthodox" +} +1022319= +{ + name="Monotes" + culture="greek" + religion="orthodox" + coat_of_arms= + { + data= + { +0 4 0 44 1 6 0 } + religion="orthodox" + } +} +1022320= +{ + name="Zerkis" + culture="italian" + religion="catholic" +} +1022321= +{ + name="Oristani" + culture="italian" + religion="catholic" +} +1022322= +{ + name="Sorrenti" + culture="italian" + religion="catholic" +} +1022323= +{ + name="Ravelli" + culture="italian" + religion="catholic" +} +1022324= +{ + name="Manginos" + culture="greek" + religion="catholic" +} +1022325= +{ + name="Gaulo" + culture="italian" + religion="catholic" +} +1022326= +{ + name="Monegario" + culture="italian" + religion="catholic" +} +1022327= +{ + name="Galbaio" + culture="italian" + religion="catholic" +} +1022328= +{ + name="Antenoreo" + culture="italian" + religion="catholic" +} +1022329= +{ + name="Kalavros" + culture="greek" + religion="iconoclast" +} +1022330= +{ + name="Sikelos" + culture="greek" + religion="orthodox" +} +1022331= +{ + name="Ukil" + culture="bolghar" + religion="tengri_pagan" + coat_of_arms= + { + data= + { +0 8 0 19 0 0 0 } + religion="catholic" + } +} +1022332= +{ + name="Bilig" + culture="bolghar" + religion="tengri_pagan" +} +1046000= +{ + name="Nadirid" + culture="bedouin_arabic" + religion="sunni" +} +1046001= +{ + name="Nusayrid" + culture="bedouin_arabic" + religion="sunni" +} +1046002= +{ + name="Suleymanid" + culture="bedouin_arabic" + religion="sunni" +} +1046003= +{ + name="Hakamid" + culture="bedouin_arabic" + religion="sunni" +} +1046004= +{ + name="Saadid" + culture="bedouin_arabic" + religion="sunni" +} +1046005= +{ + name="Arabid" + culture="bedouin_arabic" + religion="sunni" +} +1046006= +{ + name="Ruaynid" + culture="bedouin_arabic" + religion="sunni" +} +1046007= +{ + name="Medinid" + culture="bedouin_arabic" + religion="sunni" +} +1046008= +{ + name="Ladrón de Guevara" + culture="basque" + religion="catholic" +} +1046009= +{ + name="de Pamplona" + culture="basque" + religion="catholic" +} +1046010= +{ + name="de Arrosta" + culture="basque" + religion="catholic" +} +1044300= +{ + name="Varman" + culture="hindustani" + religion="hindu" +} +1044301= +{ + name="Ayudha" + culture="hindustani" + religion="hindu" +} +1044302= +{ + name="Yadava" + culture="hindustani" + religion="hindu" +} +1044303= +{ + name="Kuru" + culture="hindustani" + religion="hindu" +} +1044304= +{ + name="Matsya" + culture="hindustani" + religion="hindu" +} +1044305= +{ + name="Madra" + culture="panjabi" + religion="hindu" +} +1044306= +{ + name="Gujar" + culture="rajput" + religion="hindu" +} +1044307= +{ + name="Burdak" + culture="rajput" + religion="hindu" +} +1044308= +{ + name="Gahirawar" + culture="hindustani" + religion="hindu" +} +1044309= +{ + name="Kalachuri" + culture="hindustani" + religion="hindu" +} +1044310= +{ + name="Rashtrakuta" + culture="hindustani" + religion="hindu" + coat_of_arms= + { + data= + { +0 0 0 34 0 10 10 } + religion="jain" + } +} +1044311= +{ + name="Karnata" + culture="bengali" + religion="hindu" + coat_of_arms= + { + data= + { +0 0 0 11 8 13 13 } + religion="hindu" + } +} +1044312= +{ + name="Chikore" + culture="bengali" + religion="buddhist" +} +1044313= +{ + name="Pihiti" + culture="bengali" + religion="buddhist" +} +1044314= +{ + name="Sailodbhava" + culture="oriya" + religion="buddhist" + coat_of_arms= + { + data= + { +0 0 0 17 12 1 2 } + religion="jain" + } +} +1044315= +{ + name="Bala-Vallabhi" + culture="bengali" + religion="buddhist" +} +1044316= +{ + name="Shura" + culture="bengali" + religion="hindu" +} +1044317= +{ + name="Tailakampa" + culture="bengali" + religion="buddhist" +} +1044318= +{ + name="Kausambi" + culture="bengali" + religion="buddhist" +} +1044319= +{ + name="Kayarigal" + culture="bengali" + religion="buddhist" +} +1044320= +{ + name="Munda" + culture="bengali" + religion="hindu" + coat_of_arms= + { + data= + { +0 1 0 32 10 0 0 } + religion="hindu" + } +} +1044321= +{ + name="Gupta" + culture="bengali" + religion="hindu" +} +1044322= +{ + name="Khadga" + culture="bengali" + religion="buddhist" +} +1044323= +{ + name="Visayapati" + culture="bengali" + religion="buddhist" +} +1044324= +{ + name="Malla" + culture="bengali" + religion="hindu" + coat_of_arms= + { + data= + { +0 0 0 6 13 11 2 } + religion="hindu" + } +} +1044325= +{ + name="Mana" + culture="bengali" +} +1044326= +{ + name="Ranaka" + culture="bengali" + religion="hindu" +} +1044327= +{ + name="Gupta" + culture="bengali" +} +1044328= +{ + name="Khayarwala" + culture="bengali" +} +1044329= +{ + name="Chero" + culture="bengali" +} +1044330= +{ + name="Sena" + culture="bengali" + religion="hindu" +} +1044331= +{ + name="Gaya" + culture="bengali" + religion="buddhist" + coat_of_arms= + { + data= + { +0 0 0 28 2 0 0 } + religion="buddhist" + } +} +1044332= +{ + name="Nagavamsi" + culture="oriya" + religion="hindu" +} +1044333= +{ + name="Nagavamsi" + culture="oriya" + religion="hindu" + coat_of_arms= + { + data= + { +0 0 0 26 0 6 12 } + religion="hindu" + } +} +1044334= +{ + name="Bhanja" + culture="oriya" + religion="hindu" + coat_of_arms= + { + data= + { +0 0 0 32 13 8 6 } + religion="hindu" + } +} +1044335= +{ + name="Malayaketu" + culture="hindustani" + religion="hindu" +} +1044336= +{ + name="Mana" + culture="hindustani" + religion="hindu" +} +1044337= +{ + name="Chanda" + culture="hindustani" + religion="hindu" + coat_of_arms= + { + data= + { +0 0 0 33 8 5 3 } + religion="hindu" + } +} +1044338= +{ + name="Haihaya" + culture="hindustani" + religion="hindu" + coat_of_arms= + { + data= + { +0 1 0 24 4 13 13 } + religion="hindu" + } +} +1044339= +{ + name="Rashtrakuta" + culture="marathi" + religion="hindu" + coat_of_arms= + { + data= + { +0 0 0 34 0 10 10 } + religion="jain" + } +} +1044340= +{ + name="Malviya" + culture="marathi" + religion="jain" + coat_of_arms= + { + data= + { +0 0 0 20 3 0 9 } + religion="jain" + } +} +1044341= +{ + name="Karhade" + culture="kannada" + religion="hindu" +} +1044342= +{ + name="Sailavamsa" + culture="hindustani" + religion="hindu" +} +1044343= +{ + name="Khayarwala" + culture="bengali" + religion="hindu" +} +1044344= +{ + name="Singara" + culture="hindustani" + religion="hindu" +} +1044345= +{ + name="Gupta" + culture="bengali" + religion="hindu" +} +1044346= +{ + name="Mana" + culture="bengali" + religion="hindu" + coat_of_arms= + { + data= + { +0 1 0 35 13 6 10 } + religion="hindu" + } +} +1044347= +{ + name="Gopala" + culture="hindustani" + religion="hindu" +} +1044348= +{ + name="Matsya" + culture="oriya" + religion="hindu" + coat_of_arms= + { + data= + { +0 0 0 26 5 8 0 } + religion="hindu" + } +} +1044349= +{ + name="Baghela" + culture="hindustani" + religion="hindu" + coat_of_arms= + { + data= + { +0 0 0 33 5 0 0 } + religion="hindu" + } +} +1044350= +{ + name="Baland" + culture="hindustani" + religion="hindu" + coat_of_arms= + { + data= + { +0 0 0 33 4 5 0 } + religion="hindu" + } +} +1044351= +{ + name="Bundela" + culture="hindustani" + religion="hindu" + coat_of_arms= + { + data= + { +0 0 0 2 0 5 0 } + religion="hindu" + } +} +1044352= +{ + name="Rajgond" + culture="hindustani" + religion="hindu" + coat_of_arms= + { + data= + { +0 0 0 14 2 1 1 } + religion="hindu" + } +} +1044353= +{ + name="Bhar" + culture="hindustani" + religion="hindu" +} +1044354= +{ + name="Sonhat" + culture="hindustani" + religion="hindu" +} +1044355= +{ + name="Rajrappa" + culture="bengali" + religion="jain" + coat_of_arms= + { + data= + { +0 0 0 26 0 7 12 } + religion="jain" + } +} +1044356= +{ + name="Deva" + culture="bengali" + religion="hindu" + coat_of_arms= + { + data= + { +0 1 0 25 13 3 3 } + religion="hindu" + } +} +1044357= +{ + name="Pattikara" + culture="bengali" + religion="buddhist" +} +1044358= +{ + name="Deva" + culture="bengali" + religion="hindu" + coat_of_arms= + { + data= + { +0 0 0 30 12 1 0 } + religion="hindu" + } +} +1044359= +{ + name="Khadi" + culture="bengali" + religion="hindu" +} +1044360= +{ + name="Chhinda" + culture="rajput" + religion="hindu" +} +1044361= +{ + name="Ahom" + culture="assamese" + religion="hindu" + coat_of_arms= + { + data= + { +0 0 0 6 10 9 0 } + religion="hindu" + } +} +1044362= +{ + name="Khen" + culture="assamese" + religion="hindu" + coat_of_arms= + { + data= + { +0 1 0 12 3 13 0 } + religion="hindu" + } +} +1044363= +{ + name="Sutiya" + culture="assamese" + religion="hindu" + coat_of_arms= + { + data= + { +0 0 0 11 2 1 13 } + religion="hindu" + } +} +1044364= +{ + name="Kachari" + culture="assamese" + religion="hindu" + coat_of_arms= + { + data= + { +0 1 0 9 1 10 3 } + religion="hindu" + } +} +1044365= +{ + name="Barobhyan" + culture="assamese" + religion="hindu" + coat_of_arms= + { + data= + { +0 0 0 16 1 3 4 } + religion="hindu" + } +} +1042122= +{ + name="Banu Tamim" + culture="bedouin_arabic" + religion="sunni" +} +1042125= +{ + name="Barmakid" + culture="persian" + religion="sunni" +} +1042127= +{ + name="Banu Taghlib" + culture="levantine_arabic" + religion="sunni" +} +1042128= +{ + name="Kermanibid" + culture="kurdish" + religion="sunni" +} +1042129= +{ + name="Bebadid" + culture="kurdish" + religion="sunni" +} +1042130= +{ + name="Oromid" + culture="kurdish" + religion="sunni" +} +1042131= +{ + name="Kirkukbid" + culture="kurdish" + religion="sunni" +} +1042113= +{ + name="Kilabid" + culture="bedouin_arabic" + religion="sunni" +} +1042114= +{ + name="Kufahyid" + culture="bedouin_arabic" + religion="sunni" +} +1042121= +{ + name="Abd al-Qays" + culture="bedouin_arabic" + religion="sunni" +} +1042112= +{ + name="Afrighid" + culture="persian" + religion="zoroastrian" +} +1042103= +{ + name="Kindah" + culture="bedouin_arabic" + religion="sunni" +} +1042104= +{ + name="Nandin" + culture="afghan" + religion="buddhist" +} +1042105= +{ + name="Trailokyadevi" + culture="afghan" + religion="buddhist" +} +1042106= +{ + name="Nagar" + culture="afghan" + religion="buddhist" +} +1042107= +{ + name="Varna" + culture="panjabi" + religion="buddhist" +} +1042108= +{ + name="Kunduz" + culture="afghan" + religion="buddhist" +} +1042109= +{ + name="Bamiyan" + culture="afghan" + religion="buddhist" +} +1046012= +{ + name="Arias" + culture="portuguese" + religion="catholic" +} +1046027= +{ + name="Nefudid" + culture="bedouin_arabic" + religion="sunni" +} +1046028= +{ + name="Djazairid" + culture="maghreb_arabic" + religion="sunni" +} +1046029= +{ + name="Yahsubid" + culture="bedouin_arabic" + religion="sunni" +} +1046020= +{ + name="Karimid" + culture="maghreb_arabic" + religion="sunni" +} +1046021= +{ + name="Fezzid" + culture="maghreb_arabic" + religion="sunni" +} +1046022= +{ + name="Atlasid" + culture="maghreb_arabic" + religion="sunni" +} +1046023= +{ + name="Saqlabid" + culture="bedouin_arabic" + religion="sunni" +} +1046024= +{ + name="Qashid" + culture="bedouin_arabic" + religion="sunni" +} +1046025= +{ + name="Theodoricciana" + culture="visigothic" + religion="catholic" +} +1046026= +{ + name="Petrid" + culture="bedouin_arabic" + religion="sunni" +} +1046030= +{ + name="Erwigiana" + culture="visigothic" +} +1046031= +{ + name="Kindasuinthiana" + culture="visigothic" +} +1046032= +{ + name="Khintiliana" + culture="visigothic" + religion="catholic" +} +1046033= +{ + name="Lywigildiana" + culture="visigothic" + religion="catholic" +} +1046034= +{ + name="Sesebutiana" + culture="visigothic" + religion="catholic" +} +1046035= +{ + name="Balthes" + culture="visigothic" + religion="catholic" +} +1042133= +{ + name="Midhhalbid" + culture="bedouin_arabic" + religion="sunni" +} +1042134= +{ + name="Jiskani" + culture="baloch" + religion="zoroastrian" +} +1042135= +{ + name="Kalmati" + culture="baloch" + religion="zoroastrian" +} +1042136= +{ + name="Mugheri" + culture="baloch" + religion="zoroastrian" +} +1042137= +{ + name="Amrubid" + culture="bedouin_arabic" + religion="sunni" +} +1042138= +{ + name="Neisany" + culture="persian" + religion="zoroastrian" +} +1044098= +{ + name="Hardrading" + culture="german" + religion="catholic" +} +1044099= +{ + name="Hetanid" + culture="old_frankish" + religion="catholic" +} +1044100= +{ + name="Emichid" + culture="old_frankish" + religion="catholic" + coat_of_arms= + { + data= + { +0 0 0 21 0 7 0 } + religion="catholic" + } +} +1046011= +{ + name="von Argengau" + culture="old_frankish" + religion="catholic" +} +1040010= +{ + name="Mac Loairn" + culture="scottish" + religion="catholic" +} +1040011= +{ + name="Uib" + culture="pictish" + religion="pagan" + coat_of_arms= + { + data= + { +0 8 0 4 0 0 0 } + religion="catholic" + } +} +1040012= +{ + name="Uerturio" + culture="pictish" + religion="pagan" +} +1040013= +{ + name="Mac Comgaill" + culture="scottish" + religion="catholic" +} +1040014= +{ + name="Cait" + culture="pictish" + religion="catholic" +} +1040015= +{ + name="Uedola" + culture="pictish" + religion="catholic" +} +1040016= +{ + name="Uuidoch" + culture="pictish" + religion="catholic" +} +1040017= +{ + name="Ce" + culture="pictish" + religion="catholic" +} +1040018= +{ + name="Circinn" + culture="pictish" + religion="catholic" + coat_of_arms= + { + data= + { +0 8 0 16 0 0 0 } + religion="catholic" + } +} +1040019= +{ + name="Orc" + culture="pictish" + religion="catholic" +} +1040020= +{ + name="Caliu" + culture="pictish" + religion="catholic" +} +1042111= +{ + name="Kaikanite" + culture="afghan" + religion="buddhist" +} +1042132= +{ + name="Uqqid" + culture="persian" + religion="ibadi" +} +1042146= +{ + name="Nutkani" + culture="baloch" + religion="zoroastrian" +} +1022355= +{ + name="Rshtuni" + culture="armenian" + religion="miaphysite" +} +1022356= +{ + name="Mislavic" + culture="serbian" + religion="slavic_pagan" +} +1022357= +{ + name="Sulamid" + culture="bedouin_arabic" + religion="sunni" +} +1022358= +{ + name="Kindid" + culture="bedouin_arabic" + religion="sunni" +} +1022359= +{ + name="Hajurid" + culture="bedouin_arabic" + religion="sunni" +} +1022360= +{ + name="Subaid" + culture="levantine_arabic" + religion="sunni" +} +1022361= +{ + name="Marwazid" + culture="persian" + religion="sunni" +} +1022362= +{ + name="Armanid" + culture="levantine_arabic" + religion="sunni" +} +1022363= +{ + name="Murrid" + culture="kurdish" + religion="sunni" +} +1022364= +{ + name="Harashid" + culture="bedouin_arabic" + religion="sunni" +} +1022365= +{ + name="Addauid" + culture="levantine_arabic" + religion="sunni" +} +1022366= +{ + name="Taglibid" + culture="bedouin_arabic" + religion="sunni" +} +1022367= +{ + name="Hadarid" + culture="levantine_arabic" + religion="sunni" +} +1042124= +{ + name="Farghanad" + culture="karluk" + religion="sunni" +} +1042147= +{ + name="Bajanid" + culture="bedouin_arabic" + religion="sunni" +} +1042148= +{ + name="Muqannid" + culture="persian" + religion="mazdaki" +} +1042149= +{ + name="Harashid" + culture="turkish" + religion="sunni" +} +1042150= +{ + name="Hunabid" + culture="bedouin_arabic" + religion="sunni" +} +1042151= +{ + name="Simsek" + culture="turkish" + religion="manichean" +} +1022368= +{ + name="Khazbek" + culture="avar" + religion="tengri_pagan" + coat_of_arms= + { + data= + { +0 8 0 18 0 0 0 } + religion="catholic" + } +} +1022369= +{ + name="Yantsukh" + culture="avar" + religion="tengri_pagan" + coat_of_arms= + { + data= + { +0 8 0 24 0 0 0 } + religion="catholic" + } +} +1022370= +{ + name="Ghidatli" + culture="avar" +} +1022371= +{ + name="Gumbekh" + culture="avar" +} +1022372= +{ + name="Kharoda" + culture="avar" +} +1022373= +{ + name="Ghunib" + culture="avar" +} +1022374= +{ + name="Yandalal" + culture="avar" +} +1022375= +{ + name="Tsumadal" + culture="avar" +} +1022376= +{ + name="Tsuntab" + culture="avar" +} +1046017= +{ + name="de Suebennia" + culture="visigothic" + religion="catholic" +} +1046018= +{ + name="de Pedernales" + culture="visigothic" + religion="catholic" +} +1046019= +{ + name="de Ruscino" + culture="visigothic" + religion="catholic" +} +1046013= +{ + name="Musavid" + culture="andalusian_arabic" + religion="sunni" +} +1046014= +{ + name="Yusufid" + culture="andalusian_arabic" + religion="sunni" +} +1046015= +{ + name="Abdelrahmanid" + culture="andalusian_arabic" + religion="sunni" +} +1046016= +{ + name="Qutalanid" + culture="andalusian_arabic" + religion="sunni" +} +1044105= +{ + name="Theodericing" + culture="old_saxon" + religion="norse_pagan" + coat_of_arms= + { + data= + { +0 8 0 14 0 0 0 } + religion="catholic" + } +} +1044106= +{ + name="Richfriding" + culture="old_saxon" + religion="norse_pagan" +} +1044107= +{ + name="Abonid" + culture="old_saxon" + religion="norse_pagan" +} +1044108= +{ + name="Smeldiging" + culture="old_saxon" + religion="norse_pagan" +} +1044109= +{ + name="Unwanid" + culture="old_saxon" + religion="norse_pagan" +} +1044110= +{ + name="Hessing" + culture="old_saxon" + religion="norse_pagan" +} +1042141= +{ + name="of Khoz" + culture="persian" + religion="mazdaki" +} +1042142= +{ + name="Tamimi" + culture="bedouin_arabic" + religion="sunni" +} +1042143= +{ + name="Surena" + culture="persian" + religion="zoroastrian" +} +1042144= +{ + name="Andigan" + culture="persian" + religion="zoroastrian" +} +1042145= +{ + name="Waraz" + culture="persian" + religion="zoroastrian" +} +1044366= +{ + name="Ruddha" + culture="marathi" + religion="hindu" +} +1044367= +{ + name="Chauhan" + culture="rajput" + religion="hindu" +} +1044368= +{ + name="Maitraka" + culture="gujurati" + religion="hindu" +} +1044369= +{ + name="Varahas" + culture="gujurati" + religion="hindu" +} +1044370= +{ + name="Chawda" + culture="gujurati" + religion="hindu" +} +1044371= +{ + name="Calukya" + culture="gujurati" + religion="hindu" +} +1044372= +{ + name="Solanki" + culture="gujurati" + religion="hindu" +} +1044373= +{ + name="Sankhyavat" + culture="gujurati" + religion="jain" +} +1044374= +{ + name="Chaulukya" + culture="hindustani" + religion="hindu" +} +1044375= +{ + name="Jadon" + culture="hindustani" + religion="hindu" + coat_of_arms= + { + data= + { +0 1 0 24 2 1 0 } + religion="hindu" + } +} +1044376= +{ + name="Surasena" + culture="hindustani" + religion="hindu" +} +1044377= +{ + name="Dahiya" + culture="hindustani" + religion="hindu" +} +1044378= +{ + name="Mir" + culture="hindustani" + religion="sunni" + coat_of_arms= + { + data= + { +0 1 0 39 11 12 1 } + religion="sunni" + } +} +1044379= +{ + name="Rashtrakuta" + culture="rajput" + religion="hindu" + coat_of_arms= + { + data= + { +0 0 0 34 0 10 10 } + religion="jain" + } +} +1044380= +{ + name="Panwar" + culture="rajput" + religion="hindu" +} +1044381= +{ + name="Toghril" + culture="turkish" + religion="sunni" +} +1044382= +{ + name="Yayvapala" + culture="hindustani" + religion="hindu" +} +1044383= +{ + name="Kachwaha" + culture="rajput" + religion="hindu" + coat_of_arms= + { + data= + { +0 0 0 9 4 13 13 } + religion="hindu" + } +} +1044384= +{ + name="Bargujar" + culture="rajput" + religion="hindu" +} +1044385= +{ + name="Kacchapaghata" + culture="rajput" + religion="hindu" +} +1044386= +{ + name="Guhilot" + culture="rajput" + religion="hindu" +} +1044387= +{ + name="Rashtrakuta" + culture="hindustani" + religion="hindu" + coat_of_arms= + { + data= + { +0 0 0 34 0 10 10 } + religion="jain" + } +} +1044388= +{ + name="Rathore" + culture="rajput" + religion="hindu" + coat_of_arms= + { + data= + { +0 0 0 17 1 3 7 } + religion="hindu" + } +} +1044389= +{ + name="Multani" + culture="turkish" + religion="sunni" + coat_of_arms= + { + data= + { +0 1 0 39 0 5 8 } + religion="sunni" + } +} +1044390= +{ + name="Hada" + culture="rajput" + religion="hindu" + coat_of_arms= + { + data= + { +0 1 0 31 13 5 7 } + religion="hindu" + } +} +1044391= +{ + name="Dahiya" + culture="rajput" + religion="hindu" +} +1044392= +{ + name="Khichar" + culture="hindustani" + religion="hindu" +} +1044393= +{ + name="Saindhava" + culture="panjabi" + religion="hindu" +} +1044394= +{ + name="Takkavishaya" + culture="panjabi" + religion="hindu" +} +1044395= +{ + name="Naru" + culture="panjabi" + religion="hindu" +} +1044396= +{ + name="Gakhkar" + culture="panjabi" + religion="hindu" + coat_of_arms= + { + data= + { +0 1 0 2 9 5 5 } + religion="hindu" + } +} +1044397= +{ + name="Gautam" + culture="hindustani" + religion="hindu" +} + +1022377= +{ + name="Bukhal" + culture="khazar" + religion="tengri_pagan" +} +1022378= +{ + name="Tzul" + culture="khazar" + religion="jewish" +} +1022379= +{ + name="Vakrimal" + culture="khazar" + religion="tengri_pagan" +} +1022380= +{ + name="Samsamakh" + culture="khazar" + religion="tengri_pagan" +} +1022381= +{ + name="Karadakhu" + culture="khazar" + religion="tengri_pagan" +} +1022382= +{ + name="Yabghumakh" + culture="khazar" + religion="tengri_pagan" +} +1022383= +{ + name="Zmbalani" + culture="alan" + religion="tengri_pagan" +} +1022384= +{ + name="Sathisi" + culture="alan" + religion="tengri_pagan" +} +1022385= +{ + name="Totrazi" + culture="alan" + religion="tengri_pagan" +} +1022386= +{ + name="Jenö" + culture="hungarian" + religion="tengri_pagan" +} +1022387= +{ + name="Kér" + culture="hungarian" + religion="tengri_pagan" +} +1022388= +{ + name="Keszi" + culture="hungarian" + religion="tengri_pagan" +} +1022389= +{ + name="Kürt" + culture="hungarian" + religion="tengri_pagan" +} +1022390= +{ + name="Gyarmat" + culture="hungarian" + religion="tengri_pagan" +} +1022391= +{ + name="Megyer" + culture="hungarian" + religion="tengri_pagan" +} +1022392= +{ + name="Nyék" + culture="hungarian" + religion="tengri_pagan" +} +1022393= +{ + name="Tarján" + culture="hungarian" + religion="tengri_pagan" +} +1042110= +{ + name="Zunbil" + culture="afghan" + religion="zun_pagan" + coat_of_arms= + { + data= + { +0 8 0 51 0 0 0 } + religion="catholic" + } +} +1042156= +{ + name="Jindin" + culture="afghan" + religion="zun_pagan" +} +1042157= +{ + name="Zarbil" + culture="afghan" + religion="zun_pagan" +} +1044111= +{ + name="Louping" + culture="occitan" + religion="catholic" + coat_of_arms= + { + data= + { +0 8 0 15 0 0 0 } + religion="catholic" + } +} +1044112= +{ + name="Bertranding" + culture="occitan" + religion="catholic" +} +1044113= +{ + name="Burgunding" + culture="occitan" + religion="catholic" +} +1044114= +{ + name="Stephanid" + culture="occitan" + religion="catholic" +} +1044115= +{ + name="Abbonid" + culture="occitan" + religion="catholic" +} +1044116= +{ + name="Nibelunging" + culture="old_frankish" + religion="catholic" + coat_of_arms= + { + data= + { +0 8 0 26 0 0 0 } + religion="catholic" + } +} +1044117= +{ + name="Erenolding" + culture="old_frankish" + religion="catholic" +} +1044118= +{ + name="Begonid" + culture="visigothic" + religion="catholic" +} +1044119= +{ + name="Hugonid" + culture="old_frankish" + religion="catholic" +} +1042158= +{ + name="Makkid" + culture="bedouin_arabic" + religion="sunni" +} +1042159= +{ + name="Pavehid" + culture="kurdish" + religion="sunni" +} +1042160= +{ + name="Aligoodarzid" + culture="persian" + religion="sunni" +} +1042161= +{ + name="Khurramid" + culture="persian" + religion="zoroastrian" +} +1042162= +{ + name="Rawandi" + culture="persian" + religion="mazdaki" +} +1042163= +{ + name="Ishaqid" + culture="persian" + religion="zoroastrian" +} +1042164= +{ + name="Yufirid" + culture="bedouin_arabic" + religion="sunni" +} +1042165= +{ + name="Ziyadid" + culture="bedouin_arabic" + religion="sunni" +} +1042166= +{ + name="Hashid" + culture="bedouin_arabic" + religion="sunni" +} +1042167= +{ + name="Bakil" + culture="bedouin_arabic" + religion="sunni" +} +1042168= +{ + name="Modharite" + culture="bedouin_arabic" + religion="shiite" +} +1042169= +{ + name="Kathirid" + culture="bedouin_arabic" + religion="sunni" +} +1042170= +{ + name="Arwadid" + culture="bedouin_arabic" + religion="sunni" +} +1048001= +{ + name="Muhallabid" + culture="bedouin_arabic" + religion="sunni" +} +1048002= +{ + name="Tujibid" + culture="egyptian_arabic" + religion="sunni" +} +1048003= +{ + name="Malzuzi" + culture="maghreb_arabic" + religion="ibadi" +} +1048004= +{ + name="Ifrinid" + culture="maghreb_arabic" + religion="ibadi" +} +1048005= +{ + name="Midrarid" + culture="maghreb_arabic" + religion="ibadi" +} +1048006= +{ + name="Azimid" + culture="maghreb_arabic" + religion="sunni" +} +1048007= +{ + name="Awzalid" + culture="maghreb_arabic" + religion="sunni" +} +1048008= +{ + name="Kamalid" + culture="maghreb_arabic" + religion="ibadi" +} +1048009= +{ + name="Rahmanid" + culture="maghreb_arabic" + religion="ibadi" +} +1048010= +{ + name="Hamadid" + culture="maghreb_arabic" + religion="ibadi" +} +1048011= +{ + name="Masmudid" + culture="maghreb_arabic" + religion="shiite" +} +1048012= +{ + name="Mahtarid" + culture="maghreb_arabic" + religion="west_african_pagan" +} +1042171= +{ + name="of Zarma" + culture="manden" + religion="west_african_pagan" +} +1042172= +{ + name="of Gurma" + culture="manden" + religion="west_african_pagan" +} +1042173= +{ + name="of Djenne" + culture="manden" + religion="west_african_pagan" +} +1042174= +{ + name="of Bambuk" + culture="manden" + religion="west_african_pagan" +} +1042175= +{ + name="Ezekoye" + culture="manden" + religion="west_african_pagan" +} +1042176= +{ + name="Sahara" + culture="manden" + religion="west_african_pagan" +} +1042177= +{ + name="Ofodike" + culture="maghreb_arabic" + religion="west_african_pagan" +} +1042178= +{ + name="Idjili" + culture="maghreb_arabic" + religion="west_african_pagan" +} +1042179= +{ + name="Cabaonid" + culture="maghreb_arabic" + religion="west_african_pagan" +} +1042180= +{ + name="Masuna" + culture="maghreb_arabic" + religion="west_african_pagan" +} +1042123= +{ + name="Marwarrudhid" + culture="persian" + religion="sunni" +} +1042126= +{ + name="Azdid" + culture="persian" + religion="sunni" +} +1042152= +{ + name="Dabbid" + culture="bedouin_arabic" + religion="sunni" +} +1042153= +{ + name="Kirazid" + culture="turkish" + religion="sunni" +} +1042154= +{ + name="Sijistani" + culture="persian" + religion="sunni" +} +1042155= +{ + name="Amrid" + culture="bedouin_arabic" + religion="sunni" +} +1047001= +{ + name="Wihtgilsing" + culture="saxon" + religion="norse_pagan" +} +1042181= +{ + name="Azd Umanid" + culture="bedouin_arabic" + religion="ibadi" +} +1042182= +{ + name="Yahmad" + culture="bedouin_arabic" + religion="ibadi" +} +1042183= +{ + name="Banu Nabhan" + culture="bedouin_arabic" + religion="ibadi" +} +1042184= +{ + name="Azd Dabid" + culture="bedouin_arabic" + religion="ibadi" +} +1046036= +{ + name="de Theville" + culture="norman" + religion="catholic" +} +1047000= +{ + name="Wuffing" + culture="saxon" + religion="norse_pagan" + coat_of_arms={ + data={0 2 0 35 3 1 1 } + religion="catholic" } +} +1047002= +{ + name="Iceling" + culture="saxon" + religion="norse_pagan" + coat_of_arms= + { + data= + { +0 8 0 2 0 0 0 } + religion="catholic" + } +} +1047003= +{ + name="Coenwalhing" + culture="saxon" + religion="norse_pagan" +} +1047004= +{ + name="Wiglafing" + culture="saxon" + religion="catholic" +} +1047005= +{ + name="Beorning" + culture="saxon" + religion="catholic" +} +1044101= +{ + name="Hugonid" + culture="old_frankish" + religion="catholic" +} +1044102= +{ + name="Dodonid" + culture="old_frankish" + religion="catholic" +} +1044103= +{ + name="Theodnid" + culture="old_frankish" + religion="catholic" +} +1044104= +{ + name="Charibertid" + culture="old_frankish" + religion="catholic" +} +9300= +{ + name="Riculfling" + culture="old_frankish" + religion="catholic" +} +9615= +{ + name="de Toledo" + culture="castillan" +} +9616= +{ + name="of Burgundy" + culture="frankish" + religion="catholic" +} +9617= +{ + name="Amaling" + culture="german" + religion="norse_pagan" +} +9618= +{ + name="Hasding" + culture="german" + religion="norse_pagan" +} +9306= +{ + name="Bouvinid" + culture="old_frankish" + religion="catholic" +} +9307= +{ + name="de Landen" + culture="old_frankish" + religion="catholic" +} +9308= +{ + name="Adalberts" + culture="old_frankish" + religion="catholic" +} +9309= +{ + name="Laidrati" + culture="old_frankish" + religion="catholic" +} +9310= +{ + name="Chiemgaudson" + culture="old_frankish" + religion="catholic" +} +9311= +{ + name="Hildegars" + culture="old_frankish" + religion="catholic" +} +9312= +{ + name="Leudoni" + culture="old_frankish" + religion="catholic" +} +9313= +{ + name="Adelards" + culture="old_frankish" + religion="catholic" +} +9314= +{ + name="Australdling" + culture="old_frankish" + religion="catholic" +} +9315= +{ + name="Baugulfson" + culture="old_frankish" + religion="catholic" +} +9316= +{ + name="Berengling" + culture="old_frankish" + religion="catholic" +} +9317= +{ + name="Hildradson" + culture="old_frankish" + religion="catholic" +} +9318= +{ + name="Drogling" + culture="old_frankish" + religion="catholic" +} +9319= +{ + name="Engelgerson" + culture="old_frankish" + religion="catholic" +} +9320= +{ + name="de Transjuranie" + culture="old_frankish" + religion="catholic" +} +9321= +{ + name="Galimani" + culture="old_frankish" + religion="catholic" +} +9322= +{ + name="de Betoricas" + culture="old_frankish" + religion="catholic" +} +9323= +{ + name="Herluins" + culture="old_frankish" + religion="catholic" +} +9324= +{ + name="Hermenelds" + culture="old_frankish" + religion="catholic" +} +9325= +{ + name="Roding" + culture="old_frankish" + religion="catholic" + coat_of_arms= + { + data= + { +0 4 0 35 0 5 0 } + religion="orthodox" + } +} +9326= +{ + name="Ringling" + culture="old_frankish" + religion="catholic" +} +9327= +{ + name="Gunberts" + culture="old_frankish" + religion="catholic" +} +9328= +{ + name="Wulfardson" + culture="old_frankish" + religion="catholic" +} +9329= +{ + name="Vuodi" + culture="old_frankish" + religion="catholic" +} +9330= +{ + name="Walthars" + culture="old_frankish" + religion="catholic" +} +9331= +{ + name="Warins" + culture="old_frankish" + religion="catholic" +} +9332= +{ + name="Wegelenzi" + culture="old_frankish" + religion="catholic" +} +9333= +{ + name="Welenti" + culture="old_frankish" + religion="catholic" +} +9334= +{ + name="Widling" + culture="old_frankish" + religion="catholic" +} +1044120= +{ + name="Morgannid" + culture="old_frankish" + religion="catholic" +} +1044121= +{ + name="Hucberting" + culture="old_frankish" + religion="catholic" +} +1044122= +{ + name="Vit" + culture="croatian" + religion="catholic" +} +1044123= +{ + name="Lanik" + culture="croatian" + religion="catholic" +} +10290901= +{ + name="Thanjavur Mutharaiyar" + culture="tamil" + religion="hindu" +} +10290902= +{ + name="Udayagiri Mutharaiyar" + culture="tamil" + religion="hindu" +} +10290903= +{ + name="Simhapuri Mutharaiyar" + culture="tamil" + religion="hindu" +} +10290900= +{ + name="Ay" + culture="tamil" + religion="hindu" +} +1040223= +{ + name="Ingeri" + culture="ugricbaltic" + religion="finnish_pagan" +} +1040224= +{ + name="Livo" + culture="ugricbaltic" + religion="catholic" +} +1040225= +{ + name="Harjumaa" + culture="ugricbaltic" + religion="finnish_pagan" +} +1040226= +{ + name="Virumaa" + culture="ugricbaltic" + religion="finnish_pagan" +} +1040227= +{ + name="Ridala" + culture="ugricbaltic" + religion="finnish_pagan" +} +1040228= +{ + name="Saaremaa" + culture="ugricbaltic" + religion="finnish_pagan" +} +1040229= +{ + name="Ugandi" + culture="lettigallish" + religion="baltic_pagan" +} +1040230= +{ + name="Vaiga" + culture="ugricbaltic" + religion="finnish_pagan" +} +1040231= +{ + name="Turaida" + culture="ugricbaltic" + religion="catholic" +} +10290904= +{ + name="Leon" + culture="breton" + religion="catholic" +} +1047018= +{ + name="Ternyllwg" + culture="welsh" + religion="catholic" +} +1047019= +{ + name="Arllechwydd" + culture="welsh" + religion="catholic" +} +1047020= +{ + name="Manceinion" + culture="welsh" + religion="catholic" +} +1044398= +{ + name="Sinda" + culture="marathi" + religion="hindu" +} +1044399= +{ + name="Bana" + culture="kannada" + religion="hindu" +} +1044400= +{ + name="Vaidumba" + culture="kannada" + religion="hindu" +} +1044401= +{ + name="Vemulavada Chalukya" + culture="kannada" + religion="hindu" +} +1044402= +{ + name="Sendraka" + culture="kannada" + religion="hindu" +} +1044403= +{ + name="Lohmander" + culture="rajput" + religion="hindu" + used_for_random=no +} +1044404= +{ + name="Khanzada" + culture="rajput" + religion="sunni" +} +1044405= +{ + name="Boccaccio" + culture="italian" + religion="catholic" +} +1044406= +{ + name="Petrarca" + culture="italian" + religion="catholic" +} +1044407= +{ + name="Fibonacci" + culture="italian" + religion="catholic" +} +1044410= +{ + name="degli Alighieri" + culture="italian" + religion="catholic" +} +1044408= +{ + name="Khorasani" #Fictitious + culture="levantine_arabic" + religion="sunni" +} +1044409={ + name="Athanagildid" + culture="visigothic" + religion="catholic" +} +1042185= +{ + name="Karlukid" + culture="karluk" + religion="tengri_pagan" +} +1042186= +{ + name="Chigil" + culture="karluk" + religion="manichean" +} +1042187= +{ + name="Yagma" + culture="karluk" + religion="tengri_pagan" +} +1042188= +{ + name="Shi" + culture="persian" + religion="zoroastrian" +} +1042190= +{ + name="Yaghlakar" + culture="uyghur" + religion="tengri_pagan" +} +1042191= +{ + name="Sibiri" + culture="khanty" + religion="finnish_pagan" +} +1042192= +{ + name="Narima" + culture="khanty" + religion="finnish_pagan" +} +1042193= +{ + name="Mansi" + culture="khanty" + religion="finnish_pagan" +} +1042194= +{ + name="Khantys" + culture="khanty" + religion="finnish_pagan" +} +1042195= +{ + name="Kipchaki" + culture="cuman" + religion="tengri_pagan" +} +1042196= +{ + name="Zyri" + culture="mordvin" + religion="finnish_pagan" +} +1042197= +{ + name="Turai" + culture="cuman" + religion="tengri_pagan" +} +1042198= +{ + name="Kayi" + culture="turkish" + religion="tengri_pagan" +} +1042199= +{ + name="Bozok" + culture="turkish" + religion="tengri_pagan" +} +214000= +{ + name="Ucok" + culture="turkish" + religion="tengri_pagan" +} +214001= +{ + name="Tartan" + culture="turkish" + religion="tengri_pagan" +} +214002= +{ + name="Kyzilid" + culture="turkish" + religion="tengri_pagan" +} +214003= +{ + name="Hasanid" + culture="karluk" +} +1045002= +{ + name="Vidfamne" + culture="norse" + religion="norse_pagan" + used_for_random=no +} +1045003= +{ + name="Nuoráne" + culture="lappish" + religion="finnish_pagan" +} +1045004= +{ + name="Gájka" + culture="lappish" + religion="finnish_pagan" +} +1045005= +{ + name="Kaise" + culture="lappish" + religion="finnish_pagan" +} +1045006= +{ + name="Saiva" + culture="lappish" + religion="finnish_pagan" +} +1045007= +{ + name="Keite" + culture="lappish" + religion="finnish_pagan" +} +1045008= +{ + name="av Island" + culture="norse" + religion="norse_pagan" +} +1045009= +{ + name="Drake" + culture="norse" + religion="norse_pagan" +} +1045010= +{ + name="av Hafrsfjord" + culture="norse" + religion="norse_pagan" +} +1045011= +{ + name="Ytra" + culture="norse" + religion="norse_pagan" +} +1045012= +{ + name="av Askø" + culture="norse" + religion="norse_pagan" +} +1045013= +{ + name="Koss" + culture="norse" + religion="norse_pagan" +} +1045014= +{ + name="av Røra" + culture="norse" + religion="norse_pagan" +} +1045015= +{ + name="av Nordland" + culture="norse" + religion="norse_pagan" +} +1045016= +{ + name="Hylling" + culture="norse" + religion="norse_pagan" +} +1045017= +{ + name="Alfr" + culture="norse" + religion="norse_pagan" +} +1045018= +{ + name="Herja" + culture="norse" + religion="norse_pagan" +} +1045019= +{ + name="Vansö" + culture="norse" + religion="norse_pagan" +} +1045020= +{ + name="Flod" + culture="norse" + religion="norse_pagan" +} +1045021= +{ + name="af Vendel" + culture="norse" + religion="norse_pagan" +} +1045022= +{ + name="av Alfheim" + culture="norse" + religion="norse_pagan" +} +1045023= +{ + name="af Åland" + culture="norse" + religion="norse_pagan" +} +1047006= +{ + name="Cerdicing" + culture="saxon" + religion="norse_pagan" + coat_of_arms= + { + data= + { +0 8 0 1 0 0 0 } + religion="catholic" + } +} +1047011= +{ + name="Oswalding" + culture="saxon" + religion="catholic" +} +1047012= +{ + name="Offing" + culture="saxon" + religion="norse_pagan" + coat_of_arms= + { + data= + { +0 2 0 43 3 1 5 } + religion="orthodox" + } +} +1047008= +{ + name="Ingving" + culture="saxon" + religion="norse_pagan" +} +1047009= +{ + name="Yffing" + culture="saxon" + religion="norse_pagan" +} +1047010= +{ + name="Æthelfrithing" + culture="saxon" + religion="norse_pagan" +} +1047021= +{ + name="Leodwalding" + culture="saxon" + religion="catholic" +} +1047022= +{ + name="Eadwulfing" + culture="saxon" + religion="catholic" +} +1047023= +{ + name="Eadricing" + culture="saxon" + religion="norse_pagan" + coat_of_arms= + { + data= + { +0 8 0 3 0 0 0 } + religion="catholic" + } +} +1047013= +{ + name="Godhelming" + culture="saxon" + religion="catholic" +} +1047014= +{ + name="Beorming" + culture="saxon" +} +1047015= +{ + name="Eorling" + culture="saxon" +} +1047016= +{ + name="Æbbing" + culture="saxon" +} +1047017= +{ + name="Hæsting" + culture="saxon" + religion="catholic" +} +1047007= +{ + name="Ælling" + culture="saxon" +} +1044092= +{ + name="Anniona" + culture="german" + religion="catholic" +} +1044093= +{ + name="Fagana" + culture="german" + religion="catholic" +} +1044094= +{ + name="Hahilinga" + culture="german" + religion="catholic" +} +1044095= +{ + name="Huosi" + culture="german" + religion="catholic" +} +1044096= +{ + name="Trozza" + culture="german" + religion="catholic" +} +1045024= +{ + name="Turov" + culture="volhynian" + religion="slavic_pagan" +} +1045025= +{ + name="Kardazid" + culture="mordvin" + religion="finnish_pagan" +} +1045026= +{ + name="Varakid" + culture="mordvin" + religion="finnish_pagan" +} +1045027= +{ + name="Inzhayid" + culture="mordvin" + religion="finnish_pagan" +} +1045028= +{ + name="de Friesland" + culture="dutch" + religion="catholic" +} +1045029= +{ + name="Letourneau" + culture="norman" + religion="catholic" +} +1045030= +{ + name="Polan" + culture="severian" +} +1045031= +{ + name="Ulich" + culture="severian" +} +1045032= +{ + name="Drevl" + culture="severian" +} +1045033= +{ + name="Lyubech" + culture="severian" +} +1045034= +{ + name="Roslavsky" + culture="severian" +} +1045035= +{ + name="Tyvertsky" + culture="volhynian" +} +1045036= +{ + name="Buzhansky" + culture="volhynian" +} +1045037= +{ + name="Slutsky" + culture="volhynian" +} +1045038= +{ + name="Pinesky" + culture="volhynian" +} +1045039= +{ + name="Zhytomyrsky" + culture="volhynian" +} +1045040= +{ + name="Vynnytsky" + culture="volhynian" +} +1045041= +{ + name="Koroviev" + culture="severian" +} +1045042= +{ + name="Woland" + culture="severian" +} +1045043= +{ + name="Poloch" + culture="ilmenian" +} +1045044= +{ + name="Izbor" + culture="ilmenian" +} +1045045= +{ + name="Tversky" + culture="ilmenian" +} +1045046= +{ + name="Lukisky" + culture="ilmenian" +} +1045047= +{ + name="Pleskov" + culture="ilmenian" +} +1045048= +{ + name="Toropetsky" + culture="ilmenian" +} +1045049= +{ + name="Dukhovsky" + culture="ilmenian" +} +1045050= +{ + name="Hermerici" + culture="suebi" +} +1045051= +{ + name="Rechili" + culture="suebi" +} +1045052= +{ + name="Remis" + culture="suebi" +} +1045053= +{ + name="Burela" + culture="suebi" +} +1045054= +{ + name="Faberi" + culture="suebi" +} +1045055= +{ + name="Cavadus" + culture="suebi" +} +1045056= +{ + name="Bracara" + culture="suebi" +} +1045057= +{ + name="Duro" + culture="suebi" +} +214012= +{ + name="Saint-Clair" + culture="scottish" + religion="catholic" +} +214013= +{ + name="Graham" + culture="scottish" + religion="catholic" +} +214014= +{ + name="de Loudoun" + culture="scottish" + religion="catholic" +} +214009= +{ + name="Kara-Khitai" + culture="khitan" + religion="buddhist" +} +214010= +{ + name="Xiaokhitai" + culture="khitan" + religion="buddhist" +} +214011= +{ + name="Naimanid" + culture="mongol" + religion="buddhist" +} +214004= +{ + name="Sumra" + culture="sindhi" + religion="sunni" +} +1045058= +{ + name="af Hälsingland" + culture="swedish" + religion="norse_pagan" +} +1045059= +{ + name="Ajmerid" + culture="turkish" + religion="sunni" +} +1045060= +{ + name="Kasid" + culture="turkish" + religion="sunni" +} +1045061= +{ + name="Magadhid" + culture="turkish" + religion="sunni" +} +1045062= +{ + name="Maturid" + culture="turkish" + religion="sunni" +} +1045063= +{ + name="Lahurid" + culture="turkish" + religion="sunni" +} +1045064= +{ + name="Bhadrid" + culture="turkish" + religion="sunni" +} +1045065= +{ + name="Maymanid" + culture="turkish" + religion="sunni" +} +1045066= +{ + name="Kyzylid" + culture="turkish" + religion="sunni" +} +1045067= +{ + name="Tabasid" + culture="turkish" + religion="sunni" +} +1045068= +{ + name="av Rogen" + culture="norwegian" + religion="catholic" +} +1045069= +{ + name="av Bergen" + culture="norwegian" + religion="catholic" +} +1045070= +{ + name="av Eidsborg" + culture="norwegian" + religion="catholic" +} +1045071= +{ + name="av Finnmark" + culture="norwegian" + religion="catholic" +} +1045072= +{ + name="av Røst" + culture="norwegian" + religion="catholic" +} +1045073= +{ + name="Barhid" + culture="turkish" + religion="sunni" +} +1045074= +{ + name="Kashgar" + culture="sogdian" + religion="zoroastrian" +} +1045075= +{ + name="Kang" + culture="sogdian" + religion="manichean" +} +1045076= +{ + name="Charkliq" + culture="sogdian" + religion="manichean" +} +1045077= +{ + name="Aksu" + culture="sogdian" + religion="manichean" +} +1045078= +{ + name="Cherchen" + culture="sogdian" + religion="manichean" +} +1045079= +{ + name="Qiuzi" + culture="sogdian" + religion="manichean" +} +1045080= +{ + name="Maymurg" + culture="sogdian" +} +1045081= +{ + name="Kesh" + culture="sogdian" +} +1045082= +{ + name="Liao" + culture="khitan" + religion="buddhist" +} +1045083= +{ + name="Ediz" + culture="uyghur" + religion="manichean" +} +1051100= +{ + name="Uzur" + culture="uyghur" + religion="manichean" +} +1051101= +{ + name="Alptekin" + culture="uyghur" + religion="manichean" +} +1051102= +{ + name="Akhun" + culture="uyghur" + religion="manichean" +} +1051103= +{ + name="Ugurlu" + culture="uyghur" + religion="manichean" +} +1051104= +{ + name="Üzümcü" + culture="uyghur" + religion="manichean" +} +1051105= +{ + name="Sarigül" + culture="turkish" + religion="tengri_pagan" +} +1051106= +{ + name="koray" + culture="turkish" + religion="tengri_pagan" +} +1051107= +{ + name="korkmaz" + culture="turkish" + religion="tengri_pagan" +} +1051108= +{ + name="Günaydin" + culture="kirghiz" + religion="manichean" +} +1051109= +{ + name="Kiliçli" + culture="kirghiz" + religion="manichean" +} +1051110= +{ + name="Sönmez" + culture="kirghiz" +} +1051111= +{ + name="Yuzhi" + culture="khitan" + religion="buddhist" +} +1051112= +{ + name="Wanyan" + culture="khitan" + religion="buddhist" +} +1045084= +{ + name="Yuwen" + culture="khitan" +} +1045085= +{ + name="Qudug" + culture="khitan" +} +1045086= +{ + name="Jau" + culture="khitan" +} +1045087= +{ + name="Saua" + culture="khitan" + religion="buddhist" +} +1045088= +{ + name="Mori" + culture="khitan" +} +1045089= +{ + name="Udur" + culture="khitan" +} +1045090= +{ + name="Sen" + culture="khitan" +} +1045091= +{ + name="Daurun" + culture="khitan" +} +1045092= +{ + name="Nair" + culture="khitan" +} +1045093= +{ + name="Uul" + culture="khitan" +} +1045094= +{ + name="Taulia" + culture="khitan" +} +1045095= +{ + name="Suni" + culture="khitan" +} +1051113= +{ + name="Varzakk" + culture="sogdian" + religion="manichean" +} +1051114= +{ + name="Karzh" + culture="sogdian" + religion="manichean" +} +1051115= +{ + name="Khwatawch" + culture="sogdian" + religion="manichean" +} +1051116= +{ + name="Namdar" + culture="sogdian" +} +1051117= +{ + name="Lushan" + culture="sogdian" +} +1051118= +{ + name="Tuhun" + culture="sogdian" +} +1051119= +{ + name="Uzgen" + culture="turkish" + religion="sunni" +} +1051120= +{ + name="Buryat" + culture="mongol" + religion="tengri_pagan" + coat_of_arms= + { + data= + { +0 0 0 7 12 1 13 } + religion="tengri_pagan" + } +} +1051121= +{ + name="Müjde" + culture="uyghur" + religion="buddhist" +} +1051122= +{ + name="Bayezid" + culture="turkish" + religion="sunni" +} +1051123= +{ + name="Tapmish" + culture="uyghur" + religion="buddhist" + coat_of_arms= + { + data= + { +0 1 0 26 10 0 0 } + religion="buddhist" + } +} +1051124= +{ + name="Onggirat" + culture="mongol" + religion="buddhist" +} +1051125= +{ + name="Khunggirad" + culture="mongol" + religion="tengri_pagan" +} +1051133= +{ + name="Karachay" + culture="cuman" + religion="tengri_pagan" +} +1051134= +{ + name="Kuni" + culture="cuman" +} +1051135= +{ + name="Köpek" + culture="cuman" + religion="tengri_pagan" +} +1051136= +{ + name="Kankali" + culture="pecheneg" + religion="tengri_pagan" +} +1051137= +{ + name="Kazym" + culture="khanty" + religion="finnish_pagan" + coat_of_arms= + { + data= + { +0 1 0 20 13 6 6 } + religion="finnish_pagan" + } +} +1051138= +{ + name="Bayad" + culture="mongol" + religion="tengri_pagan" +} +1051139= +{ + name="Mergid" + culture="mongol" +} +1051140= +{ + name="Telingid" + culture="mongol" +} +1051141= +{ + name="Tiele" + culture="kirghiz" + religion="manichean" +} +1051142= +{ + name="al-Bahili" + culture="bedouin_arabic" + religion="sunni" +} +1051143= +{ + name="Khuda" + culture="sogdian" + religion="zoroastrian" +} +1051144= +{ + name="Bukhar" + culture="sogdian" + religion="zoroastrian" + used_for_random=no +} +1051145= +{ + name="Afshin" + culture="sogdian" + religion="manichean" +} +1051146= +{ + name="Hanaya" + culture="bedouin_arabic" + religion="sunni" + used_for_random=no +} +1051147= +{ + name="Matteski" + culture="greek" + religion="orthodox" + used_for_random=no +} +1051148= +{ + name="Bruce" + culture="scottish" + religion="catholic" + coat_of_arms= + { + data= + { +0 2 0 25 2 0 0 } + religion="catholic" + } + used_for_random=no +} +1051149= +{ + name = "Kalinga Lanka" + culture = sinhala + religion = buddhist +} +1040021= +{ + name="Polo" + culture="italian" + religion="catholic" +} +1040022= +{ + name="Defuseh" + culture="italian" + religion="catholic" +} +1040023= +{ + name="Badoer" + culture="italian" + religion="catholic" +} +1040024= +{ + name="Vijaya" + culture="sogdian" + religion="buddhist" +} +1040025= +{ + name="Amala" + culture="sogdian" + religion="buddhist" +} +1040026= +{ + name="Asu" + culture="sogdian" + religion="buddhist" +} +1040027= +{ + name="Phrom" + culture="sogdian" + religion="buddhist" +} +1040028= +{ + name="Hurod" + culture="sogdian" + religion="buddhist" +} +1040029= +{ + name="Bugunpan" + culture="sogdian" + religion="buddhist" +} +1040030= +{ + name="Gahjag" + culture="sogdian" + religion="buddhist" +} +1040031= +{ + name="Kausal" + culture="tocharian" +} +1040032= +{ + name="Gank" + culture="tocharian" +} +1040033= +{ + name="Tenare" + culture="tocharian" +} +1040034= +{ + name="Ytarim" + culture="tocharian" +} +1040035= +{ + name="Tripuskar" + culture="tocharian" +} +1040036= +{ + name="Dantapur" + culture="tocharian" +} +1040037= +{ + name="Baransi" + culture="tocharian" +} +1040038= +{ + name="Yurpaska" + culture="tocharian" +} +1040039= +{ + name="Rohini" + culture="tocharian" +} +1040040= +{ + name="Vaideh" + culture="tocharian" +} +1040041= +{ + name="Vaisali" + culture="tocharian" +} +1040042= +{ + name="Iksvaku" + culture="tocharian" +} +1040043= +{ + name="Kausika" + culture="tocharian" +} +1040044= +{ + name="Kausika" + culture="tocharian" +} +1040045= +{ + name="Sakke" + culture="tocharian" +} +1040046= +{ + name="Kasake" + culture="tocharian" +} +1040047= +{ + name="Yarkam" + culture="tocharian" +} +1040048= +{ + name="Bharuka" + culture="tocharian" + religion="buddhist" +} +1040049= +{ + name="Cadota" + culture="tocharian" +} +1040050= +{ + name="Lyam" + culture="tocharian" +} +1040051= +{ + name="Arsi" + culture="tocharian" + religion="buddhist" +} +1040052= +{ + name="Kuci" + culture="tocharian" + religion="buddhist" +} +1040053= +{ + name="Urabo" + culture="tocharian" + religion="buddhist" +} +1040054= +{ + name="Krorän" + culture="tocharian" + religion="buddhist" +} +1040055= +{ + name="Kunlyu" + culture="tocharian" +} +1040056= +{ + name="Turtam" + culture="tocharian" + religion="buddhist" +} +1040057= +{ + name="Kasyar" + culture="sogdian" + religion="buddhist" +} +1040058= +{ + name="Sarikol" + culture="sogdian" + religion="buddhist" +} +1040059= +{ + name="Jemotwona" + culture="tocharian" + religion="buddhist" +} +1040060= +{ + name="Narubho" + culture="tocharian" + religion="buddhist" +} +1040061= +{ + name="Calmandana" + culture="sogdian" +} +1040062= +{ + name="Kulug" + culture="uyghur" + religion="manichean" +} +1040063= +{ + name="Hosa" + culture="uyghur" + religion="manichean" +} +1040064= +{ + name="Yughur" + culture="uyghur" + religion="manichean" +} +1040065= +{ + name="Idiqut" + culture="uyghur" + religion="manichean" +} +1042115= +{ + name="Ibrahimid" + culture="bedouin_arabic" + religion="sunni" +} +1042116= +{ + name="Banu Kalb" + culture="bedouin_arabic" + religion="sunni" +} +1042117= +{ + name="Banu Tayy" + culture="bedouin_arabic" + religion="sunni" +} +1042118= +{ + name="Banu Judham" + culture="bedouin_arabic" + religion="sunni" +} +1042119= +{ + name="Banu Udhrah" + culture="bedouin_arabic" + religion="sunni" +} +1042120= +{ + name="Banu Kinanah" + culture="bedouin_arabic" + religion="sunni" +} +1042139 = { + name="Hamzahbid" + culture = bedouin_arabic + religion = sunni +} +1045096 = { + name = Bakhchisaray + culture = cuman + religion = tengri_pagan +} +1045097 = { + name = Varzas + culture = cuman + religion = tengri_pagan +} +1045098 = { + name = Tana + culture = cuman + religion = tengri_pagan +} +1045099 = { + name = Aralkum + culture = mongol + religion = tengri_pagan +} +1045100 = { + name = Dana + culture = mongol + religion = sunni +} +1045101 = { + name = Aqtöbe + culture = mongol + religion = sunni +} +1045102 = { + name = Bailjar + culture = mongol + religion = tengri_pagan +} +1045103 = { + name = Kaztal + culture = mongol + religion = sunni +} +1045104 = { + name = Pecha + culture = mongol + religion = sunni +} +1045105 = { + name = Kangly + culture = mongol + religion = sunni +} +1045106 = { + name = Itil + culture = cuman + religion = tengri_pagan +} +1045107 = { + name = Ochak + culture = cuman + religion = tengri_pagan +} +1045108 = { + name = Zaporzhye + culture = cuman + religion = tengri_pagan +} +1045109 = { + name = Akhtuba + culture = cuman + religion = tengri_pagan +} +1045110 = { + name = Zhezdi + culture = cuman + religion = tengri_pagan +} +1053000 = { + name = Rav #Ficticious + culture = mordvin + religion = finnish_pagan +} +1053001 = { + name = Paas #Ficticious + culture = mordvin + religion = finnish_pagan +} +1053002 = { + name = Shkai #Ficticious + culture = mordvin + religion = finnish_pagan +} +1053003 = { + name = Mastoratia #Ficticious + culture = mordvin + religion = finnish_pagan +} +1053004 = { + name = Chipaz #Ficticious + culture = mordvin + religion = finnish_pagan +} +1053005 = { + name = Nishkepaz #Ficticious + culture = mordvin + religion = finnish_pagan +} +1053006 = { + name = "Ange Patiai" #Ficticious + culture = mordvin + religion = finnish_pagan +} +1053007= +{ + name="Gök" #Ficticious + culture="turkish" + religion="sunni" +} +1053008= +{ + name="Mavi" #Ficticious + culture="turkish" + religion="sunni" +} +1053009= +{ + name="Yesil" #Ficticious + culture="turkish" + religion="sunni" +} +1053010= +{ + name="Güçlü" #Ficticious + culture="turkish" + religion="sunni" +} +1053011= +{ + name="Rüzgar" #Ficticious + culture="turkish" + religion="sunni" +} +1053012= +{ + name="Üzengi" #Ficticious + culture="turkish" + religion="sunni" +} +1053013= +{ + name="Mastoron Kirdi" #Ficticious + culture = mordvin + religion = finnish_pagan +} +1053014= +{ + name="Shkay" #Ficticious + culture = mordvin + religion = finnish_pagan +} +1053015= +{ + name="Kardaz-Scrko" #Ficticious + culture = mordvin + religion = finnish_pagan +} +1053016= +{ + name="Tushtyan" #Ficticious + culture = mordvin + religion = finnish_pagan +} +1053017= +{ + name="Norrevik" + culture="swedish" + religion="catholic" + coat_of_arms= { + data= + { 1 1 23 7 3 4 3 0 23 3 3 4 3 7 0 1 0 0 0 7 0 1 0 0 0 } + religion="catholic" + } +} +1053018= +{ + name="Olsén" + culture="norwegian" + religion="catholic" + coat_of_arms = { + data= + { 0 0 0 6 0 11 5 } + religion="hindu" + } + used_for_random=no +} + +1053019= +{ + name="Lankinen" #Ficticious + culture = finnish + religion = finnish_pagan + coat_of_arms = { + data = { + 0 1 0 16 5 12 9 + } + religion="finnish_pagan" + } +} + +1053020= +{ + name="Bjarnehed" #Ficticious + culture = swedish + religion = catholic + coat_of_arms = { + data = { + 1 4 0 30 14 11 0 4 0 30 14 1 0 4 0 30 2 0 0 4 0 30 2 0 0 } + religion="catholic" + } + used_for_random=no +} + +1053021= +{ + name="Bialecki" #Ficticious + culture = polish + religion = catholic + coat_of_arms = { + data = { + 0 2 22 5 0 2 2 4 0 26 0 0 0 4 0 26 0 0 0 4 0 26 0 0 0 } + religion="catholic" + } + used_for_random=no +} + +1053022= +{ + name="Kuiper" #Ficticious + culture = dutch + religion = catholic + coat_of_arms = { + data = { + 0 4 0 8 7 12 1 0 0 34 3 1 1 0 0 34 3 1 1 0 0 34 3 1 1 } + religion="catholic" + } + used_for_random=no +} + +1053023= +{ + name="Skjæran" #Totally 100% historical + culture="norwegian" + religion="cathar" + used_for_random=no +} + +1040066 = { + name="Jadaran" + culture = mongol +} +1040067 = { + name="Baarin" + culture = mongol +} +1040068 = { + name="Bargujin" + culture = mongol +} +1040069 = { + name="Borogchin" + culture = mongol +} +1040070 = { + name="Mongoljin" + culture = mongol +} +1040071 = { + name="Quralas" + culture = mongol +} +1040072 = { + name="Uvas Mergid" + culture = mongol +} +1040073 = { + name="Tatar" + culture = mongol +} +1040074 = { + name="Zübü" + culture = mongol +} +1040075 = { + name="Oirat" + culture = mongol +} +1040076 = { + name="Ikheres" + culture = mongol +} +1040077 = { + name="Eljigin" + culture = mongol +} +1040078 = { + name="Dörbet" + culture = mongol +} +1040079 = { + name="Chonos" + culture = mongol +} +1040080 = { + name="Bairam" + culture = mongol +} +214019={ + name="Wintaling" + culture="saxon" + religion="catholic" +} +1040081 = { + name="de Unale of Naples" + culture="italian" + religion="catholic" +} + +1040082 = { + name="di Alando" + culture="italian" + religion="catholic" +} + +1040083 = { + name="de Unale of Naples" + culture="italian" + religion="catholic" +} + +1040084 = { + name="Cipolla" + culture="italian" + religion="catholic" +} + +1040085 = { + name="Glandi" + culture="italian" + religion="catholic" +} + +1040086 = { + name="Cappai" + culture="italian" + religion="catholic" +} + +1040087 = { + name="Capraia" + culture="italian" + religion="catholic" +} + +1040088 = { + name="di Cinarca" + culture="italian" + religion="catholic" +} + +1040089 = { + name="Biancolaccio" + culture="italian" + religion="catholic" +} + +1040090 = { + name="di Cozzi" + culture="italian" + religion="catholic" +} + +1040091 = { + name="da Covasina" + culture="italian" + religion="catholic" +} + +1040092 = { + name="di Ornano" + culture="italian" + religion="catholic" +} + +1040093 = { + name="di Istria" + culture="italian" + religion="catholic" +} + +1040094 = { + name="di Gallura" + culture="italian" + religion="catholic" +} + +1040095 = { + name="di Logudoro" + culture="italian" + religion="catholic" +} + +1040096 = { + name="di Agugliastra" + culture="italian" + religion="catholic" +} + +1040097 ={ + name="Salusiu de Lacon" + culture="italian" + religion="catholic" +} +1040098 ={ + name="Torchitoriu de Ugunale" + culture="italian" + religion="catholic" +} +1040099 ={ + name="de Lacon Gunale" + culture="italian" + religion="catholic" +} +1040100 ={ + name="de Serra" + culture="italian" + religion="catholic" +} +1040101 ={ + name="de Athen" + culture="italian" + religion="catholic" +} +1040102 ={ + name="de Orrubu" + culture="italian" + religion="catholic" +} +1040103 ={ + name="de Lacon Zori" + culture="italian" + religion="catholic" +} +1040104 ={ + name="de Zori" + culture="italian" + religion="catholic" +} +1040105 ={ + name="de Salanis" + culture="italian" + religion="catholic" +} +1040106 ={ + name="Bas Serra" + culture="italian" + religion="catholic" +} +1040107 ={ + name="de Kerki" + culture="italian" + religion="catholic" +} +1040108 ={ + name="Cappai de Bas" + culture="italian" + religion="catholic" +} +1040109 ={ + name="Gambella" + culture="italian" + religion="catholic" +} +1040110 ={ + name="Spanu" + culture="italian" + religion="catholic" +} +1040111 ={ + name="Sogostas" + culture="italian" + religion="catholic" +} +1040112 ={ + name="Solinas" + culture="italian" + religion="catholic" +} +1040113 ={ + name="Porcu" + culture="italian" + religion="catholic" +} +1040114 ={ + name="Romanu" + culture="italian" + religion="catholic" +} +1040115 ={ + name="Pisanu" + culture="italian" + religion="catholic" +} +1040116 ={ + name="Lucchesu" + culture="italian" + religion="catholic" +} +1040117 ={ + name="Sanna" + culture="italian" + religion="catholic" +} +1040118 ={ + name="Mereu" + culture="italian" + religion="catholic" +} +1040119 ={ + name="Pinna" + culture="italian" + religion="catholic" +} +1040120 ={ + name="Virdis" + culture="italian" + religion="catholic" +} +1040121 ={ + name="Manca" + culture="italian" + religion="catholic" +} +1040122 ={ + name="Canu" + culture="italian" + religion="catholic" +} +1040123 ={ + name="Nieddu" + culture="italian" + religion="catholic" +} +1040124 ={ + name="Pintus" + culture="italian" + religion="catholic" +} +1040125 ={ + name="Piras" + culture="italian" + religion="catholic" +} +1040126 ={ + name="Melis" + culture="italian" + religion="catholic" +} +1040127 ={ + name="Mura" + culture="italian" + religion="catholic" +} +1040128 ={ + name="Murtas" + culture="italian" + religion="catholic" +} +1040129 ={ + name="Floris" + culture="italian" + religion="catholic" +} +1040130 ={ + name="Vacca" + culture="italian" + religion="catholic" +} +1040131 ={ + name="Meloni" + culture="italian" + religion="catholic" +} +1040132 ={ + name="Mele" + culture="italian" + religion="catholic" +} +1040133 ={ + name="Fenu" + culture="italian" + religion="catholic" +} +1040134 ={ + name="Puddu" + culture="italian" + religion="catholic" +} +1040135 ={ + name="Boi" + culture="italian" + religion="catholic" +} +1040136 ={ + name="Usai" + culture="italian" + religion="catholic" +} +1040137 ={ + name="Pilloni" + culture="italian" + religion="catholic" +} +1040138 ={ + name="Cadeddu" + culture="italian" + religion="catholic" +} +1040139 ={ + name="Nuraghe" + culture="italian" + religion="catholic" +} +1040140 ={ + name="Lodde" + culture="italian" + religion="catholic" +} +1040141 ={ + name="Piga" + culture="italian" + religion="catholic" +} +1040142 ={ + name="Nughedu" + culture="italian" + religion="catholic" +} +1040143 ={ + name="Ardu" + culture="italian" + religion="catholic" +} +1040144 ={ + name="Artitzu" + culture="italian" + religion="catholic" +} +1040145 ={ + name="Zappu" + culture="italian" + religion="catholic" +} +1040146 ={ + name="Zara" + culture="italian" + religion="catholic" +} +1040147 ={ + name="Zurru" + culture="italian" + religion="catholic" +} +1040148 ={ + name="Sardi" + culture="italian" + religion="catholic" +} +1040149 ={ + name="Sardìgna" + culture="italian" + religion="catholic" +} +214020={ + name="Dabuyid" + culture="persian" + religion="zoroastrian" +} \ No newline at end of file diff --git a/LCDA/common/landed_titles/landed_titles.txt b/LCDA/common/landed_titles/landed_titles.txt new file mode 100644 index 0000000..b01b8f5 --- /dev/null +++ b/LCDA/common/landed_titles/landed_titles.txt @@ -0,0 +1,38442 @@ +e_rebels = { + rebel = yes + landless = yes + primary = yes + + culture = swedish + tribe = yes + + color={ 0 0 0 } + color2={ 0 0 0 } +} + +e_pirates = { + pirate = yes + landless = yes + primary = yes + + culture = swedish + tribe = yes + + color={ 0 0 0 } + color2={ 0 0 0 } +} + +# SPECIAL TITLES + +k_papal_state = { + color={ 255 249 198 } + color2={ 220 220 0 } + + capital = 333 # Rome + + title = "POPE" + foa = "POPE_FOA" + short_name = yes + location_ruler_title = yes + + # Always exists + landless = yes + + # Controls a religion + controls_religion = catholic + + religion = catholic + + # Cannot be held as a secondary title + primary = yes + + dynasty_title_names = no # Will not be named "Seljuk", etc. + + # Regnal names + male_names = { + Alexander Anastasius Benedictus Caelestinus Callistus Clemens Eugenius Leo + Gregorius Hadrianus Honorius Innocentius Ioannes Lucius Marinus Martinus + Nicolaus Sergius Silvester Stephanus Urbanus Victor + } +} + +k_orthodox = { +# color={ 150 90 30 } + color={ 183 60 155 } + color2={ 220 220 0 } + + capital = 496 # Constantinople + + title = "ECUMENICAL_PATRIARCH" + foa = "ECUMENICAL_PATRIARCH_FOA" + short_name = yes + + # Always exists + landless = yes + + # Controls a religion + controls_religion = orthodox + + religion = orthodox + + # Cannot be held as a secondary title + primary = yes + + dynasty_title_names = no # Will not be named "Seljuk", etc. + + # Regnal names + male_names = { + Alexios Anastasios Arsenios Athanasios Antonios Basileios Dositheos Eustathios Eustratios + Euthymios Georgios Gerasimos Germanos Gregorios Ignatios Ioannes Ioseph Isaias Isidoros + Kallistos Konstantinos Kosmas Leon Loukas Makarios Manuel Matthaios Maximos Methodios + Metrophanes Michael Neophytos Nephon Nikolaos Nikephoros Nilos Pavlos Philotheos Photios + Polyeuktos Sergios Sisinnios Stephanos Tarasios Theodoros Theodosios Theodotos Theoleptos + Theophanes Theophylaktos Tryphon Zacharias + } +} + +e_sunni = { + # OBSOLETE + color={ 40 160 40 } + color2={ 220 220 0 } + +# capital = 719 # Mecca + + title = "CALIPH" + title_female = "CALIPHA" + foa = "CALIPH_FOA" + short_name = yes + + religion=sunni + + # controls_religion = sunni + + caliphate = yes +} + +e_shiite = { + # OBSOLETE + color={ 60 190 60 } + color2={ 220 220 0 } + +# capital = 719 # Mecca + + title = "CALIPH" + title_female = "CALIPHA" + foa = "CALIPH_FOA" + short_name = yes + + religion=shiite + + # controls_religion = shiite + + caliphate = yes +} + +d_sunni = { + color={ 40 160 40 } + color2={ 220 220 0 } + + capital = 719 # Mecca + + creation_requires_capital = no + + dignity = 100 # Counted as having this many more counties than it does + + title = "CALIPH" + title_female = "CALIPHA" + foa = "CALIPH_FOA" + short_name = yes + + religion=sunni + + # Controls a religion + controls_religion = sunni + + allow = { + custom_tooltip = { + text = sunni_creation_independent + hidden_tooltip = { + in_revolt = no + OR = { + independent = yes + NOT = { + any_liege = { + OR = { + in_revolt = yes + NOT = { religion = sunni } + } + } + } + } + } + } + + OR = { + trait = mirza + trait = sayyid + piety = 1000 + } + OR = { + AND = { + trait = sayyid + piety = 1000 + } + custom_tooltip = { + text = controls_mecca_medina + hidden_tooltip = { + 719 = { # Mecca + owner = { + OR = { + is_liege_or_above = ROOT + character = ROOT + } + } + } + 718 = { # Medina + owner = { + OR = { + is_liege_or_above = ROOT + character = ROOT + } + } + } + } + } + custom_tooltip = { + text = controls_jerusalem_damascus_baghdad + hidden_tooltip = { + 774 = { # Jerusalem + owner = { + OR = { + is_liege_or_above = ROOT + character = ROOT + } + } + } + 728 = { # Damascus + owner = { + OR = { + is_liege_or_above = ROOT + character = ROOT + } + } + } + 693 = { # Baghdad + owner = { + OR = { + is_liege_or_above = ROOT + character = ROOT + } + } + } + } + } + } + } + + caliphate = yes + + coat_of_arms= + { + data= + { + 0 0 0 3 0 2 2 + } + religion=sunni + } +} + +d_shiite = { + color={ 60 190 60 } + color2={ 220 220 0 } + + capital = 719 # Mecca + + creation_requires_capital = no + + dignity = 100 # Counted as having this many more counties than it does + + title = "CALIPH" + title_female = "CALIPHA" + foa = "CALIPH_FOA" + short_name = yes + + religion=shiite + + # Controls a religion + controls_religion = shiite + + allow = { + custom_tooltip = { + text = shia_creation_independent + hidden_tooltip = { + in_revolt = no + OR = { + independent = yes + NOT = { + any_liege = { + OR = { + in_revolt = yes + NOT = { religion = shiite } + } + } + } + } + } + } + + OR = { + trait = mirza + trait = sayyid + piety = 1000 + } + custom_tooltip = { + text = not_shia_caliphate_revolt_ongoing + hidden_tooltip = { + NOT = { has_global_flag = shia_caliphate_revolt_ongoing } + } + } + + OR = { + AND = { + trait = sayyid + piety = 1000 + } + custom_tooltip = { + text = controls_mecca_medina + hidden_tooltip = { + 719 = { # Mecca + owner = { + OR = { + is_liege_or_above = ROOT + character = ROOT + } + } + } + 718 = { # Medina + owner = { + OR = { + is_liege_or_above = ROOT + character = ROOT + } + } + } + } + } + custom_tooltip = { + text = controls_jerusalem_damascus_baghdad + hidden_tooltip = { + 774 = { # Jerusalem + owner = { + OR = { + is_liege_or_above = ROOT + character = ROOT + } + } + } + 728 = { # Damascus + owner = { + OR = { + is_liege_or_above = ROOT + character = ROOT + } + } + } + 693 = { # Baghdad + owner = { + OR = { + is_liege_or_above = ROOT + character = ROOT + } + } + } + } + } + } + } + + caliphate = yes + + coat_of_arms= + { + data= + { + 0 0 0 9 1 7 7 + } + religion=shiite + } +} + +e_golden_horde = { + color = { 243 180 17 } + + short_name = yes + + capital = 619 # Saray + + # Always exists + landless = yes + + allow = { + always = no + } + +# tribe = yes + + culture = mongol + religion = tengri_pagan +} + +e_il-khanate = { + color = { 140 180 20 } + + short_name = yes + + capital = 646 # Esfahan + + # Always exists + landless = yes + + allow = { + always = no + } + +# tribe = yes + + culture = mongol + religion = tengri_pagan +} + +e_mongol_empire = { + color = { 130 180 240 } + color2 = { 255 20 20 } + + short_name = yes + + capital = 1457 # Kara-khorum + + landless = yes + + allow = { + always = no + } + + culture = mongol + religion = tengri_pagan +} + +e_chagatai = { + color = { 200 200 200 } + color2 = { 0 250 250 } + + capital = 903 # Samarkand + + allow = { + always = no + } + + culture = mongol + religion = tengri_pagan +} + +e_timurids = { + color = { 120 20 20 } + + short_name = yes + + capital = 646 # Esfahan + + allow = { + always = no + } + + # Always exists +# landless = yes + +# tribe = yes + + culture = mongol + religion = sunni +} + +# HOLY ORDERS + +d_knights_templar = { + color={ 230 230 230 } + color2={ 255 255 255 } + + graphical_culture = holygfx + + capital = 138 # Orleans + + title = "GRANDMASTER" + foa = "GRANDMASTER_FOA" + + # Always exists + landless = yes + + holy_order = yes + mercenary_type = knights_templar_composition + + culture = frankish + + # Parent Religion + religion = catholic + + # Cannot be held as a secondary title + primary = yes + + # Extra income due to banking, etc + monthly_income = 10 # (Must be an integer between 1 and 512) +} + +d_teutonic_order = { + + color={ 50 50 50 } + color2={ 255 255 255 } + + graphical_culture = holygfx + + capital = 258 # Lüneburg + + title = "HOCHMEISTER" + foa = "HOCHMEISTER_FOA" + + # Always exists + landless = yes + + holy_order = yes + mercenary_type = teutonic_order_composition + + # Parent Religion + religion = catholic + + culture = german + + # Cannot be held as a secondary title + primary = yes + + # Extra income due to donations, etc + monthly_income = 4 # (Must be an integer between 1 and 512) +} + +d_knights_hospitaler = { + + color={ 180 180 180 } + color2={ 255 255 255 } + + graphical_culture = holygfx + + capital = 333 # Rome + + title = "GRANDMASTER" + foa = "GRANDMASTER_FOA" + + # Always exists + landless = yes + + holy_order = yes + + culture = occitan + + # Parent Religion + religion = catholic + + # Cannot be held as a secondary title + primary = yes + + # Extra income due to donations, etc + monthly_income = 6 # (Must be an integer between 1 and 512) + + mercenary_type = knights_hospitaler_composition +} + +d_hashshashin = { + + color={ 100 100 0 } + color2={ 255 255 255 } + + graphical_culture = hashshashingfx + + capital = 693 # Baghdad + + title = "GRANDHEADMASTER" + foa = "GRANDHEADMASTER_FOA" + + holy_order = yes + + # Always exists + landless = yes + + culture = persian + + # Parent Religion + religion = shiite + + # Cannot be held as a secondary title + primary = yes + + # Cannot be vassalized + independent = yes + + # Extra income due to donations, etc + monthly_income = 6 # (Must be an integer between 1 and 512) + + mercenary_type = hashshashin_composition +} + +d_bektashi = { + + color={ 90 150 0 } + color2={ 255 255 255 } + + graphical_culture = bektashigfx + + capital = 753 # Ancyra + + title = "DEDEBABA" + foa = "GRANDHEADMASTER_FOA" + + holy_order = yes + + # Always exists + landless = yes + + culture = persian + + # Parent Religion + religion = sunni + + # Cannot be held as a secondary title + primary = yes + + # Cannot be vassalized + independent = yes + + # Extra income due to donations, etc + monthly_income = 6 # (Must be an integer between 1 and 512) + + mercenary_type = bektashi_composition +} + +d_haruriyyah = { + + color={ 150 200 80 } + color2={ 255 255 255 } + + graphical_culture = bektashigfx + + capital = 693 # Bagdad + + title = "DEDEBABA" + foa = "GRANDHEADMASTER_FOA" + + holy_order = yes + + # Always exists + landless = yes + + culture = bedouin_arabic + + # Parent Religion + religion = ibadi + + # Cannot be held as a secondary title + primary = yes + + # Cannot be vassalized + independent = yes + + # Extra income due to donations, etc + monthly_income = 6 # (Must be an integer between 1 and 512) + + mercenary_type = bektashi_composition +} + +d_jomsvikings = { + + color={ 50 50 50 } + color2={ 255 255 255 } + + graphical_culture = norseholygfx + + capital = 303 + + title = "WARCHIEF" + foa = "WARCHIEF_FOA" + + # Always exists + landless = yes + + holy_order = yes + + # Parent Religion + religion = norse_pagan + + culture = norse + + # Cannot be held as a secondary title + primary = yes + + # Extra income due to donations, etc + monthly_income = 2 # (Must be an integer between 1 and 512) + + mercenary_type = jomsvikings_composition +} + +d_immortals = { + + color={ 180 205 20 } + + graphical_culture = immortalsgfx + + capital = 637 + + title = "GRANDMASTER" + foa = "GRANDMASTER_FOA" + + # Always exists + landless = yes + + holy_order = yes + + # Parent Religion + religion = zoroastrian + + culture = persian + + # Cannot be held as a secondary title + primary = yes + + # Extra income due to donations, etc + monthly_income = 2 # (Must be an integer between 1 and 512) + + mercenary_type = immortals_composition +} + +d_zealots = { + + color={ 20 100 255 } + + graphical_culture = jewishholygfx + + capital = 774 + + title = "GRANDMASTER" + foa = "GRANDMASTER_FOA" + + # Always exists + landless = yes + + holy_order = yes + + # Parent Religion + religion = jewish + + culture = ashkenazi + + # Cannot be held as a secondary title + primary = yes + + # Extra income due to donations, etc + monthly_income = 2 # (Must be an integer between 1 and 512) + + mercenary_type = zealots_composition +} + +d_holy_sepulchre = { + + color={ 120 0 145 } + + graphical_culture = orthodoxholygfx + + capital = 774 + + title = "GRANDMASTER" + foa = "GRANDMASTER_FOA" + + # Always exists + landless = yes + + holy_order = yes + + # Parent Religion + religion = orthodox + + culture = greek + + # Cannot be held as a secondary title + primary = yes + + # Extra income due to donations, etc + monthly_income = 2 # (Must be an integer between 1 and 512) + + mercenary_type = holy_sepulchre_composition +} + +d_saint_anthony = { + + color={ 180 165 70 } + + graphical_culture = holygfx + + capital = 875 + + title = "GRANDMASTER" + foa = "GRANDMASTER_FOA" + + # Always exists + landless = yes + + holy_order = yes + + # Parent Religion + religion = miaphysite + + culture = ethiopian + + # Cannot be held as a secondary title + primary = yes + + # Extra income due to donations, etc + monthly_income = 2 # (Must be an integer between 1 and 512) + + mercenary_type = saint_anthony_composition +} + +d_saint_addai = { + + color={ 180 80 140 } + + graphical_culture = holygfx + + capital = 693 # Baghdad + + title = "GRANDMASTER" + foa = "GRANDMASTER_FOA" + + # Always exists + landless = yes + + holy_order = yes + + # Parent Religion + religion = nestorian + + culture = persian + + # Cannot be held as a secondary title + primary = yes + + # Extra income due to donations, etc + monthly_income = 2 # (Must be an integer between 1 and 512) + + mercenary_type = saint_addai_composition +} + +d_sky_lords = { + + color={ 220 200 140 } + + capital = 898 + + title = "WARCHIEF" + foa = "WARCHIEF_FOA" + + # Always exists + landless = yes + + holy_order = yes + + # Parent Religion + religion = tengri_pagan_reformed + + culture = cuman + + # Cannot be held as a secondary title + primary = yes + + # Extra income due to donations, etc + monthly_income = 2 # (Must be an integer between 1 and 512) + + mercenary_type = sky_lords_composition +} + +d_spirit_guardians = { + + color={ 120 120 55 } + + graphical_culture = westafricanholygfx + + capital = 925 + + title = "WARCHIEF" + foa = "WARCHIEF_FOA" + + # Always exists + landless = yes + + holy_order = yes + + # Parent Religion + religion = west_african_pagan_reformed + + culture = manden + + # Cannot be held as a secondary title + primary = yes + + # Extra income due to donations, etc + monthly_income = 2 # (Must be an integer between 1 and 512) + + mercenary_type = spirit_guardians_composition +} + +d_warriors_perun = { + + color={ 100 140 100 } + + graphical_culture = slavicholygfx + + capital = 547 + + title = "WARCHIEF" + foa = "WARCHIEF_FOA" + + # Always exists + landless = yes + + holy_order = yes + + # Parent Religion + religion = slavic_pagan_reformed + + culture = russian + + # Cannot be held as a secondary title + primary = yes + + # Extra income due to donations, etc + monthly_income = 2 # (Must be an integer between 1 and 512) + + mercenary_type = warriors_perun_composition +} + +d_chosen_perkunas = { + + color={ 200 45 45 } + + graphical_culture = balticholygfx + + capital = 374 + + title = "WARCHIEF" + foa = "WARCHIEF_FOA" + + # Always exists + landless = yes + + holy_order = yes + + # Parent Religion + religion = baltic_pagan_reformed + + culture = lettigallish + + # Cannot be held as a secondary title + primary = yes + + # Extra income due to donations, etc + monthly_income = 2 # (Must be an integer between 1 and 512) + + mercenary_type = chosen_perkunas_composition +} + +d_sons_kaleva = { + + color={ 140 130 105 } + + graphical_culture = finnishholygfx + + capital = 392 + + title = "WARCHIEF" + foa = "WARCHIEF_FOA" + + # Always exists + landless = yes + + holy_order = yes + + # Parent Religion + religion = finnish_pagan_reformed + + culture = finnish + + # Cannot be held as a secondary title + primary = yes + + # Extra income due to donations, etc + monthly_income = 2 # (Must be an integer between 1 and 512) + + mercenary_type = sons_kaleva_composition +} + +d_huitzilopochtli = { + + color={ 255 200 0 } + + graphical_culture = aztecholygfx + + capital = 843 + + title = "HIGHPRIEST" + foa = "GRANDMASTER_FOA" + + # Always exists + landless = yes + + holy_order = yes + + # Parent Religion + religion = aztec_reformed + + culture = nahuatl + + # Cannot be held as a secondary title + primary = yes + + # Extra income due to donations, etc + monthly_income = 2 # (Must be an integer between 1 and 512) + + mercenary_type = huitzilopochtli_composition +} + +d_knights_santiago = { + + color={ 255 130 0 } + + graphical_culture = holygfx + + capital = 157 # Santiago + + title = "GRANDMASTER" + foa = "GRANDMASTER_FOA" + + # Always exists + landless = yes + + holy_order = yes + + culture = castillan + + # Parent Religion + religion = catholic + + # Cannot be held as a secondary title + primary = yes + + # Extra income due to donations, etc + monthly_income = 6 # (Must be an integer between 1 and 512) + + mercenary_type = knights_santiago_composition +} + +d_knights_calatrava = { + + color={ 230 100 0 } + + graphical_culture = holygfx + + capital = 196 # Calatrava + + title = "GRANDMASTER" + foa = "GRANDMASTER_FOA" + + # Always exists + landless = yes + + holy_order = yes + + culture = castillan + + # Parent Religion + religion = catholic + + # Cannot be held as a secondary title + primary = yes + + # Extra income due to donations, etc + monthly_income = 6 # (Must be an integer between 1 and 512) + + mercenary_type = knights_calatrava_composition +} + +d_followers_arjuna = { + color={ 255 0 0 } + color2={ 255 255 255 } + + capital = 1355 # Delhi + + title = "GRANDMASTER" + foa = "GRANDMASTER_FOA" + + # Always exists + landless = yes + + holy_order = yes + + culture = hindustani + + # Parent Religion + religion = hindu + + # Cannot be held as a secondary title + primary = yes + + # Extra income due to donations, etc + monthly_income = 2 # (Must be an integer between 1 and 512) + + mercenary_type = followers_arjuna_composition +} + +d_ashokas_chosen = { + color={ 205 100 0 } + color2={ 255 255 255 } + + capital = 1355 # Delhi + + title = "GRANDMASTER" + foa = "GRANDMASTER_FOA" + + # Always exists + landless = yes + + holy_order = yes + + culture = marathi + + # Parent Religion + religion = buddhist + + # Cannot be held as a secondary title + primary = yes + + # Extra income due to donations, etc + monthly_income = 2 # (Must be an integer between 1 and 512) + + mercenary_type = ashokas_chosen_composition +} + +d_bulls_rishabha = { + color={ 255 100 0 } + color2={ 255 255 255 } + + capital = 1355 # Delhi + + title = "GRANDMASTER" + foa = "GRANDMASTER_FOA" + + # Always exists + landless = yes + + holy_order = yes + + culture = kannada + + # Parent Religion + religion = jain + + # Cannot be held as a secondary title + primary = yes + + # Extra income due to donations, etc + monthly_income = 2 # (Must be an integer between 1 and 512) + + mercenary_type = bulls_rishabha_composition +} + +d_zun_warriors = { + + color = { 230 255 0 } + + capital = 1185 # Kabul + + title = "GRANDMASTER" + foa = "GRANDMASTER_FOA" + + # Always exists + landless = yes + + holy_order = yes + + culture = afghan + + # Parent Religion + religion = zun_pagan_reformed + + # Cannot be held as a secondary title + primary = yes + + # Extra income due to donations, etc + monthly_income = 2 # (Must be an integer between 1 and 512) + + mercenary_type = zun_warriors_composition +} + +# MERCS + +d_sunni_turkic_company = { + color = { 130 173 70 } + color2 = { 255 255 255 } + + capital = 621 # Kangly + + # Parent Religion + religion = sunni + culture = turkish + + mercenary = yes + + title = "CAPTAIN" + foa = "CAPTAIN_FOA" + + # Always exists + landless = yes + + # Cannot be held as a secondary title + primary = yes + + # Cannot be vassalized + independent = yes + + strength_growth_per_century = 1.00 + + mercenary_type = muslim_turkic_company_composition +} + +d_sunni_cuman_company = { + color = { 134 155 30 } + color2 = { 255 255 255 } + + capital = 616 # Yaik + + # Hire Trigger + allow = { + OR = { + religion_group = muslim + religion_group = zoroastrian_group + } + } + + # Parent Religion + religion = sunni + culture = khazar + + mercenary = yes + + title = "CAPTAIN" + foa = "CAPTAIN_FOA" + + # Always exists + landless = yes + + # Cannot be held as a secondary title + primary = yes + + # Cannot be vassalized + independent = yes + + strength_growth_per_century = 1.00 + + mercenary_type = muslim_cuman_company_composition +} + +d_sunni_berber_company = { + color = { 85 155 33 } + color2 = { 255 255 255 } + + capital = 833 # Atlas + + # Hire Trigger + allow = { + OR = { + religion_group = muslim + religion_group = zoroastrian_group + } + } + + # Parent Religion + religion = sunni + culture = maghreb_arabic + + mercenary = yes + + title = "CAPTAIN" + foa = "CAPTAIN_FOA" + + # Always exists + landless = yes + + # Cannot be held as a secondary title + primary = yes + + # Cannot be vassalized + independent = yes + + strength_growth_per_century = 1.00 + + mercenary_type = berber_company_composition +} + +d_sunni_bedouin_company = { + color = { 45 155 35 } + color2 = { 255 255 255 } + + capital = 862 # Halaban + + # Hire Trigger + allow = { + OR = { + religion_group = muslim + religion_group = zoroastrian_group + } + } + + # Parent Religion + religion = sunni + culture = bedouin_arabic + + mercenary = yes + + title = "CAPTAIN" + foa = "CAPTAIN_FOA" + + # Always exists + landless = yes + + # Cannot be held as a secondary title + primary = yes + + # Cannot be vassalized + independent = yes + + strength_growth_per_century = 1.00 + + mercenary_type = bedouin_company_composition +} + + +d_shiite_turkic_company = { + color = { 135 170 60 } + color2 = { 255 255 255 } + + capital = 621 # Kangly + + # Parent Religion + religion = shiite + culture = turkish + + mercenary = yes + + title = "CAPTAIN" + foa = "CAPTAIN_FOA" + + # Always exists + landless = yes + + # Cannot be held as a secondary title + primary = yes + + # Cannot be vassalized + independent = yes + + strength_growth_per_century = 1.00 + + mercenary_type = muslim_turkic_company_composition +} + +d_shiite_cuman_company = { + color = { 130 150 30 } + color2 = { 255 255 255 } + + capital = 616 # Yaik + + # Hire Trigger + allow = { + OR = { + religion_group = muslim + religion_group = zoroastrian_group + } + } + + # Parent Religion + religion = shiite + culture = cuman + + mercenary = yes + + title = "CAPTAIN" + foa = "CAPTAIN_FOA" + + # Always exists + landless = yes + + # Cannot be held as a secondary title + primary = yes + + # Cannot be vassalized + independent = yes + + strength_growth_per_century = 1.00 + + mercenary_type = muslim_cuman_company_composition +} + +d_shiite_berber_company = { + color = { 90 150 30 } + color2 = { 255 255 255 } + + capital = 833 # Atlas + + # Hire Trigger + allow = { + OR = { + religion_group = muslim + religion_group = zoroastrian_group + } + } + + # Parent Religion + religion = shiite + culture = maghreb_arabic + + mercenary = yes + + title = "CAPTAIN" + foa = "CAPTAIN_FOA" + + # Always exists + landless = yes + + # Cannot be held as a secondary title + primary = yes + + # Cannot be vassalized + independent = yes + + strength_growth_per_century = 1.00 + + mercenary_type = berber_company_composition +} + +d_shiite_bedouin_company = { + color = { 40 150 30 } + color2 = { 255 255 255 } + + capital = 862 # Halaban + + # Hire Trigger + allow = { + OR = { + religion_group = muslim + religion_group = zoroastrian_group + } + } + + # Parent Religion + religion = shiite + culture = bedouin_arabic + + mercenary = yes + + title = "CAPTAIN" + foa = "CAPTAIN_FOA" + + # Always exists + landless = yes + + # Cannot be held as a secondary title + primary = yes + + # Cannot be vassalized + independent = yes + + strength_growth_per_century = 1.00 + + mercenary_type = bedouin_company_composition +} + +d_white_company = { + color={ 235 235 235 } + color2={ 255 255 255 } + + capital = 72 # Essex + + # Hire Trigger + allow = { + religion_group = christian + } + + # Parent Religion + religion = catholic + + mercenary = yes + + title = "CAPTAIN" + foa = "CAPTAIN_FOA" + + # Always exists + landless = yes + + # Cannot be held as a secondary title + primary = yes + + # Cannot be vassalized + independent = yes + + strength_growth_per_century = 1.0 + + mercenary_type = white_company_composition + +} + +d_great_company = { + color={ 100 100 100 } + color2={ 255 255 255 } + + capital = 361 # Niederbayern + + # Hire Trigger + allow = { + religion_group = christian + } + + # Parent Religion + religion = catholic + + mercenary = yes + + title = "CAPTAIN" + foa = "CAPTAIN_FOA" + + # Always exists + landless = yes + + # Cannot be held as a secondary title + primary = yes + + # Cannot be vassalized + independent = yes + + strength_growth_per_century = 1.0 + + mercenary_type = great_company_composition +} + +d_company_of_st_george = { + color={ 50 50 200 } + color2={ 255 255 255 } + + capital = 235 # Lombardia + + # Hire Trigger + allow = { + religion_group = christian + } + + # Parent Religion + religion = catholic + + mercenary = yes + + title = "CONDOTTIERO" + foa = "CONDOTTIERO_FOA" + + # Always exists + landless = yes + + # Cannot be held as a secondary title + primary = yes + + # Cannot be vassalized + independent = yes + + strength_growth_per_century = 1.0 + + mercenary_type = company_of_st_george_composition +} + +d_star_company = { + color={ 200 80 200 } + color2={ 255 255 255 } + + capital = 353 # Ferrara + + # Hire Trigger + allow = { + religion_group = christian + } + + # Parent Religion + religion = catholic + + mercenary = yes + + title = "CONDOTTIERO" + foa = "CONDOTTIERO_FOA" + + # Always exists + landless = yes + + # Cannot be held as a secondary title + primary = yes + + # Cannot be vassalized + independent = yes + + strength_growth_per_century = 1.0 + + mercenary_type = star_company_composition +} + +d_little_hat_company = { + color={ 100 200 80 } + color2={ 255 255 255 } + + capital = 354 # mantua + + # Hire Trigger + allow = { + religion_group = christian + } + + # Parent Religion + religion = catholic + + mercenary = yes + + title = "CONDOTTIERO" + foa = "CONDOTTIERO_FOA" + + # Always exists + landless = yes + + # Cannot be held as a secondary title + primary = yes + + # Cannot be vassalized + independent = yes + + strength_growth_per_century = 1.0 + + mercenary_type = little_hat_company_composition +} + +d_rose_company = { + color={ 230 150 150 } + color2={ 255 255 255 } + + capital = 355 # Padua + + # Hire Trigger + allow = { + religion_group = christian + } + + # Parent Religion + religion = catholic + + mercenary = yes + + title = "CONDOTTIERO" + foa = "CONDOTTIERO_FOA" + + # Always exists + landless = yes + + # Cannot be held as a secondary title + primary = yes + + # Cannot be vassalized + independent = yes + + strength_growth_per_century = 1.0 + + mercenary_type = rose_company_composition +} + +d_catalan_company = { + color={ 230 100 100 } + color2={ 255 255 255 } + + capital = 204 # Barcelona + + mercenary = yes + + # Hire Trigger + allow = { + religion_group = christian + year = 950 + } + + # Parent Religion + religion = catholic + culture = catalan + + title = "CONDOTTIERO" + foa = "CONDOTTIERO_FOA" + + # Always exists + landless = yes + + # Cannot be held as a secondary title + primary = yes + + # Cannot be vassalized + independent = yes + + strength_growth_per_century = 1.0 + + mercenary_type = catalan_company_composition +} + +d_navarrese_company = { + color={ 150 150 100 } + color2={ 255 255 255 } + + title = "CONDOTTIERO" + foa = "CONDOTTIERO_FOA" + + capital = 152 # Navarre + + mercenary = yes + + # Hire Trigger + allow = { + religion_group = christian + } + + # Parent Religion + religion = catholic + culture = basque + + # Always exists + landless = yes + + # Cannot be held as a secondary title + primary = yes + + # Cannot be vassalized + independent = yes + + strength_growth_per_century = 1.0 + + mercenary_type = navarrese_company_composition +} + +d_swiss_company = { + color={ 150 40 40 } + color2={ 255 255 255 } + + capital = 239 # Geneve + + # Hire Trigger + allow = { + religion_group = christian + } + + # Parent Religion + religion = catholic + + mercenary = yes + + title = "CAPTAIN" + foa = "CAPTAIN_FOA" + + # Always exists + landless = yes + + # Cannot be held as a secondary title + primary = yes + + # Cannot be vassalized + independent = yes + + strength_growth_per_century = 1.0 + + mercenary_type = swiss_company_composition +} + +d_breton_company = { + color={ 150 40 40 } + color2={ 255 255 255 } + + capital = 102 # Penthievre + + # Hire Trigger + allow = { + religion_group = christian + } + + # Parent Religion + religion = catholic + culture = breton + + mercenary = yes + + title = "CAPTAIN" + foa = "CAPTAIN_FOA" + + # Always exists + landless = yes + + # Cannot be held as a secondary title + primary = yes + + # Cannot be vassalized + independent = yes + + strength_growth_per_century = 1.0 + + mercenary_type = breton_company_composition +} + +d_victual_brothers = { + color={ 160 160 160 } + color2={ 255 255 255 } + + capital = 370 # Marienburg + + # Hire Trigger + allow = { + OR = { + religion = norse_pagan + religion = norse_pagan_reformed + religion = baltic_pagan + religion = baltic_pagan_reformed + religion = finnish_pagan + religion = finnish_pagan_reformed + religion_group = christian + } + } + + # Parent Religion + religion = catholic + + mercenary = yes + mercenary_type = victual_brothers_composition + + title = "CAPTAIN" + foa = "CAPTAIN_FOA" + + # Always exists + landless = yes + + # Cannot be held as a secondary title + primary = yes + + # Cannot be vassalized + independent = yes + + strength_growth_per_century = 0.25 +} + +d_varangian_guard = { + color={ 180 180 180 } + color2={ 255 255 255 } + + graphical_culture = orthodoxholygfx + + capital = 290 # Uppland + + # Parent Religion + religion = orthodox + + culture = norse + + mercenary = yes + + title = "CAPTAIN" + foa = "CAPTAIN_FOA" + + # Always exists + landless = yes + + # Cannot be held as a secondary title + primary = yes + + strength_growth_per_century = 0.10 + + mercenary_type = varangian_guard_composition +} + +d_cuman_company = { + color = { 160 160 80 } + color2 = { 255 255 255 } + + capital = 616 # Yaik + + # Parent Religion + religion = orthodox + culture = cuman + + mercenary = yes + + title = "CAPTAIN" + foa = "CAPTAIN_FOA" + + # Always exists + landless = yes + + # Cannot be held as a secondary title + primary = yes + + # Cannot be vassalized + independent = yes + + strength_growth_per_century = 1.0 + + mercenary_type = cuman_company_composition +} + +d_rus_company = { + color = { 80 80 160 } + color2 = { 255 255 255 } + + capital = 547 # Kiev + + # Hire Trigger + allow = { + year = 950 + OR = { + religion_group = pagan_group + religion_group = christian + } + } + + # Parent Religion + religion = orthodox + + culture = russian + + mercenary = yes + + title = "CAPTAIN" + foa = "CAPTAIN_FOA" + + # Always exists + landless = yes + + # Cannot be held as a secondary title + primary = yes + + # Cannot be vassalized + independent = yes + + strength_growth_per_century = 1.0 + + mercenary_type = rus_company_composition +} + +d_pecheneg_company = { + color = { 100 100 30 } + color2 = { 255 255 255 } + + capital = 542 # Olvia + + # Parent Religion + religion = orthodox + + culture = pecheneg + + mercenary = yes + + title = "CAPTAIN" + foa = "CAPTAIN_FOA" + + # Always exists + landless = yes + + # Cannot be held as a secondary title + primary = yes + + # Cannot be vassalized + independent = yes + + strength_growth_per_century = 1.0 + + mercenary_type = pecheneg_company_composition +} + +d_bulgarian_company = { + color = { 100 50 30 } + color2 = { 255 255 255 } + + capital = 508 # Dorostotum + + # Parent Religion + religion = orthodox + + culture = bulgarian + + mercenary = yes + + title = "CAPTAIN" + foa = "CAPTAIN_FOA" + + # Always exists + landless = yes + + # Cannot be held as a secondary title + primary = yes + + # Cannot be vassalized + independent = yes + + strength_growth_per_century = 1.0 + + mercenary_type = bulgarian_company_composition +} + +d_turkic_company = { + color = { 100 50 30 } + color2 = { 255 255 255 } + + capital = 621 # Kangly + + # Parent Religion + religion = orthodox + + culture = turkish + + mercenary = yes + + title = "CAPTAIN" + foa = "CAPTAIN_FOA" + + # Always exists + landless = yes + + # Cannot be held as a secondary title + primary = yes + + # Cannot be vassalized + independent = yes + + strength_growth_per_century = 1.0 + + mercenary_type = turkic_company_composition +} + +d_lombard_band = { + color={ 150 60 60 } + color2={ 255 255 255 } + + capital = 235 # Lombardia + + # Hire Trigger + allow = { + religion_group = christian + } + + # Parent Religion + religion = catholic + + mercenary = yes + + title = "CONDOTTIERO" + foa = "CONDOTTIERO_FOA" + + # Always exists + landless = yes + + # Cannot be held as a secondary title + primary = yes + + # Cannot be vassalized + independent = yes + + strength_growth_per_century = 1.0 + + mercenary_type = lombard_band_composition +} + +d_swiss_band = { + color={ 150 40 40 } + color2={ 255 255 255 } + + capital = 239 # Geneve + + # Hire Trigger + allow = { + religion_group = christian + } + + # Parent Religion + religion = catholic + + mercenary = yes + + title = "CAPTAIN" + foa = "CAPTAIN_FOA" + + # Always exists + landless = yes + + # Cannot be held as a secondary title + primary = yes + + # Cannot be vassalized + independent = yes + + strength_growth_per_century = 1.0 + + mercenary_type = swiss_band_composition +} + +d_breton_band = { + color={ 150 65 65 } + color2={ 255 255 255 } + + capital = 102 # Penthievre + + # Hire Trigger + allow = { + religion_group = christian + } + + # Parent Religion + religion = catholic + + culture = breton + + mercenary = yes + + title = "CAPTAIN" + foa = "CAPTAIN_FOA" + + # Always exists + landless = yes + + # Cannot be held as a secondary title + primary = yes + + # Cannot be vassalized + independent = yes + + strength_growth_per_century = 1.0 + + mercenary_type = breton_band_composition +} + +d_catalan_band = { + color={ 230 100 100 } + color2={ 255 255 255 } + + capital = 204 # Barcelona + + mercenary = yes + + # Hire Trigger + allow = { + religion_group = christian + year = 950 + } + + # Parent Religion + religion = catholic + + culture = catalan + + title = "CONDOTTIERO" + foa = "CONDOTTIERO_FOA" + + # Always exists + landless = yes + + # Cannot be held as a secondary title + primary = yes + + # Cannot be vassalized + independent = yes + + strength_growth_per_century = 1.0 + + mercenary_type = catalan_band_composition +} + +d_saxon_band = { + color={ 220 90 90 } + color2={ 255 255 255 } + + capital = 57 # York + + mercenary = yes + + # Hire Trigger + allow = { + OR = { + NOT = { year = 1100 } + any_independent_ruler = { + culture = saxon + } + } + religion_group = christian + } + + # Parent Religion + religion = catholic + + culture = saxon + + title = "CAPTAIN" + foa = "CAPTAIN_FOA" + + # Always exists + landless = yes + + # Cannot be held as a secondary title + primary = yes + + # Cannot be vassalized + independent = yes + + strength_growth_per_century = 1.0 + + mercenary_type = saxon_band_composition +} + +d_cuman_band = { + color = { 160 160 80 } + color2 = { 255 255 255 } + + capital = 616 # Yaik + + # Parent Religion + religion = orthodox + + culture = cuman + + mercenary = yes + + title = "CAPTAIN" + foa = "CAPTAIN_FOA" + + # Always exists + landless = yes + + # Cannot be held as a secondary title + primary = yes + + # Cannot be vassalized + independent = yes + + strength_growth_per_century = 1.0 + + mercenary_type = cuman_band_composition +} + +d_rus_band = { + color = { 80 80 160 } + color2 = { 255 255 255 } + + capital = 547 # Kiev + + # Hire Trigger + allow = { + year = 950 + OR = { + religion_group = christian + religion_group = pagan_group + } + } + + # Parent Religion + religion = orthodox + + culture = russian + + mercenary = yes + + title = "CAPTAIN" + foa = "CAPTAIN_FOA" + + # Always exists + landless = yes + + # Cannot be held as a secondary title + primary = yes + + # Cannot be vassalized + independent = yes + + strength_growth_per_century = 1.0 + + mercenary_type = rus_band_composition +} + +d_finnish_band = { + color = { 131 35 35 } + color2 = { 255 255 255 } + + capital = 383 # Häme + + # Hire Trigger + allow = { + OR = { + religion_group = christian + religion_group = pagan_group + } + } + + # Parent Religion + religion = finnish_pagan + + culture = finnish + + mercenary = yes + + title = "CAPTAIN" + foa = "CAPTAIN_FOA" + + # Always exists + landless = yes + + # Cannot be held as a secondary title + primary = yes + + # Cannot be vassalized + independent = yes + + strength_growth_per_century = 1.0 + + mercenary_type = finnish_band_composition +} + +d_lappish_band = { + color = { 101 69 30 } + color2 = { 255 255 255 } + + capital = 386 # Kemi + + # Hire Trigger + allow = { + OR = { + religion_group = christian + religion_group = pagan_group + } + } + + # Parent Religion + religion = finnish_pagan + + culture = lappish + + mercenary = yes + + title = "CAPTAIN" + foa = "CAPTAIN_FOA" + + # Always exists + landless = yes + + # Cannot be held as a secondary title + primary = yes + + # Cannot be vassalized + independent = yes + + strength_growth_per_century = 1.0 + + mercenary_type = lappish_band_composition +} + +d_lithuanian_band = { + color = { 169 90 95 } + color2 = { 255 255 255 } + + capital = 421 # Lietuva / Zhmud + + # Hire Trigger + allow = { + OR = { + religion_group = christian + religion_group = pagan_group + } + } + + # Parent Religion + religion = baltic_pagan + + culture = lithuanian + + mercenary = yes + + title = "CAPTAIN" + foa = "CAPTAIN_FOA" + + # Always exists + landless = yes + + # Cannot be held as a secondary title + primary = yes + + # Cannot be vassalized + independent = yes + + strength_growth_per_century = 1.0 + + mercenary_type = lithuanian_band_composition +} + +d_abyssinian_band = { + color={ 180 135 60 } + color2 = { 255 255 255 } + + capital = 875 # Axum + + # Hire Trigger + allow = { + OR = { + religion_group = christian + religion_group = jewish_group + } + } + + # Parent Religion + religion = miaphysite + + culture = ethiopian + + mercenary = yes + + title = "CAPTAIN" + foa = "CAPTAIN_FOA" + + # Always exists + landless = yes + + # Cannot be held as a secondary title + primary = yes + + # Cannot be vassalized + independent = yes + + strength_growth_per_century = 1.0 + + mercenary_type = abyssinian_band_composition +} + +d_nubian_band = { + color = { 155 165 80 } + color2 = { 255 255 255 } + + capital = 878 # Hayya + + # Hire Trigger + allow = { + OR = { + religion_group = christian + religion_group = jewish_group + } + } + + # Parent Religion + religion = miaphysite + + culture = nubian + + mercenary = yes + + title = "CAPTAIN" + foa = "CAPTAIN_FOA" + + # Always exists + landless = yes + + # Cannot be held as a secondary title + primary = yes + + # Cannot be vassalized + independent = yes + + strength_growth_per_century = 1.0 + + mercenary_type = nubian_band_composition +} + +d_scottish_band = { + color = { 30 90 182 } + color2 = { 255 255 255 } + + capital = 43 # Gowrie + + # Hire Trigger + allow = { + year = 950 + } + + # Parent Religion + religion = catholic + + culture = scottish + + mercenary = yes + + title = "CAPTAIN" + foa = "CAPTAIN_FOA" + + # Always exists + landless = yes + + # Cannot be held as a secondary title + primary = yes + + # Cannot be vassalized + independent = yes + + strength_growth_per_century = 1.0 + + mercenary_type = scottish_band_composition +} + +d_irish_band = { + color = { 112 255 70 } + color2 = { 255 255 255 } + + capital = 10 # Kildare + + # Hire Trigger + allow = { + always = yes + } + + # Parent Religion + religion = catholic + + culture = irish + + mercenary = yes + + title = "CAPTAIN" + foa = "CAPTAIN_FOA" + + # Always exists + landless = yes + + # Cannot be held as a secondary title + primary = yes + + # Cannot be vassalized + independent = yes + + strength_growth_per_century = 1.0 + + mercenary_type = irish_band_composition +} + +d_alan_band = { + color = { 245 210 90 } + color2 = { 255 255 255 } + + capital = 603 # Alania + + # Hire Trigger + allow = { + always = yes + } + + # Parent Religion + religion = orthodox + + culture = alan + + mercenary = yes + + title = "CAPTAIN" + foa = "CAPTAIN_FOA" + + # Always exists + landless = yes + + # Cannot be held as a secondary title + primary = yes + + # Cannot be vassalized + independent = yes + + strength_growth_per_century = 1.0 + + mercenary_type = alan_band_composition +} + +d_pecheneg_band = { + color = { 100 100 30 } + color2 = { 255 255 255 } + + capital = 542 # Olvia + + # Parent Religion + religion = orthodox + + culture = pecheneg + + mercenary = yes + + title = "CAPTAIN" + foa = "CAPTAIN_FOA" + + # Always exists + landless = yes + + # Cannot be held as a secondary title + primary = yes + + # Cannot be vassalized + independent = yes + + strength_growth_per_century = 1.0 + + mercenary_type = pecheneg_band_composition +} + +d_bulgarian_band = { + color = { 100 50 30 } + color2 = { 255 255 255 } + + capital = 508 # Dorostotum + + # Parent Religion + religion = orthodox + + culture = bulgarian + + mercenary = yes + + title = "CAPTAIN" + foa = "CAPTAIN_FOA" + + # Always exists + landless = yes + + # Cannot be held as a secondary title + primary = yes + + # Cannot be vassalized + independent = yes + + strength_growth_per_century = 1.0 + + mercenary_type = bulgarian_band_composition +} + +d_turkic_band = { + color = { 100 50 30 } + color2 = { 255 255 255 } + + capital = 621 # Kangly + + # Parent Religion + religion = orthodox + + culture = turkish + + mercenary = yes + + title = "CAPTAIN" + foa = "CAPTAIN_FOA" + + # Always exists + landless = yes + + # Cannot be held as a secondary title + primary = yes + + # Cannot be vassalized + independent = yes + + strength_growth_per_century = 1.0 + + mercenary_type = turkic_band_composition +} + +d_mamluks = { + color={ 80 160 80 } + color2={ 255 255 255 } + + graphical_culture = bektashigfx + + capital = 796 # Cairo + + # Hire Trigger + allow = { + religion_group = muslim + } + + # Parent Religion + religion = shiite + + mercenary = yes + + title = "CAPTAIN" + foa = "CAPTAIN_FOA" + + # Always exists + landless = yes + + # Cannot be held as a secondary title + primary = yes + + strength_growth_per_century = 1.0 + + mercenary_type = mamluks_composition +} + +d_venetian_navy = { # Now "Adriatic Galleys" + color = { 60 175 170 } + color2={ 255 255 255 } + + short_name = yes + + capital = 356 # Venice + + # Hire Trigger + allow = { + religion_group = christian + year = 1066 + } + + # Parent Religion + religion = catholic + + mercenary = yes + + title = "CAPTAIN" + foa = "CAPTAIN_FOA" + + # Always exists + landless = yes + + # Cannot be held as a secondary title + primary = yes + + # Cannot be vassalized + independent = yes + + mercenary_type = naval_merc_composition +} + +d_genoese_navy = { # Now "Ligurian Galleys" + color={ 224 161 120 } + color2={ 255 255 255 } + + short_name = yes + + capital = 233 # Genoa + + # Hire Trigger + allow = { + religion_group = christian + year = 1066 + } + + # Parent Religion + religion = catholic + + mercenary = yes + + title = "CAPTAIN" + foa = "CAPTAIN_FOA" + + # Always exists + landless = yes + + # Cannot be held as a secondary title + primary = yes + + # Cannot be vassalized + independent = yes + + mercenary_type = naval_merc_composition +} + +d_hanseatic_navy = { # Now "Baltic Cogs" + color={ 150 150 150 } + color2={ 255 255 255 } + + short_name = yes + + capital = 262 # Lübeck + + # Hire Trigger + allow = { + religion_group = christian + year = 1066 + } + + # Parent Religion + religion = catholic + + mercenary = yes + + title = "CAPTAIN" + foa = "CAPTAIN_FOA" + + # Always exists + landless = yes + + # Cannot be held as a secondary title + primary = yes + + # Cannot be vassalized + independent = yes + + mercenary_type = naval_merc_composition +} + +d_frisian_navy = { # Now "North Sea Cogs" + color={ 245 80 20 } + color2={ 255 255 255 } + + short_name = yes + + capital = 80 # Holland + + # Hire Trigger + allow = { + religion_group = christian + year = 1066 + } + + # Parent Religion + religion = catholic + + mercenary = yes + + title = "CAPTAIN" + foa = "CAPTAIN_FOA" + + # Always exists + landless = yes + + # Cannot be held as a secondary title + primary = yes + + # Cannot be vassalized + independent = yes + + mercenary_type = naval_merc_composition +} + +d_maghreb_corsairs = { + color={ 174 237 125 } + color2={ 255 255 255 } + + short_name = yes + + capital = 816 # Mahdia + + # Hire Trigger + allow = { + religion_group = muslim + year = 1066 + } + + # Parent Religion + religion = sunni + + culture = maghreb_arabic + + mercenary = yes + + title = "CAPTAIN" + foa = "CAPTAIN_FOA" + + # Always exists + landless = yes + + # Cannot be held as a secondary title + primary = yes + + # Cannot be vassalized + independent = yes + + mercenary_type = naval_merc_composition +} + +d_ghilman = { + color={ 60 165 80 } + color2={ 255 255 255 } + + graphical_culture = bektashigfx + + capital = 627 # Kara-Kum + + # Hire Trigger + allow = { + religion_group = muslim + } + + # Parent Religion + religion = sunni + + mercenary = yes + + title = "CAPTAIN" + foa = "CAPTAIN_FOA" + + # Always exists + landless = yes + + # Cannot be held as a secondary title + primary = yes + + strength_growth_per_century = 1.0 + + mercenary_type = ghilman_composition +} + +d_ghanan_band = { + color = { 108 123 48 } + color2 = { 255 255 255 } + + capital = 913 # Ghana + + # Hire Trigger + allow = { + culture_group = west_african + } + + # Parent Religion + religion = west_african_pagan + + culture = manden + + mercenary = yes + + title = "CAPTAIN" + foa = "CAPTAIN_FOA" + + # Always exists + landless = yes + + # Cannot be held as a secondary title + primary = yes + + # Cannot be vassalized + independent = yes + + strength_growth_per_century = 1.0 + + mercenary_type = ghanan_band_composition +} + +# EMPIRES + +e_hre = { # Created by special decision only + color={ 250 250 250 } + color2={ 0 0 0 } + + capital = 90 # Jülich / Aachen + + short_name = yes + + allow = { + always = no # Only created through special decisions + } +} + +e_germany = { + + color={ 190 200 190 } + color2={ 220 220 20 } + + capital = 121 # Nassau + + culture = german + + allow = { + hidden_tooltip = { + OR = { + ai = no + culture_group = central_germanic + culture = old_saxon + } + } + } + + k_hansa = { + color={ 142 142 142 } + color2={ 255 255 255 } + + capital = 262 # Lübeck + + dignity = 200 # Never want the Hanseatic League to change primary title + + allow = { + always = no + is_republic = yes + } + } + + k_saxony = { + color={ 120 25 25 } + culture = old_saxon + + capital = 310 # Anhalt + + allow = { + OR = { + culture = old_saxon + culture = saxon + } + } + + catholic = 3000 # Crusade target weight + norse_pagan_reformed = 500 # Crusade target weight + } + + k_frisia = { + color={ 245 100 20 } + color2={ 220 220 20 } + + culture = dutch + + capital = 80 #Holland + + allow = { + hidden_tooltip = { + OR = { + ai = no + culture = dutch + culture = frisian + } + } + } + + catholic = 700 # Crusade target weight + norse_pagan_reformed = 200 # Crusade target weight + + d_holland = { + color={ 235 80 30 } + color2={ 255 255 255 } + + capital = 80 #Holland + + culture = dutch + + c_holland = { + color={ 235 85 30 } + color2={ 255 255 255 } + + b_haarlem = { + } + b_amsterdam = { + } + b_vlaardingen = { + } + b_sgravenhage = { + } + b_dordrecht = { + } + b_gouda = { + } + b_leiden = { + } + b_muiden = { + } + } + c_sticht = { + color={ 215 85 35 } + color2={ 255 255 255 } + + b_woerden = { + } + b_utrecht = { + } + b_dorestad = { + } + b_gorinchem = { + } + b_zeist = { + } + b_buren = { + } + b_ijsselstein = { + } + b_oudewater = { + } + } + c_westfriesland = { + color={ 245 99 50 } + color2={ 255 255 255 } + + b_alkmaar = { + } + b_hoorn = { + } + b_medemblik = { + } + b_enkhuizen = { + } + b_heerhugowaard = { + } + b_texel = { + } + b_egmond = { + } + b_schagen = { + } + } + c_zeeland = { + color={ 200 100 30 } + color2={ 255 255 255 } + + holy_site = norse_pagan + holy_site = norse_pagan_reformed + + b_middelburg = { + } + b_tholen = { + } + b_veere = { + } + b_cadzand = { + } + b_vlissingen = { + } + b_renesse = { + } + b_borsele = { + } + b_zierikzee = { + } + } + } + d_gelre = { + color={ 200 100 25 } + color2={ 255 255 255 } + + capital = 83 #Gelre + + culture = dutch + + c_gelre = { + color={ 200 100 30 } + color2={ 255 255 255 } + + b_nijmegen = { + } + b_zutphen = { + } + b_deventer = { + } + b_arnhem = { + } + b_zwolle = { + } + b_kampen = { + } + b_bergh = { + } + b_bronckhorst = { + } + } + c_ostfriesland = { + color={ 190 90 10 } + color2={ 255 255 255 } + + b_emden = { + } + b_aurich = { + } + b_borkum = { + } + b_norden = { + } + b_norderney = { + } + b_leer = { + } + b_wittmund = { + } + b_esens = { + } + } + c_frisia = { + color={ 170 80 15 } + color2={ 255 255 255 } + + b_groningen = { + } + b_leeuwarden = { + } + b_stavoren = { + } + b_bolsward = { + } + b_franeker = { + } + b_dokkum = { + } + b_assen = { + } + b_harlingen = { + } + } + } + } + + k_lotharingia = { + color={ 110 110 160 } + color2={ 220 220 20 } + + culture = frankish + + capital = 115 #Luxemburg + + catholic = 5000 # Crusade target weight + + dignity = 17 # One more than Burgundy + + d_luxembourg = { + color={ 110 110 155 } + color2={ 255 255 255 } + + capital = 115 #Luxembourg + + c_luxembourg = { + color={ 113 113 158 } + color2={ 255 255 255 } + + b_luxembourg = { + } + b_bouillon = { + } + b_saintvith = { + } + b_arlon = { + } + b_neufchateau = { + } + b_longwy = { + } + b_differdange = { + } + b_ettelbruck = { + } + } + c_liege = { + color={ 120 120 165 } + color2={ 255 255 255 } + + b_liege = { + } + b_bastogne = { + } + b_namur = { + } + b_huy = { + } + b_laroche = { + } + b_cine = { + } + b_salm = { + } + b_stavelot = { + } + } + c_julich = { + color={ 100 100 141 } + color2={ 255 255 255 } + + b_julich = { + } + b_aachen = { + } + b_prum = { + } + b_geldern = { + } + b_roermond = { + } + b_duren = { + } + b_moers = { + } + b_monschau = { + } + } + c_loon = { + color={ 115 115 175 } + color2={ 255 255 255 } + + b_loon = { + } + b_maastricht = { + } + b_hasselt = { + } + b_valkenburg = { + } + b_heinsberg = { + } + b_hesbaie = { + } + b_wassenberg = { + } + b_tongeren = { + } + } + } + d_brabant = { + color={ 200 100 60 } + color2={ 255 255 255 } + + capital = 117 #Brabant + + culture = dutch + + c_brabant = { + color={ 200 100 65 } + color2={ 255 255 255 } + + b_leuven = { + } + b_mechelen = { + } + b_brussel = { + } + b_antwerpen = { + } + b_aarschot = { + } + b_grimbergen = { + } + b_herstal = { + } + b_lier = { + } + } + c_hainaut = { + color={ 210 120 40 } + color2={ 255 255 255 } + + b_valenciennes = { + } + b_cambrai = { + } + b_avesnes = { + } + b_mons = { + } + b_chievres = { + } + b_enghien = { + } + b_charleroi = { + } + b_ath = { + } + } + c_breda = { + color={ 234 145 54 } + color2={ 255 255 255 } + + b_breda = { + } + b_shertogenbosch = { + } + b_tilburg = { + } + b_willemstad = { + } + b_bergenopzoom = { + } + b_cuijck = { + } + b_ravenstein = { + } + b_horn = { + } + } + } + d_upper_lorraine = { + color={ 90 90 125 } + color2={ 255 255 255 } + + capital = 127 #Lorraine + c_lorraine = { + color={ 92 92 127 } + color2={ 255 255 255 } + + b_nancy = { + } + b_toul = { + } + b_sarrebourg = { + } + b_epinal = { + } + b_luneville = { + } + b_charpeigne = { + } + b_mortagnedevosges = { + } + b_saintavoid = { + } + } + c_saintois = { + color={ 105 105 135 } + color2={ 255 255 255 } + + b_saintois = { + } + b_vaudemont = { + } + b_brixey = { + } + b_sorcystmartin = { + } + b_ivios = { + } + b_ornois = { + } + b_saulnois = { + } + b_dompaire = { + } + } + c_bar = { + color={ 115 115 145 } + color2={ 255 255 255 } + + b_barleduc = { + } + b_vaucouleurs = { + } + b_saintmihel = { + } + b_commercy = { + } + b_joinville = { + } + b_saintdizier = { + } + } + } + d_lower_lorraine = { + color={ 144 144 177 } + color2={ 255 255 255 } + + capital = 118 # Trier + c_pfalz = { + color={ 140 140 170 } + color2={ 255 255 255 } + + b_kaiserslautern = { + } + b_worms = { + } + b_hagenau = { + } + b_stahleck = { + } + b_trifels = { + } + b_speyer = { + } + b_zweibrucken = { + } + b_saarbrucken = { + } + } + c_trier = { + color={ 144 144 177 } + color2={ 255 255 255 } + + b_andernach = { + } + b_trier = { + } + b_coblenz = { + } + b_sponheim = { + } + b_wittlich = { + } + b_gerolstein = { + } + b_laach = { + } + b_bitburg = { + } + } + c_metz = { + color={ 150 150 185 } + color2={ 255 255 255 } + + b_metz = { + } + b_thionville = { + } + b_saintjulien = { + } + b_marslatour = { + } + b_bouzonville = { + } + b_briey = { + } + b_joudreville = { + } + b_audunleroman = { + } + } + c_verdun = { + color={ 130 130 165 } + color2={ 255 255 255 } + + b_verdun = { + } + b_grandpre = { + } + b_barlecomte = { + } + b_longuyon = { + } + b_doaumont = { + } + b_stenay = { + } + b_etain = { + } + } + } + d_alsace = { + color={ 150 150 195 } + color2={ 255 255 255 } + + capital = 134 #Sundgau + + c_nordgau = { + color={ 160 160 210 } + color2={ 255 255 255 } + + b_egisheim = { + } + b_strassburg = { + } + b_lauterburg = { + } + b_selz = { + } + b_erstein = { + } + b_molsheim = { + } + b_brumath = { + } + b_schlettstadt = { + } + } + c_sundgau = { + color={ 152 152 197 } + color2={ 255 255 255 } + + b_ensisheim = { + } + b_kolmar = { + } + b_murbach = { + } + b_mulhouse = { + } + b_landser = { + } + b_thann = { + } + b_altkirch = { + } + b_ferette = { + } + } + } + } + + k_bavaria = { + color={ 91 100 100 } + color2={ 220 220 20 } + + culture = german + + capital = 360 #Oberbayern + + catholic = 2000 # Crusade target weight + + d_bavaria = { + color={ 128 121 121 } + color2={ 255 255 255 } + + capital = 360 #Oberbayern + + c_kempten = { + color={ 69 69 69 } + color2={ 255 255 255 } + + b_kempten = { + } + b_augsburg = { + } + b_zumarshausen = { + } + b_kaufbeuren = { + } + b_donauworth = { + } + b_friedberg = { + } + b_hochstadt = { + } + b_rain = { + } + } + c_oberbayern = { + color={ 66 66 66 } + color2={ 255 255 255 } + + b_munchen = { + } + b_dachau = { + } + b_freising = { + } + b_andechs = { + } + b_diessen = { + } + b_dingolfing = { + } + b_pfaffenberg = { + } + b_ebersberg = { + } + } + c_salzburg = { + color={ 63 63 63 } + color2={ 255 255 255 } + + b_salzburg = { + } + b_durmberg = { + } + b_waging = { + } + b_berchtesgaden = { + } + b_tittmoning = { + } + b_laufen = { + } + b_muhldorf = { + } + b_gastein = { + } + } + c_niederbayern = { + color={ 60 60 60 } + color2={ 255 255 255 } + + b_straubing = { + } + b_regensburg = { + } + b_landshut = { + } + b_ingolstadt = { + } + b_wittelsbach = { + } + b_cham = { + } + b_rohrbach = { + } + b_kirchroth = { + } + } + c_nurnberg = { + color={ 57 57 57 } + color2={ 255 255 255 } + + b_nurnberg = { + } + b_ellwangen = { + } + b_furth = { + } + b_kulmbach = { + } + b_hohenburg = { + } + b_nordlingen = { + } + b_eichstatt = { + } + b_erlangen = { + } + } + } + d_osterreich = { + color={ 191 182 182 } + color2={ 255 255 255 } + + capital = 449 #Österreich + + c_passau = { + color={ 54 54 54 } + color2={ 255 255 255 } + + b_passau = { + } + b_ortenburg = { + } + b_schaumberg = { + } + b_formbach = { + } + b_ulrichsberg = { + } + b_freistadt = { + } + b_raab = { + } + b_freyung = { + } + } + c_znojmo = { + color={ 51 51 51 } + color2={ 255 255 255 } + + b_mikulov = { + } + b_iglau = { + } + b_lundenburg = { + } + b_skalitz = { + } + b_trebic = { + } + b_eibenshitz = { + } + b_znojmo = { + } + b_ivancice = { + } + } + c_osterreich = { + color={ 48 48 48 } + color2={ 255 255 255 } + + b_wien = { + norse = Wien + swedish = Wien + danish = Wien + norwegian = Wien + german = Wien + lombard = Wien + old_frankish = Wien + suebi = Wien + dutch = Wenen + frisian = Wenen + saxon = Wien + old_saxon = Wien + } + b_linz = { + } + b_melk = { + } + b_stpolten = { + } + b_hohenwarth = { + } + b_wagram = { + } + b_krems = { + } + b_steyr = { + } + } + c_steiermark = { + color={ 45 45 45 } + color2={ 255 255 255 } + + b_eppenstein = { + } + b_graz = { + } + b_lavant = { + } + b_cilli = { + } + b_seckau = { + } + b_leibnitz = { + } + b_radkersburg = { + } + b_stubing = { + } + } + } + + d_tyrol = { + color={ 157 154 154 } + color2={ 255 255 255 } + + capital = 316 #Tirol + + c_tirol = { + color={ 90 90 90 } + color2={ 255 255 255 } + + b_bregenz = { + } + b_landeck = { + } + b_stanton = { + } + b_imst = { + } + b_sterzing = { + } + b_ried = { + } + b_dornbirn = { + } + b_nenzing = { + } + } + + c_st_gallen = { + color={ 85 80 85 } + color2={ 255 255 255 } + + b_rheineck = { + } + b_stgallen = { + } + b_appenzell = { + } + b_frauenfeld = { + } + b_altstatten = { + } + b_lichtensteig = { + } + b_vaduz = { + } + b_herisau = { + } + } + c_innsbruck = { + color={ 84 84 84 } + color2={ 255 255 255 } + + b_innsbruck = { + } + b_kufstein = { + } + b_stams = { + } + b_lienz = { + } + b_schwaz = { + } + b_kitzbuhel = { + } + b_jenbach = { + } + b_fugen = { + } + } + c_chur = { + color={ 87 87 87 } + color2={ 255 255 255 } + + b_chur = { + } + b_churwalden = { + } + b_davos = { + } + b_maienfeld = { + } + b_illanz = { + } + b_thusis = { + } + b_glurns = { + } + b_zuoz = { + } + } + } + + d_carinthia = { + color={ 165 255 250 } + color2={ 255 255 255 } + + capital = 358 # Aquileia + + c_istria = { + color={ 165 245 200 } + color2={ 255 255 255 } + + b_mitterburg = { + croatian = "Pazin" + serbian = "Pazin" + italian = "Pisino" + greek = "Pisino" + } + b_trieste = { + german = "Triest" + croatian = "Trst" + serbian = "Trst" + } + b_fiume = { + } + b_lovrana = { + } + b_wolauska = { + } + b_karstberg = { + } + b_duino = { + } + b_pula = { + } + } + c_krain = { + color={ 145 225 190 } + color2={ 255 255 255 } + + b_gorz = { + } + b_krainburg = { + } + b_gurk = { + } + b_stain = { + } + b_guetenegg = { + } + b_auersperg = { + } + b_zerknitz = { + } + b_stveit = { + } + } + c_karnten = { + color={ 125 225 195 } + color2={ 255 255 255 } + + b_villach = { + } + b_klagenfurt = { + } + b_ossiach = { + } + b_laibach = { + } + b_treffen = { + } + b_sann = { + } + b_pettau = { + } + b_wolfsberg = { + } + } + + c_aquileia = { + color={ 115 205 175 } + color2 = { 255 255 255 } + + b_aquileia = { + } + b_udine = { + german = "Weiden" + croatian = "Videm" + serbian = "Videm" + } + b_friuli = { + } + b_motta = { + } + b_concordia = { + } + b_ciridale = { + } + b_portoguaro = { + } + b_sacile = { + } + } + } + } + + k_germany = { + color={ 160 160 160 } + color2={ 220 220 20 } + + dignity = 30 # Counted as having this many more counties than it does + + culture = german + + capital = 121 #Nassau + + catholic = 5000 # Crusade target weight + + norse_pagan_reformed = 200 # Crusade target weight + slavic_pagan_reformed = 50 # Crusade target weight + baltic_pagan_reformed = 50 # Crusade target weight + + d_brunswick = { + color={ 183 172 172 } + color2={ 255 255 255 } + + capital = 258 #Lüneburg + + c_celle = { + color={ 198 198 198 } + color2={ 255 255 255 } + + b_celle = { + } + b_hannover = { + } + b_herford = { + } + b_hermannsburg = { + } + b_ravensberg = { + } + b_nienburg = { + } + b_wedemark = { + } + b_wittingen = { + } + } + c_luneburg = { + color={ 195 195 195 } + color2={ 255 255 255 } + + b_luneburg = { + } + b_bardowick = { + } + b_gifhorn = { + } + b_evern = { + } + b_reppenstedt = { + } + b_ludersburg = { + } + b_thomasburg = { + } + b_uelzen = { + } + } + c_braunschweig = { + color={ 192 192 192 } + color2={ 255 255 255 } + + holy_site = norse_pagan + holy_site = norse_pagan_reformed + + b_braunschweig = { + } + b_bielefeld = { + } + b_paderborn = { + } + b_hildesheim = { + } + b_waldeck = { + } + b_wolfenbuttel = { + } + b_helmstedt = { + } + b_gandersheim = { + } + } + c_oldenburg = { + color={ 214 214 214 } + color2={ 255 255 255 } + + b_oldenburg = { + } + b_cloppenburg = { + } + b_jever = { + } + b_delmenhorst = { + } + b_loningen = { + } + b_nordenham = { + } + b_kniphausen = { + } + b_varel = { + } + } + c_osnabruck = { + color={ 213 213 213 } + color2={ 255 255 255 } + + b_osnabruck = { + } + b_lingen = { + } + b_bentheim = { + } + b_wildeshausen = { + } + b_tecklenburg = { + } + b_minden = { + } + b_quackenbruck = { + } + b_meppen = { + } + } + } + d_thuringia = { + color={ 207 206 226 } + color2={ 255 255 255 } + + capital = 255 #Thuringen + + c_thuringen = { + color={ 42 42 42 } + color2={ 255 255 255 } + + b_erfurt = { + } + b_muhlhausen = { + } + b_arnstadt = { + } + b_eichsfeld = { + } + b_reuss = { + } + b_salzungen = { + } + b_schmalkalden = { + } + b_henneberg = { + } + } + c_nassau = { + color={ 171 171 171 } + color2={ 255 255 255 } + + b_nassau = { + } + b_fulda = { + } + b_wetzlar = { + } + b_marburg = { + } + b_katzenelnbogen = { + } + b_hersfeld = { + } + b_falkenstein = { + } + b_isenburg = { + } + } + c_gottingen = { + color={ 210 210 210 } + color2={ 255 255 255 } + + b_gottingen = { + } + b_corvey = { + } + b_lippe = { + } + b_kassel = { + } + b_goslar = { + } + b_northeim = { + } + b_eisenach = { + } + b_detmold = { + } + } + } + d_koln = { + color={ 213 216 212 } + color2={ 255 255 255 } + + capital = 119 #Cologne + + norse = Köln + swedish = Köln + danish = Köln + norwegian = Köln + german = Köln + lombard = Köln + old_frankish = Köln + suebi = Köln + dutch = Keulen + frisian = Keulen + saxon = Köln + old_saxon = Köln + + c_koln = { + color={ 141 141 141 } + color2={ 255 255 255 } + + holy_site = catholic + + norse = Köln + swedish = Köln + danish = Köln + norwegian = Köln + german = Köln + lombard = Köln + old_frankish = Köln + suebi = Köln + dutch = Keulen + frisian = Keulen + saxon = Köln + old_saxon = Köln + + b_koln = { + norse = Köln + swedish = Köln + danish = Köln + norwegian = Köln + german = Köln + lombard = Köln + old_frankish = Köln + suebi = Köln + dutch = Keulen + frisian = Keulen + saxon = Köln + old_saxon = Köln + } + b_berg = { + } + b_mark = { + } + b_bonn = { + } + b_dietz = { + } + b_saffenburg = { + } + b_hochstaden = { + } + b_brauweiler = { + } + } + c_munster = { + color={ 212 212 212 } + color2={ 255 255 255 } + + b_munster = { + } + b_dortmund = { + } + b_essen = { + } + b_greven = { + } + b_gutersloh = { + } + b_steinfurt = { + } + b_gronau = { + } + b_ahlen = { + } + } + c_kleve = { + color={ 132 132 132 } + color2={ 255 255 255 } + + b_kleve = { + } + b_goch = { + } + b_rees = { + } + b_anholt = { + } + b_Xanten = { + } + b_wesel = { + } + b_emmerich = { + } + b_isselburg = { + } + } + } + d_franconia = { + color={ 100 99 100 } + color2={ 255 255 255 } + + capital = 123 #Mainz + + c_mainz = { + color={ 129 129 129 } + color2={ 255 255 255 } + + b_mainz = { + } + b_frankfurt = { + } + b_eppstein = { + } + b_ingelheim = { + } + b_mannheim = { + } + b_weilburg = { + } + b_dornburg = { + } + b_hanau = { + } + } + c_leiningen = { + color={ 126 126 126 } + color2={ 255 255 255 } + + b_leiningen = { + } + b_heidelberg = { + } + b_lorsch = { + } + b_durkheim = { + } + b_battenberg = { + } + b_hardenburg = { + } + b_ungstein = { + } + b_pfeffingen = { + } + } + c_wurzburg = { + color={ 123 123 123 } + color2={ 255 255 255 } + + b_wurzburg = { + } + b_aschaffenburg = { + } + b_schweinfurt = { + } + b_marienberg = { + } + b_hammelburg = { + } + b_schwarzenberg = { + } + b_theiheim = { + } + b_mainderheim = { + } + } + c_bamberg = { + color={ 120 120 120 } + color2={ 255 255 255 } + + b_ansbach = { + } + b_bamberg = { + } + b_babenberg = { + } + b_cadolzburg = { + } + b_colmberg = { + } + b_roth = { + } + b_uffenheim = { + } + b_crailsheim = { + } + } + } + d_baden = { + color={ 115 109 109 } + color2={ 255 255 255 } + + capital = 125 #Baden + + c_baden = { + color={ 102 102 102 } + color2={ 255 255 255 } + + b_baden = { + } + b_karlsruhe = { + } + b_wimpfen = { + } + b_calw = { + } + b_pforzheim = { + } + b_durlach = { + } + b_rastatt = { + } + b_neuhausen = { + } + } + c_breisgau = { + color={ 105 94 105 } + color2={ 255 255 255 } + + b_freiburg = { + } + b_stblasien = { + } + b_offenburg = { + } + b_zahringen = { + } + b_lahr = { + } + b_lohrrach = { + } + b_breisach = { + } + b_rottweil = { + } + } + } + + d_swabia = { + color={ 206 203 203 } + color2={ 255 255 255 } + + capital = 249 #Schwaben + + c_schwaben = { + color={ 81 81 81 } + color2={ 255 255 255 } + + b_tubingen = { + } + b_konstanz = { + } + b_heiligenberg = { + } + b_uberlingen = { + } + b_hohenberg = { + } + b_friedrichshafen = { + } + b_wangen = { + } + b_lindau = { + } + } + c_ulm = { + color={ 78 78 78 } + color2={ 255 255 255 } + + b_ulm = { + } + b_zwiefalten = { + } + b_teck = { + } + b_biberach = { + } + b_memmingen = { + } + b_isny = { + } + b_goppingen = { + } + b_erbach = { + } + } + c_furstenberg = { + color={ 75 75 75 } + color2={ 255 255 255 } + + b_furstenberg = { + } + b_villingen = { + } + b_hirsau = { + } + b_baar = { + } + b_haslach = { + } + b_zollern = { + } + b_wolfach = { + } + b_donaueschingen = { + } + } + c_wurttemberg = { + color={ 72 72 72 } + color2={ 255 255 255 } + + b_stuttgart = { + } + b_heilbronn = { + } + b_reutlingen = { + } + b_waiblingen = { + } + b_esslingen = { + } + b_gmund = { + } + b_staufen = { + } + b_asperg = { + } + } + } + } +} + +e_roman_empire = { + color={ 167 10 100 } + color2={ 255 255 20 } + + capital = 333 # Rome + + short_name = yes + + title = "Emperor" + title_female = "Empress" + purple_born_heirs = yes + + culture = italian + religion = orthodox + + allow = { + always = no # Only created through special event + } +} + +e_byzantium = { + color={ 143 12 125 } + color2={ 255 255 20 } + + capital = 496 # Byzantion + + short_name = yes + + culture = greek + religion = orthodox + + has_top_de_jure_capital = yes + + purple_born_heirs = yes + + allow = { + e_roman_empire = { + has_holder = no + } + } + + k_cyprus = { + color = { 85 138 236 } + capital = 757 # Famagusta + allow = { + OR = { + religion = catholic + is_heresy_of = catholic + } + } + } + + k_saruhan = { + color = { 144 171 225 } + culture = turkish + } + + k_trinacria = { + color={ 249 232 247 } + # capital = 340 # Palermo + + allow = { + OR = { + religion = catholic + is_heresy_of = catholic + } + } + } + + k_tekke = { + color={ 244 153 189 } + } + + k_ottoman = { + color = { 247 145 30 } + culture = turkish + } + + k_rum = { + color = { 144 182 161 } + culture = turkish + dynasty_title_names = no # Will not be named "Seljuk", etc. + } + + k_mentese = { + color = { 60 130 20 } + culture = turkish + } + + k_karaman = { + color = { 120 41 92 } + culture = turkish + } + + k_germiyan = { + color = { 255 180 180 } + } + + k_eretnid = { + color = { 253 182 182 } + } + + k_aydin = { + color = { 238 43 172 } + } + + k_candar = { + color = { 238 79 182 } + culture = turkish + } + + k_trebizond = { + color={ 100 151 33 } + capital = 678 # Trapezous + culture = greek + + orthodox = 1000 # Crusade target weight + + d_trebizond = { + color={ 125 160 30 } + color2={ 255 255 255 } + + capital = 678 # Trepezous + + dignity = 7 + + c_theodosiopolis = { + color={ 140 50 100 } + color2={ 255 255 255 } + + b_theodosiopolis = { + } + b_argyropolis = { + } + b_citharizum = { + } + b_satala = { + } + b_thera = { + } + b_oukhiti = { + } + b_askale = { + } + b_tortum = { + } + } + c_trapezous = { + color={ 149 70 110 } + color2={ 255 255 255 } + + b_trapezous = { + } + b_koralla = { + } + b_rizaion = { + } + b_paiperta = { + } + b_rizini = { + } + b_alucra = { + } + b_kelkit = { + } + b_dereli = { + } + } + c_chaldea = { + color={ 159 50 90 } + color2={ 255 255 255 } + + b_kerasous = { + } + b_cotyora = { + } + b_camachus = { + } + b_ibora = { + } + b_podandos = { + } + b_tilgarimo = { + } + b_sebastea = { + armenian = "Sebasta" + greek = "Sebasteia" + turkish = "Sivas" + } + b_heracleopolis = { + } + } + } + + d_armeniacon = { + color={ 125 190 75 } + color2={ 255 255 20 } + + capital = 738 # Amisos + + c_amisos = { + color={ 255 2 169 } + color2={ 255 255 20 } + + turkish = "Amasya" + + b_amisos = { + } + b_amasia = { + turkish = "Amasya" + } + b_thermodon = { + } + b_eupatoria = { + } + b_zela = { + } + b_dazimon = { + } + b_neokaisarea = { + } + b_phadisane = { + } + } + c_sinope = { + color={ 255 4 171 } + color2={ 255 255 20 } + + b_sinope = { + } + b_pompeiopolis = { + } + b_germanicopolis = { + } + b_aboniteichos = { + } + b_amastris = { + } + b_comana = { + } + b_talaura = { + } + b_themiscyra = { + } + } + } + } + + k_byzantium = { + color={ 135 30 125 } + color2={ 255 255 23 } + + capital = 496 # Byzantion + + culture = greek + + # Creation/Usurp Trigger + allow = { + hidden_tooltip = { + OR = { + ai = no + culture = greek + } + } + } + + orthodox = 5000 # Crusade target weight + catholic = 2000 # Crusade target weight + + d_nikaea = { + color={ 202 101 167 } + color2={ 255 255 20 } + + capital = 750 # Nikaea + + c_nikaea = { + color={ 205 104 170 } + color2={ 255 255 20 } + + turkish = "Iznik" + + b_nikaea = { + turkish = "Iznik" + } + b_kios = { + } + b_optimatum = { + } + b_petobriga = { + } + b_kotyaion = { + } + b_palaeokastron = { + } + b_yalova = { + } + b_modrene = { + } + } + c_nikomedeia = { + color={ 208 107 173 } + color2={ 255 255 20 } + + turkish = "Izmit" + + b_nikomedeia = { + turkish = "Izmit" + } + b_chalkedon = { + } + b_chrysopolis = { + } + b_praenetos = { + } + b_calpe = { + } + b_palodes = { + } + b_adapazari = { + greek = "Mesonesion" + } + b_malagina = { + } + } + c_prusa = { + color={ 211 110 176 } + color2={ 255 255 20 } + + turkish = "Bursa" + + b_prusa = { + turkish = "Hüdavendigar" + } + b_darieium = { + greek = "Dorieion" + turkish = "Sögüt" + } + b_apamea = { + greek = "Trigleia" + turkish = "Tirilye" + } + b_docimium = { + greek = "Dokimeion" + turkish = "Iscehisar" + } + b_adrastea = { + } + b_thyatira = { + } + b_pelopia = { + } + b_miletopolis = { + } + } + c_kyzikos = { + color={ 214 113 179 } + color2={ 255 255 20 } + + turkish = "Erdek" + + b_kyzikos = { + turkish = "Aydincik" + } + b_artake = { + turkish = "Erdek" + } + b_militopolis = { + } + b_kremasti = { + } + b_adrianutherai = { + } + b_myrina = { + } + b_percote = { + } + b_arisbe = { + } + } + } + + d_thrace = { + color={ 172 76 139 } + color2={ 255 255 20 } + + capital = 496 # Byzantion + + orthodox = 250 # Crusade target weight + catholic = 125 # Crusade target weight + muslim = 100 # Crusade target weight + + c_kaliopolis = { + color={ 176 80 143 } + color2={ 255 255 20 } + + turkish = "Gelibolu" + + b_gallipoli = { + turkish = "Gelibolu" + greek = "Kallipolis" + } + b_heraclea = { + } + b_madyta = { + } + b_rhaidestos = { + } + b_panidos = { + } + b_selymbria = { + } + b_lysimachia = { + } + b_sestus = { + } + } + c_byzantion = { + color={ 180 84 147 } + color2={ 255 255 20 } + + orthodox = 500 # Crusade target weight + catholic = 250 # Crusade target weight + muslim = 250 # Crusade target weight + + top_de_jure_capital = yes + + holy_site = orthodox + + turkish = "Kostantiniyye" + + b_constantinople = { + turkish = "Kostantiniyye" + } + b_hagiasophia = { + pentarchy = yes + turkish = "Ayasofya" + } + b_galata = { + } + b_blachernae = { + turkish = "Ayvansaray" + } + b_hieron = { + turkish = "Kadiköy" + } + b_deuteron = { + turkish = "Topkapi" + } + b_pempton = { + } + b_vlanga = { + } + } + c_thrake = { + color={ 184 88 151 } + color2={ 255 255 20 } + + turkish = "Trakya" + + b_verissa = { + } + b_sestos = { + } + b_chariopolis = { + } + b_syrallum = { + } + b_salmydessus = { + } + b_deleus = { + } + b_aulaeitichus = { + } + b_phinopolis = { + } + } + } + + d_adrianopolis = { + color={ 213 74 165 } + color2={ 255 255 20 } + + capital = 494 # Adrianopolis + + c_adrianopolis = { + color={ 216 77 168 } + color2={ 255 255 20 } + + turkish = "Edirne" + + b_adrianopolis = { + turkish = "Edirne" + } + b_didymoteichon = { + } + b_traianopolis = { + } + b_skalothe = { + } + b_berat = { + } + b_kypsela = { + } + b_demotika = { + } + b_ainos = { + } + } + c_philippopolis = { + color={ 219 80 171 } + color2={ 255 255 20 } + + turkish = "Filibe" + + b_philippopolis = { + turkish = "Filibe" + } + b_xantheia = { + } + b_klokoknitsa = { + } + b_prodromos = { + } + b_peritheorion = { + } + b_anaktoropolis = { + } + b_polystylon = { + } + b_mosynopolis = { + } + } + } + + d_thessalonika = { + color={ 189 19 130 } + color2={ 255 255 20 } + + capital = 490 # Thessalonike + + c_chalkidike = { + color={ 192 22 133 } + color2={ 255 255 20 } + + holy_site = orthodox + + b_serres = { + } + b_mntathos = { + } + b_philippi = { + } + b_chrysiopolis = { + } + b_siderokastron = { + } + b_zicna = { + } + b_melnik = { + } + b_drama = { + } + } + c_thessalonike = { + color={ 195 25 136 } + color2={ 255 255 20 } + + turkish = "Salonika" + + holy_site = hellenic_pagan + + b_thessaloniki = { + turkish = "Salonika" + } + b_thesedessa = { + } + b_voden = { + } + b_hlerin = { + } + b_cemren = { + } + b_veria = { + } + b_elasson = { + } + b_servia = { + } + } + c_thessalia = { + color={ 198 28 139 } + color2={ 255 255 20 } + + turkish = "Tesalya" + + b_larissa = { + turkish = "Yenisehir i-Fenari" + } + b_volos = { + } + b_neopetra = { + } + b_damasis = { + } + b_kastri = { + } + b_pharsalos = { + } + b_trikkala = { + } + b_stagi = { + } + } + } + + d_dyrrachion = { + color={ 137 27 99 } + color2={ 255 255 20 } + + capital = 470 # Dyrrachion + + c_strymon = { + color={ 139 29 101 } + color2={ 255 255 20 } + + b_skopje = { + } + b_strumica = { + } + b_veles = { + } + b_prilep = { + } + b_prosek = { + } + b_trikves = { + } + b_kocane = { + } + b_kratovo = { + } + } + c_ochrid = { + color={ 141 31 103 } + color2={ 255 255 20 } + + greek = "Lychnidos" + + b_debar = { + } + b_ohrid = { + greek = "Lychnidos" + } + b_kastoria = { + } + b_kicevo = { + } + b_svetigrad = { + } + b_bitola = { + } + b_tomot = { + } + b_krusevo = { + } + } + c_dyrrachion = { + color={ 143 33 105 } + color2={ 255 255 20 } + + italian = "Durazzo" + serbian = "Drac" + bulgarian = "Drach" + + b_durazzo = { + greek = "Dyrrhachion" + italian = "Durazzo" + } + b_chounavia = { + } + b_valona = { + } + b_kruje = { + greek = Krougia + } + b_elbasan = { + } + b_geziq = { + } + b_spinarizza = { + } + b_beat = { + } + } + } + + d_epirus = { + color={ 134 63 109 } + color2={ 255 255 20 } + + capital = 473 # Arta + + c_epeiros = { + color={ 138 67 113 } + color2={ 255 255 20 } + + b_butrint = { + greek = "Bouthroton" + } + b_paramythia = { + } + b_ioannina = { + } + b_sopot = { + greek = "Koritsa" + } + b_pogonia = { + } + b_gjirokaster = { + greek = Argyrokastron + } + b_igoumenitsa = { + } + b_sagiada = { + } + } + c_arta = { + color={ 142 71 117 } + color2={ 255 255 20 } + + b_preveza = { + } + b_angelokastron = { + } + b_arta = { + } + b_agnanta = { + } + b_thomokastron = { + } + b_vonitsza = { + } + b_vlacherna = { + } + b_rogoi = { + } + } + c_cephalonia = { + color={ 146 75 121 } + color2={ 255 255 20 } + + turkish = "Iyonya" + + b_corfu = { + } + b_lefkas = { + turkish = "Ayamavra" + } + b_palaiofrourio = { + } + b_kefalonia = { + } + b_zante = { + } + b_paxos = { + italian = "Passo" + turkish = "Paksa" + } + b_ithaca = { + turkish = "Fiaki" + } + b_cerigo = { + turkish = "Çuha" + } + } + } + + d_athens = { + color={ 206 66 158 } + color2={ 255 255 20 } + + capital = 482 # Atheniai + + c_demetrias = { + color={ 209 69 161 } + color2={ 255 255 20 } + + b_thebes = { + } + b_lebadea = { + } + b_neopatras = { + } + b_boudonitza = { + } + b_levadhia = { + } + b_demetrias = { + } + b_ravennika = { + } + b_gravia = { + } + } + c_hellas = { + color={ 212 72 164 } + color2={ 255 255 20 } + + b_naupaktos = { + } + b_amphissa = { + } + b_lidoriki = { + } + b_kastrinitsi = { + } + b_markrynia = { + } + b_paravola = { + } + b_amfissa = { + } + b_itea = { + } + } + c_atheniai = { + color={ 215 75 167 } + color2={ 255 255 20 } + + holy_site = hellenic_pagan + + b_athens = { + } + b_piraeaus = { + } + b_megara = { + } + b_soula = { + } + b_daphni = { + } + b_karydi = { + } + b_salamis = { + } + b_marathon = { + } + } + } + + d_achaia = { + color={ 190 29 134 } + color2={ 255 255 20 } + + capital = 476 # Achaia + + c_achaia = { + color={ 192 31 136 } + color2={ 255 255 20 } + + b_patras = { + } + b_pyrgos = { + } + b_andravida = { + } + b_kalavryta = { + } + b_akova = { + } + b_chalandritza = { + } + b_karditza = { + } + b_geraki = { + } + } + c_korinthos = { + color={ 194 33 138 } + color2={ 255 255 20 } + + b_corinth = { + } + b_nauplion = { + } + b_argos = { + } + b_passava = { + } + b_vostitza = { + } + b_zemenos = { + } + b_veligosti = { + } + b_megapoli = { + } + } + c_methone = { + color={ 196 35 140 } + color2={ 255 255 20 } + + b_modon = { + greek = "Methone" + italian = "Modone" + } + b_kiparissia = { + } + b_kalamata = { + } + b_coron = { + } + b_karytaina = { + } + b_gritzena = { + } + b_pilos = { + } + b_androusa = { + } + } + c_monemvasia = { + color={ 198 37 142 } + color2={ 255 255 20 } + + b_monemvasia = { + } + b_mistra = { + } + b_arkadia = { + } + b_nikli = { + } + b_sparta = { + } + b_lacedaemonia = { + } + b_gythio = { + } + b_elos = { + } + } + } + + d_aegean_islands = { + color={ 104 8 103 } + color2={ 255 255 20 } + + capital = 484 # Naxos + + c_abydos = { + color={ 147 55 115 } + color2={ 255 255 20 } + + turkish = "Balakhisar" + + holy_site = hellenic_pagan + + b_abydos = { + turkish = "Balakhisar" + } + b_lampsakos = { + } + b_alexandriatroas = { + } + b_pigai = { + } + b_aegae = { + } + b_allianoi = { + } + b_cebrene = { + } + b_elaia = { + } + } + c_naxos = { + color={ 149 57 117 } + color2={ 255 255 20 } + + turkish = "Kiklad" + italian = "Egeopelagi" + + b_naxos = { + turkish = "Naksa" + italian = "Nasso" + } + b_hermoupolis = { + turkish = "Sire" + italian = "Syra" + } + b_santorini = { + greek = "Thera" + turkish = "Santoron" + } + b_andros = { + } + b_tinos = { + } + b_mykonos = { + } + b_kastraki = { + } + b_filoti = { + } + } + c_euboia = { + color={ 151 59 119 } + color2={ 255 255 20 } + + italian = "Negroponte" + turkish = "Egriboz" + + b_chalkis = { + italian = "Negroponte" + turkish = "Egriboz" + } + b_kymi = { + } + b_karystos = { + } + b_oreoi = { + } + b_artemisio = { + } + b_istiaia = { + } + b_lilantia = { + } + b_messapia = { + } + } + c_lesbos = { + color={ 153 61 121 } + color2={ 255 255 20 } + + turkish = "Midilli" + + b_mytilene = { + turkish = "Midilli" + } + b_mithymna = { + } + b_plomari = { + } + b_agiasos = { + } + b_eresos = { + } + b_kalloni = { + } + b_thasos = { + } + b_moudros = { + } + } + } + + d_krete = { + color={ 205 110 35 } + color2={ 255 255 20 } + + capital = 480 # Chandax + + c_kaneia = { + color={ 178 11 120 } + color2={ 255 255 20 } + + bedouin_arabic = "Al-Hanim" + maghreb_arabic = "Al-Hanim" + levantine_arabic = "Al-Hanim" + egyptian_arabic = "Al-Hanim" + andalusian_arabic = "Al-Hanim" + turkish = "Hanya" + + b_kandia = { + bedouin_arabic = "Al-Hanim" + maghreb_arabic = "Al-Hanim" + levantine_arabic = "Al-Hanim" + egyptian_arabic = "Al-Hanim" + andalusian_arabic = "Al-Hanim" + turkish = "Hanya" + } + b_rethymno = { + } + b_matala = { + } + b_kastellikissamos = { + } + b_paleohora = { + } + b_akrotin = { + } + b_nikiforosfokas = { + } + b_arkadi = { + } + } + c_chandax = { + color={ 182 15 124 } + color2={ 255 255 20 } + + greek = Gortyn + italian = Gortyn + + b_iraklio = { + greek = "Gortyn" + italian = "Candia" + turkish = "Kandiye" + maghreb_arabic = "Khandaq" + levantine_arabic = "Khandaq" + egyptian_arabic = "Khandaq" + bedouin_arabic = "Khandaq" + andalusian_arabic = "Khandaq" + } + b_agiosnikolaos = { + } + b_lassithi = { + } + b_malia = { + } + b_kastelli = { + } + b_sitia = { + } + b_ierapetra = { + } + b_knossos = { + } + } + } + + d_cyprus = { + color={ 239 109 163 } + color2={ 255 255 20 } + + capital = 757 # Famagusta + + c_famagusta = { + color={ 228 19 156 } + color2={ 255 255 20 } + + turkish = "Magusa" + + b_famagusta = { + turkish = "Magusa" + } + b_cithium = { + } + b_nikosia = { + } + b_sthilarion = { + } + b_kyrenia = { + } + b_buffavento = { + } + b_kantara = { + } + b_peristerona = { + } + } + c_limisol = { + color={ 231 22 159 } + color2={ 255 255 20 } + + turkish = "Leymosun" + + b_limmassol = { + turkish = "Leymosun" + } + b_paphos = { + } + b_arsinoe = { + } + b_kolossi = { + } + b_morphou = { + } + b_agridi = { + } + b_dieudamour = { + } + b_khirokitia = { + } + } + } + } + + k_anatolia = { + color={ 177 60 100 } + color2={ 255 255 23 } + + capital = 759 # Ikonion + + culture = greek + + orthodox = 300 # Crusade target weight + catholic = 75 # Crusade target weight + muslim = 100 # Crusade target weight + + d_samos = { + color={ 115 55 100 } + color2={ 255 255 20 } + + capital = 486 # Samos + + c_ephesos = { + color={ 237 42 171 } + color2={ 255 255 20 } + + turkish = "Ayasoluk" + + holy_site = orthodox + + b_ephesos = { + turkish = "Ayasoluk" + } + b_lebedos = { + } + b_miletos = { + } + b_magnesia = { + } + b_tralles = { + } + b_iassos = { + } + b_palation = { + } + b_petron = { + } + } + c_smyrna = { + color={ 240 45 174 } + color2={ 255 255 20 } + + turkish = "Izmir" + + b_smyrna = { + turkish = "Izmir" + } + b_pergamon = { + } + b_phokaia = { + } + b_adramyttion = { + } + b_chio = { + } + b_klazomeanai = { + } + b_kydonia = { + } + b_erythrai = { + } + } + c_chios = { + color={ 243 48 177 } + color2={ 255 255 20 } + + turkish = "Sisam" + + b_samos = { + turkish = "Sisam" + } + b_chios = { + turkish = "Sakiz" + } + b_tigani = { + } + b_marathokampos = { + } + b_ikaria = { + } + b_fourni = { + } + b_chrysostomos = { + } + b_pagondas = { + } + } + } + + d_cibyrrhaeot = { + color={ 108 29 80 } + color2={ 255 255 20 } + + capital = 755 # Attaleia + + c_attaleia = { + color={ 112 33 84 } + color2={ 255 255 20 } + + turkish = "Antalya" + + b_attaleia = { + turkish = "Antalya" + } + b_cibyra = { + } + b_side = { + } + b_slege = { + } + b_sagalassos = { + } + b_galanauros = { + } + b_panemotichus = { + } + b_sillyon = { + } + } + c_rhodos = { + color={ 116 37 88 } + color2={ 255 255 20 } + + b_rhodos = { + } + b_lindos = { + } + b_kos = { + } + b_karpathos = { + } + b_pefkos = { + } + b_ialysos = { + } + b_haraki = { + } + b_koskinou = { + } + } + c_lykia = { + color={ 120 41 92 } + color2={ 255 255 20 } + + turkish = "Mugla" + + b_halikarnassos = { + turkish = "Bodrum" + } + b_myra = { + } + b_telmissos = { + turkish = "Mugla" + } + b_kibyra = { + } + b_patara = { + } + b_mylasa = { + turkish = "Milas" + } + b_limyra = { + } + b_phaselis = { + } + } + } + + d_anatolia = { + color={ 174 23 122 } + color2={ 255 255 20 } + + capital = 759 # Ikonion + + c_dorylaion = { + color={ 176 25 124 } + color2={ 255 255 20 } + + turkish = "Kütahya" + + b_dorylaion = { + turkish = "Eskisehir" + } + b_pessinus = { + } + b_kotiaion = { + turkish = "Kütahya" + } + b_orkistos = { + } + b_polybotos = { + } + b_iustinianopolis = { + } + b_carura = { + } + b_germia = { + } + } + c_ikonion = { + color={ 178 27 126 } + color2={ 255 255 20 } + + turkish = "Konya" + + b_ikonion = { + turkish = "Konya" + } + b_lisdra = { + } + b_gaspadale = { + } + b_isauria = { + } + b_laranda = { + } + b_terpe = { + } + b_amblada = { + } + b_sauatra = { + } + } + } + + d_thracesia = { + color={ 154 43 116 } + color2={ 255 255 20 } + + capital = 748 # Laodikeia + + c_sozopolis = { + color={ 158 47 120 } + color2={ 255 255 20 } + + turkish = "Isparta" + + b_souzopolis = { + turkish = "Afyonkarahisar" + } + b_synnada = { + } + b_aezani = { + } + b_cadi = { + } + b_polidorion = { + } + b_kelainai = { + } + b_dinar = { + } + b_isparta = { + greek = "Baris" + } + } + c_laodikeia = { + color={ 162 51 124 } + color2={ 255 255 20 } + + turkish = "Alasehir" + + b_laodikeia = { + } + b_philadelphia = { + turkish = "Alasehir" + } + b_rhoas = { + } + b_sardes = { + } + b_hieropolis = { + } + b_kona = { + } + b_gordes = { + } + b_flaviupolis = { + } + } + } + + d_charsianon = { + color={ 237 68 178 } + color2={ 255 255 20 } + + capital = 760 # Tyana + + c_kaisereia = { + color={ 240 71 181 } + color2={ 255 255 20 } + + turkish = Kayseri + + b_kaisereia = { + turkish = Kayseri + } + b_misti = { + } + b_talas = { + } + b_sariz = { + } + b_masaka = { + } + b_dobada = { + } + b_venessa = { + } + b_zoropassos = { + } + } + c_galatia = { + color={ 243 74 184 } + color2={ 255 255 20 } + + turkish = "Kirsehir" + + b_mikissos = { + turkish = "Kirsehir" + } + b_tavia = { + } + b_asponia = { + } + b_nyssa = { + } + b_carissa = { + } + b_kochisar = { + } + b_karacaviran = { + } + b_garsaura = { + } + } + c_tyana = { + color={ 246 77 187 } + color2={ 255 255 20 } + + turkish = Aksaray + + b_tyana = { + } + b_archelais = { + turkish = Aksaray + } + b_anatoliaheraklea = { + } + b_nazianus = { + } + b_cybistra = { + } + b_gamar = { + } + b_tomarza = { + } + b_faustinopolis = { + } + } + } + + d_paphlagonia = { + color={ 234 157 207 } + color2={ 255 255 20 } + + capital = 753 # Ankyra + + c_paphlagonia = { + color={ 231 74 177 } + color2={ 255 255 20 } + + turkish = "Kastamonu" + + b_kastamonu = { + } + b_anastasiopolis = { + } + b_gangra = { + } + b_safranbolu = { + } + b_cabira = { + } + b_bolu = { + } + b_zaliscus = { + } + b_leontopolis = { + } + } + c_herakleia = { + color={ 235 78 181 } + color2={ 255 255 20 } + + turkish = "Eregli" + + b_herakleia = { + turkish = "Eregli" + } + b_claudiopolis = { + } + b_flaviopolis = { + } + b_polis = { + } + b_bithynium = { + } + b_zephyropoli = { + } + b_amastrine = { + } + b_tium = { + } + } + c_ankyra = { + color={ 239 82 185 } + color2={ 255 255 20 } + + turkish = Ankara + + b_ankyra = { + turkish = Ankara + } + b_germa = { + } + b_akroynon = { + } + b_gordium = { + } + b_amorion = { + } + b_gordoservon = { + } + b_nakoleia = { + } + b_haymana = { + } + } + } + + d_armenia_minor = { # Cilicia in-game + color={ 214 140 190 } + color2={ 255 255 255 } + + capital = 761 # Tarsos + + armenian = "Armenia Minor" + + c_lykandos = { + color={ 214 140 195 } + color2={ 255 255 255 } + + turkish = "Elbistan" + + b_lykandos = { + turkish = "Elbistan" + } + b_tzamandos = { + } + b_comanagene = { + } + b_symposion = { + } + b_papurius = { + } + b_cocussus = { + } + b_germanikeia = { + } + b_arabissus = { + } + } + c_tarsos = { + color={ 194 140 175 } + color2={ 255 255 255 } + + turkish = "Mersin" + armenian = "Darson" + + b_tarsos = { + turkish = "Mersin" + armenian = "Darson" + } + b_lamas = { + } + b_castabala = { + } + b_lampron = { + } + b_zephyrium = { + } + b_pendosis = { + } + b_korikos = { + } + b_bardzerben = { + } + } + c_adana = { + color={ 194 110 145 } + color2={ 255 255 255 } + + b_adana = { + } + b_sis = { + } + b_anazarba = { + } + b_mamistra = { + } + b_lajazzo = { + armenian = "Ayas" + greek = "Aegeas" + } + b_trazak = { + } + b_vahka = { + } + b_mopsuestia = { + } + } + c_teluch = { + color={ 145 90 105 } + color2={ 255 255 255 } + + greek = "Doliche" + turkish = "Gâvur" + + b_teluch = { + greek = "Doliche" + turkish = "Kadirli" + } + b_germanias = { + turkish = "Haruniye" + } + b_perre = { + } + b_komanal = { + } + b_kapan = { + } + b_tavplur = { + } + b_koksen = { + } + b_hajin = { + } + } + c_seleukeia = { + color={ 165 70 105 } + color2={ 255 255 255 } + + turkish = "Silifke" + + b_seleukeia = { + turkish = "Silifke" + } + b_germanak = { + } + b_irenopolis = { + } + b_corycus = { + } + b_ninica = { + } + b_selinus = { + } + b_anemurium = { + } + b_dalisandus = { + } + } + } + } + + k_armenia = { + color={ 172 82 55 } + color2={ 255 255 255 } + + capital = 681 # Ani + + culture = armenian + + orthodox = 300 # Crusade target weight + muslim = 100 # Crusade target weight + zoroastrian_group = 300 # Crusade target weight + + # Creation/usurpation trigger + allow = { + hidden_tooltip = { + OR = { + ai = no + religion_group = christian + } + } + } + + d_armenia = { + color={ 154 77 36 } + color2={ 255 255 255 } + + capital = 682 # Vaspurakan + + c_vaspurakan = { + color={ 144 67 36 } + color2={ 255 255 255 } + + turkish = "Van" + kurdish = "Wan" + + b_haykaberd = { + } + b_van = { + } + b_surbkhach = { + } + b_vostan = { + } + b_varagavank = { + } + b_aghtamar = { + } + b_bakear = { + } + b_hadamakert = { + } + } + c_dwin = { + color={ 138 77 40 } + color2={ 255 255 255 } + + turkish = "Erivan" + + b_dvin = { + } + b_etchmiadzin = { + } + b_erebuni = { + } + b_alaverdi = { + } + b_khorvirap = { + } + b_matsnaberd = { + } + b_tumanyan = { + } + } + c_ani = { + color={ 168 87 50 } + color2={ 255 255 255 } + + turkish = "Kars" + + b_midjnaberd = { + } + b_ani = { + } + b_surpasdvadzadzin = { + } + b_karutsberd = { + } + b_karuts = { + } + b_artashat = { + } + b_oshakan = { + } + b_zvartnots = { + } + } + c_lori = { + color={ 142 70 45 } + color2={ 255 255 255 } + + b_lori_berd = {} + b_dzegh = {} + b_dmanis = {} + b_agarak = {} + b_hovk = {} + b_sanahin = {} + b_erkan = {} + } + } + d_mesopotamia = { + color={ 155 88 20 } + color2={ 255 255 255 } + + capital = 702 # Mesopotamia + + c_karin = { + color={ 155 95 20 } + color2={ 255 255 255 } + + turkish = "Erzurum" + + b_daroynk = { + } + b_karin = { + turkish = "Erzurum" + } + b_owshank = { + } + b_mardin = { + } + b_baghesh = { + } + b_pasen = { + } + b_tercan = { + } + b_kirklarkilisesi = { + } + } + c_mesopotamia = { + color={ 165 99 25 } + color2={ 255 255 255 } + + b_tzimisca = { + } + b_martyropolis = { + } + b_mayafaraqin = { + } + b_jermuk = { + } + b_arghana = { + } + b_hani = { + } + b_lice = { + } + b_tigranakert = { + } + } + c_taron = { + color={ 155 70 25 } + color2={ 255 255 255 } + + b_manzikert = { + } + b_mush = { + } + b_glak = { + } + b_ararati = { + } + b_artchesh = { + } + b_arakelots = { + } + b_akhlat = { + } + b_sason = { + } + } + } + d_edessa = { + color={ 182 110 45 } + color2={ 255 255 255 } + + capital = 699 # Edessa + + c_edessa = { + color={ 175 105 45 } + color2={ 255 255 255 } + + b_edessa = { + } + b_sruk = { + } + b_bile = { + } + b_tulupe = { + } + b_kaisun = { + } + b_samsat = { + } + b_harran = { + } + b_edesurfa = { + } + } + c_tell_bashir = { + color={ 175 125 35 } + color2={ 255 255 255 } + + b_turbessel = { + } + b_buzaa = { + } + b_manbij = { + } + b_nizip = { + } + b_zeugma = { + } + b_makedonopolis = { + } + b_birtha = { + } + b_jarabulus = { + } + } + c_aintab = { + color={ 195 125 55 } + color2={ 255 255 255 } + + b_aintab = { + } + b_marash = { + } + b_kyrrhos = { + } + b_ravendan = { + } + b_duluk = { + } + b_hromgla = { + } + b_raban = { + } + b_amanus = { + } + } + } + d_coloneia = { + color={ 195 125 55 } + color2={ 255 255 255 } + + capital = 706 # Koloneia + + c_koloneia = { + color={ 195 120 50 } + color2={ 255 255 255 } + + b_koloneia = { + } + b_anatolnikopolis = { + } + b_tephrice = { + } + b_mazaka = { + } + b_celtzene = { + } + b_gamakh = { + } + b_akn = { + } + b_gerjanis = { + } + } + c_melitene = { + color={ 175 110 40 } + color2={ 255 255 255 } + + b_melitene = { + } + b_arca = { + } + b_samosata = { + } + b_corduene = { + } + b_seneqerim = { + } + b_arguvan = { + } + b_kigi = { + } + b_yedisu = { + } + } + } + } + k_bulgaria = { + color={ 113 88 101 } + color2={ 255 255 255 } + + culture = bulgarian + + capital = 499 # Tyrnovo + + orthodox = 300 # Crusade target weight + catholic = 100 # Crusade target weight + slavic_pagan_reformed = 50 # Crusade target weight + tengri_pagan_reformed = 50 + + d_vidin = { + color={ 122 103 58 } + color2={ 255 255 255 } + + capital = 506 # Vidin + + greek = "Bononia" + + c_vidin = { + color={ 124 105 60 } + color2={ 255 255 255 } + + greek = "Bononia" + + b_vidin = { + greek = "Bononia" + } + b_viseslav = { + } + b_kula = { + } + b_srvljig = { + } + b_pirot = { + } + b_bolvan = { + } + b_kucevo = { + } + b_zajecar = { + } + } + c_naissus = { + color={ 126 107 62 } + color2={ 255 255 255 } + + serbian = "Nish" + croatian = "Nish" + bulgarian = "Nish" + + b_nish = { + greek = "Naissos" + } + b_kumanovo = { + } + b_koprijan = { + } + b_brdo = { + } + b_vranje = { + } + b_lesnovo = { + } + b_kambelevac = { + } + b_knjazevac = { + } + } + } + d_turnovo = { # Moesia + color={ 197 39 154 } + color2={ 255 255 255 } + + capital = 499 # Tyrnovo + + c_tyrnovo = { + color={ 156 41 199 } + color2={ 255 255 255 } + + greek = "Moesia" + + b_tyrnovo = { + greek = "Noba" # Roman Novae + } + b_irinopolis = { + } + b_kilifarevski = { + } + b_hisarya = { + } + b_opan = { + } + b_chirpan = { + } + b_maglizh = { + } + b_kazanlak = { + } + } + c_serdica = { + color={ 158 43 201 } + color2={ 255 255 255 } + + bulgarian = "Sofia" + serbian = "Sofia" + croatian = "Sofia" + russian = "Sofia" + polish = "Sofia" + + b_serdica = { + bulgarian = "Sofia" + serbian = "Sofia" + croatian = "Sofia" + russian = "Sofia" + polish = "Sofia" + } + b_velbazhd = { + } + b_rila = { + } + b_etropole = { + } + b_pernik = { + } + b_breznik = { + } + b_pravets = { + } + b_samundzhievo = { + } + } + c_nikopolis = { + color={ 160 45 203 } + color2={ 255 255 255 } + + b_nikopolis = { + } + b_pleven = { + } + b_oescus = { + } + b_belene = { + } + b_iskar = { + } + b_pordim = { + } + b_knezha = { + } + b_dolnidabknik = { + } + } + c_dorostotum = { + color={ 162 47 205 } + color2={ 255 255 255 } + + b_dorosturum = { + } + b_rusi = { + } + b_shumen = { + } + b_borovo = { + } + b_byaladve = { + } + b_slivopole = { + } + b_tsenovo = { + } + b_samuil = { + } + } + } + d_karvuna = { + color={ 227 79 190 } + color2={ 255 255 255 } + + capital = 509 # Karvuna + + c_mesembria = { + color={ 207 92 250 } + color2={ 255 255 255 } + + b_mesembria = { + } + b_varna = { + } + b_anchilios = { + } + b_aetos = { + } + b_sozopolis = { + } + b_odessos = { + } + b_bourgas = { + } + b_valchidol = { + } + } + c_karvuna = { + color={ 210 95 253 } + color2={ 255 255 255 } + + greek = "Krounoi" + + b_karvuna = { + greek = "Krounoi" + } + b_kaliakra = { + greek = "Akrai" + } + b_silistria = { + } + b_dobrich = { # Balchik + greek = "Dionysopolis" + } + b_prezlav = { + } + b_venets = { + } + b_varbitsz = { + } + b_smyadovo = { + } + } + c_constantia = { + color={ 213 98 253 } + color2={ 255 255 255 } + + b_constantia = { + } + b_carachioi = { + } + b_adamclisi = { + } + b_mesgidia = { + } + b_cobadin = { + } + b_cogealac = { + } + b_mangalia = { + } + b_topraisar = { + } + } + } + } + + k_serbia = { + color={ 113 98 61 } + color2={ 255 255 255 } + + culture = serbian + + capital = 502 # Rashka + + orthodox = 300 # Crusade target weight + catholic = 100 # Crusade target weight + + d_rashka = { + color={ 168 135 57 } + color2={ 255 255 255 } + + capital = 502 # Rashka + + greek = "Rascia" + + c_rashka = { + color={ 172 139 61 } + color2={ 255 255 255 } + + greek = "Rascia" + + b_prizren = { + greek = "Petrizen" + } + b_decani = { + } + b_dioclea = { + } + b_svetispas = { + } + b_trepca = { + } + b_zvecan = { + } + b_djakovica = { + } + b_polog = { + } + } + c_hum = { + color={ 176 143 64 } + color2={ 255 255 255 } + + greek = "Arsa" + + b_plav = { + } + b_pec = { + } + b_novipazar = { + greek = "Arsa" + } + b_stupovi = { + } + b_belacrkva = { + } + b_bradarevo = { + } + b_moraca = { + } + b_medun = { + } + } + c_belgrade = { + color={ 150 124 61 } + color2={ 255 255 255 } + + serbian = "Belgrad" + croatian = "Belgrad" + bulgarian = "Belgrad" + greek = "Singidounon" + + b_belgrade = { + serbian = "Belgrad" + croatian = "Belgrad" + bulgarian = "Belgrad" + greek = "Singidounon" + } + b_zemun = { + } + b_smederevo = { + } + b_kragujevac = { + } + b_rudnik = { + } + b_branicevo = { + } + b_pozarevac = { + } + b_lipovic = { + } + } + } + d_dioclea = { + color={ 129 94 13 } + color2={ 255 255 255 } + + capital = 468 # Ragusa + + serbian = "Duklja" + croatian = "Duklja" + bulgarian = "Duklja" + + c_zeta = { + color={ 131 96 15 } + color2={ 255 255 255 } + + b_podgorica = { + greek = "Birziminium" + } + b_bar = { + italian = Antivari + greek = Antivarion + } + b_kotor = { + italian = Cattaro + greek = Askrivion + } + b_skadar = { + italian = Scutari + greek = Skoutarion + } + b_ulcinj = { + } + b_budva = { + } + b_danj = { + } + b_drivast = { + } + } + c_ragusa = { + color={ 133 98 17 } + color2={ 255 255 255 } + + greek = "Raugia" + croatian = "Dubrovnik" + serbian = "Dubrovnik" + + b_ragusa = { + greek = "Raugia" + croatian = "Dubrovnik" + serbian = "Dubrovnik" + } + b_narona = { + } + b_cavtat = { + greek = "Epidauros" + italian = "Ragusavecchia" + } + b_zaton = { + } + b_slano = { + } + b_mljet = { + } + b_kolocep = { + } + b_sipan = { + } + } + } + } + + k_croatia = { + color={ 122 46 58 } + color2={ 200 0 0 } + + culture = croatian + + capital = 465 # Zadar + + orthodox = 300 # Crusade target weight + catholic = 1000 # Crusade target weight + + d_slavonia = { + color={ 184 137 137 } + color2={ 255 255 255 } + + capital = 461 # Zagreb + + c_krizevci = { + color={ 186 139 139 } + color2={ 255 255 255 } + + b_krizevci = { + } + b_koprivnica = { + } + b_osijek = { + } + b_vinkovci = { + } + b_vukovar = { + } + b_durdevac = { + } + b_pozega = { + } + b_virovitica = { + } + } + c_zagreb = { + color={ 189 141 141 } + color2={ 255 255 255 } + + b_zagreb = { + } + b_sisak = { + } + b_karlovac = { + } + b_cetin = { + } + b_zrin = { + } + b_dreznik = { + } + b_stenicnjak = { + } + b_ozalj = { + } + } + c_varadzin = { + color={ 191 143 143 } + color2={ 255 255 255 } + + b_varazdin = { + } + b_cakovec = { + } + b_ludbreg = { + } + b_lepoglava = { + } + b_toplice = { + } + b_krapina = { + } + b_donjastubica = { + } + b_oroslavje = { + } + } + } + d_bosnia = { + color={ 194 115 115 } + color2={ 255 255 255 } + + capital = 463 # Usora + + c_rama = { + color={ 197 118 118 } + color2={ 255 255 255 } + + b_rama = { + } + b_samobor = { + } + b_usice = { + } + b_borac = { + } + b_srebrenica = { + } + b_srebrnik = { + } + b_zenica = { + } + b_zvornik = { + } + } + c_usora = { + color={ 200 121 121 } + color2={ 255 255 255 } + + b_usora = { + } + b_banjaluka = { + } + b_bihac = { + } + b_jajce = { + } + b_bocac = { + } + b_kuljc = { + } + b_prijedor = { + } + b_blagaj = { + } + } + } + d_croatia = { + color={ 162 53 53 } + color2={ 255 255 255 } + + capital = 464 # Senj + + c_zachlumia = { + color={ 166 57 57 } + color2={ 255 255 255 } + + b_mostar = { + } + b_duvno = { + } + b_livno = { + } + b_capljina = { + } + b_sirokibrijeg = { + } + b_ljubuski = { + } + b_drvar = { + } + b_neretva = { + } + } + c_senj = { + color={ 170 61 61 } + color2={ 255 255 255 } + + greek = "Attienities" + italian = "Segna" + german = "Zengg" + hungarian = "Zeng" + + b_senj = { + greek = "Attienities" + italian = "Segna" + german = "Zengg" + hungarian = "Zeng" + } + b_kaseg = { + } + b_brinje = { + } + b_karlobag = { + } + b_perusic = { + } + b_donjilapac = { + } + b_udbina = { + } + b_otocac = { + } + } + c_veglia = { + color={ 174 65 65 } + color2={ 255 255 255 } + + greek = "Kyrikon" + german = "Vegl" + + b_veglia = { + greek = "Kyrikon" + german = "Vegl" + } + b_krk = { + } + b_kraljevica = { + } + b_frankopan = { + } + b_bakar = { + } + b_crikvenica = { + } + b_cres = { + } + b_vrbovsko = { + } + } + } + d_dalmatia = { + color={ 184 137 137 } + color2={ 255 255 255 } + + capital = 465 # Zadar + + c_split = { + color={ 186 139 139 } + color2={ 255 255 255 } + + italian = "Spalato" + greek = "Spalathos" + + b_split = { + italian = "Spalato" + greek = "Spalathos" + } + b_hvar = { + } + b_trogir = { + greek = "Tragyrion" + italian = "Trau" + hungarian = "Trau" + } + b_solin = { + } + b_klis = { + } + b_makarska = { + } + b_sinj = { + } + b_imotski = { + } + } + c_zadar = { + color={ 188 141 141 } + color2={ 255 255 255 } + + italian = "Zara" + greek = "Diadora" + + b_zadar = { + italian = "Zara" + greek = "Diadora" + } + b_nin = { + } + b_knin = { + } + b_sibenik = { + } + b_novigrad = { + } + b_benkovac = { + } + b_obrovac = { + } + b_pag = { + } + } + } + } + + k_sicily = { + color = { 180 160 80 } + color2={ 255 255 255 } + + capital = 334 # Napoli + + culture = italian + + catholic = 500 # Crusade target weight + orthodox = 50 + muslim = 10 + + d_benevento = { + color = { 209 170 75 } + color2={ 255 255 255 } + + capital = 335 # Benevento + + catholic = 250 # Crusade target weight + + c_benevento = { + color = { 209 170 75 } + color2={ 255 255 255 } + + b_benevento = { + } + b_avellino = { + } + b_ascoli = { + } + b_montemarono = { + } + b_frigento = { + } + b_trevico = { + } + b_conza = { + } + b_sanangelo = { + } + } + c_foggia = { + color = { 209 170 75 } + color2={ 255 255 255 } + + b_foggia = { + } + b_siponto = { + } + b_lucera = { + } + b_troia = { + } + b_bovino = { + } + b_salapla = { + } + b_vieste = { + } + b_termoli = { + } + } + } + d_capua = { + color = { 240 209 100 } + color2={ 255 255 255 } + + greek = "Neapolis" + + capital = 851 # Capua + + catholic = 250 # Crusade target weight + + c_capua = { + color = { 240 209 100 } + color2={ 255 255 255 } + + greek = "Gaeta" + + b_capua = { + greek = "Kapue" + } + b_aquino = { + } + b_teano = { + } + b_gaeta = { + } + b_montecassino = { + } + b_caserta = { + } + b_calvi = { + } + b_acerra = { + } + } + c_napoli = { + color = { 240 209 100 } + color2={ 255 255 255 } + + greek = "Neapolis" + + b_napoli = { + greek = "Neapolis" + } + b_aversa = { + } + b_cumae = { + } + b_pozzuoli = { + } + b_ischia = { + } + b_portici={ + } + b_turris_octava={ + } + b_afragola={ + } + } + } + d_apulia = { + color={ 167 172 63 } + color2={ 255 255 255 } + + greek = "Longobardia" + + capital = 347 # Apulia + + catholic = 250 # Crusade target weight + + c_apulia = { + color={ 167 172 63 } + color2={ 255 255 255 } + + b_melfi = { + } + b_trani = { + } + b_cannae = { + } + b_salapia = { + } + b_barletta = { + } + b_minervo = { + } + b_lavello = { + } + b_lucano = { + } + } + c_bari = { + color={ 167 172 63 } + color2={ 255 255 255 } + + greek = "Barion" + + b_bari = { + greek = "Barion" + } + b_conversano = { + } + b_giovinazzo = { + } + b_andria = { + } + b_ruvo = { + } + b_molietta = { + } + b_bitonto = { + } + b_polignano = { + } + } + c_lecce = { + color={ 167 172 63 } + color2={ 255 255 255 } + + greek = "Brendesion" + + b_lecce = { + } + b_otranto = { + greek = "Hydrunton" + } + b_brindisi = { + greek = "Brendesion" + } + b_leuca = { + } + b_castro = { + } + b_ligento = { + } + b_andrano = { + } + b_oria = { + } + } + } + + d_salerno = { + color={ 245 194 199 } + color2={ 255 255 255 } + + greek = "Lukania" + + capital = 336 # Salerno + + catholic = 250 # Crusade target weight + + c_salerno = { + color={ 245 194 199 } + color2={ 255 255 255 } + + b_salerno = { + } + b_acenzera = { + } + b_eboli = { + } + b_nocera = { + } + b_acerno = { + } + b_lucania = { + } + b_agropoli = { + } + b_sarno = { + } + } + c_taranto = { + color={ 235 190 195 } + color2={ 255 255 255 } + + greek = "Lukania" + + b_taranto = { + greek = "Tarantas" + } + b_mottola = { + } + b_castellaneta = { + } + b_tursi = { + } + b_montepeloso = { + } + b_tricanico = { + } + b_gravina = { + } + b_cassano = { + } + } + + c_amalfi = { + color={ 120 200 225 } + color2 = { 255 255 255 } + + b_amalfi={ + } + b_sorrento={ + } + b_ravello={ + } + b_tramonti={ + } + b_positano={ + } + b_castellamare = { + } + b_capri = { + } + b_minori = { + } + } + } + d_calabria = { + color={ 170 142 70 } + color2={ 255 255 255 } + + capital = 338 # Reggio + + catholic = 250 # Crusade target weight + + c_consenza = { + color={ 170 142 70 } + color2={ 255 255 255 } + + greek = "Kroton" + + b_cosenza = { + } + b_rossano = { + } + b_umbriatico = { + } + b_strongoli = { + } + b_argentano = { + } + b_scalea = { + } + b_cerenzia = { + } + b_crotone = { + } + } + c_reggio = { + color={ 170 142 70 } + color2={ 255 255 255 } + + greek = "Rhegion" + + b_reggio = { + greek = "Rhegion" + } + b_mileto = { + } + b_nicotera = { + } + b_belcastro = { + } + b_bova = { + } + b_gerace = { + } + b_tropea = { + } + b_squillace = { + } + } + } + d_sicily = { + color={ 155 254 86 } + color2={ 255 255 255 } + + capital = 340 # Palermo + + c_palermo = { + color={ 155 254 86 } + color2={ 255 255 255 } + + maghreb_arabic = "Balharm" + levantine_arabic = "Balharm" + egyptian_arabic = "Balharm" + bedouin_arabic = "Balharm" + andalusian_arabic = "Balharm" + greek = "Panarmos" + + b_palermo = { + maghreb_arabic = "Balharm" + levantine_arabic = "Balharm" + egyptian_arabic = "Balharm" + bedouin_arabic = "Balharm" + andalusian_arabic = "Balharm" + greek = "Panarmos" + } + b_cefalu = { + } + b_monreale = { + } + b_gratteri = { + } + b_caltavuturo = { + } + b_petralia = { + } + b_misilmeri = { + } + b_mistretta = { + } + } + c_messina = { + color={ 155 254 86 } + color2={ 255 255 255 } + + greek = "Messene" + + b_messina = { + greek = "Messene" + } + b_lipari = { + } + b_taormina = { + greek = "Taourmenion" + } + b_sanmarcodalunzio = { + } + b_troinia = { + } + b_furnari = { + } + b_cataratti = { + } + b_torregrota = { + } + } + c_siracusa = { + color={ 155 254 86 } + color2={ 255 255 255 } + + greek = "Syrakousa" + + b_syracusa = { + greek = "Syrakousa" + } + b_catania = { + } + b_lentini = { + } + b_noto = { + } + b_caltagirone = { + } + b_paterno = { + } + b_centuripe = { + } + b_augusta = { + } + } + c_agrigento = { + color={ 155 254 86 } + color2={ 255 255 255 } + + greek = "Agrigenton" + andalusian_arabic = "Kerkent" + maghreb_arabic = "Kerkent" + bedouin_arabic = "Kerkent" + egyptian_arabic = "Kerkent" + levantine_arabic = "Kerkent" + + b_agricento = { + greek = "Agrigenton" + andalusian_arabic = "Kerkent" + maghreb_arabic = "Kerkent" + bedouin_arabic = "Kerkent" + egyptian_arabic = "Kerkent" + levantine_arabic = "Kerkent" + } + b_caltabellotta = { + } + b_butera = { + } + b_sanbiagioplatani = { + } + b_gela = { + } + b_licata = { + } + b_raffadali = { + } + b_montallegro = { + } + } + c_trapani = { + color={ 155 254 86 } + color2={ 255 255 255 } + + greek = "Drepanon" + andalusian_arabic = "Mazar" + maghreb_arabic = "Mazar" + bedouin_arabic = "Mazar" + egyptian_arabic = "Mazar" + levantine_arabic = "Mazar" + + b_trapani = { + greek = "Drepanon" + } + b_mazara = { + andalusian_arabic = "Mazar" + maghreb_arabic = "Mazar" + bedouin_arabic = "Mazar" + egyptian_arabic = "Mazar" + levantine_arabic = "Mazar" + } + b_erice = { + } + b_sanguiseppelato = { + } + b_castelvertrano = { + } + b_santaninfa = { + } + b_marsala = { + } + b_alcarno = { + } + } + c_malta = { + color={ 155 254 86 } + color2={ 255 255 255 } + + b_mdina = { + greek = Melitta + italian = "Citta Vecchia" + } + b_sliema = { + } + b_sanpawl = { + italian = "San Paolo" + } + b_gozo = { + greek = Ogygia + andalusian_arabic = "Ghawdesh" + maghreb_arabic = "Ghawdesh" + bedouin_arabic = "Ghawdesh" + egyptian_arabic = "Ghawdesh" + levantine_arabic = "Ghawdesh" + } + b_birzebbuga = { + italian = "Birzebbugia" + } + b_marsascala = { + greek = Pyrgos + andalusian_arabic = "Marsa Sqalli" + maghreb_arabic = "Marsa Sqalli" + bedouin_arabic = "Marsa Sqalli" + egyptian_arabic = "Marsa Sqalli" + levantine_arabic = "Marsa Sqalli" + } + b_mgarr = { + italian = "Mugiarro" + } + b_sangjilan = { + } + } + } + } + + k_georgia = { + color={ 205 145 145 } + color2={ 255 255 255 } + + capital = 679 # Kartli + + culture = georgian + + orthodox = 200 # Crusade target weight + tengri_pagan_reformed = 50 + zoroastrian_group = 200 # Crusade target weight + + d_kartli = { + color={ 234 119 119 } + color2={ 255 255 255 } + + capital = 679 # Kartli + + c_kartli = { + color={ 196 121 121 } + color2={ 255 255 255 } + + b_narikala = { + } + b_tbilisi = { + } + b_svetitskhoveli = { + } + b_djvari = { + } + b_mtskheta = { + } + b_sioni = { + } + b_gori = { + } + b_bebristsikhe = { + } + } + c_tao = { + color={ 238 183 183 } + color2={ 255 255 255 } + + turkish = "Ahiska" + + b_panaskerti = { + } + b_artanuji = { + } + b_khakhuli = { + } + b_khertvisi = { + } + b_akhaltsikhe = { + } + b_oshki = { + } + b_vardzia = { + } + b_ughtik = { + } + } + c_guria = { + color={ 240 185 185 } + color2={ 255 255 255 } + + greek = "Lazike" + turkish = "Batum" + armenian = "Yeger" + + b_bukistsikhe = { + } + b_batum = { + } + b_udabno = { + } + b_gonio = { + } + b_ozurgeti = { + } + b_skhalta = { + } + b_tsikhisdziri = { + } + b_khula = { + } + } + c_kakheti = { + color={ 202 147 147 } + color2={ 255 255 255 } + + b_zedazaden = { + } + b_telavi = { + } + b_sighnaghi = { + } + b_dzveligalavani = { + } + b_bochorma = { + } + b_davidgareja = { + } + b_gremi = { + } + b_bodbe = { + } + } + } + d_derbent = { + color={ 203 76 76 } + color2={ 255 255 255 } + + capital = 674 # Derbent + + armenian = "Aghbania" + georgian = "Aghbania" + alan = "Aghbania" + greek = "Albania" + + c_albania = { + color={ 253 176 176 } + color2={ 255 255 255 } + + armenian = "Aghvank" + georgian = "Albaneti" + + b_chukhurkabala = { + armenian = "Kabalak" + georgian = "Kabala" + alan = "Kabala" + } + b_ganja = { + armenian = "Gandzak" + georgian = "Gandza" + alan = "Gandza" + } + b_shaki = { + armenian = "Shake" + georgian = "Shake" + alan = "Shake" + } + b_darussoltan = { + armenian = "Kaladasht" + georgian = "Kaladasht" + alan = "Kaladasht" + } + b_barda = { + armenian = "Partav" + georgian = "Bardavi" + alan = "Partavi" + } + b_emli = { + armenian = "Surp Yeghishe" + georgian = "Gish" + alan = "Kish" + } + b_gelersengorersen = { + armenian = "Kalaberd" + georgian = "Kalaberd" + alan = "Kalaberd" + } + b_kabala = { + armenian = "Vartashen" + georgian = "Vardashen" + alan = "Vartashen" + } + } + c_derbent = { + color={ 253 179 179 } + color2={ 255 255 255 } + + b_narinkala = { + } + b_derbent = { + } + b_juma = { + } + b_chikkulkan = { + } + b_kuli = { + } + b_tayus = { + } + b_humraj = { + } + b_datuna = { + } + } + c_semender = { + color={ 253 182 182 } + color2={ 255 255 255 } + + b_kumukh = { + } + b_semender = { + } + b_khattibaku = { + } + b_khannalkala = { + } + b_balanjar = { + } + b_urtseki = { + } + b_burgaikala = { + } + b_tarki = { + } + } + } + d_abkhazia = { + color={ 255 173 196 } + color2={ 255 255 255 } + + capital = 601 # Imeretia + + c_imeretia = { + color={ 246 152 152 } + color2={ 255 255 255 } + + b_geguti = { + } + b_kutaisi = { + } + b_bagrati = { + } + b_tsikhegoji = { + } + b_khoni = { + } + b_ghelati = { + } + b_lentekhi = { + } + b_motsameta = { + } + } + c_abkhazia = { + color={ 254 160 160 } + color2={ 255 255 255 } + + b_abaatha = { + } + b_tskhoumi = { + } + b_pitsunda = { + } + b_anakopia = { + } + b_gagra = { + } + b_egrisi = { + } + b_bzyb = { + } + b_zugdidi = { + } + } + } + } +} + +e_italy = { + color={ 234 217 110 } + color2={ 255 255 255 } + + capital = 333 # Rome + + culture = italian + + allow = { + hidden_tooltip = { + OR = { + ai = no + culture=italian + } + } + has_landed_title=k_italy + has_landed_title=k_sicily + any_demesne_title = { + tier = king + NOT = { title = k_italy } + NOT = { title = k_sicily } + } + } + + k_genoa = { + color={ 234 131 110 } + capital = 233 # Genoa + culture = italian + + dignity = 200 # Never want the Republic of Genoa to change primary title + + allow = { + is_republic = yes + } + } + + k_pisa = { + color={ 196 192 140 } + color2={ 255 255 255 } + + capital = 327 # Pisa + culture = italian + + dignity = 200 # Never want the Republic of Pisa to change primary title + + allow = { + is_republic = yes + } + } + + k_naples = { + color = { 218 217 242 } + capital = 334 # Napoli + + allow = { + FROM = { + any_previous_holder = { + always = yes # The title has existed before + } + } + } + + culture = italian + } + + k_italy = { + color={ 244 227 160 } + color2={ 255 255 255 } + #capital = 235 # Lombardia + + capital = 234 # Pavia + + culture = italian + + # Creation/usurpation trigger + allow = { + hidden_tooltip = { + OR = { + ai = no + religion_group = christian + } + } + } + + christian = 10000 # Crusade target weight + + d_verona = { + color={ 170 255 170 } + color2={ 255 255 255 } + + capital = 319 # Verona + + c_treviso = { + color={ 251 226 226 } + color2={ 255 255 255 } + + b_treviso = { + } + b_bassano = { + } + b_oderzo = { + } + b_castelfranco = { + } + b_asola = { + } + b_citadella = { + } + b_ceneda = { + } + b_paese = { + } + } + c_verona = { + color={ 255 230 230 } + color2={ 255 255 255 } + + b_verona = { + } + b_vicenza = { + } + b_sanmartino = { + } + b_schio = { + } + b_montecchio = { + } + b_arzignano = { + } + b_lonigo = { + } + b_barbarano = { + } + } + c_padova = { + color={ 255 234 234 } + color2={ 255 255 255 } + + b_padova = { + } + b_este = { + } + b_polesine = { + } + b_montagnana = { + } + b_adria = { + } + b_chioggia = { + } + b_rovigo = { + } + b_vigonza = { + } + } + c_mantua = { + color={ 255 238 238 } + color2={ 255 255 255 } + + b_mantua = { + } + b_serravalle = { + } + b_castellucchio = { + } + b_gonzaga = { + } + b_marmirolo = { + } + b_curtatone = { + } + b_virgilio = { + } + b_bagnolosanvito = { + } + } + } + + d_susa = { + color={ 191 158 158 } + color2={ 255 255 255 } + + capital = 236 # Piemonte + + c_piemonte = { + color={ 104 12 38 } + color2={ 255 255 255 } + + b_ivrea = { + } + b_torino = { + } + b_settimo = { + } + b_auriate = { + } + b_novara = { + } + b_ferrero = { + } + b_messarano = { + } + b_crevacuore = { + } + } + + c_saluzzo = { + color={ 155 46 76 } + color2={ 255 255 255 } + + b_saluzzo = { + } + b_pinerolo = { + } + b_cuneo = { + } + b_savigliano = { + } + b_busca = { + } + b_paesana = { + } + b_verzuolo = { + } + b_caraglio = { + } + } + + c_monferrato = { + color={ 250 244 225 } + color2={ 255 255 255 } + + b_monferrato = { + } + b_casale = { + } + b_asti = { + } + b_acqui = { + } + b_tortona = { + } + b_biella = { + } + b_alba = { + } + b_canelli = { + } + } + } + + d_lombardia = { + color={ 200 133 222 } + color2={ 255 255 255 } + capital = 235 # Lombardia + + c_brescia = { + color={ 249 235 224 } + color2={ 255 255 255 } + + b_brescia = { + } + b_bergamo = { + } + b_peschiera = { + } + b_treviglio = { + } + b_salo = { + } + b_lumezzane = { + } + b_montichiari = { + } + b_castiglione = { + } + } + c_lombardia = { + color={ 251 237 226 } + color2={ 255 255 255 } + + b_milano = { + } + b_monza = { + } + b_como = { + } + b_lodi = { + } + b_vigevano = { + } + b_maggiore = { + } + b_legnano = { + } + b_chiavenna = { + } + } + c_trent = { + color={ 253 239 228 } + color2={ 255 255 255 } + + + b_trento = { + } + b_brixen = { + } + b_bozen = { + } + b_meran = { + } + b_schlanders = { + } + b_bruneck = { + } + b_riva = { + } + b_rovereto = { + } + } + + c_pavia = { + color={ 255 243 232 } + color2={ 255 255 255 } + + b_pavia = { + } + b_bobbio = { + } + b_piacenza = { + } + b_voghera = { + } + b_alessandria = { + } + b_casteggio = { + } + b_colorno = { + } + b_montebello = { + } + } + c_cremona = { + color={ 255 245 234 } + color2={ 255 255 255 } + + b_cremona = { + } + b_crema = { + } + b_sospiro = { + } + b_vescovato = { + } + b_viadana = { + } + b_castelgoffredo = { + } + b_casalmaggiore = { + } + b_manerbio = { + } + } + } + d_genoa = { + color={ 244 141 120 } + color2={ 255 255 255 } + + capital = 233 # Genoa + + dignity = 10 + + c_genoa = { + color={ 253 247 228 } + color2={ 255 255 255 } + + b_genoa = { + } + b_rapallo = { + } + b_luna = { + } + b_ventimiglia = { + } + b_savona = { + } + b_chiavari = { + } + b_albenga = { + } + b_fosdinovo = { + } + } + } + d_modena = { + color={ 225 180 180 } + color2={ 255 255 255 } + + capital = 322 # Modena + + c_modena = { + color={ 251 250 226 } + color2={ 255 255 255 } + + b_modena = { + } + b_reggionellemila = { + } + b_carpi = { + } + b_mirandola = { + } + b_novellara = { + } + b_sabbioneta = { + } + b_sassuolo = { + } + b_bomporto = { + } + } + c_parma = { + color={ 255 254 230 } + color2={ 255 255 255 } + + b_parma = { + } + b_massa = { + } + b_guastalla = { + } + b_fornovo = { + } + b_fidenza = { + } + b_fontanellato = { + } + b_laspezia = { + } + b_noceto = { + } + } + } + d_ferrara = { + color={ 244 180 130 } + color2={ 255 255 255 } + + capital = 351 # Ravenna + + c_bologna = { + color={ 244 180 130 } + color2={ 255 255 255 } + + b_faenza = { + } + b_bologna = { + } + b_forli = { + } + b_imola = { + } + b_bentivoglio = { + } + b_budno = { + } + b_castelguelfo = { + } + b_bagnacavallo = { + } + } + c_ferrara = { + color={ 244 180 130 } + color2={ 255 255 255 } + + b_ferrara = { + } + b_commacchio = { + } + b_tresigallo = { + } + b_occhiobello = { + } + b_copparo = { + } + b_codigoro = { + } + b_bondeno = { + } + b_voghiera = { + } + } + c_ravenna = { + color={ 244 180 130 } + color2={ 255 255 255 } + + b_ravenna = { + } + b_cesena = { + } + b_cervia = { + } + b_russi = { + } + b_alfonsine = { + } + b_cesenatico = { + } + b_gambettola = { + } + b_gatteo = { + } + } + } + d_toscana = { + color = { 222 186 25 } + color2={ 255 255 255 } + + capital = 328 # Firenze + + c_lucca = { + color = { 232 186 25 } + color2={ 255 255 255 } + + b_lucca = { + } + b_pistoia = { + } + b_cascina = { + } + b_altopascio = { + } + b_viareggio = { + } + b_seravezza = { + } + b_capannori = { + } + b_calcinaia = { + } + } + c_firenze = { + color = { 232 190 25 } + color2={ 255 255 255 } + + italian = Firenze + castillan = Florencia + catalan = Florencia + basque = Florencia + portuguese = Florencia + visigothic = Florencia + roman = Florentiae + swedish = Florens + norse = Florens + german = Florenz + lombard = Florens + old_frankish = Florens + suebi = Florens + saxon = Florens + old_saxon = Florens + + b_firenze = { + italian = Firenze + castillan = Florencia + catalan = Florencia + basque = Florencia + portuguese = Florencia + visigothic = Florencia + roman = Florentiae + swedish = Florens + norse = Florens + german = Florenz + lombard = Florens + old_frankish = Florens + suebi = Florens + saxon = Florens + old_saxon = Florens + } + b_arezzo = { + } + b_prato = { + } + b_fiesole = { + } + b_montevarchi = { + } + b_certaldo = { + } + b_lucignano = { + } + b_sansepolcro = { + } + } + c_siena = { + color = { 212 176 30 } + color2={ 255 255 255 } + + b_siena = { + } + b_cortona = { + } + b_pienza = { + } + b_montepulciano = { + } + b_montalcino = { + } + b_sangimignano = { + } + b_colledievaldelsa = { + } + b_monteriggioni = { + } + } + } + d_pisa = { + color={ 196 192 140 } + color2={ 255 255 255 } + + capital = 327 # Pisa + + c_pisa = { + color={ 232 251 226 } + color2={ 255 255 255 } + + b_pisa = { + } + b_livorno = { + } + b_canefro = { + } + b_volterra = { + } + b_vicopisano = { + } + b_sanminiato = { + } + b_portoferraio = { + } + b_giglio = { + } + } + c_piombino = { + color={ 236 255 230 } + color2={ 255 255 255 } + + b_piombino = { + } + b_suvereto = { + } + b_radicofani = { + } + b_populonia = { + } + b_campiglia = { + } + b_follonica = { + } + b_sanvincenzo = { + } + } + } + d_ancona = { + color={ 230 227 180 } + color2={ 255 255 255 } + + capital = 350 # Ancona + + c_ancona = { + color={ 224 249 224 } + color2={ 255 255 255 } + + greek = "Ankon" + + b_ancona = { + greek = "Ankon" + } + b_pesaro = { + } + b_rimini = { + } + b_matelica = { + } + b_osimo = { + } + b_fermo = { + } + b_recanati = { + } + b_camerino = { + } + } + c_urbino = { + color={ 226 251 226 } + color2={ 255 255 255 } + + b_urbino = { + } + b_sanseverino = { + } + b_sanmarino = { + } + b_montefeltro = { + } + b_gubbio = { + } + b_fano = { + } + b_cittadicastello = { + } + b_fossombrone = { + } + } + } + d_spoleto = { + color={ 217 182 153 } + color2={ 255 255 255 } + + capital = 349 # Spoleto + + c_spoleto = { + color={ 225 250 235 } + color2={ 255 255 255 } + + b_spoleto = { + } + b_perugia = { + } + b_assisi = { + } + b_nursia = { + } + b_todi = { + } + b_valva = { + } + b_terni = { + } + b_foligno = { + } + } + + c_aprutium = { + color={ 205 210 205 } + color2={ 255 255 255 } + + greek = "Interamnion" + + b_avezzano = { + } + b_pescara = { + } + b_chieti = { + } + b_teramo = { + } + b_atri = { + } + b_aprutium_penne = { + } + b_paganica = { + } + b_aquila = { + } + } + } + + d_latium = { + color={ 254 245 160 } + color2={ 255 255 255 } + + capital = 333 # Rome + + christian = 750 # Crusade target weight + + c_roma = { + color={ 242 233 156 } + color2={ 220 220 1 } + + christian = 5000 # Crusade target weight + + holy_site = catholic + holy_site = aztec + holy_site = aztec_reformed + holy_site = hellenic_pagan + holy_site = pagan + + italian = Roma + castillan = Roma + catalan = Roma + basque = Roma + portuguese = Roma + visigothic = Roma + roman = Roma + norse = Rom + swedish = Rom + danish = Rom + norwegian = Rom + german = Rom + lombard = Rom + old_frankish = Rom + suebi = Rom + saxon = Rom + old_saxon = Rom + + b_roma = { + pentarchy = yes + used_for_dynasty_names = no + + italian = Roma + castillan = Roma + catalan = Roma + basque = Roma + portuguese = Roma + visigothic = Roma + roman = Roma + swedish = Rom + danish = Rom + norwegian = Rom + german = Rom + lombard = Rom + old_frankish = Rom + suebi = Rom + saxon = Rom + old_saxon = Rom + } + b_viterbo = { + } + b_tusculum = { + } + b_tivoli = { + } + b_ostia = { + } + b_sutri = { + } + b_aragni = { + } + b_terracina = { + } + } + + c_orvieto = { + color={ 228 253 238 } + color2={ 255 255 255 } + + b_orvieto = { + } + b_narni = { + } + b_alviano = { + } + b_montecastrilli = { + } + b_otricoli = { + } + b_amelia = { + } + b_baschi = { + } + b_ciconia = { + } + } + + c_orbetello = { + color={ 240 255 234 } + color2={ 255 255 255 } + + b_orbetello = { + } + b_grosseto = { + } + b_pitigliano = { + } + b_roselle = { + } + b_sorano = { + } + b_sovana = { + } + b_vetulonia = { + } + b_rusellae = { + } + } + } + + d_sardinia = { + color={ 217 159 255 } + color2={ 255 255 255 } + + capital = 326 # Cagliari + + c_corsica = { + color={ 226 248 251 } + color2={ 255 255 255 } + + b_ajaccio = { + } + b_bonifacio = { + } + b_bastia = { + } + b_portevecchio = { + } + b_filitosa = { + } + b_corte = { + } + b_sartene = { + } + b_aleria = { + } + } + c_arborea = { + color={ 170 182 225 } + color2={ 255 255 255 } + + b_oristano = { + } + b_ardara = { + } + b_sassari = { + } + b_portotorres = { + } + b_olbia = { + } + b_ottana = { + } + b_tharros = { + } + b_santaigia = { + } + } + c_cagliari = { + color={ 170 200 170 } + color2={ 255 255 255 } + + b_cagliari = { + } + b_ogliastra = { + } + b_assemini = { + } + b_sanluri = { + } + b_muravera = { + } + b_dolianova = { + } + b_carbonia = { + } + b_capoterra = { + } + } + } + } + + k_venice = { + color = { 54 167 156 } + capital = 356 # Venice + culture = italian + + dignity = 200 # Never want the Republic of Venice to change primary title + + allow = { + is_republic = yes + } + + d_venice = { + color = { 34 137 126 } + capital = 356 # Venice + + dignity = 10 + + c_venezia = { + color = { 40 143 132 } + color2 = { 255 255 255 } + + b_venezia = { + } + b_rialto = { + } + b_pallestrina = { + } + b_lido = { + } + b_jesolo = { + } + b_murano = { + } + b_torcello = { + } + b_fusina = { + } + } + } + } +} + +e_scandinavia = { + color={ 62 122 189 } + color2={ 255 255 0 } + capital = 290 # Uppland + + culture = swedish + + norse_pagan_reformed = 500 # Crusade target weight + + # Creation/usurpation trigger + allow = { + hidden_tooltip = { + OR = { + ai = no + culture_group = north_germanic + culture = finnish + } + } + } + + k_sweden = { + color={ 55 112 170 } + color2={ 255 255 0 } + capital = 290 # Uppland + + dignity = 10 # Counted as having this many more counties than it does + + culture = swedish + + norse_pagan_reformed = 350 # Crusade target weight + catholic = 100 # Crusade target weight + baltic_pagan_reformed = 50 # Crusade target weight + finnish_pagan_reformed = 50 + + norse = Sviþjod + swedish = "Svea Rike" + + d_gotland = { + color = { 170 25 25 } + color2={ 255 255 255 } + + capital = 301 # Gotland + + dignity = 10 + } + + d_uppland = { + color={ 20 20 145 } + color2={ 255 255 255 } + + norse_pagan_reformed = 500 # Crusade target weight + + dignity = 8 + + capital = 290 # Uppland + + norse = Sviþjod + + pagan_coa = { + template = 0 + layer = { + texture = 2 + texture_internal = 10 + emblem = 0 + color = 0 + color = 0 + color = 0 + } + religion = "norse_pagan" + } + + c_uppland = { + color={ 30 30 155 } + color2={ 255 255 255 } + + holy_site = norse_pagan + holy_site = norse_pagan_reformed + + b_sigtuna = { + } + b_uppsala = { + } + b_osteras = { + norwegian = "Østerås" + danish = "Østerås" + } + b_hatuna = { + } + b_stockholm = { + used_for_dynasty_names = no + } + b_enkoping = { + norwegian = "Enkøping" + danish = "Enkøbing" + } + b_alsno = { + norwegian = "Alsnø" + danish = "Alsnø" + } + b_vaksala = { + } + b_birka = { + } + } + c_gastrikland = { + color={ 30 30 155 } + color2={ 255 255 255 } + + norwegian = "Gestrikland" + danish = "Gestrikland" + + b_valbo = { + } + b_hille = { + } + b_farnebo = { + norwegian = "Færnebo" + danish = "Færnebo" + } + b_hedesunda = { + } + b_ockelbo = { + } + b_torsaker = { + } + b_hamrange = { + } + b_arsunda = { + } + } + c_aland = { + color = { 44 44 215 } + color2 = { 255 255 255 } + + b_kastelholm = { + } + b_sund = { + } + b_geta = { + } + b_saltvik = { + } + b_godby = { + } + b_finstrom = { + norwegian = "Finstrøm" + danish = "Finstrøm" + } + b_eckero = { + norwegian = "Eckerø" + danish = "Eckerø" + } + b_kumlinge = { + } + } + c_sodermanland = { + color={ 50 35 225 } + color2={ 255 255 255 } + + norwegian = "Sødermanland" + danish = "Sødermanland" + norse = "Sudermanland" + swedish = "Södermanland" + + b_nykoping = { + norwegian = "Nykøping" + danish = "Nykøbing" + } + b_telge = { + } + b_gripsholm = { + } + b_strangnas = { + norwegian = "Strængnes" + danish = "Strængnæs" + } + b_torshalla = { + norwegian = "Torshælla" + danish = "Torshælla" + } + b_eskilstuna = { + } + b_vaderbrunn = { + norwegian = "Væderbrunn" + danish = "Væderbrunn" + } + b_hundhamra = { + } + } + } + d_ostergotland = { + color={ 44 20 169 } + color2={ 255 255 255 } + + capital = 293 # Östergötland + + norwegian = "Østergøtland" + danish = "Østergøtland" + norse = "Austergautland" + swedish = "Östergötland" + + c_ostergotland = { + color={ 50 50 149 } + color2={ 255 255 255 } + + norwegian = "Østergøtland" + danish = "Østergøtland" + norse = "Austergautland" + swedish = "Östergötland" + + b_stegeborg = { + } + b_skanninge = { + norwegian = "Skænninge" + danish = "Skænninge" + } + b_vadstena = { + } + b_linkoping = { + norwegian = "Linkøping" + danish = "Linkøbing" + } + b_norrkoping = { + norwegian = "Norrkøping" + danish = "Norrkøbing" + } + b_soderkoping = { + norwegian = "Søderkøping" + danish = "Søderkøbing" + } + b_alvastra = { + } + b_vreta = { + } + b_nasborg = { + norwegian = "Nesborg" + danish = "Næsborg" + } + b_jonkoping = { + norwegian = "Jønkøping" + danish = "Jønkøbing" + } + } + c_tjust = { + color={ 75 60 190 } + color2={ 255 255 255 } + + b_vastervik = { + norwegian = "Vestervik" + danish = "Vestervik" + } + b_vimmerby = { + } + b_doderhult = { + norwegian = "Døderhult" + danish = "Døderhult" + } + b_hulingsryd = { # Now Hultsfred + } + b_tornsfall = { + norwegian = "Tørnsfall" + danish = "Tørnsfall" + } + b_kisa = { + } + b_jangolsrum = { + } + } + c_gotland = { + color={ 65 80 255 } + color2={ 255 255 255 } + + b_visby = { + } + b_visborg = { + } + b_slite = { + } + b_geatish_roma = { + } + b_hejde = { + } + b_othem = { + } + b_alva = { + } + b_hemse = { + } + } + } + d_vastergotland = { + color={ 46 30 205 } + color2={ 255 255 255 } + capital = 297 # Västergötland + + swedish = "Västergötland" + norwegian = "Vestergøtland" + danish = "Vestergøtland" + norse = "Vestergautland" + + pagan_coa = { + template = 0 + layer = { + texture = 2 + texture_internal = 11 + emblem = 0 + color = 0 + color = 0 + color = 0 + } + religion = "norse_pagan" + } + + c_vastergotland = { + color={ 60 55 255 } + color2={ 255 255 255 } + + swedish = "Västergötland" + norwegian = "Vestergøtland" + danish = "Vestergøtland" + norse = "Vestergautland" + + holy_site = pagan + + b_galakvist = { + norwegian = "Gælakvist" + danish = "Gælakvist" + } + b_lodose = { + norwegian = "Lødøse" + danish = "Lødøse" + } + b_skara = { + } + b_falkoping = { + norwegian = "Falkøping" + danish = "Falkøbing" + } + b_ymseborg = { + } + b_husaby = { + } + b_varnhem = { + } + b_lacko = { + norwegian = "Læckø" + danish = "Læckø" + } + # b_lena + # b_skalunda + # b_lindholmen + # b_alvsborg + } + c_narke = { + color={ 68 58 255 } + color2={ 255 255 255 } + + norwegian = "Nerike" + danish = "Nerke" + norse = Nerike + + b_goksholm = { + norwegian = "Gøksholm" + danish = "Gøksholm" + } + b_orebro = { + norwegian = "Ørebro" + danish = "Ørebro" + } + b_mosas = { + } + b_kumla = { + } + b_riseberga = { + } + b_nora = { + } + b_askersund = { + } + b_hallsberg = { + } + } + c_dal = { + color={ 35 30 225 } + color2={ 255 255 255 } + + b_dalaborg = { + } + b_bolstad = { + } + b_sundal = { + } + b_nordal = { + } + b_vedbo = { + } + b_tossbo = { + } + b_amordh = { + } + b_mellerud = { + } + } + } + d_norrland = { + color={ 50 50 160 } + color2={ 255 255 255 } + + capital = 285 # Hälsingland + + c_angermanland = { + color={ 24 0 255 } + color2={ 255 255 255 } + + norse = Angermanland + + b_bjartra = { + norwegian = "Bjertrå" + danish = "Bjærtrå" + } + b_ulvo = { + norwegian = "Ulvø" + danish = "Ulvø" + } + b_natra = { + } + b_skulnas = { + norwegian = "Skulnes" + danish = "Skulnæs" + } + b_solleftea = { + } + b_harnosand = { + norwegian = "Hærnøsand" + danish = "Hærnøsand" + } + b_ornskoldsvik = { + norwegian = "Ørnskøldsvik" + danish = "Ørnskøldsvik" + } + b_biedsta = { + } + } + c_medelpad = { + color={ 21 37 175 } + color2={ 255 255 255 } + + b_selanger = { + } + b_alno = { + norwegian = "Alnø" + danish = "Alnø" + } + b_njurunda = { + } + b_skon = { + norwegian = "Skøn" + danish = "Skøn" + } + b_liden = { + } + b_otman = { + } + b_torp = { + } + b_sundsvall = { + } + } + c_halsingland = { + color={ 5 55 155 } + color2={ 255 255 255 } + + norwegian = "Helsingland" + danish = "Helsingland" + norse = "Helsingland" + + b_norrala = { + } + b_hog = { + } + b_jattendal = { + norwegian = "Jættendal" + danish = "Jættendal" + } + b_forsa = { + } + b_tasta = { + } + b_nordanstig = { + } + b_alir = { + } + b_sundhed = { + } + } + } + d_bergslagen = { + color={ 60 60 200 } + color2={ 255 255 255 } + capital = 289 # Västmanland + + c_dalarna = { + color={ 20 20 230 } + color2={ 255 255 255 } + + norwegian = "Jernbæraland" + danish = "Jernbæraland" + english = Dalecarlia + norse = Járnberaland + + b_borganas = { + } + b_kopparberg = { + } + b_hedemora = { + } + b_husby = { + } + b_sater = { + } + b_mora = { + } + b_tuna = { + } + b_idre = { + } + } + c_varmland = { + color={ 35 35 210 } + color2={ 255 255 255 } + + swedish = "Värmland" + german = "Värmland" + norwegian = "Vermland" + danish = "Værmland" + norse = "Vermaland" + + b_saxholm = { + } + b_arvika = { + } + b_josse = { + } + b_nordmark = { + } + b_fryksdal = { + } + b_kil = { + } + b_vase = { + } + b_gillberg = { + } + } + c_vastmanland = { + color={ 10 10 240 } + color2={ 255 255 255 } + + norwegian = "Vestmanland" + danish = "Vestmanland" + norse = "Vestmannaland" + + b_vasteras = { + norwegian = "Vesterås" + danish = "Vesterås" + } + b_arboga = { + } + b_kopingshus = { + norwegian = "Køpingshus" + danish = "Købingshus" + } + b_koping = { + norwegian = "Køping" + danish = "Købing" + } + b_norberg = { + } + b_skinnskatteberg = { + } + b_badelunda = { + } + b_munktorp = { + } + } + } + d_smaland = { + color={ 60 40 255 } + color2={ 255 255 255 } + capital = 931 # Möre + + norse = "Smáland" + + c_more = { + color={ 105 55 215 } + color2={ 255 255 255 } + + danish = Møre + norwegian = Møre + + b_kalmar = { + } + b_kalmar_hus = { + } + b_torsas = { + } + b_soderakra = { + } + b_monsteras = { + } + b_madesjo = { + } + b_alem = { + } + } + + c_smaland = { # Now called Värend + color={ 95 30 215 } + color2={ 255 255 255 } + + b_piksborg = { + } + b_vaxjo = { + danish = Vexjø + norwegian = Vexjø + } + b_aringsas = { + } + b_alvesta = { + } + b_kronoberg = { + } + b_furuby = { + } + b_markaryd={ + norse = Madkharydh + } + } + c_oland = { + color={ 75 60 255 } + color2={ 255 255 255 } + + norwegian = "Øland" + danish = "Øland" + + b_borgholm = { + } + b_ottenby = { + } + b_mykleby = { + } + b_algutsrum = { + } + b_glomminge = { + } + b_hulterstad = { + } + b_gardby = { + } + b_gronhogen = { + norwegian = "Grønhøgen" + danish = "Grønhøgen" + } + b_kopingsvik = { + danish = "Købingsvik" + norwegian = "Køpingsvik" + } + } + } + } + + k_denmark = { + color={ 247 77 54 } + color2={ 136 157 23 } + + dignity = 10 # Counted as having this many more counties than it does + + culture = danish + + capital = 266 # Sjaelland + + norse_pagan_reformed = 350 # Crusade target weight + baltic_pagan_reformed = 50 # Crusade target weight + + norse = Danmark + danish = Danmark + swedish = Danmark + norwegian = Danmark + + d_skane = { + color={ 210 2 2 } + color2={ 255 255 255 } + + capital = 303 # Skåne + + swedish = Skåne + norse = Skåne + danish = Skåne + norwegian = Skåne + + c_skane = { + color={ 215 5 5 } + color2={ 255 255 255 } + + swedish = Skåne + norse = Skåne + danish = Skåne + norwegian = Skåne + + b_lund = { + } + b_dalby = { + } + b_uppakra = { + } + b_herrevad = { + } + b_lillohus = { + danish = "Lilløhus" + norwegian = "Lilløhus" + } + b_helsingborg = { + } + b_malmo = { + danish = "Malmø" + norwegian = "Malmø" + } + b_ystad = { + } + b_trelleborg = { + } + } + c_halland = { + color={ 220 10 15 } + color2={ 255 255 255 } + + b_varberg = { + } + b_falkenberg = { + } + b_halmstad = { + } + b_laholm = { + } + b_kungsbacka = { + } + b_aranaes = { + danish = "Aranæs" + norwegian = "Aranes" + } + b_baastad = { + } + b_getinge = { + } + } + c_bornholm = { + color={ 220 15 20 } + color2={ 255 255 255 } + + norse = Burgundaholmr + + b_ronne = { + } + b_knudsker = { + } + b_hammershus = { + } + b_nexo = { + swedish = "Nexö" + norse = "Nexö" + } + b_aakirkeby = { + } + b_hasle = { + } + b_svaneke = { + } + b_gudhjem = { + } + } + c_blekinge = { + color={ 220 30 20 } + color2={ 255 255 255 } + + b_solvesborg_slott = { + danish = "Sølvesborg Slott" + norwegian = "Sølvesborg Slott" + } + b_solvesborg = { + danish = "Sølvesborg" + norwegian = "Sølvesborg" + } + b_avaskar = { + danish = "Avaskær" + norwegian = "Avaskær" + } + b_elleholm = { + } + b_lycka = { + } + b_ronneby = { + } + b_lyckeby = { + } + b_lister = { + } + } + } + d_sjaelland = { + color={ 206 57 57 } + color2={ 255 255 255 } + capital = 266 # Sjaelland + + dignity = 8 + + swedish = Själland + english = Zealand + norse = Sjælland + + pagan_coa = { + template = 0 + layer = { + texture = 2 + texture_internal = 7 + emblem = 0 + color = 0 + color = 0 + color = 0 + } + religion = "norse_pagan" + } + + c_sjaelland = { + color={ 216 50 50 } + color2={ 255 255 255 } + + swedish = Själland + norse = Sjælland + english = Zealand + + holy_site = norse_pagan + holy_site = norse_pagan_reformed + + b_kobenhavn = { + swedish = Köpenhamn + norse = Hafn + } + b_roskilde = { + } + b_helsingor = { + swedish = Helsingör + norse = Helsingör + } + b_kalundborg = { + } + b_naestved = { + swedish = Nästved + norse = Næstved + } + b_slagelse = { + } + b_vordingborg = { + } + b_ringsted = { + } + b_lejre = { + norse = Hleiðra + } + } + c_fyn = { + color={ 216 55 55 } + color2={ 255 255 255 } + + b_svendborg = { + } + b_odense = { + } + b_faaborg = { + } + b_assens = { + } + b_middelfart = { + } + b_nyborg = { + } + b_kerteminde = { + } + b_bogense = { + } + } + } + d_slesvig = { # Jylland + color={ 224 74 74 } + color2={ 255 255 255 } + + capital = 267 # Jylland + + german = "Schleswig" + + pagan_coa = { + template = 0 + layer = { + texture = 2 + texture_internal = 0 + emblem = 0 + color = 0 + color = 0 + color = 0 + } + religion = "norse_pagan" + } + + c_slesvig = { + color={ 225 78 78 } + color2={ 255 255 255 } + + german = "Schleswig" + + b_flensborg = { + german = "Flensburg" + } + b_ribe = { + } + b_slesvig = { + } + b_sonderborg = { + swedish = "Sönderborg" + german = "Sonderburg" + } + b_tonder = { + } + b_aabenraa = { + swedish = "Åbenrå" + german = "Apenrade" + } + b_haderslev = { + german = "Hadersleben" + } + b_kolding = { + } + b_hedeby = { + norse = Heiðabyr + } + } + c_jylland = { + color={ 225 84 84 } + color2={ 255 255 255 } + + german = "Jütland" + english = "Jutland" + + b_aarhus = { + swedish = "Århus" + } + b_viborg = { + } + b_aalborg = { + } + b_ringkobing = { + swedish = "Ringköping" + norse = Ringköping + } + b_randers = { + } + b_horsens = { + } + b_skive = { + } + b_skagen = { + } + b_jelling = { + } + } + } + + d_holstein = { + color={ 172 112 112 } + color2={ 255 255 255 } + + capital = 263 #Holstein + + c_hamburg = { + color={ 225 225 225 } + color2={ 255 255 255 } + + danish = "Hamborg" + swedish = "Hamborg" + norwegian = "Hamborg" + norse = "Hamborg" + + b_hamburg = { + danish = "Hamborg" + swedish = "Hamborg" + norwegian = "Hamborg" + norse = "Hamborg" + } + b_altona = { + } + b_harburg = { + danish = "Harborg" + swedish = "Harborg" + norwegian = "Harborg" + norse = "Harborg" + } + b_brunsbuttel = { + } + b_buxtehude = { + } + b_dithmarschen = { + danish = "Ditmarsken" + swedish = "Ditmarsken" + norwegian = "Ditmarsken" + norse = "Ditmarsken" + } + b_niendorf = { + } + b_lokstedt = { + } + } + c_lubeck = { + color={ 142 142 142 } + color2={ 255 255 255 } + + danish = "Lybæk" + swedish = "Lybäck" + norwegian = "Lybæk" + norse = "Lybæck" + pommeranian = "Liubice" + polish = "Liubice" + bohemian = "Liubice" + prussian = "Liubice" + + b_lubeck = { + danish = "Lybæk" + swedish = "Lybäck" + norwegian = "Lybæk" + norse = "Lybæck" + pommeranian = "Liubice" + polish = "Liubice" + bohemian = "Liubice" + prussian = "Liubice" + } + b_ratzeburg = { + danish = "Ratseborg" + swedish = "Ratseborg" + norse = "Ratseborg" + norwegian = "Ratseborg" + } + b_travemunde = { + } + b_wulfsdorf = { + } + b_schlutup = { + } + b_starigard = { + } + b_weslo = { + } + b_bucu = { + } + } + c_holstein = { + color={ 219 219 219 } + color2={ 255 255 255 } + + danish = "Holsten" + swedish = "Holsten" + norwegian = "Holsten" + + b_kiel = { + } + b_gottorp = { + } + b_itzehoe = { + } + b_reinholdsburg = { + } + b_elmshorn = { + } + b_gluckstadt = { + danish = "Lykstad" + swedish = "Lyckstad" + norwegian = "Lykstad" + norse = "Lykstad" + } + b_lauenburg = { + danish = "Lauenborg" + swedish = "Lauenborg" + norwegian = "Lauenborg" + norse = "Lauenborg" + } + b_segeberg = { + } + } + c_bremen = { + color={ 216 216 216 } + color2={ 255 255 255 } + + b_bremen = { + } + b_hoya = { + } + b_verden = { + } + b_stade = { + } + b_blumenthal = { + } + b_ritzebuttel = { + } + b_achim = { + } + b_beverstedt = { + } + } + } + } + + k_norway = { + color={ 170 170 210 } + color2={ 220 220 220 } + + culture = norwegian + + capital = 274 # Bergenshus + + norse_pagan_reformed = 350 # Crusade target weight + catholic = 100 # Crusade target weight + finnish_pagan_reformed = 50 + + norse = Noregr + danish = Norge + swedish = Norge + norwegian = Norge + + d_iceland = { + color={ 195 190 255 } + color2={ 220 220 220 } + + capital = 1 # Vestisland + + norse = Island + danish = Island + swedish = Island + norwegian = Island + + c_vestisland = { + color={ 190 230 250 } + color2={ 220 220 220 } + + swedish = "Västisland" + + b_reykjavik = { + } + b_alftanes = { + swedish = "Alftanäs" + } + b_skalholt = { + } + b_pingvellir = { + } + b_kjalarnes = { + } + b_hlidarendi = { + } + b_hvamm = { + } + b_borg = { + } + } + c_austisland = { + color={ 185 195 255 } + color2={ 220 220 220 } + + swedish = "Östisland" + + b_husavik = { + } + b_hrisey = { + } + b_holar = { + } + b_glaumbaer = { + } + b_valpjotstadur = { + } + b_akureyri = { + } + b_kirkjubaer = { + } + b_goddalir = { + } + } + } + d_orkney = { + color={ 106 140 225 } + color2={ 255 255 255 } + + capital = 36 # Orkney + + norse = "Norðreyjar" + pictish = "Insee Galeth" + welsh = "Ynysoedd Gogledd" + irish = "Innse Tuath" + + pagan_coa = { + template = 0 + layer = { + texture = 2 + texture_internal = 5 + emblem = 0 + color = 0 + color = 0 + color = 0 + } + religion = "norse_pagan" + } + + c_faereyar = { + color={ 116 145 239 } + color2={ 255 255 255 } + + swedish = "Färöarna" + pictish = "Caliu" + welsh = "Ynysoedd Ceiliau" + irish = "Innse Caora" + + b_skansin = { + pictish = "Lam" + welsh = "Llam" + irish = "Leum" + } + b_torshavn = { + pictish = "Pirth Taran" + welsh = "Porth Taran" + irish = "Port Turenn" + } + b_kirkjubour = { + pictish = "Tathinauu" + welsh = "Tyddynaueglwys" + irish = "Tuathanaseaglais" + } + b_funningur = { + pictish = "Uenaeth" + welsh = "Gwynaidd" + irish = "Fionnach" + } + b_kvivik = { + pictish = "Culbachuu" + welsh = "Culbachwy" + irish = "Caolbati" + } + b_sandur = { + pictish = "Insee Tret" + welsh = "Ynys Traeth" + irish = "Eilean Tràigh" + } + b_klaksvik = { + pictish = "Insee Uun" + welsh = "Ynys Edn" + irish = "Innis Eun" + } + b_hov = { + pictish = "Icluasc" + welsh = "Eglwys" + irish = "Eaglais" + } + } + c_shetland = { + color={ 96 130 220 } + color2={ 255 255 255 } + + norwegian = "Hjaltland" + danish = "Hjaltland" + swedish = "Hjaltland" + norse = "Hjaltland" + pictish = "Insee Cait" + welsh = "Ynysoedd Cait" + irish = "Innse Catt" + + b_scalloway = { + pictish = "Bachuuon Maurt" + welsh = "Bachwyon Mawrty" + irish = "Batin Môrtaigh" + } + b_muness = { + pictish = "Muunis" + welsh = "Mwynis" + irish = "Mùnis" + } + b_tingwall = { + pictish = "Camanfalioth" + welsh = "Cymanfalleoedd" + irish = "Coinneamhionad" + } + b_cunningsburgh = { + norwegian = "Konungsborg" + danish = "Konungsborg" + swedish = "Konungsborg" + norse = "Konungsborg" + pictish = "Caer Rui" + welsh = "Caer Rhi" + irish = "Rìghdùn" + } + b_sumburgh = { + pictish = "Taranupin" + welsh = "Taranupenn" + irish = "Tàirneanachceann" + } + b_northmavine = { + pictish = "Goglethculder" + welsh = "Gogleddculdir" + irish = "Tuathcuing" + } + b_sound = { + pictish = "Cliaubae" + welsh = "Cleiaubae" + irish = "Crèadhbati" + } + b_yell = { + pictish = "Insee Uuan" + welsh = "Ynys Gwyn" + irish = "Innis Fionn" + } + } + c_orkney = { + color={ 106 140 235 } + color2={ 255 255 255 } + + swedish = "Orknö" + danish = "Orknø" + norse = "Orknö" + pictish = "Insee Orc" + welsh = "Ynysoedd Orc" + irish = "Innse Orc" + + b_kirkwall = { + norwegian = "Kirkuvåg" + danish = "Kyrkovik" + swedish = "Kyrkovik" + norse = "Kyrkovik" + pictish = "Icluasctreh" + welsh = "Eglwystref" + irish = "Baile na h-Eaglais" + } + b_birsay = { + norwegian = "Birgishærad" + danish = "Birgishærad" + swedish = "Birgishärad" + norse = "Birgishærad" + pictish = "Brideclauet" + welsh = "Ffraidclywed" + irish = "Brìghdechuala" + } + b_orphir = { + pictish = "Aerfur" + welsh = "Aerfwr" + irish = "Ayrfir" + } + b_westray = { + pictish = "Driduana" + welsh = "Driduana" + irish = "Triduana" + } + b_wyre = { + pictish = "Insee Ware" + welsh = "Ynys Wyre" + irish = "Innis Weir" + } + b_egilsay = { + pictish = "Insee Icluasc" + welsh = "Ynys Eglwys" + irish = "Innis Eaglais" + } + b_sanday = { + pictish = "Insee Tiuod" + welsh = "Ynys Tywod" + irish = "Innis Tràigh" + } + b_ronaldsay = { + pictish = "Insee Ninian" + welsh = "Ynys Ninian" + irish = "Innis Ronan" + } + } + } + d_vestlandet = { + color={ 120 160 245 } + color2={ 255 255 255 } + + capital = 274 # Bergenhus + + c_agder = { + color={ 40 85 255 } + color2={ 255 255 255 } + + norse = "Agdir" + + b_iveland = { + } + b_flekkefjord = { + } + b_hylestad = { + } + b_grimstad = { + } + b_visedal = { + } + b_horga = { + } + b_holt = { + } + b_sirdal = { + } + } + c_rogaland = { + color={ 10 110 255 } + color2={ 255 255 255 } + + norse = "Rygjafylki" + + b_eikundarsund = { + } + b_stavanger = { + } + b_roldal = { + } + b_naerbo = { + } + b_klepp = { + } + b_bygdeborg = { + } + b_hesby = { + } + b_jonegarden = { + } + } + c_telemark = { + color={ 45 160 255 } + color2={ 255 255 255 } + + norse = "Þelamark" + + b_skien = { + } + b_eidsborg = { + } + b_fredriksten = { + } + b_hitterdals = { + } + b_seljord = { + } + b_fyresdal = { + } + b_grenland = { + } + b_gimsoy = { + } + } + c_bergenshus = { + color={ 60 157 209 } + color2={ 255 255 255 } + + norse = Hordaland + + b_bergenhus = { + } + b_kinsarvik = { + } + b_bergen = { + norse = Bjorgvin + } + b_vik = { + } + b_hove = { + } + b_aurland = { + } + b_ask = { + } + b_fedje = { + } + } + } + d_ostlandet = { + color={ 80 120 215 } + color2={ 255 255 255 } + + capital = 272 # Akershus + + pagan_coa = { + template = 0 + layer = { + texture = 2 + texture_internal = 6 + emblem = 0 + color = 0 + color = 0 + color = 0 + } + religion = "norse_pagan" + } + + c_vestfold = { + color={ 89 100 195 } + color2={ 255 255 255 } + + b_kaupang = { + } + b_skiringssal = { + } + b_uvdal = { + } + b_nore = { + } + b_tonsberg = { + } + b_arendall = { + } + b_re = { + } + b_horten = { + } + } + c_akershus = { + color={ 120 158 235 } + color2={ 255 255 255 } + + norse = Raumariki + + b_akershus = { + } + b_oslo = { + } + b_bergheim = { + } + b_eidsvoll = { + } + b_nes = { + } + b_isegran = { + } + b_jessheim = { + } + b_baerum = { + } + } + c_viken = { + color={ 25 175 255 } + color2={ 255 255 255 } + + norse = Alfheimr + + b_bagahus = { + } + b_kungahalla = { + norwegian = "Kungahælla" + danish = "Kungahælla" + } + b_svarteborg = { + } + b_svenneby = { + } + b_ockero = { + norwegian = "Øckerø" + danish = "Øckerø" + } + b_hede = { + } + b_marstrand = { + } + b_kungsviken = { + } + } + c_oppland = { + color={ 94 120 215 } + color2={ 255 255 255 } + + norse = Gudbrandsdal + + b_lillehammer = { + } + b_dovre = { + } + b_favang = { + } + b_lom = { + } + b_oyer = { + } + b_slidre = { + } + b_flesberg = { + } + b_garmo = { + } + } + c_hedmark = { + color={ 110 140 235 } + color2={ 255 255 255 } + + norse = Heidmark + + b_hamarhus = { + } + b_elverum = { + } + b_hamar = { + } + b_kongsvinger = { + } + b_vang = { + } + b_loten = { + } + b_stange = { + } + b_eidskog = { + } + } + } + d_trondelag = { +# color={ 144 130 205 } + color={ 40 160 255 } + color2={ 255 255 255 } + + capital = 275 # Trondelag + + pagan_coa = { + template = 0 + layer = { + texture = 2 + texture_internal = 9 + emblem = 0 + color = 0 + color = 0 + color = 0 + } + religion = "norse_pagan" + } + + c_trondelag = { + color={ 20 155 255 } + color2={ 255 255 255 } + + b_nidaros = { + } + b_trondheim = { + } + b_audunborg = { + } + b_steinvikholm = { + } + b_sverresborg = { + } + b_borgund = { + } + b_austratt = { + } + b_haltalen = { + } + } + c_naumadal = { + color={ 25 205 240 } + color2={ 255 255 255 } + + holy_site = norse_pagan + holy_site = norse_pagan_reformed + + b_tinghaugen = { + } + b_lade = { + } + b_logtun = { + } + b_levanger = { + } + b_hegra = { + } + b_maere = { + } + b_leksvik = { + } + b_halsstein = { + } + } + c_halogaland = { + color={ 10 195 255 } + color2={ 255 255 255 } + + b_somna = { + } + b_bindal = { + } + b_veiga = { + } + b_brunnoy = { + } + b_hattfjelldalen = { + } + b_lein = { + } + b_mosjoen = { + } + b_alstahaug = { + } + } + } + d_jamtland = { + color={ 45 85 245 } + color2={ 255 255 255 } + + capital = 282 # Jamtland + + norwegian = "Jemtland" + danish = "Jemtland" + norse = "Jamtaland" + + c_jamtland = { + color={ 45 85 255 } + color2={ 255 255 255 } + + norwegian = "Jemtland" + danish = "Jemtland" + norse = "Jamtaland" + + b_mjalleborgen = { + } + b_husan = { + } + b_vasterhus = { + } + } + c_herjedalen = { + color={ 40 76 225 } + color2={ 255 255 255 } + + swedish = "Härjedalen" + norse = "Herjadal" + + b_sveg = { + } + b_hogvalen = { + } + b_tannas = { + } + } + } + } + + k_finland = { + color = { 130 73 20 } + color2={ 255 255 255 } + + capital = 382 # Finland + + culture = finnish + + finnish_pagan_reformed = 500 # Crusade target weight + baltic_pagan_reformed = 100 + slavic_pagan_reformed = 50 + catholic = 40 + norse_pagan_reformed = 100 # Crusade target weight + + finnish = Suomi + lappish = Suomi + ugricbaltic = Suomi + komi = Suomi + samoyed = Suomi + mordvin = Suomi + + # Creation/usurpation trigger + allow = { + hidden_tooltip = { + OR = { + ai = no + culture_group = north_germanic + culture_group = finno_ugric + culture_group = east_slavic + } + } + } + + d_esthonia = { + color={ 150 75 75 } + color2={ 255 255 255 } + + capital = 378 # Kalevan + + culture = ugricbaltic + + c_reval = { + color={ 160 85 85 } + color2={ 255 255 255 } + + swedish = "Reval" + danish = "Reval" + norwegian = "Reval" + german = "Reval" + norse = "Reval" + + b_reval = { # Kalevan + swedish = "Reval" + danish = "Reval" + norwegian = "Reval" + german = "Reval" + norse = "Reval" + } + b_hapsal = { # Haapsalu + swedish = "Hapsal" + danish = "Hapsal" + norwegian = "Hapsal" + german = "Hapsal" + norse = "Hapsal" + } + b_toompea = { + swedish = "Domberg" + danish = "Domberg" + norwegian = "Domberg" + german = "Domberg" + norse = "Domberg" + } + b_leal = { # Lihula + swedish = "Lehal" + danish = "Lehal" + norwegian = "Lehal" + german = "Leal" + norse = "Leal" + } + b_borpeal = { + } + b_laane = { + } + b_pades = { + } + b_parnaw = { + } + } + c_narva = { + color={ 175 55 55 } + color2={ 255 255 255 } + + b_narva = { + } + b_agelinde = { + } + b_wesenberg = { + } + b_telsborg = { + } + b_pudiviru = { + } + b_askala = { + } + b_repel = { + } + b_alentagh = { + } + } + c_vodi = { + color={ 113 0 0 } + color2={ 255 255 255 } + + finnish = "Inkeri" + russian = "Ingriya" + ilmenian = "Ingriya" + severian = "Ingriya" + swedish = "Ingermanland" + + b_nyen = { + finnish = "Nevanlinna" + } + b_noteborg = { + swedish = "Nöteborg" + norse = "Nöteborg" + norwegian = "Nøteborg" + danish = "Nøteborg" + german = "Schlüsselburg" + russian = "Oreshek" + } + b_valaam = { + finnish = "Valamo" + swedish = "Valamo" + norse = "Valamo" + } + b_jogopera = { + } + b_ivanovskaya = { # Teusina + swedish = "Teusina" + norwegian = "Teusina" + norse = "Teusina" + danish = "Teusina" + russian = "Tyavzino" + } + b_nosok = { + } + b_liivtsula = { + } + b_khotchino = { + finnish = "Hatsina" + swedish = "Hatsina" + norse = "Hatsina" + } + } + } + d_livonia = { + color={ 110 50 50 } + color2={ 255 255 255 } + + capital = 375 # Liivimaa + + pagan_coa = { + template = 0 + layer = { + texture = 2 + texture_internal = 2 + emblem = 0 + color = 0 + color = 0 + color = 0 + } + religion = "norse_pagan" + } + + c_lettigalians = { + color={ 125 50 50 } + color2={ 255 255 255 } + + swedish = "Livland" + norse = "Livland" + danish = "Livland" + norwegian = "Livland" + german = "Livland" + + b_gaujiena = { + ugricbaltic = Atsela + german = Adsel + lithuanian = Atzeles + } + b_kokenois = { + ugricbaltic = Koknese + german = Kokenhusen + polish = Koknese + lithuanian = Koknese + } + b_uxkull = { # Ikskila + swedish = "Yxkull" + norse = "Yxkull" + danish = "Yxkull" + norwegian = "Yxkull" + german = "Üxküll" + ugricbaltic = Ikškila + polish = Ikškile + lithuanian = Ikškile + } + b_wenden = { + ugricbaltic = Võnnu + polish = Kies + lithuanian = Cesys + } + b_wolmer = { + ugricbaltic = Valmiera + german = Wolmar + polish = Valmiera + lithuanian = Valmiera + } + b_lemisele = { + swedish = "Lemsal" + norse = "Lemsal" + danish = "Lemsal" + norwegian = "Lemsal" + ugricbaltic = Lemsalu + german = Lemsal + polish = Limbaži + lithuanian = Limbažiai + } + b_seswegen = { + ugricbaltic = Cesvaine + german = Sesswegen + polish = Cesvaine + lithuanian = Cesvaine + } + } + c_livs = { + color={ 170 50 50 } + color2={ 255 255 255 } + + swedish = Lääne + danish = Lääne + + b_salaspils = { + } + b_haapsalu = { + } + b_lihula = { + german = Leal + } + b_parnu = { + ugricbaltic = Pärnu + german = Pernau + polish = Parnawa + lithuanian = Pernu + } + b_martna = { + } + b_kullamaa = { + } + b_karuse = { + } + b_pooravere = { + } + b_piirsalu = { + } + } + c_dorpat = { + color={ 115 5 5 } + color2={ 255 255 255 } + + swedish = "Dorpat" + norse = "Dorpat" + danish = "Dorpat" + norwegian = "Dorpat" + german = "Dorpat" + + b_tartu = { + swedish = "Dorpat" + norse = "Dorpat" + danish = "Dorpat" + norwegian = "Dorpat" + german = "Dorpat" + } + b_jarva = { + } + b_fellin = { + } + b_odenpah = { + } + b_lais = { + } + b_vastseliina = { + } + b_kirrumpa = { + } + b_vanakastre = { + } + } + c_osel = { + color={ 101 48 48 } + color2={ 255 255 255 } + + swedish = "Ösel" + norse = "Ösel" + danish = "Øsel" + norwegian = "Øsel" + german = "Ösel" + + holy_site = finnish_pagan + holy_site = finnish_pagan_reformed + + b_kuressare = { + swedish = "Arensborg" + norse = "Arensborg" + danish = "Arensborg" + norwegian = "Arensborg" + german = "Arensburg" + } + b_hiiumaa = { + swedish = "Dagö" + norse = "Dagö" + danish = "Dagø" + norwegian = "Dagø" + german = "Dagö" + } + b_muhu = { + swedish = "Moon" + norse = "Moon" + danish = "Moon" + norwegian = "Moon" + german = "Mohn" + } + b_valjala = { + } + b_poide = { + } + b_leisi = { + } + b_orisaare = { + } + b_kaarma = { + } + } + } + d_karelia = { + color={ 155 135 45 } + color2={ 255 255 255 } + + capital = 388 # Karjala + + swedish = "Karelen" + danish = "Karelen" + norse = "Karelen" + norwegian = "Karelen" + russian = "Kareliya" + + c_savolaks = { + color={ 120 10 10 } + color2={ 255 255 255 } + + swedish = "Savolax" + norse = "Savolax" + norwegian = "Savolax" + danish = "Savolax" + + b_olavinlinna = { + swedish = "Olofsborg" + norse = "Olofsborg" + norwegian = "Olavsborg" + danish = "Olavsborg" + } + b_mikkeli = { + swedish = "St Michel" + norse = "St Michel" + norwegian = "St Michel" + danish = "St Michel" + } + b_savitaipale = { + } + b_sotkamo = { + } + b_brahelinna = { + swedish = "Brahehus" + norse = "Brahehus" + norwegian = "Brahehus" + danish = "Brahehus" + } + b_iisalmi = { + swedish = "Idensalmi" + norse = "Idensalmi" + norwegian = "Idensalmi" + danish = "Idensalmi" + } + b_kuopio = { + } + b_sysma = { + } + } + c_onega = { + color={ 165 45 45 } + color2={ 255 255 255 } + + swedish = "Onega" + norse = "Onega" + danish = "Onega" + norwegian = "Onega" + russian = "Onezhskoe" + + b_ust-onega = { + } + b_aunus = { + } + b_kondopoga = { + } + b_pudoga = { + } + b_petrozavodsk = { + } + b_segezha = { + } + b_medvezhyegorsk = { + } + b_pryazha = { + } + } + c_karelen = { + color={ 135 25 25 } + color2={ 255 255 255 } + + swedish = "Östkarelen" + norse = "Östkarelen" + danish = "Østkarelen" + norwegian = "Østkarelen" + russian = "Kareliya" + + b_kem = { + } + b_sordavala = { + } + b_kalevala = { + } + b_soroka = { + } + b_loukhi = { + } + b_kostomuksha = { + } + b_muezersky = { + } + b_pitkyaranta = { + } + } + c_kexholm = { + color={ 185 70 70 } + color2={ 255 255 255 } + + swedish = "Kexholm" + norse = "Kexholm" + norwegian = "Kexholm" + danish = "Kexholm" + + holy_site = finnish_pagan + holy_site = finnish_pagan_reformed + + b_antrea = { + swedish = "St Andree" + norse = "St Andree" + norwegian = "St Andree" + danish = "St Andree" + } + b_raivola = { + } + b_kakisalmi = { + swedish = "Kexholm" + norse = "Kexholm" + norwegian = "Kexholm" + danish = "Kexholm" + russian = "Korela" + } + b_jekaborg = { + } + b_koivisto={ + } + b_toksovo = { + } + b_terijoki = { + } + b_taipale = { + } + } + } + d_finland = { + color={ 131 108 26 } + color2={ 255 255 255 } + + capital = 382 # Suomi + + finnish = Satakunta + lappish = Satakunta + ugricbaltic = Satakunta + komi = Satakunta + samoyed = Satakunta + mordvin = Satakunta + + c_nyland = { + color={ 185 65 65 } + color2={ 255 255 255 } + + swedish = "Nyland" + norse = "Nyland" + norwegian = "Nyland" + danish = "Nyland" + + b_porvoo = { + swedish = "Borgå" + norse = "Borgå" + norwegian = "Borgå" + danish = "Borgå" + } + b_raseborg = { + swedish = "Raseborg" + norse = "Raseborg" + norwegian = "Raseborg" + danish = "Raseborg" + } + b_espoo = { + swedish = "Esbo" + norse = "Esbo" + norwegian = "Esbo" + danish = "Esbo" + } + b_siuntio = { + swedish = "Sjundeå" + norse = "Sjundeå" + } + b_svartholm = { + } + b_hanko = { + swedish = "Hangö" + norse = "Hangö" + norwegian = "Hangø" + danish = "Hangø" + } + b_lohja = { + swedish = "Lojo" + norse = "Lojo" + norwegian = "Lojo" + danish = "Lojo" + } + b_helsinge = { + } + } + c_finland = { + color={ 125 15 15 } + color2={ 255 255 255 } + + swedish = "Finland" + norwegian = "Finland" + norse = "Finland" + danish = "Finland" + + b_kuusisto = { + swedish = "Kustö" + norse = "Kustö" + norwegian = "Kustø" + danish = "Kustø" + } + b_turku = { + swedish = "Åbo" + norse = "Åbo" + norwegian = "Åbo" + danish = "Åbo" + } + b_naantali = { + swedish = "Nådendal" + norse = "Nådendal" + norwegian = "Nådendal" + danish = "Nådendal" + } + b_rikala = { + } + b_rauma = { + swedish = "Raumo" + norse = "Raumo" + } + b_jukarsborg = { + } + b_lieto = { + swedish = "Lundo" + norse = "Lundo" + } + b_stenberga = { + } + } + c_tavasts = { + color={ 130 20 20 } + color2={ 255 255 255 } + + swedish = "Tavastehus" + norwegian = "Tavastehus" + danish = "Tavastehus" + norse = "Tavastehus" + finnish = Häme + lappish = Häme + ugricbaltic = Häme + + b_hameenlinna = { + swedish = "Tavastehus" + norwegian = "Tavastehus" + danish = "Tavastehus" + norse = "Tavastehus" + } + b_lahti = { + } + b_vanaja = { + } + b_mattila = { + } + b_harviala = { + } + b_vesilahti = { + } + b_hattula = { + } + b_haikonen = { + } + } + c_satakunta = { + color={ 116 46 46 } + color2={ 255 255 255 } + + swedish = "Satakunda" + norse = "Satakunda" + + b_ulvila = { + } + b_liinmaa = { + swedish = "Vredenborg" + norse = "Vredenborg" + norwegian = "Vredenborg" + danish = "Vredenborg" + german = "Vreghdenborch" + } + b_kiukainen = { + } + b_pori = { + } + b_telja = { + } + b_hahlo = { + } + b_kankaanpaa = { + } + b_hiittenharju = { + } + } + c_osterbotten = { + color={ 152 66 66 } + color2={ 255 255 255 } + + swedish = "Österbotten" + norwegian = "Østerbotten" + danish = "Østerbotten" + norse = "Austerbotn" + finnish = Pohjanmaa + lappish = Pohjanmaa + ugricbaltic = Pohjanmaa + + b_oulu = { + swedish = "Uleåborg" + norse = "Uleåborg" + norwegian = "Uleåborg" + danish = "Uleåborg" + } + b_nykarleby = { + swedish = "Nykarleby" + norse = "Nykarleby" + norwegian = "Nykarleby" + danish = "Nykarleby" + } + b_kristinestad = { + } + b_korsholm = { + } + b_liminka = { + } + b_kalajoki = { + } + b_jakobstad = { + } + b_veteli = { + } + } + } + } + + k_sapmi = { + color = { 255 125 69 } + color2={ 255 255 255 } + + capital = 279 # Sápmi + + culture = lappish + + finnish_pagan_reformed = 350 # Crusade target weight + baltic_pagan_reformed = 50 + slavic_pagan_reformed = 25 + catholic = 25 + norse_pagan_reformed = 50 # Crusade target weight + + norse = Norðrríki + swedish = Nordarike + norwegian = Nordarike + danish = Nordarike + finnish=Lappi + lappish=Sápmi + + # Creation/usurpation trigger + allow = { + hidden_tooltip = { + OR = { + ai = no + culture_group = finno_ugric + } + } + } + + d_sapmi = { + color={ 231 64 32 } + color2={ 255 255 255 } + + capital = 279 # Hälsingland + + norse = Norrland + norwegian = Norrland + swedish = Norrland + danish = Norrland + finnish=Lappi + lappish=Sápmi + + c_lappland = { + color={ 255 70 70 } + color2={ 255 255 255 } + + finnish=Lappi + lappish=Sápmi + + b_lycksele = { + } + b_asele = { + } + b_sorsele = { + } + b_arvidsjaur = { + } + b_bergvattnet = { + } + b_arjeplog = { + } + b_gallivare = { + norwegian = "Gellivare" + danish = "Gellivare" + } + b_kiruna = { + } + } + c_vasterbotten = { + color={ 240 95 95 } + color2={ 255 255 255 } + + swedish = "Västerbotten" + norwegian = "Vesterbotten" + danish = "Vesterbotten" + norse = "Vesterbotn" + finnish=Länsipohja + lappish=Länsipohja + + b_umea = { + finnish=Uumaja + lappish=Ume + } + b_bygdea = { + } + b_skelleftea = { + } + b_lovanger = { + norwegian = "Løvånger" + danish = "Løvånger" + } + b_pitea = { + } + b_lulea = { + } + b_kalix = { + } + b_tornea = { + } + } + } + + d_finnmark = { + color={ 200 80 30 } + color2={ 255 255 255 } + + capital = 389 # Finnmark + + lappish=Finnmárku + + c_finnmark = { + color={ 190 45 45 } + color2={ 255 255 255 } + + lappish=Finnmárku + + b_varghoeya = { + } + b_vardohus = { + } + b_ostervagen = { + } + b_malangen = { + } + b_hammerfest = { + } + b_karsloy = { + } + b_piselvnes = { + } + b_tromso = { + } + } + c_nordland = { + color={ 190 95 95 } + color2={ 255 255 255 } + + b_rost = { + } + b_kabelvag = { + } + b_bodo = { + } + b_narvik = { + } + b_rodoy = { + } + b_andenes = { + } + b_beiarn = { + } + b_harstad = { + } + } + } + + d_kola = { + color={ 230 70 15 } + + capital = 387 # Kola + + culture = lappish + title = "HIGH_CHIEF" + foa = "HIGH_CHIEF_FOA" + + c_kola = { + color={ 230 60 35 } + color2={ 255 255 255 } + + b_kola = { + } + b_mafelskoi = { + } + b_pechenga = { + } + b_waranger = { + } + b_tre = { + } + b_lovozero = { + } + b_molovskoi = { + } + b_jekanskoi = { + } + } + c_kandalax = { + color={ 230 100 35 } + color2={ 255 255 255 } + + swedish = "Kandalax" + norse = "Kandalax" + norwegian = "Kandalax" + danish = "Kandalax" + + b_kantalahti = { + swedish = "Kandalax" + norse = "Kandalax" + norwegian = "Kandalax" + danish = "Kandalax" + } + b_umba = { + } + b_varzuga = { + } + b_lekastrom = { + } + b_sarapo = { + } + b_kolsky = { + } + b_ponoy = { + } + b_pyaozero = { + } + } + c_kemi = { + color={ 230 80 15 } + color2={ 255 255 255 } + + b_kemi = { + } + b_neiden = { + } + b_rovaniemi = { + } + b_inari = { + } + b_tornio = { + } + b_kemijarvi = { + } + b_utsjoki = { + } + b_savukoski = { + } + } + } + } +} + +e_wendish_empire = { + color={ 130 20 50 } + color2={ 200 0 0 } + + capital = 527 # Krakowskie + + culture = polish + + allow = { + hidden_tooltip = { + OR = { + ai = no + culture_group = west_slavic + culture_group = baltic + } + } + } + + short_name = yes + + k_moravia = { + color={ 158 102 36 } + color2={ 200 0 0 } + + capital = 441 # Brno + + culture = bohemian + + slavic_pagan_reformed = 100 # Crusade target weight + + allow = { + hidden_tooltip = { + OR = { + ai = no + NOT = { + has_landed_title = k_bohemia + } + } + } + } + } + + k_poland = { + color={ 150 23 23 } + color2={ 200 0 0 } + + capital = 527 # Krakowskie + + culture = polish + + catholic = 100 # Crusade target weight + slavic_pagan_reformed = 500 # Crusade target weight + baltic_pagan_reformed = 100 # Crusade target weight + + d_mazovia = { + color={ 125 46 36 } + color2={ 255 255 255 } + + capital = 529 # Plock + + c_plock = { + color={ 127 30 2 } + color2={ 255 255 255 } + + holy_site = slavic_pagan + holy_site = slavic_pagan_reformed + + b_plock = { + } + b_pruszkow = { + } + b_warszawa = { + } + b_ostroleka = { + } + b_pultusk = { + } + b_plonsk = { + } + b_ciechanow = { + } + b_wyszkow = { + } + } + c_czersk = { + color={ 127 6 50 } + color2={ 255 255 255 } + + b_czersk = { + } + b_radom = { + } + b_garwolin = { + } + b_siedlce = { + } + b_losice = { + } + b_gorzno = { + } + b_borowie = { + } + b_grojec = { + } + } + } + + d_greater_poland = { + color={ 140 13 13 } + color2={ 255 255 255 } + + capital = 429 # Gnieznenskie + + c_lubusz = { + color={ 135 30 30 } + color2={ 255 255 255 } + + german = Lebus + swedish = Lebus + norse = Lebus + norwegian = Lebus + danish = Lebus + + b_lubusz = { + german = Lebus + swedish = Lebus + norse = Lebus + norwegian = Lebus + danish = Lebus + } + b_mysliborz = { + } + b_kostrzyn = { + } + b_cedynia = { + } + b_pryzyce = { + } + b_sulecin = { + } + b_santok = { + } + b_zielonagora = { + } + } + c_gnieznienskie = { + color={ 125 6 2 } + color2={ 255 255 255 } + + german = Gnesen + swedish = Gnesen + norse = Gnesen + norwegian = Gnesen + danish = Gnesen + + b_gniezno = { + german = Gnesen + swedish = Gnesen + norse = Gnesen + norwegian = Gnesen + danish = Gnesen + } + b_lekno = { + } + b_znin = { + } + b_giecz = { + } + b_wagrowiec = { + } + b_naklo = { + } + b_wyszo = { + } + b_pyzdry = { + } + } + c_poznanskie = { + color={ 145 6 2 } + color2={ 255 255 255 } + + german = Posen + swedish = Posen + norse = Posen + norwegian = Posen + danish = Posen + + b_poznan = { + german = Posen + swedish = Posen + norse = Posen + norwegian = Posen + danish = Posen + } + b_obrzycko = { + } + b_czarkow = { + } + b_miedryrzecz = { + } + b_drzen = { + } + b_zbaszyn = { + } + b_strarygrode = { + } + b_srem = { + } + } + c_kaliskie = { + color={ 155 6 20} + color2={ 255 255 255 } + + b_kalisz = { + } + b_krotoszyn = { + } + b_jarocin = { + } + b_ostrowielkopolski = { + } + b_konin = { + } + b_pieszew = { + } + b_rawick = { + } + b_tureck = { + } + } + } + d_silesia = { + color={ 169 35 75 } + color2={ 255 255 255 } + + capital = 435 # Upper Silesia + + c_lower_silesia = { + color={ 170 30 30 } + color2={ 255 255 255 } + + b_glogow = { + german = Glogau + swedish = Glogau + norse = Glogau + norwegian = Glogau + danish = Glogau + } + b_legnica = { + german = Liegnitz + swedish = Liegnitz + norse = Liegnitz + norwegian = Liegnitz + danish = Liegnitz + } + b_krosno = { + german = Krossen + swedish = Krossen + norse = Krossen + norwegian = Krossen + danish = Krossen + } + b_jawor = { + } + b_lwowek = { + } + b_swidnica = { + } + b_boleslawiec = { + } + b_zagan = { + german = Sagan + swedish = Sagan + norse = Sagan + norwegian = Sagan + danish = Sagan + } + } + c_upper_silesia = { + color={ 200 50 70 } + color2={ 255 255 255 } + + b_wroclaw = { + german = Breslau + swedish = Breslau + norse = Breslau + norwegian = Breslau + danish = Breslau + } + b_brzeg = { + german = Brieg + swedish = Brieg + norse = Brieg + norwegian = Brieg + danish = Brieg + } + b_zmigrod = { + german = Trachtenberg + swedish = Trachtenberg + norse = Trachtenberg + norwegian = Trachtenberg + danish = Trachtenberg + } + b_milicz = { + } + b_olesnica = { + } + b_nysa = { + } + b_niemcza = { + } + b_henrykow = { + german = Heinrichau + swedish = Heinrichau + norse = Heinrichau + norwegian = Heinrichau + danish = Heinrichau + } + } + c_opole = { + color={ 218 37 15 } + color2={ 255 255 255 } + + german = Uppeln + swedish = Uppeln + norse = Uppeln + norwegian = Uppeln + danish = Uppeln + + b_opole = { + german = Uppeln + swedish = Uppeln + norse = Uppeln + norwegian = Uppeln + danish = Uppeln + } + b_czestochowa = { + } + b_kozle = { + } + b_strzelce = { + } + b_lelow = { + } + b_olezno = { + } + b_raciborz = { + } + b_namyslow = { + } + } + c_cieszyn = { + color={ 127 6 2 } + color2={ 255 255 255 } + + german = Teschen + swedish = Teschen + norse = Teschen + norwegian = Teschen + danish = Teschen + + b_cieszyn = { + german = Teschen + swedish = Teschen + norse = Teschen + norwegian = Teschen + danish = Teschen + } + b_oswiecim = { + } + b_jabloskow = { + } + b_skoczow = { + } + b_goleszow = { + } + b_ustron = { + } + b_bielskobiala = { + } + b_zebrydowice = { + } + } + } + d_lesser_poland = { + color={ 245 163 176 } + color2={ 255 255 255 } + + capital = 527 # Krakowskie + + c_krakowskie = { + color={ 137 6 20 } + color2={ 255 255 255 } + + german = Krakau + swedish = Krakau + norse = Krakau + norwegian = Krakau + danish = Krakau + + b_krakow = { + german = Krakau + swedish = Krakau + norse = Krakau + norwegian = Krakau + danish = Krakau + } + b_jedrzejow = { + } + b_tarnow = { + } + b_kielce = { + } + b_brzesko = { + } + b_chrzanow = { + } + b_olkusz = { + } + b_skawina = { + } + } + c_sacz = { + color={ 117 6 2 } + color2={ 255 255 255 } + + german = Sandez + swedish = Sandez + norse = Sandez + norwegian = Sandez + danish = Sandez + + b_nowysacz = { + german = "Neu Sandez" + swedish = Nysand + norse = Nysand + norwegian = Nysand + danish = Nysand + } + b_gorlice = { + } + b_szczyrzycz = { + } + b_zakopane = { + } + b_grybow = { + } + b_brzozow = { + } + b_limanowa = { + } + b_jasto = { + } + } + c_sandomierskie = { + color={ 147 16 2 } + color2={ 255 255 255 } + + b_sandomierz = { + } + b_koprzywnica = { + } + b_zawichost = { + } + b_dwikozy = { + } + b_klimontow = { + } + b_loniow = { + } + b_samborzec = { + } + b_wilczyce = { + } + } + } + d_kuyavia = { + color={ 115 30 50 } + color2={ 255 255 255 } + + capital = 428 # Kujawy + + c_sieradzko-leczyckie = { + color={ 160 40 40 } + color2={ 255 255 255 } + + german = Schieratz + swedish = Schieratz + norse = Schieratz + norwegian = Schieratz + danish = Schieratz + + b_sieradz = { + german = Schieratz + swedish = Schieratz + norse = Schieratz + norwegian = Schieratz + danish = Schieratz + } + b_radomsko = { + } + b_leczyka = { + } + b_warta = { + } + b_sochaczew = { + } + b_piotrkow = { + } + b_wachock = { + } + b_blaski = { + } + } + c_kujawy = { + color={ 210 50 10 } + color2={ 255 255 255 } + + b_inowroclaw = { + } + b_kruszwica = { + } + b_radziejow = { + } + b_brzesckujawskie = { + } + b_bydgoszcz = { + } + b_topolka = { + } + b_wlocawek = { + } + b_lubanie = { + } + } + } + } + + k_pomerania = { + color={ 145 130 40 } + color2={ 220 220 20 } + + culture = pommeranian + + capital = 366 #Stettin + + catholic = 400 # Crusade target weight + slavic_pagan_reformed = 500 # Crusade target weight + norse_pagan_reformed = 100 # Crusade target weight + baltic_pagan_reformed = 100 # Crusade target weight + + allow = { + hidden_tooltip = { + OR = { + ai = no + religion_group = pagan_group + } + } + } + + d_mecklemburg = { + color={ 162 160 110 } + color2={ 255 255 255 } + + capital = 260 #mecklemburg + + pommeranian = Obotritia + + c_mecklemburg = { + color={ 207 207 207 } + color2={ 255 255 255 } + + pommeranian = Weligrad + + b_mecklemburg = { + pommeranian = Weligrad + } + b_wismar = { + pommeranian = Vesimer + } + b_gevezin = { + pommeranian = Radgosc + } + b_schwerin = { + pommeranian = Zuarina + } + b_lutzow = { + } + b_grevesmuhlen = { + } + b_parchim = { + } + b_hagenow = { + } + } + c_rostock = { + color={ 204 204 204 } + color2={ 255 255 255 } + + pommeranian = Rastokú + + b_rostock = { + pommeranian = Rastokú + } + b_penzlin = { + pommeranian = Pentzelin + } + b_gustrow = { + pommeranian = Guscerov + } + b_malchin = { + } + b_damgarten = { + } + b_strelitz = { + pommeranian = Streltza + } + b_stargard = { + } + b_ahrensberg = { + } + } + c_werle = { + color={ 202 202 202 } + color2={ 255 255 255 } + + pommeranian = Dymin + + b_waren = { + } + b_greifswald = { + pommeranian = Gripscogh + } + b_stralsund = { + + pommeranian = Stralow + } + b_tribsees = { + } + b_demmin = { + } + b_treptow = { + } + b_friedland = { + pommeranian = Mirów + } + b_templin = { + } + } + c_rugen = { + color={ 201 201 201 } + color2={ 255 255 255 } + + pommeranian = Rana + + holy_site = slavic_pagan + holy_site = slavic_pagan_reformed + holy_site = baltic_pagan + holy_site = baltic_pagan_reformed + + b_charenza = { + } + b_arkona = { + } + b_rugard = { + } + b_putbus = { + } + b_barth = { + } + b_ralswiek = { + } + b_hiddensee = { + } + b_tribuzin = { + } + } + } + + d_pommerania = { + color={ 111 143 51 } + color2={ 255 255 255 } + + capital = 366 # Stettin + + c_wolgast = { + color={ 121 163 58 } + color2={ 255 255 255 } + + pommeranian = Wologoszcz + + b_wolgast = { + pommeranian = Wologoszcz + } + b_usedom = { + pommeranian = Uznjöm + } + b_anklam = { + pommeranian = Taglim + } + b_ueckermunde = { + } + b_zinnowitz = { + } + b_zussow = { + } + b_kemnitz = { + } + b_eggesin = { + } + } + c_stettin = { + color={ 91 163 48 } + color2={ 255 255 255 } + + pommeranian = Szczecin + + b_soldin = { + } + b_stettin = { + + pommeranian = Szczecin + } + b_wollin = { + } + b_stestargard = { + } + b_kammin = { + } + b_kolbatz = { + } + b_cedene = { + } + b_pyritz = { + } + } + } + d_pomeralia = { + color={ 95 135 77 } + color2={ 255 255 255 } + + capital = 368 # Danzig + + c_danzig = { + color={ 115 139 70 } + color2={ 255 255 255 } + + pommeranian = "Gdansk" + polish = "Gdansk" + bohemian = "Gdansk" + russian = "Gdansk" + prussian = "Gdansk" + lithuanian = "Gdansk" + lettigallish = "Gdansk" + swedish = "Danzig" + norse = "Danzig" + norwegian = "Danzig" + danish = "Danzig" + + b_bytow = { + } + b_danzig = { + pommeranian = "Gdansk" + polish = "Gdansk" + bohemian = "Gdansk" + russian = "Gdansk" + prussian = "Gdansk" + lithuanian = "Gdansk" + lettigallish = "Gdansk" + swedish = "Danzig" + norse = "Danzig" + norwegian = "Danzig" + danish = "Danzig" + } + b_oliva = { + } + b_tuchel = { + } + b_schwetz = { + } + b_danlauenburg = { + } + b_mewe = { + } + b_schlochau = { + } + } + c_slupsk = { + color={ 6 155 25 } + color2={ 255 255 255 } + + german = "Stolp" + swedish = "Stolp" + norwegian = "Stolp" + danish = "Stolp" + norse = "Stolp" + + b_rugenwalde = { + } + b_slupsk = { + german = "Stolp" + swedish = "Stolp" + norwegian = "Stolp" + danish = "Stolp" + norse = "Stolp" + } + b_colberg = { + } + b_schlawe = { + } + b_tempelburg = { + } + b_dramburg = { + } + b_ustka = { + } + b_belgard = { + } + } + } + + d_saxony = { + color={ 70 70 70 } + color2={ 255 255 255 } + + capital = 310 #Anhalt + c_anhalt = { + color={ 184 184 184 } + color2={ 255 255 255 } + + pommeranian = Dolomici + + b_zerbst = { + pommeranian = Zirwisti + } + b_magdeburg = { + + pommeranian = Magadoburg + } + b_haldensleben = { + pommeranian = Hahaldeslevo + } + b_mansfeld = { + } + b_dessau = { + } + b_arnstein = { + } + b_querfurt = { + pommeranian = Curnfurt + } + b_bernburg = { + } + } + c_plauen = { + color={ 180 180 180 } + color2={ 255 255 255 } + + pommeranian = Ploni + + b_plauen = { + + pommeranian = Ploni + } + b_leipzig = { + pommeranian = Lipsk + } + b_merseburg = { + + } + b_halle = { + pommeranian = Dobrebora + } + b_knobelsdorf = { + } + b_zeitz = { + pommeranian = Cici + } + b_zwickau = { + pommeranian = Swikawa + } + b_naumburg = { + } + } + c_weimar = { + color={ 183 183 183 } + color2={ 255 255 255 } + + b_weimar = { + } + b_jena = { + } + b_walkenried = { + } + b_nordhausen = { + } + b_memelsen = { + } + b_gotha = { + } + b_apoldoa = { + } + b_gera = { + } + } + } + + d_brandenburg = { + color={ 121 121 121 } + color2={ 255 255 255 } + + capital = 365 #Brandenburg + + pommeranian = "Sorbia" # Brennaburg + + c_altmark = { + color={ 189 189 189 } + color2={ 255 255 255 } + + pommeranian = Laczyn + + b_werben = { + } + b_halberstedt = { + } + b_walbeck = { + } + b_luchow = { + } + b_salzwedel = { + } + b_stendal = { + } + b_osterburg = { + } + b_tangermunde = { + } + } + + c_brandenburg = { + color={ 186 186 186 } + color2={ 255 255 255 } + + pommeranian = Brennaburg + + b_brandenburg = { + pommeranian = Brennaburg + } + b_havelberg = { + } + b_berlin = { + } + b_juterborg = { + pommeranian = Jutriboc + } + b_belzig = { + } + b_ruppin = { + } + b_oranienburg = { + pommeranian = Bochzowe + } + b_muncheberg = { + } + } + } + d_meissen = { + color={ 182 188 181 } + color2={ 255 255 255 } + + capital = 312 #Meissen + + pommeranian = Nisani + + c_meissen = { + color={ 177 177 177 } + color2={ 255 255 255 } + + pommeranian = Nisani + + b_dresden = { + pommeranian = Drezdany + } + b_meissen = { + pommeranian = Misni + } + b_dohna = { + } + b_belgern = { # Called Altenburg + } + b_strehla = { + } + b_rabenau = { + } + b_wettin = { + } + b_radeburg = { + } + } + c_lausitz = { + color={ 174 174 174 } + color2={ 255 255 255 } + + pommeranian = Luzycka + + b_gorlitz = { + pommeranian = Zhorjelc + } + b_bautzen = { + pommeranian = Budysin + } + b_lebus = { + pommeranian = Lubiazu + } + b_cottbus = { + pommeranian = Chosebuz + } + b_rothenburg = { + } + b_forst = { + } + b_zittau = { + pommeranian = Zitawa + } + b_luckau = { + pommeranian = Luckawa + } + } + } + } + + k_lithuania = { + color={ 90 10 0 } + color2={ 255 255 255 } + + capital = 420 # Aukshayts + + culture = lithuanian + + prussian = "Prussia" + + catholic = 50 # Crusade target weight + slavic_pagan_reformed = 100 # Crusade target weight + baltic_pagan_reformed = 500 + finnish_pagan_reformed = 100 + + d_prussia = { + color={ 200 100 100 } + color2={ 255 255 255 } + + capital = 370 # Marienburg + + prussian = "Pruthenia" + lithuanian = "Pruthenia" + lettigallish = "Pruthenia" + + c_marienburg = { + color={ 185 90 90 } + color2={ 255 255 255 } + + b_marienburg = { + } + b_braunsberg = { + } + b_elbing = { + } + b_christburg = { + } + b_heilsberg = { + } + b_bartenstein = { + } + b_marienwerder = { + } + b_balga = { + } + } + c_galindia = { + color={ 185 90 90 } + color2={ 255 255 255 } + + b_angerburg = { + } + b_osterode = { + } + b_nikelshagen = { + } + b_gilgenburg = { + } + b_treuburg = { + } + b_hohenstein = { + } + b_neidenburg = { + } + b_wielbark = { + } + } + c_sambia = { + color={ 190 80 80 } + color2={ 255 255 255 } + + lithuanian = "Semba" + lettigallish = "Semba" + german = "Samland" + swedish = "Samland" + norse = "Samland" + danish = "Samland" + norwegian = "Samland" + + b_konigsberg = { + polish = "Krolewiec" + prussian = "Krolewiec" + pommeranian = "Krolewiec" + lithuanian = "Krolewiec" + lettigallish = "Krolewiec" + bohemian = "Krolewiec" + } + b_fischhausen = { + prussian = "Romowe" + pommeranian = "Romowe" + lithuanian = "Romowe" + lettigallish = "Romowe" + } + b_sambrandenburg = { + polish = "Bramborska" + prussian = "Bramborska" + pommeranian = "Bramborska" + } + b_tapiau = { + } + b_labiau = { + } + b_frombork = { + } + b_wiskiauten = { + } + b_cranz = { + } + } + + c_chelminskie = { + color={ 170 70 70 } + color2={ 255 255 255 } + + german = "Kulm" + swedish = "Kulm" + norwegian = "Kulm" + danish = "Kulm" + norse = "Kulm" + + holy_site = baltic_pagan + holy_site = baltic_pagan_reformed + + b_chelmno = { + german = "Kulm" + swedish = "Kulm" + norse = "Kulm" + norwegian = "Kulm" + danish = "Kulm" + } + b_kulm = { + } + b_thorn = { + } + b_niedenburg = { + } + b_rehden = { + } + b_lobau = { + } + b_eylau = { + } + b_briesen = { + } + } + } + + d_polotsk = { + color = { 128 133 104 } + color2={ 255 255 255 } + + capital = 419 # Polotsk + + c_polotsk = { + color={ 125 14 14 } + color2={ 255 255 255 } + + swedish = "Pallteskja" + norse = "Pallteskja" + danish = "Pallteskja" + norwegian = "Pallteskja" + + b_polotsk = { + swedish = "Pallteskja" + norse = "Pallteskja" + danish = "Pallteskja" + norwegian = "Pallteskja" + } + b_braslaw = { + } + b_dzisna = { + } + b_miory = { + } + b_rasony = { + } + b_pastavy = { + } + b_myadzel = { + } + } + c_lepiel = { + color={ 125 24 24 } + color2={ 255 255 255 } + + b_lepiel = { + } + b_chashniki = { + } + b_novolukoml = { + } + } + c_west_dvina = { + color={ 125 18 18 } + color2={ 255 255 255 } + + swedish = "Lettgallen" + norse = "Lettgallen" + danish = "Lettgallen" + norwegian = "Lettgallen" + german = "Lettgallen" + + b_erle = { + } + b_jersika = { + german = Gerzika + } + b_kreuzburg = { + ugricbaltic = Krustpilsi + polish = Krzyzbork + lithuanian = Krustpils + } + b_daugavpils = { + german = "Dünaburg" + swedish = "Dynaborg" + norse = "Dynaborg" + danish = "Dynaborg" + norwegian = "Dynaborg" + finnish = "Väinänlinna" + russian = "Dvinsk" + ugricbaltic = Väinalinn + polish = Dyneburg + lithuanian = Daugpilis + } + b_balvi = { + lithuanian = Balvai + } + b_rezekne = { + polish = Rzezyca + } + b_kraslava = { + polish = Kraslaw + } + b_vilaka = { + lithuanian = Viliaka + } + b_varakjani = { + ugricbaltic = Varaklani + german = Varaklani + } + b_ludza = { + polish = Lucyn + } + } + } + d_lithuanians = { + color={ 81 0 0 } + color2={ 255 255 255 } + + capital = 420 # Aukshayts + + c_aukshayts = { + color={ 146 17 17 } + color2={ 255 255 255 } + + b_kaunas = { + } + b_vilnius = { + } + b_lida = { + } + b_utena = { + } + b_kernave = { + } + b_bralaus = { + } + b_kreva = { + } + b_zirmunai = { + } + } + c_sudovia = { + color={ 146 21 21 } + color2={ 255 255 255 } + + b_vilkaviskis = { + } + b_suvalkai = { + } + b_trakai = { + } + b_hrodna = { + } + b_raiziai = { + } + b_augustavas = { + } + b_seiniai = { + } + b_merkine = { + } + } + + c_yatvyagi = { + color={ 127 69 20 } + color2={ 255 255 255 } + + b_lyck = { + } + b_johannisburg = { + } + b_eckersberg = { + } + b_druskininkai = { + } + b_yatvarena = { + } + b_valkininkai = { + } + b_lotzen = { + } + b_gailen = { + } + } + } + d_yatviags = { + color={ 149 97 97 } + color2={ 255 255 255 } + + capital = 424 # Grodno + + c_jacwiez = { # Grodno + color={ 141 32 30 } + color2={ 255 255 255 } + + b_jacwiez = { + } + b_novogrudok = { + } + b_grodno = { + } + b_iuje = { + } + b_slonim = { + } + b_mir = { + } + b_niasvizh = { + } + b_zirmuny = { + } + } + c_podlasie = { + color={ 148 100 100 } + color2={ 255 255 255 } + + holy_site = baltic_pagan + holy_site = baltic_pagan_reformed + + b_drohiczyn = { + } + b_kolno = { + } + b_sejny = { + } + b_lomza = { + } + b_tykocin = { + } + b_zambrow = { + } + b_lapy = { + } + b_krynki = { + } + } + } + + d_courland = { + color={ 182 16 16 } + color2={ 255 255 255 } + + capital = 373 # Kurzeme + + german = "Kurland" + swedish = "Kurland" + norse = "Kurland" + danish = "Kurland" + norwegian = "Kurland" + lettigallish = Curonia + lithuanian = Curonia + prussian = Curonia + + c_zemigalians = { + color={ 182 20 20 } + color2={ 255 255 255 } + + german = "Riga" + swedish = "Riga" + norse = "Riga" + danish = "Riga" + norwegian = "Riga" + + holy_site = baltic_pagan + holy_site = baltic_pagan_reformed + + b_riga = { + } + b_bauska = { + } + b_skaistkalne = { + } + b_mezotne = { + } + b_cruczeborch = { + } + b_selpils = { + } + b_remigala = { + } + b_jelgava = { + } + } + c_kurs = { + color={ 182 24 24 } + color2={ 255 255 255 } + + german = "Kurland" + swedish = "Kurland" + norse = "Kurland" + danish = "Kurland" + norwegian = "Kurland" + + b_grobin = { + } + b_piltene = { + } + b_ventava = { + } + b_vanemane = { + } + b_duvzare = { + } + b_megava = { + } + b_bandava = { + } + b_ceklis = { + } + b_dungada = { + } + } + } + d_samogitia = { + color={ 150 70 70 } + color2={ 255 255 255 } + + capital = 421 # Samogitia + + german = "Sameiten" + prussian = "Zhmud" + lithuanian = "Zemaitija" + polish = "Zhmudz" + russian = "Zhmud" + pommeranian = "Zhmud" + bohemian = "Zhmud" + lettigallish = "Zemaiteje" + + c_scalovia = { + color={ 190 85 85 } + color2={ 255 255 255 } + + b_ragnit = { + pommeranian = "Ragneta" + polish = "Ragneta" + bohemian = "Ragneta" + russian = "Ragneta" + prussian = "Ragnita" + lithuanian = "Ragaine" + lettigallish = "Ragaine" + } + b_russ = { + } + b_jurgaiten = { + } + b_jomsberg = { + } + b_tilgit = { + } + b_splitter = { + } + b_strewa = { + } + b_skomanten = { + } + } + c_memel = { + color={ 166 85 85 } + color2={ 255 255 255 } + + b_memel = { + } + b_kretingale = { + } + b_gargzdai = { + german = "Garsden" + swedish = "Garsden" + norse = "Garsden" + danish = "Garsden" + norwegian = "Garsden" + polish = "Gorzdy" + russian = "Gorzhdy" + } + b_kaup = { + } + b_juodkrante = { + } + b_nida = { + german = "Nidden" + } + b_dreverna = { + } + b_palanga = { + } + } + + c_zhmud = { # Samogitia + color={ 166 81 81 } + color2={ 255 255 255 } + + german = "Sameiten" + prussian = "Zhmud" + lithuanian = "Zemaitija" + polish = "Zhmudz" + russian = "Zhmud" + pommeranian = "Zhmud" + bohemian = "Zhmud" + lettigallish = "Zemaiteje" + + b_raseiniai = { + german = "Raseinen" + swedish = "Raseinen" + norse = "Raseinen" + danish = "Raseinen" + norwegian = "Raseinen" + } + b_jurbarkas = { + german = "Georgenburg" + swedish = "Georgsborg" + norse = "Georgsborg" + danish = "Georgsborg" + norwegian = "Georgsborg" + } + b_varviai = { + } + b_taurage = { + } + b_kraziai = { + } + b_upyte = { + } + b_panemune = { + } + b_joniskis = { + } + } + } + } + + k_bohemia = { + color={ 176 110 32 } + color2={ 255 255 255 } + + culture = bohemian + + capital = 437 # Praha + + catholic = 400 # Crusade target weight + slavic_pagan_reformed = 100 # Crusade target weight + baltic_pagan_reformed = 50 # Crusade target weight + + allow = { + k_moravia = { has_holder = no } + } + + d_bohemia = { + color={ 195 110 11 } + color2={ 255 255 255 } + + capital = 437 # Praha + + c_domazlice = { + color={ 197 112 13 } + color2={ 255 255 255 } + + b_pisek = { + } + b_kladruby = { + } + b_budejovice = { + } + b_domazlice = { + } + b_hohenfurth = { + } + b_rosenberg = { + } + b_goldenkron = { + } + b_sobeslav = { + } + } + c_praha = { + color={ 199 114 15 } + color2={ 255 255 255 } + + norse = Prag + swedish = Prag + danish = Prag + norwegian = Prag + german = Prag + lombard = Prag + old_frankish = Prag + suebi = Prag + saxon = Prag + old_saxon = Prag + pommeranian = Praha + bohemian = Praha + polish = Praha + croatian = Praha + serbian = Praha + bulgarian = Praha + russian = Praha + ilmenian = Praha + severian = Praha + volhynian = Praha + + b_praha = { + norse = Prag + swedish = Prag + danish = Prag + norwegian = Prag + german = Prag + lombard = Prag + old_frankish = Prag + suebi = Prag + saxon = Prag + old_saxon = Prag + pommeranian = Praha + bohemian = Praha + polish = Praha + croatian = Praha + serbian = Praha + bulgarian = Praha + russian = Praha + ilmenian = Praha + severian = Praha + volhynian = Praha + } + b_brevnov = { + } + b_kuttenberg = { + } + b_karlstein = { + } + b_slany = { + } + b_kolin = { + } + b_stare_mesto = { + } + b_zbraslav = { + } + } + c_boleslav = { + color={ 201 116 17 } + color2={ 255 255 255 } + + b_glatz = { + } + b_nachod = { + } + b_hradiste = { + } + b_jicin = { + } + b_trutnov = { + } + b_kamieniec = { + } + b_jaromer = { + } + b_turnov = { + } + } + c_litomerice = { + color={ 203 118 19 } + color2={ 255 255 255 } + + german = "Leitmeritz" + swedish = "Leitmeritz" + norse = "Leitmeritz" + danish = "Leitmeritz" + norwegian = "Leitmeritz" + + b_usti = { + } + b_zatec = { + } + b_jachymov = { + } + b_kadan = { + } + b_ceskalipa = { + } + b_duchcov = { + } + b_chomutov = { + } + b_osek = { + } + } + c_plzen = { + color={ 205 120 21 } + color2={ 255 255 255 } + + german = Pilsen + swedish = Pilsen + norse = Pilsen + danish = Pilsen + norwegian = Pilsen + + b_plzen = { + german = Pilsen + swedish = Pilsen + norse = Pilsen + danish = Pilsen + norwegian = Pilsen + } + b_stribo = { + } + b_rokycany = { + } + b_plasy = { + } + b_pomuk = { + } + b_susice = { + } + b_tachov = { + } + b_cheb = { + } + } + } + d_moravia = { + color={ 157 101 35 } + color2={ 255 255 255 } + + capital = 440 # Olomouc + + c_hradec = { + color={ 160 104 38 } + color2={ 255 255 255 } + + b_hradeckralove = { + } + b_pardubice = { + } + b_litomysl = { + } + b_zamberk = { + } + b_policka = { + } + b_jihlava = { + } + b_pelhrimov = { + } + b_chrudim = { + } + } + c_olomouc = { + color={ 163 107 41 } + color2={ 255 255 255 } + + b_opava = { + } + b_olomouc = { + } + b_sternberk = { + } + b_ostrava = { + } + b_zabreh = { + } + b_moravskatrebova = { + } + b_zdar = { + } + b_unicov = { + } + } + c_brno = { + color={ 166 110 44 } + color2={ 255 255 255 } + + b_boskovice = { + } + b_prerov = { + } + b_velehrad = { + } + b_wisowitz = { + } + b_uherskebrod = { + } + b_uherskehradiste = { + } + b_kromeriz = { + } + b_zlin = { + } + } + } + } +} + +e_russia = { + color={ 147 164 104 } + color2={ 255 255 255 } + + capital = 547 # Kiev + + culture = russian + + allow = { + hidden_tooltip = { + OR = { + ai = no + culture_group = north_germanic + culture_group = east_slavic + culture_group = finno_ugric + } + } + } + + finnish = Suomi + lappish = Suomi + ugricbaltic = Suomi + komi = Suomi + samoyed = Suomi + mordvin = Suomi + + k_rus = { + color={ 87 144 50 } + color2={ 255 255 255 } + + capital = 414 # Novgorod + + slavic_pagan_reformed = 500 # Crusade target weight + finnish_pagan_reformed = 300 # Crusade target weight + baltic_pagan_reformed = 100 # Crusade target weight + + mordvin = Mordvinia + norse = Garðariki + + culture = russian + + allow = { + hidden_tooltip = { + OR = { + ai = no + culture_group = north_germanic + culture_group = east_slavic + culture_group = finno_ugric + } + } + } + + d_beloozero = { + color={ 131 146 86 } + color2={ 255 255 255 } + + capital = 408 # Beloozero + finnish = "Chud" + samoyed = "Chud" + mordvin = "Chud" + lappish = "Chud" + komi = "Chud" + + c_beloozero = { + color={ 133 148 90 } + color2={ 255 255 255 } + + b_belozersk = { + } + b_kirillobelozersky = { + } + b_fedosyevo = { + } + b_babayevo = { + } + b_kinilov = { + } + b_kaduy = { + } + b_khoklovo = { + } + b_glushkovo = { + } + } + c_zaozerye = { + color={ 134 150 90 } + color2={ 255 255 255 } + + b_zarechnaya = { + } + b_nazankha = { + } + b_kharovsk = { + } + b_afoninskaya = { + } + b_borisovskaya = { + } + b_konechnaya = { + } + b_pashuchikha = { + } + b_bolshaya = { + } + } + c_chud = { + color={ 138 154 94 } + color2={ 255 255 255 } + + b_totma = { + } + b_krbor = { + } + b_kamchuga = { + } + b_chunlovka = { + } + b_zalese = { + } + b_krutayaosyp = { + } + b_veldvor = { + } + b_zaytsevo = { + } + } + } + d_novgorod = { + color={ 107 164 64 } + color2={ 255 255 255 } + + dignity = 10 + + capital = 414 # Novgorod + + swedish = "Holmgård" + norse = "Holmgarðr" + danish = "Holmgård" + norwegian = "Holmgård" + ilmenian = "Ilmen" + severian = "Ilmen" + mordvin = "Ilmen" + samoyed = "Ilmen" + finnish = "Ilmen" + lappish = "Ilmen" + ugricbaltic = "Ilmen" + komi = "Ilmen" + khanty = "Ilmen" + + pagan_coa = { + template = 0 + layer = { + texture = 2 + texture_internal = 4 + emblem = 0 + color = 0 + color = 0 + color = 0 + } + religion = "norse_pagan" + } + + c_bezhetsky_verh = { # Ladoga + color={ 144 161 101 } + color2={ 255 255 255 } + + finnish = "Nevajärvi" + + b_bezhetsk = { # Staraya Ladoga + swedish = "Aldeigjuborg" + norse = "Aldeigjuborg" + danish = "Aldeigjuborg" + norwegian = "Aldeigjuborg" + finnish = "Alodejoki" + } + b_spasnakholmu = { + swedish = "Spångsholm" + norse = "Spångsholmr" + danish = "Spångsholm" + norwegian = "Spngsholm" + } + b_sonkovo = { # Gorodishche + swedish = "Alaborg" + norse = "Alaborg" + danish = "Alaborg" + norwegian = "Alaborg" + } + b_kyasovagora = { # Duboviki + } + b_maksatikha = { + } + b_molokovo = { # Stolbova + } + b_rameshki = { # Diderino + } + b_obrosovo = { + } + } + c_torzhok = { + color={ 134 161 111 } + color2={ 255 255 255 } + + b_yamskygorodok = { + } + b_shcheremenski = { + } + b_kingisepp = { + swedish = "Jamborg" + norse = "Jamborg" + danish = "Jamburg" + norwegian = "Jamburg" + german = "Jamburg" + finnish = "Jaama" + samoyed = "Jaama" + mordvin = "Jaama" + lappish = "Jaama" + komi = "Jaama" + } + b_volosovo = { + } + b_konnovo = { + } + b_vistino = { + } + b_komarovka = { + } + b_vassakara = { + } + } + c_novgorod = { + color={ 149 166 106 } + color2={ 255 255 255 } + + swedish = "Holmgård" + norse = "Holmgarðr" + danish = "Holmgård" + norwegian = "Holmgård" + + holy_site = slavic_pagan + holy_site = slavic_pagan_reformed + holy_site = finnish_pagan + holy_site = finnish_pagan_reformed + + b_borovichi = { + norse = Nygarðr + swedish = Nygård + norwegian = Nygård + danish = Nygård + } + b_novgorod = { + swedish = "Holmgård" + norse = "Holmgarðr" + danish = "Holmgård" + norwegian = "Holmgård" + } + b_tikhvin = { + } + b_chudovo = { + } + b_okulovka = { + } + b_boldorki = { + } + b_pestovo = { + } + b_luga = { + } + } + c_toropets = { + color={ 157 173 113 } + color2={ 255 255 255 } + + b_staryarussa = { + } + b_valday = { + } + b_toropets = { + } + b_demyansk = { + } + b_shimsk = { + } + b_dno = { + } + b_lychkovo = { + } + b_kresttsy = { + } + } + } + d_pskov = { + color={ 140 130 62 } + color2={ 255 255 255 } + + capital = 413 # Pskov + + german = "Pleskau" + + c_pskov = { + color={ 151 167 107 } + color2={ 255 255 255 } + + german = "Pleskau" + + b_ostrov = { + } + b_pskov = { + } + b_pechory = { + } + b_gdov = { + } + b_porkhov = { + } + b_dedovichi = { + } + b_svyatogorki = { + } + b_soltchi = { + } + } + c_velikiye_luki = { + color={ 154 170 110 } + color2={ 255 255 255 } + + b_velikiyeluki = { + } + b_sebezh = { + } + b_nevel = { + } + b_opochka = { + } + b_bely = { + } + b_usvyaty = { + } + b_loknya = { + } + b_staryatoropa = { + } + } + } + d_rostov = { + color={ 124 137 89 } + color2={ 255 255 255 } + + capital = 574 # Rostov + + c_pereyaslavl_zalessky = { + color={ 163 179 119 } + color2={ 255 255 255 } + + b_pereyaslavlzalessky = { + } + b_sergiyevposad = { + } + b_aleksandrov = { + } + b_strunino = { + } + b_karabanovo = { + } + b_kubrinsk = { + } + b_kupanskoye = { + } + b_khmelniki = { + } + } + c_rostov = { + color={ 166 180 122 } + color2={ 255 255 255 } + + swedish = "Radstofa" + norse = "Radstofa" + danish = "Radstofa" + norwegian = "Radstofa" + komi=Merya + mordvin=Merya + samoyed=Merya + finnish=Merya + lappish=Merya + + b_sarskoyegorodishche = { + komi=Merya + mordvin=Merya + samoyed=Merya + finnish=Merya + lappish=Merya + } + b_spasoyakovlevsky = { + } + b_rostov = { + swedish = "Radstofa" + norse = "Radstofa" + danish = "Radstofa" + norwegian = "Radstofa" + } + b_petrovskoye = { + } + b_gavrilovyam = { + } + b_borisoglebsky = { + } + b_karash = { + } + b_shurskol = { + } + } + c_uglich = { + color={ 169 183 125 } + color2={ 255 255 255 } + + b_uglich = { + } + b_pertoma = { + } + b_kashin = { + } + b_kalyazin = { + } + b_ustscheksna = { + } + b_myshkin = { + } + b_tikhmenevo = { + } + b_novynekouz = { + } + } + } + d_tver = { + color={ 169 183 125 } + color2={ 255 255 255 } + + capital = 570 # Tver + + ilmenian = "Vyatich" + severian = "Vyatich" + + c_tver = { + color={ 172 186 128 } + color2={ 255 255 255 } + + b_tver = { + } + b_torzhok = { + } + b_ostashkov = { + } + b_bezhichi = { + } + b_tvergorodok = { + } + b_vyshnyvolochyok = { + } + b_zubtsov = { + } + b_udomelski = { + } + } + c_vyazma = { + color={ 175 189 131 } + color2={ 255 255 255 } + + b_vyazma = { + } + b_dukhov = { + } + b_yelnya = { + } + b_gzhatsky = { + } + b_dorogobuzh = { + } + b_vyazkholm = { + } + b_ugra = { + } + b_safonovo = { + } + } + } + d_yaroslavl = { + color={ 178 192 134 } + color2={ 255 255 255 } + + capital = 572 # Yaroslavl + + finnish = Merya + lappish = Merya + ugricbaltic = Merya + komi = Merya + samoyed = Merya + mordvin = Merya + + c_kostroma = { + color={ 181 195 137 } + color2={ 255 255 255 } + + b_kostroma = { + } + b_sudislavl = { + } + b_plyos = { + } + b_nerektha = { + } + b_apraksino = { + } + b_kosmynino = { + } + b_zavolzhsk = { + } + b_nekrasoskoye = { + } + } + c_yaroslavl = { + color={ 184 198 140 } + color2={ 255 255 255 } + + b_timerevo = { + } + b_yaroslavl = { + } + b_tolga = { + } + b_romanov = { + } + b_semibratovo = { + } + b_karabikha = { + } + b_putyatino = { + } + b_volgostroy = { + } + } + c_vologda = { + color={ 141 158 98 } + color2={ 255 255 255 } + + b_vologda = { + } + b_kadnikovskaya = { + } + b_sokol = { + } + b_uste = { + } + b_bolshayamurga = { + } + b_dvinitsa = { + } + b_motyn = { + } + b_staroye = { + } + } + } + d_vladimir = { + color={ 180 200 90 } + color2={ 255 255 255 } + + capital = 582 # Vladimir + + mordvin = "Murom" + samoyed = "Murom" + + c_galich_mersky = { + color={ 190 204 146 } + color2={ 255 255 255 } + + b_galichmersky = { + } + b_levkovo = { + } + b_gradmersky = { + } + b_buy = { + } + b_chistyebory = { + } + b_susanino = { + } + b_kadyy = { + } + b_isaevo = { + } + } + c_gorodez = { + color={ 193 207 149 } + color2={ 255 255 255 } + + b_gorodez = { + } + b_feodorovsky = { + } + b_kitezh = { + } + b_puchishche = { + } + b_pravdinsk = { + } + b_lukh = { + } + b_gorkovskoye = { + } + b_sokolskoye = { + } + } + c_nizhny_novgorod = { + color={ 196 210 152 } + color2={ 255 255 255 } + + komi="Obran Osh" + mordvin="Obran Osh" + samoyed="Obran Osh" + finnish="Obran Osh" + lappish="Obran Osh" + cuman="Obran Osh" + pecheneg="Obran Osh" + mongol="Obran Osh" + turkish="Obran Osh" + avar="Obran Osh" + + b_nizhnynovgorod = { + komi="Obran Osh" + mordvin="Obran Osh" + samoyed="Obran Osh" + finnish="Obran Osh" + lappish="Obran Osh" + cuman="Obran Osh" + pecheneg="Obran Osh" + mongol="Obran Osh" + turkish="Obran Osh" + avar="Obran Osh" + } + b_sarov = { + } + b_bor = { + } + b_kstovo = { + } + b_knyaginino = { + } + b_vasilyeva = { + } + b_balakhna = { + } + b_bogorodsk = { + } + } + c_suzdal = { + color={ 199 213 155 } + color2={ 255 255 255 } + + swedish = "Sursdalar" + norse = "Sursdalar" + danish = "Sursdalar" + norwegian = "Sursdalar" + + b_suzdal = { + swedish = "Sursdalar" + norse = "Sursdalar" + danish = "Sursdalar" + norwegian = "Sursdalar" + } + b_bogolyubovo = { + } + b_suzstarodub = { + } + b_suzivanovo = { + } + b_kovrov = { + } + b_seredaupino = { + } + b_teykovo = { + } + b_lezhnevo = { + } + } + c_vladimir = { + color={ 202 216 158 } + color2={ 255 255 255 } + + b_vladimir = { + } + b_yuryevpolsky = { + } + b_volochok = { + } + b_undol = { + } + b_petuschki = { + } + b_sudogda = { + } + b_sobinka = { + } + b_kosterevo = { + } + } + } + d_moskva = { + color={ 207 222 123 } + color2={ 255 255 255 } + + capital = 575 # Moskva + + mordvin = Mochkava + + c_mozhaysk = { + color={ 200 225 156 } + color2={ 255 255 255 } + + b_volgamozhaysk = { + } + b_shakhunya = { + } + b_yaransk = { + } + b_vakhtan = { + } + b_varnavino = { + } + b_kiknur = { + } + b_tonshaevo = { + } + b_uren = { + } + } + c_moskva = { + color={ 220 235 176 } + color2={ 255 255 255 } + + mordvin = Mochkava + + b_moskva = { + mordvin = Mochkava + } + b_rogozhi = { + } + b_kaluga = { + } + b_serpukhov = { + } + b_belyov = { + } + b_mozhaysk = { + } + b_rzhev = { + } + b_klin = { + } + } + } + } + + k_ruthenia = { + color={ 147 164 104 } + color2={ 255 255 255 } + + capital = 547 # Kiev + + culture = russian + + slavic_pagan_reformed = 500 # Crusade target weight + baltic_pagan_reformed = 100 # Crusade target weight + tengri_pagan_reformed = 100 + finnish_pagan_reformed = 100 + + allow = { + hidden_tooltip = { + OR = { + ai = no + culture_group = north_germanic + culture_group = east_slavic + } + } + } + + norse = Könugarðr + swedish = Könugård + norwegian = Kønugård + danish = Kønugård + + d_kiev = { + color={ 129 187 125 } + color2={ 255 255 255 } + + dignity = 10 # Counted as having 10 more counties than it does + capital = 547 # Kiev + + norse = Könugarðr + swedish = Könugård + norwegian = Kønugård + danish = Kønugård + + pagan_coa = { + template = 0 + layer = { + texture = 2 + texture_internal = 1 + emblem = 0 + color = 0 + color = 0 + color = 0 + } + religion = "norse_pagan" + } + + c_korsun = { + color={ 102 102 22 } + color2={ 255 255 255 } + + b_korsun = { + } + b_kaniv = { + } + b_cherkassy = { + } + b_smila = { + } + b_zolotonosha = { + } + b_uman = { + } + b_zhuravky = { + } + b_mirov = { + } + } + c_kiev = { + color={ 106 106 26 } + color2={ 255 255 255 } + + norse = Könugarðr + swedish = Könugård + norwegian = Kønugård + danish = Kønugård + + holy_site = slavic_pagan + holy_site = slavic_pagan_reformed + + b_kiev = { + norse = Könugarðr + swedish = Könugård + norwegian = Kønugård + danish = Kønugård + } + b_yuriev = { + } + b_iskorosten = { + } + b_vyshhorod = { + } + b_ovruch = { + } + b_zhitomir = { + } + b_malyn = { + } + b_fastiv = { + } + } + } + d_galich = { + color={ 224 112 130 } + color2={ 255 255 255 } + + capital = 536 # Galich + + c_terebovl = { + color={ 104 104 24 } + color2={ 255 255 255 } + + b_terebovl = { + } + b_pochayivlavra = { + } + b_bratslav = { + } + b_kremenets = { + } + b_borschiv = { + } + b_vinnytsia = { + } + b_buchach = { + } + b_zalischyky = { + } + } + c_galich = { + color={ 254 255 215 } + color2={ 255 255 255 } + + b_galich = { + } + b_lvov = { + } + b_dubno = { + } + b_vasyliv = { + } + b_kolomyia = { + } + b_ternopil = { + } + b_buzhsk = { + } + b_brody = { + } + } + c_peremyshl = { + color={ 254 255 218 } + color2={ 255 255 255 } + + b_peremyshl = { + } + b_jaroslav = { + } + b_sanok = { + } + b_lubaczow = { + } + b_grodek = { + } + b_rzeszow = { + } + b_volkrosno = { + } + b_jaslo = { + } + } + } + d_volhynia = { + color={ 204 155 121 } + color2={ 255 255 255 } + + capital = 535 # Vladimir Volynsky + + c_vladimir_volynsky = { + color={ 255 255 223 } + color2={ 255 255 255 } + + b_vladimirvolynsky = { + } + b_kovel = { + } + b_kholm = { + } + b_ivanichy = { + } + b_hrubieszow = { + } + b_torchyn = { + } + b_cherven = { + } + b_luboml = { + } + } + c_beresty = { + color={ 255 255 225 } + color2={ 255 255 255 } + + b_beresty = { + } + b_bielsk = { + } + b_kobryn = { + } + b_kamyanyets = { + } + b_mielnik = { + } + b_lublin = { + } + b_wlodawa = { + } + b_parczew = { + } + } + } + d_turov = { + color={ 132 160 94 } + color2={ 255 255 255 } + + capital = 552 # Turov + + ilmenian = "Dregovichia" + + c_turov = { + color={ 135 160 100 } + color2={ 255 255 255 } + + b_turov = { + } + b_dubrovitsya = { + } + b_mazyr = { + } + b_slutsk = { + } + b_zhytkavichy = { + } + b_bobruisk = { + } + b_petrykaw = { + } + b_yelsk = { + } + } + c_pinsk = { + color={ 120 155 80 } + color2={ 255 255 255 } + + b_pinsk = { + } + b_lutsk = { + } + b_porkhovo = { + } + b_biaroza = { + } + b_stepan = { + } + b_kosava = { + } + b_luninets = { + } + b_dabuchin = { + } + } + } + + d_vitebsk = { + color={ 75 125 6 } + color2={ 255 255 255 } + + capital = 417 # Vitebsk + + ilmenian = Kryvia + + c_minsk = { + color={ 60 105 2 } + color2={ 255 255 255 } + + b_minsk = { + } + b_maladzyechna = { + } + b_borisow = { + } + b_kletsk = { + } + b_berezino = { + } + b_nesvizh = { + } + b_valozhyn = { + } + b_kapyl = { + } + } + c_orsha = { + color={ 79 135 16 } + color2={ 255 255 255 } + + b_orsha = { + } + b_novolukomi = { + } + b_talachyn = { + } + b_sianno = { + } + b_shklou = { + } + b_kopys = { + } + b_horki = { + } + b_larynouka = { + } + } + c_vitebsk = { + color={ 75 125 6 } + color2={ 255 255 255 } + + b_vitebsk = { + } + b_sakolniki = { + } + b_haradok = { + } + b_drazdy = { + } + b_ruba = { + } + b_liozno = { + } + b_stryzhava = { + } + b_baroniki = { + } + } + } + + d_smolensk = { + color={ 226 241 182 } + color2={ 255 255 255 } + + capital = 568 # Smolensk + + severian = "Radimichia" + ilmenian = "Radimichia" + + c_smolensk = { + color={ 229 244 185 } + color2={ 255 255 255 } + + swedish = "Smaleskja" + norse = "Smaleskja" + danish = "Smaleskja" + norwegian = "Smaleskja" + + b_smolensk = { + swedish = "Smaleskja" + norse = "Smaleskja" + danish = "Smaleskja" + norwegian = "Smaleskja" + } + b_velizh = { + } + b_demidov = { + } + b_krasnoi = { + } + b_przhevalskoye = { + } + b_rodnya = { + } + b_yartsevo = { + } + } + c_roslavl = { + color={ 239 242 185 } + color2={ 255 255 255 } + + b_roslavl = { + } + b_pochinok = { + } + b_chocimsk = { + } + } + c_mstislavl = { + color={ 232 247 188 } + color2={ 255 255 255 } + + b_mstitslavl = { + } + b_krychaw = { + } + b_mogilev = { + } + b_bychaw = { + } + b_chavusy = { + } + b_zhlobin = { + } + b_chachersk = { + } + b_rahacou = { + } + } + } + d_chernigov = { + color={ 150 235 91 } + color2={ 255 255 255 } + + capital = 554 # Chernigov + + severian = "Severia" + ilmenian = "Severia" + mordvin = "Severia" + + c_lyubech = { + color={ 238 253 194 } + color2={ 255 255 255 } + + b_lyubech = { + } + b_rechytsa = { + } + b_gomel = { + } + b_brahin = { + } + b_loyew = { + } + b_zlynka = { + } + b_klimovo = { + } + b_novozybkov = { + } + } + c_chernigov = { + color={ 242 255 197 } + color2={ 255 255 255 } + + b_chernigov = { + } + b_kozelets = { + } + b_nizhyn = { + } + b_borzna = { + } + b_horodnia = { + } + b_gorodets = { + } + b_sosnytsia = { + } + b_mglin = { + } + } + } + + d_novgorod-seversk = { # Called Bryansk in-game + color = { 120 155 40 } + color2={ 255 255 255 } + + capital = 567 # Novgorod Seversky + + c_novgorod_seversky = { + color = { 140 165 40 } + color2 = { 255 255 255 } + + b_novgorodseversky = { + } + b_starodub = { + } + b_glukhov = { + } + b_rysk = { + } + b_putivl = { + } + b_trubchevsk = { + } + b_sevsk = { + } + b_semenivka = { + } + } + c_bryansk = { + color = { 160 175 40 } + color2={ 255 255 255 } + + holy_site = baltic_pagan + holy_site = baltic_pagan_reformed + + b_bryansk = { + } + b_pochep = { + } + b_orel = { + } + b_karachev = { + } + b_dyatkovo = { + } + b_klynov = { + } + b_belev = { + } + b_mtsensk = { + } + } + } + + d_ryazan = { + color={ 110 115 45 } + color2={ 255 255 255 } + + capital = 580 # Ryazan + + mordvin = Meshchera + + c_pronsk = { + color={ 101 110 45 } + color2={ 255 255 255 } + + b_pronsk = { + } + b_yelets = { + } + b_tula = { + } + b_mikhaylov = { + } + b_skopin = { + } + b_ryazhsk = { + } + b_sergijewskoje = { + } + b_bogoroditsk = { + } + } + c_murom = { + color={ 101 130 50 } + color2={ 255 255 255 } + + swedish = "Moramar" + norse = "Moramar" + danish = "Moramar" + norwegian = "Moramar" + + b_murom = { + swedish = "Moramar" + norse = "Moramar" + danish = "Moramar" + norwegian = "Moramar" + } + b_moramar = { + } + b_melenki = { + } + b_vyksa = { + } + b_kulebaki = { + } + b_vilya = { + } + b_mordovshchikovo = { + } + b_lipnya = { + } + } + c_ryazan = { + color={ 121 140 50 } + color2={ 255 255 255 } + + holy_site = finnish_pagan + holy_site = finnish_pagan_reformed + + b_ryazan = { + } + b_solotcha = { + } + b_grodets = { + } + b_spassk = { + } + b_korablino = { + } + b_rybnino = { + } + b_sasovo = { + } + b_klepiki = { + } + } + c_kolomna = { + color={ 131 149 54 } + color2={ 255 255 255 } + + b_kolomna = { + } + b_glukhovichi = { + } + b_zaraysk = { + } + b_bronnitsy = { + } + b_ramenskoye = { + } + b_egorevsk = { + } + b_peski = { + } + b_cherkizovo = { + } + } + } + + d_pereyaslavl = { + color={ 232 200 115 } + color2={ 255 255 255 } + + capital = 555 # Pereyaslavl + + c_pereyaslavl = { + color={ 235 205 118 } + color2={ 255 255 255 } + + b_pereyaslavl = { + } + b_myrhorod = { + } + b_hadyach = { + } + b_chornukhy = { + } + b_hrebinka = { + } + b_lokhvytsia = { + } + b_boryspil = { + } + b_velykisorochyntsi = { + } + } + c_chortitza = { + color={ 234 194 88 } + color2={ 255 255 255 } + + b_ltava = { + } + b_chortitza = { + } + b_baszmacka = { + } + b_lubny = { + } + b_alexandrowsk = { + } + b_rasumowka = { + } + b_vosnesjensk = { + } + b_khorol = { + } + } + } + } + + k_perm = { + color={ 204 188 127 } + color2={ 255 255 255 } + + capital = 886 # Perm + + finnish_pagan_reformed = 500 # Crusade target weight + slavic_pagan_reformed = 100 # Crusade target weight + tengri_pagan_reformed = 50 + + culture = komi + + # Creation/usurpation trigger + allow = { + hidden_tooltip = { + OR = { + ai = no + culture_group = finno_ugric + } + } + } + + d_perm = { + color={ 234 208 137 } + color2={ 255 255 255 } + + capital = 886 # Perm + + c_perm = { + color={ 237 211 140 } + color2={ 255 255 255 } + + holy_site = finnish_pagan + holy_site = finnish_pagan_reformed + + b_perym = { + } + b_perm = { + } + b_gorodki = { + } + b_yagoshikha = { + } + b_lysva = { + } + b_cherdyn = { + } + b_chemuska = { + } + b_biser = { + } + } + c_votyaki = { + color={ 197 162 67 } + color2={ 255 255 255 } + + b_achit = { + } + b_sarana = { + } + b_ufimskiy = { + } + b_bisert = { + } + b_arti = { + } + b_atig = { + } + b_shalya = { + } + b_shamary = { + } + } + + c_komi = { + color={ 243 217 146 } + color2={ 255 255 255 } + + b_inta = { + } + b_vorkuta = { + } + b_ustkolom = { + } + b_usttsilma = { + } + b_aykino = { + } + b_vorgashor = { + } + b_kharp = { + } + b_khalmeryu = { + } + } + c_ural = { + color={ 246 220 149 } + color2={ 255 255 255 } + + b_ural = { + } + b_ustkatav = { + } + b_asha = { + } + b_chebarkul = { + } + b_kaslinsky = { + } + b_kyshtym = { + } + b_miass = { + } + b_satka = { + } + } + } + + d_yugra = { + color={ 250 250 180 } + color2={ 255 255 255 } + + capital = 892 # Mansia + + c_mansia = { + color={ 223 170 27 } + color2={ 255 255 255 } + + b_mansiysk = { + } + b_yabin = { + } + b_yalbak = { + } + b_pytyakh = { + } + b_nefteyugansk = { + } + b_mamontovo = { + } + b_poykovskiy = { + } + b_samza = { + } + } + + c_khantia = { + color={ 249 223 152 } + color2={ 255 255 255 } + + b_chanty = { + } + b_beloyarskiy = { + } + b_igrim = { + } + b_berezovo = { + } + b_pnobe = { + } + b_nyagyn = { + } + b_djinesh = { + } + b_sherkala = { + } + } + c_yamalia = { + color={ 240 214 143 } + color2={ 255 255 255 } + + b_polnovatvozh = { + } + b_obdorsk = { + } + b_lapytnangk = { + } + b_ituyakha = { + } + b_urengoi = { + } + b_nazym = { + } + b_baygul = { + } + b_kaek = { + } + } + + c_narim = { + color={ 216 175 140 } + color2={ 255 255 255 } + + b_narim = {} + b_kolta = {} + b_yag = {} + b_askiz = {} + } + + } + + d_hlynov = { # Ugra + color={ 134 145 31 } + color2={ 255 255 255 } + + capital = 398 # Ugra + + c_zyriane = { + color={ 195 160 65 } + color2={ 255 255 255 } + + b_kungur = { + } + b_kordon = { + } + b_suksun = { + } + b_kukushtan = { + } + b_gari = { + } + b_lek = { + } + b_ergach = { + } + b_posad = { + } + } + c_ugra = { + color={ 119 134 74 } + color2={ 255 255 255 } + + b_ukhta = { + } + b_sosnogorsk = { + } + b_yarega = { + } + b_vodnyy = { + } + b_nizhodes = { + } + b_vuktyl = { + } + b_kadzherom = { + } + b_voyvozh = { + } + } + c_syrj = { + color={ 122 137 77 } + color2={ 255 255 255 } + + b_syktyvkar = { + } + b_pyras = { + } + b_yugydyag = { + } + b_mikun = { + } + b_emva = { + } + b_ezhva = { + } + b_sindor = { + } + b_zheshart = { + } + } + c_veliky_ustug = { + color={ 125 140 80 } + color2={ 255 255 255 } + + b_velikyustug = { + } + b_gleden = { + } + b_krasavino = { + } + b_luza = { + } + b_pinyug = { + } + b_podosinovets = { + } + b_maromitsa = { + } + b_oparino = { + } + } + } + + d_bjarmia = { + color = { 95 50 20 } + color2={ 255 255 255 } + + capital = 396 # Bjarmia + + culture = komi + + c_romny = { + color={ 128 143 83 } + color2={ 255 255 255 } + + b_romny = { + } + b_ugol = { + } + b_vozhega = { + } + b_marinskaya = { + } + b_yuchka = { + } + b_bykovskaya = { + } + b_kholuy = { + } + b_vysokaya = { + } + } + c_trans-portage = { + color={ 103 118 58 } + color2={ 255 255 255 } + + b_kargopol = { + } + b_solovetsky = { + } + b_shenkursk = { + } + b_konosha = { + } + b_nyandoma = { + } + b_plesetsk = { + } + b_samoded = { + } + b_obozerskiy = { + } + } + c_north_dvina = { + color={ 106 121 61 } + color2={ 255 255 255 } + + b_kholmogory = { + } + b_nikolokorelski = { + } + b_solvychegodsk = { + } + b_novokholmogory = { + } + b_antonievosiysky = { + } + b_koryazhma = { + } + b_usolsk = { + } + b_archangelsk = { + } + } + c_bjarmia = { + color={ 109 124 64 } + color2={ 255 255 255 } + + b_okladnikowa = { + } + b_okulovsky = { + } + b_kusnezowa = { + } + b_kamenka = { + } + b_pinega = { + } + b_mezen = { + } + b_kimzha = { + } + b_lampozhnya = { + } + } + c_samoyeds = { + color={ 100 115 55 } + color2={ 255 255 255 } + + b_verkhmgla = { + } + b_yazhma = { + } + b_sukhanikha = { + } + b_arkhipovo = { + } + b_vizhas = { + } + b_tarasova = { + } + b_chizha = { + } + b_kiya = { + } + } + } + } +} + +e_tartaria = { + color = { 211 177 80 } + color2={ 255 255 255 } + + culture = cuman + + capital = 594 # Sarkel + + # Creation/Usurp Trigger + allow = { + hidden_tooltip = { + OR = { + ai = no + culture_group = altaic + } + } + } + + k_mongolia = { + color = { 100 100 250 } + + capital = 1457 # Kara-khorum + + culture = mongol + + uyghur = Uyghur + kirghiz = Kirghiz + + d_altay = { + color = { 220 220 255 } + + capital = 1451 # Altay + + c_altay = { + color = { 130 176 240 } + + b_altay = { + } + b_qinggil = { + } + b_koktokay = { + } + b_burqin = { + } + b_burultokay = { + } + b_kokagax = { + } + b_jeminay = { + } + } + + c_dunkheger = { + color = { 130 172 240 } + + uyghur = "Beshbalik" + + b_dunkheger = { + } + b_hou_pulei = { + } + b_yulishi = { + } + b_beshbalik = { + turkish = "Basboluk" + } + b_gucheng = { + uyghur = "Guqung" + } + b_mori = { + } + b_jiangjunmiao = { + } + } + + c_muztau = { + color = { 125 160 240 } + + b_muztau = { + } + b_zyryan = { + } + b_oskemen = { + } + b_urunkhayka = { + } + b_kurchum = { + } + b_uryl = { + } + b_khokh_khot = { # Fictional - For Prosperity + } + } + } + d_otuken = { + color = { 110 150 220 } + + capital = 1461 # Ötüken + + c_kyzyl = { + color = { 136 144 240 } + + b_kyzyl = { + } + b_turan = { + } + b_chadaana = { + } + b_ulala = { + } + b_ulagan = { + } + b_saikhan_zam = { # Fictional - For Prosperity + } + b_azarga = { # Fictional - For Prosperity + } + } + + c_otuken = { + color = { 130 136 220 } + + holy_site = tengri_pagan + holy_site = tengri_pagan_reformed + + b_otuken = { + } + b_sayan = { + turkish = "Kogmen" + } + b_khori_tumed = { + } + b_kyren = { + } + b_kutulik = { + } + b_tulun = { + } + b_tenger = { # Fictional - For Prosperity + } + } + + c_erchis = { + color = { 130 128 230 } + + turkish = "Irtysh" + cuman = "Irtysh" + + b_erchis = { + turkish = "Irtysh" + cuman = "Irtysh" + } + b_korya = { + }#Pavlodar + b_semey = { + } + b_aqsw = { + } + b_ekibastuz = { + } + b_ertis = { + } + b_koktobe = { + } + } + + c_gorgol = { + color = { 130 124 235 } + + b_gorgol = { + } + b_abaza = { + } + b_tashtyp = { + } + b_belcheeriin = { # Fictional - For Prosperity + } + b_tsetseg_moriin = { # Fictional - For Prosperity + } + b_altan_talbar = { # Fictional - For Prosperity + } + b_guunii_suu = { # Fictional - For Prosperity + } + } + } + d_khangai = { + color = { 100 120 240 } + + capital = 1457 # Kara-khorum + + c_khangai = { + color = { 133 142 240 } + + b_khangai = { + } + b_terkhiin_tsagaan = { + } + b_ogii = { + } + b_tsetserleg = { + } + b_uliastai = { + } + b_orgil = { + } + b_erdenet = { + } + } + + c_kara_khorum = { + color = { 130 132 225 } + + turkish = "Ordu Baliq" + uyghur = "Karabalgasun" + + b_kara_khorum = { + turkish = "Ordu Baliq" + uyghur = "Karabalgasun" + } + b_luut = { + } + b_noin_ula = { + mongol = "Noyon Uulyn" + } + b_zuunmod = { + } + b_khamag = { + } + b_lun = { + } + b_bayan = { + } + } + + c_baygal = { + color = { 139 146 240 } + + b_baygal = { + } + b_darkhan = { + } + b_bargujin = { + } + b_merkit = { + mongol = "Mergid" + } + b_kyakhta = { + mongol = "Khyaagta" + } + b_uda = { + mongol = "Üde" + } + b_galuuta = { + } + } + } + d_ikh_bogd = { + color = { 130 120 240 } + + capital = 1456 # Ikh Bogd + + c_aj_bogd = { + color = { 130 168 240 } + + b_aj_bogd = { + } + b_balikun = { + } + b_qian_pulei = { + } + b_barkul = { + turkish = "Barköl" + uyghur = "Barköl" + } + b_khoid = { + } + b_erdene = { + } + b_gurvantes = { + } + } + + c_ikh_bogd = { + color = { 115 160 240 } + + b_ikh_bogd = { + } + b_gobi = { + } + b_khereid = { + } + b_zubu = { + turkish = "Suibu" + } + b_nuuruudyn_hondij = { + } + b_arguut = { + } + b_khuld = { + } + } + + c_tsagaannuur = { + color = { 120 160 240 } + + b_tsagaannuur = { + } + b_naiman = { + } + b_khovd = { + } + b_khar = { + } + b_mankhan = { + } + b_darvi = { + } + b_khaliun = { + } + } + } + } + + k_khotan = { + color = { 150 120 200 } + + capital = 1440 # Khotan + + turkish = "Uyghurstan" + uyghur = "Altishahr" + tocharian = "Ytarimypoy" + + d_kashgar = { + color = { 80 130 200 } + + capital = 1439 # Kashgar + + tocharian = "Kasake" + + c_yarkand = { + + color = { 55 100 160 } + + tocharian = "Yarkam" + + b_yarkand = { + tocharian = "Yarkam" + } + b_tashkurgan = { + sogdian = "Sarikol" + } + b_yecheng = { + uyghur = "Chokkuka" + } + b_mazar = { + } + b_karghalik = { + } + b_guma = { + } + b_poskam = { + } + } + + c_kashgar = { + + color = { 70 120 180 } + + tocharian = "Kasake" + + b_kashgar = { + tocharian = "Kasake" + } + b_xiuxun = { + } + b_weitou = { + } + b_yopurga = { + } + b_atush = { + } + b_akto = { + } + b_ulugqat = { + } + } + + c_aksu = { + color = { 90 190 230 } + + tocharian = "Bharuka" + + b_aksu_mongolia = { + tocharian = "Bharuka" + } + b_tumshuk = { + uyghur = "Tumxuk" + } + b_wensu = { + uyghur = "Onsu" + mongol = "Onsu" + } + b_awat = { + } + b_kelpin = { + } + b_uqturpan = { + } + b_aral = { + } + } + } + d_khotan = { + color = { 100 180 240 } + + capital = 1440 # Khotan + + uyghur = "Hotan" + + c_khotan = { + + color = { 90 171 220 } + + uyghur = "Hotan" + + b_khotan = { + uyghur = "Hotan" + } + b_keriya = { + } + b_niya = { + tocharian = "Cadota" + } + b_dandan_uilik = { + } + b_jingjue = { + } + b_jiandu = { + } + b_qira = { + } + } + c_cherchen = { + color = { 80 150 200 } + + uyghur = "Qarqan" + tocharian = "Jemotwona" + sogdian = "Calmandana" + + b_cherchen = { + uyghur = "Qarqan" + tocharian = "Jemotwona" + sogdian = "Calmandana" + } + b_endere = { + } + b_mocheng = { + } + b_zuomo = { + } + b_yuling = { + } + b_yeyik = { + } + b_sutang = { + } + } + c_charkliq = { + + color = { 70 140 180 } + + tocharian = "Narubho" + + b_charkliq = { + tocharian = "Narubho" + } + b_miran = { + } + b_kargan = { + } + b_ruoqiang = { + } + b_lop = { + tocharian = "Lyam" + } + b_merdek = { + } + b_yuni = { + } + } + } + d_karashar = { + color = { 90 170 220 } + + capital = 1443 # Karashar + + uyghur = "Qocho" + tocharian = "Arsi-Kuci" + sogdian = "Agnidesa" + turkish = "Yanghi" + + c_karashar = { + color = { 93 165 240 } + + tocharian = "Arsi" + sogdian = "Agnidesa" + turkish = "Yanghi" + + b_karashar = { + tocharian = "Arsi" + sogdian = "Agnidesa" + turkish = "Yanghi" + } + b_korla = { + } + b_shanguo = { + uyghur = "Kuruk" + } + b_weixu = { + uyghur = "Hoxud" + tocharian = "Oresu" + } + b_weili = { + } + b_tiemenguan = { + } + b_qigexing = { + uyghur = "Xorqu" + tocharian = "Kertik" + } + } + c_kucha = { + color = { 80 160 195 } + + tocharian = "Kuci" + sogdian = "Kucina" + + b_kucha = { + tocharian = "Kuci" + sogdian = "Kucina" + } + b_xayar = { + } + b_bay = { + } + b_toqsu = { + } + b_kizil = { + tocharian = "Kesil" + } + b_subashi = { + tocharian = "Muskriye" + } + b_kumtura = { + } + } + c_kara_khoja = { + color = { 70 120 150 } + + uyghur = "Qocho" + tocharian = "Turtam" + + b_kara_khoja = { + tocharian = "Koto" + } + b_turfan = { + tocharian = "Turtam" + } + b_jiaohe = { + uyghur = "Yarkhoto" + tocharian = "Gauhar" + } + b_huhu = { + } + b_shangwangguo = { + } + b_bezeklik = { + tocharian = "Biseklis" + } + b_astana = { + } + } + c_luntai = { + + color = { 50 95 130 } + + uyghur = "Ürümqi" + mongol = "Ürümqi" + tocharian = "Urabo" + + b_luntai = { + uyghur = "Ürümqi" + mongol = "Ürümqi" + tocharian = "Urabo" + } + b_fukang = { + } + b_danhuan = { + } + b_wutanzili = { + } + b_qiemi = { + } + b_manas = { + } + b_changji = { + uyghur = "Sanji" + } + } + } + d_kumul = { + color = { 50 180 200 } + + capital = 1450 # Kumul + + tocharian = "Krorän" + + c_loulan = { + + color = { 70 200 230 } + + tocharian = "Krorän" + uyghur = "Qroran" + + b_loulan = { + } + b_kroran = { + } + b_kara_koshun = { + } + b_lopnor = { + tocharian = "Salyilyam" + } + b_shanshan = { + } + b_kumtag = { + } + b_yingpan = { + } + } + c_kumul = { + + color = { 40 160 175 } + + mongol = "Qamil" + tocharian = "Kunlyu" + + b_kumul = { + tocharian = "Kunlyu" + } + b_yiwu = { + uyghur = "Aratürük" + } + b_dahe = { + } + b_piqan = { + } + b_yanghai = { + } + b_toyuq = { + } + b_nanhu_tarim = { + } + } + c_dunhuang = { + + color = { 100 230 255 } + + uyghur = "Dukhan" + + b_dunhuang = { + uyghur = "Dukhan" + } + b_fangpan = { + } + b_mogao = { + } + b_yueyaquan = { + } + b_yumenquan = { + } + b_hongliuwan = { + } + b_xuanquanzhi = { + } + } + c_anxi = { + color = { 30 130 150 } + + b_anxi = { + } + b_yumen = { + } + b_xincheng = { + } + b_yuanquan = { + } + b_yulin = { + } + b_suoyang = { + } + b_mazongshan = { + } + } + } + } + k_magyar = { + color={ 187 70 70 } + culture = hungarian + + capital = 522 # Pest + + allow = { + culture = hungarian + } + } + + k_khazaria = { + color={ 250 184 31 } + color2={ 255 255 255 } + + capital = 620 # Itil + + culture = khazar + + # Creation/Usurp Trigger + allow = { + hidden_tooltip = { + OR = { + ai = no + culture = khazar + religion_group = jewish_group + } + } + } + + d_itil = { + color={ 151 118 30 } + color2={ 255 255 255 } + + capital = 620 # Itil + + pecheneg = "Pecheneg" + + c_itil = { + color={ 155 122 34 } + color2={ 255 255 255 } + + holy_site = tengri_pagan + holy_site = tengri_pagan_reformed + + b_itil = { + } + b_khaganbaligh = { + } + b_saqsin = { + } + b_kamyzyak = { + } + b_kharabali = { + } + b_xacitarxan = { + } + b_alga = { + } + b_tumak = { + } + } + c_guryev = { # Atyrau + color={ 230 172 16 } + color2={ 255 255 255 } + + b_atyrau = { + } + b_sarayjuk = { + } + b_yesmakan = { + } + b_zhanakush = { + } + b_karabatyr = { + } + b_mantyube = { + } + b_besikty = { + } + b_arlik = { + } + } + c_pecheneg = { + color={ 159 126 38 } + color2={ 255 255 255 } + + b_pecheneg = { + } + b_kargala = { + } + b_saraktash = { + } + b_sakmara = { + } + b_khutorka = { + } + b_tolkachi = { + } + b_sadovy = { + } + b_kichkas = { + } + } + c_uzens = { + color={ 163 130 42 } + color2={ 255 255 255 } + + b_kaztal = { + } + b_krykuru = { + } + b_kyzylasker = { + } + b_khasan = { + } + b_akkus = { + } + b_kosoba = { + } + b_ushkuduk = { + } + b_aytbay = { + } + } + c_lower_volga = { + color={ 167 134 46 } + color2={ 255 255 255 } + + b_sarysu = { + } + b_tsaritsyn = { + } + b_kamyshin = { + } + b_serebrjakovo = { + } + b_dubovka = { + } + b_petrovval = { + } + b_kotovo = { + } + b_prishib = { + } + } + c_saray = { + color={ 175 142 54 } + color2={ 255 255 255 } + + b_akhtuba = { + } + b_saray = { + } + b_tsaganaman = { + } + b_uspenka = { + } + b_pokrovka = { + } + b_dzhelga = { + } + b_bataevka = { + } + b_chernyyar = { + } + } + } + + d_sarkel = { + color={ 236 200 105 } + color2={ 255 255 255 } + + capital = 594 # Sarkel + + c_sugrov = { + color={ 240 204 109 } + color2={ 255 255 255 } + + b_sugrov = { + } + b_yauchy = { + } + b_khursa = { + } + b_khazar = { + } + b_khratayak = { + } + b_oboyan = { + } + b_tim = { + } + b_fatezh = { + } + } + c_desht-i-kipchak = { + color={ 242 206 111 } + color2={ 255 255 255 } + + b_bakhmut = { + } + b_sviatohirsk = { + } + b_krasne = { + } + b_dobropillia = { + } + b_druzhkivka = { + } + b_kramatorsk = { + } + b_lyman = { + } + b_mospyne = { + } + } + c_sarkel = { + color={ 244 208 113 } + color2={ 255 255 255 } + + b_kazarki = { + } + b_sarkel = { + } + b_belayavezha = { + } + b_semikarakorsk = { + } + b_ustdonetskiy = { + } + b_kotelnikovo = { + } + b_tsimlyanskoye = { + } + b_nizhchir = { + } + } + c_don_portage = { + color={ 246 210 115 } + color2={ 255 255 255 } + + b_kalach = { + } + b_illovlya = { + } + b_ryumino = { + } + b_loq = { + } + b_illevka = { + } + b_donskoy = { + } + b_tary = { + } + b_ozerki = { + } + } + c_sharukan = { + color={ 238 203 121 } + color2={ 255 255 255 } + + b_kharka = { + } + b_sumy = { + } + b_challykala = { + } + b_khorysdan = { + } + b_izyum = { + } + b_balakliia = { + } + b_kupyansk = { + } + b_lyubotin = { + } + } + } + + d_cherson = { + color={ 180 180 90 } + color2={ 255 255 20 } + + capital = 560 # Cherson + + c_theodosia = { + color={ 190 93 156 } + color2={ 255 255 20 } + + b_theodosia = { + } + b_soldaia = { + } + b_kimmerikon = { + } + b_caffa = { + } + b_caulita = { + } + b_olyva = { + } + b_lusta = { + } + b_funan = { + } + } + c_korchev = { + color={ 192 95 158 } + color2={ 255 255 20 } + + b_bosphoros = { + } + b_panticapea = { + } + b_cherco = { + } + b_nymphaion = { + } + b_chystopillia = { + } + b_vosporo = { + } + b_baherove = { + } + b_zavitne = { + } + } + c_cherson = { + color={ 194 97 160 } + color2={ 255 255 20 } + + b_kherson = { + } + b_doros = { + } + b_neapol = { + } + b_kerkinitis = { + } + b_cembalo = { + } + b_charax = { + } + b_sevastoupolis = { + } + b_kalamita = { + } + } + c_tmutarakan = { + color={ 196 99 162 } + color2={ 255 255 20 } + + b_tmutarakan = { + } + b_mapa = { + } + b_taman = { + } + b_tumnev = { + } + b_jevlisia = { + } + b_sujukqale = { + } + b_bata = { + } + b_tsemes = { + } + } + } + + d_crimea = { + color={ 226 186 80 } + color2={ 255 255 255 } + + capital = 559 # Crimea + + c_lower_don = { + color={ 230 190 84 } + color2={ 255 255 255 } + + b_taganrog = { + } + b_matveevkurgan = { + } + b_skorokhod = { + } + b_latonovo = { + } + b_vesely = { + } + b_marfinka = { + } + b_ryasnoye = { + } + b_novoazovsk = { + } + } + c_oleshye = { + color={ 238 198 92 } + color2={ 255 255 255 } + + b_ochakiv = { + } + b_bohopol = { + } + b_odessa = { + } + b_kocibey = { + } + b_balta = { + } + b_sokoly = { + } + b_akkerman = { + } + b_nikolayev = { + } + } + c_lukomorie = { + color={ 242 202 96 } + color2={ 255 255 255 } + + b_zaporzhye = { + } + b_kushunum = { + } + b_huliaipole = { + } + b_kalmius = { + } + b_kalchik = { + } + b_onkhiv = { + } + b_polohy = { + } + b_chernihivka = { + } + } + c_lower_dniepr = { + color={ 246 206 100 } + color2={ 255 255 255 } + + b_dnieprkherson = { + } + b_kairy = { + } + b_kyzylyar = { + } + b_shagingirei = { + } + b_kuturogly = { + } + b_tokmak = { + } + b_pryazovske = { + } + b_bilozerka = { + } + } + c_crimea = { + color={ 250 210 104 } + color2={ 255 255 255 } + + holy_site = tengri_pagan + holy_site = tengri_pagan_reformed + + b_bakhchisaray = { + } + b_aqmescit = { + } + b_dzhankoy = { + } + b_saq = { + } + b_perekop = { + } + b_qarasuvbazar = { + } + b_kezlev = { + } + b_qurman = { + } + } + } + } + + k_cuman = { + color = { 231 192 88 } + color2={ 255 255 255 } + + culture = cuman + + capital = 895 # Yaik + + tengri_pagan_reformed = 500 + zoroastrian_group = 50 # Crusade target weight + + # Creation/Usurp Trigger + allow = { + hidden_tooltip = { + OR = { + ai = no + culture = cuman + } + } + } + + slavic_pagan_reformed = 50 # Crusade target weight + + d_yaik = { + color={ 198 150 11 } + color2={ 255 255 255 } + + capital = 895 # Yaik + + c_inder = { + color={ 171 138 50 } + color2={ 255 255 255 } + + b_orsk = { # Inderbor + } + b_karatogay = { + } + b_bogunbay = { + } + b_kaumetey = { + } + b_chausay = { + } + b_kemer = { + } + b_ebita = { + } + b_dzhanatalap = { + } + } + c_aqtobe = { + color={ 232 174 18 } + color2={ 255 255 255 } + + b_aqtobe = { + } + b_ashchesay = { + } + b_burta = { + } + b_sibiryak = { + } + b_kunsay = { + } + b_zharlysay = { + } + b_shilikta = { + } + b_aulkutyrtas = { + } + } + c_yaik = { + color={ 231 178 35 } + color2={ 255 255 255 } + + b_kurgan = { + } + b_vagay = { + } + b_kyzalyar = { + } + b_lebyazhe = { + } + b_yurgamysh = { + } + b_shumikha = { + } + b_mishkino = { + } + b_makushino = { + } + } + c_bashkirs = { + color={ 209 174 79 } + color2={ 255 255 255 } + + b_ufa = { + } + b_belebey = { + } + b_chishmy = { + } + b_bajmaq = { + } + b_isembaj = { + } + b_beloret = { + } + b_meleus = { + } + b_sterlitamak = { + } + } + } + + d_sibir = { + color={ 210 185 15 } + color2={ 255 255 255 } + + capital = 891 # Tyumen + + c_tyumen = { + color={ 219 166 23 } + color2={ 255 255 255 } + + b_tyumen = { + } + b_qashliq = { + } + b_tobolsk = { + } + b_tugulym = { + } + b_novtap = { + } + b_sumkino = { + } + b_nizhtavda = { + } + b_borovskiy = { + } + } + c_sibir = { + color={ 227 174 31 } + color2={ 255 255 255 } + + b_surgut = { + } + b_belyyyar = { + } + b_iberbolgar = { + } + b_baduk = { + } + b_kaik = { + } + b_langepas = { + } + b_pokachi = { + } + b_vysokiy = { + } + b_sibir = { + } + } + c_tobol = { + color={ 234 176 20 } + color2={ 255 255 255 } + + holy_site = tengri_pagan + holy_site = tengri_pagan_reformed + + b_tobol = { + } + b_tara = { + } + b_isilkul = { + } + b_kalachinsk = { + } + b_tyukalinsk = { + } + b_cherlak = { + } + b_sargatka = { + } + b_krasnyyar = { + } + } + + c_ishim = { + color={ 194 169 40 } + color2={ 255 255 255 } + + b_ishim = {} + b_esil = {} + b_mamlyut = {} + b_ust_ishim = {} + } + } + + d_kipchak = { + color={ 131 84 50 } + color2={ 255 255 255 } + + capital = 1430 # Kipchak + + pecheneg = "Pecheneg" + + c_kipchak = { + color={ 151 94 60 } + color2={ 255 255 255 } + + b_zhitikara = {} + b_zhailma = {} + b_kipchak = {} + b_amankaragaj = {} + b_kusmuryn = {} + } + c_turgay = { + color={ 191 114 70 } + color2={ 255 255 255 } + + b_turgay = {} + b_ust_turgay = {} + b_karakal = {} + b_zhailyk = {} + } + c_kazakh = { + color={ 121 74 40 } + color2={ 255 255 255 } + + b_zhezdi = {} + b_zhairem = {} + b_zhezkazgan = {} + b_karsakpay = {} + b_jezkazgan = {} + b_kengir = {} + } + } + + d_kimak = { + color={ 151 114 58 } + color2={ 255 255 255 } + + capital = 1435 # Kimak + + c_kimak = { + color={ 141 94 60 } + color2={ 255 255 255 } + + b_kimak = {} + b_tengiz = {} + b_atasu = {} + b_arkalyk = {} + } + c_tura = { + color={ 191 154 70 } + color2={ 255 255 255 } + + b_tura = {} + b_almaty = {} + b_bestobe = {} + b_seletyteniz = {} + b_teke = {} + b_kishkenekol = {} + } + c_balkhash = { + color={ 131 114 20 } + color2={ 255 255 255 } + + b_balkhash = {} + b_gulshat = {} + b_shashubay = {} + b_akshatau = {} + b_karazhal = {} + b_aktogay = {} + b_karagandy = {} + } + } + + d_kirghiz = { + color={ 155 140 78 } + color2={ 255 255 255 } + + capital = 1132 # Kirghiz + + c_kirghiz = { + color={ 175 150 80 } + color2={ 255 255 255 } + + b_kirghiz = {} + #b_altay = {} moved to c_altay + b_abakan = {} + b_telengit = {} + b_tele = {} + b_osinniki = {} + } + c_ket = { + color={ 182 177 90 } + color2={ 255 255 255 } + + b_ket = {} + b_asino = {} + b_ketkas = {} + b_sochur = {} + b_chachamga = {} + } + c_urzhar = { + color={ 149 137 61 } + color2={ 255 255 255 } + + b_urzhar = {} + b_akzhar = {} + b_ayagoz = {} + b_taskesken = {} + b_zaysan = {} + } + } + } + + k_volga_bulgaria = { + color={ 180 150 55 } + color2={ 255 255 255 } + + capital = 610 # Bulgar + + culture = bolghar + + tengri_pagan_reformed = 500 # Crusade target weight + finnish_pagan_reformed = 200 + slavic_pagan_reformed = 100 + + allow = { + hidden_tooltip = { + OR = { + ai = no + culture_group = altaic + } + } + } + + d_maris = { + color = { 150 130 45 } + + capital = 588 # Mari + + culture = mordvin + + c_merya = { # Actually Mari + + color={ 234 174 13 } + color2={ 255 255 255 } + + b_yoshkarola = { + } + b_volzhsk = { + } + b_lopatino = { + } + b_tsikma = { + } + b_provoi = { + } + b_kilemary = { + } + b_mariturek = { + } + b_morki = { + } + } + c_hlynov = { + color={ 116 131 71 } + color2={ 255 255 255 } + + b_hlynov = { + } + b_egra = { + } + b_glazkar = { + } + b_izkar = { + } + b_kambarka = { + } + b_sarapul = { + } + b_mozjga = { + } + b_wotka = { + } + } + } + d_bulgar = { + color={ 193 158 63 } + color2={ 255 255 255 } + + capital = 610 # Bulgar + + c_qazan = { + color={ 199 164 69 } + color2={ 255 255 255 } + + b_qazan = { + } + b_osa = { + } + b_chastye = { + } + b_usttuntor = { + } + b_krmayak = { + } + b_pal = { + } + b_uymuzh = { + } + b_belyaevka = { + } + b_pakli = { + } + } + c_bilyar = { + color={ 201 166 71 } + color2={ 255 255 255 } + + b_bilyar = { + } + b_tukhchin = { + } + b_cukataw = { + } + b_urussu = { + } + b_bogulma = { + } + b_bryakhimov = { + } + b_nurlat = { + } + b_dzhalil = { + } + } + c_bulgar = { + color={ 203 168 73 } + color2={ 255 255 255 } + + b_bulgar = { + } + b_suar = { + } + b_balimer = { + } + b_arbuga = { + } + b_tawille = { + } + b_tetyushi = { + } + b_koshki = { + } + b_iq = { + } + } + c_syrt = { + color={ 205 170 75 } + color2={ 255 255 255 } + + b_samara = { + } + b_bandja = { + } + b_kinel = { + } + b_syzran = { + } + b_tashia = { + } + b_sarbay = { + } + b_osinki = { + } + b_shungut = { + } + } + c_ashli = { + color={ 207 172 77 } + color2={ 255 255 255 } + + b_ashli = { + } + b_boro = { + } + b_durtojle = { + } + b_daulakan = { + } + b_blagovescen = { + } + b_tuimasy = { + } + b_janauyl = { + } + b_yamantaw = { + } + } + } + d_cheremisa = { + color={ 225 165 4 } + color2={ 255 255 255 } + + capital = 591 # Cheremisa + + c_grassland_cheremisa = { # Kerzhenets + color={ 231 171 10 } + color2={ 255 255 255 } + + b_yarcalli = { + } + b_zay = { + } + b_cistay = { + } + b_aznaqay = { + } + b_bua = { + } + b_bawli = { + } + b_alabuga = { + } + } + c_chuvash = { + color={ 237 177 16 } + color2={ 255 255 255 } + + b_vedasuvar = { + } + b_makaryevo = { + } + b_cheboksary = { + } + b_alatyr = { + } + b_kozlovka = { + } + b_sundyr = { + } + b_tsivilsk = { + } + b_yadrin = { + } + } + c_mountain_cheremisa = { # Cheremisa + color={ 240 180 19 } + color2={ 255 255 255 } + + b_simbirsk = { + } + b_kanadey = { + } + b_pokrovskoye = { + } + b_stanichnaya = { + } + b_melekess = { + } + b_butyrskaya = { + } + b_vybornaya = { + } + b_barysh = { + } + } + } + d_mordvins = { + color = { 148 165 45 } + + capital = 579 # Mordva + + culture = mordvin + + c_mordva = { + color={ 246 186 25 } + color2={ 255 255 255 } + + b_saransk = { + } + b_insar = { + } + b_temnikow = { + } + b_ardatovo = { + } + b_krasnoslobodsk = { + } + b_yalga = { + } + b_penza = { + } + b_yavas = { + } + } + c_burtasy = { + color={ 243 183 22 } + color2={ 255 255 255 } + + b_saratov = { + } + b_mechetnaya = { + } + b_pokrovsk = { + } + b_atkarsk = { + } + b_balakova = { + } + b_sosnovyostrov = { + } + b_golykaramysh = { + } + b_rtishchevo = { + } + } + c_khopyor = { + color={ 238 202 107 } + color2={ 255 255 255 } + + b_khopyorsk = { + } + b_borisoglebsk = { + } + b_tambov = { + } + b_uryupin = { + } + b_balashov = { + } + b_kirsanov = { + } + b_ustmedveditskaya = { + } + b_uvarovo = { + } + } + } + } + + k_taurica = { + color={ 188 91 154 } + color2={ 255 255 20 } + + capital = 560 # Cherson + + allow = { + 560 = { # Cherson + owner = { + character = ROOT + } + } + hidden_tooltip = { + ai = no + #OR = { + # ai = no + # AND = { + # religion_group = christian + # OR = { + # culture_group = byzantine + # culture_group = latin + # } + # } + #} + } + } + } + + k_alania = { + color={ 155 110 48 } + color2={ 255 255 255 } + + capital = 603 # Alania + + allow = { + hidden_tooltip = { + OR = { + ai = no + culture = alan + } + } + } + + culture = alan + + tengri_pagan_reformed = 200 + + d_alania = { + color={ 155 110 48 } + color2={ 255 255 255 } + + capital = 603 # Alania + + c_kasogs = { + color={ 250 156 156 } + color2={ 255 255 255 } + + b_myequape = { + } + b_samiran = { + } + b_zikh = { + } + b_bakhtarakhtar = { + } + b_koshkhab = { + } + b_ustdzeghuta = { + } + b_sarytyuz = { + } + b_eltarkan = { + } + } + c_yegorlyk = { + color={ 255 214 92 } + color2={ 255 255 255 } + + b_piatigorie = { + } + b_madjar = { + } + b_stauropolis = { + } + b_beshpagir = { + } + b_erkenshakhar = { + } + b_kuguty = { + } + b_kiankiz = { + } + b_yamki = { + } + } + c_manych = { + color={ 250 216 94 } + color2={ 255 255 255 } + + b_mozdok = { + } + b_terek = { + } + b_makhmudmekteb = { + } + b_nartkala = { + } + b_malgobekbalka = { + } + b_kunay = { + } + b_karabulak = { + } + b_makhach = { + } + } + c_alania = { + color={ 255 218 96 } + color2={ 255 255 255 } + + b_vovnushki = { + } + b_magas = { + } + b_arkhyz = { + } + b_zaur = { + } + b_tskhinval = { + } + b_tkhabayerdy = { + } + b_zadalesk = { + } + b_tamarasheni = { + } + } + c_kuma = { + color={ 255 220 98 } + color2={ 255 255 255 } + + b_kizlyar = { + } + b_kuliyurt = { + } + b_tereklimekteb = { + } + b_kizilyurt = { + } + b_gums = { + } + b_dylym = { + } + b_babayurt = { + } + b_arslanbek = { + } + } + } + d_azov = { + color={ 218 179 130 } + color2={ 255 255 255 } + + capital = 597 # Azov + + c_tana = { + color={ 222 183 79 } + color2={ 255 255 255 } + + b_tana = { + } + b_rostovnadonu = { + } + b_monastyrsky = { + } + b_bataysk = { + } + b_gundorovka = { + } + b_cherkassk = { + } + b_ustaksayaskaya = { + } + b_sulin = { + } + } + c_azov = { + color={ 226 187 83 } + color2={ 255 255 255 } + + b_azov = { + } + b_azaq = { + } + b_sadki = { + } + b_eysk = { + } + b_kagalnik = { + } + b_akhtarsk = { + } + b_kugey = { + } + b_katon = { + } + } + c_kuban = { + color={ 230 191 87 } + color2={ 255 255 255 } + + b_khumar = { + } + b_kuban = { + } + b_psekups = { + } + b_khutor = { + } + b_podkumok = { + } + b_coparia = { + } + b_kirpili = { + } + b_beshtau = { + } + } + c_sarpa = { + color={ 255 212 90 } + color2={ 255 255 255 } + + b_elst = { + } + b_bachanta = { + } + b_ikburul = { + } + b_karatchaplak = { + } + b_yashkul = { + } + b_ketchenery = { + } + b_yashalta = { + } + b_ysaganaman = { + } + } + } + } + + k_turkestan = { + color={ 204 150 21 } + color2={ 255 255 255 } + + capital = 900 # Syr Darya + + culture = turkish + + tengri_pagan_reformed = 500 + zoroastrian_group = 150 # Crusade target weight + + d_turkestan = { + color={ 224 170 24 } + color2={ 255 255 255 } + + capital = 622 # Turkestan + + culture = turkish + + c_aral = { + color={ 227 173 27 } + color2={ 255 255 255 } + + b_kassarma = { + } + b_dawletgirei = { + } + b_kuljandi = { + } + b_kaszkarata = { + } + b_aszczeatrik = { + } + b_kosbulak = { + } + b_sokyrbulak = { + } + b_karakul = { + } + } + c_kangly = { + color={ 230 176 30 } + color2={ 255 255 255 } + + b_kangly = { + } + b_koshkar = { + } + b_akkube = { + } + b_akbulak = { + } + b_makat = { + } + b_bakachi = { + } + b_qulsary = { + } + b_kizay = { + } + } + c_mangyshlak = { + color={ 233 179 33 } + color2={ 255 255 255 } + + b_aqtaw = { + } + b_kzyluzen = { + } + b_amankyzylit = { + } + b_uzen = { + } + b_araldy = { + } + b_ashchimuryn = { + } + b_tigen = { + } + b_sayutes = { + } + } + c_turkestan = { + color={ 236 182 36 } + color2={ 255 255 255 } + + b_akdzulpas = { + } + b_emba = { + } + b_sapak = { + } + b_aralkum = { + } + b_kosskul = { + } + b_akespe = { + } + b_saksaulskiy = { + } + b_akshelek = { + } + } + } + d_zhetysu = { + color= { 175 165 60 } + color2={ 255 255 255 } + + capital = 1424 # Chuy + + culture = turkish + + c_chuy = { + color= { 165 155 55 } + color2={ 255 255 255 } + + b_suyab = {} + b_bishkek = {} + b_almatu = {} + b_taraz = {} + b_merke = {} + b_tokmok = {} + b_balasagun = { + mongol = Gobalik + } + } + c_ili = { + color= { 205 155 55 } + color2={ 255 255 255 } + + b_almaliq = {} + b_kulja = {} + b_koktal = {} + b_tekes = {} + b_kax = {} + b_kunes = {} + b_sharyn = {} + } + c_zhetysu = { + color= { 180 125 75 } + color2={ 255 255 255 } + + b_sarkand = {} + b_taldykorgan = {} + b_karatal = {} + b_kapchagai = {} + b_koksu = {} + b_matay = {} + b_kargal = {} + } + c_karluk = { + color= { 180 165 15 } + color2={ 255 255 255 } + + b_nushibi = {} + b_ulug_ok = {} + b_alishi = {} + b_sakla_baga = {} + b_saryshaghan = {} + b_zhaylaukol = {} + } + } + + d_syr_darya = { + color= { 145 115 40 } + color2={ 255 255 255 } + + capital = 900 # Syr Darya + + culture = turkish + + c_syr_darya = { + color={ 236 178 22 } + color2={ 255 255 255 } + + holy_site = tengri_pagan + holy_site = tengri_pagan_reformed + + b_yangikent = {} + b_syganak = { + } + b_akmechet = { + } + b_kyzylorda = { + } + b_kazaly = { + } + b_terenuzyak = { + } + b_dzhanadzhol = { + } + b_sarytogay = { + } + b_zhalagash = { + } + } + c_otrar = { + color= { 165 155 55 } + color2={ 255 255 255 } + + b_otrar = {} + b_shaulder = {} + b_shoshkakoi = {} + b_birlik = {} + b_chernak = {} + b_kentau = {} + b_turtkul = {} + } + c_chach = { + color= { 205 155 55 } + color2={ 255 255 255 } + + b_chach = {} + b_navekat = {} + b_sayram = {} + b_isbijab = {} + b_shymkent = {} + b_pskent = {} + b_turbat = {} + } + c_kyzylkum = { + color={ 189 214 146 } + color2={ 255 255 255 } + + b_djend = {} + b_itchankila = {} + b_xazorasp = {} + b_bogot = {} + b_xonqa = {} + b_qorovul = {} + b_yangiariq = {} + b_shovot = {} + } + } + } +} + +e_persia = { + color={ 131 204 20 } + color2={ 255 255 255 } + + capital = 646 # Esfahan + + culture = persian + + zun_pagan_reformed = 500 # Crusade target weight + + allow = { + hidden_tooltip = { + OR = { + ai = no + culture_group = iranian + } + } + } + + short_name = yes + + k_persia = { + color={ 151 224 24 } + color2={ 255 255 255 } + + capital = 646 # Esfahan + + culture = persian + + muslim = 400 # Crusade target weight + zoroastrian_group = 4000 # Crusade target weight + zun_pagan_reformed = 100 # Crusade target weight + + d_khorasan = { + color={ 99 150 9 } + color2={ 255 255 255 } + + capital = 632 # Khorasan / Tus + + c_tus = { + color={ 103 154 13 } + color2={ 255 255 255 } + + b_bojnurd = { + } + b_shervan = { + } + b_mashhad = { + } + b_hasanabad = { + } + b_ghaisar = { + } + b_isfarayen = { + } + b_fagdatdezh = { + } + b_solak = { + } + b_tus = { + } + } + c_birjand = { + color={ 138 171 82 } + color2={ 255 255 255 } + + b_nehbandan = { + } + b_birjand = { + } + b_toon = { + } + b_furg = { + } + b_sarayan = { + } + b_boshruyeh = { + } + b_qaen = { + } + b_paeenshahr = { + } + } + c_nishapur = { + color={ 111 162 21 } + color2={ 255 255 255 } + + holy_site = zoroastrian # The Great Fire of Adur Burzen-Mehr + holy_site = yazidi + holy_site = zun_pagan + holy_site = zun_pagan_reformed + + b_nishapur = { + } + b_jajarm = { + } + b_sabzevar = { + } + b_akhlamad = { + } + b_quchan = { + } + b_daregaz = { + } + b_chenaran = { + } + b_sarakhs = { + } + } + c_qohistan = { + color={ 115 166 25 } + color2={ 255 255 255 } + + b_torshiz = { + } + b_beyhaq = { + } + b_gonabad = { + } + b_torbatjam = { + } + b_bardaskan = { + } + b_mahvalat = { + } + b_fariman = { + } + b_dasu = { + } + } + c_lut = { + color={ 119 170 29 } + color2={ 255 255 255 } + + b_tabas = { + } + b_dayhouk = { + } + b_mazanabad = { + } + b_aspak = { + } + b_kalateh = { + } + b_amanieh = { + } + b_bibaz = { + } + b_esfandiar = { + } + } + } + d_mazandaran = { # Tabaristan + color={ 109 149 39 } + color2={ 255 255 255 } + + capital = 662 # Mazandaran + + c_tabaristan = { + color={ 111 151 41 } + color2={ 255 255 255 } + + b_firuzkuh = { + } + b_amol = { + } + b_sari = { + } + b_rarem = { + } + b_mamatir = { + } + b_chamnoo = { + } + b_farim = { + } + b_lavij = { + } + } + c_mazandaran = { + color={ 113 153 43 } + color2={ 255 255 255 } + + b_kalar = { + } + b_chaloos = { + } + b_rostamrood = { + } + b_kojoor = { + } + b_sisangan = { + } + b_damavand = { + } + b_garmsar = { + } + b_varamin = { + } + } + c_dailam = { + color={ 72 178 109 } + color2={ 255 255 255 } + + b_dailam = { + } + b_soltaniyeh = { + } + b_gheydar = { + } + b_zanjan = { + } + b_abhar = { + } + b_tarom = { + } + b_mahneshan = { + } + b_alamut = { + } + } + c_gurgan = { + color={ 107 158 17 } + color2={ 255 255 255 } + + b_gurgan = { + } + b_gonbadeqabus = { + } + b_komishdepa = { + } + b_kordkuy = { + } + b_aqqala = { + } + b_ramian = { + } + b_minudasht = { + } + b_khanbebin = { + } + } + } + d_esfahan = { + color={ 142 176 84 } + color2={ 255 255 255 } + + capital = 646 # Esfahan + + c_esfahan = { + color={ 145 179 87 } + color2={ 255 255 255 } + + b_esfahan = { + } + b_zarrinshahr = { + } + b_khansar = { + } + b_kashan = { + } + b_sedeh = { + } + b_qomsheh = { + } + b_abyaneh = { + } + b_ardestan = { + } + } + c_yazd = { + color={ 148 182 90 } + color2={ 255 255 255 } + + b_meybod = { + } + b_yazd = { + } + b_chak_chak = { + } + b_ardakan = { + } + b_zarch = { + } + b_taft = { + } + b_nir = { + } + b_dar_anjir = { + } + } + c_avhaz = { + color={ 151 185 93 } + color2={ 255 255 255 } + + b_dezful = { + } + b_shushtar = { + } + b_helen = { + } + b_idhaj = { + } + b_masjedsoleyman = { + } + b_shahrekord = { + } + b_koohrang = { + } + b_farsan = { + } + } + c_shiraz = { + color={ 154 188 96 } + color2={ 255 255 255 } + + b_shiraz = { + } + b_estakhr = { + } + b_bishapur = { + } + b_persepolis = { + } + b_azargarta = { + } + b_abadeh = { + } + b_bavanat = { + } + b_arsanjan = { + } + } + } + d_kerman = { + color={ 98 118 63 } + color2={ 255 255 255 } + + capital = 639 # Kerman + + c_kerman = { + color={ 110 130 75 } + color2={ 255 255 255 } + + b_rayen = { + } + b_behdesir = { + } + b_kerman = { + } + b_maymand = { + } + b_nough = { + } + b_bardsir = { + } + b_zarand = { + } + b_ghaleganj = { + } + } + c_bam = { + color={ 144 177 88 } + color2={ 255 255 255 } + + b_bampur = { + } + b_bal_chah = { + } + b_kaj = { + } + b_baravat = { + } + b_fahraj = { + } + b_nukjub = { + } + b_sol_hasan = { + } + b_abeshkan = { + } + } + + c_hormuz = { + color={ 106 126 71 } + color2={ 255 255 255 } + + b_gombroon = { + } + b_abarkawan = { + } + b_jiroth = { + } + b_abu_musa = { + } + b_minab = { + } + b_kish = { + } + b_bam = { + } + b_fin = { + } + } + c_ladistan = { + color={ 114 134 79 } + color2={ 255 255 255 } + + b_lad = { + } + b_khonj = { + } + b_evaz = { + } + b_jask = { + } + b_bastak = { + } + b_morbagh = { + } + b_forg = { + } + b_bandarkhamir = { + } + } + c_sirjan = { + color={ 118 138 83 } + color2={ 255 255 255 } + + b_sirjan = { + } + b_borougheeyeh = { + } + b_faragheh = { + } + b_shahrbabak = { + } + b_abarkuh = { + } + b_dehbid = { + } + b_mehrabad = { + } + } + } + d_fars = { + color={ 89 128 22 } + color2={ 255 255 255 } + + capital = 643 # Fars + + c_fars = { + color={ 91 130 24 } + color2={ 255 255 255 } + + holy_site = zoroastrian # The Great Fire of Adur Farnbag + holy_site = yazidi + + b_perozabad = { + } + b_kakhesasan = { + } + b_darab = { + } + b_jahrom = { + } + b_estahbanat = { + } + b_lamerd = { + } + b_gerash = { + } + b_khafr = { + } + } + c_hendjan = { + color={ 93 132 26 } + color2={ 255 255 255 } + + b_argan = { + } + b_bandaremashoor = { + } + b_susa = { + } + b_ramhormoz = { + } + b_bandarshahpur = { + } + b_omidiyeh = { + } + b_behbahan = { + } + b_jayzan = { + } + } + c_khozistan = { + color={ 95 134 28 } + color2={ 255 255 255 } + + b_abadan = { + } + b_izaj = { + } + b_hoveizeh = { + } + b_ahvaz = { + } + b_dora = { + } + b_fao = { + } + b_khorramshahr = { + } + b_shadegan = { + } + } + } + d_hamadan = { + color={ 184 225 112 } + color2={ 255 255 255 } + + capital = 658 # Hamadan + + c_qom = { + color={ 187 228 115 } + color2={ 255 255 255 } + + b_khourabad = { + } + b_qom = { + } + b_jamkaran = { + } + b_kahak = { + } + b_dastjerd = { + } + b_salafchegan = { + } + b_qanavat = { + } + b_jafariyeh = { + } + } + c_hamadan = { + color={ 190 231 118 } + color2={ 255 255 255 } + + holy_site = jewish + holy_site = samaritan + holy_site = karaite + + b_hamadan = { + } + b_nahavand = { + } + b_ganjnameh = { + } + b_malayer = { + } + b_ecbatana = { + } + b_asadabad = { + } + b_kabudrahang = { + } + b_roudavar = { + } + } + c_rayy = { + color={ 193 234 121 } + color2={ 255 255 255 } + + holy_site = nestorian + + b_rayy = { + } + b_tehran = { + } + b_roudehen = { + } + b_hashtgerd = { + } + b_shahriar = { + } + b_eslamshahr = { + } + b_karaj = { + } + b_pakdasht = { + } + } + c_qwivir = { + color={ 115 155 45 } + color2={ 255 255 255 } + + b_semnan = { + } + b_darvar = { + } + b_damqan = { + } + b_dehnamak = { + } + b_sangsar = { + } + b_sharequmis = { + } + b_gerdkuh = { + } + b_kohandej = { + } + } + } + d_tabriz = { + color={ 86 133 61 } + color2={ 255 255 255 } + + capital = 666 # Gilan + + c_oromieh = { + color={ 86 143 61 } + color2={ 255 255 255 } + + holy_site = zoroastrian # The Great Fire of Adur Gushnasp + + b_oroumieh = { + } + b_khoy = { + } + b_takhtesoleyman = { + } + b_avajiq = { + } + b_chaldiran = { + } + b_charekelisa = { + } + b_mahabad = { + } + b_salmas = { + } + } + c_gilan = { + color={ 106 143 61 } + color2={ 255 255 255 } + + b_gilan = { + } + b_rasht = { + } + b_talysh = { + } + b_astara = { + } + b_rudkhan = { + } + b_lahijan = { + } + b_masouleh = { + } + b_masal = { + } + } + c_tabriz = { + color={ 106 151 51 } + color2={ 255 255 255 } + + b_babak = { + } + b_tabriz = { + } + b_maragheh = { + } + b_ahar = { + } + b_zahhak = { + } + b_sarab = { + } + b_shabestar = { + } + b_miyaneh = { + } + } + } + d_azerbaijan = { + color={ 160 232 20 } + color2={ 255 255 255 } + + capital = 670 # Azerbaijan + + culture = persian + + c_shirvan = { + color={ 162 234 22 } + color2={ 255 255 255 } + + b_baku = { + } + b_lankaran = { + } + b_absheron = { + } + b_shirvan = { + } + b_shakhriyar = { + } + b_salyan = { + } + b_khizirzinda = { + } + b_altiagay = { + } + } + c_azerbaijan = { + color={ 164 236 24 } + color2={ 255 255 255 } + + b_urmiah = { + } + b_kapalak = { + } + b_takhtesuleiman = { + } + b_bastam = { + } + b_maku = { + } + b_kalaberd = { + } + b_chaldoran = { + } + b_deglane = { + } + } + c_suenik = { + color={ 166 238 26 } + color2={ 255 255 255 } + + turkish = "Kafan" + persian = "Kafan" + armenian = "Syunik" + + b_ghapan = { + } + b_areni = { + } + b_noravank = { + } + b_vorotnavank = { + } + b_tatev = { + } + b_prochabert = { + } + b_gandzassar = { + } + b_goris = { + } + } + c_shemakha = { + color={ 168 240 28 } + color2={ 255 255 255 } + + b_ahemakha = { + } + b_quba = { + } + b_shikhlar = { + } + b_khachmaz = { + } + b_chiraggala = { + } + b_anig = { + } + b_maraza = { + } + b_khil = { + } + } + } + } + + k_baluchistan = { + color={ 155 169 114 } + color2={ 255 255 255 } + + capital = 1139 # Makran + + zoroastrian_group = 1500 # Crusade target weight + zun_pagan_reformed = 300 # Crusade target weight + + culture = afghan + + d_baluchistan = { + color={ 150 170 118 } + color2={ 255 255 255 } + + capital = 1139 # Makran + + c_makran = { + color={ 152 185 96 } + color2={ 255 255 255 } + + b_al_haur = { + } + b_kiz = { + } + b_ormara = { + } + b_kannazbun = { + } + } + c_chagai = { + color={ 152 185 96 } + color2={ 255 255 255 } + + b_nushki = { + } + } + c_kalat = { + color={ 152 185 96 } + color2={ 255 255 255 } + + b_kalat = { + } + b_talq = { + } + } + c_armail = { + color={ 152 185 96 } + color2={ 255 255 255 } + + b_armail = { + } + b_hingula = { + } + b_kambali = { + } + b_yusli = { + } + } + } + d_sistan = { + color={ 118 148 40 } + color2={ 255 255 255 } + + capital = 637 # Sistan + + c_sistan = { + color={ 102 122 67 } + color2={ 255 255 255 } + + holy_site = zoroastrian # Lake Hamun / Mount Khwaja + + b_haozdar = { + } + b_kuh_taftan = { + } + b_nok_kundi = { + } + b_dozz_aap = { + } + b_shahresukhteh = { + } + b_esfandak = { + } + b_dehak = { + } + b_adar = { + } + } + c_zahedan = { + color={ 142 175 86 } + color2={ 255 255 255 } + + b_zahedan = { + } + b_khajeh = { + } + b_kuhtaftan = { + } + b_hamun = { + } + b_jahangir = { + } + b_golchah = { + } + b_buk = { + } + b_kacharud = { + } + } + c_jask = { + color={ 146 179 90 } + color2={ 255 255 255 } + + b_yeldar = { + } + b_band_jask = { + } + b_miski = { + } + b_hara_gabrik = { + } + b_jagin = { + } + b_par_kun = { + } + b_rabag = { + } + b_zaharai = { + } + } + c_tis = { + color={ 148 181 92 } + color2={ 255 255 255 } + + b_parak = { + } + b_kursar = { + } + b_tis = { + } + b_chabahar = { + } + b_pozm_machchan = { + } + b_regedan = { + } + b_sergen = { + } + } + c_saravan = { + color={ 152 185 96 } + color2={ 255 255 255 } + + b_saravan = { + } + b_pahrah = { + } + b_khash = { + } + b_jaleq = { + } + b_pishin = { + } + b_sarbaz = { + } + b_rasak = { + } + b_sangan = { + } + } + } + } + + k_afghanistan = { + color={ 163 121 57 } + color2={ 220 220 0 } + + capital = 1185 # Kabul + + culture = afghan + + zun_pagan_reformed = 1000 # Crusade target weight + zoroastrian_group = 1500 # Crusade target weight + + d_kabul = { + color={ 125 68 23 } + color2={ 255 255 255 } + + capital = 1185 # Kabul + + zun_pagan_reformed = 300 # Crusade target weight + + c_kabul = { + color={ 135 90 30 } + color2={ 255 255 255 } + + holy_site = zun_pagan + holy_site = zun_pagan_reformed + + b_kabul = { + } + b_adinapur = { + } + b_nagarahara = { + } + b_kapisa = { + } + b_lampara = { + } + b_kunar = { + } + b_kharabat = { + } + } + c_bamiyan = { + color={ 175 140 30 } + color2={ 255 255 255 } + + b_bamiyan = { + } + b_shar_i_gholghola = { + } + b_istalif = { + } + b_zakhak = { + } + b_shibar = { + } + } + c_kunduz = { + color={ 155 110 30 } + color2={ 255 255 255 } + + b_aibak = { + } + b_baghlan = { + } + b_surkh_kotal = { + } + b_kunduz = { + } + b_siminjan = { + } + b_nahrain = { + } + b_mogholan = { + } + b_khomri = { + } + } + c_ghazna = { + color={ 175 110 50 } + color2={ 255 255 255 } + + b_ghazna = {} + b_gardez = {} + b_khost = {} + b_loman = {} + b_katawaz = {} + b_sharana = {} + b_sangar = {} + } + } + + d_zabulistan = { + color={ 179 120 64 } + color2={ 255 255 255 } + + capital = 1183 # Bost / Kandahar + + zun_pagan_reformed = 300 # Crusade target weight + + c_bost = { + color={ 189 110 60 } + color2={ 255 255 255 } + + holy_site = zun_pagan + holy_site = zun_pagan_reformed + + b_bost = { # Aka Lashgar Gah + } + b_kandahar = { + } + b_zamindawar = { + } + b_sangin = { + } + b_gereshk = { + } + b_chaman = { + } + b_chora = { + } + b_panjwai = { + } + } + + c_farrah = { + color={ 173 140 84 } + color2={ 255 255 255 } + + b_farrah = { + } + b_bakwa = { + } + b_baladuluk = { + } + b_anardara = { + } + b_khakisafed = { + } + b_qalaikah = { + } + b_shibkoh = { + } + b_juwayn = { + } + } + + c_zaranj = { + color={ 204 160 60 } + color2={ 255 255 255 } + + b_zaranj = { + } + b_zabol = { + } + b_zahak = { + } + b_rudbar = { + } + b_milak = { + } + b_bonjar = { + } + b_nimeh = { + } + } + + c_mandesh = { + color={ 183 150 94 } + color2={ 255 255 255 } + + b_chaghcharan = { + } + b_adraskan = { + } + b_baluci = { + } + b_saghar = { + } + b_kwajaha = { + } + b_taywara = { + } + b_gozareh = { + } + } + } + } + + k_khiva = { + color = { 79 138 51 } + color2={ 255 255 255 } + + capital = 626 # Khiva + culture = persian + + tengri_pagan_reformed = 50 + zoroastrian_group = 2000 # Crusade target weight + zun_pagan_reformed = 100 # Crusade target weight + + sogdian = "Sogdiana" + + d_khiva = { + color={ 185 210 142 } + color2={ 255 255 255 } + + capital = 626 # Khiva + + c_khiva = { + color={ 167 245 32 } + color2={ 255 255 255 } + + b_darvaza = { + } + b_kath = { + } + b_kuskupir = { + } + b_tahta = { + } + b_kizketken = { + } + b_atajab = { + } + b_sumanay = { + } + b_khiva = { + } + } + + c_urgench = { + color={ 147 215 30 } + color2={ 255 255 255 } + + b_urgench = { + } + b_nukus = { + } + b_kyrkmolla = { + } + b_kungrat = { + } + b_kizil_agir = { + } + b_khodjali = { + } + b_ulkun = { + } + } + + c_dashhowuz = { + color={ 193 217 150 } + color2={ 255 255 255 } + + b_dashhowuz = { + } + b_kunyaurgench = { + } + b_tagta = { + } + b_akdepe = { + } + b_gubadag = { + } + b_boldumsaz = { + } + b_yylanly = { + } + b_gorogly = { + } + } + c_bukhara = { + color={ 169 247 34 } + color2={ 255 255 255 } + + b_gizhduvan = { + } + b_bukhara = { + } + b_vabkent = { + } + b_karkuh = { + } + b_chardjul = { + } + b_kogon = { + } + b_ayrybaba = { + } + } + } + d_samarkand = { + color={ 155 170 132 } + color2={ 255 255 255 } + + capital = 903 # Samarkand + + c_samarkand = { + color={ 157 201 100 } + color2={ 255 255 255 } + + b_afrasiyab = { + } + b_samarkand = { + } + b_khokand = { + } + b_urgut = { + } + b_koshrabot = { + } + b_ishtikhon = { + } + b_ziadin = { + } + b_laish = { + } + } + + c_oshrusana = { + color={ 112 217 30 } + color2={ 255 255 255 } + + b_banjikat = { + } + b_khujand = { + } + b_oshrusana = { + } + b_isfana = { + } + b_kurkat = { + } + b_nau = { + } + b_bekobod = { + } + } + + c_khuttal = { + color={ 175 110 50 } + color2={ 255 255 255 } + + b_munjan = {} + b_jauz_gun = {} + b_taloqan = {} + b_jurm = {} + b_dushanbe = {} + b_kulob = {} + b_vakash = {} + } + c_fergana = { + color={ 90 171 30 } + color2={ 255 255 255 } + + b_fergana = {} + b_khavakend = {} + b_namangan = {} + b_osh = {} + b_andijan = {} + b_margilan = {} + b_rishton = {} + b_uzkand = {} # Aka Mavarannahr. Today Uzgen. + } + } + + d_merv = { + color={ 163 241 28 } + color2={ 255 255 255 } + + capital = 630 # Merv + + c_merv = { + color={ 156 204 73 } + color2={ 255 255 255 } + + b_merv = { + } + b_bayramaly = { + } + b_tagtabazar = { + } + b_yoloten = { + } + b_gulanly = { + } + b_kushka = { + } + b_wekilbazar = { + } + b_sakarcage = { + } + } + + c_maymana = { + color={ 179 214 53 } + color2={ 255 255 255 } + + b_maymana = { + } + b_gurziwan = { + } + b_darzab = { + } + b_almar = { + } + b_bilcheragh = { + } + } + + c_balkh = { + color={ 201 225 158 } + color2={ 255 255 255 } + + holy_site = zoroastrian + + b_balkh = { + } + b_termez = { + } + b_tiliatepe = { + } + b_takhtisangin = { + } + b_alkhanoum = { + } + b_surkhkotal = { + } + b_dalverzintepe = { + } + } + c_herat = { + color={ 205 224 162 } + color2={ 255 255 255 } + + b_herat = { + } + b_karukh = { + } + b_kushk = { + } + b_gulran = { + } + b_obe = { + } + b_zarghun = { + } + b_farsi = { + } + b_chishti = { + } + } + } + + d_dihistan = { + color={ 153 201 70 } + color2={ 255 255 255 } + + capital = 631 # Dihistan + + c_dihistan = { + color={ 162 210 79 } + color2={ 255 255 255 } + + b_akhur = { + } + b_gasankuli = { + } + b_bayatkhadzi = { + } + b_kumdag = { + } + b_torskhali = { + } + b_yasydepe = { + } + b_yarymtyk = { + } + b_kemir = { + } + } + c_kara-kum = { + color={ 165 243 30 } + color2={ 255 255 255 } + + b_kyzylsu = { + } + b_gazanjyk = { + } + b_bekdas = { + } + b_cheleken = { + } + b_ohk = { + } + b_dzhanga = { + } + b_awaza = { + } + b_yangadzha = { + } + } + c_konjikala = { + color={ 153 128 53 } + color2={ 255 255 255 } + + b_farava = { + } + b_nisa = { + } + b_abiward = { + } + b_gokdepe = { + } + b_konjikala = { + } + b_kyzylarvat = { + } + b_sarahs = { + } + b_ulugdepe = { + } + } + c_usturt = { + color={ 238 184 38 } + color2={ 255 255 255 } + + b_bailjar = { + } + b_barsakelmos = { + } + b_bussaga = { + } + b_sengirkum = { + } + b_sumbe = { + } + b_akkuduk = { + } + b_aksu = { + } + b_karamola = { + } + } + } + } + + k_mesopotamia = { + color={ 55 128 67 } + color2={ 255 255 255 } + + capital = 693 # Baghdad + + culture = levantine_arabic + + muslim = 400 # Crusade target weight + zoroastrian_group = 2000 # Crusade target weight + zun_pagan_reformed = 300 # Crusade target weight + jewish_group = 500 # Crusade target weight + + d_kermanshah = { # Luristan + color={ 55 144 95 } + color2={ 255 255 255 } + + capital = 657 # Luristan + + c_qazwin = { + color={ 55 144 90 } + color2={ 255 255 255 } + + b_lambsar = { + } + b_qazwin = { + } + b_ahmadabad = { + } + b_avaj = { + } + b_abeyek = { + } + b_takestan = { + } + b_alvand = { + } + b_buinzahra = { + } + } + c_kermanshah = { + color={ 75 114 90 } + color2={ 255 255 255 } + + b_javanroud = { + } + b_kermanshah = { + } + b_hulwan = { + } + b_paveh = { + } + b_mahalkufa = { + } + b_kangavar = { + } + b_kuzaran = { + } + b_ravansar = { + } + } + c_luristan = { + color={ 75 164 110 } + color2={ 255 255 255 } + + b_dezbar = { + } + b_khorramabad = { + } + b_borujerd = { + } + b_dorood = { + } + b_aligoodarz = { + } + b_koohdasht = { + } + b_poledokhtar = { + } + b_alashtar = { + } + } + } + d_tigris = { + color={ 113 150 32 } + color2={ 255 255 255 } + + capital = 656 # Tigris + + c_al_nadjaf = { + color={ 105 150 32 } + color2={ 255 255 255 } + + holy_site = shiite + + b_nadjaf = { + } + b_kufah = { + } + b_taqtaqanah = { + } + b_rahbah = { + } + b_jasim = { + } + b_midhrawi = { + } + b_rashid = { + } + b_jaarah = { + } + } + c_ilam = { + color={ 105 150 52 } + color2={ 255 255 255 } + + b_dehloran = { + } + b_ilam = { + } + b_chahartaghi = { + } + b_abdanan = { + } + b_hezardar = { + } + b_mehran = { + } + b_ghalehghiran = { + } + b_towhid = { + } + } + c_tigris = { + color={ 92 174 52 } + color2={ 255 255 255 } + + b_majaralkabir = { + } + b_bismaya = { + } + b_qalatsjergat = { + } + b_nuffar = { + } + b_ishan = { + } + b_Warka = { + } + b_samawah = { + } + b_tellelhiba = { + } + } + c_al_amarah = { + color={ 92 144 82 } + color2={ 255 255 255 } + + b_amarah = { + } + b_kutelamara = { + } + b_wasit = { + } + b_badra = { + } + b_suwaira = { + } + b_hai = { + } + b_azeeziaya = { + } + b_zurbatiyah = { + } + } + c_al_nasiryah = { + color={ 42 144 82 } + color2={ 255 255 255 } + + b_nasiryah = { + } + b_dhiqar = { + } + b_qalatsukkar = { + } + b_mukayyar = { + } + b_shahrain = { + } + b_telloh = { + } + b_muntafiq = { + } + b_shatra = { + } + } + } + d_basra = { + color={ 6 150 2 } + color2={ 255 255 255 } + + capital = 649 # Basra + + c_kufa = { + color={ 46 150 2 } + color2={ 255 255 255 } + + b_kufa = { + } + b_bussayyah = { + } + b_suqash = { + } + b_hammar = { + } + b_chibayish = { + } + b_alqurnah = { + } + b_shuyukh = { + } + b_ragai = { + } + } + c_rummah = { + color={ 40 170 5 } + color2={ 255 255 255 } + + b_hafaralbatin = { + } + b_alqalt = { + } + b_samoudah = { + } + b_qaisumah = { + } + b_altheebiyah = { + } + b_arraqai = { + } + b_assuayerah = { + } + b_assufayri = { + } + } + c_kuwait = { + color={ 80 170 5 } + color2={ 255 255 255 } + + b_kuwait = { + } + b_ikaros = { + } + b_alwafra = { + } + b_khinan = { + } + b_arrawdatayn = { + } + b_ashshuaybah = { + } + b_anthemusias = { + } + b_alfalalheel = { + } + } + c_basra = { + color={ 80 147 30 } + color2={ 255 255 255 } + + b_basra = { + } + b_ummqasr = { + } + b_azzubayr = { + } + b_arah = { + } + b_mohammera = { + } + b_sukelsheyuhk = { + } + b_kalaatderat = { + } + b_qurna = { + } + } + } + d_baghdad = { + color={ 6 100 2 } + color2={ 255 255 255 } + + capital = 693 # Baghdad + + zun_pagan_reformed = 200 # Crusade target weight + + c_karbala = { + color={ 16 110 12 } + color2={ 255 255 255 } + + b_ainaltamur = { + } + b_karbala = { + } + b_hindiya = { + } + b_ofak = { + } + b_hamzah = { + } + b_shamiyah = { + } + b_qisair = { + } + b_ukhaidir = { + } + } + c_baghdad = { + color={ 16 135 12 } + color2={ 255 255 255 } + + holy_site = sunni + holy_site = nestorian + + b_baqubah = { + } + b_bagdad = { + } + b_hillah = { + } + b_iskandariya = { + } + b_taji = { + } + b_babel = { + } + b_madain = { + } + b_latifiya = { + } + } + c_al_habbariyah = { + color={ 150 205 113 } + color2={ 255 255 255 } + + b_alhabbariyah = { + } + b_shabakah = { + } + b_nukhaib = { + } + b_qutaysh = { + } + b_aljirami = { + } + b_adhaman = { + } + b_daydab = { + } + b_nuayj = { + } + } + c_deir = { + color={ 150 205 80 } + color2={ 255 255 255 } + + b_anah = { + } + b_anbar = { + } + b_rutbah = { + } + b_rawa = { + } + b_hit = { + } + b_ramadi = { + } + b_kasra = { + } + b_nehardea = { + } + } + c_euphrates = { + color={ 110 190 80 } + color2={ 255 255 255 } + + b_bayji = { + } + b_tagrit = { + } + b_samarra = { + } + b_balad = { + } + b_dujail = { + } + b_amirli = { + } + b_ishaqi = { + } + b_faris = { + } + } + c_kirkuk = { + color={ 90 160 105 } + color2={ 255 255 255 } + + b_kirkuk = { + } + b_daquq = { + } + b_ranya = { + } + b_halabja = { + } + b_makhmur = { + } + b_dukan = { + } + b_chuartan = { + } + b_kifri = { + } + } + } + d_mosul = { + color={ 11 205 70 } + color2={ 255 255 255 } + + capital = 697 # Mosul + + c_mosul = { + color={ 9 236 89 } + color2={ 255 255 255 } + + holy_site = yazidi + + b_mosul = { + } + b_bakhdida = { + } + b_karamlish = { + } + b_shekhan = { + } + b_aqrah = { + } + b_bartella = { + } + b_arbil = { + } + b_baqofah = { + } + } + c_kurdistan = { + color={ 21 180 70 } + color2={ 255 255 255 } + + b_duhok = { + } + b_araden = { + } + b_bebadi = { + } + b_dehi = { + } + b_harmashi = { + } + b_marqayoma = { + } + b_dawodiya = { + } + b_sarsink = { + } + } + c_sinjar = { + color={ 61 160 70 } + color2={ 255 255 255 } + + b_sinjar = { + } + b_hatra = { + } + b_telassar = { + } + b_nineveh = { + } + b_talkayf = { + } + b_baaj = { + } + b_kouyunik = { + } + b_nabiyunus = { + } + } + + } + d_jazira = { + color={ 95 180 35 } + color2={ 255 255 255 } + + capital = 700 # Bira + + c_bira = { + color={ 95 186 30 } + color2={ 255 255 255 } + + b_bira = { + } + b_tella = { + } + b_resaina = { + } + b_qalarebete = { + } + b_derik = { + } + b_qoser = { + } + b_samrah = { + } + b_stewr = { + } + } + c_al_jazira = { + color={ 70 160 30 } + color2={ 255 255 255 } + + b_hasakah = { + } + b_dayrik = { + } + b_qamishhlo = { + } + b_darbasiyah = { + } + b_teltamer = { + } + b_hamoukar = { + } + b_amuda = { + } + b_dakhiliyah = { + } + } + c_amida = { + color={ 129 166 48 } + color2={ 255 255 255 } + + b_kiaburc = { + } + b_amida = { + } + b_ulucamii = { + } + b_suraamede = { + } + b_mayyafarikin = { + } + b_hazretisuleymancamii = { + } + b_egil = { + } + b_idtodyolataloho = { + } + } + c_nisibin = { + color={ 133 170 52 } + color2={ 255 255 255 } + + b_nusaybin = { + } + b_savur = { + } + b_dairodmorhannanyo = { + } + b_kerburan = { + } + b_cizre = { + } + b_sittiradviyyemadrasa = { + } + b_dayrodmorgabriel = { + } + b_yaqobnsibnaya = { + } + } + } + } +} # e_persia + + +e_carpathia = { + color={ 210 115 35 } + color2={ 255 255 255 } + + capital = 522 # Pest + + culture = hungarian + + tengri_pagan_reformed = 100 + slavic_pagan_reformed = 50 # Crusade target weight + + k_dacia = { + color={ 220 132 40 } + color2={ 255 255 255 } + + culture = romanian + + capital = 515 # Tirgoviste + + allow = { + hidden_tooltip = { + OR = { + ai = no + culture = romanian + } + } + } + + d_wallachia = { + color={ 238 192 69 } + color2={ 255 255 255 } + + capital = 515 # Tirgoviste + + c_turnu = { + color={ 241 195 72 } + color2={ 255 255 255 } + + b_turnu = { + } + b_giurgiu = { + } + b_bucuresti = { + } + b_dristra = { + } + b_strehaia = { + } + b_oltenita = { + } + b_rosiorriidevede = { + } + b_corabia = { + } + } + c_tirgoviste = { + color={ 244 198 75 } + color2={ 255 255 255 } + + b_targoviste = { + } + b_curteadearges = { + } + b_pitesti = { + } + b_campulung = { + } + b_calimanesti = { + } + b_poenari = { + } + b_cotmeana = { + } + b_ploiesti = { + } + } + c_severin = { + color={ 247 201 78 } + color2={ 255 255 255 } + + b_severin = { + } + b_ursova = { + } + b_craiova = { + } + b_ramnic = { + } + b_tirgujiu = { + } + b_slatina = { + } + b_caracal = { + } + b_bals = { + } + } + c_galaz = { + color={ 217 102 253 } + color2={ 255 255 255 } + + b_galaz = { + } + b_vicina = { + } + b_aegyssus = { + } + b_isaccea = { + } + b_macin = { + } + b_sulina = { + } + b_tulcea = { + } + b_crisan = { + } + } + } + d_moldau = { + color={ 223 202 145 } + color2={ 255 255 255 } + + capital = 545 # Torki + + pecheneg = "Pecheneg" + + c_peresechen = { + color={ 225 204 147 } + color2={ 255 255 255 } + + b_iasi = { + } + b_varzaresti = { + } + b_orhei = { + } + b_chisinau = { + } + b_harlau = { + } + b_tuzara = { + } + b_baltile = { + } + b_tutora = { + } + } + c_torki = { + color={ 227 206 149 } + color2={ 255 255 255 } + + b_torki = { + } + b_bogdana = { + } + b_suceava = { + } + b_cernauti = { + } + b_hotin = { + } + b_lipcani = { + } + b_herta = { + } + b_siret = { + } + } + c_olvia = { + color={ 229 208 151 } + color2={ 255 255 255 } + + b_olvia = { + } + b_ophusia = { + } + b_cetateaalba = { + } + b_tighina = { + } + b_causeni = { + } + b_cainari = { + } + b_alibei = { + } + b_basarabeasca = { + } + } + c_belgorod = { + color={ 231 210 153 } + color2={ 255 255 255 } + + b_belgorod = { + } + b_oblucita = { + } + b_chilia = { + } + b_palada = { + } + b_oancea = { + } + b_scheia = { + } + b_tigheci = { + } + b_falciu = { + } + } + c_birlad = { + color={ 233 212 155 } + color2={ 255 255 255 } + + holy_site = slavic_pagan + holy_site = slavic_pagan_reformed + + b_barlad = { + } + b_husi = { + } + b_vaslui = { + } + b_galati = { + } + b_tecuci = { + } + b_braila = { + } + b_buzau = { + } + b_ramnicusarat = { + } + } + } + } + + k_hungary = { + color={ 250 120 90 } + color2={ 255 255 255 } + + capital = 444 # Esztergom + + allow = { + OR = { + culture_group = magyar + culture = avar + } + } + + culture = hungarian + + catholic = 500 # Crusade target weight + + d_pecs = { + color={ 155 25 65 } + color2={ 255 255 255 } + + capital = 452 # Pecs + + bohemian=Balaton + + c_pecs={ + color={ 182 72 72 } + color2={ 255 255 255 } + + croatian = Pecuh + serbian = Pecuj + german = Fünfkirchen + bohemian=Balaton + + b_pecs = { + } + b_kalocsa = { + } + b_mohacs = { + } + b_sasd = { + } + b_pecsvarad = { + } + b_siklos = { + } + b_szentlorinc = { + } + b_darda = { + } + } + c_szekezfehervar = { + color={ 189 74 74 } + color2={ 255 255 255 } + + german = Stuhlweissenburg + + b_szekezfehervar = { + } + b_csurgo = { + } + b_kaposvar = { + } + b_szigetvar = { + } + b_barcs = { + } + b_marcali = { + } + b_nagyatad = { + } + b_lengyeltoti = { + } + } + c_vas = { + color={ 191 76 76 } + color2={ 255 255 255 } + + german = Eisenburg + croatian = Zelezna + + b_szombathely = { + } + b_szentgotthard = { + } + b_vasvar = { + } + b_sarvar = { + } + b_celldomolk = { + } + b_kormend = { + } + b_koszeg = { + } + b_nemetujvar = { + } + } + c_fejer = { + color={ 193 78 78 } + color2={ 255 255 255 } + + german = Stuhlweiss + croatian = Bila + + b_sarbogard = { + } + b_adony = { + } + b_mor = { + } + b_val = { + } + b_szekszard = { + } + b_dombovar = { + } + b_tamasi = { + } + b_bonyhad = { + } + } + } + d_esztergom = { + color={ 230 55 55 } + color2={ 255 255 255 } + + capital = 444 # Esztergom + + german = Gran + bohemian = Ostrihom + croatian = Ostrogon + + c_sopron = { + color={ 211 63 63 } + color2={ 255 255 255 } + + german = Ödenburg + + b_sopron = { + } + b_gyor = { + } + b_csorna = { + } + b_borsmonostor = { + } + b_csepreg = { + } + b_kapuvar = { + } + b_kismarton = { + } + b_nagymarton = { + } + } + c_esztergom = { + color={ 214 66 66 } + color2={ 255 255 255 } + + german = Gran + bohemian = Ostrihom + croatian = Ostrogon + + b_esztergom = { + } + b_komarom = { + } + b_kakath = { + } + b_tatabanya = { + } + b_nagyigmand = { + } + b_nemesocsa = { + } + b_ogylla = { + } + } + c_pressburg = { + color={ 217 69 69 } + color2={ 255 255 255 } + + + hungarian = Pozsony + bohemian = Presporok + + + b_pressburg = { + } + b_nagyszombat = { + } + b_bazin = { + } + b_modor = { + } + b_szentgyorgy = { + } + b_dunaszerdahely = { + } + b_galanta = { + } + b_somorja = { + } + } + } + d_nyitra = { + color={ 190 21 21 } + color2={ 255 255 255 } + + capital = 443 # Nitra + + german = Neutra + bohemian = Nitra + + c_nitra = { + color={ 194 25 25 } + color2={ 255 255 255 } + + german = Neutra + bohemian = Nitra + + b_nyitra = { + } + b_nagytapolcsany = { + } + b_stbenedek = { + } + b_nagysurany = { + } + b_galgoc = { + } + b_zabokreky = { + } + b_postyen = { + } + b_preuigan = { + } + } + c_trencin = { + color={ 198 29 29 } + color2={ 255 255 255 } + + b_trencsen = { + } + b_zilina = { + } + b_turoc = { + } + b_ban = { + } + b_illava = { + } + b_povazskabystrica = { + } + b_congsberg = { + } + b_puho = { + } + } + c_gemer = { + color={ 202 33 33 } + color2={ 255 255 255 } + + hungarian = Gömör + + b_gomor = { + } + b_losonc = { + } + b_dobsina = { + } + b_rozsnyo = { + } + b_balassagyarmat = { + } + b_jolsva = { + } + b_nagyroce = { + } + b_nyustya = { + } + } + c_orava = { + color={ 205 36 36 } + color2={ 255 255 255 } + + german = Arwa + hungarian = Árva + + b_arvavara = { + } + b_nameszto = { + } + b_liptovskymikulas = { + } + b_zolyom = { + } + b_trsztena = { + } + b_turdossin = { + } + b_nemetlipcse = { + } + b_rozsahegy = { + } + } + } + d_ungvar = { + color={ 156 15 15 } + color2={ 255 255 255 } + + capital = 538 # Abauj + + croatian = Chrobatia + bohemian = Uzhorod + + c_saris = { # "Spis" in-game + color={ 158 17 17 } + color2={ 255 255 255 } + + german = Scharosch + + b_saris = { + } + b_bartfa = { + } + b_kisszeben = { + } + b_eperjes = { + } + b_scyuidnyk = { + } + b_giralth = { + } + b_hethars = { + } + b_lemesany = { + } + } + c_bereg = { + color={ 160 19 19 } + color2={ 255 255 255 } + + german = Berg + + b_beregszasz = { + } + b_perecseny = { + } + b_munkacs = { + } + b_ungvar = { + } + b_ilosva = { + } + b_szolyva = { + } + b_szobranc = { + } + b_kapos = { + } + } + c_abauj = { + color={ 162 21 21 } + color2={ 255 255 255 } + + german = Neuburg + bohemian = Abov + + b_abauj = { + } + b_satoraljaujhely = { + } + b_kassa = { + } + b_szikszo = { + } + b_turna = { + } + b_szepsi = { + } + b_sarospatak = { + } + b_tokaj = { + } + } + c_marmaros = { + color={ 164 23 23 } + color2={ 255 255 255 } + + german = Maramuresch + + b_maramarossziget = { + } + b_nagybanya = { + } + b_nagykaroly = { + } + b_huszt = { + } + b_aknasugatag = { + } + b_tecso = { + } + b_raho = { + } + b_felsoviso = { + } + } + } + d_pest = { + color={ 150 51 51 } + color2={ 255 255 255 } + + capital = 522 # Pest + + c_heves = { + color={ 173 64 64 } + color2={ 255 255 255 } + + b_heves = { + } + b_eger = { + } + b_gyongyos = { + } + b_miskolc = { + } + b_petervasara = { + } + b_hatvan = { + } + b_tiszafured = { + } + b_mezokovesd = { + } + } + c_pest = { + color={ 176 67 67 } + color2={ 255 255 255 } + + b_pest = { + } + b_vac = { + } + b_kecskemet = { + } + b_kiskunhalas = { + } + b_szentendre = { + } + b_cegled = { + } + b_abrahamtelke = { + } + b_kiskoros = { + } + } + c_csanad = { + color={ 179 70 70 } + color2={ 255 255 255 } + + b_csanad = { + } + b_szeged = { + } + b_mako = { + } + b_battonya = { + } + b_csongrad = { + } + b_mindszent = { + } + b_szentes = { + } + b_hodmezovasarhely = { + } + } + } + d_transylvania = { + color={ 255 150 150 } + color2={ 255 255 255 } + + capital = 519 # Feher + + c_szekelyfold = { + color={ 237 54 54 } + color2={ 255 255 255 } + + german = Szeklerland + + b_csik = { + } + b_aranyos = { + } + b_haromszek = { + } + b_maros = { + } + b_kezdi = { + } + b_szekelyudvarhely = { + } + b_sepsiszentgyorgy = { + } + b_marosvasarhely = { + } + } + c_bihar = { + color={ 241 58 58 } + color2={ 255 255 255 } + + romanian = Bihor + + b_bihar = { + } + b_nagyvarad = { + } + b_debrecen = { + } + b_biharkeresztes = { + } + b_nagybajom = { + } + b_szalard = { + } + b_zolonta = { + } + b_elesd = { + } + } + c_feher = { + color={ 245 62 62 } + color2={ 255 255 255 } + + #romanian = Alba de Jos + german = Unterweissenburg + + b_feher = { + } + b_arad = { + } + b_gyulafehervar = { + romanian = "Balgrad" + } + b_elek = { + } + b_abrudbanya = { + } + b_nagyenyed = { + } + b_vizakna = { + } + b_tovis = { + } + } + } + d_temes = { + color={ 147 121 58 } + color2={ 255 255 255 } + + capital = 517 # Temes + + romanian = Timis + serbian = Tamis + + c_temes = { + color={ 153 127 64 } + color2={ 255 255 255 } + + romanian = Timis + serbian = Tamis + + b_temesvar = { + } + b_lugos = { + } + b_csak = { + } + b_buzias = { + } + b_versecz = { + } + b_detta = { + } + b_kevevara = { + } + b_karansebes = { + } + } + c_bacs = { + color={ 156 130 67 } + color2={ 255 255 255 } + + b_bacs = { + } + b_apatin = { + } + b_szintarev = { + } + b_baja = { + } + b_zombor = { + } + b_bacsalmas = { + } + b_pancsova = { + } + b_pardany = { + } + } + } + } +} + +e_france = { + color={ 11 22 170 } + color2={ 255 255 20 } + + capital = 112 # Ile de France + + culture = frankish + + allow = { + hidden_tooltip = { + OR = { + ai = no + culture = frankish + culture = norman + culture = occitan + } + } + any_demesne_title = { + tier = king + NOT = { title = k_france } + NOT = { title = k_aquitaine } + NOT = { title = k_brittany } + NOT = { title = k_burgundy } + } + } + + k_france = { + color={ 15 27 187 } + color2={ 255 255 20 } + capital = 112 # Ile de France + dignity = 30 # Counted as having this many more counties than it does + + culture = frankish + + catholic = 5000 # Crusade target weight + norse_pagan_reformed = 100 # Crusade target weight + + d_berry = { + color={ 24 52 226 } + color2={ 255 255 255 } + + capital = 140 # Tours + + c_tourraine = { + color={ 27 55 229 } + color2={ 255 255 255 } + + b_chinon = { + } + b_tours = { + } + b_beaulieu = { + } + b_amboise = { + } + b_loches = { + } + b_langeais = { + } + b_fierbois = { + } + b_montbazon = { + } + } + c_bourges = { + color={ 30 58 232 } + color2={ 255 255 255 } + + b_chateauroux = { + } + b_deols = { + } + b_bourges = { + } + b_issoudun = { + } + b_stsatur = { + } + b_sancerre = { + } + b_mehun = { + } + b_vierzon = { + } + } + } + d_anjou = { + color={ 43 24 226 } + color2={ 255 255 255 } + + capital = 107 # Anjou + + c_anjou = { + color={ 45 26 228 } + color2={ 255 255 255 } + + b_vihiers = { + } + b_angers = { + } + b_fontevraud = { + } + b_saumur = { + } + b_montsoreau = { + } + b_cholet = { + } + b_treves = { + } + b_chateaugontier = { + } + } + c_maine = { + color={ 49 30 232 } + color2={ 255 255 255 } + + b_le_mans = { + } + b_beaumont = { + } + b_evron = { + } + b_mayenne = { + } + b_laval = { + } + b_sable = { + } + b_craon = { + } + b_montenay = { + } + } + } + d_flanders = { + color={ 255 120 0 } + color2={ 255 255 255 } + + capital = 78 + + culture = dutch + + c_artois = { + color={ 234 110 90 } + color2={ 255 255 255 } + + b_arras = { + } + b_terwaan = { + } + b_bethune = { + } + b_lens = { + } + b_lille = { + } + b_bouvines = { + } + b_beaumetz = { + } + b_bapaume = { + } + } + c_boulogne = { + color={ 224 140 90 } + color2={ 255 255 255 } + + b_boulogne = { + } + b_montreuil = { + } + b_saintpol = { + } + b_hesdin = { + } + b_fauquembergues = { + } + b_ternouis = { + } + b_therouanne = { + } + b_ardres = { + } + } + c_guines = { + color={ 194 145 100 } + color2={ 255 255 255 } + + b_guines = { + } + b_saintomer = { + } + b_calais = { + } + b_dunkerque = { + } + b_bourbourg = { + } + b_marck = { + } + b_gravelines = { + } + b_coulogne = { + } + } + c_yperen = { + color={ 194 115 40 } + color2={ 255 255 255 } + + b_ypres = { + } + b_rosebeke = { + } + b_cassel = { + } + b_roeselare = { + } + b_poperinge = { + } + b_menen = { + } + b_diksmuide = { + } + b_wervik = { + } + } + c_brugge = { + color={ 250 120 0 } + color2={ 255 255 255 } + + b_brugge = { + } + b_damme = { + } + b_sluys = { + } + b_oostende = { + } + b_male = { + } + b_nieuwpoort = { + } + b_torhout = { + } + b_aardenburg = { + } + } + c_gent = { + color={ 234 110 5 } + color2={ 255 255 255 } + + b_gent = { + } + b_doornik = { + } + b_oudenaarde = { + } + b_aalst = { + } + b_st_niklaas = { + } + b_dendermonde = { + } + b_kortrijk = { + } + b_geraardsbergen = { + } + } + } + d_normandy = { + color={ 71 24 226 } + color2={ 255 255 255 } + + capital = 97 # Rouen + + culture = norman + + c_evreux = { + color={ 74 27 229 } + color2={ 255 255 255 } + + b_evreux = { + } + b_falaise = { + } + b_lisieux = { + } + b_alencon = { + } + b_argentan = { + } + b_sees = { + } + b_verneuil = { + } + b_honfleur = { + } + } + c_avranches = { + color={ 77 30 232 } + color2={ 255 255 255 } + + b_caen = { + } + b_coutances = { + } + b_bayeux = { + } + b_avranches = { + } + b_mortain = { + } + b_domfront = { + } + b_barfleur = { + } + b_cherbourg = { + } + } + c_vexin = { + color={ 80 33 235 } + color2={ 255 255 255 } + + b_larocheguyon = { + } + b_mantes = { + } + b_pontoise = { + } + b_harcourt = { + } + b_gisors = { + } + b_andely = { + } + b_ivry = { + } + b_abbayedemortemer = { + } + } + c_arques = { # actually Rouen + color={ 83 36 238 } + color2={ 255 255 255 } + + b_fecamp = { + } + b_rouen = { + } + b_lillebonne = { + } + b_harfleur = { + } + b_arques = { + } + b_dieppe = { + } + b_jumieges = { + } + b_longueville = { + } + } + c_eu = { + color={ 86 39 241 } + color2={ 255 255 255 } + + b_eu = { + } + b_mortemer = { + } + b_gournay = { + } + b_aumale = { + } + b_forges = { + } + b_drincourt = { + } + b_neufchatel-en-bray = { + } + b_serqueux = { + } + } + } + d_orleans = { + color={ 126 124 226 } + color2={ 255 255 255 } + + capital = 138 # Orleans + + c_orleans = { + color={ 94 32 234 } + color2={ 255 255 255 } + + b_gien = { + } + b_orleans = { + } + b_fleury = { + } + b_lepuiset = { + } + b_sully = { + } + b_meung = { + } + b_janville = { + } + b_jargeau = { + } + } + c_blois = { + color={ 90 28 230 } + color2={ 255 255 255 } + + b_beaugency = { + } + b_blois = { + } + b_staignan = { + } + b_chaumontsurloire = { + } + b_montrichard = { + } + b_fougeressurbievre = { + } + b_romorantin = { + } + b_stgeorgesdubois = { + } + } + c_vendome = { + color={ 47 28 230 } + color2={ 255 255 255 } + + b_lavardin = { + } + b_vendome = { + } + b_cloyes = { + } + b_freteval = { + } + b_chateaurenault = { + } + b_montoire = { + } + b_montmirail = { + } + b_stavit = { + } + } + c_chartres = { + color={ 98 36 238 } + color2={ 255 255 255 } + + b_chateaudun = { + } + b_chartres = { + } + b_dreux = { + } + b_nogent = { + } + b_gallardon = { + } + b_epernon = { + } + b_bonneval = { + } + b_tiron = { + } + } + } + d_champagne = { + color={ 95 24 226 } + color2={ 255 255 255 } + + capital = 114 # Reims + + c_troyes = { + color={ 99 28 230 } + color2={ 255 255 255 } + + b_brienne = { + } + b_troyes = { + } + b_langres = { + } + b_chaumont = { + } + b_clairvaux = { + } + b_rosnay = { + } + b_chacenay = { + } + } + c_reims = { + color={ 101 30 232 } + color2={ 255 255 255 } + + b_reims = { + } + b_chateauthierry = { + } + b_provins = { + } + b_chalons = { + } + b_chatillon = { + } + b_vertus = { + } + b_epernay = { + } + b_roucy = { + } + } + c_sens = { + color={ 102 40 242 } + color2={ 255 255 255 } + + b_montargis = { + } + b_sens = { + } + b_nemours = { + } + b_chateaulandon = { + } + b_nogentsurseine = { + } + b_joigny = { + } + b_montereau = { + } + b_villeneuveleroi = { + } + } + } + d_valois = { + color={ 35 141 208 } + color2={ 255 255 255 } + capital = 112 # Ile de France + + c_ile_de_france = { + color={ 38 144 211 } + color2={ 255 255 255 } + + holy_site = aztec + holy_site = aztec_reformed + + b_paris = { + used_for_dynasty_names = no + } + b_melun = { + } + b_stdenis = { + } + b_meaux = { + } + b_etampes = { + } + b_montfortlamaury = { + } + b_senlis = { + } + b_compiegne = { + } + } + c_vermandois = { + color={ 41 147 214 } + color2={ 255 255 255 } + + b_coucy = { + } + b_stquentin = { + } + b_laon = { + } + b_crepy = { + } + b_montaigu = { + } + b_rethel = { + } + b_guise = { + } + b_signy = { + } + } + c_amiens = { + color={ 44 151 217 } + color2={ 255 255 255 } + + b_peronne = { + } + b_amiens = { + } + b_beauvais = { + } + b_soissons = { + } + b_corbie = { + } + b_noyon = { + } + b_montdidier = { + } + b_breteuil = { + } + } + } + d_burgundy = { + # French, or Lower Burgundy + color={ 153 67 108 } + color2={ 255 255 255 } + capital = 136 # Dijon + + c_chalons = { + color={ 161 22 60 } + color2={ 255 255 255 } + + b_brancion = { + } + b_chalon = { + } + b_tournus = { + } + b_louhans = { + } + b_chamilly = { + } + b_seurre = { + } + b_stjeandelosne = { + } + b_cuisery = { + } + } + + c_auxerre = { + color={ 97 26 228 } + color2={ 255 255 255 } + + b_auxerre = { + } + b_druyes = { + } + b_tonnerre = { + } + b_pontigny = { + } + b_cravant = { + } + b_crisenon = { + } + b_stsauveurenpuisaye = { + } + b_mailly = { + } + } + c_macon = { + color={ 27 165 229 } + color2={ 255 255 255 } + + b_fuisse = { + } + b_macon = { + } + b_cluny = { + coat_of_arms= + { + data= + { + 0 4 12 45 2 2 2 0 0 19 2 1 3 0 0 19 2 1 3 0 0 19 2 1 3 + } + religion="catholic" + } + } + b_davaye = { + } + b_beaujeu = { + } + b_lugny = { + } + b_berze = { + } + b_villefranchesursaone = { + } + } + c_dijon = { + color={ 30 168 232 } + color2={ 255 255 255 } + + b_semur = { + } + b_dijon = { + } + b_autun = { + } + b_vezelay = { + } + b_avallon = { + } + b_citeaux = { + } + b_beaune = { + } + b_noyers = { + } + } + c_nevers = { + color={ 33 171 235 } + color2={ 255 255 255 } + + b_courtenay = { + } + b_nevers = { + } + b_lacharite = { + } + b_donzy = { + } + b_chateauchinon = { + } + b_vandenesse = { + } + b_clamecy = { + } + b_cosne = { + } + } + c_charolais = { + color={ 36 174 238 } + color2={ 255 255 255 } + + b_montstvincent = { + } + b_charolles = { + } + b_paray = { + } + b_semurenbrionnais = { + } + b_toulonsurarroux = { + } + b_perrecy = { + } + b_digoine = { + } + b_joncy = { + } + } + } + } + + k_aquitaine = { + color={ 150 80 170 } + color2={ 255 255 20 } + capital = 149 # Bordaeux + + culture = occitan + + catholic = 5000 # Crusade target weight + + allow = { + hidden_tooltip = { + OR = { + ai = no + NOT = { has_landed_title = k_france } + AND = { + has_landed_title = k_france + has_landed_title = k_burgundy + any_demesne_title = { + tier = king + NOT = { title = k_france } + NOT = { title = k_aquitaine } + NOT = { title = k_brittany } + NOT = { title = k_burgundy } + } + } + } + } + } + + d_aquitaine = { + color={ 54 10 243 } + color2={ 255 255 255 } + dignity = 10 # Counted as having 10 more counties than it does + capital = 149 # Bordaeux + + culture = occitan + + c_bordeaux = { + color={ 58 14 247 } + color2={ 255 255 255 } + + b_castillon = { + } + b_bordeaux = { + } + b_stemilion = { + } + b_blaye = { + } + b_bourg = { + } + b_lasauve = { + } + b_lareole = { + } + b_libourne = { + } + } + c_agen = { + color={ 62 18 251 } + color2={ 255 255 255 } + + b_agen = { + } + b_penne = { + } + b_cahors = { + } + b_luzech = { + } + b_moissac = { + } + b_figeac = { + } + b_rocamadour = { + } + b_blanquefort = { + } + } + c_perigord = { + color={ 66 22 255 } + color2={ 255 255 255 } + + b_baneuil = { + } + b_perigueux = { + } + b_sarlat = { + } + b_biron = { + } + b_auberoche = { + } + b_bergerac = { + } + b_chancelade = { + } + b_bonaguil = { + } + } + c_angouleme = { + color={ 70 26 255 } + color2={ 255 255 255 } + + b_jarnac = { + } + b_angouleme = { + } + b_bassac = { + } + b_larochefoucauld = { + } + b_cognac = { + } + b_richemont = { + } + b_fontdouce = { + } + b_latranchade = { + } + } + } + d_toulouse = { + color={ 10 16 243 } + color2={ 255 255 255 } + + capital = 214 # Toulouse + + culture = occitan + + c_montpellier = { + color={ 10 16 243 } + color2={ 255 255 255 } + + b_beaucaire = { + } + b_montpellier = { + } + b_maguelone = { + } + b_nimes = { + } + b_aiguesmortes = { + } + b_bagnolssurceze = { + } + b_saintguilhemledesert = { + } + b_melgueil = { + } + } + c_narbonne = { + color={ 14 20 247 } + color2={ 255 255 255 } + + b_albi = { + } + b_narbonne = { + } + b_agde = { + } + b_beziers = { + } + b_puisserguier = { + } + b_stponsdethomieres = { + } + b_castres = { + } + b_queribus = { + } + } + c_carcassonne = { + color={ 16 22 249 } + color2={ 255 255 255 } + + b_saissac = { + } + b_carcassonne = { + } + b_alet = { + } + b_termes = { + } + b_lagrasse = { + } + b_lastours = { + } + b_cabaret = { + } + b_minerve = { + } + } + c_toulouse = { + color={ 18 24 251 } + color2={ 255 255 255 } + + b_castelnaudary = { + } + b_toulouse = { + } + b_lavaur = { + } + b_montauban = { + } + b_lombez = { + } + b_hautpoul = { + } + b_montgiscard = { + } + b_muret = { + } + } + c_rouergue = { + color={ 20 28 253 } + color2={ 255 255 255 } + + b_rodez = { + } + b_millau = { + } + b_vabres = { + } + b_najac = { + } + b_villefranche = { + } + b_caylus = { + } + b_staffrique = { + } + b_estaing = { + } + } + c_foix = { + color={ 24 13 246 } + color2={ 255 255 255 } + + b_foix = { + } + b_pamiers = { + } + b_mirepoix = { + } + b_montsegur = { + } + b_stbertrand = { + } + b_roquefeuil = { + } + b_stgaudens = { + } + b_usson = { + } + } + } + d_gascogne = { + color={ 81 30 243 } + color2={ 255 255 255 } + + capital = 209 # Armagnac + + culture = occitan + + c_bearn = { + color={ 27 16 249 } + color2={ 255 255 255 } + + b_pau = { + } + b_morlaas = { + } + b_lescar = { + } + b_tarbes = { + } + b_mauleonlicharre = { + } + b_orthez = { + } + b_oloron = { + } + b_montaner = { + } + } + c_armagnac = { + color={ 30 19 252 } + color2={ 255 255 255 } + + b_castelnau = { + } + b_auch = { + } + b_condom = { + } + b_lectoure = { + } + b_lisle = { + } + b_eauze = { + } + b_mirande = { + } + b_laplume = { + } + } + c_labourd = { + color={ 33 22 255 } + color2={ 255 255 255 } + + b_sauveterre = { + } + b_bayonne = { + } + b_stsever = { + } + b_dax = { + } + b_aire = { + } + b_labastideclairence = { + } + b_sorde = { + } + b_hasparren = { + } + } + c_albret = { + color={ 36 25 255 } + color2={ 255 255 255 } + + b_labrit = { + } + b_tartas = { + } + b_bazas = { + } + b_roquefort = { + } + b_montdemarsan = { + } + b_gabarret = { + } + b_mimizan = { + } + b_latestedebuch = { + } + } + } + d_poitou = { + color={ 24 95 226 } + color2={ 255 255 255 } + + capital = 141 # Poitiers + + culture = occitan + + c_lusignan = { + color={ 28 97 228 } + color2={ 255 255 255 } + + b_lusignan = { + } + b_charroux = { + } + b_niort = { + } + b_melle = { + } + b_civray = { + } + b_maillezais = { + } + b_confolens = { + } + b_stmaixent = { + } + } + c_saintonge = { + color={ 30 99 230 } + color2={ 255 255 255 } + + b_montguyon = { + } + b_saintes = { + } + b_stjeandangely = { + } + b_villeneuve = { + } + b_tonnay = { + } + b_aulnay = { + } + b_royan = { + } + b_taillebourg = { + } + } + c_poitiers = { + color={ 32 101 232 } + color2={ 255 255 255 } + + b_chauvigny = { + } + b_poitiers = { + } + b_stsavin = { + } + b_moncontour = { + } + b_mirebeau = { + } + b_parthenay = { + } + b_loudun = { + } + b_chatellerault = { + } + } + c_thouars = { + color={ 34 103 234 } + color2={ 255 255 255 } + + b_thouars = { + } + b_larochelle = { + } + b_lucon = { + } + b_chatelaillon = { + } + b_bressuire = { + } + b_olonne = { + } + b_mauleon = { + } + b_fontenay = { + } + } + } + d_auvergne = { + color={ 24 171 226 } + color2={ 255 255 255 } + + capital = 217 # Auvergne + + culture = occitan + + c_auvergne = { + color={ 26 173 228 } + color2={ 255 255 255 } + + b_tournoel = { + } + b_clermont = { + } + b_mozac = { + } + b_murol = { + } + b_aurillac = { + } + b_carlat = { + } + b_brioude = { + } + b_domeyrat = { + } + } + c_gevaudan = { + color={ 28 175 230 } + color2={ 255 255 255 } + + b_grezes = { + } + b_mende = { + } + b_lepuy = { + } + b_apchier = { + } + b_marvejols = { + } + b_florac = { + } + b_stsauveur = { + } + b_tournel = { + } + } + } + d_bourbon = { + color={ 74 133 186 } + color2={ 255 255 255 } + + capital = 146 # Bourbon + + c_bourbon = { + color={ 28 147 230 } + color2={ 255 255 255 } + + b_bourbon = { + } + b_moulins = { + } + b_lancy = { + } + b_montlucon = { + } + b_vichy = { + } + b_murat = { + } + b_souvigny = { + } + b_montpensier = { + } + } + c_limousin = { + color={ 32 151 234 } + color2={ 255 255 255 } + + b_turenne = { + } + b_limoges = { + } + b_comborn = { + } + b_rochechouart = { + } + b_thiviers = { + } + b_stleonard = { + } + b_ventadour = { + } + b_chalus = { + } + } + c_la_marche = { + color={ 36 155 240 } + color2={ 255 255 255 } + + b_crozant = { + } + b_bellac = { + } + b_gueret = { + } + b_aubusson = { + } + b_boussac = { + } + b_lasouterraine = { + } + b_bourganeuf = { + } + b_jouillat = { + } + } + } + } + + k_brittany = { + color={ 165 49 16 } + color2={ 255 255 255 } + + capital = 105 # Vannes + + culture = breton + + catholic = 300 # Crusade target weight + + norse = Bertangaland + welsh = Arymôr + irish = Bhriotáin + frankish = Bretagne + + allow = { + hidden_tooltip = { + OR = { + ai = no + culture_group = celtic + } + } + } + + d_brittany = { + color={ 170 54 26 } + color2={ 255 255 255 } + + capital = 105 # Vannes + + culture = breton + + norse = Bertangaland + breton = Breizh + welsh = Llydaw + irish = Briotáine + frankish = Bretagne + + c_nantes = { + color={ 170 50 23 } + color2={ 255 255 255 } + + breton = Naoned + + b_nantes = { + breton = Naoned + } + b_chateaubriant = { + breton = Kastell-Briant + } + b_redon = { + breton = Ridined + } + b_guerande = { + breton = Gwennrann + } + b_clisson = { + breton = Klison + } + b_donges = { + breton = Dined + } + b_la_roche-bernard = { + breton = "Ar Roc'h-Bernez" + } + b_st_nazaire = { + breton = "Sant-Nazer" + } + } + c_vannes = { + color={ 140 30 13 } + color2={ 255 255 255 } + + breton = Broërec + welsh = Guened + + b_vannes = { + breton = "Gwened" + welsh = "Guened" + } + b_josselin = { + breton = "Josilin" + } + b_st_gildas = { + breton = "Lokentaz" + } + b_locmine = { + breton = "Logunec'h" + } + b_hennebont = { + breton = "Henbont" + } + b_pontivy = { + breton = "Pondi" + } + b_auray = { + breton = "An Alre" + } + b_ploermel = { + breton = "Ploermael" + } + } + c_cornouaille = { + color={ 126 27 9 } + color2={ 255 255 255 } + + breton = "Kernev" + + b_quimper = { + breton = "Kemper" + } + b_carhaix = { + breton = "Karaez" + } + b_quimperle = { + breton = "Kemperle" + } + b_landevennec = { + breton = "Landevenneg" + } + b_corlay = { + breton = "Korle" + } + b_huelgoat = { + breton = "An Uhelgoad" + } + b_langonnet = { + breton = "Langoned" + } + b_lezergue = { + breton = "An Erge Vras" + } + } + c_french_leon = { + color={ 166 67 14 } + color2={ 255 255 255 } + + b_brest = { + } + b_guingamp = { + breton = "Gwengamp" + } + b_st_pol_de_leon = { + breton = "Kastell-Paol" + } + b_treguier = { + breton = "Landreger" + } + b_morlaix = { + breton = "Montroulez" + } + b_roscoff = { + breton = "Rosko" + } + b_plougonven = { + } + b_plourivo = { + breton = "Plourivoù" + } + } + c_penthievre = { + color={ 176 79 24 } + color2={ 255 255 255 } + + breton = "Domnonia" + + b_verdelet = { + breton = "Sentiles" + } + b_st_brieuc = { + breton = "Sant-Brieg" + } + b_monkontour = { + } + b_peran = { + breton = "Sant-Pêran" + } + b_loudeac = { + } + b_paimpol = { + } + b_chatelaudren = { + breton = "Kastellaodren" + } + b_quintin = { + breton = "Kintin" + } + } + c_rennes = { + color={ 106 42 8 } + color2={ 255 255 255 } + + breton = "Roazhon" + + b_rennes = { + breton = "Roazhon" + } + b_fougeres = { + breton = "Felger" + } + b_st_michel = { + breton = "Sant-Mikael" + } + b_st_malo = { + breton = "Sant-Maloù" + } + b_dol = { + } + b_dinan = { + } + b_st_meen = { + breton = "Sant-Méen" + } + b_porhoet = { + } + } + } + } + + k_burgundy = { + color={ 134 0 37 } + color2={ 220 220 0 } + + capital = 221 # Provence + + culture = occitan + + catholic = 5000 # Crusade target weight + + d_provence = { + color={ 145 37 67 } + color2={ 255 255 255 } + + capital = 221 # Provence + + c_provence = { + color={ 149 40 70 } + color2={ 255 255 255 } + + b_arles = { + } + b_aix = { + } + b_marseille = { + } + b_grimaud = { + } + b_frejus = { + } + b_grasse = { + } + b_castellane = { + } + b_tarascon = { + } + } + c_forcalquier = { + color={ 151 42 72 } + color2={ 255 255 255 } + + b_forcalquier = { + } + b_nyons = { + } + b_embrun = { + } + b_sisteron = { + } + b_briancon = { + } + b_vaison = { + } + b_gap = { + } + b_apt = { + } + } + c_venaissin = { + color={ 153 44 74 } + color2={ 255 255 255 } + + b_orange = { + } + b_avignon = { + } + b_cavaillon = { + } + b_venasque = { + } + b_carpentras = { + } + b_chateauneufdupape = { + } + b_stpaul = { + } + b_mondragon = { + } + } + c_nice = { + color={ 147 39 69 } + color2={ 255 255 255 } + + b_nizza = { + } + b_monaco = { + } + b_mentone = { + } + b_antibes = { + } + b_sanremo = { + } + b_campogrosso = { + } + b_lantosque = { + } + b_contes = { + } + } + } + d_savoie = { + color={ 101 8 34 } + color2={ 255 255 255 } + + capital = 237 # Savoie + + c_savoie = { + color={ 107 15 41 } + color2={ 255 255 255 } + + b_savosusa = { + } + b_tarentaise = { + } + b_ciamberi = { + } + b_aosta = { + } + b_pombia = { + } + b_montjovet = { + } + b_vercelli = { + } + b_bussoleno = { + } + } + c_valais = { + color={ 110 18 44 } + color2={ 255 255 255 } + + b_brig = { + } + b_monthey = { + } + b_aigle = { + } + b_martigny = { + } + b_siders = { + } + b_sitten = { + } + b_greyerz = { + } + b_chateaudoex = { + } + } + c_geneve = { + color={ 113 21 47 } + color2={ 255 255 255 } + + b_geneve = { + } + b_romainmotier = { + } + b_nyon = { + } + b_lausanne = { + } + b_echallens = { + } + b_aubonne = { + } + b_orbe = { + } + b_thonon = { + } + } + } + + d_dauphine = { + color={ 115 26 90 } + color2={ 255 255 255 } + + capital = 227 # Lyon + + c_dauphine_viennois = { + color={ 119 30 54 } + color2={ 255 255 255 } + + b_montelimar = { + } + b_vienne = { + } + b_valence = { + } + b_grenoble = { + } + b_chartreuse = { + } + b_albon = { + } + b_stantoine = { + } + b_valreas = { + } + } + c_lyon = { + color={ 123 34 58 } + color2={ 255 255 255 } + + b_brindas = { + } + b_stjeanbaptiste = { + } + b_lyon = { + } + b_anse = { + } + b_chessy = { + } + b_lacenas = { + } + b_pusignan = { + } + b_irigny = { + } + } + c_forez = { + color={ 127 38 62 } + color2={ 255 255 255 } + + b_couzan = { + } + b_montbrison = { + } + b_thiers = { + } + b_feurs = { + } + b_roanne = { + } + b_charlieu = { + } + b_chalmazel = { + } + b_stetienne = { + } + } + c_viviers = { + color={ 12 18 245 } + color2={ 255 255 255 } + + b_aubenas = { + } + b_tournon = { + } + b_viviers = { + } + b_albalaromaine = { + } + b_privas = { + } + b_lecheylard = { + } + b_largentiere = { + } + b_joyeuse = { + } + } + } + d_upper_burgundy = { + color={ 159 20 58 } + color2={ 255 255 255 } + + capital = 135 # Bourgogne + + c_grisons = { + color={ 255 241 230 } + color2={ 255 255 255 } + + b_bellinzona = { + } + b_disentis = { + } + b_locarno = { + } + b_biasca = { + } + b_domo = { + } + b_lugano = { + } + b_musso = { + } + b_mendrisio = { + } + } + + c_neuchatel = { + color={ 163 24 62 } + color2={ 255 255 255 } + + b_neuchatel = { + } + b_stimier = { + } + b_fribourg = { + } + b_grandson = { + } + b_yverdon = { + } + b_estavayer = { + } + b_avences = { + } + b_murten = { + } + } + c_bern = { + color={ 165 26 64 } + color2={ 255 255 255 } + + b_bern = { + } + b_interlaken = { + } + b_luzern = { + } + b_biel = { + } + b_sempach = { + } + b_langenthal = { + } + b_kyburg = { + } + b_sursee = { + } + } + c_schwyz = { + color={ 167 28 66 } + color2={ 255 255 255 } + + b_schwyz = { + } + b_engelberg = { + } + b_zurich = { + } + b_zug = { + } + b_altdorf = { + } + b_stans = { + } + b_glarus = { + } + b_winterthur = { + } + } + c_aargau = { + color={ 169 30 68 } + color2={ 255 255 255 } + + b_aargau = { + } + b_basel = { + } + b_solothurn = { + } + b_habsburg = { + } + b_rheinfelden = { + } + b_schaffhausen = { + } + b_lenzburg = { + } + b_laufenburg = { + } + } + c_besancon = { + color={ 171 32 70 } + color2={ 255 255 255 } + + b_besancon = { + } + b_belfort = { + } + b_vesoul = { + } + b_montbeliard = { + } + b_beaucourt = { + } + b_valdahon = { + } + b_maiche = { + } + b_morteau = { + } + } + } + } +} + +e_spain = { + color={ 233 200 20 } + color2={ 255 255 255 } + + capital = 197 # Toledo + + culture = castillan + + k_leon = { + color = { 253 158 51 } + color2={ 255 255 255 } + + dignity = 1 # One more county than de jure + + capital = 190 # Leon + + culture = castillan + + # Creation/usurpation trigger + allow = { + hidden_tooltip = { + OR = { + ai = no + religion_group = christian + } + } + FROM = { + any_previous_holder = { + always = yes + } + } + } + + catholic = 250 # Crusade target weight + muslim = 25 # Crusade target weight + } + + k_castille = { #Spain + color={ 243 209 23 } + color2={ 200 80 10 } + dignity = 2 # Counted as having 2 more counties than it does + + capital = 199 # Burgos + + culture = castillan + + # Creation/usurpation trigger + allow = { + hidden_tooltip = { + OR = { + ai = no + religion_group = christian + } + } + } + + catholic = 250 # Crusade target weight + muslim = 25 # Crusade target weight + + d_castilla = { + color = { 242 196 12 } + color2={ 255 255 255 } + + capital = 199 # Burgos + + c_burgos = { + color = { 246 200 16 } + color2={ 255 255 255 } + + b_aguilardecampo = { + } + b_burgos = { + } + b_palencia = { + } + b_silos = { + } + b_castrobarte = { + } + b_mirandadeebro = { + } + b_arandadeduero = { + } + b_carrion = { + } + } + c_valladolid = { + color = { 248 202 18 } + color2={ 255 255 255 } + + b_valladolid = { + } + b_tordesillas = { + } + b_segovia = { + } + b_medinadelcampo = { + } + b_simancas = { + } + b_penafiel = { + } + b_iscar = { + } + b_avila = { + } + } + c_soria = { + color = { 250 204 20 } + color2={ 255 255 255 } + + b_soria = { + } + b_osma = { + } + b_almazan = { + } + b_gormaz = { + } + b_castromoro = { + } + b_medinacelli = { + } + b_sanleonardodeyague = { + } + b_covaleda = { + } + } + c_asturias_de_santillana = { + color = { 232 205 25 } + color2={ 255 255 255 } + + b_santander = { + } + b_santillanadelmar = { + } + b_laredo = { + } + b_castrourdiales = { + } + b_santona = { + } + b_reinosa = { + } + b_suances = { + } + b_camargo = { + } + b_sanvicente = { + } + } + } + } + + k_aragon = { + color = { 166 98 22 } + color2={ 230 0 0 } + + capital = 204 # Barcelona + + culture = castillan + + # Creation/usurpation trigger + allow = { + hidden_tooltip = { + OR = { + ai = no + religion_group = christian + } + } + } + + catholic = 250 # Crusade target weight + muslim = 25 # Crusade target weight + + d_aragon = { + color = { 160 90 20 } + color2={ 255 255 255 } + + capital = 202 # Zaragoza + + c_albarracin = { + color = { 166 78 72 } + color2={ 255 255 255 } + + b_albarracin = { + } + b_teruel = { + } + b_hijar = { + } + b_utrillas = { + } + b_calanda = { + } + b_montalban = { + } + b_alcaniz = { + } + b_calamocha = { + } + } + c_alto_aragon = { + color = { 186 70 72 } + color2={ 255 255 255 } + + b_jaca = { + } + b_huesca = { + } + b_barbastro = { + } + b_loarre = { + } + b_ayerbe = { + } + b_almudevar = { + } + b_uncastillo = { + } + b_alquezar = { + } + } + c_zaragoza = { + color = { 170 70 32 } + color2={ 255 255 255 } + + bedouin_arabic = "Saraqusta" + maghreb_arabic = "Saraqusta" + levantine_arabic = "Saraqusta" + egyptian_arabic = "Saraqusta" + andalusian_arabic = "Saraqusta" + + b_alagon = { + } + b_zaragoza = { + bedouin_arabic = "Saraqusta" + maghreb_arabic = "Saraqusta" + levantine_arabic = "Saraqusta" + egyptian_arabic = "Saraqusta" + andalusian_arabic = "Saraqusta" + } + b_veruela = { + } + b_caspe = { + } + b_borja = { + } + b_medianadearagon = { + } + b_ejea = { + } + b_epila = { + } + } + c_calatayud = { + color = { 190 80 30 } + color2={ 255 255 255 } + + b_calatayud = { + } + b_piedra = { + } + b_alhamadearagon = { + } + b_nuevalos = { + } + b_daroca = { + } + b_munebrega = { + } + b_calmarza = { + } + b_cimballa = { + } + } + } + d_barcelona = { + color = { 166 100 72 } + color2={ 255 255 255 } + + capital = 204 # Barcelona + + culture = catalan + + c_barcelona = { + color = { 166 110 72 } + color2={ 255 255 255 } + + bedouin_arabic = "Barshiluna" + maghreb_arabic = "Barshiluna" + levantine_arabic = "Barshiluna" + egyptian_arabic = "Barshiluna" + andalusian_arabic = "Barshiluna" + + b_berga = { + } + b_barcelona = { + bedouin_arabic = "Madinat Barshiluna" + maghreb_arabic = "Madinat Barshiluna" + levantine_arabic = "Madinat Barshiluna" + egyptian_arabic = "Madinat Barshiluna" + andalusian_arabic = "Madinat Barshiluna" + } + b_vic = { + } + b_manresa = { + } + b_osona = { + } + b_igualada = { + } + b_vallparadis = { + } + b_provencana = { + } + } + c_urgell = { + color = { 196 110 60 } + color2={ 255 255 255 } + + b_pallars = { + } + b_urgell = { + } + b_suert = { + } + b_viella = { + } + b_puigcerda = { + } + b_valledebohi = { + } + b_elpuidesegur = { + } + b_tremp = { + } + } + c_rosello = { + color = { 210 140 50 } + color2={ 255 255 255 } + + b_cotlliure = { + } + b_perpinya = { + } + b_elna = { + } + b_cuixa = { + } + b_prada = { + } + b_oltrera = { + } + b_canigo = { + } + b_ceret = { + } + } + c_empuries = { + color = { 150 70 20 } + color2={ 255 255 255 } + + b_empuries = { + } + b_labisbaldemporda = { + } + b_girona = { + } + b_figueras = { + } + b_cerdana = { + } + b_besalu = { + } + b_banyoles = { + } + b_castelldaro = { + } + } + c_lleida = { + color = { 140 90 20 } + color2={ 255 255 255 } + + bedouin_arabic = "Larida" + maghreb_arabic = "Larida" + levantine_arabic = "Larida" + egyptian_arabic = "Larida" + andalusian_arabic = "Larida" + + b_lleida = { + bedouin_arabic = "Larida" + maghreb_arabic = "Larida" + levantine_arabic = "Larida" + egyptian_arabic = "Larida" + andalusian_arabic = "Larida" + } + b_cervera = { + } + b_solsona = { + } + b_agramunt = { + } + b_tarrega = { + } + b_balaguer = { + } + b_borgesblanques = { + } + b_verdu = { + } + } + c_tarragona = { + color = { 186 90 45 } + color2={ 255 255 255 } + + bedouin_arabic = "Turtusha" + maghreb_arabic = "Turtusha" + levantine_arabic = "Turtusha" + egyptian_arabic = "Turtusha" + andalusian_arabic = "Turtusha" + + b_tarragona = { + } + b_spantortosa = { + bedouin_arabic = "Turtusha" + maghreb_arabic = "Turtusha" + levantine_arabic = "Turtusha" + egyptian_arabic = "Turtusha" + andalusian_arabic = "Turtusha" + } + b_cambrils = { + } + b_reus = { + } + b_montblanc = { + } + b_vendrell = { + } + b_amposta = { + } + b_sancugat = { + } + } + } + d_valencia = { + color = { 48 167 45 } + color2={ 255 255 255 } + + capital = 171 # Valencia + + c_castellon = { + color = { 255 242 2 } + color2={ 255 255 255 } + + b_castellon = { + } + b_alpuente = { + } + b_nules = { + } + b_vinaros = { + } + b_morella = { + } + b_vilarreal = { + } + b_burriana = { + } + b_alcalaten = { + } + } + c_valencia = { + color = { 255 244 4 } + color2={ 255 255 255 } + + bedouin_arabic = "Balansiyya" + maghreb_arabic = "Balansiyya" + levantine_arabic = "Balansiyya" + egyptian_arabic = "Balansiyya" + andalusian_arabic = "Balansiyya" + + b_gandia = { + } + b_valencia = { + bedouin_arabic = "Balansiyya" + maghreb_arabic = "Balansiyya" + levantine_arabic = "Balansiyya" + egyptian_arabic = "Balansiyya" + andalusian_arabic = "Balansiyya" + } + b_jativa = { + } + b_cuartdepoblet = { + } + b_alberique = { + } + b_alacuas = { + } + b_torrent = { + } + b_chiva = { + } + } + c_denia = { + color = { 255 246 6 } + color2={ 255 255 255 } + + bedouin_arabic = "Deniyya" + maghreb_arabic = "Deniyya" + levantine_arabic = "Deniyya" + egyptian_arabic = "Deniyya" + andalusian_arabic = "Deniyya" + + b_denia = { + bedouin_arabic = "Deniyya" + maghreb_arabic = "Deniyya" + levantine_arabic = "Deniyya" + egyptian_arabic = "Deniyya" + andalusian_arabic = "Deniyya" + } + b_alicante = { + } + b_elche = { + } + b_villena = { + } + b_orihuela = { + } + b_castalla = { + } + b_albatera = { + } + b_benissa = { + } + } + } + d_mallorca = { + color = { 68 126 72 } + color2={ 255 255 255 } + + capital = 827 # Mallorca + + c_mallorca = { + color = { 255 249 3 } + color2={ 255 255 255 } + + bedouin_arabic = "Mayurqa" + maghreb_arabic = "Mayurqa" + levantine_arabic = "Mayurqa" + egyptian_arabic = "Mayurqa" + andalusian_arabic = "Mayurqa" + + b_alcudia = { + } + b_palma = { + bedouin_arabic = "Madinat Mayurqa" + maghreb_arabic = "Madinat Mayurqa" + levantine_arabic = "Madinat Mayurqa" + egyptian_arabic = "Madinat Mayurqa" + andalusian_arabic = "Madinat Mayurqa" + } + b_algaida = { + } + b_felanitx = { + } + b_santaponsa = { + } + b_eivissa = { + } + b_manacor = { + } + b_formentera = { + } + } + c_menorca = { + color = { 255 252 6 } + color2={ 255 255 255 } + + bedouin_arabic = "Manurqa" + maghreb_arabic = "Manurqa" + levantine_arabic = "Manurqa" + egyptian_arabic = "Manurqa" + andalusian_arabic = "Manurqa" + + b_ciutadella = { + bedouin_arabic = "Madinat al-Jazirah" + maghreb_arabic = "Madinat al-Jazirah" + levantine_arabic = "Madinat al-Jazirah" + egyptian_arabic = "Madinat al-Jazirah" + andalusian_arabic = "Madinat al-Jazirah" + } + b_mahon = { + } + b_alaior = { + } + b_santaagueda = { + } + b_esmercadal = { + } + b_santlluis = { + } + b_ferreries = { + } + b_escastell = { + } + } + } + } + + k_navarra = { + color = { 150 120 5 } + capital = 152 # Navarra + + culture = basque + + # Creation/usurpation trigger + allow = { + hidden_tooltip = { + OR = { + ai = no + AND = { + culture = basque + religion_group = christian + } + } + } + } + + d_navarra = { + color = { 230 198 90 } + color2={ 255 255 255 } + + capital = 152 # Navarra + + c_viscaya = { + color = { 244 198 14 } + color2={ 255 255 255 } + + b_irun = { + } + b_sansebastian = { + } + b_eibar = { + } + b_onate = { + } + b_tolosa = { + } + b_bilbao = { + } + b_vitoria = { + } + b_guernica = { + } + } + + c_navarra = { + color = { 255 200 2 } + color2={ 255 255 255 } + + b_pamplona = { + } + b_leyre = { + } + b_tudela = { + } + b_tafalla = { + } + b_olite = { + } + b_carcastillo = { + } + b_sanguesa = { + } + b_estella = { + } + } + c_najera = { + color = { 255 202 3 } + color2={ 255 255 255 } + + b_haro = { + } + b_logrone = { + } + b_calahorra = { + } + b_najera = { + } + b_arnedo = { + } + b_alfara = { + } + b_zizurmayor = { + } + b_santodomingodelacalzada = { + } + } + } + } + + k_asturias = { + color = { 233 188 91 } + color2={ 255 255 255 } + + dignity = 10 + + capital = 155 # Asturias de Oviedo + + culture = castillan + + # Creation/usurpation trigger + allow = { + k_leon = { + has_holder = no + NOT = { + any_previous_holder = { + always = yes + } + } + } + } + + catholic = 250 # Crusade target weight + muslim = 25 # Crusade target weight + + d_asturias = { + color = { 233 188 91 } + color2={ 255 255 255 } + + capital = 155 # Asturias + + c_asturias_de_oviedo = { + color = { 233 158 51 } + color2={ 255 255 255 } + + b_oviedo = { + } + b_gijon = { + } + b_cangasdeonis = { + } + b_tineo = { + } + b_cangasdelnarcea = { + } + b_villaviciosa = { + } + b_luarca = { + } + b_norena = { + } + } + c_astorga = { + color = { 243 158 51 } + color2={ 255 255 255 } + + b_ponferrada = { + } + b_bembibre = { + } + b_ribadelago = { + } + b_cacabelos = { + } + b_fabero = { + } + b_camponaraya = { + } + b_toreno = { + } + b_astorga = { + } + } + } + d_leon = { + color = { 253 158 51 } + color2={ 255 255 255 } + + capital = 190 # Leon + + c_leon = { + color = { 253 158 51 } + color2={ 255 255 255 } + + b_leon = { + } + b_valenciadecampos = { + } + b_villablino = { + } + b_sanpedrodeperix = { + } + b_saldana = { + } + b_sahagun = { + } + b_larobla = { + } + b_cistierna = { + } + } + c_zamora = { + color = { 253 138 51 } + color2={ 255 255 255 } + + b_zamora = { + } + b_benavente = { + } + b_fermoselle = { + } + b_toro = { + } + b_sanabria = { + } + b_corrales = { + } + b_fuentesauco = { + } + b_polvorosa = { + } + } + c_salamanca = { + color = { 253 128 31 } + color2={ 255 255 255 } + + b_salbejar = { + } + b_salamanca = { + } + b_ciudadrodrigo = { + } + b_bracamonte = { + } + b_albadetormes = { + } + b_terradillos = { + } + b_carbajosadelasagrada = { + } + b_lumbrales = { + } + } + } + } + + k_spanish_galicia = { + color={ 255 224 94 } + capital = 156 # Coruña + + culture = portuguese + + # Creation/usurpation trigger + allow = { + hidden_tooltip = { + OR = { + ai = no + religion_group = christian + } + } + } + + catholic = 250 # Crusade target weight + muslim = 25 # Crusade target weight + + d_galicia = { + color={ 255 224 94 } + color2={ 255 255 255 } + + capital = 156 # Coruna + + c_coruna = { + color = { 183 118 51 } + color2={ 255 255 255 } + + b_corunna = { + } + b_mondonedo = { + } + b_lugo = { + } + b_ferrol = { + } + b_villalba = { + } + b_viveiro = { + } + b_burela = { + } + b_triacastela = { + } + } + c_santiago = { + color = { 243 158 51} + color2={ 255 255 255 } + + holy_site = catholic + + b_santiago = { + } + b_vigo = { + } + b_pontevedra = { + } + b_tuy = { + } + b_ourense = { + } + b_verin = { + } + b_padron = { + } + b_vilagarcia = { + } + } + } + } + + k_portugal = { + color={ 182 88 5 } + color2={ 255 255 255 } + + capital = 160 # Lisboa + + culture = portuguese + + catholic = 250 # Crusade target weight + muslim = 25 + west_african_pagan_reformed = 25 + + # Creation/usurpation trigger + allow = { + hidden_tooltip = { + OR = { + ai = no + religion_group = christian + } + } + } + + d_porto = { + color = { 182 108 45 } + color2={ 255 255 255 } + + capital = 158 # porto + + culture = portuguese + + c_porto = { + color = { 182 88 5 } + color2={ 255 255 255 } + + b_braga = { + } + b_porto = { + } + b_guimaraes = { + } + b_vianadocastelo = { + } + b_pontedelima = { + } + b_barcelos = { + } + b_arcosdevaldevez = { + } + b_moncao = { + } + } + c_braganza = { + color = { 182 98 5 } + color2={ 255 255 255 } + + b_braganza = { + } + b_chaves = { + } + b_vilareal = { + } + b_torredemoncorvo = { + } + b_mogadouro = { + } + b_castelomelhor = { + } + b_castelorodrigo = { + } + b_azinhoso = { + } + } + c_castelo_branco = { + color = { 182 78 5 } + color2={ 255 255 255 } + + b_castelobranco = { + } + b_guarda = { + } + b_covilha = { + } + b_acores = { + } + b_trancoso = { + } + b_sabugal = { + } + b_pinhel = { + } + b_almeida = { + } + } + c_coimbra = { + color = { 182 88 25 } + color2={ 255 255 255 } + + bedouin_arabic = "Qulumriyah" + maghreb_arabic = "Qulumriyah" + levantine_arabic = "Qulumriyah" + egyptian_arabic = "Qulumriyah" + andalusian_arabic = "Qulumriyah" + + b_coimbra = { + bedouin_arabic = "Qulumriyah" + maghreb_arabic = "Qulumriyah" + levantine_arabic = "Qulumriyah" + egyptian_arabic = "Qulumriyah" + andalusian_arabic = "Qulumriyah" + } + b_viseu = { + } + b_aveiro = { + } + b_pedondo = { + } + b_cantanhede = { + } + b_condeixa = { + } + b_montereal = { + } + b_penela = { + } + } + } + + d_beja = { + color = { 182 98 5 } + color2={ 255 255 255 } + + capital = 160 #Lisboa + + c_lisboa = { + color = { 182 88 5 } + color2={ 255 255 255 } + + bedouin_arabic = "Lishbuna" + maghreb_arabic = "Lishbuna" + levantine_arabic = "Lishbuna" + egyptian_arabic = "Lishbuna" + andalusian_arabic = "Lishbuna" + + b_lisboa = { + bedouin_arabic = "Lishbuna" + maghreb_arabic = "Lishbuna" + levantine_arabic = "Lishbuna" + egyptian_arabic = "Lishbuna" + andalusian_arabic = "Lishbuna" + } + b_alcobaca = { + } + b_setubal = { + } + b_batalha = { + } + b_alenquer = { + } + b_santarem = { + } + b_atouguia = { + } + b_tomar = { + } + } + c_evora = { + color = { 182 68 5 } + color2={ 255 255 255 } + + b_avis = { + } + b_evora = { + } + b_portalegre = { + } + b_marvao = { + } + b_castelodevide = { + } + b_crato = { + } + b_monforte = { + } + b_ouguela = { + } + } + c_alcacer_do_sal = { + color = { 182 105 5 } + color2={ 255 255 255 } + + b_alcacerdosal = { + } + b_alcacovas = { + } + b_espinheiro = { + } + b_montemoronovo = { + } + b_alvito = { + } + b_santiagodocacem = { + } + b_sines = { + } + b_grandola = { + } + } + c_mertola = { + color = { 182 60 5 } + color2={ 255 255 255 } + + b_mertola = { + } + b_beja = { + } + b_monsaraz = { + } + b_noudal = { + } + b_moura = { + } + b_portel = { + } + b_serpa = { + } + b_mourao = { + } + } + } + d_algarve = { + color = { 202 88 5 } + color2={ 255 255 255 } + + capital = 163 # Faro + + c_silves = { + color = { 192 80 15 } + color2={ 255 255 255 } + + bedouin_arabic = "Shlib" + maghreb_arabic = "Shlib" + levantine_arabic = "Shlib" + egyptian_arabic = "Shlib" + andalusian_arabic = "Shlib" + + b_aljustrel = { + } + b_silves = { + bedouin_arabic = "Shlib" + maghreb_arabic = "Shlib" + levantine_arabic = "Shlib" + egyptian_arabic = "Shlib" + andalusian_arabic = "Shlib" + } + b_lagos = { + } + b_castroverde = { + } + b_odemira = { + } + b_ourique = { + } + b_monchique = { + } + b_almodovar = { + } + } + c_faro = { + color = { 192 98 5 } + color2={ 255 255 255 } + + bedouin_arabic = "Uhshunubah" + maghreb_arabic = "Uhshunubah" + levantine_arabic = "Uhshunubah" + egyptian_arabic = "Uhshunubah" + andalusian_arabic = "Uhshunubah" + + b_faro = { + bedouin_arabic = "Harun" + maghreb_arabic = "Harun" + levantine_arabic = "Harun" + egyptian_arabic = "Harun" + andalusian_arabic = "Harun" + } + b_loule = { + } + b_tavira = { + } + b_castromarim = { + } + b_alcoutim = { + } + b_aljezur = { + } + b_saobrasdealportel = { + } + b_olhao = { + } + } + } + } + + k_andalusia = { + color = { 31 138 40 } + color2={ 255 255 255 } + + capital = 181 # Cordoba + + culture = andalusian_arabic + + catholic = 100 # Crusade target weight + muslim = 50 # Crusade target weight + west_african_pagan_reformed = 50 + + allow = { + hidden_tooltip = { + OR = { + ai = no + culture_group = arabic + } + } + } + + d_cordoba = { + color = { 60 180 12 } + color2={ 255 255 255 } + + capital = 181 # Cordoba + + c_cordoba = { + color = { 246 216 16 } + color2={ 255 255 255 } + + bedouin_arabic = "Qurtubah" + maghreb_arabic = "Qurtubah" + levantine_arabic = "Qurtubah" + egyptian_arabic = "Qurtubah" + andalusian_arabic = "Qurtubah" + + holy_site = sunni + holy_site = aztec + holy_site = aztec_reformed + + b_cordoba = { + bedouin_arabic = "Qurtubah" + maghreb_arabic = "Qurtubah" + levantine_arabic = "Qurtubah" + egyptian_arabic = "Qurtubah" + andalusian_arabic = "Qurtubah" + } + b_alcolea = { + } + b_cabra = { + } + b_andujar = { + } + b_lucena = { + } + b_martos = { + } + b_belalcazar = { + } + b_canetedelastorres = { + } + } + c_la_mancha = { + color = { 250 220 20 } + color2={ 255 255 255 } + + b_alarcon = { + } + b_laroda = { + } + b_tarazona = { + } + b_quintanardelrey = { + } + b_lagineta = { + } + b_barrax = { + } + b_munera = { + } + b_jorquera = { + } + } + c_calatrava = { + color = { 254 224 24 } + color2={ 255 255 255 } + + b_calatrava = { + } + b_villareal = { + } + b_caracuel = { + } + b_alcazardesanjuan = { + } + b_alarcos = { + } + b_medellin = { + } + b_almadeo = { + } + b_almodovardelcampo = { + } + } + } + d_murcia = { + color = { 16 229 33 } + color2={ 255 255 255 } + + capital = 169 # Murcia + + c_almansa = { + color = { 244 225 14 } + color2={ 255 255 255 } + + b_almansa = { + } + b_albacete = { + } + b_hellin = { + } + b_caudete = { + } + b_villarrobledo = { + } + b_alcaladeljucar = { + } + b_pozocanada = { + } + b_tobarra = { + } + } + c_murcia = { + color = { 246 227 16 } + color2={ 255 255 255 } + + bedouin_arabic = "Mursiya" + maghreb_arabic = "Mursiya" + levantine_arabic = "Mursiya" + egyptian_arabic = "Mursiya" + andalusian_arabic = "Mursiya" + + b_murcia = { + bedouin_arabic = "Mursiya" + maghreb_arabic = "Mursiya" + levantine_arabic = "Mursiya" + egyptian_arabic = "Mursiya" + andalusian_arabic = "Mursiya" + } + b_cartagena = { + } + b_lorca = { + } + b_alcantarilla = { + } + b_medinasiyasa = { + } + b_molinalaseca = { + } + b_yecla = { + } + b_nogalte = { + } + } + } + d_granada = { + color = { 40 150 40 } + color2={ 255 255 255 } + + capital = 180 # Granada + + c_granada = { + color = { 245 242 15 } + color2={ 255 255 255 } + + b_jaen = { + } + b_granada = { + } + b_elvira = { + } + b_baeza = { + } + b_moclin = { + } + b_iznajar = { + } + b_guadix = { + } + b_huelma = { + } + } + c_almeria = { + color = { 248 245 18 } + color2={ 255 255 255 } + + b_pechina = { + } + b_almeria = { + } + b_baza = { + } + b_berja = { + } + b_motril = { + } + b_albox = { + } + b_purchena = { + } + b_vera = { + } + } + c_malaga = { + color = { 251 248 21 } + color2={ 255 255 255 } + + b_antequera = { + } + b_malaga = { + } + b_benalmadena = { + } + b_tamisa = { + } + b_coin = { + } + b_suel = { + } + b_cartajima = { + } + b_velezmalaga = { + } + } + } + d_sevilla = { + color = { 150 218 21 } + color2={ 255 255 255 } + + capital = 182 # Sevilla + + c_sevilla = { + color = { 232 200 25 } + color2={ 255 255 255 } + + b_carmona = { + } + b_sevilla = { + } + b_ecija = { + } + b_sevimoron = { + } + b_alcaladeguadaira = { + } + b_doshermanas = { + } + b_laalgaba = { + } + b_utrera = { + } + } + c_cadiz = { + color = { 236 204 29 } + color2={ 255 255 255 } + + b_jerez = { + } + b_cadiz = { + } + b_medinasidonia = { + } + b_arcos = { + } + b_sanjosedelvalle = { + } + b_sanlucadebarrameda = { + } + b_sanfernando = { + } + b_alcaladelosgazules = { + } + } + c_algeciras = { + color = { 240 208 33 } + color2={ 255 255 255 } + + b_gibraltar = { + } + b_algericas = { + } + b_ronda = { + } + b_sanroque = { + } + b_tarifa = { + } + b_estepona = { + } + b_jimenadelafrontera = { + } + b_casares = { + } + } + c_aracena = { + color = { 244 212 37 } + color2={ 255 255 255 } + + b_aracena = { + } + b_italica = { + } + b_almonasterlareal = { + } + b_calanas = { + } + b_cortegana = { + } + b_facanias = { + } + b_alajar = { + } + b_galaroza = { + } + } + c_niebla = { + color = { 248 216 41 } + color2={ 255 255 255 } + + b_huelva = { + } + b_niebla = { + } + b_lepe = { + } + b_gibraleon = { + } + b_nerva = { + } + b_moguer = { + } + b_almonte = { + } + b_aljaraque = { + } + } + } + d_badajoz = { + color = { 138 243 51 } + color2={ 255 255 255 } + + capital = 184 # Badajoz + + c_plasencia = { + color = { 228 230 23 } + color2={ 255 255 255 } + + b_hervas = { + } + b_plasencia = { + } + b_jaraiz = { + } + b_lazarza = { + } + b_montehermoso = { + } + b_ventadelmoral = { + } + b_jarandilla = { + } + b_talayuela = { + } + } + c_alcantara = { + color = { 230 232 25 } + color2={ 255 255 255 } + + b_alcantara = { + } + b_coria = { + } + b_moraleja = { + } + b_brozas = { + } + b_lamata = { + } + b_racharachel = { + } + b_lasnavasdelmadrono = { + } + b_ceclavin = { + } + } + c_caceres = { + color = { 232 234 27 } + color2={ 255 255 255 } + + b_caceres = { + } + b_guadalupe = { + } + b_trujillo = { + } + b_alburquerque = { + } + b_alia = { + } + b_arroyodelalluz = { + } + b_logrosan = { + } + b_alcuescar = { + } + } + c_badajoz = { + color = { 234 236 29 } + color2={ 255 255 255 } + + b_jerezdeloscaballeros = { + } + b_badajoz = { + } + b_merida = { + } + b_zafra = { + } + b_almendralejo = { + } + b_villalbadelosbarros = { + } + b_guarena = { + } + b_fuentedelmaestre = { + } + } + } + d_toledo = { + color = { 212 151 12 } + color2={ 255 255 255 } + + capital = 197 # Toledo + + c_toledo = { + color = { 245 204 15 } + color2={ 255 255 255 } + + bedouin_arabic = "Tulaytulah" + maghreb_arabic = "Tulaytulah" + levantine_arabic = "Tulaytulah" + egyptian_arabic = "Tulaytulah" + andalusian_arabic = "Tulaytulah" + + b_madrid = { + } + b_toledo = { + bedouin_arabic = "Tulaytulah" + maghreb_arabic = "Tulaytulah" + levantine_arabic = "Tulaytulah" + egyptian_arabic = "Tulaytulah" + andalusian_arabic = "Tulaytulah" + } + b_orgaz = { + } + b_tolemora = { + } + b_talavera = { + } + b_consuegra = { + } + b_fuensalida = { + } + b_illescas = { + } + } + c_molina = { + color = { 248 207 18 } + color2={ 255 255 255 } + + b_hinojosa = { + } + b_molina = { + } + b_elpedregal = { + } + b_pinilla = { + } + b_cabanillasdelcampo = { + } + b_elcasar = { + } + b_maranchon = { + } + b_olmeda = { + } + } + c_cuenca = { + color = { 251 210 21 } + color2={ 255 255 255 } + + bedouin_arabic = "Kunka" + maghreb_arabic = "Kunka" + levantine_arabic = "Kunka" + egyptian_arabic = "Kunka" + andalusian_arabic = "Kunka" + + b_siguenza = { + } + b_cuenca = { + bedouin_arabic = "Kunka" + maghreb_arabic = "Kunka" + levantine_arabic = "Kunka" + egyptian_arabic = "Kunka" + andalusian_arabic = "Kunka" + } + b_guadalajara = { + } + b_ucles = { + } + b_laspedroneras = { + } + b_villanuevadelajara = { + } + b_tarancon = { + } + b_sisante = { + } + b_motadelcuervo = { + } + } + } + } +} + +e_arabia = { + color={ 32 150 85 } + color2={ 255 255 255 } + + capital = 728 # Damascus + + culture = bedouin_arabic + + allow = { + hidden_tooltip = { + OR = { + ai = no + culture_group = arabic + } + } + } + + short_name = yes + + k_israel = { + color = { 20 138 255 } + + title = "KING" + title_female = "QUEEN" + + dynasty_title_names = no # Will not be named "Seljuk", etc. + + allow = { + always = no # Only created through special event + } + } + + k_arabia = { + color={ 124 199 50 } + color2={ 255 255 255 } + + capital = 719 # Mecca + + culture = bedouin_arabic + + muslim = 4000 # Crusade target weight + zoroastrian_group = 500 # Crusade target weight + + d_arabia_petrae = { + color={ 121 196 2 } + color2={ 255 255 255 } + + capital = 722 # Petra + + c_al_aqabah = { + color={ 124 199 5 } + color2={ 255 255 255 } + + b_aqabah = { + } + b_reeshah = { + } + b_quwairah = { + } + b_mazraa = { + } + b_feifa = { + } + b_samar = { + } + b_elifaz = { + } + b_yotvata = { + } + } + c_ar_ar = { # Shaka + color={ 97 208 137 } + color2={ 255 255 255 } + + b_shaka = { + } + b_ammaryah = { + } + b_dumat_al_jundal = { + } + b_umm_kunsur = { + } + b_ruthiyah = { + } + b_qasa = { + } + b_uwayquilah = { + } + b_judaidah = { + } + } + c_maan = { + color={ 127 202 8 } + color2={ 255 255 255 } + + b_maan = { + } + b_mutah = { + } + b_shubak = { + } + b_maanaljafr = { + } + b_buseira = { + } + b_maanalhasa = { + } + b_afra = { + } + b_bubeita = { + } + } + c_tabuk = { + color={ 130 205 11 } + color2={ 255 255 255 } + + b_tabuk = { + } + b_duba = { + } + b_mariyiat = { + } + b_muwaylih = { + } + b_abu_ujayyijat = { + } + b_gabouk = { + } + b_shaghab = { + } + b_sharmah = { + } + } + c_petra = { + color={ 133 208 14 } + color2={ 255 255 255 } + + b_tophel = { + } + b_petra = { + } + b_wadi_musa = { + } + b_bozrah = { + } + b_shoubak = { + } + b_abdelliya = { + } + b_hamza = { + } + b_husseiniya = { + } + } + } + d_medina = { + color={ 150 249 43 } + color2={ 255 255 255 } + + capital = 719 # Mecca +# capital = 718 # Medina + + muslim = 500 # Crusade target weight + + c_al_jawf = { + color={ 154 253 47 } + color2={ 255 255 255 } + + b_al_jawf = { + } + b_sakakah = { + } + b_aladan = { + } + b_dumat_al_jandal = { + } + b_radifah = { + } + b_tuwayr = { + } + b_tyer = { + } + b_qurayyat = { + } + } + c_hijaz = { + color={ 158 253 51 } + color2={ 255 255 255 } + + b_al_ola = { + } + b_tayma = { + } + b_leuke_kome = { + } + b_higra = { + } + b_madain_salih = { + } + b_mughayra = { + } + b_samur = { + } + b_tawala = { + } + } + c_medina = { + color={ 162 253 55 } + color2={ 255 255 255 } + + muslim = 500 # Crusade target weight + + holy_site = sunni + holy_site = shiite + holy_site = ibadi + + b_medina = { + } + b_khaybar = { + } + b_rabig = { + } + b_yanbu = { + } + b_kuba = { + } + b_farsh = { + } + b_sidi_hamzah = { + } + b_milha = { + } + } + c_mecca = { + color={ 166 253 59 } + color2={ 255 255 255 } + + muslim = 1000 # Crusade target weight + + holy_site = sunni + holy_site = shiite + holy_site = pagan + holy_site = yazidi + holy_site = ibadi + + b_mecca = { + } + b_jeddah = { + } + b_taif = { + } + b_al_johfa = { + } + b_turubah = { + } + b_al_lith = { + } + b_jmumum = { + } + b_qunfudhah = { + } + } + c_asir = { + color={ 170 253 63 } + color2={ 255 255 255 } + + b_kamaran = { + } + b_bahah = { + } + b_najran = { + } + b_sadah = { + } + b_hajjah = { + } + b_hamr = { + } + b_huth = { + } + b_abs = { + } + } + } + d_sanaa = { + color={ 63 119 0 } + color2={ 255 255 255 } + + capital = 860 # Sanaa + + c_bayda = { + color={ 132 251 45 } + color2={ 255 255 255 } + + b_bayda = { + } + b_habban = { + } + b_ashshubaykah = { + } + b_timna = { + } + b_ataq = { + } + b_zinjibar = { + } + b_alkhabr = { + } + b_yashbum = { + } + } + c_sanaa = { + color={ 134 253 47 } + color2={ 255 255 255 } + + b_sanaa = { + } + b_marib = { + } + b_qataba = { + } + b_dhamar = { + } + b_jabalannabishuayb = { + } + b_jabaltiyal = { + } + b_hodeida = { + } + b_harib = { + } + } + c_taizz = { + color={ 136 255 49 } + color2={ 255 255 255 } + + b_ibb = { + } + b_mocha = { + } + b_taizz = { + } + b_zafar = { + } + b_perim = { + } + b_shuqra = { + } + b_jibla = { + } + b_dhisufal = { + } + } + c_aden = { + color={ 138 255 51 } + color2={ 255 255 255 } + + b_aden = { + } + b_lahej = { + } + b_dhala = { + } + b_alawbhali = { + } + b_jaar = { + } + b_alkawd = { + } + b_almilah = { + } + b_alarbadi = { + } + } + c_kathiri = { + color={ 140 255 53 } + color2={ 255 255 255 } + + b_shabwa = { + } + b_lodar = { + } + b_qana = { + } + b_seiyun = { + } + b_mukalla = { + } + b_shihar = { + } + b_nisab = { + } + b_azzan = { + } + } + c_socotra = { + color={ 142 255 55 } + color2={ 255 255 255 } + + b_qualnsiyah = { + } + b_tamrida = { + } + b_qadub = { + } + b_steroh = { + } + b_asma = { + } + b_siqirah = { + } + b_qashiu = { + } + } + } + d_oman = { + color={ 93 196 2 } + color2={ 255 255 255 } + + capital = 868 # Muscat + + c_dhu_zabi = { + color={ 96 199 5 } + color2={ 255 255 255 } + + b_sohar = { + } + b_dibba = { + } + b_qutuf = { + } + b_dhuzabi = { + } + b_khorfakkan = { + } + b_dubai = { + } + b_julfar = { + } + b_sharjah = { + } + } + c_hajar = { + color={ 98 201 7 } + color2={ 255 255 255 } + + holy_site = ibadi + + b_alhamra = { + } + b_nizwa = { + } + b_ibri = { + } + b_jabrin = { + } + b_rustaq = { + } + b_haran = { + } + b_masruq = { + } + b_yanqui = { + } + } + c_muscat = { + color={ 100 203 9 } + color2={ 255 255 255 } + + b_muscat = { + } + b_sur = { + } + b_samail = { + } + b_adam = { + } + b_ibra = { + } + b_sabt = { + } + b_lizq = { + } + b_shiya = { + } + } + c_duqm = { + color={ 102 205 11 } + color2={ 255 255 255 } + + b_duqm = { + } + b_aljazir = { + } + b_bank = { + } + b_harima = { + } + b_nimr = { + } + b_mahut = { + } + b_hubara = { + } + b_masirah = { + } + } + c_dhofar = { + color={ 104 207 13 } + color2={ 255 255 255 } + + holy_site = jewish + holy_site = samaritan + holy_site = karaite + + b_salalah = { + } + b_thamarit = { + } + b_raysut = { + } + b_amal = { + } + b_shisr = { + } + b_dawkah = { + } + b_durrah = { + } + b_harzan = { + } + } + c_mahra = { + color={ 106 209 15 } + color2={ 255 255 255 } + + b_ghaydah = { + } + b_nishtun = { + } + b_damqwat = { + } + b_qishn = { + } + b_haswayn = { + } + b_itab = { + } + b_alkurah = { + } + b_alhalya = { + } + } + } + d_nefoud = { + color={ 17 228 10 } + color2={ 255 255 255 } + + capital = 863 # Hajr + + c_rafha = { + color={ 174 253 67 } + color2={ 255 255 255 } + + b_rafha = { + } + b_aljumaymah = { + } + b_timiat = { + } + b_markuz = { + } + b_lawqah = { + } + b_duwayd = { + } + b_uwayqilah = { + } + b_ashshir = { + } + } + c_hail = { + color={ 178 253 71 } + color2={ 255 255 255 } + + b_hail = { + } + b_asshinan = { + } + b_alghazalah = { + } + b_baqa = { + } + b_iqdah = { + } + b_mawqaq = { + } + b_murayfiq = { + } + b_saban = { + } + } + c_hajr = { + color={ 182 253 75 } + color2={ 255 255 255 } + + b_alhudaydah = { + } + b_assalif = { + } + b_almaqah = { + } + b_abha = { + } + b_khamismushait = { + } + b_bisha = { + } + b_baljurashi = { + } + b_jizan = { + } + } + c_halaban = { + color={ 186 253 79 } + color2={ 255 255 255 } + + b_afif = { + } + b_badaiidyan = { + } + b_alqaiyah = { + } + b_aljammaniyah = { + } + b_albijadiyah = { + } + b_almaklah = { + } + b_albaharah = { + } + b_arradum = { + } + } + } + d_amman = { + color = { 32 127 30 } + color2={ 255 255 255 } + + capital = 652 # Al Hasa + + c_damman = { + color = { 30 132 37 } + color2={ 255 255 255 } + + b_avan = { + } + b_najmah = { + } + b_qatif = { + } + b_damman = { + } + b_jubail = { + } + b_alaba = { + } + b_alhinnah = { + } + b_abuhadriya = { + } + } + c_al_hasa = { + color = { 30 112 20 } + color2={ 255 255 255 } + + b_alhasa = { + } + b_holuf = { + } + b_foda = { + } + b_khobar = { + } + b_almubarraz = { + } + b_aloyoon = { + } + b_alomran = { + } + b_ghunan = { + } + b_abqaiq = { + } + } + c_bahrein = { + color = { 20 99 30 } + color2={ 255 255 255 } + + b_muharraq = { + } + b_manama = { + } + b_umm_al_nasan = { + } + b_sitra = { + } + b_jidda = { + } + b_ummalsabaan = { + } + b_hamala = { + } + b_aldur = { + } + } + } + } + + k_egypt = { + color={ 10 255 80 } + color2={ 255 255 255 } + + capital = 796 # Cairo + + culture = egyptian_arabic + + orthodox = 20 # Crusade target weight + muslim = 400 # Crusade target weight + zoroastrian_group = 100 # Crusade target weight + zun_pagan_reformed = 100 # Crusade target weight + jewish_group = 500 # Crusade target weight + + d_alexandria = { + color={ 100 219 134 } + color2={ 255 255 255 } + + capital = 802 # Alexandria + + c_alexandria = { + color={ 102 221 136 } + color2={ 255 255 255 } + + holy_site = miaphysite + holy_site = monophysite + holy_site = hellenic_pagan + holy_site = nestorian + + b_alexandria = { + pentarchy = yes + } + b_abukir = { + } + b_damanhur = { + } + b_hammam = { + } + b_naucratis = { + } + b_burgelarab = { + } + b_marabout = { + } + b_elkanoun = { + } + } + c_al_alamayn = { + color={ 104 223 138 } + color2={ 255 255 255 } + + b_elalamein = { + } + b_mersamatruh = { + } + b_sidibarrani = { + } + b_fuka = { + } + b_katabathmos = { + } + b_ghazal = { + } + b_paraitonion = { + } + b_shammas = { + } + } + c_quattara = { + color={ 106 225 140 } + color2={ 255 255 255 } + + b_siwa = { + } + b_quattara = { + } + b_caraoasis = { + } + b_qaretagnes = { + } + b_abdannabi = { + } + b_dayr = { + } + b_alamelshwawish = { + } + b_ziwaelbahari = { + } + } + c_gizeh = { + color={ 110 229 144 } + color2={ 255 255 255 } + + b_gizeh = { + } + b_aburowash = { + } + b_dashur = { + } + b_zawyetalayran = { + } + b_abughorob = { + } + b_abusir = { + } + b_saqqara = { + } + b_ellisht = { + } + } + } + d_damietta = { + color={ 3 255 74 } + color2={ 255 255 255 } + + capital = 798 # Damietta + + c_gabiyaha = { + color={ 6 255 77 } + color2={ 255 255 255 } + + b_rosetta = { + } + b_sais = { + } + b_fuwa = { + } + b_xois = { + } + b_hermopolis = { + } + b_buto = { + } + b_disuq = { + } + b_mutubis = { + } + } + c_delta = { + color={ 9 255 80 } + color2={ 255 255 255 } + + b_damietta = { + } + b_burlus = { + } + b_saramsah = { + } + b_burah = { + } + b_fareskur = { + } + b_baramun = { + } + b_tanis = { + } + b_shirbin = { + } + } + c_pelusia = { + color={ 12 255 83 } + color2={ 255 255 255 } + + b_pelusia = { + } + b_tinis = { + } + b_alsalihiyah = { + } + b_sile = { + } + b_ismaillia = { + } + b_said = { + } + b_pithom = { + } + b_serapeum = { + } + } + c_manupura = { + color={ 15 255 86 } + color2={ 255 255 255 } + + b_manusura = { + } + b_almahallah = { + } + b_bilbays = { + } + b_zagazig = { + } + b_athribis = { + } + b_bubastis = { + } + b_qantir = { + } + b_busiris = { + } + } + } + d_cairo = { + color={ 20 232 115 } + color2={ 255 255 255 } + + capital = 796 # Cairo + + zun_pagan_reformed = 50 # Crusade target weight + + c_cairo = { + color={ 24 236 119 } + color2={ 255 255 255 } + + holy_site = zun_pagan + holy_site = zun_pagan_reformed + + b_cairo = { + } + b_fustat = { + } + b_memphis = { + } + b_helwan = { + } + b_heliopolis = { + } + b_maadi = { + } + b_tekkekyahudiyya = { + } + b_merimdabenisalama = { + } + } + c_sarqihya = { + color={ 28 240 123 } + color2={ 255 255 255 } + + b_sarqinya = { + } + b_clysma = { + } + b_atfih = { + } + b_taufiq = { + } + b_agruda = { + } + b_shallufa = { + } + b_alhaifar = { + } + b_suez = { + } + } + } + d_aswan = { + color={ 41 188 120 } + color2={ 255 255 255 } + + capital = 794 # Aswan + + c_aswan = { + color={ 43 190 122 } + color2={ 255 255 255 } + + b_aswan = { + } + b_elefantina = { + } + b_shellal = { + } + b_bigeh = { + } + b_veset = { + } + b_philae = { + } + b_kalabsha = { + } + b_edfu = { + } + } + c_buhairya = { + color={ 108 227 142 } + color2={ 255 255 255 } + + b_buhairya = { + } + b_mut = { + } + b_qasrfarfra = { + } + b_elkharga = { + } + b_baris = { + } + b_budhkula = { + } + b_abuminqar = { + } + b_ismant = { + } + } + c_quena = { + color={ 32 244 127 } + color2={ 255 255 255 } + + b_quena = { + } + b_kosseir = { + } + b_qus = { + } + b_abughusun = { + } + b_safaga = { + } + b_qift = { + } + b_ummrus = { + } + } + c_asyut = { + color={ 36 248 131 } + color2={ 255 255 255 } + + b_asyut = { + } + b_kusai = { + } + b_durunka = { + } + b_egypthebes = { + } + b_egypabydos = { + } + b_wannina = { + } + b_beitkhallaf = { + } + b_luxor = { + } + b_meir = { + } + } + } + + d_sinai = { + color={ 88 99 2 } + color2={ 255 255 255 } + + capital = 788 # Farama + + c_farama = { + color={ 141 198 5 } + color2={ 255 255 255 } + + b_farama = { + } + b_sin = { + } + b_seyan = { + } + b_romani = { + } + b_birqatia = { + } + b_birelabd = { + } + b_zaaraniq = { + } + b_mustabiq = { + } + } + c_sinai = { + color={ 143 201 8 } + color2={ 255 255 255 } + + holy_site = jewish + holy_site = samaritan + holy_site = karaite + + b_attur = { + } + b_sharmelsheikh = { + } + b_mamlah = { + } + b_nuweiba = { + } + b_sinbarqa = { + } + b_dahab = { + } + b_jabalsamra = { + } + b_nabq = { + } + } + c_eilat = { + color={ 145 203 10 } + color2={ 255 255 255 } + + b_eilat = { + } + b_yahel = { + } + b_lotan = { + } + b_ketura = { + } + b_sapir = { + } + b_urim = { + } + b_tzofar = { + } + b_eliot = { + } + } + c_el-arish = { + color={ 147 205 12 } + color2={ 255 255 255 } + + b_arish = { + } + b_tukkot = { + } + b_kharruba = { + } + b_masyada = { + } + b_birelhamma = { + } + b_mitmatna = { + } + b_abuaweigila = { + } + b_zuwayid = { + } + } + } + } + + k_jerusalem = { + color={ 180 180 180 } + color2={ 255 255 255 } + + capital = 774 # Jerusalem + + assimilate = no # Duchies cannot de jure drift OUT of this title + + culture = levantine_arabic + + # Creation/Usurp Trigger + allow = { + religion_group = christian + } + + # Creation Effect + gain_effect = { + if = { + limit = { NOT = { has_global_flag = created_jerusalem } } + prestige = 5000 + piety = 2000 + set_global_flag = created_jerusalem + } + } + + christian = 500 # Crusade target weight + muslim = 250 # Crusade target weight + zoroastrian_group = 200 # Crusade target weight + jewish_group = 3000 # Crusade target weight + + d_oultrejourdain = { + color={ 190 190 180 } + color2={ 255 255 255 } + + capital = 723 # Madaba + + c_negev = { + color={ 190 180 165 } + color2={ 255 255 255 } + + b_negev = { + } + b_yeruham = { + } + b_dimona = { + } + b_avdat = { + } + b_albaqar = { + } + b_kmehin = { + } + b_ezuz = { + } + b_haluza = { + } + } + c_monreal = { + color={ 190 170 155 } + color2={ 255 255 255 } + + bedouin_arabic = "Wadi Musa" + maghreb_arabic = "Wadi Musa" + levantine_arabic = "Wadi Musa" + egyptian_arabic = "Wadi Musa" + andalusian_arabic = "Wadi Musa" + + b_monreal = { + bedouin_arabic = "Wadi Musa" + maghreb_arabic = "Wadi Musa" + levantine_arabic = "Wadi Musa" + egyptian_arabic = "Wadi Musa" + andalusian_arabic = "Wadi Musa" + } + b_hurmniz = { + } + b_sela = { + } + b_wadimusah = { + } + b_tafila = { + } + b_bildad = { + } + b_paran = { + } + b_idan = { + } + } + c_kerak = { + color={ 150 150 170 } + color2={ 255 255 255 } + + bedouin_arabic = "Al-Karak" + maghreb_arabic = "Al-Karak" + levantine_arabic = "Al-Karak" + egyptian_arabic = "Al-Karak" + andalusian_arabic = "Al-Karak" + + b_kirhaseset = { + } + b_kerak = { + bedouin_arabic = "Al-Karak" + maghreb_arabic = "Al-Karak" + levantine_arabic = "Al-Karak" + egyptian_arabic = "Al-Karak" + andalusian_arabic = "Al-Karak" + } + b_tamar = { + } + b_zoar = { + } + b_zaimona = { + } + b_bozra = { + } + b_punon = { + } + b_krakdemoab = { + } + } + c_madaba = { + color={ 150 140 160 } + color2={ 255 255 255 } + + b_madaba = { + } + b_muwaqqar = { + } + b_qastal = { + } + b_bilal = { + } + b_umm_ar-rasas = { + } + b_sahab = { + } + b_wadi_al_sir = { + } + b_samhal = { + } + } + } + d_ascalon = { + color={ 160 160 200 } + color2={ 255 255 255 } + + capital = 780 # Ascalon + + c_darum = { + color={ 167 165 190 } + color2={ 255 255 255 } + + b_darum = { + } + b_gaza = { + } + b_rafah = { + } + b_radwan = { + } + b_salqah = { + } + b_gerar = { + } + b_jarara = { + } + b_abasan = { + } + } + c_jaffa = { + color={ 167 190 150 } + color2={ 255 255 255 } + + bedouin_arabic = "Arsuf" + maghreb_arabic = "Arsuf" + levantine_arabic = "Arsuf" + egyptian_arabic = "Arsuf" + andalusian_arabic = "Arsuf" + + b_jaffa = { + bedouin_arabic = "Arsuf" + maghreb_arabic = "Arsuf" + levantine_arabic = "Arsuf" + egyptian_arabic = "Arsuf" + andalusian_arabic = "Arsuf" + } + b_arsuf = { + } + b_lydda = { + } + b_ibelin = { + } + b_ramleh = { + } + b_yazur = { + } + b_qula = { + } + b_beitdejan = { + } + } + c_ascalon = { + color={ 176 190 140 } + color2={ 255 255 255 } + + bedouin_arabic = "Asqalan" + maghreb_arabic = "Asqalan" + levantine_arabic = "Asqalan" + egyptian_arabic = "Asqalan" + andalusian_arabic = "Asqalan" + + b_ascalon = { + bedouin_arabic = "Asqalan" + maghreb_arabic = "Asqalan" + levantine_arabic = "Asqalan" + egyptian_arabic = "Asqalan" + andalusian_arabic = "Asqalan" + } + b_harbijah = { + } + b_agelen = { + } + b_laforbie = { + } + b_blanchegarde = { + } + b_bothme = { + } + b_huidre = { + } + b_semsem = { + } + } + c_beersheb = { + color={ 139 170 160 } + color2={ 255 255 255 } + + b_beersheb = { + } + b_estemon = { + } + b_massada = { + } + b_debir = { + } + b_gilat = { + } + b_rahat = { + } + b_ofakim = { + } + b_abuzqayqa = { + } + } + } + d_jerusalem = { + color={ 202 202 190 } + color2={ 255 255 255 } + + capital = 774 # Jerusalem + + christian = 250 # Crusade target weight + muslim = 250 # Crusade target weight + + c_jerusalem = { + color={ 250 250 230 } + color2={ 255 255 255 } + + christian = 250 # Crusade target weight + muslim = 250 # Crusade target weight + + holy_site = catholic + holy_site = orthodox + holy_site = sunni + holy_site = shiite + holy_site = miaphysite + holy_site = monophysite + holy_site = nestorian + holy_site = pagan + holy_site = yazidi + holy_site = jewish + holy_site = samaritan + holy_site = karaite + holy_site = ibadi + + b_mirabel = { # Base name changed to "Majdal Yaba" + german = "Mirabel" + lombard = "Mirabel" + old_frankish = "Mirabel" + suebi = "Mirabel" + english = "Mirabel" + saxon = "Mirabel" + old_saxon = "Mirabel" + frisian = "Mirabel" + dutch = "Mirabel" + frankish = "Mirabel" + norman = "Mirabel" + italian = "Mirabel" + occitan = "Mirabel" + basque = "Mirabel" + castillan = "Mirabel" + catalan = "Mirabel" + portuguese = "Mirabel" + visigothic = "Mirabel" + irish = "Mirabel" + scottish = "Mirabel" + pictish = "Mirabel" + welsh = "Mirabel" + breton = "Mirabel" + greek = "Antipatris" + armenian = "Antipatris" + georgian = "Antipatris" + } + b_jerusalem = { + pentarchy = yes + } + b_nablus = { + } + b_rammala = { + } + b_beitnuba = { + } + b_montgisard = { + } + b_jericho = { + } + b_saintsamuel = { + } + } + c_acre = { + color={ 230 190 154 } + color2={ 255 255 255 } + + b_acre = { + } + b_haifa = { + } + b_syrcaesarea = { + } + b_merle = { + } + b_adelon = { + } + b_manawat = { + } + b_recordana = { + } + b_athlith = { + } + } + c_hebron = { + color={ 200 210 160 } + color2={ 255 255 255 } + + b_hebron = { + } + b_bethlehem = { + } + b_deimachar = { + } + b_syrbelmont = { + } + b_alsamoa = { + } + b_saintcharlton = { + } + b_latrun = { + } + b_bethgibelin = { + } + } + } + d_galilee = { + color={ 225 200 160 } + color2={ 255 255 255 } + + capital = 771 # Tyrus + + c_tiberias = { + color={ 225 220 160 } + color2={ 255 255 255 } + + b_tiberias = { + } + b_nazareth = { + } + b_mnttabor = { + } + b_bethsan = { + } + b_caymont = { + } + b_hattin = { + } + b_ashtera = { + } + b_lafeve = { + } + } + c_tyrus = { + color={ 245 245 200 } + color2={ 255 255 255 } + + bedouin_arabic = "Sur" + maghreb_arabic = "Sur" + levantine_arabic = "Sur" + egyptian_arabic = "Sur" + andalusian_arabic = "Sur" + + b_tyrus = { + bedouin_arabic = "Sur" + maghreb_arabic = "Sur" + levantine_arabic = "Sur" + egyptian_arabic = "Sur" + andalusian_arabic = "Sur" + } + b_sarafand = { + } + b_scandalon = { + } + b_megedel = { + } + b_syrmontfort = { + } + b_casalimbert = { + } + b_hunin = { + } + b_syrbelfort = { + } + } + c_beirut = { + color={ 255 245 190 } + color2={ 255 255 255 } + + b_beirut = { + } + b_sidon = { + } + b_journie = { + } + b_abualhasan = { + } + b_cavedetyron = { + } + b_mashgarah = { + } + b_sarepta = { + } + b_beitkfeya = { + } + } + c_safed = { + color={ 230 250 190 } + color2={ 255 255 255 } + + b_safed = { + } + b_banyas = { + } + b_chastelet = { + } + b_toron = { + } + b_subeiba = { + } + b_karmel = { + } + b_qatsrin = { + } + b_belvoir = { + } + } + } + } + + k_syria = { + color={ 145 130 88 } + color2={ 255 255 255 } + + culture = levantine_arabic + + capital = 728 # Damascus + + orthodox = 200 # Crusade target weight + muslim = 200 # Crusade target weight + zoroastrian_group = 500 # Crusade target weight + + d_aleppo = { + color={ 85 232 20 } + color2={ 255 255 255 } + + capital = 733 # Aleppo + + c_asas = { + color={ 87 234 22 } + color2={ 255 255 255 } + + b_asas = { + } + b_rakka = { + } + b_kallinikos = { + } + b_talabyad = { + } + b_tabqa = { + } + b_souriya = { + } + b_resafa = { + } + b_zaazouaa = { + } + } + c_palmyra = { + color={ 89 236 24 } + color2={ 255 255 255 } + + b_arak = { + } + b_palmyra = { + } + b_arraml = { + } + b_alqasr = { + } + b_jihar = { + } + b_tiace = { + } + b_alhuwaysis = { + } + b_khirbat = { + } + } + c_aleppo = { + color={ 91 238 26 } + color2={ 255 255 255 } + + b_aleppo = { + } + b_azaz = { + } + b_mashala = { + } + b_lerminet = { + } + b_sarmin = { + } + b_harim = { + } + b_qusayr = { + } + b_maaratannuman = { + } + } + c_homs = { + color={ 93 240 28 } + color2={ 255 255 255 } + + b_homs = { + } + b_zweitina = { + } + b_emesa = { + } + b_alkhazandar = { + } + b_qadesh = { + } + b_sadad = { + } + b_marmarita = { + } + b_qatna = { + } + } + c_hama = { + color={ 95 242 30 } + color2={ 255 255 255 } + + b_hama = { + } + b_hamath = { + } + b_mhardeh = { + } + b_qarqar = { + } + b_bara = { + } + b_salamiyah = { + } + b_serjilla = { + } + b_kharsan = { + } + } + } + d_antioch = { + color={ 142 63 129 } + color2={ 255 255 255 } + + capital = 764 # Antioch + + c_antiocheia = { + color={ 152 69 135 } + color2={ 255 255 255 } + + holy_site = orthodox + holy_site = miaphysite + holy_site = monophysite + holy_site = nestorian + + b_antiocheia = { + pentarchy = yes + } + b_latakiah = { + } + b_stsymeon = { + } + b_darbsak = { + } + b_hazart = { + } + b_saone = { + } + b_harenc = { + } + b_baghras = { + } + } + c_archa = { + color={ 109 194 47 } + color2={ 255 255 255 } + + b_archa = { + } + b_shayzar = { + } + b_famia = { + } + b_chastelblanc = { + } + b_kafroun = { + } + b_treiz = { + } + b_krakdeschevaliers = { + } + b_masyaf = { + } + } + c_alexandretta = { + color={ 112 197 50 } + color2={ 255 255 255 } + + bedouin_arabic = "Iskandarun" + maghreb_arabic = "Iskandarun" + levantine_arabic = "Iskandarun" + egyptian_arabic = "Iskandarun" + andalusian_arabic = "Iskandarun" + turkish = "Iskandarun" + armenian = "Hrosos" + + b_alexandretta = { + bedouin_arabic = "Iskandarun" + maghreb_arabic = "Iskandarun" + levantine_arabic = "Iskandarun" + egyptian_arabic = "Iskandarun" + andalusian_arabic = "Iskandarun" + turkish = "Iskandarun" + } + b_rhosus = { + armenian = "Hrosos" + } + b_portbonnel = { + } + b_myriandros = { + } + b_portella = { + } + b_derbasak = { + } + b_sarvantikar = { + } + b_larochederissole = { + } + } + } + d_tripoli = { + color={ 71 150 32 } + color2={ 255 255 255 } + + capital = 767 # Tripoli + + c_tortosa = { + color={ 73 152 34 } + color2={ 255 255 255 } + + b_tortosa = { + } + b_maraclea = { + } + b_balemia = { + } + b_jabala = { + } + b_valania = { + } + b_ruad = { + } + b_alkhawabi = { + } + b_margat = { + } + } + c_tripoli = { + color={ 75 154 36 } + color2={ 255 255 255 } + + b_syrtripoli = { + } + b_gibelet = { + } + b_boutron = { + } + b_arqah = { + } + b_besmedin = { + } + b_alqulayat = { + } + b_nephin = { + } + b_alqadmus = { + } + } + c_baalbek = { + color={ 77 156 38 } + color2={ 255 255 255 } + + b_baalbek = { + } + b_akkar = { + } + b_halbah = { + } + b_zahle = { + } + b_laboue = { + } + b_buissera = { + } + b_riyaq = { + } + b_chlifa = { + } + } + } + d_damascus = { + color={ 122 255 3 } + color2={ 255 255 255 } + + capital = 728 # Damascus + + c_damascus = { + color={ 125 255 6 } + color2={ 255 255 255 } + + holy_site = shiite + holy_site = jewish + holy_site = samaritan + holy_site = karaite + + b_qsarbardawil = { + } + b_damascus = { + } + b_daraa = { + } + b_shahba = { + } + b_suada = { + } + b_alsanamayn = { + } + b_izra = { + } + b_duma = { + } + } + c_irbid = { + color={ 128 255 9 } + color2={ 255 255 255 } + + b_aljun = { + } + b_irbid = { + } + b_pella = { + } + b_yarmouk = { + } + b_habisjaldak = { + } + b_aydoun = { + } + b_ummqais = { + } + b_gadera = { + } + } + c_al_mafraq = { + color={ 134 255 15 } + color2={ 255 255 255 } + + b_mafraq = { + } + b_thughra = { + } + b_jarash = { + } + b_nasib = { + } + b_buwayda = { + } + b_ramtah = { + } + b_taebah = { + } + b_elemtaih = { + } + } + c_az_zarqa = { + color={ 103 214 143 } + color2={ 255 255 255 } + + b_zarqa = { + } + b_qasramra = { + } + b_russeifa = { + } + b_qasralhallabat = { + } + b_shabib = { + } + b_hashemiyya = { + } + b_khurqah = { + } + b_amratamad = { + } + } + c_amman = { + color={ 131 255 12 } + color2={ 255 255 255 } + + b_amman = { + } + b_dhiban = { + } + b_salt = { + } + b_mahis = { + } + b_fuheis = { + } + b_deir_alla = { + } + b_jerash = { + } + b_al_balqa = { + } + } + } + d_syria = { + color={ 35 232 20 } + color2={ 255 255 255 } + + capital = 727 # Syria + + c_syria = { + color={ 37 234 22 } + color2={ 255 255 255 } + + b_amrah = { + } + b_otaybah = { + } + b_adra = { + } + b_jarba = { + } + b_qasmiye = { + } + b_hayjanah = { + } + b_buraq = { + } + b_baly = { + } + } + c_druz = { + color={ 39 236 24 } + color2={ 255 255 255 } + + b_salkhard = { + } + b_dibin = { + } + b_awas = { + } + b_busra = { + } + b_ghariyah = { + } + b_shannireh = { + } + b_samj = { + } + b_thoula = { + } + } + c_suwaida = { + color={ 41 238 26 } + color2={ 255 255 255 } + + b_suwaida = { + } + b_raha = { + } + b_taraba = { + } + b_nimreh = { + } + b_salah = { + } + b_busan = { + } + b_tlilin = { + } + b_qummoualad = { + } + } + c_tadmor = { + color={ 43 240 28 } + color2={ 255 255 255 } + + b_husaiba = { + } + b_bukamal = { + } + b_alqaim = { + } + b_salhiyah = { + } + b_assusah = { + } + b_subaykhan = { + } + b_asharah = { + } + b_alqunjah = { + } + } + c_al_bichri = { + color={ 15 242 95 } + color2={ 255 255 255 } + + b_bichri = { + } + b_deiralzur = { + } + b_osrhoene = { + } + b_abukamal = { + } + b_shamiyya = { + } + b_mayadin = { + } + b_sirhi = { + } + b_mhaymidah = { + } + } + } + } + + k_mauretania = { + color={ 58 188 41 } + color2={ 255 255 255 } + + capital = 843 # Marrakech + + culture = maghreb_arabic + + muslim = 100 # Crusade target weight + west_african_pagan_reformed = 100 + + d_marrakech = { + color={ 43 150 32 } + color2={ 255 255 255 } + + capital = 843 # Marrakech + + c_marrakech = { + color={ 45 152 34 } + color2={ 255 255 255 } + + holy_site = aztec + holy_site = aztec_reformed + holy_site = west_african_pagan + holy_site = west_african_pagan_reformed + + b_marrakech = { + } + b_sidirahhal = { + } + b_ouarzazate = { + } + b_elanakir = { + } + b_demnat = { + } + b_asni = { + } + b_thineghir = { + } + b_alnif = { + } + } + c_tharasset = { + color={ 47 154 36 } + color2={ 255 255 255 } + + b_tharasset = { + } + b_tartaya = { + } + b_tantan = { + } + b_akhfennir = { + } + b_chbika = { + } + b_tidergit = { + } + b_amot = { + } + b_tiglit = { + } + } + c_ifni = { + color={ 49 156 38 } + color2={ 255 255 255 } + + b_ifni = { + } + b_tiznit = { + } + b_ouaouteit = { + } + b_rgab = { + } + b_guelmim = { + } + b_belkassem = { + } + b_mihrleft = { + } + b_tizgui = { + } + } + c_anti-atlas = { + color={ 51 158 40 } + color2={ 255 255 255 } + + b_agadir = { + } + b_taroudaut = { + } + b_tata = { + } + b_biourga = { + } + b_kasbaeljoua = { + } + b_argana = { + } + b_illrh = { + } + b_alogoum = { + } + } + c_massat = { + color={ 53 160 42 } + color2={ 255 255 255 } + + b_essaouira = { + } + b_akermoud = { + } + b_safi = { + } + b_haddraa = { + } + b_aitelaouni = { + } + b_qumelaioun = { + } + b_aguedal = { + } + b_agouidir = { + } + } + c_canarias = { + color={ 60 190 43 } + color2={ 255 255 255 } + + b_grancanaria = { + } + b_tenerife = { + } + b_lagomera = { + } + b_lanzarote = { + } + b_fuerteventura = { + } + b_lagraciosa = { + } + b_alegranza = { + } + b_lapalma = { + } + } + } + d_tangiers = { + color={ 45 255 3 } + color2={ 255 255 255 } + + capital = 841 # Tangiers + + c_infa = { + color={ 48 255 6 } + color2={ 255 255 255 } + + b_infa = { + } + b_rabat = { + } + b_sale = { + } + b_tiflet = { + } + b_berrechid = { + } + b_azemmour = { + } + b_khouribga = { + } + b_oulmes = { + } + } + c_tangiers = { + color={ 51 255 9 } + color2={ 255 255 255 } + + b_tangiers = { + } + b_laraiche = { + } + b_mulaybuselham = { + } + b_alcazarquivir = { + } + b_asilah = { + } + b_ainbenamar = { + } + b_barrha = { + } + b_charkia = { + } + } + c_cebta = { + color={ 54 255 12 } + color2={ 255 255 255 } + + b_cueta = { + } + b_tetouan = { + } + b_Xauen = { + } + b_aulef = { + } + b_babtaza = { + } + b_targuist = { + } + b_mdiq = { + } + b_martil = { + } + } + } + d_fes = { + color={ 20 232 55 } + color2={ 255 255 255 } + + capital = 840 # Fes + + c_fes = { + color={ 24 236 59 } + color2={ 255 255 255 } + + b_fes = { + } + b_meknes = { + } + b_zerhoun = { + } + b_elhajeb = { + } + b_sefrou = { + } + b_missour = { + } + b_enjil = { + } + b_bouanane = { + } + } + c_el_rif = { + color={ 28 240 63 } + color2={ 255 255 255 } + + b_melilla = { + } + b_alhoceima = { + } + b_midar = { + } + b_ketama = { + } + b_nador = { + } + b_driouch = { + } + b_saka = { + } + b_geurcif = { + } + } + c_figuig = { + color={ 32 244 67 } + color2={ 255 255 255 } + + b_figuig = { + } + b_bouarfa = { + } + b_safsaf = { + } + b_benitajjit = { + } + b_ainechchair = { + } + b_ich = { + } + b_bechar = { + } + b_boudnib = { + } + } + c_sijilmasa = { + color={ 72 214 60 } + color2={ 255 255 255 } + + b_sijilmasa = {} + b_merzouga = {} + b_tanamouste= {} + b_ertoud = {} + b_merzane = {} + b_hannabou = {} + b_tadaout = {} + b_tisserdmine = {} + } + } + d_alger = { + color={ 32 150 43 } + color2={ 255 255 255 } + + capital = 831 # Al Djazir + + c_atlas_mnt = { + color={ 49 196 83 } + color2={ 255 255 255 } + + holy_site = west_african_pagan + holy_site = west_african_pagan_reformed + holy_site = ibadi + + b_tiaret = { + } + b_djelfa = { + } + b_bordj = { + } + b_elyourh = { + } + b_selmana = { + } + b_ainrich = { + } + b_ainzmila = { + } + b_hassibenmadjeb = { + } + } + c_lemdiyya = { + color={ 51 198 85 } + color2={ 255 255 255 } + + b_medea = { + } + b_relizane = { + } + b_aindefla = { + } + b_elrhenb = { + } + b_aintorki = { + } + b_blida = { + } + b_elhachem = { + } + b_sidimohammed = { + } + } + c_al_djazair = { + color={ 53 200 87 } + color2={ 255 255 255 } + + b_algiers = { + } + b_tipasa = { + } + b_chiffa = { + } + b_sidiakacha = { + } + b_rhedadoua = { + } + b_elachour = { + } + b_elRdair = { + } + b_tirourda = { + } + } + c_mzab = { + color={ 39 157 50 } + color2={ 255 255 255 } + + b_mzab = { + } + b_noumerat = { + } + b_sebseb = { + } + b_elalia = { + } + b_ouargla = { + } + b_zelfana = { + } + b_bermane = { + } + b_elbour = { + } + } + c_ouled_nail = { + color={ 41 159 52 } + color2={ 255 255 255 } + + b_tubirett = { + } + b_msila = { + } + b_sidiheg = { + } + b_roumana = { + } + b_ainzia = { + } + b_sidinhar = { + } + b_beneldir = { + } + b_bordjelcaid = { + } + } + c_biskra = { + color={ 47 253 104 } + color2={ 255 255 255 } + + b_biskra = { + } + b_batna = { + } + b_khenchela = { + } + b_sidiokba = { + } + b_nebka = { + } + b_bigou = { + } + b_branis = { + } + b_mekhadma = { + } + } + } + d_tlemcen = { + color={ 41 188 75 } + color2={ 255 255 255 } + + capital = 834 # Tlemcen + + c_tlemcen = { + color={ 43 190 77 } + color2={ 255 255 255 } + + b_tlemcen = { + } + b_sidibelabbes = { + } + b_muaskar = { + } + b_bedrabine = { + } + b_tessala = { + } + b_letelagh = { + } + b_dhaya = { + } + b_elhaicaiba = { + } + } + c_orania = { + color={ 45 192 79 } + color2={ 255 255 255 } + + b_oran = { + } + b_mostaganem = { + } + b_aintemouchent = { + } + b_maghnia = { + } + b_benisaf = { + } + b_ainelberd = { + } + b_merselhadjad = { + } + b_gdyel = { + } + } + c_hanyan = { + color={ 47 194 81 } + color2={ 255 255 255 } + + b_hanyan = { + } + b_naama = { + } + b_saida = { + } + b_alkasdir = { + } + b_alancha = { + } + b_magoura = { + } + b_raselma = { + } + b_bougtob = { + } + } + c_snassen = { + color={ 36 248 71 } + color2={ 255 255 255 } + + b_oujda = { + } + b_jerada = { + } + b_saldia = { + } + b_ainbenimathar = { + } + b_debdou = { + } + b_tendrara = { + } + b_berkane = { + } + b_ahfir = { + } + } + } + } + + k_africa = { + color={ 21 255 3 } + color2={ 255 255 255 } + + capital = 817 # Tunis + + culture = maghreb_arabic + + orthodox = 10 # Crusade target weight + muslim = 200 # Crusade target weight + west_african_pagan_reformed = 50 + zoroastrian_group = 50 # Crusade target weight + + d_tunis = { + color={ 20 232 95 } + color2={ 255 255 255 } + + capital = 817 # Tunis + + c_tunis = { + color={ 23 235 98 } + color2={ 255 255 255 } + + b_tunis = { + } + b_ariana = { + } + b_sousse = { + } + b_cartaghe = { + } + b_zaghouan = { + } + b_benarous = { + } + b_kelibia = { + } + b_hammamet = { + } + } + c_medjerda = { + color={ 26 238 101 } + color2={ 255 255 255 } + + holy_site = west_african_pagan + holy_site = west_african_pagan_reformed + + b_medjerda = { + } + b_lekef = { + } + b_siliana = { + } + b_kasserine = { + } + b_qaafur = { + } + b_sidimubarak = { + } + b_dougga = { + } + b_elkrib = { + } + } + c_bizerte = { + color={ 29 241 104 } + color2={ 255 255 255 } + + b_bizerte = { + } + b_tunbeja = { + } + b_jendouba = { + } + b_ghezala = { + } + b_manziljamal = { + } + b_almatin = { + } + b_tamra = { + } + b_netza = { + } + } + c_kairwan = { + color={ 32 244 107 } + color2={ 255 255 255 } + + b_kairouan = { + } + b_gafsa = { + } + b_tozeur = { + } + b_sidibouzid = { + } + b_haffouz = { + } + b_chebika = { + } + b_meknassy = { + } + b_sidimansour = { + } + } + c_mahdia = { + color={ 35 247 110 } + color2={ 255 255 255 } + + b_mahdia = { + } + b_monastir = { + } + b_sfax = { + } + b_msaken = { + } + b_agareb = { + } + b_neffatia = { + } + b_lalaouza = { + } + b_lacroix = { + } + } + c_gabes = { + color={ 38 250 113 } + color2={ 255 255 255 } + + b_gabes = { + } + b_kebili = { + } + b_medenine = { + } + b_tataouine = { + } + b_aljanain = { + } + b_haddej = { + } + b_steftimi = { + } + b_alqalah = { + } + } + } + d_tripolitania = { + color={ 63 175 117 } + color2={ 255 255 255 } + + capital = 811 # Tripolitania + + c_tripolitana = { + color={ 45 192 107 } + color2={ 255 255 255 } + + b_libtripoli = { + } + b_sabratah = { + } + b_nalut = { + } + b_baniwaled = { + } + b_gherlan = { + } + b_funduq = { + } + b_aljamil = { + } + b_mazuzah = { + } + } + c_djerba = { + color={ 49 196 111 } + color2={ 255 255 255 } + + b_houmtsouk = { + } + b_midoun = { + } + b_ajim = { + } + b_aghir = { + } + b_abarda = { + } + b_elmey = { + } + b_cedriane = { + } + b_taguermess = { + } + } + c_leptis_magna = { + color={ 53 200 115 } + color2={ 255 255 255 } + + b_leptismagna = { + } + b_misratah = { + } + b_alhasun = { + } + b_abunujaym = { + } + b_qirdah = { + } + b_alghiran = { + } + b_naimah = { + } + b_gioda = { + } + } + c_syrte = { + color={ 57 204 119 } + color2={ 255 255 255 } + + b_syrte = { + } + b_abuhadi = { + } + b_assultan = { + } + b_assidr = { + } + b_lanuf = { + } + b_bishr = { + } + b_qaryatbishr = { + } + b_nawfalliyah = { + } + } + } + d_cyrenaica = { + color={ 32 150 63 } + color2={ 255 255 255 } + + capital = 806 # Cyrenaica + + c_cyrenaica = { + color={ 34 152 65 } + color2={ 255 255 255 } + + b_cyrene = { + } + b_marsasusah = { + } + b_derna = { + } + b_altamimi = { + } + b_alqubbah = { + } + b_athrun = { + } + b_mukhayta = { + } + b_khadra = { + } + } + c_senoussi = { + color={ 36 154 67 } + color2={ 255 255 255 } + + b_kufra = { + } + b_jalu = { + } + b_jakharrah = { + } + b_gabr = { + } + b_attallab = { + } + b_attaj = { + } + b_buzayman = { + } + b_tazirbu = { + } + } + c_benghazi = { + color={ 38 156 69 } + color2={ 255 255 255 } + + b_benghazi = { + } + b_barca = { + } + b_oriana = { + } + b_tulmaytath = { + } + b_ajdabiya = { + } + b_daryanah = { + } + b_tansulukh = { + } + b_jardinah = { + } + } + c_tobruk = { + color={ 40 158 71 } + color2={ 255 255 255 } + + b_tobruk = { + } + b_bardia = { + } + b_sollum = { + } + b_alqardabah = { + } + b_acroma = { + } + b_kambut = { + } + b_zanzur = { + } + b_rukbah = { + } + } + } + d_kabylia = { + color={ 164 247 131 } + color2={ 255 255 255 } + + capital = 825 # Beni Yanni + + c_beni_yanni = { + color={ 35 153 46 } + color2={ 255 255 255 } + + b_bourmedes = { + } + b_tafoughalt = { + } + b_tigzirt = { + } + b_bujima = { + } + b_azeffoun = { + } + b_azazga = { + } + b_taoudouch = { + } + b_thiza = { + } + } + c_tell_atlas = { + color={ 37 155 48 } + color2={ 255 255 255 } + + b_tiziouzou = { + } + b_zaoula = { + } + b_akaoudj = { + } + b_mirabeau = { + } + b_nacina = { + } + b_draaelmizan = { + } + b_tagoughalt = { + } + b_mechreck = { + } + } + c_constantine = { + color={ 45 251 102 } + color2={ 255 255 255 } + + b_constantine = { + } + b_guelma = { + } + b_tebessa = { + } + b_elkhroub = { + } + b_tadjenanet = { + } + b_oumelbouaghi = { + } + b_mechtakebira = { + } + b_guerrah = { + } + } + c_bejaija = { + color={ 49 255 106 } + color2={ 255 255 255 } + + b_bejaija = { + } + b_setif = { + } + b_mila = { + } + b_elbekara = { + } + b_jijel = { + } + b_boudaoud = { + } + b_gantas = { + } + b_eldjabia = { + } + } + c_annaba = { + color={ 51 255 108 } + color2={ 255 255 255 } + + b_annabah = { + } + b_eltarf = { + } + b_soukahras = { + } + b_skikda = { + } + b_elbouni = { + } + b_boudjama = { + } + b_drean = { + } + b_meroudj = { + } + } + } + } +} + +e_abyssinia = { + color={ 181 133 68 } + color2={ 255 255 255 } + + capital = 883 # Gondar + + culture = ethiopian + + k_abyssinia = { + color={ 120 62 20 } + color2={ 255 255 255 } + + capital = 883 # Gondar + + culture = ethiopian + + jewish_group = 100 + + d_harer = { # Berbera + color={ 127 151 52 } + color2={ 255 255 255 } + + capital = 872 # Berbera + + c_busaso = { + color={ 127 151 52 } + color2={ 255 255 255 } + + b_mosylon = { + } + b_bandaraassim = { + } + b_lasanod = { + } + b_garoowe = { + } + b_qardho = { + } + b_erigavo = { + } + b_hadaftimo = { + } + b_buraan = { + } + } + c_berbera = { + color={ 127 151 52 } + color2={ 255 255 255 } + + b_berbera = { + } + b_maydh = { + } + b_gabiley = { + } + b_burco = { + } + b_mandera = { + } + b_daarbuduq = { + } + b_shiikh = { + } + } + c_zeila = { + color={ 127 151 52 } + color2={ 255 255 255 } + + b_zeila = { + } + b_hargeysa = { + } + b_borama = { + } + b_amud = { + } + b_jijiga = { + } + b_dilla = { + } + b_lughaya = { + } + } + } + + d_axum = { + color={ 186 135 70 } + color2={ 255 255 255 } + + capital = 875 # Aksum + + c_aksum = { + color={ 186 135 70 } + color2={ 255 255 255 } + + holy_site = miaphysite + holy_site = monophysite + + b_adwa = { + } + b_aksum = { + } + b_mekele = { + } + b_rama2 = { + } + b_adigrat = { + } + b_hawzen = { + } + b_yeha = { + } + } + c_massawa = { + color={ 186 135 70 } + color2={ 255 255 255 } + + b_massawa = { + } + b_cheren = { + } + b_dahano = { + } + b_matara = { + } + b_qohaito = { + } + b_adulis = { + } + b_sembel = { + } + } + c_akordat = { + color={ 186 135 70 } + color2={ 255 255 255 } + + b_akordat = { + } + b_teseney = { + } + b_antalla = { + } + b_barentu = { + } + b_dghe = { + } + b_mogolo = { + } + b_shambuko = { + } + } + + } + d_semien = { + color={ 146 105 50 } + color2={ 255 255 255 } + + capital = 1380 # Semien + + c_tigrinya = { + color={ 146 105 50 } + color2={ 255 255 255 } + + b_tigrinya = { + } + b_adi_ramets = { + } + b_amba_maderiya = { + } + b_bilamba = { + } + b_golonco = { + } + b_zagamat = { + } + b_adenna = { + } + } + c_semien = { + color={ 146 105 50 } + color2={ 255 255 255 } + + b_dabat = { + } + b_debark = { + } + b_ciarveta = { + } + b_oivela_mariam = { + } + b_belesa = { + } + b_amja_lebes = { + } + b_ambaras = { + } + } + } + d_afar = { + color={ 159 189 65 } + color2={ 255 255 255 } + + capital = 873 # Harer + + c_assab = { + color={ 159 189 65 } + color2={ 255 255 255 } + + b_assab = { + } + b_debaysima = { + } + b_rehayto = { + } + b_manda = { + } + b_agurto = { + } + b_mergebla = { + } + b_gehare = { + } + } + c_asayita = { + color={ 159 189 65 } + color2={ 255 255 255 } + + b_asayita = { + } + b_afambo = { + } + b_serdo = { + } + b_dedai = { + } + b_lofefle = { + } + b_tendaho = { + } + b_jewaha = { + } + } + c_harer = { + color={ 159 189 65 } + color2={ 255 255 255 } + + b_dakkar = { + } + b_harar = { + } + b_alemaya = { + } + b_diridawa = { + } + b_kurfachele = { + } + b_kombolcha = { + } + b_babile = { + } + } + c_tadjoura = { + color={ 159 189 65 } + color2={ 255 255 255 } + + b_tadjoura = { + } + b_berenice = { + } + b_obock = { + } + b_galafi = { + } + b_dikhil = { + } + b_djibouti = { + } + b_holhol = { + } + b_randa = { + } + } + } + d_gondar= { + color={ 215 119 45 } + color2={ 255 255 255 } + + capital = 883 # Gondar + + c_gondar = { + color={ 215 119 45 } + color2={ 255 255 255 } + + b_fasilghebbi = { + } + b_gondar = { + } + b_roha = { + } + b_ambassel = { + } + b_bahirdar = { + } + b_magdala = { + } + b_tanaqirqos = { + } + b_dembiya = { + } + } + c_begemder = { + color={ 215 119 45 } + color2={ 255 255 255 } + + b_gereger = { + } + b_filakit = { + } + b_chekerefta = { + } + b_danya = { + } + b_bete_yohanis = { + } + b_awariya = { + } + b_maryamu = { + } + } + } + d_wag = { + color={ 186 100 55 } + color2={ 255 255 255 } + + capital = 1417 # Wag + + c_wag = { + color={ 186 100 55 } + color2={ 255 255 255 } + + b_sekota = { + } + b_zumbo = { + } + b_sacca = { + } + b_tsaicha = { + } + b_lashwa = { + } + b_indeher_giba = { + } + b_liktaba = { + } + } + c_lakomelza = { + color={ 186 100 55 } + color2={ 255 255 255 } + + b_dessye = { + } + b_kembolcha = { + } + b_ziya = { + } + b_habru = { + } + b_tigaja = { + } + b_cherkwa = { + } + b_metene = { + } + } + } + d_gojjam = { + color={ 137 90 76 } + color2={ 255 255 255 } + + capital = 1280 # Gojjam + + c_gojjam = { + color={ 137 90 76 } + color2={ 255 255 255 } + + b_gojjam = { + } + b_mankorar = { + } + b_eliyas = { + } + b_yejube = { + } + b_godana_mikael = { + } + b_yegeleka = { + } + b_baremma = { + } + } + c_matamma = { + color={ 137 90 76 } + color2={ 255 255 255 } + + b_ginbo = { + } + b_bonga = { + } + b_gishabay = { + } + b_wacha = { + } + b_chiri = { + } + b_kaffa = { + } + b_yadeta = { + } + b_garo = { + } + } + } + d_damot = { + color={ 198 93 30 } + color2={ 255 255 255 } + + capital = 1428 # Damot + + c_damot = { + color={ 198 93 30 } + color2={ 255 255 255 } + + b_malbarde = { + } + b_muger = { + } + b_yirga_chefe = { + } + b_fasha = { + } + b_awasa = { + } + b_zima = { + } + b_teltele = { + } + } + c_asosa = { + color={ 198 93 30 } + color2={ 255 255 255 } + + b_asosa = { + } + b_bambasi = { + } + b_genetemariam = { + } + b_debrezeyit = { + } + b_mankush = { + } + b_dibate = { + } + b_ketema = { + } + b_kormuk = { + } + } + } + d_shewa = { + color={ 147 90 48 } + color2={ 255 255 255 } + + capital = 882 # Ankober + + c_ankober = { + color={ 147 90 48 } + color2={ 255 255 255 } + + b_ankober = { + } + b_doqaqit = { + } + b_qundi = { + } + b_saqqa = { + } + b_aliyuamba = { + } + b_berehet = { + } + b_keyagebriel = { + } + b_tegulet = { + } + } + c_antalo = { + color={ 147 90 48 } + color2={ 255 255 255 } + + b_entoto = { + } + b_hayq = { + } + b_shewa = { + } + b_antsokia = { + } + b_debreberhan = { + } + b_bale = { + } + b_debrelibanos = { + } + b_oromos = { + } + } + } + } + + k_nubia = { + color={ 180 85 39 } + capital = 793 # Makuria + + allow = { + hidden_tooltip = { + OR = { + ai = no + religion_group = christian + } + } + } + + d_nobatia = { + color = { 162 133 85 } + + capital = 1282 # Dotawo + + c_dotawo = { + color = { 160 130 85 } + color2={ 255 255 255 } + + b_dotawo = { + } + b_jebeladda = { + } + b_faras = { + } + b_qasribrim = { + } + b_ballana = { + } + b_buhen = { + } + b_premnis = { + } + } + c_nobatia = { + color = { 150 140 65 } + color2={ 255 255 255 } + + b_semna = { + } + b_wawa = { + } + b_nubia = { + } + b_delgo = { + } + b_soleb = { + } + b_abri = { + } + b_akasha = { + } + } + c_nubia = { + color = { 145 130 60 } + color2={ 255 255 255 } + + b_anag = { + } + b_eirayab = { + } + b_salala = { + } + b_nafab = { + } + b_komotit = { + } + b_tahtani = { + } + b_fanoidig = { + } + } + c_aydhab = { + color = { 125 120 65 } + color2={ 255 255 255 } + + b_aydhab = { + } + b_halayeb = { + } + b_troglodytica = { + } + b_marsaalam = { + } + b_elba = { + } + b_shalateen = { + } + b_zabargad = { + } + } + } + d_nubia = { # Makuria + color = { 141 162 79 } + capital = 793 # Makuria + + c_makuria = { + color = { 140 155 75 } + color2={ 255 255 255 } + + b_dongola = { + } + b_kawa = { + } + b_affat = { + } + b_qubban = { + } + b_gabriya = { + } + b_kerma = { + } + b_kerat = { + } + } + c_napata = { + color = { 155 140 67 } + color2={ 255 255 255 } + + holy_site = miaphysite + holy_site = monophysite + + b_napata = { + } + b_marawi = { + } + b_ghazali = { + } + b_kanisah = { + } + b_korti = { + } + b_keheilli = { + } + b_karima = { + } + } + c_atbara = { + color = { 145 120 50 } + color2={ 255 255 255 } + + b_atbara = { + } + b_meruwah = { + } + b_begarawiyah = { + } + b_hajaralasla = { + } + b_ummmardi = { + } + b_abudis = { + } + b_shendi = { + } + } + + } + d_sennar = { # Alodia + color={ 128 60 20 } + color2={ 255 255 255 } + + capital = 1334 # Alodia + + c_alodia = { + color={ 135 65 20 } + color2={ 255 255 255 } + + b_alwa = { + } + b_soba = { + } + b_omdurman = { + } + b_barah = { + } + b_omjerky = { + } + b_malaka = { + } + b_wawissi = { + } + } + c_sennar = { + color={ 115 60 20 } + color2={ 255 255 255 } + + b_sennar = { + } + b_tabat = { + } + b_sinjah = { + } + b_bakkah = { + } + b_kukur = { + } + b_galgani = { + } + b_wadrawah = { + } + b_kinanah = { + } + } + c_kosti = { + color={ 160 70 40 } + color2={ 255 255 255 } + + b_kosti = { + } + b_abbeit = { + } + b_tandalti = { + } + b_umm_ruwaba = { + } + b_dalang = { + } + b_kaduqli = { + } + b_lagawa = { + } + } + + } + d_hayya = { # Blemmyia + color={ 186 91 41 } + color2={ 255 255 255 } + + capital = 878 # Hayya + + culture = nubian + + c_suakin = { + color={ 176 85 35 } + color2={ 255 255 255 } + + b_sawakin = { + } + b_tisiamti = { + } + b_salum = { + } + b_taiwi = { + } + b_derkin = { + } + b_dubarua = { + } + b_komelshokafa = { + } + } + c_trinkitat = { + color={ 141 55 35 } + color2={ 255 255 255 } + + b_trinkitat = { + } + b_derri = { + } + b_tokar = { + } + b_farata = { + } + b_teb = { + } + b_kwababa = { + } + b_mukden = { + } + } + c_hayya = { + color={ 186 91 41 } + color2={ 255 255 255 } + + b_hayya = { + } + b_musmer = { + } + b_sinkat = { + } + b_kataigarsa = { + } + b_aliab = { + } + b_gebeit = { + } + b_taris = { + } + } + c_kassala = { + color={ 200 101 34 } + color2={ 255 255 255 } + + b_kassala = { + } + b_doka = { + } + b_dinder = { + } + b_aroma = { + } + b_kagnarti = { + } + b_tebteb = { + } + b_gherset = { + } + } + } + } + + allow = { + hidden_tooltip = { + OR = { + ai = no + culture_group = east_african + } + } + has_landed_title=k_egypt + has_landed_title=k_nubia + has_landed_title=k_abyssinia + } +} + +e_britannia = { + color={ 172 22 22 } + color2={ 255 255 255 } + capital = 32 # Middlesex + + welsh = Prydain + irish = Alba + scottish = Alba + pictish = Alba + breton = Prydain + + # Creation/usurpation trigger + allow = { + hidden_tooltip = { + OR = { + ai = no + culture = english + culture = saxon + culture = norman + culture_group = celtic + culture_group = north_germanic + } + } + } + + k_england = { + color={ 202 26 26 } + color2={ 255 255 255 } + capital = 32 # Middlesex + dignity = 10 # Counted as having this many more counties than it does + + catholic = 300 # Crusade target weight + norse_pagan_reformed = 200 # Crusade target weight + + culture = saxon + + welsh = Lloegyr + pictish = Lloegyr + breton = Lloegyr + irish = Sasana + + d_northumberland = { + color={ 255 0 0 } + color2={ 255 255 255 } + + capital = 52 # Northumberland + + saxon = Northumbria + + c_northumberland = { + color={ 255 10 0 } + color2={ 255 255 255 } + + saxon = Northumbria + + b_morpeth = { + } + b_bamburgh = { + norwegian = "Bamborg" + danish = "Bamborg" + swedish = "Bamborg" + norse = "Bamborg" + } + b_hexham = { + } + b_newcastle = { + saxon="Corbridge" + } + b_alnwick = { + } + b_norham = { + } + b_lindisfarne = { + } + b_mitford = { + } + } + c_durham = { + color={ 255 15 0 } + color2={ 255 255 255 } + + norwegian = "Dunholm" + danish = "Dunholm" + swedish = "Dunholm" + norse = "Dunholm" + + b_gateshead = { + } + b_durham = { + norwegian = "Dunholm" + danish = "Dunholm" + swedish = "Dunholm" + norse = "Dunholm" + } + b_chester-le-street = { + } + b_jarrow = { + } + b_hartlepool = { + } + b_auckland = { + } + b_raby = { + } + b_st_cuthbert = { + } + } + c_cumberland = { + color={ 30 185 243 } + color2={ 255 255 255 } + + b_carlisle = { + } + b_burgh = { + } + b_gilsland = { + } + b_penrith = { + } + b_egremont = { + } + b_papcastlet = { + } + b_cockermouth = { + } + b_dacre = { + } + } + } + d_lancaster = { + color={ 255 48 0 } + color2={ 255 255 255 } + + capital = 58 # Lancaster + + welsh = Rheged + + c_lancaster = { + color={ 255 50 5 } + color2={ 255 255 255 } + + saxon = "Amounderness" + + b_salford = { + } + b_lancaster = { + } + b_bolton = { + } + b_preston = { + } + b_sawley = { + } + b_gisburn = { + } + b_furness = { + } + b_clitheroe = { + } + } + c_westmorland = { + color={ 255 55 10 } + color2={ 255 255 255 } + + b_appleby = { + } + b_kendal = { + } + b_lowther = { + } + b_cartmel = { + } + b_kirkby = { + } + b_brough = { + } + b_shap = { + } + b_brougham = { + } + } + c_chester = { + color={ 255 60 15 } + color2={ 255 255 255 } + + b_chester = { + } + b_halton = { + } + b_malpas = { + } + b_northwich = { + } + b_macclesfield = { + } + b_beeston = { + } + b_sandbach = { + } + b_nantwich = { + } + } + c_derby = { + color={ 255 65 20 } + color2={ 255 255 255 } + + norwegian = "Djuraby" + danish = "Djuraby" + swedish = "Djuraby" + norse = "Djuraby" + + b_derby = { + norwegian = "Djuraby" + danish = "Djuraby" + swedish = "Djuraby" + norse = "Djuraby" + } + b_bakewell = { + } + b_repton = { + } + b_bolsover = { + } + b_castleton = { + } + b_chesterfield = { + } + b_burton = { + } + b_wirksworth = { + } + } + } + d_york = { + color={ 255 90 15 } + color2={ 255 255 255 } + + capital = 57 # York + + dignity = 2 + + norwegian = "Jorvik" + danish = "Jorvik" + swedish = "Jorvik" + norse = "Jorvik" + saxon = "Deira" + + pagan_coa = { + template = 0 + layer = { + texture = 2 + texture_internal = 12 + emblem = 0 + color = 0 + color = 0 + color = 0 + } + religion = "norse_pagan" + } + + c_york = { + color={ 255 80 5 } + color2={ 255 255 255 } + + norwegian = "Jorvik" + danish = "Jorvik" + swedish = "Jorvik" + norse = "Jorvik" + + b_york = { + norwegian = "Jorvik" + danish = "Jorvik" + swedish = "Jorvik" + norse = "Jorvik" + } + b_richmond = { + saxon = "Catterick" + } + b_st_peters = { + } + b_scarborough = { + norwegian = "Skardaborg" + danish = "Skardaborg" + swedish = "Skardaborg" + norse = "Skardaborg" + } + b_skipton = { + } + b_pontefract = { + } + b_hull = { + } + b_conisbrough = { + norwegian = "Kungsborg" + danish = "Kungsborg" + swedish = "Kungsborg" + norse = "Kungsborg" + } + } + c_lincoln = { + color={ 255 90 20 } + color2={ 255 255 255 } + + saxon = "Lindsey" + + b_gainsborough = { + } + b_lincoln = { + } + b_boston = { + } + b_spalding = { + } + b_stamford = { + } + b_grantham = { + } + b_louth = { + } + b_bardney = { + } + } + } + d_norfolk = { + color={ 200 90 0 } + color2={ 255 255 255 } + + capital = 70 # Norfolk + + norman = "Norfolk" + english = "Norfolk" + + c_norfolk = { + color={ 255 95 5 } + color2={ 255 255 255 } + + b_norwich = { + } + b_thetford = { + } + b_buckenham = { + } + b_lynn = { + } + b_yarmouth = { + } + b_elmham = { + } + b_castle_rising = { + } + b_chatteris = { + } + } + c_suffolk = { + color={ 255 100 10 } + color2={ 255 255 255 } + + b_ipswich = { + } + b_ely = { + } + b_bury = { + } + b_lowestoft = { + danish = "Lothvistoft" + swedish = "Lothvistoft" + norwegian = "Lothvistoft" + norse = "Lothvistoft" + } + b_dunwich = { + } + b_stow = { + } + b_bungay = { + } + b_framlingham = { + } + } + } + d_bedford = { # Essex + color={ 241 15 15 } + color2={ 255 255 255 } + capital = 72 # Essex + + norman = "Bedford" + english = "Bedford" + + c_bedford = { + color={ 241 30 30 } + color2={ 255 255 255 } + + b_bedford = { + } + b_hertford = { + } + b_st_albans = { + } + b_berkhamsted = { + } + b_luton = { + } + b_dunstable = { + } + b_watford = { + } + b_ashridge = { + } + } + c_middlesex = { + color={ 241 90 35 } + color2={ 255 255 255 } + + holy_site = aztec + holy_site = aztec_reformed + + b_westminster = { + used_for_dynasty_names = no + norse=Vestmystur + } + b_london = { + used_for_dynasty_names = no + norse=Lundúnir + } + b_st_pauls = { + } + b_tottenham = { + } + b_fulham = { + } + b_staines = { + } + b_harrow = { + } + b_chelsea = { + } + } + c_essex = { + color={ 241 25 25 } + color2={ 255 255 255 } + + b_maldon = { + } + b_havering = { + } + b_dunmow = { + } + b_colchester = { + } + b_waltham = { + } + b_barking = { + } + b_pleshey = { + } + b_hedingham = { + } + } + c_northampton = { + color={ 255 110 5 } + color2={ 255 255 255 } + + b_peterborough = { + } + b_huntingdon = { + } + b_ramsey = { + } + b_northampton = { + } + b_kettering = { + } + b_cambridge = { + } + b_crowland = { + } + b_rockingham = { + } + } + } + d_hereford = { # Mercia + color={ 241 47 15 } + color2={ 255 255 255 } + + capital = 67 # Warwick + + dignity = 5 + + norman = "Warwick" + english = "Warwick" + + c_leicester = { + color={ 255 85 10 } + color2={ 255 255 255 } + + b_leicester = { + } + b_nottingham = { + } + b_southwell = { + } + b_newark = { + } + b_hucknall = { + } + b_tickhill = { + } + b_worksop = { + } + b_newstead = { + saxon = "Saint Martin" + } + } + c_warwick = { + color={ 241 60 30 } + color2={ 255 255 255 } + + b_coventry = { + } + b_warwick = { + } + b_lichfield = { + } + b_stafford = { + } + b_tamworth = { + } + b_kenilworth = { + } + b_tutbury = { + } + b_dudley = { + } + } + c_worcester = { + color={ 250 25 25 } + color2={ 255 255 255 } + + b_worcester = { + } + b_evesham = { + } + b_droitwich = { + } + b_kidderminster = { + } + b_pershore = { + } + b_malvern = { + } + b_bromsgrove = { + } + b_laughern = { + } + } + } + d_gloucester = { # Hwicce + color={ 241 79 15 } + color2={ 255 255 255 } + + capital = 21 # Gloucester + + norman = Gloucester + english = Gloucester + + c_gloucester = { + color={ 241 85 25 } + color2={ 255 255 255 } + + b_gloucester = { + } + b_sudeley = { + } + b_tewkesbury = { + } + b_cheltenham = { + } + b_cirencester = { + } + b_winchcombe = { + } + b_bristol = { + } + b_hailes = { + } + } + c_wiltshire = { + color={ 241 95 45 } + color2={ 255 255 255 } + + b_wilton = { + } + b_sarum = { + } + b_clarendon = { + } + b_malmesbury = { + } + b_salisbury = { + } + b_devizes = { + } + b_ramsbury = { + } + b_marlborough = { + } + } + c_oxford = { + color={ 255 115 15 } + color2={ 255 255 255 } + + b_oxford = { + } + b_wallingford = { + } + b_abingdon = { + } + b_buckingham = { + } + b_banbury = { + } + b_reading = { + } + b_aylesbury = { + } + b_eynsham = { + } + } + } + d_canterbury = { # Sussex + color={ 241 100 15 } + color2={ 255 255 255 } + + capital = 73 # Kent + + c_surrey = { + color={ 241 105 55 } + color2={ 255 255 255 } + + b_farnham = { + } + b_guildford = { + } + b_lambeth = { + } + b_southwark = { + } + b_woking = { + } + b_chertsey = { + } + b_croydon = { + } + b_waverley = { + } + } + c_kent = { + color={ 241 115 65 } + color2={ 255 255 255 } + + holy_site = catholic + + b_rochester = { + } + b_dover = { + } + b_canterbury = { + } + b_faversham = { + } + b_sandwich = { + } + b_lympne = { + } + b_romney = { + } + b_tonbridge = { + } + } + c_sussex = { + color={ 241 110 60 } + color2={ 255 255 255 } + + b_hastings = { + } + b_pevensey = { + } + b_chichester = { + } + b_lewes = { + } + b_arundel = { + saxon = "Selsey" + } + b_rye = { + } + b_bramber = { + } + b_bodiam = { + } + } + } + d_somerset = { + color={ 241 15 63 } + color2={ 255 255 255 } + + capital = 26 # Winchester + + norman="Somerset" + english="Somerset" + + c_winchester = { + color={ 241 20 65 } + color2={ 255 255 255 } + + saxon="Wessex" + + b_southampton = { + } + b_portchester = { + } + b_winchester = { + } + b_carisbrooke = { + } + b_romsey = { + } + b_andover = { + } + b_st_swithun = { + } + b_wherwell = { + } + } + c_dorset = { + color={ 241 25 70 } + color2={ 255 255 255 } + + b_wareham = { + } + b_corfe = { + } + b_shaftesbury = { + } + b_dorchester = { + } + b_sherborne = { + } + b_lyme = { + } + b_weymouth = { + } + b_wimborne = { + } + } + c_somerset = { + color={ 241 30 75 } + color2={ 255 255 255 } + + b_bath = { + } + b_wells = { + } + b_ilchester = { + } + b_taunton = { + } + b_muchelney = { + } + b_castle_cary = { + } + b_glastonbury = { + } + b_cleeve = { + } + } + } + } + + k_wales = { + color={ 135 25 3 } + color2={ 255 255 255 } + + capital = 64 # Gwynedd + + culture = welsh + + catholic = 300 # Crusade target weight + + welsh = "Brythoniaid" + pictish = "Brythoniaid" + breton = "Kembre" + irish = "Bhreatain Bheag" + + allow = { + hidden_tooltip = { + OR = { + ai = no + culture_group = celtic + } + } + } + + d_gwynedd = { + color={ 172 99 22 } + color2={ 255 255 255 } + + capital = 64 # Gwynedd + + c_gwynedd = { + color={ 175 80 10 } + color2={ 255 255 255 } + + b_caernarfon = { + } + b_degannwy = { + } + b_bangor_fawr = { + } + b_aberffraw = { + norwegian = Ongullsøy + english = Anglesey + saxon = Anglesey + } + b_harlech = { + } + b_cardigan = { + } + b_conwy = { + } + b_llanbadarn = { + } + } + c_perfeddwlad = { + color={ 175 85 15 } + color2={ 255 255 255 } + + b_denbigh = { + } + b_rhuddlan = { + } + b_llanelwy = { + } + b_flint = { + } + b_ruthin = { + } + b_basingwerk = { + } + b_ewloe = { + } + b_hawarden = { + } + } + } + d_powys = { + color={ 180 130 0 } + color2={ 255 255 255 } + + capital = 66 # Shrewsbury + + c_powys = { + color={ 175 90 20 } + color2={ 255 255 255 } + + b_caersws = { + } + b_mathrafal = { + } + b_llangollen = { + } + b_llandinam = { + } + b_glascwm = { + } + b_radnor = { + } + b_montgomery = { + } + b_rhayader = { + } + } + c_shrewsbury = { + color={ 241 55 25 } + color2={ 255 255 255 } + + welsh = Pengwern + saxon = Shropshire + english = Shrewsbury + + b_shrewsbury = { + } + b_clun = { + } + b_wenlock = { + } + b_ludlow = { + } + b_whitchurch = { + } + b_bridgnorth = { + } + b_oswestry = { + } + b_chirk = { + } + } + c_hereford = { + color={ 241 50 20 } + color2={ 255 255 255 } + + welsh = Ergyng + + b_st_ethelberts = { + } + b_hereford = { + welsh = "Din Aricon" + } + b_leominster = { + } + b_archenfield = { + } + b_ewyas_harold = { + } + b_ledbury = { + } + b_clifford = { + } + b_brobury = { + } + } + } + d_deheubarth = { + color={ 125 51 3 } + color2={ 255 255 255 } + + capital = 18 # Dyfed + + c_dyfed = { + color={ 155 75 5 } + color2={ 255 255 255 } + + b_carmarthen = { + } + b_dinefwr = { + } + b_st_davids = { + welsh = Tyddewi + norwegian = "Ramsøy" + } + b_kidwelly = { + welsh = Cydweli + } + b_llandeilo = { + } + b_pembroke = { + } + b_narberth = { + } + b_haverford = { + } + } + c_glamorgan = { + color={ 155 120 15 } + color2={ 255 255 255 } + + b_cardiff = { + } + b_neath = { + } + b_llandaff = { + } + b_caerphilly = { + } + b_swansea = { + } + b_loughor = { + } + b_margam = { + } + b_ogmore = { + } + } + c_gwent = { + color={ 160 75 5 } + color2={ 255 255 255 } + + b_caerwent = { + } + b_chepstow = { + } + b_abergavenny = { + } + b_monmouth = { + } + b_caerleon = { + } + b_newport = { + } + b_brecon = { + } + b_tintern = { + } + } + } + d_cornwall = { + color={ 181 60 10 } + color2={ 255 255 255 } + + capital = 31 # Cornwall + + c_cornwall = { + color={ 150 40 15 } + color2={ 255 255 255 } + + b_bodmin = { + } + b_launceston = { + } + b_st_germans = { + } + b_truro = { + } + b_liskeard = { + } + b_tintagel = { + } + b_st_michael = { + } + b_restormel = { + } + } + c_devon = { + color={ 135 35 25 } + color2={ 255 255 255 } + + b_lydford = { + } + b_exeter = { + } + b_crediton = { + } + b_totnes = { + } + b_axminster = { + } + b_tavistock = { + } + b_buckfast = { + } + b_dartmouth = { + } + } + } + } + + k_scotland = { + color={ 20 80 162 } + color2={ 255 255 255 } + + capital = 43 #Gowrie + + culture = scottish + + catholic = 300 # Crusade target weight + norse_pagan_reformed = 200 # Crusade target weight + + norse = Skotland + swedish = Skottland + danish = Skotland + norwegian = Skottland + welsh = Alban + irish = Alba + breton = Alba + pictish = Pictland + + d_the_isles = { + color={ 10 48 243 } + color2={ 255 255 255 } + + capital = 54 # Isle of Man + + welsh = Manaw + norwegian = "Mann" + danish = "Mann" + swedish = "Mann" + norse = "Mann" + pictish = "Manu" + irish = "Mhannin" + + c_isle_of_man = { + color={ 25 65 243 } + color2={ 255 255 255 } + + norwegian = "Mann" + danish = "Mann" + swedish = "Mann" + norse = "Mann" + pictish = "Insee Manu" + welsh = "Ynys Manaw" + irish = "Ellan Mhannin" + + b_peel = { + norwegian = "Pålø" + danish = "Pålø" + swedish = "Pålø" + norse = "Pålø" + pictish = "Pirtinsee" + welsh = "Porth Ynys" + irish = "Purt ny h-Inshey" + } + b_rushen = { + pictish = "Resan" + welsh = "Resyn" + irish = "Rosien" + } + b_maughold = { + pictish = "Mauugan" + welsh = "Mawgan Sant" + irish = "Macaille" + } + b_douglas = { + pictish = "Duunglasc" + welsh = "Duonglassafon" + irish = "Duboglassio" + } + b_kirk_michael = { + pictish = "Icluasc Mihagal" + welsh = "Eglwys Mihangel" + irish = "Cill Micheál" + } + b_sulby = { + pictish = "Drauuglan" + welsh = "Drywglyn" + irish = "Druígleann" + norwegian = "Sõlabyr" + danish = "Sõlabyr" + swedish = "Sõlabyr" + } + b_inis_patraic = { + pictish = "Inees Pedric" + welsh = "Ynys Padric" + irish = "Inis Pátraic" + } + b_laxey = { + pictish = "Ahonugad" + welsh = "Afoneogiaid" + irish = "Uisge Bradán" + } + } + } + d_galloway = { + color={ 77 116 208 } + color2={ 255 255 255 } + + capital = 50 # Galloway + + welsh = Strathclyde + pictish = "Nouantia" + irish = "Gall-Ghaidhealaibh" + + c_galloway = { + color={ 15 185 243 } + color2={ 255 255 255 } + + pictish = "Nouantia" + welsh = "Nofant" + irish = "Na Rannaibh" + saxon = "Rhinns" + + b_dumfries = { + pictish = "Dunrad" + welsh = "Dinrhyd" + irish = "Dùn Phris" + } + b_dunragit = { + pictish = "Dunreget" + welsh = "Din Rheged" + irish = "Dùn Reicheit" + } + b_whithorn = { + pictish = "Taiuuan" + welsh = "Tygwyn" + irish = "Taigh Mhàrtainn" + } + b_dunrod = { + pictish = "Dun Brin" + welsh = "Din Brenin" + irish = "Dùn Droighnein" + } + b_kirkcudbright = { + pictish = "Cuthberbatu" + welsh = "Cuddbertbetws" + irish = "Cill Chuithbeirt" + } + b_glenluce = { + pictish = "Ulanchuan" + welsh = "Glynchwyn" + irish = "Ghlinn Lus" + } + b_wigtown = { + pictish = "Betrah" + welsh = "Faetref" + irish = "Baile na h-Ùige" + } + b_threave = { + pictish = "Insee Datrah" + welsh = "Ynys Dytref" + irish = "Eilean na h-Uisge Dhè" + } + } + c_carrick = { + color={ 50 185 243 } + color2={ 255 255 255 } + + pictish = "Ueron" + welsh = "Aeron" + irish = "A' Charraig" + + b_turnberry = { + pictish = "Dun Ueron" + welsh = "Din Aeron" + irish = "Dùn Àir" + } + b_dunure = { + pictish = "Dunauen" + welsh = "Din Ywen" + irish = "Dùn Iùbhair" + } + b_maybole = { + pictish = "Maescanatan" + welsh = "Y Maes Ynfytyn" + irish = "Am Magh Baoghail" + } + b_crossraguel = { + pictish = "Crosc Ruagal" + welsh = "Croes Rhygal" + irish = "Crois Riagal" + } + b_loch_doon = { + scottish = "Balloch" + pictish = "Landun" + welsh = "Llyndin" + irish = "Loch Dhùin" + } + b_ballantrae = { + pictish = "Tretrah" + welsh = "Traethtref" + irish = "Baile na Tràgha" + } + b_culzean = { + pictish = "Pinaglan" + welsh = "Pennyglyn" + irish = "Ceann na Gleann" + } + b_greenan = { + pictish = "Abereron" + welsh = "Aberaeron" + irish = "Inbhir Àir" + } + } + c_clydesdale = { + color={ 5 140 240 } + color2={ 255 255 255 } + + pictish = "Damnunia" + welsh = "Alt Clut" + irish = "Dail Chluaidh" + + b_renfrew = { + pictish = "Bregurun" + welsh = "Brigffroen" + irish = "Rinn Friù" + } + b_st_kentigern = { + pictish = "Cantearn" + welsh = "Cyndeyrn Sant" + irish = "Cill Mungo" + } + b_glasgow = { + pictish = "Catuuris" + welsh = "Cathures" + irish = "Glaschu" + } + b_lanark = { + pictish = "Lanirc" + welsh = "Lanerc" + irish = "Lannraig" + } + b_cadzow = { + pictish = "Uuohan" + welsh = "Guofan" + irish = "Bàile Ghobhainn" + } + b_bothwell = { + pictish = "Mamuanon" + welsh = "Mamffynnon" + irish = "Tobar na Màthar" + } + b_lesmahagow = { + pictish = "Lanmahau" + welsh = "Llanmahagw" + irish = "Lios MoChuda" + } + b_dumbarton = { + pictish = "Alcluit" + welsh = "Alt Clut" + irish = "Dùn Breatainn" + } + } + } + d_western_isles = { + color = { 6 42 127 } + color2 = { 255 255 255 } + capital = 35 # Inse Gall + + norwegian = "Søreyar" + danish = "Søreyar" + swedish = "Söröarna" + norse = "Suðreyjar" + pictish = "Insee Hilth" + welsh = "Ynysoedd Heledd" + irish = "Dál Riata" + + pagan_coa = { + template = 0 + layer = { + texture = 2 + texture_internal = 8 + emblem = 0 + color = 0 + color = 0 + color = 0 + } + religion = "norse_pagan" + } + + c_innse_gall = { + color={ 20 60 243 } + color2={ 255 255 255 } + + norwegian = "Søreyar" + danish = "Søreyar" + swedish = "Söröarna" + norse = "Suðreyjar" + pictish = "Carnonac" + welsh = "Ynysoedd Heledd" + irish = "Innse Gall" + scottish = "Innse Gall" + + b_snizort = { + pictish = "Lantalarc" + welsh = "Llantalarican" + irish = "Cill Targhlain" + } + b_finlaggan = { + pictish = "Inseepirt" + welsh = "Ynysporth" + irish = "Port an Eilein" + } + b_iona = { + pictish = "Auenle" + welsh = "Ywenlle" + irish = "Ì Chaluim Chille" + } + b_stornoway = { + norwegian = "Stornavåg" + danish = "Stornavik" + swedish = "Stornavik" + norse = "Stornavik" + pictish = "Laueube" + welsh = "Llywiobae" + irish = "Steòrnabhagh" + } + b_laggan = { + pictish = "Nuuathuchel" + welsh = "Neuadduchel" + irish = "Àird Talla" + } + b_uig = { + norwegian = "Vik" + danish = "Vik" + swedish = "Vik" + norse = "Vik" + pictish = "Betret" + welsh = "Baetraeth" + irish = "Càrnais Ùige" + } + b_dunvegan = { + pictish = "Dun Bachain" + welsh = "Din Bychan" + irish = "Dùn Bheagain" + } + b_dunyveg = { + pictish = "Dun Galiuu" + welsh = "Din Galïau" + irish = "Dùn Naomhaig" + } + } + c_argyll = { + color={ 15 150 240 } + color2={ 255 255 255 } + + pictish = "Ebithan" + welsh = "Epiddant" + irish = "Airer Goídel" + + b_st_moluag = { + pictish = "Malluoc" + welsh = "Malluoc Sant" + irish = "Naomh Moluóc" + } + b_dunollie = { + pictish = "Dun Ugastel" + welsh = "Din Ogystal" + irish = " Dùn Ollaigh" + } + b_loch_awe = { + pictish = "Lanahon" + welsh = "Llynafon" + irish = "Loch Obha" + } + b_sween = { + pictish = "Caer Sauunae" + welsh = "Caer Sywny" + irish = "Dùn Suibhne" + } + b_dunstaffnage = { + pictish = "Dun Stapan" + welsh = "Din Staffpentir" + irish = "Dùn Stafhainis" + } + b_ardchattan = { + pictish = "Uchdarcathan" + welsh = "Uchdercaddan" + } + b_kilmun = { + pictish = "Caer Muun" + welsh = "Caer Munn" + irish = "Cill Mhunna" + } + b_inverary = { + pictish = "Aberera" + welsh = "Aberaera" + irish = "Inbhir Aora" + } + b_argh = { + } + } + } + d_lothian = { + color = { 16 62 157 } + color2={ 255 255 255 } + + capital = 48 # Lothian + + pictish = "Lut" + welsh = "Gododdin" + irish = "Labhdaidh" + + c_lothian = { + color = { 16 62 160 } + color2={ 255 255 255 } + + pictish = "Lut" + welsh = "Lleuddiniawn" + irish = "Labhdaidh" + + b_edinburgh = { + pictish = "Dun Eidan" + welsh = "Din Eidyn" + irish = "Dùn Eideann" + } + b_stirling = { + pictish = "Iutheu" + welsh = "Iuddeu" + irish = "Sruighlea" + } + b_abercorn = { + pictish = "Abercarn" + welsh = "Abercarnedd" + irish = "Obar Chùirnidh" + } + b_linlithgow = { + pictish = "Glanaluu" + welsh = "Glynallwedd" + irish = "Gleann Iucha" + } + b_falkirk = { + pictish = "Ecclescbret" + welsh = "Ecclesbrith" + irish = "An Eaglais Bhreac" + } + b_stow_of_wedale = { + pictish = "Gallath" + welsh = "Galladd" + irish = "An Geal Àth" + } + b_leith = { + pictish = "Aberlath" + welsh = "Aberlydd" + irish = "Inverlìte" + } + b_torphichen = { + pictish = "Trehechan" + welsh = "Treffechan" + irish = "Tóir Féichín" + } + } + c_dunbar = { + color = { 30 69 172 } + color2={ 255 255 255 } + + pictish = "Utudina" + welsh = "Din Baer" + irish = "Dùn Bár" + + b_dunbar = { + pictish = "Dun Ber" + welsh = "Din Baer" + irish = "Dùn Bár" + } + b_berwick = { + pictish = "Caer Brinech" + welsh = "Caer Bryneich" + irish = "Bearaig" + } + b_thirlestane = { + pictish = "Lauuether" + welsh = "Lauwedder" + irish = "Labhdar" + } + b_tyninghame = { + pictish = "Pisctaltreh" + welsh = "Pistylltref" + irish = "Linnebaile" + } + b_gordon = { + pictish = "Gor Dun" + welsh = "Gor Din" + irish = "Gòr Dùn" + } + b_huntly = { + pictish = "Istrad Bach" + welsh = "Ystrath Bach" + irish = "Srath Bhalgaidh" + } + b_coldingham = { + pictish = "Lanbrin" + welsh = "Llanbryn" + irish = "Cillecnoc" + } + b_crichton = { + pictish = "Finuultreh" + welsh = "Ffinioltref" + irish = "Criochdún" + } + } + c_teviotdale = { + color = { 11 51 145 } + color2={ 255 255 255 } + + pictish = "Heluua" + welsh = "Calchfynydd" + irish = "Cealsaidh" + + b_jedburgh = { + pictish = "Dungod" + welsh = "Dingod" + irish = "Dùngot" + } + b_roxburgh = { + pictish = "Iaartreh" + welsh = "Iârtref" + irish = "Baile na h-Cearc" + } + b_peebles = { + pictish = "Peball" + welsh = "Pebyll" + irish = "Na Pùballan" + } + b_melrose = { + pictish = "Maelruusan" + welsh = "Mailrhosan" + irish = "Maol Ros" + } + b_kelso = { + pictish = "Calchanith" + welsh = "Calchfynydd" + irish = "Cealsaidh" + } + b_selkirk = { + pictish = "Halchraig" + welsh = "Halchraig" + irish = "Salcraig" + } + b_maxwell = { + pictish = "Mabfanon" + welsh = "Mabffynnon" + irish = "Tobar na Mac" + } + b_ednam = { + pictish = "Aethontreh" + welsh = "Aeddantref" + irish = "Baile na h-Aodhàn" + } + } + } + d_albany = { + color={ 25 85 160 } + color2={ 255 255 255 } + + capital = 43 # Gowrie + + pictish = "Alban" + welsh = "Alban" + irish = "Albanigh" + + c_gowrie = { + color={ 23 87 162 } + color2={ 255 255 255 } + + pictish = "Circinn" + welsh = "Caer Cinn" + irish = "Gobharaidh" + + b_scone = { + pictish = "Sguun" + welsh = "Sgon" + irish = "Sgoinde" + } + b_dunkeld = { + pictish = "Dun Celadon" + welsh = "Din Celyddon" + irish = "Dùn Chailleann" + } + b_perth = { + } + b_forteviot = { + pictish = "Nan Aruadocet" + welsh = "Nant Arwyddocâd" + irish = "Fothair Tabhaicht" + } + b_dundee = { + pictish = "Orrea" + welsh = "Dindân" + irish = "Dùn Dèagh" + } + b_abernethy = { + pictish = "Aber Naiton" + welsh = "Aber Neithon" + irish = "Obar Neithich" + } + b_clunie = { + pictish = "Luned" + welsh = "Llynaedd" + irish = "Cluainidh" + } + b_errol = { + pictish = "Landafan" + welsh = "Llandyffryn" + irish = "Lannfothir" + } + } + c_fife = { + color={ 20 80 152 } + color2={ 255 255 255 } + + pictish = "Fib" + welsh = "Gwidd" + irish = "Fìobha" + + b_dunfermline = { + pictish = "Dunfurlan" + welsh = "Dinfirllyn" + irish = "Dùn Phàrlain" + } + b_cupar = { + pictish = "Cafredun" + welsh = "Cyffredin" + irish = "Compàirt" + } + b_st_andrews = { + pictish = "Pinbed" + welsh = "Pennbaedd" + irish = "Cill Rígmonaid" + } + b_kirkcaldy = { + pictish = "Caercaled" + welsh = "Caer Caledin" + irish = "Cair Chaladain" + } + b_kinross = { + pictish = "Pinhadlen" + welsh = "Pennhadllin" + irish = "Ceann Rois" + } + b_leuchars = { + pictish = "Luchar" + welsh = "Brwyn" + irish = "Luachar" + } + b_lochore = { + pictish = "Laner" + welsh = "Llynaer" + irish = "Locháir" + } + b_falkland = { + pictish = "Maluen" + welsh = "Malfin" + irish = "Fháclainne" + } + } + c_strathearn = { + color={ 15 66 145 } + color2={ 255 255 255 } + + pictish = "Uuanun" + welsh = "Ystrad Iwerddon" + irish = "Srath Èireann" + + b_crieff = { + pictish = "Coiden" + welsh = "Coeden" + irish = "Craoibh" + } + b_dunblane = { + pictish = "Dul Blaan" + welsh = "Dinblyne" + irish = "Dùn Bhlàthain" + } + b_tullibardine = { + pictish = "Duunrud" + welsh = "Duonrhyd" + irish = "Dubhàth" + } + b_auchterarder = { + pictish = "Uchel" + welsh = "Hufenaruchel" + irish = "Uachdar Ardair" + } + b_madderty = { + pictish = "Pintu" + welsh = "Penndu" + irish = "Ceanndubh" + } + b_doune = { + pictish = "I Dun" + welsh = "Y Din" + irish = "An Dùn" + } + b_inchaffray = { + pictish = "Insee Ufirin" + welsh = "Ynys Offeren" + irish = "Innis Oifrend" + } + b_kenmore = { + pictish = "Bilauc" + welsh = "Belauc" + irish = "Bealach" + } + } + c_atholl = { + color={ 30 95 172 } + color2={ 255 255 255 } + + pictish = "Fotla" + welsh = "Focla" + irish = "Athfhotla" + + b_blair_atholl = { + pictish = "Athfocla" + welsh = "Brwydr Focla" + irish = "Blàr Athfhotla" + } + b_glen_dochart = { + pictish = "Lanuan" + welsh = "Llangwyn" + irish = "Cillefhinn" + } + b_pitlochry = { + pictish = "Moulin" + welsh = "Porth Craig" + irish = "Mhaothlinne" + } + b_fortingall = { + pictish = "Iuenlan" + welsh = "Ywenllan" + irish = "Iubharcille" + } + b_grandtully = { + pictish = "Uuag" + welsh = "Gwag y Rhwdfa" + irish = "Lag an Ratha" + } + b_rannoch = { + pictish = "Redan" + welsh = "Rhedyn" + irish = "Raineach" + } + b_strathardle = { + pictish = "Istrad Ardle" + welsh = "Ystrad Aerdôl" + irish = "Strath Àrdail" + } + b_struan = { + pictish = "Aberfel" + welsh = "Aberfelly" + irish = "Obar Pheallaidh" + } + b_anthrachs = { + } + } + } + d_moray = { + color={ 10 81 243 } + color2={ 255 255 255 } + + capital = 40 # Moray + + pictish = "Fortriu" + welsh = "Gwrturio" + irish = "Muireb" + + c_moray = { + color={ 20 85 243 } + color2={ 255 255 255 } + + pictish = "Fortriu" + welsh = "Gwrturio" + irish = "Muireb" + + b_forres = { + pictish = "Uerris" + welsh = "Gwerrys" + irish = "Farrais" + } + b_cawdor = { + pictish = "Caerdurn" + welsh = "Caerdwrn" + irish = "Caladar" + } + b_elgin = { + pictish = "Eruan" + welsh = "Aergwyn" + irish = "Ailgin" + } + b_nairn = { + pictish = "Abernard" + welsh = "Abernard" + irish = "Inbhir Narann" + } + b_inverness = { + pictish = "Abernis" + welsh = "Abernis" + irish = "Inbhir Nis" + } + b_lochindorb = { + pictish = "Lansildod" + welsh = "Llyn y Sildod" + irish = "Loch nan Doirb" + } + b_kinloss = { + pictish = "Canalosc" + welsh = "Cynyddullosg" + irish = "Cinnlois" + } + b_urquhart = { + pictish = "Urcarthen" + welsh = "Aercardden" + irish = "Airdchartdan" + } + } + c_ross = { + color={ 15 55 243 } + color2={ 255 255 255 } + + pictish = "Fidach" + welsh = "Gwidauc" + irish = "Ros" + + b_applecross = { + pictish = "Aporcrosan" + welsh = "Aporcrosan" + irish = "Obar Crosain" + } + b_dingwall = { + norwegian = "Tingvall" + danish = "Tingvall" + swedish = "Tingvall" + norse = "Tingvall" + pictish = "Aberpis" + welsh = "Aberpeffry" + irish = "Inbhir Pheofharain" + } + b_rosemarkie = { + pictish = "Rosanmairch" + welsh = "Rhosan Meirchnant" + irish = "Ros Mhaircnidh" + } + b_fortrose = { + pictish = "Caerrosan" + welsh = "Caerrhosan" + irish = "Dùnrois" + } + b_fearn = { + pictish = "Manech Rasan" + welsh = "Mynachdy Rhosan" + irish = "Manachainn Rois" + } + b_tain = { + welsh = "Duthactref" + irish = "Baile Dubhthaich" + } + b_cromarty = { + pictish = "Crucabachu" + welsh = "Crwcabachwy" + irish = "Crombati" + } + b_avoch = { + pictish = "Aberauc" + welsh = "Aberauc" + irish = "Abhach" + } + } + c_buchan = { + color={ 40 227 250 } + color2={ 255 255 255 } + + pictish = "Ce" + welsh = "Cai" + irish = "Beanaomh" + + b_aberdeen = { + welsh = "Aberdwyafon" + irish = "Obar Dabhuin" + } + b_banff = { + pictish = "Banaugluas" + welsh = "Benywglwys" + irish = "Beanaomh" + } + b_deer = { + pictish = "Ceiru" + welsh = "Ceirw" + irish = "Fiadh" + } + b_kintore = { + pictish = "Pintar" + welsh = "Penntyrau" + irish = "Ceann Tòrr" + } + b_inverurie = { + pictish = "Aberury" + welsh = "Aberury" + irish = "Inbhir Uraidh" + } + b_fyvie = { + pictish = "Carubran" + welsh = "Carwbryn" + irish = "Fiachein" + } + b_ellon = { + pictish = "Inseeol" + welsh = "Ynysol" + irish = "Eilean" + } + b_st_machar = { + pictish = "Mabaur" + welsh = "Mabfawr Sant" + irish = "Naomh Machar" + } + } + c_caithness = { + color={ 30 95 243 } + color2={ 255 255 255 } + + norwegian = "Katanes" + danish = "Katanæs" + swedish = "Katanäs" + norse = "Katanæs" + pictish = "Cait" + welsh = "Caitnys" + irish = "Cataibh" + + b_wick = { + norwegian = "Vik" + danish = "Vik" + swedish = "Vik" + norse = "Vik" + pictish = "Aberbachuu" + welsh = "Aberbachwy" + irish = "Inbhir Ùige" + } + b_dunbeath = { + pictish = "Dunbathac" + welsh = "Dinbyddag" + irish = "Dùn Beithe" + } + b_dornoch = { + pictish = "Dirnfeth" + welsh = "Dyrnfedd" + irish = "Dòrnach" + } + b_thurso = { + swedish = "Tjurså" + danish = "Tyrså" + norwegian = "Tyrså" + norse = "Tyrså" + pictish = "Aberteuafon" + welsh = "Abertaewafon" + irish = "Inbhir Tarbhainn" + } + b_dunrobin = { + pictish = "Dunrubert" + welsh = "Dinraibeart" + irish = "Dùnrhobert" + } + b_freswick = { + swedish = "Fresvik" + danish = "Fresvik" + norwegian = "Fresvik" + norse = "Fresvik" + pictish = "Aberfauur" + welsh = "Aberfawr" + irish = "Obar Àrdair" + } + b_latheron = { + pictish = "Lathaeron" + welsh = "Lladdaeron" + irish = "Latharan" + } + b_golspie = { + pictish = "Fostreh" + welsh = "Ffostref" + irish = "Goillspidh" + } + } + } + } + + k_ireland = { + color={ 6 127 2 } + color2={ 255 255 255 } + + capital = 11 # Dublin + + culture = irish + + catholic = 300 # Crusade target weight + norse_pagan_reformed = 200 # Crusade target weight + + norse = Irland + swedish = Irland + danish = Irland + norwegian = Irland + irish = Éire + pictish = Iuerthon + welsh = Iwerddon + breton = Iwerzhon + + d_ulster = { + color={ 5 222 31 } + color2={ 255 255 255 } + + capital = 5 # Ulster + + norwegian = Strangfjord + swedish = Strangfjord + danish = Strangfjord + norse = Strangfjorðr + irish = Ulaidh + + c_ulster = { + color={ 25 230 35 } + color2={ 255 255 255 } + + norwegian = Strangfjord + swedish = Strangfjord + danish = Strangfjord + norse = Strangfjorðr + irish = Ulaidh + + b_downpatrick = { + norwegian = Strangfjord + swedish = Strangfjord + danish = Strangfjord + norse = Strangfjorðr + irish = "Dún Pádraig" + } + b_dunseverick = { + irish = "Dún Sobhairce" + } + b_bangor = { + irish = "Inbhear Beg" + } + b_carrickfergus = { + irish = "Carraig Fhearghais" + } + b_connor = { + irish = "Con Doire" + } + b_dromore = { + irish = "Druim Mór" + } + b_larne = { + irish = "Latharna" + } + b_dunluce = { + irish = "Dún Libhse" + } + } + c_oriel = { + color={ 30 180 45 } + color2={ 255 255 255 } + + irish = Airgíalla + + b_clones = { + irish = "Cluain Eois" + } + b_armagh = { + irish = "Ard Mhacha" + } + b_dundalk = { + norwegian = Kerlingfjord + swedish = Kerlingfjord + danish = Kerlingfjord + norse = Kerlingfjorðr + irish = "Dún Dealgan" + } + b_clogher = { + irish = "Clochar" + } + b_drogheda = { + irish = "Droichead Átha" + } + b_monaghan = { + irish = "Muineachán" + } + b_olouth = { + irish = "Lúghbhaidh" + } + b_ardee = { + irish = "Baile Átha Fhirdhia" + } + } + c_tyrone = { + color={ 66 157 22 } + color2={ 255 255 255 } + + irish = "Tír Eoghain" + + b_coleraine = { + irish = "Cúil Rathain" + } + b_dungannon = { + irish = "Dún Geanainn" + } + b_aileach = { + irish = "Ailech" + } + b_maghera = { + irish = "Machaire Rátha" + } + b_derry = { + irish = "Daire Coluimb Chille" + } + b_omagh = { + irish = "An Óghmaigh" + } + b_tullyhogue = { + irish = "Tulaigh Óg" + } + b_dungiven = { + irish = "Dún Geimhin" + } + } + c_tyrconnell = { + color={ 25 190 31 } + color2={ 255 255 255 } + + irish = "Tír Chonaill" + + b_gartan = { + irish = "Gartán" + } + b_moville = { + irish = "Magh Bhile" + } + b_raphoe = { + irish = "Ráth Bhoth" + } + b_fahan = { + irish = "Fathain" + } + b_donegal = { + irish = "Dún na nGall" + } + b_ballyshannon = { + irish = "Béal Átha Seanaidh" + } + b_kilmacrenan = { + irish = "Cill Mhic nEanain" + } + b_ballymacswiney = { + irish = "Baile Mhic Suibhne" + } + } + } + d_connacht = { + color={ 73 229 56 } + color2={ 255 255 255 } + + capital = 9 # Connacht + + irish = "Connachta" + + c_breifne = { + color={ 40 230 65 } + color2={ 255 255 255 } + + irish = "Bréifne" + + b_dromahair = { + irish = "Droim Áth Thiar" + } + b_kilmore = { + irish = "Cill Mhór" + } + b_cavan = { + irish = "An Cabhán" + } + b_longford = { + irish = "An Longphort" + } + b_ardagh = { + irish = "Ardachadh" + } + b_leitrim = { + irish = "Liatroim" + } + b_drumcliffe = { + irish = "Droim Chliabh" + } + b_kells = { + irish = "Ceann Lios" + } + } + c_connacht = { + color={ 45 230 70 } + color2={ 255 255 255 } + + irish = "Connachta" + + b_galway = { + irish = "Dún Bhun na Gaillimhe" + } + b_elphin = { + irish = "Ail Finn" + } + b_tuam = { + irish = "Tuaim Dá Ghualann" + } + b_clonfert = { + irish = "Cluain Fearta" + } + b_roscommon = { + irish = "Ros Comáin" + } + b_mayo = { + irish = "Maigh Eó" + } + b_killala = { + irish = "Cill Ala" + } + b_anchory = { + irish = "Baile Uí Fhiacháin" + } + } + } + d_meath = { + color={ 49 249 72 } + color2={ 255 255 255 } + + capital = 11 # Dublin + + norwegian = Dublin + danish = Dublin + swedish = Dublin + norse = Dyflinn + irish = Mide + + pagan_coa = { + template = 0 + layer = { + texture = 2 + texture_internal = 3 + emblem = 0 + color = 0 + color = 0 + color = 0 + } + religion = "norse_pagan" + } + + c_kildare = { + color={ 102 248 65 } + color2={ 255 255 255 } + + irish = "Cill Dara" + + b_knockaulin = { + irish = "Dún Ailinne" + } + b_athlone = { + irish = "Baile Átha Luain" + } + b_kildare = { + irish = "Cill Dara" + } + b_maynooth = { + irish = "Maigh Nuad" + } + b_st_brigit = { + irish = "Naomh Brigid" + } + b_rathangan = { + irish = "Ráth Iomgháin" + } + b_durrow = { + irish = "Darú" + } + b_clonard = { + irish = "Cluain Ioraird" + } + } + c_dublin = { + color={ 55 250 85 } + color2={ 255 255 255 } + + norse = Dyflinn + irish = Dubhlinn + welsh = Dulyn + + + b_dublin = { + norse = Dyflinn + irish = Dubhlinn + welsh = Dulyn + } + b_clondalkin = { + } + b_finglas = { + irish = "Fionnghlas" + } + b_wicklow = { + irish = "Cill Mhantáin" + } + b_ath_cliath = { + irish = "Baile Átha Cliath" + } + b_christ_church = { + irish = "Ardeaglais Chríost" + } + b_mellifont = { + irish = "An Mhainistir Mhór" + } + b_trim = { + irish = "Baile Átha Troim" + } + } + } + d_leinster = { + color={ 85 211 27 } + color2={ 255 255 255 } + + capital = 16 # Leinster + + norwegian = Veisafjord + swedish = Veisafjord + danish = Veisafjord + norse = Veisafjorðr + irish = Laigin + + c_leinster = { + color={ 65 210 85 } + color2={ 255 255 255 } + + norwegian = Veisafjord + swedish = Veisafjord + danish = Veisafjord + norse = Veisafjorðr + irish = Laigin + + b_wexford = { + norwegian = Veisafjord + swedish = Veisafjord + danish = Veisafjord + norse = Veisafjorðr + irish = "Loch Garman" + } + b_leighlin = { + irish = "Leithghlinn" + } + b_arklow = { + irish = "An tInbhear Mór" + } + b_carlow = { + irish = "Ceatharlach" + } + b_ferns = { + irish = "Fearna Mór Maedhóg" + } + b_glendalough = { + irish = "Gleann Dá Loch" + } + b_naas = { + irish = "Nás na Ríogh" + } + b_enniscorthy = { + irish = "Inis Córthaidh" + } + } + c_ossory = { + color={ 60 210 80 } + color2={ 255 255 255 } + + irish = "Osraige" + + b_kilkenny = { + irish = "Cill Chainnigh" + } + b_gowran = { + irish = "Gabhrán" + } + b_clonmacnoise = { + irish = "Cluain Mhic Nóis" + } + b_aghaboe = { + irish = "Achadh Bhó" + } + b_jerpoint = { + irish = "Sheireapúin" + } + b_callan = { + irish = "Callainn" + } + b_grennan = { + irish = "An Ghrianán" + } + b_grannagh = { + irish = "An Greannach" + } + } + } + d_munster = { + color={ 16 157 12 } + color2={ 255 255 255 } + + capital = 13 # Thomond + + norwegian = "Hlymrek" + danish = "Lymrek" + swedish = "Lymrek" + norse = "Hlymrek" + irish = "Mumu" + + c_thomond = { + color={ 90 221 111 } + color2={ 255 255 255 } + + norwegian = "Hlymrek" + danish = "Lymrek" + swedish = "Lymrek" + norse = "Hlymrek" + irish = "Tuadhmhumhain" + + b_limerick = { + norwegian = "Hlymrek" + danish = "Lymrek" + swedish = "Lymrek" + norse = "Hlymrek" + irish = "Luimneach" + } + b_bunratty = { + irish = "Bun na Raite" + } + b_killaloe = { + irish = "Cill Dálua" + } + b_emly = { + irish = "Imleach Iubhair" + } + b_ennis = { + irish = "Inis" + } + b_kilfenora = { + irish = "Cill Fhionnúrach" + } + b_askeaton = { + irish = "Eas Géitine" + } + b_adare = { + } + } + c_ormond = { + color={ 95 221 121 } + color2={ 255 255 255 } + + norwegian = Vedrafjord + swedish = Vedrafjord + danish = Vedrafjord + norse = Veðrafjorðr + irish = Urmhumhain + + b_waterford = { + norwegian = Vedrafjord + swedish = Vedrafjord + danish = Vedrafjord + norse = Veðrafjorðr + irish = "Port Láirge" + } + b_cahir = { + irish = "Cathair Dhún Iascaigh" + } + b_cashel = { + irish = "Dún Caiseal" + } + b_clonmel = { + irish = "Cluain Meala" + } + b_lismore = { + irish = "Lios Mór" + } + b_roscrea = { + irish = "Ros Cré" + } + b_nenagh = { + irish = "Aonach Urmhumhan" + } + b_fethard = { + irish = "Fiodh Ard" + } + } + c_desmond = { + color={ 100 221 90 } + color2={ 255 255 255 } + + irish = "Deasmhumhain" + + b_cork = { + irish = "Corcaigh" + } + b_dunasead = { + irish = "Dún na Séad" + } + b_ross = { + irish = "Ros Ó gCairbre" + } + b_youghal = { + irish = "Eochaill" + } + b_ardfert = { + irish = "Ard Fhearta" + } + b_cloyne = { + irish = "Cluain" + } + b_fermoy = { + irish = "Mainistir Fhear Maí" + } + b_blarney = { + irish = "An Bhlarna" + } + } + } + } +} + +e_mali = { + color={ 138 148 55 } + color2={ 255 255 255 } + + capital = 911 # Timbuktu + + culture = manden + + west_african_pagan_reformed = 500 + + k_mali = { + color={ 158 188 61 } + color2={ 255 255 255 } + + capital = 911 # Timbuktu + + culture = manden + + d_timbuktu = { + color={ 130 180 61 } + color2={ 255 255 255 } + + capital = 911 # Timbuktu + + c_timbuktu = { + color={ 130 180 61 } + color2={ 255 255 255 } + + holy_site = west_african_pagan + holy_site = west_african_pagan_reformed + + b_timbuktu = {} + b_alafia = {} + b_salam = { + } + b_lafia = {} + b_ber = {} + b_boureminaly = {} + b_toya = {} + b_aglal = {} + } + c_oualata = { + color={ 130 180 61 } + color2={ 255 255 255 } + + b_oualata = {} + b_tiguiguil = {} + b_neiguiat = {} + b_konou = {} + b_birnsara = {} + b_tizert = {} + b_tarhalet = {} + b_fassekra = {} + } + c_araouane = { + color={ 130 180 61 } + color2={ 255 255 255 } + + b_araouane = {} + b_tessalit = {} + b_aguelhok = {} + b_abalessa = {} + b_tinzaouten = {} + b_guezzam = {} + b_tamanrasset = {} + b_tazrouk = {} + } + c_taghaza = { + color={ 130 180 61 } + color2={ 255 255 255 } + + b_taghaza = {} + b_kerzaz = {} + b_metarta = {} + b_reggane = {} + b_adrar = {} + b_aougrout = {} + b_charouine = {} + b_alouarta = {} + } + } + + d_ghana = { + color={ 90 130 30 } + color2={ 255 255 255 } + + capital = 913 # Ghana + + c_ghana = { + color={ 130 180 61 } + color2={ 255 255 255 } + + holy_site = pagan + + b_el_ghaba = {} + b_koumbi_saleh = {} + b_silla = { + } + b_singhanah = {} + b_samakanda = {} + b_ras_elma = {} + b_tirka = {} + b_kughah = {} + } + c_aoudaghost = { + color={ 130 180 61 } + color2={ 255 255 255 } + + b_aoudaghost = {} + b_tichitt = {} + b_moudjeria = {} + b_ksarelbarka = {} + + } + c_ouadane = { + color={ 130 180 61 } + color2={ 255 255 255 } + + b_ouadane = {} + b_wadan = {} + b_azuggi = {} + b_ksaralkiali = {} + } + c_idjil = { + color={ 130 180 61 } + color2={ 255 255 255 } + + b_idjil = {} + b_zouerat = {} + b_tazadit = {} + b_rouessa = {} + b_fderick = {} + } + } + + d_mali = { + color={ 80 120 70 } + color2={ 255 255 255 } + + capital = 925 # Mali + + c_mali = { + color={ 130 180 61 } + color2={ 255 255 255 } + + holy_site = west_african_pagan + holy_site = west_african_pagan_reformed + + b_boure = {} + b_niani = {} + b_bamako = { + } + b_safo = {} + b_baguineda = {} + b_dialakoro = {} + b_bougouni = {} + b_soussa = {} + } + c_bambuk = { + color={ 130 180 61 } + color2={ 255 255 255 } + + b_bambuk = {} + b_kiffa = {} + b_kankossa = {} + b_boumdeid = {} + b_guerou = {} + b_aftout = {} + } + c_djenne = { + color={ 130 180 61 } + color2={ 255 255 255 } + + b_djenne = {} + b_macina = {} + b_fakala = {} + b_kewa = {} + b_ouroali = {} + b_pondori = {} + b_femaye = {} + b_derary = {} + } + c_gurma = { + color={ 130 180 61 } + color2={ 255 255 255 } + + b_gurma = {} + b_zorgho = {} + b_hounde = {} + } + } + d_songhay = { + color={ 80 120 70 } + color2={ 255 255 255 } + + capital = 914 # Gao + + c_gao = { + color={ 130 180 61 } + color2={ 255 255 255 } + + b_gao = {} + b_sarnah = {} + b_gaosaney = {} + b_bourem = {} + b_ansongo = {} + b_menaka = {} + b_gabero = {} + b_anchawadi = {} + } + c_tadmekka = { + color={ 130 180 61 } + color2={ 255 255 255 } + + b_tadmekka = {} + b_agades = {} + b_takedda = {} + b_essako = {} + b_kidal = {} + } + c_zarma = { + color={ 130 180 61 } + color2={ 255 255 255 } + b_bura = {} + b_ouallam = {} + b_tera = {} + } + } + } + + allow = { + hidden_tooltip = { + OR = { + ai = no + culture_group = west_african + } + } + has_landed_title=k_mauretania + has_landed_title=k_mali + any_demesne_title = { + tier = king + NOT = { title = k_mali } + NOT = { title = k_mauretania } + } + } +} + + +# TITULAR DUCHIES +d_abbasid = { + color = { 19 180 16 } + + allow = { + always = no + } +} + +d_oxford = { # Obsolete + color={ 255 108 0 } + color2={ 255 255 255 } + capital = 22 # Oxford + allow = { + always = no + } +} + +d_arabia_felix = { + color = { 163 254 56 } +} +d_arabs = { + color = { 38 157 35 } + culture = bedouin_arabic +} +d_assassin = { + color = { 58 97 57 } +} +d_balearic = { + color={ 13 170 54 } +} +d_belgrade = { + color = { 151 125 62 } +} +d_bergen = { + color = { 47 27 255 } +} +d_bordeaux = { + color = { 59 15 248 } +} +d_braganza = { + color = { 219 195 35 } +} +d_butrinto = { + color = { 148 68 154 } +} +d_campania = { + color = { 226 204 228 } +} +d_catalonia = { + color = { 255 210 57 } +} +d_chaldea = { + color = { 107 159 41 } +} +d_cumberland = { + color = { 31 186 244 } +} +d_curonian = { + color = { 141 55 29 } + +# tribe = yes + + allow = { + always = no + } + + capital = 373 # Kurzeme + culture = lettigallish + title = "HIGH_CHIEF" + foa = "HIGH_CHIEF_FOA" +} + +# Pagan proto-Denmark +d_danes = { + color={ 247 77 54 } + +# tribe = yes + + dignity = 10 + + capital = 266 # Sjaelland + + allow = { + always = no + } + + culture = norse +} +d_don = { + color = { 247 211 116 } +} +d_dorostotum = { + color = { 163 48 206 } +} +d_el_rif = { + color = { 29 241 64 } +} +d_el-arish = { + color = { 148 206 13 } +} +d_erzerum = { + color = { 103 84 255 } +} +d_estonia = { + color = { 94 60 22 } + + capital = 378 # Reval + + allow = { + always = no + } + +# tribe = yes + + culture = ugricbaltic + title = "HIGH_CHIEF" + foa = "HIGH_CHIEF_FOA" +} +d_galatia = { + color = { 244 75 185 } +} +d_georgia = { + color = { 251 184 184 } +} +d_gilan = { + color = { 65 90 137 } +} +d_geats = { + color={ 35 57 180 } + +# tribe = yes + + dignity = 8 + + capital = 297 # Västergötland + + allow = { + always = no + } + + culture = norse +} +d_hellas = { + color = { 213 73 165 } +} +d_ikonion = { + color = { 179 28 127 } +} +d_ingers = { + color={ 125 125 40 } + +# tribe = yes + + allow = { + always = no + } + + culture = finnish + title = "HIGH_CHIEF" + foa = "HIGH_CHIEF_FOA" +} +d_kajaneborg = { # Kvens + color = { 123 73 13 } + +# tribe = yes + + allow = { + always = no + } + + culture = finnish + title = "HIGH_CHIEF" + foa = "HIGH_CHIEF_FOA" +} +d_kappadokia = { + color = { 255 3 170 } +} +d_karnten = { + color = { 229 254 242 } +} +d_kexholm = { + color={ 121 98 20 } + +# tribe = yes + + allow = { + always = no + } + + culture = finnish + title = "HIGH_CHIEF" + foa = "HIGH_CHIEF_FOA" +} +d_khazars = { + color = { 246 217 137 } + + capital = 594 # Sarkel + +# tribe = yes + + culture = khazar + + # Creation/Usurp Trigger + allow = { + always = no + } +} + +d_kirkuk = { + color = { 142 182 255 } +} +d_sami = { + color = { 101 99 35 } + +# tribe = yes + + allow = { + always = no + } + + culture = lappish + title = "HIGH_CHIEF" + foa = "HIGH_CHIEF_FOA" +} + +d_krakow = { + color = { 253 129 129 } +} +d_laodikeia = { + color = { 163 52 125 } +} +d_lettigalians = { + color = { 126 51 51 } + +# tribe = yes + + allow = { + always = no + } + + culture = lettigallish + title = "HIGH_CHIEF" + foa = "HIGH_CHIEF_FOA" +} +d_luristan = { + color = { 77 114 183 } +} +d_lut = { + color = { 119 170 29 } +} +d_lykia = { + color = { 121 42 93 } +} +d_mar = { + color = { 16 211 246 } +} +d_milano = { + color = { 252 238 227 } +} +d_minsk = { + color = { 175 44 44 } +} + +d_muromians = { + color = { 160 120 75 } + + capital = 581 # Murom + +# tribe = yes + + allow = { + always = no + } + + culture = mordvin + title = "HIGH_CHIEF" + foa = "HIGH_CHIEF_FOA" +} + +d_nikomedeia = { + color = { 209 108 174 } +} +d_pechenegs = { + # OBSOLETE + color = { 173 150 43 } + color2 = { 0 128 128 } + + capital = 542 # Olvia + +# tribe = yes + culture = pecheneg + + allow = { + always = no + } +} +d_pressburg = { + color = { 218 70 70 } +} +d_pronsk = { + color = { 23 132 81 } +} +d_pruthenians = { + color = { 159 195 75 } + +# tribe = yes + + allow = { + always = no + } + + capital = 370 # Marienburg + culture = prussian + title = "HIGH_CHIEF" + foa = "HIGH_CHIEF_FOA" + +} +d_qom = { + color = { 188 229 116 } +} +d_romagna = { + color = { 243 234 157 } +} +d_salamanca = { + color = { 251 229 34 } +} + +d_sames = { + # Actually Samoyeds + color = { 101 70 34 } + +# tribe = yes + + allow = { + always = no + } + + culture = samoyed + title = "HIGH_CHIEF" + foa = "HIGH_CHIEF_FOA" +} +d_sandomiersk = { + color = { 253 137 137 } +} +d_satakunta = { + color = { 117 47 47 } + +# tribe = yes + + allow = { + always = no + } + + culture = finnish + title = "HIGH_CHIEF" + foa = "HIGH_CHIEF_FOA" + +} +d_shiraz = { + color = { 155 189 97 } +} +d_sinope = { + color = { 255 6 172 } +} +d_slovakia = { + color = { 209 61 61 } +} +d_sweden = { + color={ 55 112 170 } + +# tribe = yes + + dignity = 10 + + capital = 290 # Uppland + + allow = { + always = no + } + + culture = norse +} +d_swiss = { + color = { 255 1 1 } +} +d_tavasts = { + color = { 131 21 21 } + +# tribe = yes + + allow = { + always = no + } + + culture = finnish + title = "HIGH_CHIEF" + foa = "HIGH_CHIEF_FOA" +} +d_meryas = { + color = { 131 41 41 } + + capital = 574 # Rostov / Merya + +# tribe = yes + + allow = { + always = no + } + + culture = mordvin + title = "HIGH_CHIEF" + foa = "HIGH_CHIEF_FOA" +} +d_veps = { + color = { 120 90 40 } + +# tribe = yes + + allow = { + always = no + } + + culture = mordvin + title = "HIGH_CHIEF" + foa = "HIGH_CHIEF_FOA" +} +d_meshcheras = { + color = { 151 71 41 } + + capital = 580 # Ryazan + +# tribe = yes + + allow = { + always = no + } + + culture = mordvin + title = "HIGH_CHIEF" + foa = "HIGH_CHIEF_FOA" +} +d_ural = { + color = { 208 178 78 } +} +d_varna = { + color = { 208 93 251 } +} +d_wielkopolska = { + color = { 252 144 144 } +} +d_vlachs = { + color = { 239 193 70 } +} +d_volga = { + color = { 168 135 47 } +} +d_votes = { + color = { 0 193 119 } + +# tribe = yes + + allow = { + always = no + } + + culture = finnish + title = "HIGH_CHIEF" + foa = "HIGH_CHIEF_FOA" + +} +d_zara = { + color = { 203 217 255 } +} +d_zaragoza = { + color = { 80 220 10 } +} +d_zemigalians = { + color = { 183 21 21 } + culture = lettigallish +# tribe = yes + + allow = { + always = no + } + + title = "HIGH_CHIEF" + foa = "HIGH_CHIEF_FOA" +} + +d_lendians = { # aka Ledzianie or Lechs + color={ 245 163 176 } + color2={ 255 255 255 } + culture = polish +# tribe = yes + + capital = 527 # Krakowskie + + allow = { + always = no + } + + title = "HIGH_CHIEF" + foa = "HIGH_CHIEF_FOA" +} + +d_kryvians = { # aka Krivichi + color = { 128 133 104 } + color2={ 255 255 255 } + + culture = russian +# tribe = yes + + capital = 419 # Polotsk + + allow = { + always = no + } + + title = "HIGH_CHIEF" + foa = "HIGH_CHIEF_FOA" +} + +d_ilmenians = { # aka Ilmen Slavs + color = { 70 120 40 } + color2={ 255 255 255 } + + culture = russian +# tribe = yes + + capital = 414 # Novgorod + + allow = { + always = no + } + + title = "HIGH_CHIEF" + foa = "HIGH_CHIEF_FOA" +} + +d_severians = { # aka Severiane + color = { 120 155 40 } + color2={ 255 255 255 } + + culture = russian +# tribe = yes + + capital = 567 # Novgorod Seversky + + allow = { + always = no + } + + title = "HIGH_CHIEF" + foa = "HIGH_CHIEF_FOA" +} + +d_vyatichi = { + color={ 169 183 125 } + color2={ 255 255 255 } + + culture = russian +# tribe = yes + + capital = 570 # Tver + + allow = { + always = no + } + + title = "HIGH_CHIEF" + foa = "HIGH_CHIEF_FOA" +} + +d_dregovichi = { + color={ 100 100 20 } + color2={ 255 255 255 } + + culture = russian +# tribe = yes + + capital = 548 # Pinsk + + allow = { + always = no + } + + title = "HIGH_CHIEF" + foa = "HIGH_CHIEF_FOA" +} + +d_radimichi = { + color={ 110 136 68 } + color2={ 255 255 255 } + + culture = russian +# tribe = yes + + capital = 551 # Mstislavl + + allow = { + always = no + } + + title = "HIGH_CHIEF" + foa = "HIGH_CHIEF_FOA" +} + +d_glomacze = { # Aka Dolomici + color={ 215 143 156 } + color2={ 255 255 255 } + + culture = pommeranian +# tribe = yes + + capital = 312 # Meissen + + allow = { + always = no + } + + title = "HIGH_CHIEF" + foa = "HIGH_CHIEF_FOA" +} + +d_sorbs = { + color={ 170 205 110 } + color2={ 255 255 255 } + + culture = pommeranian +# tribe = yes + + capital = 364 # Luzycka + + allow = { + always = no + } + + title = "HIGH_CHIEF" + foa = "HIGH_CHIEF_FOA" +} + +d_obotrites = { + color={ 100 110 20 } + color2={ 255 255 255 } + + culture = pommeranian +# tribe = yes + + capital = 260 # Mecklenburg + + allow = { + always = no + } + + title = "HIGH_CHIEF" + foa = "HIGH_CHIEF_FOA" +} + +# TITULAR KINGDOMS + +k_pechenegs = { + color = { 173 150 43 } + color2 = { 0 128 128 } + + capital = 543 # Oleshye + +# tribe = yes + culture = pecheneg + + allow = { + always = no + } +} + +k_almohad = { + color = { 0 105 56 } +} +k_al-murabitids = { + color = { 10 105 56 } +} + +k_beni_helal = { + color = { 128 163 56 } +} +k_fatimids = { + # OBSOLETE + color={ 10 140 4 } + color2={ 200 200 0 } +# capital = 796 # Cairo + culture = egyptian_arabic + + allow = { + always = no + } +} +k_hammadid = { + color = { 149 180 17 } +} +k_kafsid = { + color = { 109 130 20 } +} +k_marinid = { + color = { 46 255 5 } +} +k_bosnia = { + color = { 16 125 74 } + culture = serbian +} + +e_seljuk_turks = { # Seljuk Turks + color={ 99 168 74 } + + short_name = yes + + capital = 646 # Esfahan + culture = turkish + +# tribe = yes + +# landless = yes + + allow = { + always = no + } +} +k_zenata = { + color = { 0 71 189 } +} +k_zirid = { + color = { 90 195 49 } +} +k_ziyanids = { + color = { 5 76 194 } +} +k_avaria = { + color={ 250 120 90 } # Only for the CoA + culture = avar + + capital = 444 # Anhalt + + allow = { + always = no + } +} +k_lombardy = { + color={ 234 217 110 } # Only for the CoA + culture = lombard + + capital = 234 # Anhalt + + allow = { + always = no + } +} + +d_amalfi = { + color={ 140 200 230 } + capital = 935 # Amalfi + + dignity = 10 + + allow = { + is_republic = yes + } +} + +# TITULAR EMPIRES + +e_latin_empire = { + color = { 150 105 56 } + + capital = 496 # Byzantion + + short_name = yes + + + allow = { + OR = { + religion = catholic + is_heresy_of = catholic + } + e_byzantium = { + has_holder = no + } + e_roman_empire = { + has_holder = no + } + custom_tooltip = { + text = controls_kaliopolis_thrake + hidden_tooltip = { + 495 = { # Kaliopolis + owner = { + OR = { + is_liege_or_above = ROOT + character = ROOT + } + } + } + 497 = { # Thrake + owner = { + OR = { + is_liege_or_above = ROOT + character = ROOT + } + } + } + } + } + } +} + +d_miaphysite = { + color={ 217 155 177 } + color2={ 220 220 0 } + + capital = 802 # Alexandria + + title = "COPTIC_POPE" + foa = "POPE_FOA" + + short_name = yes + + # Always exists + landless = yes + + # Controls a religion + controls_religion = miaphysite + + religion = miaphysite + + # Cannot be held as a secondary title + primary = yes + + dynasty_title_names = no # Will not be named "Seljuk", etc. + + # Regnal names + male_names = { + Abraham Alexandros Alexios Agatho Anastasios Andronikos Athanasios Benjamin Christodolos Cosmas Kyril Damian + Demetrius Dioscorus Gabriel Yohannes Iosephos Isaakios Iakobos Makarios Markianos Markos Matheos Khail Mina + Petros Philotheos Shenouda Simeon Theodoros Theophilus Timotheos Zacharias + } +} + +d_monophysite = { + color={ 200 115 167 } + color2={ 220 220 0 } + + capital = 802 # Alexandria + + title = "MONOPHYSITE_POPE" + foa = "POPE_FOA" + + short_name = yes + + # Always exists + landless = yes + + # Controls a religion + controls_religion = monophysite + + religion = monophysite + + # Cannot be held as a secondary title + primary = yes + + dynasty_title_names = no # Will not be named "Seljuk", etc. + + # Regnal names + male_names = { + Abraham Alexandros Alexios Agatho Anastasius Andronicus Athanasios Benjamin Christodolos Cosmas Cyril Damian + Demetrius Dioscorus Gabriel Ioannes Iosephos Isaakios Iakobos Makarios Markianos Matheos Michail Mina + Petros Philotheos Shenouda Simeon Theodoros Theophilus Timotheos Zacharias + } +} + +d_nestorian = { + color={ 180 137 97 } + color2={ 220 220 0 } + + capital = 764 # Antioch + + title = "PATRIARCH_IN_THE_EAST" + foa = "ECUMENICAL_PATRIARCH_FOA" + + short_name = yes + + # Always exists + landless = yes + + # Controls a religion + controls_religion = nestorian + + religion = nestorian + + # Cannot be held as a secondary title + primary = yes + + dynasty_title_names = no # Will not be named "Seljuk", etc. + + # Regnal names + male_names = { + Aba Abraham Eliya Denha Emmanuel Giwargis Hnanisho Ishoyahb Makkikha + Maremmeh Pethion Sabrisho Shemon Sargis Surin Theodosios Timotheos Yahballaha Yohannan + } +} + +d_paulician = { + color={ 195 130 157 } + color2={ 255 255 255 } + + capital = 496 # Constantinople + + title = "PAULICIAN_PATRIARCH" + foa = "ECUMENICAL_PATRIARCH_FOA" + + short_name = yes + + # Always exists + landless = yes + + # Controls a religion + controls_religion = paulician + + religion = paulician + + # Cannot be held as a secondary title + primary = yes + + dynasty_title_names = no # Will not be named "Seljuk", etc. + + # Regnal names + male_names = { + Alexios Alexandros Anastasios Anthimos Athanasios Antonios Basileios Dionysios Dositheos + Eustathios Eustratios Euthymios Gabriel Gennadios Georgios Gerasimos Germanos Gregorios Ieremias + Ignatios Ioakeim Ioannes Ioseph Isidoros Kallinikos Kallistos Konstantinos Kosmas Kyrillos Leon + Leontios Loukas Makarios Manuel Markos Matthaios Maximos Meletios Methodios Metrophanes Michael + Neophytos Nephon Nikephoros Niketas Nikolaos Pavlos Petros Photios Polykarpos Sergios Stephanos + Sophronios Theodoros Theodosios Theodotos Theophylaktos Thomas Timotheos + } +} + +d_monothelite = { + color={ 180 170 65 } + color2={ 220 220 0 } + + capital = 764 # Antioch + + title = "MONOTHELITE_PATRIARCH" + foa = "ECUMENICAL_PATRIARCH_FOA" + + short_name = yes + + # Always exists + landless = yes + + # Controls a religion + controls_religion = monothelite + + religion = monothelite + + # Cannot be held as a secondary title + primary = yes + + dynasty_title_names = no # Will not be named "Seljuk", etc. + + # Regnal names + male_names = { + Alexios Alexandros Anastasios Anthimos Athanasios Antonios Basileios Dionysios Dositheos + Eustathios Eustratios Euthymios Gabriel Gennadios Georgios Gerasimos Germanos Gregorios Ieremias + Ignatios Ioakeim Ioannes Ioseph Isidoros Kallinikos Kallistos Konstantinos Kosmas Kyrillos Leon + Leontios Loukas Makarios Manuel Markos Matthaios Maximos Meletios Methodios Metrophanes Michael + Neophytos Nephon Nikephoros Niketas Nikolaos Pavlos Petros Photios Polykarpos Sergios Stephanos + Sophronios Theodoros Theodosios Theodotos Theophylaktos Thomas Timotheos + } +} + +d_fraticelli = { + color={ 198 249 255 } + color2={ 220 220 0 } + + capital = 333 # Rome + + title = "POPE" + foa = "POPE_FOA" + short_name = yes + location_ruler_title = yes + + allow = { + always = no # Only by special decision + } + + # Always exists + landless = yes + + # Controls a religion + controls_religion = fraticelli + + religion = fraticelli + + # Cannot be held as a secondary title + primary = yes + + dynasty_title_names = no # Will not be named "Seljuk", etc. + + # Regnal names + male_names = { + John Gregory Benedict Clement Innocent Leo Pius Stephen Boniface Urban Alexander Adrian Paul + Celestine Martin Nicholas Sixtus Felix Sergius Anastasius Honorius Eugene Sylvester Victor + Lucius Callixtus Julius Pelagius Adeodatus Theodore Marinus Agapetus Damasus Paschal + Gelasius Marcellus "John Paul" Anacletus Evaristus Telesphorus Hyginus Anicetus Mark Hilarius + Simplicius Symmachus Hormisdas Silverius Vigilius Sabinian Severinus Vitalian Donus Agatho + Conon Sisinnius Constantine Zachary Valentine Formosus Romanus Lando + } +} + +d_iconoclast = { + color={ 153 50 125 } + color2={ 220 220 0 } + + capital = 496 # Constantinople + + title = "ECUMENICAL_PATRIARCH" + foa = "ECUMENICAL_PATRIARCH_FOA" + short_name = yes + + allow = { + always = no # Only by special decision + } + + # Always exists + landless = yes + + # Controls a religion + controls_religion = iconoclast + + religion = iconoclast + + # Cannot be held as a secondary title + primary = yes + + dynasty_title_names = no # Will not be named "Seljuk", etc. + + # Regnal names + male_names = { + Alexios Alexandros Anastasios Anthimos Athanasios Antonios Basileios Dionysios Dositheos + Eustathios Eustratios Euthymios Gabriel Gennadios Georgios Gerasimos Germanos Gregorios Ieremias + Ignatios Ioakeim Ioannes Ioseph Isidoros Kallinikos Kallistos Konstantinos Kosmas Kyrillos Leon + Leontios Loukas Makarios Manuel Markos Matthaios Maximos Meletios Methodios Metrophanes Michael + Neophytos Nephon Nikephoros Niketas Nikolaos Pavlos Petros Photios Polykarpos Sergios Stephanos + Sophronios Theodoros Theodosios Theodotos Theophylaktos Thomas Timotheos + } +} + +d_yazidi = { + color={ 20 50 160 } + color2={ 220 220 0 } + + capital = 697 # Mosul + + dignity = 80 # Counted as having this many more counties than it does + + title = "SHEIKH" + title_female = "SHEIKHA" + foa = "CALIPH_FOA" + short_name = yes + + religion=yazidi + + # Controls a religion + controls_religion = yazidi + + allow = { + piety = 1000 + } + + caliphate = yes + + coat_of_arms= + { + data= + { + 0 0 3 0 0 11 11 + } + religion=yazidi + } +} + +d_ibadi = { + color={ 20 130 20 } + color2={ 220 220 0 } + + capital = 719 # Mecca + + creation_requires_capital = no + + dignity = 80 # Counted as having this many more counties than it does + + title = "CALIPH" + title_female = "CALIPHA" + foa = "CALIPH_FOA" + short_name = yes + + religion=ibadi + + # Controls a religion + controls_religion = ibadi + + allow = { + OR = { + trait = mirza + trait = sayyid + piety = 1000 + } + OR = { + AND = { + trait = sayyid + piety = 1000 + } + custom_tooltip = { + text = controls_mecca_medina + hidden_tooltip = { + 719 = { # Mecca + owner = { + OR = { + is_liege_or_above = ROOT + character = ROOT + } + } + } + 718 = { # Medina + owner = { + OR = { + is_liege_or_above = ROOT + character = ROOT + } + } + } + } + } + custom_tooltip = { + text = controls_jerusalem_damascus_baghdad + hidden_tooltip = { + 774 = { # Jerusalem + owner = { + OR = { + is_liege_or_above = ROOT + character = ROOT + } + } + } + 728 = { # Damascus + owner = { + OR = { + is_liege_or_above = ROOT + character = ROOT + } + } + } + 693 = { # Baghdad + owner = { + OR = { + is_liege_or_above = ROOT + character = ROOT + } + } + } + } + } + } + } + + caliphate = yes + + coat_of_arms= + { + data= + { + 0 0 0 8 0 2 2 + } + religion=ibadi + } +} + +d_kharijite = { + color={ 10 110 10 } + color2={ 220 220 0 } + + capital = 719 # Mecca + + creation_requires_capital = no + + dignity = 80 # Counted as having this many more counties than it does + + title = "CALIPH" + title_female = "CALIPHA" + foa = "CALIPH_FOA" + short_name = yes + + religion=kharijite + + # Controls a religion + controls_religion = kharijite + + allow = { + piety = 1000 + OR = { + custom_tooltip = { + text = controls_mecca_medina + hidden_tooltip = { + 719 = { # Mecca + owner = { + OR = { + is_liege_or_above = ROOT + character = ROOT + } + } + } + 718 = { # Medina + owner = { + OR = { + is_liege_or_above = ROOT + character = ROOT + } + } + } + } + } + custom_tooltip = { + text = controls_jerusalem_damascus_baghdad + hidden_tooltip = { + 774 = { # Jerusalem + owner = { + OR = { + is_liege_or_above = ROOT + character = ROOT + } + } + } + 728 = { # Damascus + owner = { + OR = { + is_liege_or_above = ROOT + character = ROOT + } + } + } + 693 = { # Baghdad + owner = { + OR = { + is_liege_or_above = ROOT + character = ROOT + } + } + } + } + } + } + } + + caliphate = yes + + coat_of_arms= + { + data= + { + 0 0 0 8 0 2 2 + } + religion=kharijite + } +} + +d_hurufi = { + color={ 80 220 80 } + color2={ 220 220 0 } + + capital = 719 # Mecca + + creation_requires_capital = no + + dignity = 100 # Counted as having this many more counties than it does + + title = "CALIPH" + title_female = "CALIPHA" + foa = "CALIPH_FOA" + short_name = yes + + religion=hurufi + + # Controls a religion + controls_religion = hurufi + + allow = { + OR = { + trait = mirza + trait = sayyid + piety = 1000 + } + OR = { + AND = { + trait = sayyid + piety = 1000 + } + custom_tooltip = { + text = controls_mecca_medina + hidden_tooltip = { + 719 = { # Mecca + owner = { + OR = { + is_liege_or_above = ROOT + character = ROOT + } + } + } + 718 = { # Medina + owner = { + OR = { + is_liege_or_above = ROOT + character = ROOT + } + } + } + } + } + custom_tooltip = { + text = controls_jerusalem_damascus_baghdad + hidden_tooltip = { + 774 = { # Jerusalem + owner = { + OR = { + is_liege_or_above = ROOT + character = ROOT + } + } + } + 728 = { # Damascus + owner = { + OR = { + is_liege_or_above = ROOT + character = ROOT + } + } + } + 693 = { # Baghdad + owner = { + OR = { + is_liege_or_above = ROOT + character = ROOT + } + } + } + } + } + } + } + + caliphate = yes + + coat_of_arms= + { + data= + { + 0 0 0 7 1 7 7 + } + religion=hurufi + } +} + +e_mexikha = { + color = { 255 127 0 } + + short_name = yes + +# capital = 1 + + # Always exists + landless = yes + +# tribe = yes + + culture = nahuatl + religion = aztec +} + +#d_hansa = { +# color={ 142 142 142 } +# color2={ 255 255 255 } +# +# allow = { +# always = no +# } +# +# capital = 262 # Lübeck +# +# dignity = 10 +#} + + +d_socotra = { + color={ 142 255 85 } + color2={ 255 255 255 } + + capital = 1369 # Socotra + + dignity = 10 +} + + +###################################### +# Historical Merchant Republic Palaces +###################################### + +# VENICE: + +b_dandolo = { + culture = italian + religion = catholic +} + +b_contarini = { + culture = italian + religion = catholic +} + +b_faliero = { + culture = italian + religion = catholic +} + +b_morosini = { + culture = italian + religion = catholic +} + +b_ziani = { + culture = italian + religion = catholic +} + +b_candiano = { + culture = italian + religion = catholic +} + +b_orsoleo = { + culture = italian + religion = catholic +} + +b_participazio = { + culture = italian + religion = catholic +} + +b_tribuno = { + culture = italian + religion = catholic +} + +b_tradonico = { + culture = italian + religion = catholic +} + +b_antenoreo = { + culture = italian + religion = catholic +} + +b_galbaio = { + culture = italian + religion = catholic +} + +b_monegario = { + culture = italian + religion = catholic +} + +b_gaulo = { + culture = italian + religion = catholic +} + +# GENOA: + +b_doria = { + culture = italian + religion = catholic +} + +b_spinola = { + culture = italian + religion = catholic +} + +b_grimaldi = { + culture = italian + religion = catholic +} + +b_fieschi = { + culture = italian + religion = catholic +} + +b_embriaco = { + culture = italian + religion = catholic +} + +# PISA: + +b_dappiano = { + culture = italian + religion = catholic +} + +b_della_gherardesca = { + culture = italian + religion = catholic +} + +b_visconti = { + culture = italian + religion = catholic +} + +b_alliata = { + culture = italian + religion = catholic +} + +b_caetani = { + culture = italian + religion = catholic +} + +# LÜBECK: + +b_bardewik = { + culture = german + religion = catholic +} + +b_vorrade = { + culture = german + religion = catholic +} + +b_warendorp = { + culture = german + religion = catholic +} + +b_pat_luneburg = { + culture = german + religion = catholic +} + +b_wittenborg = { + culture = german + religion = catholic +} + +# GOTLAND: + +b_stenkyrka = { + culture = swedish + religion = catholic +} + +b_guldsmed = { + culture = swedish + religion = catholic +} + +b_hejnum = { + culture = swedish + religion = catholic +} + +b_gildehusen = { + culture = swedish + religion = catholic +} + +b_strabain = { + culture = swedish + religion = catholic +} + +# AMALFI: + +b_konstantios = { + culture = greek + religion = catholic +} + +b_mauro = { + culture = italian + religion = catholic +} + +b_musco = { + culture = italian + religion = catholic +} + +b_polkarios = { + culture = greek + religion = catholic +} + +b_urso = { + culture = italian + religion = catholic +} + +b_amalfinos = { + culture = greek + religion = catholic +} + +b_manginos = { + culture = greek + religion = catholic +} + +b_kanakares = { + culture = greek + religion = catholic +} + +b_sorrenti = { + culture = italian + religion = catholic +} + +b_ravelli = { + culture = italian + religion = catholic +} + +# Pagan heads of religion + +d_norse_pagan_reformed = { + color={ 155 155 235 } + color2={ 220 220 0 } + + capital = 290 #Uppland + + title = "FYLKIR" + title_female = "FYLKJA" + foa = "FYLKIR_FOA" + + creation_requires_capital = no + + allow = { + religion = norse_pagan_reformed + num_of_holy_sites = 3 + piety = 500 + } + + short_name = yes + + dignity = 100 # Counted as having this many more counties than it does + + # Controls a religion + controls_religion = norse_pagan_reformed + + religion = norse_pagan_reformed + + dynasty_title_names = no # Will not be named "Seljuk", etc. +} + +d_tengri_pagan_reformed = { + color={ 100 80 100 } + color2={ 220 220 0 } + + capital = 594 # Sarkel + + title = "HEAD_PRIEST" + title_female = "HEAD_PRIESTESS" + foa = "HEAD_PRIEST_FOA" + + short_name = yes + + # Always exists + landless = yes + + # Controls a religion + controls_religion = tengri_pagan_reformed + + religion = tengri_pagan_reformed + + # Cannot be held as a secondary title + primary = yes + + dynasty_title_names = no # Will not be named "Seljuk", etc. +} + +d_baltic_pagan_reformed = { + color={ 122 165 70 } + color2={ 220 220 0 } + + capital = 366 #Stettin + + title = "HEAD_PRIEST" + title_female = "HEAD_PRIESTESS" + foa = "HEAD_PRIEST_FOA" + + short_name = yes + + # Always exists + landless = yes + + # Controls a religion + controls_religion = baltic_pagan_reformed + + religion = baltic_pagan_reformed + + # Cannot be held as a secondary title + primary = yes + + dynasty_title_names = no # Will not be named "Seljuk", etc. +} + +d_finnish_pagan_reformed = { + color={ 240 240 220 } + color2={ 220 220 0 } + + capital = 381 # Uusimaa + + title = "HEAD_PRIEST" + title_female = "HEAD_PRIESTESS" + foa = "HEAD_PRIEST_FOA" + + short_name = yes + + # Always exists + landless = yes + + # Controls a religion + controls_religion = finnish_pagan_reformed + + religion = finnish_pagan_reformed + + # Cannot be held as a secondary title + primary = yes + + dynasty_title_names = no # Will not be named "Seljuk", etc. +} + +d_slavic_pagan_reformed = { + color={ 175 50 136 } + color2={ 220 220 0 } + + capital = 515 # Tirgoviste + + title = "HEAD_PRIEST" + title_female = "HEAD_PRIESTESS" + foa = "HEAD_PRIEST_FOA" + + short_name = yes + + # Always exists + landless = yes + + # Controls a religion + controls_religion = slavic_pagan_reformed + + religion = slavic_pagan_reformed + + # Cannot be held as a secondary title + primary = yes + + dynasty_title_names = no # Will not be named "Seljuk", etc. +} + +d_aztec_reformed = { + color={ 245 245 135 } + color2={ 220 220 0 } + + capital = 1 #??????? + + title = "HEAD_PRIEST" + title_female = "HEAD_PRIESTESS" + foa = "HEAD_PRIEST_FOA" + + short_name = yes + + # Always exists + landless = yes + + # Controls a religion + controls_religion = aztec_reformed + + religion = aztec_reformed + + # Cannot be held as a secondary title + primary = yes + + dynasty_title_names = no # Will not be named "Seljuk", etc. +} + +d_west_african_pagan_reformed = { + color={ 91 49 13 } + color2={ 220 220 0 } + + capital = 925 # Mali + + title = "HEAD_PRIEST" + title_female = "HEAD_PRIESTESS" + foa = "HEAD_PRIEST_FOA" + + short_name = yes + + # Always exists + landless = yes + + # Controls a religion + controls_religion = west_african_pagan_reformed + + religion = west_african_pagan_reformed + + # Cannot be held as a secondary title + primary = yes + + dynasty_title_names = no # Will not be named "Seljuk", etc. +} + +d_zun_pagan_reformed = { + color={ 220 255 0 } + color2={ 220 220 0 } + + capital = 1183 # Bost + + title = "HEAD_PRIEST" + title_female = "HEAD_PRIESTESS" + foa = "HEAD_PRIEST_FOA" + + short_name = yes + + # Always exists + landless = yes + + # Controls a religion + controls_religion = zun_pagan_reformed + + religion = zun_pagan_reformed + + # Cannot be held as a secondary title + primary = yes + + dynasty_title_names = no # Will not be named "Seljuk", etc. +} + +d_zoroastrian = { + color={ 180 120 40 } + color2={ 220 220 0 } + + capital = 646 # Esfahan + + title = "HEAD_MOABADAN_MOABAD" + foa = "POPE_FOA" + + short_name = yes + + # Always exists + landless = yes + + # Controls a religion + controls_religion = zoroastrian + + religion = zoroastrian + + # Cannot be held as a secondary title + primary = yes + + dynasty_title_names = no # Will not be named "Seljuk", etc. +} + +d_jewish = { + color = { 0 80 255 } + + capital = 774 # Jerusalem + + title = "HEAD_KOHEN_GADOL" + foa = "POPE_FOA" + + short_name = yes + + # Always exists + landless = yes + + # Controls a religion + controls_religion = jewish + + religion = jewish + + # Cannot be held as a secondary title + primary = yes + + dynasty_title_names = no # Will not be named "Seljuk", etc. +} + +### INDIA ### + +e_india = { # Titular, created by special decision only if entire India is united + color = { 255 110 0 } + + title = "SAMRAT_CHAKRAVARTIN" + title_female = "SAMRAJNI_CHAKRAVARTIN" + + dynasty_title_names = no # Will not be named "Seljuk", etc. + + allow = { + always = no # Only created through special decision + } +} + +e_rajastan = { + color={ 255 100 0 } + color2={ 255 255 255 } + + capital = 1356 # Kanyakubja + + k_sindh = { + color={ 225 135 20 } + color2={ 255 255 255 } + + capital = 1297 # Debul + + zun_pagan_reformed = 100 # Crusade target weight + zoroastrian_group = 50 # Crusade target weight + + d_sauvira = { + color={ 230 135 20 } + color2={ 255 255 255 } + + capital = 1297 # Debul + + c_debul = { + color={ 230 155 20 } + color2={ 255 255 255 } + + b_debul = { + } + b_banbhore = { + } + b_landhi = { + } + b_thatta = { + } + b_makli = { + } + b_shahbandar = { + } + b_kolachi = { + } + b_lari_bandar = { + } + } + c_sonda = { + color={ 230 115 20 } + color2={ 255 255 255 } + + b_sonda = { + } + b_nagarparkar = { + } + b_karoonjar = { + } + b_amarkot = { + } + b_mamhal = { + } + b_matli = { + } + b_badin = { + } + } + c_mansura = { + color={ 230 155 40 } + color2={ 255 255 255 } + + b_mansura = { + } + b_mirpur_khas = { + } + b_hala = { + } + b_nerunkot = { + } + b_matiari = { + } + b_nasarpur = { + } + b_mirman = { + } + } + c_ranikot = { + color={ 210 155 40 } + color2={ 255 255 255 } + + b_ranikot = { + } + b_sharusan = { + } + b_paat = { + } + b_khudabad = { + } + b_manhabari = { + } + b_jandar = { + } + b_abu = { # Fictional - For Prosperity + } + } + c_siwistan = { + color={ 250 155 40 } + color2={ 255 255 255 } + + b_siwistan = { + } + b_dahlilah = { + } + b_mir_rukan = { + } + b_guja = { + } + b_vicalapura = { + } + b_bahera = { # Fictional - For Prosperity + } + b_kamharia = { # Fictional - For Prosperity + } + } + } + d_bhakkar = { + color={ 200 105 18 } + color2={ 255 255 255 } + + capital = 1138 # Bhakkar + + c_bhakkar = { + color={ 220 105 18 } + color2={ 255 255 255 } + + b_bhakkar = { + } + b_larkana = { + } + b_sarkara = { + } + b_kalari = { + } + b_sialkot = { + } + b_shikarpur = { + } + b_mejia = { # Fictional - For Prosperity + } + } + c_aror = { + color={ 180 105 18 } + color2={ 255 255 255 } + + b_aror = { + } + b_sukkur = { + } + b_chak = { + } + b_basmak = { + } + b_siraj_ji_takri = { + } + b_allah_abad = { + } + b_mahokhar = { # Fictional - For Prosperity + } + } + c_rajanpur = { + color={ 200 115 18 } + color2={ 255 255 255 } + + b_rajanpur = { + } + b_rojhan = { + } + b_adhiwala = { + } + b_harrand = { + } + b_dajal = { + } + b_pottangi = { # Fictional - For Prosperity + } + b_sersandu = { # Fictional - For Prosperity + } + } + c_sibi = { + color={ 200 145 18 } + color2={ 255 255 255 } + + b_sibi = { + } + b_mastanj = { + } + b_walishtan = { + } + b_dadhar = { + } + b_saprenda = { # Fictional - For Prosperity + } + b_sardoi = { # Fictional - For Prosperity + } + b_valikondapuram = { # Fictional - For Prosperity + } + } + c_kandail = { + color={ 200 105 38 } + color2={ 255 255 255 } + + b_kandail = { + } + b_dadu = { + } + b_jhal = { + } + b_vinjamoor = { # Fictional - For Prosperity + } + b_wilong = { # Fictional - For Prosperity + } + b_xelvona = { # Fictional - For Prosperity + } + b_yamanpalli = { # Fictional - For Prosperity + } + } + c_quzdar = { + color={ 200 115 28 } + color2={ 255 255 255 } + + b_quzdar = { + } + b_bodein = { + } + b_sumandal = { # Fictional - For Prosperity + } + b_supa = { # Fictional - For Prosperity + } + b_suratgarh = { # Fictional - For Prosperity + } + b_talya = { # Fictional - For Prosperity + } + b_tekkumuri = { # Fictional - For Prosperity + } + } + } + + } + k_punjab = { + color={ 255 90 20 } + color2={ 255 255 255 } + + capital = 1362 # Lahur + + zun_pagan_reformed = 150 # Crusade target weight + zoroastrian_group = 50 # Crusade target weight + + d_multan = { + color={ 234 100 21 } + color2={ 255 255 255 } + + capital = 1338 # Multan + + c_multan = { + color={ 234 110 21 } + color2={ 255 255 255 } + + holy_site = zun_pagan + holy_site = zun_pagan_reformed + + b_multan = { + } + b_mulasthana = { + } + b_kabirwala = { + } + b_tulamba = { + } + b_prahladpuri = { + } + b_alipur = { + } + b_makhdum_rashid = { + } + } + c_kafirkot = { + color={ 234 90 21 } + color2={ 255 255 255 } + + b_kafirkot = { + } + b_malot = { + } + b_bilot = { + } + b_maniot = { + } + b_dera_ghazi_khan = { + } + b_rupsi = { # Fictional - For Prosperity + } + b_sagra = { # Fictional - For Prosperity + } + } + c_uch = { + color={ 234 80 21 } + color2={ 255 255 255 } + + b_uch = { + } + b_chachran = { + } + b_mithankot = { + } + b_derawar = { + } + b_chaudari = { + } + b_sitpur = { + } + b_rardhu = { # Fictional - For Prosperity + } + } + c_karur = { + color={ 234 50 11 } + color2={ 255 255 255 } + + b_karur = { + } + b_askhanda = { + } + b_vehari = { + } + b_chishtian = { + } + b_marot = { + } + b_nyahalode = { # Fictional - For Prosperity + } + b_odalgaon = { # Fictional - For Prosperity + } + } + c_karor = { + color={ 255 120 21 } + color2={ 255 255 255 } + + b_karor = { + } + b_mankera = { + } + b_shadia = { + } + b_wan_bhachran = { + } + b_murwa = { # Fictional - For Prosperity + } + b_naithra = { # Fictional - For Prosperity + } + b_namchang = { # Fictional - For Prosperity + } + } + c_wana = { # Bori + color={ 244 80 5 } + color2={ 255 255 255 } + + b_bori = { + } + b_mun = { # Fictional - For Prosperity + } + b_nandulia = { # Fictional - For Prosperity + } + b_jua = { # Fictional - For Prosperity + } + b_junaghur = { # Fictional - For Prosperity + } + b_kakshar = { # Fictional - For Prosperity + } + b_kalamboli = { # Fictional - For Prosperity + } + } + } + d_lahore = { + color={ 180 110 41 } + color2={ 255 255 255 } + + capital = 1362 # Lahur + + c_lahur = { + color={ 180 130 41 } + color2={ 255 255 255 } + + b_lahur = { + } + b_sangla = { + } + b_kasur = { + } + b_samnabad = { + } + b_mehdiabad = { + } + b_chunian = { + } + b_data_darbar = { + } + } + c_dipalpur = { + color={ 190 100 41 } + color2={ 255 255 255 } + + b_pancapura = { + } + b_dipalpur = { + } + b_abohar = { + } + b_ajodhan = { + } + b_satghara = { + } + b_chichawatni = { + } + b_jongbandha = { # Fictional - For Prosperity + } + } + c_bhera = { + color={ 160 110 41 } + color2={ 255 255 255 } + + b_bhera = { + } + b_rampur = { + } + b_katasraj = { + } + b_girjakh = { + } + b_behak_maken = { + } + b_phalia = { + } + b_gorawas = { # Fictional - For Prosperity + } + } + c_shorkot = { + color={ 180 110 61 } + color2={ 255 255 255 } + + b_bhirr = { + } + b_shorkot = { + } + b_kamalia = { + } + b_chandrod = { + } + b_bhawana = { + } + b_jhang = { + } + b_rabwah = { + } + } + c_sakala = { + color={ 180 120 21 } + color2={ 255 255 255 } + + b_sakala = { + } + b_jammu = { + } + b_bhuttar = { + } + b_bahu = { + } + b_vallapura = { + } + b_puran_nagar = { + } + b_pasrur = { + } + } + c_trigarta = { + color={ 190 100 31 } + color2={ 255 255 255 } + + b_jalandhar = { + } + b_kahlur = { + } + b_rahon = { + } + b_pathankot = { + } + b_kaparthula = { + } + b_milwat = { + } + b_sarwmanpur = { + } + b_kangra = { + } + } + c_gurjaratra = { + color={ 140 120 41 } + color2={ 255 255 255 } + + b_gurjaratra = { + } + b_jhelum = { + } + b_kharian = { + } + b_kunjah = { + } + b_hakla = { + } + b_tibbi = { + } + b_karianwala = { + } + b_bhaddar = { + } + } + } + d_gandhara = { + color={ 255 150 31 } + color2={ 255 255 255 } + + capital = 1180 # Udabhanda + + c_udabhanda = { + color={ 255 130 31 } + color2={ 255 255 255 } + + holy_site = buddhist + + b_udabhanda = { + } + b_charsada = { + } + b_oddiyana = { + } + b_attak = { + } + b_mankiala = { + } + b_rawal = { + } + b_ohind = { + } + } + c_purushapura = { + color={ 235 150 31 } + color2={ 255 255 255 } + + b_purushapura = { + } + b_shah_ji_dheri = { + } + b_nowshera = { + } + b_ali_masjid = { + } + b_bajaur = { + } + b_mardan = { + } + b_shergarh = { + } + } + c_nandana = { + color={ 255 150 11 } + color2={ 255 255 255 } + + b_nandana = { + } + b_hund = { + } + b_lund2 = { + } + b_simhapura = { + } + b_khushab = { + } + b_tulaja = { + } + b_khewra = { + } + } + c_kasmira = { + color={ 245 160 31 } + color2={ 255 255 255 } + + b_srinagara = { + } + b_shankaracharya = { + } + b_parihasapura = { + } + b_padmapura = { + } + b_loharakota = { + } + b_amaresvara = { + } + b_baghsar = { + } + } + c_bannu = { + color={ 9 150 51 } #265 modulo 256 is 9 + color2={ 255 255 255 } + + b_bannu = { + } + b_hangu = { + } + b_karrak = { + } + b_kohat = { + } + b_dinkot = { + } + b_kalabagh = { + } + b_hindolia = { # Fictional - For Prosperity + } + } + } + } + k_delhi = { + color={ 220 150 75 } + color2={ 255 255 255 } + + capital = 1365 # Delhi + + d_kuru = { + color={ 210 65 12 } + color2={ 255 255 255 } + + capital = 1365 # Delhi + + c_delhi = { + color={ 230 65 12 } + color2={ 255 255 255 } + + b_indraprastha = { + } + b_dhilika = { + } + b_mehrauli = { + } + b_lalkot = { + } + b_narela = { + } + b_siri = { + } + b_jahanpanah = { + } + } + c_hastinapura = { + color={ 190 65 12 } + color2={ 255 255 255 } + + b_hastinapura = { + } + b_pandeshwar = { + } + b_pankot = { + } + b_indrasthana = { + } + b_mirath = { + } + b_baran = { + } + b_hapur = { + } + } + c_sthanisvara = { + color={ 210 65 12 } + color2={ 255 255 255 } + + b_saharanpur = { + } + b_sthanisvara = { + } + b_shakumbhri_devi = { + } + b_sirhind = { + } + b_karnal = { + } + b_samana = { + } + b_panipat = { + } + } + } + d_haritanaka = { + color={ 100 25 3 } + color2={ 255 255 255 } + + capital = 1364 # Tribandapura + + c_hisar = { + color={ 100 25 23 } + color2={ 255 255 255 } + + b_asigarh = { + } + b_asika = { + } + b_surajkund = { + } + b_rohtak = { + } + b_hisar = { + } + b_kalanaur = { + } + b_agroha = { + } + } + c_tribandapura = { + color={ 130 25 3 } + color2={ 255 255 255 } + + b_tribandapura = { + } + b_sunam = { + } + b_jaintpuri = { + } + b_kartikeya = { + } + b_amin = { + } + b_chitwye = { # Fictional - For Prosperity + } + b_dabthala = { # Fictional - For Prosperity + } + } + c_sarasvati = { + color={ 100 55 3 } + color2={ 255 255 255 } + + b_sarasvati = { + } + b_bhadra = { + } + b_bhatnir = { + } + b_tarain = { + } + b_bukar = { # Fictional - For Prosperity + } + b_chakarpura = { # Fictional - For Prosperity + } + b_chandara = { # Fictional - For Prosperity + } + } + } + d_mathura = { + color={ 150 45 10 } + color2={ 255 255 255 } + + capital = 1359 # Mathura + + c_mathura = { + color={ 170 45 20 } + color2={ 255 255 255 } + + holy_site = hindu + + b_mathura = { + } + b_krishnajanmabhoomi = { + } + b_govardhan = { + } + b_vrindavan = { + } + b_mankameshwar = { + } + b_agra = { + } + b_khanwa = { + } + b_dhanauli = { + } + } + c_kol = { + color={ 150 65 10 } + color2={ 255 255 255 } + + b_dor = { + } + b_kol = { + } + b_soron = { + } + b_nilavati = { + } + b_etah = { + } + b_barauli = { + } + b_dalmau = { # Fictional - For Prosperity + } + } + c_sripatha = { + color={ 110 45 10 } + color2={ 255 255 255 } + + b_sripatha = { + } + b_bayana = { + } + b_dhavalapuri = { + } + b_dholeshwar_mahadev = { + } + b_abanhagari = { + } + b_durpa = { # Fictional - For Prosperity + } + b_firozpur = { # Fictional - For Prosperity + } + } + } + d_vodamayutja = { + color={ 195 90 0 } + color2={ 255 255 255 } + + capital = 1358 # Vodamayuta + + c_vodamayutja = { + color={ 195 90 10 } + color2={ 255 255 255 } + + b_vodamayutja = { + } + b_ahichatra = { + } + b_tilokpur = { + } + b_anwala = { + } + b_bareily = { + } + b_sheikhupur = { + } + b_gegha = { # Fictional - For Prosperity + } + } + c_sambhal = { + color={ 195 90 30 } + color2={ 255 255 255 } + + b_sambhal = { + } + b_tattandapura = { + } + b_ujhani = { + } + b_amroha = { + } + b_sirsi = { + } + b_bachhraon = { + } + b_gokal = { # Fictional - For Prosperity + } + } + c_katehar = { + color={ 165 90 0 } + color2={ 255 255 255 } + + b_mandawar = { + } + b_bijnor = { + } + b_gangadvara = { + } + b_rishikesh = { + } + b_nehtaur = { + } + b_kartikeyapura = { + } + b_jageshwar = { + } + } + } + } + k_gujarat = { + color={ 155 80 28 } + color2={ 255 255 255 } + + capital = 1292 # Sarasvata Mandala + + d_gurjara_mandala = { + color={ 175 80 20 } + color2={ 255 255 255 } + + capital = 1292 # Sarasvata Mandala + + c_sarasvata_mandala = { + color={ 155 80 20 } + color2={ 255 255 255 } + + holy_site = jain + + b_anahilapataka = { + } + b_vadnagar = { + } + b_siddhapura = { + } + b_kamboika = { + } + b_modhera = { + } + b_kheralu = { + } + b_shertha = { + } + } + c_khetaka = { + color={ 175 80 40 } + color2={ 255 255 255 } + + b_khetaka = { + } + b_khambhat = { + } + b_dholka = { + } + b_tarapur = { + } + b_ashaval = { + } + b_nadiad = { + } + b_bhadran = { + } + b_sanand = { + } + } + c_mohadavasaka = { + color={ 175 100 20 } + color2={ 255 255 255 } + + b_mohadavasaka = { + } + b_jhalod = { + } + b_lunawada = { + } + b_shamlaji = { + } + b_idar = { + } + b_unjha = { + } + b_danta = { + } + } + } + d_anartta = { + color={ 195 50 10 } + color2={ 255 255 255 } + + capital = 1136 # Dvaraka + + c_dhamalpur = { + color={ 195 50 30 } + color2={ 255 255 255 } + + b_dhamalpur = { + } + b_morvi = { + } + b_lakhota = { + } + b_khasta = { + } + b_dhrol = { + } + b_hurshi = { # Fictional - For Prosperity + } + b_jade = { # Fictional - For Prosperity + } + } + c_dvaraka = { + color={ 175 50 10 } + color2={ 255 255 255 } + + holy_site = hindu + + b_dvaraka = { + } + b_lalpur = { + } + b_dwarakadheesh = { + } + b_gomati = { + } + b_bhanvad = { + } + b_huljanti = { # Fictional - For Prosperity + } + b_jakar = { # Fictional - For Prosperity + } + } + c_kutch = { + color={ 195 70 10 } + color2={ 255 255 255 } + + b_kanthakota = { + } + b_anjar = { + } + b_dhaneti = { + } + b_bhuj = { + } + b_holavanhalli = { # Fictional - For Prosperity + } + b_hora = { # Fictional - For Prosperity + } + b_hukampura = { # Fictional - For Prosperity + } + } + } + d_saurashtra = { + color={ 220 100 50 } + color2={ 255 255 255 } + + capital = 1134 # Bhumilka + + c_bhumilka = { + color={ 220 120 50 } + color2={ 255 255 255 } + + holy_site = jain + + b_vamanasthali = { + } + b_bhumilka = { + } + b_girnar = { + } + b_uperkot = { + } + b_bhavnat = { + } + b_mangrol = { + } + b_shrinagar = { + } + } + c_somnath = { + color={ 220 32 50 } #800 modulo 256 = 32 + color2={ 255 255 255 } + + b_vejalkot = { + } + b_somnath = { + } + b_delvada = { + } + b_diu = { + } + b_veraval = { + } + b_kanjetar = { + } + b_moherak = { + } + } + c_vardhamana = { + color={ 240 100 50 } + color2={ 255 255 255 } + + b_vardhamana = { + } + b_amarvalli = { + } + b_halvad = { + } + b_ranpur = { + } + b_hardi = { # Fictional - For Prosperity + } + b_harpura = { # Fictional - For Prosperity + } + b_jakhri = { # Fictional - For Prosperity + } + } + c_valabhi = { + color={ 200 100 60 } + color2={ 255 255 255 } + + b_valabhi = { + } + b_gundigar = { + } + b_sihor = { + } + b_palatina = { + } + b_shatrunjaya = { + } + b_dhandhuka = { + } + b_madya = { # Fictional - For Prosperity + } + } + } + d_lata = { + color={ 200 150 90 } + color2={ 255 255 255 } + + capital = 1133 # Vadodara + + c_navasarika = { + color={ 200 120 90 } + color2={ 255 255 255 } + + b_akruresvara = { + } + b_navasarika = { + } + b_bharuch = { + } + b_surat = { + } + b_rander = { + } + b_dharampur = { + } + b_variav = { + } + b_rajpipla = { + } + b_tadkeshwar = { + } + } + c_daman = { + color={ 220 150 90 } + color2={ 255 255 255 } + + b_daman = { + } + b_sanjan = { + } + b_surparaka = { + } + b_nagar_haveli = { + } + b_pardi = { + } + b_bulsar = { + } + b_ramnagar = { + } + } + c_vadodara = { + color={ 200 150 110 } + color2={ 255 255 255 } + + b_vadodara = { + } + b_ankotakka = { + } + b_kayavarohan = { + } + b_vatpatrak = { + } + b_darbhavati = { + } + b_nasvadi = { + } + b_lilam = { # Fictional - For Prosperity + } + } + + coat_of_arms= + { + data= + { + 0 0 0 34 10 0 0 + } + religion=hindu + } + } + } + k_rajputana = { + + color={ 200 70 0 } + color2={ 255 255 255 } + + capital = 1346 # Ajayameru + + d_maru = { + color={ 194 67 10 } + color2={ 255 255 255 } + + capital = 1130 # Mandavyapura + + c_mandavyapura = { + color={ 194 87 10 } + color2={ 255 255 255 } + + b_mandavyapura = { + } + b_siwana = { + } + b_osian = { + } + b_sanderaka = { + } + b_korta = { + } + b_mathania = { + } + b_ghaneraov = { + } + b_naddula = { + } + } + c_medantaka = { + color={ 194 67 30 } + color2={ 255 255 255 } + + b_medantaka = { + } + b_purnatallakapura = { + } + b_phalarddhi = { + } + b_sanjoo = { + } + b_oudh = { # Fictional - For Prosperity + } + b_pachaur = { # Fictional - For Prosperity + } + b_pakal = { # Fictional - For Prosperity + } + } + c_godwad = { + color={ 174 67 10 } + color2={ 255 255 255 } + + holy_site = jain + + b_candravati = { + } + b_bhillamala = { + } + b_jalor = { + } + b_barodiya = { + } + b_achalgarh = { + } + b_khudala = { + } + b_nibnutvadi = { # Fictional - For Prosperity + } + } + } + d_jangladesh = { + color={ 144 47 0 } + color2={ 255 255 255 } + + capital = 1354 # Nagauda + + c_vikramapura = { + color={ 144 47 20 } + color2={ 255 255 255 } + + b_vikramapura = { + } + b_kolayat = { + } + b_bhurupal = { + } + b_bhandasar = { + } + b_shekhsar = { + } + b_odur = { # Fictional - For Prosperity + } + b_pallikondai = { # Fictional - For Prosperity + } + } + c_reni = { + color={ 124 47 0 } + color2={ 255 255 255 } + + b_reni = { + } + b_dadrewa = { + } + b_mandir = { + } + b_bidasar = { + } + b_sidhmukh = { + } + b_niralapalli = { # Fictional - For Prosperity + } + b_palshet = { # Fictional - For Prosperity + } + } + c_nagauda = { + color={ 144 67 0 } + color2={ 255 255 255 } + + b_ahichhatrapur = { + } + b_nagauda = { + } + b_ladnu = { + } + b_makrana = { + } + b_ladnun = { + } + b_kuchaman = { + } + b_mundwa = { + } + } + } + d_stravani = { + color={ 150 60 30 } + color2={ 255 255 255 } + + capital = 1304 # Ludrava + + c_ludrava = { + color={ 170 60 30 } + color2={ 255 255 255 } + + b_ludrava = { + } + b_phalavardhika = { + } + b_lanela = { + } + b_jaisalmer = { + } + b_ranakpur = { + } + b_runjha = { # Fictional - For Prosperity + } + b_sahna = { # Fictional - For Prosperity + } + } + c_vijnot = { + color={ 150 60 50 } + color2={ 255 255 255 } + + b_vijnot = { + } + b_bhatiya = { + } + b_kishangarh = { + } + b_ghotki = { + } + b_ravel = { # Fictional - For Prosperity + } + b_saitual = { # Fictional - For Prosperity + } + b_sakyang = { # Fictional - For Prosperity + } + } + c_satyapura = { + color={ 150 40 30 } + color2={ 255 255 255 } + + b_kiratakupa = { + } + b_satyapura = { + } + b_kiradu = { + } + b_juna_barmer = { + } + b_srungavarapukota = { # Fictional - For Prosperity + } + b_tiklik = { # Fictional - For Prosperity + } + b_timmanayanipela = { # Fictional - For Prosperity + } + } + } + d_medapata = { + color={ 136 66 32 } + color2={ 255 255 255 } + + capital = 1345 # Medapata + + c_medapata = { + color={ 136 86 32 } + color2={ 255 255 255 } + + b_aghata = { + } + b_eklingji = { + } + b_nagahrada = { + } + b_bagar = { + } + b_jagadamba = { + } + b_sas_bahu = { + } + b_rishabhdeo = { + } + } + c_chitrakut = { + color={ 136 66 52 } + color2={ 255 255 255 } + + b_chitrakut = { + } + b_rampura = { + } + b_baroli = { + } + b_bhainsrorgarh = { + } + b_mandalgarh = { + } + b_nagari = { + } + b_saunk = { # Fictional - For Prosperity + } + } + c_kota = { + color={ 156 66 32 } + color2={ 255 255 255 } + + b_kota = { + } + b_koshvardhan = { + } + b_ramgarh = { + } + b_bundi = { + } + b_ului = { # Fictional - For Prosperity + } + b_vairampatti = { # Fictional - For Prosperity + } + b_vana = { # Fictional - For Prosperity + } + } + } + d_ajmer = { + color={ 230 190 51 } + color2={ 255 255 255 } + + capital = 1346 # Ajayameru + + c_ajayameru = { + color={ 210 190 51 } + color2={ 255 255 255 } + + b_shakambhari = { + } + b_pushkar = { + } + b_ajayameru = { + } + b_taragarh = { + } + b_dhanop = { + } + b_nareli = { + } + b_lawah = { + } + } + c_ranthambore = { + color={ 230 170 51 } + color2={ 255 255 255 } + + b_ranthambore = { + } + b_gangapur = { + } + b_tonkra = { + } + b_utgir = { + } + b_mandrael = { + } + b_sheopur = { + } + b_sendamarani = { # Fictional - For Prosperity + } + } + c_vairata = { + color={ 230 190 71 } + color2={ 255 255 255 } + + b_harshnath = { + } + b_vairata = { + } + b_sanganer = { + } + b_amer = { + } + b_dhosi = { + } + b_jhunjhunu = { + } + b_jeenmata = { + } + b_khatushyam = { + } + } + c_gwalior = { + color={ 220 180 41 } + color2={ 255 255 255 } + + b_gwalior = { + } + b_sahastrabahu = { + } + b_dabra = { + } + b_bateshwar = { + } + b_narwar = { + } + b_sabalgarh = { + } + b_vijaypur = { + } + } + } + } + k_malwa = { + color={ 255 200 25 } + color2={ 200 0 0 } + + capital = 1288 # Ujjayini + + d_dadhipadra = { # Avanti + color={ 245 200 20 } + color2={ 255 255 255 } + + capital = 1288 # Ujjayini + + c_dadhipadra = { + color={ 245 200 40 } + color2={ 255 255 255 } + + b_dadhipadra = { + } + b_pavagadh = { + } + b_champaner = { + } + b_godhra = { + } + b_kalika_mata = { + } + b_jawad = { + } + b_bamanlapalli = { # Fictional - For Prosperity + } + } + c_dhara = { + color={ 225 200 20 } + color2={ 255 255 255 } + + b_dhara = { + } + b_betma = { + } + b_dharampuri = { + } + b_indore = { + } + b_depalpur = { + } + b_jobat = { + } + b_sailana = { + } + } + c_dasapura = { + color={ 225 180 20 } + color2={ 255 255 255 } + + b_dasapura = { + } + b_sondani = { + } + b_dharmrajeshwar = { + } + b_hinglajgarh = { + } + b_taxakeshwar = { + } + b_chinchwad = { # Fictional - For Prosperity + } + b_dalu = { # Fictional - For Prosperity + } + } + c_ujjayini = { + color={ 205 200 30 } + color2={ 255 255 255 } + + holy_site = hindu + + b_ujjayini = { + } + b_agar = { + } + b_mahakaleshwar = { + } + b_mehidpur = { + } + b_dewas = { + } + b_maksi = { + } + b_akodia = { + } + } + } + d_akara_dasarna = { + color={ 210 150 15 } + color2={ 255 255 255 } + + capital = 1170 # Vidisa + + c_sarangpur = { + color={ 210 150 35 } + color2={ 255 255 255 } + + b_sarangpur = { + } + b_ashta = { + } + b_sidhhapur = { + } + b_gagraun = { + } + b_rajgarh = { + } + b_jhalawar = { + } + b_bhoilymbong = { # Fictional - For Prosperity + } + } + c_vidisa = { + color={ 190 150 15 } + color2={ 255 255 255 } + + holy_site = buddhist + + b_vidisa = { + } + b_sanchi = { + } + b_sironj = { + } + b_bijamandal = { + } + b_raisin = { + } + b_bhojpur = { + } + b_mangla_devi = { + } + } + c_chanderi = { + color={ 210 130 15 } + color2={ 255 255 255 } + + b_chanderi = { + } + b_jhansi = { + } + b_luacchagiri = { + } + b_garh_kundar = { + } + b_jarai_ka_math = { + } + b_khurai = { + } + b_aharji = { + } + } + c_candhoba = { + color={ 210 160 25 } + color2={ 255 255 255 } + + b_candhoba = { + } + b_sipri = { + } + b_guna = { + } + b_kadwaya = { + } + b_charmuria = { # Fictional - For Prosperity + } + b_charwadih = { # Fictional - For Prosperity + } + b_tilosingi = { # Fictional - For Prosperity + } + } + } + d_anupa = { + color={ 150 110 5 } + color2={ 255 255 255 } + + capital = 1147 # Mandapika + + c_mandapika = { + color={ 150 130 5 } + color2={ 255 255 255 } + + b_mandapika = { + } + b_bawangaja = { + } + b_maheshwar = { + } + b_borgarh = { + } + b_avasgarh = { + } + b_bordhoman = { # Fictional - For Prosperity + } + b_datrauda = { # Fictional - For Prosperity + } + } + c_asirgarh = { + color={ 140 110 15 } + color2={ 255 255 255 } + + b_asirgarh = { + } + b_khandwa = { + } + b_khargone = { + } + b_mandleshwar = { + } + b_sanawad = { + } + b_hansla = { # Fictional - For Prosperity + } + b_jakpur = { # Fictional - For Prosperity + } + } + c_burhanpur = { + color={ 150 90 5 } + color2={ 255 255 255 } + + b_burhanpur = { + } + b_erandol = { + } + b_vaghli = { + } + b_changdev = { + } + b_yawal = { + } + b_halgeri = { # Fictional - For Prosperity + } + b_jargaon = { # Fictional - For Prosperity + } + } + c_thalner = { + color={ 160 100 15 } + color2={ 255 255 255 } + + b_thalner = { + } + b_balasane = { + } + b_sindkheda = { + } + b_bhamer = { + } + b_jhodga = { + } + b_laling = { + } + b_amalner = { + } + } + } + } + k_kosala = { + color={ 205 60 10 } + color2={ 255 255 255 } + + capital = 1356 # Kanyakubja + + d_kanyakubja = { + color={ 225 155 77 } + color2={ 255 255 255 } + + capital = 1356 # Kanyakubja + + c_kanyakubja = { + color={ 225 135 77 } + color2={ 255 255 255 } + + b_kanyakubja = { + } + b_jajmau = { + } + b_bithor = { + } + b_etawah = { + } + b_swargdwari = { + } + b_kampil = { + } + b_jai_chandra = { + } + } + c_lakhnau = { + color={ 235 155 67 } + color2={ 255 255 255 } + + b_lakhnau = { + } + b_jasnaul = { + } + b_satrikh = { + } + b_hardoi = { + } + b_zaidpur = { + } + b_ganeshpur = { # Fictional - For Prosperity + } + b_gangabana = { # Fictional - For Prosperity + } + } + c_kalpi = { + color={ 205 155 77 } + color2={ 255 255 255 } + + b_kalpi = { + } + b_jalaun = { + } + b_lahar = { + } + b_oirai = { + } + b_kurara = { + } + b_konch = { + } + b_galleborgao = { # Fictional - For Prosperity + } + } + c_bharauli = { + color={ 225 135 77 } + color2={ 255 255 255 } + + b_bharauli = { + } + b_manikpur = { + } + b_lalganj = { + } + b_bhadri = { + } + b_gotitoria = { # Fictional - For Prosperity + } + b_haktsarpur = { # Fictional - For Prosperity + } + b_jevargi = { # Fictional - For Prosperity + } + } + c_asni = { + color={ 225 155 97 } + color2={ 255 255 255 } + + b_asni2 = { + } + b_bhitargaon = { + } + b_kora = { + } + b_musanagar = { + } + b_shivrajpur = { + } + b_bindki = { + } + b_khaga = { + } + } + c_prayaga = { + color={ 215 165 67 } + color2={ 255 255 255 } + + b_prayaga = { + } + b_daraganj = { + } + b_alopibagh = { + } + b_kausambi = { + } + b_chowk = { + } + b_kara = { + } + b_dariyabad = { + } + } + } + d_saryupara = { + color={ 180 110 40 } + color2={ 255 255 255 } + + capital = 1250 # Ayodhya + + c_naimisa = { + color={ 180 110 60 } + color2={ 255 255 255 } + + b_naimisa = { + } + b_bahraich = { + } + b_gonda = { + } + b_lakhimpur = { + } + b_sitapur = { + } + b_misrikh = { + } + b_durbate = { # Fictional - For Prosperity + } + } + c_sravasti = { + color={ 160 110 60 } + color2={ 255 255 255 } + + b_sravasti = { + } + b_barohiya = { + } + b_jetavana = { + } + b_amorha = { + } + b_gorakhnath_math = { + } + b_gorakhpur = { + } + b_maghar = { + } + } + c_ayodhya = { + color={ 180 130 60 } + color2={ 255 255 255 } + + holy_site = hindu + + b_ayodhya = { + } + b_ramkot = { + } + b_ram_janmabhoomi = { + } + b_nageshwarnath = { + } + b_hanuman_garhi = { + } + b_faizabad = { + } + b_sarairasi = { + } + } + } + d_jejakabhukti = { + color={ 120 50 10 } + color2={ 255 255 255 } + + capital = 1301 # Mahoba + + c_mahoba = { + color={ 140 50 10 } + color2={ 255 255 255 } + + b_mahoba = { + } + b_chitrakuta = { + } + b_hamirpur = { + } + b_ajaigarh = { + } + b_rath = { + } + b_jhammanpur = { # Fictional - For Prosperity + } + b_kamodh = { # Fictional - For Prosperity + } + } + c_kalanjara = { + color={ 120 70 10 } + color2={ 255 255 255 } + + b_kalinjar = { + } + b_khajuraho = { + } + b_jayapura = { + } + b_bhatta = { + } + b_panna = { + } + b_devendranagar = { + } + b_longching = { # Fictional - For Prosperity + } + } + c_damoh = { + color={ 110 50 30 } + color2={ 255 255 255 } + + b_damoh = { + } + b_dhamoni = { + } + b_nohta = { + } + b_singrampur = { + } + b_narsinghgarh = { + } + b_nimora = { # Fictional - For Prosperity + } + b_panwel = { # Fictional - For Prosperity + } + } + c_gurgi = { + color={ 150 255 91 } + color2={ 255 255 255 } + + b_gurgi = { + } + b_satna = { + } + b_bathgahora = { + } + b_chandrehi = { + } + b_sathon = { # Fictional - For Prosperity + } + b_shankargarh = { # Fictional - For Prosperity + } + b_sharog = { # Fictional - For Prosperity + } + } + } + } +} + +e_bengal = { + color={ 0 120 40 } + color2={ 255 255 20 } + + capital = 1151 # Laksmanavati + + short_name = yes + + k_gondwana = { + color = { 32 128 55 } + color2={ 255 255 255 } + + capital = 1271 # Tripuri + + d_dahala = { + color = { 30 125 55 } + color2={ 255 255 255 } + + capital = 1271 # Tripuri + + c_tripuri = { + color = { 50 125 55 } + color2={ 255 255 255 } + + b_tripuri = { + } + b_mandla = { + } + b_garha = { + } + b_tungaturti = { # Fictional - For Prosperity + } + b_velan = { # Fictional - For Prosperity + } + b_rasidpur = { # Fictional - For Prosperity + } + b_samdong = { # Fictional - For Prosperity + } + } + c_chauragarh = { + color = { 30 125 35 } + color2={ 255 255 255 } + + b_chauragarh = { + } + b_bohani = { + } + b_barman = { + } + b_sirsali = { # Fictional - For Prosperity + } + b_siruvachur = { # Fictional - For Prosperity + } + b_tingra = { # Fictional - For Prosperity + } + b_hainsasar = { # Fictional - For Prosperity + } + } + + coat_of_arms= + { + data= + { + 0 0 0 35 0 10 10 + } + religion=jain + } + } + d_ratanpur = { + color = { 36 175 65 } + color2={ 255 255 255 } + + capital = 1272 # Ratanpur + + c_tummana = { + color = { 56 175 65 } + color2={ 255 255 255 } + + b_tummana = { + } + b_amarkantak = { + } + b_manendragarh = { + } + b_shumhi = { # Fictional - For Prosperity + } + b_torxem = { # Fictional - For Prosperity + } + b_tualbung = { # Fictional - For Prosperity + } + b_vij = { # Fictional - For Prosperity + } + } + c_ratanpur = { + color = { 36 155 65 } + color2={ 255 255 255 } + + b_ratanpur = { + } + b_pali = { + } + b_saravpur = { + } + b_savarinarayana = { + } + b_shegaon = { # Fictional - For Prosperity + } + b_shirwal = { # Fictional - For Prosperity + } + b_yellandu = { # Fictional - For Prosperity + } + } + c_bandhugadha = { + color = { 30 125 75 } + color2={ 255 255 255 } + + b_bandhugadha = { + } + b_shahdol = { + } + b_virateshwar = { + } + b_bahoriband = { + } + b_motibennur = { # Fictional - For Prosperity + } + b_muhri = { # Fictional - For Prosperity + } + b_nandwas = { # Fictional - For Prosperity + } + } + } + } + k_bengal = { + color = { 40 160 40 } + color2={ 255 255 255 } + + capital = 1151 # Laksmanavati + + d_vanga = { + color = { 35 190 35 } + color2={ 255 255 255 } + + capital = 1319 # Bikrampur + + c_bikrampur = { + color = { 35 220 35 } + color2={ 255 255 255 } + + b_bikrampur = { + } + b_sutrapur = { + } + b_dhakeshwari_jatiya_mandir = { + } + b_loricol = { + } + b_shakhari_bazar = { + } + b_hajiganj = { + } + b_meddappakkam = { # Fictional - For Prosperity + } + } + c_kumara_mandala = { + color = { 55 165 35 } + color2={ 255 255 255 } + + b_kumarakhali = { + } + b_fathabad = { + } + b_ekdala = { + } + b_katasgarh = { + } + b_molvailup = { # Fictional - For Prosperity + } + b_naneli = { # Fictional - For Prosperity + } + b_betmangala = { # Fictional - For Prosperity + } + } + c_candradvipa = { + color = { 35 165 55 } + color2={ 255 255 255 } + + b_candradvipa = { + } + b_khulna = { + } + b_sathkira = { + } + b_bagerhat = { + } + b_bakarganj = { + } + b_bilkhet = { # Fictional - For Prosperity + } + b_dattapulia = { # Fictional - For Prosperity + } + } + c_samatata = { + color = { 35 145 35 } + color2={ 255 255 255 } + + b_devaparvata = { + } + b_chatigama = { + } + b_candranatha = { + } + b_garmali = { # Fictional - For Prosperity + } + b_gond = { # Fictional - For Prosperity + } + b_kanaoudi = { # Fictional - For Prosperity + } + b_kandalike = { # Fictional - For Prosperity + } + } + c_karmanta = { + color = { 45 155 45 } + color2={ 255 255 255 } + + b_karmanta = { + } + b_mainamati = { + } + b_unakoti = { + } + b_udaipur = { + } + b_lavangi = { # Fictional - For Prosperity + } + b_mahalpur = { # Fictional - For Prosperity + } + b_latembarcem = { # Fictional - For Prosperity + } + } + } + d_varendra = { + color = { 20 125 20 } + color2={ 255 255 255 } + + capital = 1381 # Pundravardhana + + c_madhupur = { + color = { 40 125 20 } + color2={ 255 255 255 } + + b_madhupur = { + } + b_pabna = { + } + b_bogra = { + } + b_baghabarihat = { + } + b_kursu = { # Fictional - For Prosperity + } + b_kutra = { # Fictional - For Prosperity + } + b_lahpatra = { # Fictional - For Prosperity + } + } + c_pundravardhana = { + color = { 20 125 40 } + color2={ 255 255 255 } + + b_pundravardhana = { + } + b_mahasthangarh = { + } + b_somapura_mahavihara = { + } + b_totaram_panditer_dhap = { + } + b_khulnar_dhap = { + } + b_bhimer_jangal = { + } + b_ghoraghat = { + } + } + c_suvarnagram = { + color = { 20 105 20 } + color2={ 255 255 255 } + + b_narikella = { + } + b_suvarnagram = { + } + b_satkhira = { + } + b_susanga = { + } + b_bokainagar = { + } + b_lakshmipuro = { # Fictional - For Prosperity + } + b_mahendragarh = { # Fictional - For Prosperity + } + } + } + d_gauda = { + color = { 60 200 60 } + color2={ 255 255 255 } + + capital = 1151 # Laksmanavati + + c_gauda = { + color = { 60 180 60 } + color2={ 255 255 255 } + + b_karnasubarna = { + } + b_raktamrittika = { + } + b_tarapith = { + } + b_adinatha_mandir = { + } + b_agmahl = { + } + b_teliagarhi = { + } + b_kumhaul = { # Fictional - For Prosperity + } + } + c_radha = { + color = { 60 180 60 } + color2={ 255 255 255 } + + b_lakhnor = { + } + b_kalyaneshwari = { + } + b_katwa = { + } + b_rampur_boalia = { + } + b_gopbhum = { + } + b_ichhai_ghoshgarh = { + } + b_hirapur = { + } + } + c_laksmanavati = { + color = { 70 190 70 } + color2={ 255 255 255 } + + b_laksmanavati = { + } + b_gaur = { + } + b_malda = { + } + b_pankak = { + } + b_banan = { + } + b_shukla = { + } + b_puthia = { + } + } + c_kotivarsa = { + color={ 58 200 41 } + color2={ 255 255 255 } + + b_ramavati = { + } + b_devkot = { + } + b_bangarh = { + } + b_jagaddala = { + } + b_korat = { + } + b_siliguri = { + } + b_purena = { # Fictional - For Prosperity + } + } + } + d_nadia = { + color = { 100 255 100 } + color2={ 255 255 255 } + + capital = 1323 # Nabadwipa + + c_nabadwipa = { + color = { 120 255 100 } + color2={ 255 255 255 } + + b_nabadwipa = { + } + b_krishnagar = { + } + b_pancharatna = { + } + b_bidhyanandikathi = { + } + b_madhyadwip = { + } + b_godrumdwip = { + } + b_ritudwip = { + } + } + c_saptagrama = { + color = { 100 255 80 } + color2={ 255 255 255 } + + b_saptagrama = { + } + b_bansberia = { + } + b_chinsura = { + } + b_mahanad = { + } + b_pandua = { + } + b_tribeni = { + } + b_shantipur = { + } + } + c_vijayapura = { + color = { 110 245 100 } + color2={ 255 255 255 } + + b_vijayapura = { + } + b_begunia = { + } + b_patuli = { + } + b_kalna = { + } + b_churulia = { + } + b_dishergarh = { + } + b_mohammadnagar = { # Fictional - For Prosperity + } + } + } + d_suhma = { + color = { 10 100 10 } + color2={ 255 255 255 } + + capital = 1238 # Mallabhum + + c_tamralipti = { + color = { 20 100 20 } + color2={ 255 255 255 } + + b_tamralipti = { + } + b_sagardwip = { + } + b_jahajghata = { + } + b_chandraketugarh = { + } + b_ishwaripur = { + } + b_meltraipara = { # Fictional - For Prosperity + } + b_narota = { # Fictional - For Prosperity + } + } + c_midnapore = { + color = { 10 80 10 } + color2={ 255 255 255 } + + b_midnapore = { + } + b_moghalmari = { + } + b_dantan = { + } + b_kashipur = { + } + b_hilji = { + } + b_parodi = { # Fictional - For Prosperity + } + b_nimon = { # Fictional - For Prosperity + } + } + c_mallabhum = { + color = { 10 120 10 } + color2={ 255 255 255 } + + b_bishnupur = { + } + b_dihar = { + } + b_baghmundi = { + } + b_mandaran = { + } + b_chandrakona = { + } + b_garhbeta = { + } + b_arch = { # Fictional - For Prosperity + } + } + } + } + k_kamarupa = { + color={ 6 127 80 } + color2={ 255 255 255 } + + capital = 1321 # Kamarupanagara + + d_kamarupanagara = { + color={ 15 140 50 } + color2={ 255 255 255 } + + capital = 1321 # Kamarupanagara + + c_kamarupanagara = { + color={ 15 120 50 } + color2={ 255 255 255 } + + b_kamarupanagara = { + } + b_pragyotisapura = { + } + b_madan_kamdev = { + } + b_hajo = { + } + b_durjaya = { + } + b_manikuta = { + } + b_dariyaon = { + } + } + c_kamatapur = { + color={ 25 140 40 } + color2={ 255 255 255 } + + b_kamatapur = { + } + b_nalrajar_garh = { + } + b_mainaguri = { + } + b_japyesvara = { + } + b_bhitagarh = { + } + b_avadiyarkoil = { # Fictional - For Prosperity + } + b_babnergarh = { # Fictional - For Prosperity + } + } + } + d_para_lauhitya = { + color={ 15 220 80 } + color2={ 255 255 255 } + + capital = 1246 # Goalpara + + c_goalpara = { + color={ 15 200 80 } + color2={ 255 255 255 } + + b_goalpara = { + } + b_sri_surya_pahar = { + } + b_kamakhya = { + } + b_dhubri = { + } + b_amauli = { # Fictional - For Prosperity + } + b_amla = { # Fictional - For Prosperity + } + b_digha = { # Fictional - For Prosperity + } + } + c_dimapur = { + color={ 15 220 60 } + color2={ 255 255 255 } + + b_dimapur = { + } + b_herombial = { + } + b_oddiyana2 = { + } + b_maibong = { + } + b_dindori = { # Fictional - For Prosperity + } + b_askot = { # Fictional - For Prosperity + } + b_bagchara = { # Fictional - For Prosperity + } + } + c_srihatta = { + color={ 25 210 80 } + color2={ 255 255 255 } + + b_srihatta = { + } + b_habiganj = { + } + b_egarosindur = { + } + b_nasirabad = { + } + b_jangalbari = { + } + b_azampur = { # Fictional - For Prosperity + } + b_kunnau = { # Fictional - For Prosperity + } + } + } + d_sutiya = { + color={ 40 200 150 } + color2={ 255 255 255 } + + capital = 1418 # Haruppeswara + + c_haruppeswara = { + color={ 60 200 150 } + color2={ 255 255 255 } + + b_haruppeswara = { + } + b_numaligarh = { + } + b_dibarumukh = { + } + b_charaideo = { + } + b_kunnatur = { # Fictional - For Prosperity + } + b_kuppar = { # Fictional - For Prosperity + } + b_malabar = { # Fictional - For Prosperity + } + } + c_kundina = { + color={ 40 180 150 } + color2={ 255 255 255 } + + b_kundina = { + } + b_prithiminagar = { + } + b_sadiya = { + } + b_tinsukia = { + } + b_nauli = { # Fictional - For Prosperity + } + b_nijhar = { # Fictional - For Prosperity + } + b_paravar = { # Fictional - For Prosperity + } + } + } + } + k_orissa = { + color={ 110 145 40 } + color2={ 255 255 23 } + + capital = 1129 # Kataka + + d_daksina_kosala = { + color={ 105 150 41 } + color2={ 255 255 255 } + + capital = 1160 # Rayapura + + c_sripuri = { + color={ 125 150 41 } + color2={ 255 255 255 } + + b_sripuri = { + } + b_rajiva_lochana = { + } + b_nuapada = { + } + b_bagbahara = { + } + b_basna = { + } + b_rajauli = { # Fictional - For Prosperity + } + b_sanjeli = { # Fictional - For Prosperity + } + } + c_rayapura = { + color={ 105 150 61 } + color2={ 255 255 255 } + + b_rayapura = { + } + b_rajim = { + } + b_shivapura = { + } + b_shivadurga = { + } + b_nandgram = { + } + b_putukipali = { # Fictional - For Prosperity + } + b_rabluto = { # Fictional - For Prosperity + } + } + c_suvarnapura = { + color={ 105 140 31 } + color2={ 255 255 255 } + + b_suvarnapura = { + } + b_kalahandi = { + } + b_yajatinagara = { + } + b_vinitapura = { + } + b_agalpur = { + } + b_patna = { + } + b_bargarh = { + } + } + c_sambalpur = { + color={ 95 155 41 } + color2={ 255 255 255 } + + b_sambalpur = { + } + b_ranipur = { + } + b_samaleswari = { + } + b_rajgangpur = { + } + b_bimaleswar = { + } + b_maneswar = { + } + b_sarugani = { # Fictional - For Prosperity + } + } + c_kiranapura = { + color = { 36 175 85 } + color2={ 255 255 255 } + + b_kiranapura = { + } + b_balaghat = { + } + b_lanji = { + } + b_dorkang = { # Fictional - For Prosperity + } + b_durgi = { # Fictional - For Prosperity + } + b_gangrar = { # Fictional - For Prosperity + } + b_kankauli = { # Fictional - For Prosperity + } + } + } + d_tosali = { + color={ 115 190 30 } + color2={ 255 255 255 } + + capital = 1129 # Kataka + + c_kataka = { + color={ 135 190 30 } + color2={ 255 255 255 } + + b_katak = { + } + b_bhubaneswar = { + } + b_konarak = { + } + b_dhauli = { + } + b_athgarh = { + } + b_sarala = { + } + b_sakshigopal = { + } + } + c_viraja = { + color={ 115 190 50 } + color2={ 255 255 255 } + + b_viraja = { + } + b_raibania = { + } + b_mahavinayak = { + } + b_bhadrak = { + } + b_anandpur = { + } + b_soro = { + } + b_baleshvara = { + } + } + c_khinjali_mandala = { + color={ 115 170 25 } + color2={ 255 255 255 } + + b_khinjali = { + } + b_nilamadhav = { + } + b_nayagarh = { + } + b_baramba = { + } + b_kujar = { # Fictional - For Prosperity + } + b_kunian = { # Fictional - For Prosperity + } + b_malther = { # Fictional - For Prosperity + } + } + c_kodalaka_mandala = { + color={ 135 190 25 } + color2={ 255 255 255 } + + b_kodalaka = { + } + b_bajrakot = { + } + b_deogarh = { + } + b_talcher = { + } + b_dhenkanal = { + } + b_kapilash = { + } + b_joranda_gadhi = { + } + b_karamul = { + } + } + c_khijjingakota = { + color={ 125 175 30 } + color2={ 255 255 255 } + + b_khijjinga = { + } + b_asanapat = { + } + b_sitabhinji = { + } + b_kirianagar = { + } + b_bahalda = { + } + b_baripada = { + } + b_ghatagaon = { + } + } + } + d_kalinga = { + color={ 70 220 115 } + color2={ 255 255 255 } + + capital = 1224 # Kalinganagar + + c_puri = { + color={ 60 220 135 } + color2={ 255 255 255 } + + b_puri = { + } + b_buguda = { + } + b_jaugada = { + } + b_aska = { + } + b_ganjam = { + } + b_taratarini = { + } + b_gopalpur = { + } + } + c_swetaka_mandala = { + color={ 70 200 115 } + color2={ 255 255 255 } + + b_swetakapura = { + } + b_rayagada = { + } + b_umerkote = { + } + b_badakhemundi = { + } + b_kharki = { # Fictional - For Prosperity + } + b_khed = { # Fictional - For Prosperity + } + b_khijaria = { # Fictional - For Prosperity + } + } + c_kalinganagar = { + color={ 100 220 115 } + color2={ 255 255 255 } + + b_mandasa = { + } + b_kalinganagara = { + } + b_kalingapattanam = { + } + b_srikurmam = { + } + b_srikakulam = { + } + b_kotra = { # Fictional - For Prosperity + } + b_manappakkam = { # Fictional - For Prosperity + } + } + c_vizagipatam = { + color={ 70 220 95 } + color2={ 255 255 255 } + + b_vizagipatam = { + } + b_simhachalam = { + } + b_anakapalle = { + } + b_kotipalli = { + } + b_bavikonda = { + } + b_bheemunipatnam = { + } + b_khuig = { # Fictional - For Prosperity + } + } + } + d_dandakaranya = { + color={ 38 150 70 } + color2={ 255 255 255 } + + capital = 1227 # Cakrakuta + + c_cakrakuta = { + color={ 58 150 70 } + color2={ 255 255 255 } + + b_cakrakuta = { + } + b_jagdalpur = { + } + b_kanker = { + } + b_pudunagram = { # Fictional - For Prosperity + } + b_purbbadulki = { # Fictional - For Prosperity + } + b_raigarh = { # Fictional - For Prosperity + } + b_sankarpur = { # Fictional - For Prosperity + } + } + c_barasuru = { + color={ 38 150 100 } + color2={ 255 255 255 } + + b_barasuru = { + } + b_dantewada = { + } + b_barsoor = { + } + b_konokjora = { # Fictional - For Prosperity + } + b_korandh = { # Fictional - For Prosperity + } + b_kothaguda = { # Fictional - For Prosperity + } + b_manghech = { # Fictional - For Prosperity + } + } + c_nandapur = { + color={ 48 140 70 } + color2={ 255 255 255 } + + b_nandapur = { + } + b_dharamgarh = { + } + b_koraput = { + } + b_junagarh = { + } + b_jeypore = { + } + b_kilpadappai = { # Fictional - For Prosperity + } + b_marhia = { # Fictional - For Prosperity + } + } + } + } + k_bihar = { + color={ 68 208 51 } + color2={ 255 255 255 } + + capital = 1154 # Magadha + + d_tirabhukti = { + color={ 58 178 41 } + color2={ 255 255 255 } + + capital = 1419 # Mithila + + c_mithila = { + color={ 58 158 41 } + color2={ 255 255 255 } + + b_mithila = { + } + b_yavamajjhaka = { + } + b_saligrama = { + } + b_sugauna = { + } + b_darbhanga = { + } + b_hajipur = { + } + b_siwan = { + } + } + c_kusinagara = { + color={ 58 178 61 } + color2={ 255 255 255 } + + b_kusinagara = { + } + b_lumbini = { + } + b_padrauna = { + } + b_ramagrama = { + } + b_pava = { + } + b_chapra = { + } + b_alampura = { # Fictional - For Prosperity + } + } + c_simaramapura = { + color={ 78 178 41 } + color2={ 255 255 255 } + + b_simaramapura = { + } + b_kesaria = { + } + b_bhaktagrama = { + } + b_kathmandu = { + } + b_pattana = { + } + b_bettiah = { + } + b_vaid = { + } + } + } + d_kasi = { + color={ 150 235 91 } + color2={ 255 255 255 } + + capital = 1166 # Jaunpur + + c_varanasi = { + color={ 140 235 101 } + color2={ 255 255 255 } + + holy_site = hindu + holy_site = buddhist + + b_varanasi = { + } + b_sarnath = { + } + b_bhadohi = { + } + b_ballia = { + } + b_durga_mandir = { + } + b_kashi_vishwanath = { + } + b_aleppi = { # Fictional - For Prosperity + } + } + c_jaunpur = { + color={ 150 215 91 } + color2={ 255 255 255 } + + b_kerarkot = { + } + b_gadhipuri = { + } + b_dohrighat = { + } + b_jaunpur = { + } + b_amethi = { + } + b_haldi = { + } + b_tanda = { + } + } + c_chunar = { + color={ 170 235 91 } + color2={ 255 255 255 } + + b_chunar = { + } + b_vindhyachal = { + } + b_kantit = { + } + b_bidadi = { # Fictional - For Prosperity + } + b_bidh = { # Fictional - For Prosperity + } + b_bilikore = { # Fictional - For Prosperity + } + b_daudpur = { # Fictional - For Prosperity + } + } + } + d_jharkand = { + color={ 48 138 31 } + color2={ 255 255 255 } + + capital = 1248 # Munda + + c_jharkand = { + color={ 58 138 41 } + color2={ 255 255 255 } + + b_koriya = { + } + b_kandra = { + } + b_ambikapur = { + } + b_bhagva = { # Fictional - For Prosperity + } + b_bhambiya = { # Fictional - For Prosperity + } + b_bhasma = { # Fictional - For Prosperity + } + b_dhamtari = { # Fictional - For Prosperity + } + } + c_rothas = { + color={ 48 158 31 } + color2={ 255 255 255 } + + b_rohtas = { + } + b_rohtasgarh = { + } + b_rohtasan = { + } + b_betla = { + } + b_palamau = { + } + b_karangi = { # Fictional - For Prosperity + } + b_karumbakham = { # Fictional - For Prosperity + } + } + c_rajrappa = { + color={ 28 138 31 } + color2={ 255 255 255 } + + holy_site = jain + + b_rajrappa = { + } + b_kenduli = { + } + b_kajgaon = { # Fictional - For Prosperity + } + b_dhaurpur = { # Fictional - For Prosperity + } + b_digapahandi = { # Fictional - For Prosperity + } + b_mahobkanth = { # Fictional - For Prosperity + } + b_kanmukal = { # Fictional - For Prosperity + } + } + c_munda = { + color={ 38 148 21 } + color2={ 255 255 255 } + + b_chutia = { + } + b_ratu = { + } + b_marang_buru = { + } + b_melmarudun = { # Fictional - For Prosperity + } + b_nathorl = { # Fictional - For Prosperity + } + b_patera = { # Fictional - For Prosperity + } + b_patho = { # Fictional - For Prosperity + } + } + c_damin_i_koh = { + color = { 80 200 60 } + color2={ 255 255 255 } + + b_deogarh2 = { + } + b_shikarji = { + } + b_bhadalthua = { # Fictional - For Prosperity + } + b_bhadua = { # Fictional - For Prosperity + } + b_dhanaura = { # Fictional - For Prosperity + } + b_dharau = { # Fictional - For Prosperity + } + b_kannpur = { # Fictional - For Prosperity + } + } + } + d_magadha = { + color={ 15 122 25 } + color2={ 255 255 255 } + + capital = 1154 # Magadha + + c_magadha = { + color={ 35 122 25 } + color2={ 255 255 255 } + + b_pataliputra = { + } + b_odantapuri = { + } + b_maner = { + } + b_barh = { + } + b_bihar_sharif = { + } + b_rajagrha = { + } + b_triveni = { + } + } + c_sasaram = { + color={ 15 122 45 } + color2={ 255 255 255 } + + b_sasaram = { + } + b_jaund = { + } + b_mundeshwari = { + } + b_arrah = { + } + b_horilnagar = { + } + b_kapadvanj = { # Fictional - For Prosperity + } + b_arhu = { # Fictional - For Prosperity + } + } + c_gaya = { + color={ 15 112 35 } + color2={ 255 255 255 } + + holy_site = buddhist + + b_gaya = { + } + b_bodh_gaya = { + } + b_elahabad = { + } + b_nalanda = { + } + b_sherghati = { + } + b_nawada = { + } + b_bahloipur = { # Fictional - For Prosperity + } + } + c_mudgagiri = { + color = { 60 200 80 } + color2={ 255 255 255 } + + b_mudgagiri = { + } + b_kahalgaon = { + } + b_campa = { + } + b_vikramasila = { + } + b_karnagarh = { + } + b_jahnugiri = { + } + b_lakhisarai = { + } + } + } + } +} + +e_deccan = { + color={ 190 20 50 } + color2={ 200 0 0 } + + capital = 1210 # Manyaketha + + short_name = yes + + k_maharastra = { + color={ 150 0 20 } + color2={ 255 255 255 } + + capital = 1145 # Devagiri + + d_vidharba = { + color={ 155 5 30 } + color2={ 255 255 255 } + + capital = 1285 # Acalapura + + c_acalapura = { + color={ 155 5 50 } + color2={ 255 255 255 } + + b_acalapura = { + } + b_narnala = { + } + b_amravati = { + } + b_kalam = { + } + b_yavatmal = { + } + b_bhojapur = { + } + b_bangomunda = { # Fictional - For Prosperity + } + } + c_ramagiri = { + color={ 135 5 30 } + color2={ 255 255 255 } + + b_ramagiri = { + } + b_pavnar = { + } + b_nandivardhana = { + } + b_mansar = { + } + b_banjapalli = { # Fictional - For Prosperity + } + b_behtar = { # Fictional - For Prosperity + } + b_belagula = { # Fictional - For Prosperity + } + } + c_kherla = { + color={ 155 25 30 } + color2={ 255 255 255 } + + b_kherla = { + } + b_pachmarhi = { + } + b_anjangaon = { + } + b_gawilghar = { + } + b_mauli = { # Fictional - For Prosperity + } + b_pemayangtse = { # Fictional - For Prosperity + } + b_pithorai = { # Fictional - For Prosperity + } + } + c_canda = { + color={ 175 5 30 } + color2={ 255 255 255 } + + b_canda = { + } + b_ballarpur = { + } + b_nagbhid = { + } + b_rajura = { + } + b_gadchiroli = { + } + b_khunabat = { # Fictional - For Prosperity + } + b_mathila = { # Fictional - For Prosperity + } + } + c_vairagara = { + color={ 155 5 10 } + color2={ 255 255 255 } + + b_vairagara = { + } + b_bhandugara = { + } + b_cikamburika = { + } + b_gondia = { + } + b_kas = { # Fictional - For Prosperity + } + b_kauria = { # Fictional - For Prosperity + } + b_kelod = { # Fictional - For Prosperity + } + } + } + d_konkana = { + color={ 115 20 40 } + color2={ 255 255 255 } + + capital = 1125 # Thana + + c_goa = { + color={ 115 40 40 } + color2={ 255 255 255 } + + b_gopakapattana = { + } + b_gheria = { + } + b_mathagram = { + } + b_kapardikadvipa = { + } + b_chandrapur = { + } + b_chitrakul = { + } + b_kapurgarh = { # Fictional - For Prosperity + } + } + c_thana = { + color={ 100 20 40 } + color2={ 255 255 255 } + + b_thana = { + } + b_dabhol = { + } + b_kanhagiri = { + } + b_chaul = { + } + b_mahim = { + } + b_bassein = { + } + b_janjira = { + } + } + c_honnore = { + color={ 115 20 60 } + color2={ 255 255 255 } + + b_honnore = { + } + b_bhatkal = { + } + b_gokarna = { + } + b_barkur = { + } + b_mookambika = { + } + b_karwar = { + } + b_balisna = { # Fictional - For Prosperity + } + } + } + d_nasikya = { + color={ 120 50 90 } + color2={ 255 255 255 } + + capital = 1213 # Kondana + + c_nasikya = { + color={ 140 50 90 } + color2={ 255 255 255 } + + b_nasikya = { + } + b_seunapura = { + } + b_patta = { + } + b_saptashrungi = { + } + b_ratangad = { + } + b_igatpuri = { + } + b_tryambaka = { + } + } + c_nandurbar = { + color={ 120 50 110 } + color2={ 255 255 255 } + + b_nandurbar = { + } + b_bhambhagiri = { + } + b_chandor = { + } + b_malegaon = { + } + b_songarh = { + } + b_sultanpur = { + } + b_mayuragiri = { + } + } + c_kondana = { + color={ 120 70 90 } + color2={ 255 255 255 } + + b_kondana = { + } + b_puna = { + } + b_bhimashankara = { + } + b_chakan = { + } + b_junir = { + } + b_raigad = { + } + b_purandar = { + } + b_tikona = { + } + b_rajmachi = { + } + b_sudhagad = { + } + } + } + d_devagiri = { + color={ 220 99 85 } + color2={ 255 255 255 } + + capital = 1145 # Devagiri + + c_devagiri = { + color={ 220 119 85 } + color2={ 255 255 255 } + + holy_site = buddhist + + b_devagiri = { + } + b_ellora = { + } + b_khuldabad = { + } + b_grishneshwar = { + } + b_sillod = { + } + b_vaijapur = { + } + b_bangra = { # Fictional - For Prosperity + } + } + c_pratishthana = { + color={ 220 99 115 } + color2={ 255 255 255 } + + b_pratishthana = { + } + b_harishchandragad = { + } + b_chambargonda = { + } + b_patkapur = { + } + b_bhingar = { + } + b_ahmednagar = { + } + b_pochannapet = { # Fictional - For Prosperity + } + } + c_vatsagulma = { + color={ 200 99 85 } + color2={ 255 255 255 } + + b_vatsagulma = { + } + b_jalna = { + } + b_satgaon = { + } + b_lonar = { + } + b_manora = { + } + b_nandura = { + } + b_puduchattiram = { # Fictional - For Prosperity + } + } + c_nanded = { + color={ 230 99 95 } + color2={ 255 255 255 } + + b_nanded = { + } + b_aurad = { + } + b_qandhar = { + } + b_shelgaon = { + } + b_pathri = { + } + b_parbhani = { + } + b_balol = { # Fictional - For Prosperity + } + } + c_parnakheta = { + color={ 220 79 85 } + color2={ 255 255 255 } + + b_parnakheta = { + } + b_akola = { + } + b_mahkar = { + } + b_ambadapura = { + } + b_karanja = { + } + b_buldhana = { + } + b_betora = { # Fictional - For Prosperity + } + } + } + d_rattapadi = { + color={ 255 70 160 } + color2={ 255 255 255 } + + capital = 1206 # Taradavadi + + c_lattalura = { + color={ 235 70 160 } + color2={ 255 255 255 } + + b_lattalura = { + } + b_bir = { + } + b_barshi = { + } + b_udgir = { + } + b_tagara = { + } + b_darur = { + } + b_bangi = { # Fictional - For Prosperity + } + } + c_naldurg = { + color={ 255 90 160 } + color2={ 255 255 255 } + + b_naldurg = { + } + b_sonnalagi = { + } + b_tuljapur = { + } + b_paranda = { + } + b_karmala = { + } + b_dharaseo = { + } + b_baniagaon = { # Fictional - For Prosperity + } + } + c_kolhapur = { + color={ 255 70 180 } + color2={ 255 255 255 } + + b_kolhapur = { + } + b_kurundaka = { + } + b_karahataka = { + } + b_pranala = { + } + b_satara = { + } + b_manapura = { + } + b_miraj = { + } + } + c_taradavadi = { + color={ 255 70 160 } + color2={ 255 255 255 } + + b_taradavadi = { + } + b_viyapura = { + } + b_saundatti = { + } + b_hastikundi = { + } + b_pandharpur = { + } + b_sangole = { + } + b_karambakkudi = { # Fictional - For Prosperity + } + } + } + } + k_karnata = { + color={ 150 20 0 } + color2={ 255 255 255 } + + capital = 1143 # Kalyani + + d_kalyani = { + color={ 110 25 2 } + color2={ 255 255 255 } + + capital = 1143 # Kalyani + + c_kalyani = { + color={ 110 25 22 } + color2={ 255 255 255 } + + b_kalyani = { + } + b_narayanapur = { + } + b_umapur = { + } + b_hanakuni = { + } + b_ausa = { + } + b_sarsala = { # Fictional - For Prosperity + } + b_sarseir = { # Fictional - For Prosperity + } + } + c_bidar = { + color={ 110 45 2 } + color2={ 255 255 255 } + + b_bidar = { + } + b_avarwadi = { + } + b_kamthana = { + } + b_bhalki = { + } + b_jalasangvi = { + } + b_bhatambra = { + } + b_tekadee = { + } + } + c_manyakheta = { + color={ 130 25 2 } + color2={ 255 255 255 } + + b_manyakheta = { + } + b_yadavagiri = { + } + b_sedam = { + } + b_gulbarga = { + } + b_kovilkonda = { + } + b_firuzabad = { + } + b_saongi = { # Fictional - For Prosperity + } + } + c_sagar = { + color={ 90 25 2 } + color2={ 255 255 255 } + + b_sagar = { + } + b_bagavadi = { + } + b_pattadakal = { + } + b_talikota = { + } + b_sorapur = { + } + b_bagpura = { # Fictional - For Prosperity + } + b_bandaguda = { # Fictional - For Prosperity + } + } + } + d_gangavadi = { + color={ 108 23 29 } + color2={ 255 255 255 } + + capital = 1196 # Srirangapatna + + c_srirangapatna = { + color={ 108 23 49 } + color2={ 255 255 255 } + + holy_site = jain + + b_srirangapatna = { + } + b_shravanabelagola = { + } + b_periyapatna = { + } + b_panasoge = { + } + b_nanjarayapattana = { + } + b_belapura = { + } + b_mysore = { + } + } + c_talakad = { + color={ 108 43 29 } + color2={ 255 255 255 } + + b_talakad = { + } + b_veppur = { + } + b_somanathapura = { + } + b_ummattur = { + } + b_sivasamudram = { + } + b_kotagiri = { + } + b_narasamangala = { + } + b_nanjangud = { + } + } + c_manyapura = { + color={ 128 23 29 } + color2={ 255 255 255 } + + b_manyapura = { + } + b_aralaguppe = { + } + b_turuvekere = { + } + b_kikkeri = { + } + b_melukote = { + } + b_govindanahalli = { + } + b_basaralu = { + } + } + c_nandagiri = { + color={ 88 23 29 } + color2={ 255 255 255 } + + b_nandagiri = { + } + b_kuvalala = { + } + b_avani = { + } + b_kundani = { + } + b_nangali = { + } + b_kurudumale = { + } + b_mulavagil = { + } + } + } + d_nulambavadi = { + color={ 178 93 29 } + color2={ 255 255 255 } + + capital = 1197 # Dwarasamudra + + c_uchangidurga = { + color={ 178 93 49 } + color2={ 255 255 255 } + + b_uchangidurga = { + } + b_parivi = { + } + b_hemavati = { + } + b_sira = { + } + b_harihar = { + } + b_chitradurga = { + } + b_nidugallu = { + } + } + c_dwarasamudra = { + color={ 178 113 29 } + color2={ 255 255 255 } + + b_dwarasamudra = { + } + b_belur = { + } + b_sosavur = { + } + b_hassan = { + } + b_koravangala = { + } + b_arasikere = { + } + b_javagallu = { + } + } + c_alampur = { + color={ 158 93 29 } + color2={ 255 255 255 } + + b_alampur = { + } + b_gooty = { + } + b_kampili = { + } + b_hampi = { + } + b_adavani = { + } + b_ittagi = { + } + b_vijayanagara = { + } + } + } + d_raichur_doab = { + color={ 188 133 35 } + color2={ 255 255 255 } + + capital = 1203 # Idatarainadu + + c_idatarainadu = { + color={ 188 153 35 } + color2={ 255 255 255 } + + b_mudgal = { + } + b_gabburu = { + } + b_raichur = { + } + b_jaladurga = { + } + b_hemagudda = { + } + b_kammatadurga = { + } + b_manvi = { + } + } + c_kudalasangama = { + color={ 168 133 35 } + color2={ 255 255 255 } + + b_kudalasangama = { + } + b_koppam = { + } + b_musangi = { + } + b_anegundi = { + } + b_bagali = { + } + b_kuknur = { + } + b_dambal = { + } + } + c_banavasi = { + color={ 188 133 55 } + color2={ 255 255 255 } + + b_vaijayanti = { + } + b_hangal = { + } + b_balligavi = { + } + b_vankapura = { + } + b_lakkundi = { + } + b_candragutti = { + } + b_kuruvatti = { + } + b_ikkeri = { + } + b_sringeri = { + } + } + c_vatapi = { + color={ 188 113 35 } + color2={ 255 255 255 } + + b_vatapi = { + } + b_venugrama = { + } + b_parasgad = { + } + b_aihole = { + } + b_halasi = { + } + b_dharwar = { + } + b_bagalkot = { + } + } + } + } + k_tamilakam = { + color={ 200 25 65 } + color2={ 255 255 255 } + + capital = 1115 # Cholamandalam + + d_chola_nadu = { + color={ 140 65 65 } + color2={ 255 255 255 } + + capital = 1115 # Cholamandalam + + c_cholamandalam = { + color={ 140 45 65 } + color2={ 255 255 255 } + + b_tanjavur = { + } + b_uraiyur = { + } + b_nagapattinam = { + } + b_kannanur = { + } + b_gangaikondacolapuram = { + } + b_srirangam = { + } + b_tiruccirapalli = { + } + b_kumbhakarna = { + } + } + c_tagadur = { + color={ 140 65 45 } + color2={ 255 255 255 } + + b_tagadur = { + } + b_tiruvannamalai = { + } + b_satyamangalam = { + } + b_jinji = { + } + b_tirukkovalur = { + } + b_padaividu = { + } + b_siyyamangalam = { + } + } + } + d_pandya_nadu = { + color={ 180 80 130 } + color2={ 255 255 255 } + + capital = 1112 # Madurai + + c_madurai = { + color={ 160 80 130 } + color2={ 255 255 255 } + + b_madurai = { + } + b_srivilliputtur = { + } + b_ramesvaram = { + } + b_kilakarai = { + } + b_ramnadhapuram = { + } + b_tiruparankunram = { + } + b_anaimalai = { + } + } + c_tirunelveli = { + color={ 180 60 130 } + color2={ 255 255 255 } + + b_tirunelveli = { + } + b_kayattar = { + } + b_korkai = { + } + b_kayal = { + } + b_kalugumalai = { + } + b_tiruvalisvaram = { + } + b_santera = { # Fictional - For Prosperity + } + } + c_kongu = { + color={ 180 80 150 } + color2={ 255 255 255 } + + b_karavur = { + } + b_erode = { + } + b_perur = { + } + b_dharapuri = { + } + b_hemambika = { + } + b_sendamangalam = { + } + b_tiruppur = { + } + b_namakkal = { + } + b_sankagiri = { + } + } + c_tenkasi = { + color={ 180 100 130 } + color2={ 255 255 255 } + + b_tenkasi = { + } + b_dindigul = { + } + b_sankaranayinarkovil = { + } + b_palayamcottai = { + } + b_tirumalapuram = { + } + b_aivarmalai = { + } + b_bandgaon = { # Fictional - For Prosperity + } + } + } + d_chera_nadu = { + color={ 140 75 75 } + color2={ 255 255 255 } + + capital = 1114 # Mahoyadapuram + + c_mahoyadapuram = { + color={ 160 75 75 } + color2={ 255 255 255 } + + b_mahoyadapuram = { + } + b_udagai = { + } + b_kaladi = { + } + b_kunjakari = { + } + b_tripunittura = { + } + b_kaviyur = { + } + b_kadungallur = { + } + } + c_venadu = { + color={ 140 55 75 } + color2={ 255 255 255 } + + b_vizhinjam = { + } + b_kollam = { + } + b_kanya_kumari = { + } + b_anantasayanam = { + } + b_kandalur = { + } + b_nagercoil = { + } + b_asaudah = { # Fictional - For Prosperity + } + } + c_qalqut = { + color={ 140 75 95 } + color2={ 255 255 255 } + + tamil = Kallikkottai + + b_calicut = { + tamil = Kallikkottai + } + b_nediyiruppu = { + } + b_kannur = { + } + b_urakam = { + } + b_vatakara = { + } + b_parappanangadi = { + } + b_chaliyam = { + } + } + c_kanara = { + color={ 150 65 65 } + color2={ 255 255 255 } + + b_udayavara = { + } + b_udupi = { + } + b_mangalur = { + } + b_dharmasthala = { + } + b_kasargod = { + } + b_kadarika = { + } + b_aruvankadu = { # Fictional - For Prosperity + } + } + c_maldives = { + color={ 120 75 75 } + color2={ 255 255 255 } + + b_mahal = { + } + b_fuvahmulah = { + } + b_isdhoo = { + } + b_salliballu = { + } + b_dhanbidhoo = { + } + b_mundoo = { + } + b_gan = { + } + } + } + d_tondai_nadu = { + color={ 200 120 120 } + color2={ 255 255 255 } + + capital = 1119 # Kanchipuram + + c_kanchipuram = { + color={ 180 120 120 } + color2={ 255 255 255 } + + b_kanchipuram = { + } + b_uttaramerur = { + } + b_mailapur = { + } + b_rajagiri = { + } + b_koodalur = { + } + b_takkaloma = { + } + b_alampuravi = { + } + } + c_potapi = { + color={ 200 120 140 } + color2={ 255 255 255 } + + b_potapi = { + } + b_kaveripattinam = { + } + b_tirupati = { + } + b_melpadi = { + } + b_virincipuram = { + } + b_chaura = { # Fictional - For Prosperity + } + b_mando = { # Fictional - For Prosperity + } + } + } + } + k_andhra = { + color={ 110 0 20 } + color2={ 220 220 20 } + + capital = 1122 # Udayagiri + + d_vengi = { + color={ 190 40 60 } + color2={ 255 255 255 } + + capital = 1221 # Vijayawada + + c_vengipura = { + color={ 190 60 60 } + color2={ 255 255 255 } + + b_vengipura = { + } + b_eluru = { + } + b_dwarakatirumala = { + } + b_kondapalli = { + } + b_palakollu = { + } + b_bandarulanka = { + } + b_narasapuram = { + } + } + c_vijayawada = { + color={ 190 40 40 } + color2={ 255 255 255 } + + b_vijayawada = { + } + b_kondavidu = { + } + b_chebrolu = { + } + b_masula = { + } + b_guntur = { + } + b_peddapalli = { + } + b_monvel = { # Fictional - For Prosperity + } + } + c_pithapuram = { + color={ 210 40 60 } + color2={ 255 255 255 } + + b_pithapuram = { + } + b_mandapeta = { + } + b_draksharama = { + } + b_somarama = { + } + b_samalkota = { + } + b_kakinada = { + } + b_wardha = { # Fictional - For Prosperity + } + } + c_rajamahendravaram = { + color={ 190 20 55 } + color2={ 255 255 255 } + + b_rajamahendravaram = { + } + b_kuwakonda = { + } + b_kirandul = { + } + b_pattiseema = { + } + b_getalsud = { # Fictional - For Prosperity + } + b_hemagiri = { # Fictional - For Prosperity + } + b_pathyar = { # Fictional - For Prosperity + } + } + } + d_udayagiri = { + color={ 197 20 90 } + color2={ 255 255 255 } + + capital = 1122 # Udayagiri + + c_udayagiri = { + color={ 197 40 90 } + color2={ 255 255 255 } + + b_udayagiri = { + } + b_srisailam = { + } + b_vallurapura = { + } + b_nandyal = { + } + b_sriparvata = { + } + b_gandikota = { + } + b_mahanandi = { + } + b_kanipakam = { + } + } + c_amaravati = { + color={ 197 20 70 } + color2={ 255 255 255 } + + b_amaravati = { + } + b_vinukonda = { + } + b_dhanyakataka = { + } + b_macherla = { + } + b_gurazala = { + } + b_kotappakonda = { + } + b_ahobalam = { + } + } + c_penugonda = { + color={ 177 20 90 } + color2={ 255 255 255 } + + b_penugonda = { + } + b_suragiri = { + } + b_anantapur = { + } + b_togarakunta = { + } + b_gurramkonda = { + } + b_rayadurgam = { + } + b_uravakonda = { + } + b_lepakshi = { + } + } + c_nellore = { + color={ 197 20 110 } + color2={ 255 255 255 } + + b_nellore = { + } + b_kalahasti = { + } + b_kandukura = { + } + b_addanki = { + } + b_tripurantakam = { + } + b_gundigapuri = { + } + b_mutapali = { + } + } + } + } + k_telingana = { + color={ 195 50 55 } + color2={ 220 220 0 } + + capital = 1256 # Orangallu + + d_warangal = { + color={ 185 39 45 } + color2={ 255 255 255 } + + capital = 1256 # Orangallu + + c_orangallu = { + color={ 185 59 45 } + color2={ 255 255 255 } + + b_warangal = { + } + b_palampet = { + } + b_kothakonda = { + } + b_anumakonda = { + } + b_ghanpur = { + } + b_molangoor = { + } + b_bhadrakali = { + } + } + c_kambampet = { + color={ 185 39 65 } + color2={ 255 255 255 } + + b_kambampet = { + } + b_bhadrachalam = { + } + b_nelakondapalli = { + } + b_penuballi = { + } + b_suryapet = { + } + b_madupalli = { + } + b_shahpura = { + } + } + c_vemulavada = { + color={ 165 39 45 } + color2={ 255 255 255 } + + b_vemulavada = { + } + b_kaulas = { + } + b_kaleshwaram = { + } + b_indur = { + } + b_potali = { + } + b_konni = { # Fictional - For Prosperity + } + b_balijipeta = { # Fictional - For Prosperity + } + } + c_balkonda = { + color={ 205 39 45 } + color2={ 255 255 255 } + + b_balkonda = { + } + b_mahur = { + } + b_basara = { + } + b_nirmal = { + } + b_manikdurg = { + } + b_dharmapuri = { + } + b_khairaput = { # Fictional - For Prosperity + } + } + } + d_racakonda = { + color={ 130 0 20 } + color2={ 255 255 255 } + + capital = 1209 # Racakonda + + c_racakonda = { + color={ 130 20 20 } + color2={ 255 255 255 } + + b_racakonda = { + } + b_bhuvanagiri = { + } + b_manchal = { + } + b_yadagirigutta = { + } + b_sobhapur = { # Fictional - For Prosperity + } + b_mara = { # Fictional - For Prosperity + } + b_manpura = { # Fictional - For Prosperity + } + } + c_nilagiri = { + color={ 130 0 40 } + color2={ 255 255 255 } + + b_nilagiri = { + } + b_avulagadda = { + } + b_panagallu = { + } + b_maheshwaram = { + } + b_devarakonda = { + } + b_vadapally = { + } + b_zuchhip = { # Fictional - For Prosperity + } + } + c_pannagallu = { + color={ 110 0 20 } + color2={ 255 255 255 } + + b_pannagallu = { + } + b_nagarkurnool = { + } + b_charakonda = { + } + b_mutudugu = { + } + b_kunda = { # Fictional - For Prosperity + } + b_malikpur = { # Fictional - For Prosperity + } + b_bodla = { # Fictional - For Prosperity + } + } + c_medak = { + color={ 150 0 20 } + color2={ 255 255 255 } + + b_medak = { + } + b_domakonda = { + } + b_kohir = { + } + b_mardi = { + } + b_ananthagiri = { + } + b_baramgala = { # Fictional - For Prosperity + } + b_chikalthana = { # Fictional - For Prosperity + } + } + c_kollipake = { + color={ 130 20 0 } + color2={ 255 255 255 } + + b_kollipake = { + } + b_karmanghat = { + } + b_golkonda = { + } + b_chilkur_balaji = { + } + b_devaryamjal = { + } + b_ratia = { # Fictional - For Prosperity + } + b_pahla = { # Fictional - For Prosperity + } + } + } + } + k_lanka = { + color = { 221 187 80 } + color2={ 255 255 255 } + + capital = 1215 # Dakhina Desa + + d_lanka = { + color = { 231 195 85 } + color2={ 255 255 255 } + + capital = 1215 # Dakhina Desa + + c_dakhina_desa = { + color = { 231 175 85 } + color2={ 255 255 255 } + + b_vapinagara = { + } + b_samantakuta = { + } + b_kalyani2 = { + } + b_mahiyangana = { + } + b_jambudoni = { + } + b_hatthigiripura = { + } + b_kotte = { + } + b_rayigama = { + } + } + c_rohana = { + color = { 231 195 105 } + color2={ 255 255 255 } + + b_rohana = { + } + b_mahagama = { + } + b_dighavapi = { + } + b_mahanagakula = { + } + b_devanagara = { + } + b_gampala = { + } + b_kajaragama = { + } + b_buduruvagala = { + } + } + } + d_sinhala = { + color = { 181 155 55 } + color2={ 255 255 255 } + + capital = 1195 # Pihiti + + c_phiti = { # Pihiti + color = { 181 135 55 } + color2={ 255 255 255 } + + b_anuradhapura = { + } + b_atamasthana = { + } + b_mahatittha = { + } + b_punkhagama = { + } + b_mihintale = { + } + b_mannara = { + } + b_subhagiri = { + } + } + c_nagadipa = { + color = { 181 155 75 } + color2={ 255 255 255 } + + b_sukaratittha = { + } + b_yapapatuna = { + } + b_vallipuram = { + } + b_nallur = { + } + b_nainativu = { + } + b_manertha = { # Fictional - For Prosperity + } + b_agia = { # Fictional - For Prosperity + } + } + c_kotthasara = { + color = { 161 155 55 } + color2={ 255 255 255 } + + b_pulatthinagara = { + } + b_gokanna = { + } + b_sigiriya = { + } + b_vatagiri = { + } + b_trincomalee = { + } + b_girikandaka = { + } + b_madakalapuva = { + } + } + } + } +} + + +# INDIAN MERCS + +d_tamil_band = { + color = { 110 60 30 } + color2 = { 255 255 255 } + + capital = 1120 # Tagadur + + # Parent Religion + religion = hindu + + culture = tamil + + mercenary = yes + + title = "CAPTAIN" + foa = "CAPTAIN_FOA" + + # Always exists + landless = yes + + # Cannot be held as a secondary title + primary = yes + + # Cannot be vassalized + independent = yes + + strength_growth_per_century = 1.0 + + mercenary_type = tamil_band_composition +} + +d_marathi_company = { + color = { 150 80 40 } + color2 = { 255 255 255 } + + capital = 1254 # Vairagara + + # Parent Religion + religion = hindu + + culture = marathi + + mercenary = yes + + title = "CAPTAIN" + foa = "CAPTAIN_FOA" + + # Always exists + landless = yes + + # Cannot be held as a secondary title + primary = yes + + # Cannot be vassalized + independent = yes + + strength_growth_per_century = 1.0 + + mercenary_type = marathi_company_composition +} + +d_marathi_band = { + color = { 180 80 40 } + color2 = { 255 255 255 } + + capital = 1254 # Vairagara + + # Parent Religion + religion = hindu + + culture = marathi + + mercenary = yes + + title = "CAPTAIN" + foa = "CAPTAIN_FOA" + + # Always exists + landless = yes + + # Cannot be held as a secondary title + primary = yes + + # Cannot be vassalized + independent = yes + + strength_growth_per_century = 1.0 + + mercenary_type = marathi_band_composition +} + +d_bengal_company = { + color = { 30 150 50 } + color2 = { 255 255 255 } + + capital = 1236 # Candradvipa + + # Parent Religion + religion = hindu + + culture = bengali + + mercenary = yes + + title = "CAPTAIN" + foa = "CAPTAIN_FOA" + + # Always exists + landless = yes + + # Cannot be held as a secondary title + primary = yes + + # Cannot be vassalized + independent = yes + + strength_growth_per_century = 1.0 + + mercenary_type = bengal_company_composition +} + +d_bengal_band = { + color = { 30 170 50 } + color2 = { 255 255 255 } + + capital = 1236 # Candradvipa + + # Parent Religion + religion = hindu + + culture = bengali + + mercenary = yes + + title = "CAPTAIN" + foa = "CAPTAIN_FOA" + + # Always exists + landless = yes + + # Cannot be held as a secondary title + primary = yes + + # Cannot be vassalized + independent = yes + + strength_growth_per_century = 1.0 + + mercenary_type = bengal_band_composition +} + +d_rajput_company = { + color = { 180 65 0 } + color2 = { 255 255 255 } + + capital = 1130 # Mandavyapura + + # Parent Religion + religion = hindu + + culture = rajput + + mercenary = yes + + title = "CAPTAIN" + foa = "CAPTAIN_FOA" + + # Always exists + landless = yes + + # Cannot be held as a secondary title + primary = yes + + # Cannot be vassalized + independent = yes + + strength_growth_per_century = 1.0 + + mercenary_type = rajput_company_composition +} + +d_rajput_band = { + color = { 170 50 0 } + color2 = { 255 255 255 } + + capital = 1130 # Mandavyapura + + # Parent Religion + religion = hindu + + culture = rajput + + mercenary = yes + + title = "CAPTAIN" + foa = "CAPTAIN_FOA" + + # Always exists + landless = yes + + # Cannot be held as a secondary title + primary = yes + + # Cannot be vassalized + independent = yes + + strength_growth_per_century = 1.0 + + mercenary_type = rajput_band_composition +} + diff --git a/LCDA/common/on_actions/00_on_actions.txt b/LCDA/common/on_actions/00_on_actions.txt new file mode 100644 index 0000000..cbfd40f --- /dev/null +++ b/LCDA/common/on_actions/00_on_actions.txt @@ -0,0 +1,2793 @@ +#character +on_startup = { + events = { + GR.13 #True cognatic for rule gender = all + MNM.10025 #Save game conversion of secret_traits to secret religions + } +} + +#character +on_yearly_pulse = { + events = { + CM.5000 # Ragnar Lodbrok + CM.503 # Start of Viking Age + CM.1011 # Lombard Queen + HL.1030 # Wolf Child growing older, rumors of real mother being a wolf + 63106 # (Safety flag clearance check event) + ZE.1100 # Disobedient daughter is unhappy + ZE.9000 # Ally not contributing in war + ZE.10000 # Mercenary event tombula + RIP.10012 # Check for plague notifications + RIP.11700 # Prosperity system + RIP.5050 # Scurvy event + RIP.30316 # clean up immortal crisis + RIP.30317 # immortal crisis spreads + MNM.4430 # Passive nice trait gain for buddhist/jain monastic societies + MNM.9815 # Seal of Solomon artifact makes you immune to possession + MNM.70030 # Secret society visibility reduction + } + + + random_events = { + + # Feudal Life Events + 100 = 4000 + 100 = 4005 + 100 = 4010 + 100 = 4015 + 100 = 4020 + 100 = 4035 + 100 = 4036 + 100 = 4040 + 100 = 4041 + 100 = 4045 + 100 = 4050 + 100 = 4055 + 100 = 4060 + 100 = 4085 + 100 = 4110 + 100 = 4115 + 100 = 4120 + 100 = 4125 + 100 = 4130 + 100 = 4135 + 100 = 4145 + 100 = 4150 + 100 = 4155 + 100 = 4175 + + # Married Life Events + 100 = 30000 + 100 = 30001 + 100 = 30004 + 100 = 30020 + 100 = 30021 + 100 = 30025 + 100 = 30030 + 100 = 30040 + 100 = 30045 + 100 = 30050 + 100 = 30051 + 100 = 30052 + 100 = 30055 + 100 = 30056 + 100 = 30057 + 100 = 30058 + 100 = 30059 + 100 = 30060 + 100 = 30063 + 100 = 30066 + 100 = 30069 + 100 = 30072 + 100 = 30075 + 100 = 30085 + 100 = 30100 + 100 = 30105 + 100 = 30110 + + # Old Lover Events (Disabled in "Way of Life") + 100 = 64000 # Confronts spouse about lover. Rivalries, lover lost. + 100 = 64005 # Lover is ill. Give comfort. + 100 = 64006 # Wounded lover. Wound removed. + 100 = 64010 # Teenage infatuation starts. + 100 = 64015 # Wife is old and ugly. Take a mistress? + 100 = 64025 # Fallen in love with spouse + 100 = 64030 # Vacation with lover + 100 = 64035 # Party/hunting/nothing with lover + 100 = 64040 # Ruler confronts spouse about lover + + #Job Flavour Events + 100 = 75010 + 100 = 75020 + 100 = 75030 + 100 = 75040 + 100 = 75050 + 100 = 75060 + 100 = 75065 + 100 = 75070 + 100 = 75075 + 100 = 75080 + 100 = 75085 + 100 = 75090 + 100 = 75095 + 100 = 75105 + 100 = 75110 + 100 = 75120 + + #Dynasty requests + #250 = 66000 + 250 = 66099 # Landless claimant asks dynasty head to press the claim in a war + + #Hedge Knights Events + 100 = 71000 + 100 = 71006 + + #Rumours Events + 10 = 69000 + 10 = 69003 + 10 = 69010 + 10 = 69014 + 10 = 69020 + 10 = 69023 + 10 = 69030 + 10 = 69037 + 10 = 69040 + 10 = 69043 + 10 = 69050 + 10 = 69052 + 10 = 69054 + 10 = 69056 + 10 = 69058 + 10 = 69060 + 10 = 69063 + 10 = 69070 + 10 = 69073 + 10 = 69100 + 10 = 69095 + + #Court Events + 100 = 73000 + 100 = 73001 + 100 = 73002 + 100 = 73003 + 100 = 73004 + 100 = 73005 + 100 = 73006 + 100 = 73007 + 100 = 73008 + 100 = 73009 + 100 = 73010 + + #Religious Events + 100 = 39230 + + #Bastard Events + 100 = 76000 + 100 = 76005 + 100 = 76010 + 100 = 76015 + 100 = 76020 + 100 = 76025 + 100 = 76030 + 100 = 76035 + 100 = 76040 + + #Ward Events + 100 = 78000 + 100 = 78005 + 100 = 78010 + 100 = 78015 + 100 = 78018 + 100 = 78025 + 100 = 78030 + 100 = HL.10610 + + #Various Events + 100 = TOG.3403 + 100 = TOG.3401 + 100 = TOG.3402 + 100 = 100019 + 100 = 100024 + 50 = 79007 # Shieldmaiden training event + 150 = 37250 #Wife of same education offers to help + + # Reincarnation: Memories of the previous life + 1000 = RoI.10020 + 1000 = RoI.10021 + 1000 = RoI.10022 + + # Indian guru events + 100 = RoI.3100 + 100 = RoI.3101 + 100 = RoI.3102 + 100 = RoI.3103 + 100 = RoI.3104 + 100 = RoI.3105 + 100 = RoI.3106 + 100 = RoI.3107 + 100 = RoI.3108 + 100 = RoI.3109 + 100 = RoI.3110 + 100 = RoI.3111 + 100 = RoI.3112 + 100 = RoI.3113 + 100 = RoI.3114 + 500 = RoI.3200 + 500 = RoI.3300 + 100 = RoI.3400 + + # Indian ascetics and yogis + 20 = RoI.203 + 20 = RoI.206 + 20 = RoI.209 + 20 = RoI.193 + + # Indian story events + 20 = RoI.215 + 20 = RoI.20147 + 20 = RoI.20164 + + # Indian minor events + 100 = RoI.157 + 100 = RoI.158 + 100 = RoI.163 + 100 = RoI.180 + 100 = RoI.190 + 50 = RoI.401 + 100 = RoI.403 + 100 = RoI.410 + 100 = RoI.411 + 200 = RoI.412 + 500 = RoI.500 + + # Indian low religious authority events + 50 = RoI.3500 + 50 = RoI.3506 + 50 = RoI.3510 + 50 = RoI.3516 + 10 = RoI.3520 + 50 = RoI.3530 +# 50 = RoI.3536 + + # Religious tolerance events + 100 = RoI.400 + + # Way of Life events + 100 = WoL.12506 # Legendary Wisdom + 100 = WoL.12507 # Respected Ruler + + # Hero knight adventure events +# 200 = CM.2010 + 200 = CM.2020 +# 200 = CM.2100 + + # Effects of being in hiding + 100 = CM.6100 + 100 = CM.6102 + 100 = CM.6104 + 100 = CM.6106 + 100 = CM.6108 + 100 = CM.6110 + 100 = CM.6112 + 100 = CM.6114 + 100 = CM.6116 + 100 = CM.6118 + 100 = CM.6120 + 100 = CM.6122 + 100 = CM.6124 + 100 = CM.6126 + 100 = CM.6128 + 100 = CM.6130 + 100 = CM.6132 + + # Meddling mother events + 100 = CM.1150 + 100 = CM.1160 + 100 = CM.1170 + 100 = CM.1180 + 100 = CM.1190 + + # Other Charlemagne/Carloman + 100 = CM.1130 + + # Horse Lords Mercenary Events + 300 = HL.10100 + 300 = HL.10200 + 300 = HL.10210 + 300 = HL.10220 + 300 = HL.10230 + 300 = HL.10240 + 300 = HL.10250 + 300 = HL.10260 + 300 = HL.10270 + 300 = HL.10400 + 100 = HL.10410 + 300 = HL.10500 + 300 = HL.10510 + 300 = HL.10530 + 300 = HL.10600 + + # Wolf's Blood events + 100 = HL.1010 # Wolf Child found in woods + 100 = HL.1020 # Child lost in woods and is rescued by wolves + 500 = HL.1200 # Call of the Wolves +# 500 = HL.1300 # The Lost Cub + 150 = HL.1400 # Werewolf first occurrence + 1500 = HL.1401 # Werewolf subsequent occurrences + + 300 = HL.1500 # Become cannibal + 300 = HL.1510 # Howl at the moon + 300 = HL.1520 # Hunter instinct strikes unexpectedly (and awkwardly) at court + 300 = HL.1530 # Hunter instincts in martial training (upgrade martial education) + 300 = HL.1540 # Become strong + 300 = HL.1550 # Cunning as a wolf (quick) + 300 = HL.1560 # Animal instincts take over... (lustful) + 300 = HL.1570 # Pack instinct (gregarious) + 300 = HL.1580 # Wolf is brave (brave) + 300 = HL.1590 # Animal cruelty (cruel) + 300 = HL.1610 # Rabid wolf (wroth) + 300 = HL.1620 # Wolf-face (ugly) + 300 = HL.1630 # Animal mind (lower learning trait level) + 300 = HL.1640 # Really howl at the moon! (lunatic) + + # Horse Lords Horse Events + 800 = HL.6010 # Ward can't ride yet + 100 = HL.6020 # Dangerous river crossing - save spouse or favorite horse? + 100 = HL.6030 # A loyal retinue warrior's family have lost their horses to sickness + 100 = HL.6510 # Your horse gets bitten by another horse + 100 = HL.6520 # Foreign portrait painter offers his services + + # Zeus Disobedient Daughter Events + 2000 = ZE.1300 # Disobedient daughter asks to marry lover + + # Zeus Councillor Random Events + 300 = ZE.4000 # Marshal suggests new commander + 300 = ZE.4010 # Marshal wants to do experiments with new weaponry + 200 = ZE.4100 # Marshal on mission turns against liege + 100 = ZE.4120 # Marshal - abuse of office, runs protection racket in province + + 100 = ZE.5000 # Zealous Lord Spiritual asks to go and proselytize among heathens + 200 = ZE.5010 # Zealous Lord Spiritual insists in building more temple holdings, willing to donate own money + 300 = ZE.5020 # Lord Spiritual on mission turns disloyal + 100 = ZE.5030 # Lord Spiritual - abuse of office - charges money from populace for godly favor + 500 = ZE.5040 # Craven or Cynical Lord Spiritual complains about dangerous mission to convert heathens + + + 100 = ZE.3000 # Steward takes loan to cover up incompetence + 100 = ZE.3002 # Steward makes extra money because of high stewardship + 100 = ZE.3004 # Steward offers to make statue for liege + 100 = ZE.3011 # Steward offers to teach liege + + 100 = ZE.2060 # Councillor steals money from the realm coffers + + 100 = ZE.2020 # Chancellor tries to teach ruler foreign languages + 100 = ZE.2030 # Chancellor sets up bureaucratic scheme to get hearings with the ruler + + 100 = ZE.2070 # Spymaster uses realm spynetwork to blackmail people + 100 = ZE.2075 # Spymaster tries to improve spy defenses + + #Alliance events + 100 = ZE.8000 + 100 = ZE.8010 + 300 = ZE.9100 + + #Favor events + 100 = ZE.8100 # Drank too much and fell + 100 = ZE.8110 # Vassal arguing with spouse + 100 = ZE.23000 # Councillor is Overburden with Work + 100 = ZE.23005 # Troublesome Peasants + 100 = ZE.22300 # Pardon a young noble + 200 = ZE.22400 # Voter saves another voters face at a Council Meeting + 200 = ZE.22500 # Godly voter shows you how to be more pious + 100 = ZE.22600 # Ask foreign voter for help + 200 = ZE.22700 # Give land to an unlanded friend for a favor + 200 = ZE.22800 # Offer to train your Liege's commanders + + #Dynamic mercenary events + 50 = ZE.23150 # Band Leader Speaks Highly of Employer + + #AI secretly convert event + 15 = MNM.3948 # Convert to spouse/friend/province + + #Female councillors + 100 = 77777 # Visit from talented woman + 100 = 77790 # Female relative wants to get on council + 150 = 77760 # Female vassal wants to get on council + + #End of days events + 50 = RIP.14000 + + #Chess with death + 25 = RIP.30220 + + #Immortal vassal crisis + 25 = RIP.30315 + 50 = RIP.30318 + #Immortal rival + 25 = RIP.30300 + + #Gamebook + 100 = GBC.1 # Making a friend in mourning + + #Physician Flavor events + 100 = RIP.4010 # Court Physician recommends that you "Take it Easy" + 100 = RIP.4011 # Court Physician gifts you a guide dog + 200 = RIP.4013 # Court Physician suggests fertility treatment + 100 = RIP.4020 # Court Physician Friend teaches you medicine + 100 = RIP.4022 # Court Physician suggests you implement provincial apothecaries (prosperity boost) + 100 = RIP.4030 # Court Physician asks for patronage + 200 = RIP.4040 # Court Physician training event + 200 = RIP.4100 # A Physician-Missionary arrives in a Tribal or Nomadic Court + + #Random Prosperity Increasing Events + 125 = RIP.4300 # Steward suggests building new roads + 125 = RIP.4301 # Lord Spiritual suggests building shrines + 125 = RIP.4302 # Marshal suggests building outposts + 125 = RIP.4303 # Spymaster suggests setting up local messenger stations + 125 = RIP.4304 # Chancellor suggests sponsoring local harvest festivals + 125 = RIP.4305 # You decide upon personally visiting a province + + #Maimed Flavor events + 100 = RIP.29100 # Disfigured events + 100 = RIP.29200 # One-eyed events + 100 = RIP.29300 # One-handed events + 100 = RIP.29400 # One-legged events + 100 = RIP.29511 # Close relation taking care of you + + #Hospital events + 100 = RIP.4501 # Pilgrim physician arrives + 100 = RIP.4504 # Perform charity + 100 = RIP.4512 # Religious heads demand money for hospital presence + 75 = RIP.4514 # Leper arrives at court + 100 = RIP.4520 # Soup kitchen is damaged + 100 = RIP.4530 # Court physician seek learning at hospital + + #Pet events + 100 = 77850 # Cat event tombula + 150 = 77860 # Cat makes you happy + + #Monks and Mystics events + 100 = MNM.9000 # Artifact rumor + 100 = MNM.9100 # Crown jewels + 100 = MNM.9115 # Weaponsmith + 100 = MNM.3910 # Commission painting + 30 = MNM.7829 # AI-only disciple recruitment + + #Artifact events + 500 = MNM.9816 # Blessed Mantle allows you to make Water of the Blessed Mantle (-> logic) + + # Former MTTH Events + 100 = TOG.3109 # Son wants to join the Varangians (Son) - Formerly 200 month MTTH + 100 = TOG.3111 # Son stays in Greece with wife (Son) - Formerly 200 month MTTH + 120 = TOG.3114 # Son returns scarred but seasoned (Son) - Formerly 160 month MTTH + 110 = TOG.3116 # Son returns with notions of Greek love (Son) - Formerly 180 month MTTH + 75 = TOG.3118 # Son returns castrated and blinded (Son) - Formerly 250 month MTTH + 120 = TOG.3120 # Son returns as excellent strategist (Son) - Formerly 160 month MTTH + 110 = TOG.3122 # Son returns with PTSD (Son) - Formerly 180 month MTTH + 110 = TOG.3124 # Son returns home with Greek wife (Son) - Formerly 180 month MTTH + 120 = TOG.3126 # Son returns home as a Christian zealot (Son) - Formerly 160 month MTTH + 140 = TOG.3128 # Son returns home as a seasoned warrior (Son) - Formerly 120 month MTTH + 100 = TOG.3130 # Son dies in battle (Son) - Formerly 200 month MTTH + 120 = TOG.3132 # Son returns with loot (Son) - Formerly 160 month MTTH + 50 = SoA.5219 # Donate to local monastery - Formerly 2000 month MTTH + + 5000 = 0 # Chance of no yearly event + + } +} + + +#character +on_bi_yearly_pulse = { + events = { + TOG.3005 # Lose Berserker Trait when too old + SoA.5300 # Christian becoming a wicked priest + SoA.5301 # Muslim becoming a wicked caliph + SoA.5302 # Norse becoming an unworthy priest + SoA.5303 # Tengri becoming an unworthy priest + SoA.5304 # Zoroastrian becoming an immoral priest + SoA.5305 # Aztec becoming an unworthy pries + } + + + random_events = { + + #Various Traits Events + 10 = 65000 + 10 = 65001 + 10 = 65003 + 10 = 65005 + 10 = 65007 + 10 = 65009 + 10 = 65166 + 10 = 65011 + 10 = 65020 + 10 = 65021 + 10 = 65022 + 10 = 65023 + 10 = 65030 + 10 = 65031 + 10 = 65032 + 10 = 65033 + 10 = 65034 + 10 = 65035 + 10 = 65036 + 10 = 65037 + 10 = 65040 + 10 = 65041 + 10 = 65042 + 10 = 65043 + 10 = 65165 + 10 = 65044 + 10 = 65045 + 10 = 65048 + 10 = 65049 + 10 = 65050 + 10 = 65051 + 10 = 65052 + 10 = 65053 + 10 = 65055 + 10 = 65057 + 10 = 65060 + 10 = 65061 + 10 = 65065 + 10 = 65070 + 10 = 65071 + 10 = 65072 + 10 = 65074 + 10 = 65080 + 10 = 65081 + 10 = 65085 + 10 = 65090 + 10 = 65095 + 10 = 65100 + 10 = 65101 + 10 = 65102 + 10 = 65105 + 10 = 65106 + 10 = 65107 + 10 = 65110 + 10 = 65115 + 10 = 65120 + 10 = 65125 + 10 = 65126 + 10 = 65130 + 10 = 65135 + 10 = 65140 + 10 = 65145 + 10 = 65150 + 10 = 65155 + 10 = 65160 + + #Seven Virtues + 10 = 3020 + 10 = 3021 + 10 = 3022 + 10 = 3025 + 10 = 3026 + 10 = 3030 + 10 = 3035 + 10 = 3012 + 10 = 3013 + 10 = 3095 + 10 = 3080 + 10 = 3081 + 10 = 3082 + 10 = 3083 + 10 = 3084 + 10 = 3085 + 10 = 3120 + 10 = 3121 + 10 = 3123 + 10 = 3124 + 10 = 3125 + 10 = 3126 + 10 = 3200 + 10 = 3202 + 10 = 3203 + 10 = 3205 + 10 = 3240 + 10 = 3242 + 10 = 3243 + 10 = 3245 + 10 = 3246 + 10 = 3247 + 10 = 3248 + 10 = 3258 + 10 = 3160 + #10 = 3165 - deleted + 10 = 3170 + 10 = 3175 + + #Seven Deadly Sins + 10 = 3000 + 10 = 3001 + 10 = 3005 + 10 = 3010 + 10 = 3011 + 10 = 3040 + 10 = 3045 + 10 = 3050 + 10 = 3055 + 10 = 3060 + 10 = 3065 + 10 = 3070 + 10 = 3075 + 10 = 3100 + 10 = 3105 + 10 = 3110 + 10 = 3115 + 10 = 3180 + 10 = 3185 + 10 = 3190 + 10 = 3195 + 10 = 3140 + 10 = 3141 + 10 = 3142 + 10 = 3143 + 10 = 3144 + 10 = 3145 + 10 = 3220 + 10 = 3225 + 10 = 3230 + 10 = 3235 + + + #Misc Traits, Paranoid, Honest,Gregagrious, Craven + 10 = 3480 + 10 = 3485 + 10 = 3490 + 10 = 3495 + 10 = 3280 + 10 = 3282 +# 10 = 3283 + 10 = 3710 + 10 = 3715 + 10 = 3720 + 10 = 3725 + 10 = 3300 + 10 = 3305 + 10 = 3310 + 10 = 3315 + + + #Deceitful + 10 = 3260 + 10 = 3261 + 10 = 3262 + 10 = 3263 + + + #Lifestyle events + 10 = 3520 + 10 = 3525 + 10 = 3530 + 10 = 3535 + 10 = 3540 + 10 = 3543 + 10 = 3546 + 10 = 3550 + 10 = 3555 + 10 = 3560 + 10 = 3563 + 10 = 3568 + 10 = 3570 + 10 = 3575 + 10 = 3585 + 10 = 3590 + 10 = 3593 + 10 = 3600 + 10 = 3605 + 10 = 3610 + 10 = 3615 + 10 = 3620 + 10 = 3625 + 10 = 3630 + 10 = 3635 + 10 = 3640 + 10 = 3645 + 10 = 3650 + 10 = 3655 + 10 = 3660 + 10 = 3665 + 10 = 3675 + 10 = 3680 + 10 = 3685 + 10 = 3690 + 10 = 3700 + + 20 = TOG.3009 + + 2000 = 0 # Chance of no bi-yearly event + } +} + +#character +on_five_year_pulse = { + events = { + GR.1 + MNM.10030 # Have AI characters join societies + } + + random_events = { + #---- misc traits needing revision below... + + + + #Brave + 10 = 3320 + 10 = 3325 + 10 = 3330 + 10 = 3335 + 10 = 3740 + + #Shy + 10 = 3340 + 10 = 3345 + 10 = 3350 + 10 = 3355 + + #Ambitious + 10 = 3360 + 10 = 3365 + 10 = 3370 + 10 = 3375 + 10 = 3371 + + #Content + 10 = 3380 + 10 = 3385 + 10 = 3390 + 10 = 3395 + 10 = 3745 + + #Arbitrary + 10 = 3400 + 10 = 3405 + 10 = 3410 + 10 = 3415 + 10 = 3411 + + #Just + 10 = 3420 + 10 = 3425 + 10 = 3430 + 10 = 3435 + + #Cynical + 10 = 3440 + 10 = 3445 + 10 = 3450 + 10 = 3455 + 10 = 3456 + + #Zealous + 10 = 3460 + 10 = 3465 + 10 = 3470 + 10 = 3475 + 10 = 3476 + 10 = 3750 + 10 = 3755 + + #Trusting + 10 = 3500 + 10 = 3505 + 10 = 3510 + 10 = 3515 + + #Personality Traits + 10 = 1000 + 10 = 1001 + 10 = 1002 + 10 = 1003 + 10 = 1004 + 10 = 1005 + 10 = 1006 + 10 = 1007 + 10 = 1008 + 10 = 1009 + 10 = 1010 + 10 = 1011 + 10 = 1012 + 10 = 1013 + 10 = 1014 + 10 = 1015 + 10 = 1016 + 10 = 1017 + 10 = 1018 + 10 = 1019 + 10 = 1028 + 10 = 1029 + 10 = 1030 + 10 = 1031 + 10 = 1032 + 10 = 1033 + 10 = 1034 + 10 = 1035 + 10 = 1036 + 10 = 1037 + 10 = 1038 + 10 = 1039 + 10 = 1040 + 10 = 1041 + 10 = 1042 + 10 = 1043 + 10 = 1044 + 10 = 1045 + 10 = 1046 + 10 = 1047 + 10 = 1048 + 10 = 1049 + 10 = 1050 + 10 = 1051 + 10 = 1052 + 10 = 1053 + 10 = 1054 + 10 = 1057 + 10 = 1058 + 10 = 1060 + 10 = 1070 + #10 = 3264 this was moved into 3260 + 10 = 3730 + 10 = 3735 + + #Zoroastrian pets + 1 = ZP.1 + + 40 = 0 + } +} + +#character +on_decade_pulse = { + events = { + RIP.10031 # clear global flags from bubonic plague + } + + random_events = { + 100 = 63050 #former MTTH event + 40 = SoA.4020 #former MTTH event + 100 = 0 + } +} + +# For characters 2 to 16 years old +on_yearly_childhood_pulse = { + random_events = { + # Childhood Personality Events + + #Age 6-16, aiming to get at least 4 traits before adult. + 100 = 1500 + 100 = 1510 + 100 = 1520 + 100 = 1530 + 100 = 1540 + 100 = 1550 + 100 = 1560 + 100 = 1570 + 100 = 1580 + 100 = 1590 + 100 = 1600 + 100 = 1610 + 100 = 1620 + 100 = 1630 + 100 = 1640 + 100 = 1650 + 100 = 1660 + 100 = 1670 + 100 = 1680 + 100 = 1690 + 100 = 1700 + 100 = 1710 + 100 = 1720 + 100 = 1730 + 100 = 1965 + 100 = 1632 + 100 = 1732 + 5000 = RoI.10010 # Acknowledged reincarnated child acquires trait from previous personality + + #Toddler flavour events (age 2-5), not very common, but some will get them. + 10 = 1900 + 10 = 1901 + 10 = 1902 + 10 = 1903 + 10 = 1904 + + #Young children flavour events, (age 6-10), not very common, but some will get then.. + 20 = 1905 + 20 = 1906 + 20 = 1907 + 20 = 1908 + 20 = 1909 + 20 = 1910 + 20 = 1911 + 20 = 1912 + + #Youngsters flavour events (age 11-15), not very common, but some will get then.. + 50 = 1913 + 50 = 1914 + 50 = 1915 + 50 = 1916 + 50 = 1917 + 50 = 1918 + 50 = 1919 + 50 = 1920 + 50 = 1921 + 50 = 1922 + 50 = 1923 + 50 = 1924 + 50 = 1925 + 50 = 1926 + 50 = 1927 + 50 = 1928 + 50 = 1929 + 50 = 1930 + 50 = 1931 + 50 = 1932 + 50 = 1933 + 50 = 1934 + 50 = 1935 + + #Friends rival flavour events moved from MTTH to childhood pulse. + 1000 = 100005 + 1000 = 100015 + + 1500 = 0 + } +} + +# Yearly pulse (six months from on_yearly_pulse) intended for Focus events (only fires for characters with a Focus) +on_focus_pulse = { + + random_events = { + 1000 = 0 + + # Family Focus + 300 = WoL.3010 # Relations with spouse improve + 200 = WoL.3020 # Relations with sibling improve + 400 = WoL.3030 # Relations with parent improve + 400 = WoL.3040 # Relations with child improve + 200 = WoL.3048 # Relations between two close relatives improve + 200 = WoL.3059 # Relations between two non-adult children improve + + # Theology Focus + 500 = WoL.7000 # Study religious myths? + 200 = WoL.7010 # Befriend priest through your religious interest + 200 = WoL.7020 # Visit holy site and speak with priests there (not Muslims, Christians, Jews or Indians) + 200 = WoL.7030 # Reflect on own life and how it relates to the gods. + 200 = WoL.7040 # Theologian's view of other religions - can gain Sympathy for other faiths + 200 = WoL.7050 # Question own faith - can gain Cynical or Zealous + 50 = WoL.7060 # Embrace heresy? Zealous characters only. Can lose the trait or become heretic. + 400 = WoL.7070 # Embrace theologian lifestyle? + 200 = WoL.7080 # Mystical experience - lose Depressed and Stressed + 200 = WoL.7090 # Meditation/Prayer in Seclusion - Go into hiding for a week. Lose Drunkard, Gluttonous and Lustful and possible gain Temperate and Chaste (depending on religion). Tiny Chance of restored eyesight or cured illness. + + # Hunting focus + 200 = WoL.5000 # Epic Hunt chain start + 200 = WoL.5200 # Receive hunting dog + 200 = WoL.5210 # Dog makes you happy + 200 = WoL.5211 # Dog makes you popular + 200 = WoL.5220 # Train your dog? + 200 = WoL.5230 # Bad dog kills other dog + 200 = WoL.5231 # Bad dog kills or wounds courtier + + # War Focus + 120 = WoL.11300 # Improved martial education + 120 = WoL.11301 # Leader Trait gained: Troop type specialist + 120 = WoL.11302 # Leader Trait gained: Terrain/climate specialist + 120 = WoL.11303 # Leader Trait gained: Battle tactics + 120 = WoL.11304 # Leader Trait gained: Inspiration, logistics and sieges + 120 = WoL.11305 # Leader Trait gained: Offense vs Defense + 120 = WoL.11310 # Teach a commander one of my leader traits + + # Rulership Focus + 50 = WoL.12000 # The Architect + 50 = WoL.12010 # Depressed + 25 = WoL.12011 # Stressed + 50 = WoL.12027 # Farm Fire + 50 = WoL.12015 # The Murders + 50 = WoL.12028 # Witch! + 50 = WoL.12029 # Drunkard + 50 = WoL.12025 # Noble Feud + 25 = WoL.12030 # City brigands + } +} + +#on combat pulse +on_combat_pulse = { + random_events = { + 2750 = 0 + 10 = 242 # Killed + 20 = 243 # Wounded + 10 = 244 # Maimed + 5 = 245 # Serious head injury + 50 = 246 # Improves martial education + 20 = 247 # Flat improvement to martial skill + + 20 = 248 # Knowledge boost in capital from battle. + 10 = 255 # Marshal: Unnecessary violence + 25 = 270 # Gain Brave + 25 = 271 # Gain Craven + 25 = HL.10200 # Lose Craven + 25 = HL.10300 # Gain Brave + 20 = 272 # Gain Wroth + 20 = 273 # Gain Patient + + 30 = 96500 # Gain Combat Trait 1 + 15 = 96501 # Gain Combat Trait 2 + 15 = 96502 # Gain Combat Trait 3 + 15 = 96503 # Gain Combat Trait 4 + + 50 = TOG.3000 # Becomes Berserker + 15 = TOG.3001 # Berserker Maimed + 20 = TOG.3002 # Berserker Wounded + 15 = TOG.3003 # Berserker Killed + 25 = TOG.3004 # Berserker Kills Many + 15 = 79009 # Shieldmaiden can save liege on battlefield + 15 = 79001 # Shieldmaiden saves liege, but she is injured (small chain) + + 50 = MNM.1202 # Scrying vision inspires greatness + 50 = MNM.1203 # Scrying vision injury + + } +} + +#on siege pulse +on_siege_pulse = { + random_events = { + 200000 = 0 + 75 = 62000 + 75 = 62001 + 75 = 62003 + 75 = 62004 + 75 = 62005 + 75 = 62006 + 75 = 62007 + 75 = 62008 + 75 = 62009 + 75 = 62010 + 25 = 62014 + 75 = 62015 + 15 = 62011 + 15 = 62012 + 15 = 62013 + } +} + +# any leader in battle on winning side is ROOT - opponent army leader is FROM +on_battle_won = { + random_events = { + 800 = 0 + 10 = 260 # Heroism shown + 10 = 261 # Soldier Distinguish himself. + 100 = 8310 # Crusader becomes zealous + 50 = CM.1054 # Death of Roland + } +} + +# any leader in battle on winning side is ROOT - opponent army leader is FROM +on_major_battle_won = { + events = { + CM.10029 # Chronicle + } +} + +# Winning army leader is ROOT - opponent army leader is FROM +on_battle_won_leader = { +} + +# Winning army leader is ROOT - opponent army leader is FROM +on_major_battle_won_leader = { + events = { + CM.10031 + } +} + +# Winning army owner is ROOT - opponent army owner is FROM +on_battle_won_owner = { + events = { + RIP.15115 #EoD prophet loses + } +} + +# Any leader in battle on losing side is ROOT - opponent army leader is FROM +on_battle_lost = { + random_events = { + 700 = 0 + 50 = 250 # Imprisoned by the enemy + 50 = 8320 # Crusader becomes cynical + 200 = CM.1056 # Death of Roland + } +} + +# Any leader in battle on losing side is ROOT - opponent army leader is FROM +on_major_battle_lost = { + events = { + CM.10030 # Chronicle + } +} + +# Losing army leader ROOT - opponent army leader is FROM +on_battle_lost_leader = { +} + +# Losing army leader ROOT - opponent army leader is FROM +on_major_battle_lost_leader = { + events = { + CM.10032 + } +} + +# Losing army owner is ROOT - opponent army owner is FROM +on_battle_lost_owner = { + events = { + HL.180 # Check raiding adventurer defeat + } +} + +# The taken Holding title is in FROM. +on_siege_won_leader = { + events = { + 8330 # Conquers the crusade target + 60100 # Mongols sack Kiev + 60101 # Mongols sack Novgorod + 60102 # Mongols sack Krakow + 60103 # Mongols sack Aachen + 60104 # Mongols sack Paris + 60105 # Mongols sack London + 60106 # Mongols sack Rome + 60107 # Mongols sack Venice + 60108 # Mongols sack Constantinople + 60109 # Mongols sack Lisbon + 60110 # Mongols sack Smolensk + 60111 # Mongols sack Prague + 60112 # Mongols sack Vienna + 60113 # Mongols sack Esztergom + 60114 # Mongols sack Athens + 60115 # Mongols sack Belgrade + 60116 # Mongols sack Baghdad + 60117 # Mongols sack Damascus + 60118 # Mongols sack Jerusalem + 60119 # Mongols sack Alexandria + 60120 # Mongols sack Cairo + 60121 # Mongols sack Mecca + 88005 # Mongols sack city near the Hashshashin + CM.10033 # Chronicle for certain major locations + CM.10034 # Chronicle for certain major locations + } + random_events = { + 300 = 0 + 100 = 8340 # Finds the Spear of Destiny / Holy Lance + 100 = 8342 # Finds the Holy Grail + 500 = 8345 # Sack of Jerusalem + } +} + +on_siege_lost_leader = { + events = { + 8350 # Loses the crusade target's capital + } +} + +# Fires for the owner of the winning unit (ROOT). The taken Holding title is in FROM. +on_siege_over_winner = { + events = { + TOG.1005 # Peasants take county capital + TOG.1025 # Heretics take county capital + TOG.1045 # Nationalists take county capital + TOG.1065 # Religious rebels take county capital + CM.1101 # Destruction of Irminsul + CM.10035 # Chronicle for certain major locations + HL.2005 # Minor Nomad Clan rebels take county capital + RIP.11702 # Prosperity lost when sieged + RIP.11713 # Monument to Glory teardown + HL.4813 # Nomads may pillage holdings on siege + MNM.6222 # Assassins occupy holding + MNM.7111 # Devil Worshipers desecrate holding + MNM.9900 # Chance to steal artifact from capital holdings + } + random_events = { + 400 = 0 # Nothing happens + 100 = SoA.5400 # Massacre at Beziers-type event + } +} + +# Fires for all characters presumed to be in the Holding at the time. Siege winner unit owner in the 'new_character' scope, lost holding title in FROM, local character in ROOT. +on_siege_over_loc_chars = { + events = { + SoA.5406 # Shepherds' Crusade kills Jews and priests + } + random_events = { + 1000 = 0 # Nothing happens + 400 = SSI.61 # Aztec sacrifice + 100 = 62100 # Character imprisoned + 200 = TOG.1190 # Rebels kill character + } +} + +#character +on_failed_assassination = { + random_events = { + 85 = 156 # No harm done + 10 = 157 # Wounded + 5 = 158 # Maimed + } +} + +#character +on_failed_assassination_disc = { + random_events = { + 85 = 159 # No harm done + 10 = 160 # Wounded + 5 = 161 # Maimed + } +} + +#character +on_assassination = { + events = { + 162 + } +} + +#character +on_assassination_disc = { + events = { + 163 + } +} + +# character +on_birth = { + events = { + 300 # A Bastard is born + 312 # The child of a consort is born + 318 # A Bastard is born, but is not recognized as such by the mother's spouse (cuckoo!) + 335 # Hidden utility event for all children born + TOG.3206 # Child Perceived to be Demon Born + 706 # Full House achievement + 707 # Keeping it in the Family achievement + CM.10011 # Chronicle entry + HL.1000 # Child born with Wolf's Blood + HL.1700 # Wolf's Blood inheritance + TOG.6001 # Children gains Saoshyant Descendant trait from Saoshyant + RIP.11064 # Babies born in seclusion get seclusion modifier + MNM.7508 # DW Demon child + } + random_events = { + 200 = 0 + 100000 = MNM.1206 # A Child is born, Hermetic Scrying vision fulfilled + 50 = RIP.29600 # Firstborn/first son reaction + 5 = RoI.10000 # Reincarnation? + 1 = RIP.29805 # Reincarnation for non west_african + } +} + +# character +on_adulthood = { + events = { + HL.1040 # Wolf Child reaches maturity + ZE.13998 # Clear adolescence trait event chain flags on adulthood + + # Childhood Traits mature if they haven't yet + ZE.13000 # Haughty + ZE.13010 # Affectionate + ZE.13020 # Timid + ZE.13030 # Rowdy + ZE.13040 # Willful + ZE.13050 # Brooding + ZE.13060 # Indolent + ZE.13070 # Playful + ZE.13080 # Conscientious + ZE.13090 # Fussy + ZE.13100 # Curious + ZE.13110 # Idolizer + + # Resolve education and add trait + ZE.14100 # Diplomacy + ZE.14200 # Martial + ZE.14300 # Stewardship + ZE.14400 # Intrigue + ZE.14500 # Learning + ZE.14700 # Lack of focus + + SoA.3020 # Demon child's true nature asserts itself + + MNM.1269 # Horoscoped child gets new modifiers + } +} + +on_adolescence = { # Checked on 12th birthday. + events = { + ZE.12998 # Clear childhood event chain flags + MNM.3429 # Educator/guardian/parent with secret religion get a chance to convince child to convert secretly + } +} + +# baby scope +on_post_birth = { + events = { + 313 # Possible complications for the mother and child + 314 # Possible complications for the mother after stillbirth + } +} + +#character (at 2 months) +on_pregnancy = { + events = { + 400 # Pregnancy in matrimony + 401 # Pregnancy out of wedlock + 402 # Pregnancy in matrimony, with another father! + 410 # Pregnancy as consort + 412 # Pregnancy as consort, with another father! + } +} + +#character +on_crusade_creation = { + events = { + 200 # Christian Crusade against Muslims + 201 # Christian Crusade against Pagans + 321 # Christian Crusade against Heretics + 320 # Jihad against Christians + 322 # Jihad against Pagans + 323 # Jihad against Heretics + 324 # Pagan Holy War against Christians + 325 # Pagan Holy War against Muslims + 326 # Pagan Holy War against other Pagans + 327 # Zoroastrian Great Holy War + 328 # Jewish Great Holy War + CM.10015 # Chronicle entry + } +} + +# Sent to employers of both spouses - ROOT is employer. FROM is employers "employee". new_character is the other spouse. +on_marriage = { + events = { + 500 # Royal Marriage Aid Duty + 501 # Zoroastrian "Xwedodah" marriage + 502 # Messalian close kin marriage + 708 # Marriage Game achievement + CM.10023 # Chronicle entry + CM.10036 # Chronicle entry - primary heir + ZE.1015 # Disobedient daughter is unhappy with marriage + GBC.199 # Game book event, falling in love with someone else at marriage feast + } + random_events = { + 10 = ZE.1010 # Daughter becomes disobedient - undesired marriage + 2000 = 0 # No random event + } +} + +#character. Triggers when someone gets imprisoned for any reason. - ROOT is prisoner, FROM is imprisoner +on_become_imprisoned_any_reason = { + events = { + HL.190 + ZE.14600 # Being thrown in prison affects education negatively + RIP.12097 # Being thrown in prison removes seclusion modifier + } +} + +#character. Triggers if someone tries to imprison someone landed and fails. This leads to an automatic war declaration(independece) +on_avoided_imprison_started_war = { + events = { + 150 # Avoided imprison, declared independece + } +} + +#character. Triggers if someone becomes imprisoned by the diplo-action - ROOT is prisoner, FROM is imprisoner +on_became_imprisoned = { + events = { + 151 # Was imprisoned + CM.10024 # Chronicle entry + } +} + +#character. Triggers if someone tries to imprison someone unlanded and fails. Character is exiled to another country +on_avoided_imprison_fled_country = { + events = { + 152 + } +} + +#character. Triggers if someone is released from prison - ROOT is prisoner, FROM is imprisoner +on_released_from_prison = { + events = { + 153 + CM.10025 # Chronicle entry + CM.15002 # Free anyone thrown into the desert + ZE.12219 # Released from dungeon must choose whether to leave pet rat behind + } +} + +#character. Triggers if someone is executed, character not dead yet +on_executed = { + events = { + 154 + } +} + +#character. Triggers if someone is exiled +on_exiled = { + events = { + 155 + } +} + +#character. Fires every month for characters who are preparing an invasion. +on_prepared_invasion_monthly = { + random_events = { + 15 = 0 + 15 = 62322 # A small force flocks to your banner + 15 = 62320 # A significant force flocks to your banner + 2 = 62321 # A Hero joins your cause with his retinue + } +} + +#character. Fires if a prepared invasion becomes invalid. +on_prepared_invasion_aborts = { + events = { + 62300 # Handle abort + } +} + +#character. Fires if a prepared invasion expires. +on_prepared_invasion_expires = { + events = { + 62310 # Handle expiration + } +} + +on_death = { + events = { +# 8250 + 650 + 24500 + 24502 + 70041 + 88291 + SoA.5306 + 705 + CM.1068 # Carloman dies + CM.1069 # Charlemagne dies + CM.10010 # Chronicle entry + CM.6185 # Dies of other causes while assassination is in progress - clear flags + WoL.6335 # Owner of Necronomicon dies... + 722 # Until Death Do Us Part achievement check + HL.8001 # Sky Burial + HL.12 + HL.4998 + ZE.1030 # Daughter becomes disobedient - killed lover + ZE.1040 # Daughter becomes disobedient - killed friend + 731 #Achievement Eternity Denied + 732 #Achievement Papal Mache + 734 #Achievement Aptly Named + 532 #Clears regents if heir has one already + RIP.4400 #Nicknames for executions + GR.10 + MNM.6844 #Removes mark of death block for Assassins GM + MNM.6991 #Clears any quests targeting this character + MNM.6012 #Transfers assassins debt to heir + MNM.1415 #Announces hermetics apprentice death + SoA.3091 # The Death of the Demon Child? + RoI.248 # clearing inventory of cursed diamond + 740 # Achievement Unwelcome Visitors + + # Clean up traits as we don't keep zoroastrian pets in death + ZP.5 + } + random_events = { + 1 = RIP.29800 #reincarnation investigation + 10 = 24505 + 10 = 24510 + 25 = RIP.29000 #Lovers/rivals/friends react + 100 = MNM.1207 # Hermetic Scrying vision fulfilled + 100 = 0 + } +} + +on_merc_rampage = { + events = { + 38050 + } +} + +on_merc_leave = { + events = { + 38051 + } +} + +on_merc_turn_coat_from = { + events = { + 38052 + } +} + +on_merc_turn_coat_to = { + events = { + 38053 + } +} + +on_holy_order_leave = { + events = { + 38054 + } +} + +#Note: Unsynchronised, this message should not execute an event which changes the gamestate to prevent out of sync +on_letter_event_message = { + events = { + 1 + } +} + +#Note: Unsynchronised, this message should not execute an event which changes the gamestate to prevent out of sync +on_character_event_message = { + events = { + 2 + } +} + +on_loot_settlement = { + random_events = { + 5 = TOG.3300 + 5 = TOG.3301 + 5 = TOG.3302 + 5 = TOG.3303 + 35 = TOG.3320 + 250 = 0 + } + events = { + TOG.3321 + TOG.3322 + TOG.3323 + RIP.11720 + MNM.9899 # Chance to steal artifact from capital holdings + } +} + +# When someone is looting currently in a province +# ROOT = Looter, FROM = Province +on_loot_province = { + random_events = { + 1 = HL.8 + 49 = 0 + } +} + +########################### +# DIPLOMATIC NOTIFICATIONS +########################### + +DEMAND_RELIGIOUS_CONVERSION_INTERACTION_ACCEPT_EVENT = { + events = { + 202 + } +} + +DEMAND_RELIGIOUS_CONVERSION_INTERACTION_DECLINE_EVENT = { + events = { + 203 + } +} + +REVOKE_TITLE_INTERACTION_ACCEPT_EVENT = { + events = { + 204 + } +} + +REVOKE_TITLE_INTERACTION_DECLINE_EVENT = { + events = { + 205 + } +} + +# FROM is character receiving peace proposal. ROOT is character sending peace proposal. +OFFER_PEACE_INTERACTION_ACCEPT_EVENT = { + events = { + 206 + CM.1407 # Charlemagne in Spain + } +} + +OFFER_PEACE_INTERACTION_DECLINE_EVENT = { + events = { + 207 + } +} + +SEND_GIFT_INTERACTION_ACCEPT_EVENT = { + events = { + 208 + } +} + +SEND_GIFT_INTERACTION_DECLINE_EVENT = { + events = { + 209 + } +} + +ASK_FOR_MONEY_INTERACTION_ACCEPT_EVENT = { + events = { + SoA.3100 + } +} + +ASK_FOR_MONEY_INTERACTION_DECLINE_EVENT = { + events = { + SoA.3101 + } +} + +ASK_FOR_CLAIM_INTERACTION_ACCEPT_EVENT = { + events = { + SoA.3104 + } +} + +ASK_FOR_CLAIM_INTERACTION_DECLINE_EVENT = { + events = { + SoA.3105 + } +} + +NOMINATE_BISHOP_TO_POPE_INTERACTION_ACCEPT_EVENT = { + events = { + SoA.3102 + } +} + +NOMINATE_BISHOP_TO_POPE_INTERACTION_DECLINE_EVENT = { + events = { + SoA.3103 + } +} + + +OFFER_VASSALIZATION_INTERACTION_ACCEPT_EVENT = { + events = { + 210 + } +} + +OFFER_VASSALIZATION_INTERACTION_DECLINE_EVENT = { + events = { + 211 + } +} + +ARRANGE_BETROTHAL_INTERACTION_ACCEPT_EVENT = { + events = { + 212 + } +} + +ARRANGE_BETROTHAL_INTERACTION_DECLINE_EVENT = { + events = { + 213 + } +} + +ARRANGE_SUCC_BETROTHAL_INTERACTION_ACCEPT_EVENT = { + events = { + 330 + } +} + +ARRANGE_SUCC_BETROTHAL_INTERACTION_DECLINE_EVENT = { + events = { + 331 + } +} + +OFFER_SUCCESSION_MARRIGE_INTERACTION_ACCEPT_EVENT = { + events = { + 214 + } +} + +OFFER_SUCCESSION_MARRIGE_INTERACTION_DECLINE_EVENT = { + events = { + 215 + } +} + +OFFER_MARRIGE_INTERACTION_ACCEPT_EVENT = { + events = { + 216 + } +} + +OFFER_MARRIGE_INTERACTION_DECLINE_EVENT = { + events = { + 217 + } +} + +RANSOM_CHARACTER_INTERACTION_ACCEPT_EVENT = { + events = { + 218 + } +} + +RANSOM_CHARACTER_INTERACTION_DECLINE_EVENT = { + events = { + 219 + } +} + +EDUCATE_CHARACTER_INTERACTION_ACCEPT_EVENT = { + events = { + 220 + } +} + +EDUCATE_CHARACTER_INTERACTION_DECLINE_EVENT = { + events = { + 221 + } +} + +ABANDON_AMBITION_INTERACTION_ACCEPT_EVENT = { + events = { + 222 + } +} + +ABANDON_AMBITION_INTERACTION_DECLINE_EVENT = { + events = { + 223 + } +} + +STOP_BACKING_AMBITION_INTERACTION_ACCEPT_EVENT = { + events = { + 224 + } +} + +STOP_BACKING_AMBITION_INTERACTION_DECLINE_EVENT = { + events = { + 225 + } +} + +JOIN_AMBITION_INTERACTION_ACCEPT_EVENT = { + events = { + 226 + } +} + +JOIN_AMBITION_INTERACTION_DECLINE_EVENT = { + events = { + 227 + } +} + +GRANT_LANDED_TITLE_INTERACTION_ACCEPT_EVENT = { + events = { + MNM.1217 + 228 + } +} + +GRANT_LANDED_TITLE_INTERACTION_DECLINE_EVENT = { + events = { +# 229 + } +} + +APPOINT_TO_OFFICE_INTERACTION_ACCEPT_EVENT = { + events = { + 230 + } +} + +APPOINT_TO_OFFICE_INTERACTION_DECLINE_EVENT = { + events = { + 231 + } +} + +ASK_FOR_INVASION_INTERACTION_ACCEPT_EVENT = { + events = { + 232 + } +} + +ASK_FOR_INVASION_INTERACTION_DECLINE_EVENT = { + events = { + 233 + } +} + +# +ASK_FOR_DIVORCE_INTERACTION_ACCEPT_EVENT = { + events = { + 234 + } +} + +ASK_FOR_DIVORCE_INTERACTION_DECLINE_EVENT = { + events = { + 235 + } +} + +ASK_FOR_EXCOMMUNICATION_INTERACTION_ACCEPT_EVENT = { + events = { + 236 + } +} + +ASK_FOR_EXCOMMUNICATION_INTERACTION_DECLINE_EVENT = { + events = { + 237 + } +} + +CALL_ALLY_INTERACTION_ACCEPT_EVENT = { + events = { + 238 # Ally accepts + 41000 # Vassal accepts + CM.10014 + } +} + +CALL_ALLY_INTERACTION_DECLINE_EVENT = { + events = { + 239 # Ally + 41001 # Vassal + } +} + +DECLARE_WAR_INTERACTION_ACCEPT_EVENT = { + events = { + 240 + 241 + } +} + +RETRACT_VASSAL_INTERACTION_ACCEPT_EVENT = { + events = { + 274 + } +} + +RETRACT_VASSAL_INTERACTION_DECLINE_EVENT = { + events = { + 275 + } +} + +INVITE_TO_COURT_INTERACTION_ACCEPT_EVENT = { + events = { + 280 + } +} + +INVITE_TO_COURT_INTERACTION_DECLINE_EVENT = { + events = { + 281 + } +} + +ASK_FOR_VASSALIZATION_INTERACTION_ACCEPT_EVENT = { + events = { + 282 + } +} + +ASK_FOR_VASSALIZATION_INTERACTION_DECLINE_EVENT = { + events = { + 283 + } +} + +ASK_TO_LIFT_EXCOMMUNICATION_INTERACTION_ACCEPT_EVENT = { + events = { + 284 + } +} + +ASK_TO_LIFT_EXCOMMUNICATION_INTERACTION_DECLINE_EVENT = { + events = { + 285 + } +} + +ASK_TO_RANSOM_CHARACTER_INTERACTION_ACCEPT_EVENT = { + events = { + 286 + } +} + +ASK_TO_RANSOM_CHARACTER_INTERACTION_DECLINE_EVENT = { + events = { + 287 + } +} + +SETTLE_ADVENTURER_INTERACTION_ACCEPT_EVENT = { + events = { + 288 + 725 + } +} + +SETTLE_ADVENTURER_INTERACTION_DECLINE_EVENT = { + events = { + 289 + } +} + +ASK_TO_JOIN_WAR_INTERACTION_ACCEPT_EVENT = { + events = { + 293 + CM.10013 + } +} + +ASK_TO_JOIN_WAR_INTERACTION_DECLINE_EVENT = { + events = { + 294 + } +} + +ASK_TO_EMBARGO_INTERACTION_ACCEPT_EVENT = { + events = { + 295 + } +} + +ASK_TO_EMBARGO_INTERACTION_DECLINE_EVENT = { + events = { + 296 + } +} + +MAKE_CONSORT_INTERACTION_ACCEPT_EVENT = { + events = { + 297 + } +} + +MAKE_CONSORT_INTERACTION_DECLINE_EVENT = { + events = { + 298 + } +} + +ABSORB_CLAN_INTERACTION_ACCEPT_EVENT = { + events = { + 503 + } +} + +ABSORB_CLAN_INTERACTION_DECLINE_EVENT = { + events = { + 504 + } +} + +SPLIT_CLAN_INTERACTION_ACCEPT_EVENT = { + events = { + 509 + } +} + +SPLIT_CLAN_INTERACTION_DECLINE_EVENT = { + events = { + 510 + } +} + +FORM_BLOOD_OATH_INTERACTION_ACCEPT_EVENT = { + events = { + 505 + } +} + +FORM_BLOOD_OATH_INTERACTION_DECLINE_EVENT = { + events = { + 506 + } +} + +SETTLE_FEUD_INTERACTION_ACCEPT_EVENT = { + events = { + 507 + } +} + +SETTLE_FEUD_INTERACTION_DECLINE_EVENT = { + events = { + 508 + } +} + +FORM_ALLIANCE_INTERACTION_ACCEPT_EVENT = { + events = { + diploresponse.1 + } +} + +FORM_ALLIANCE_INTERACTION_DECLINE_EVENT = { + events = { + diploresponse.2 + } +} + +DISSOLVE_ALLIANCE_INTERACTION_ACCEPT_EVENT = { + events = { + } +} + +DISSOLVE_ALLIANCE_INTERACTION_DECLINE_EVENT = { + events = { + } +} + +BUY_FAVOR_INTERACTION_ACCEPT_EVENT = { + events = { + 520 + } +} +BUY_FAVOR_INTERACTION_DECLINE_EVENT = { + events = { + 521 + } +} + +REQUEST_SUPPORT_INTERACTION_ACCEPT_EVENT = { + events = { + 522 + } +} +REQUEST_SUPPORT_INTERACTION_DECLINE_EVENT = { + events = { + 523 + } +} + +FORM_NON_AGGRESSION_PACT_INTERACTION_ACCEPT_EVENT = { + events = { + 524 + } +} +FORM_NON_AGGRESSION_PACT_INTERACTION_DECLINE_EVENT = { + events = { + 525 + } +} + +ASK_COUNCIL_POSITION_INTERACTION_ACCEPT_EVENT = { + events = { + 526 + } +} +ASK_COUNCIL_POSITION_INTERACTION_DECLINE_EVENT = { + events = { + 527 + } +} + +ASK_REALM_PEACE_INTERACTION_ACCEPT_EVENT = { + events = { + 528 + } +} +ASK_REALM_PEACE_INTERACTION_DECLINE_EVENT = { + events = { + 529 + } +} + +FORCE_JOIN_FACTION_INTERACTION_ACCEPT_EVENT = { + events = { + 530 + } +} +FORCE_JOIN_FACTION_INTERACTION_DECLINE_EVENT = { + events = { + 531 + } +} + +ASK_TO_JOIN_AMBITION_INTERACTION_ACCEPT_EVENT = { + events = { + 535 + } +} +ASK_TO_JOIN_AMBITION_INTERACTION_DECLINE_EVENT = { + events = { + 536 + } +} +OFFER_CONSORT_INTERACTION_ACCEPT_EVENT = { + events = { + 537 + } +} +GIVE_ARTIFACT_INTERACTION_ACCEPT_EVENT = { + events = { + 538 + } +} + +# never triggered, but reserved for CB use +on_warleader_death = { + events = { + 251 + 252 + } +} + +# Respond to a proposed change of law +on_approve_law = { + events = { + 290 + 675 + } +} + +# Respond to a proposed change of law +councilor_on_approve_law = { + events = { + 750 + } +} + +# Respond to a proposed change of de jure law +on_approve_de_jure_law = { + events = { + 291 + 292 + 676 + } +} + + +# When rebels appear +on_rebel_revolt = { + events = { + 600 # Only valid without "The Old Gods" DLC + TOG.1030 # Heretic rebels reinforced + TOG.1020 # Heretic rebels rise up + TOG.1050 # Nationalist rebels reinforced + TOG.1040 # Nationalist rebels rise up + TOG.1070 # Religious rebels reinforced + TOG.1060 # Religious rebels rise up + TOG.1010 # Peasant rebels reinforced + TOG.1000 # Peasant rebels rise up + HL.2010 # Minor Clan rebels reinforced + HL.2000 # Minor Clan rebels rise up + } +} + +# When province defects to rebels +on_defect_to_rebels = { + events = { + 610 # Only valid without "The Old Gods" DLC + } +} + +# When rebels disperse +on_defect_from_rebels = { + events = { + 615 # Only valid without "The Old Gods" DLC + } +} + +# When a mission succeeds +on_crusade_success = { + events = { + 620 + CM.10016 # Chronicle entry + } +} + +# When a mission fails +on_crusade_failure = { + events = { + 621 + CM.10017 # Chronicle entry + } +} + +# When a mission invalidates +on_crusade_invalid = { + events = { + 534 + } +} + +# When a pagan ruler forces a prisoner to be his consort +on_forced_consort = { + events = { + 660 + } +} + +# When a pagan religion is reformed +on_reform_religion = { + events = { + 670 + } +} + +# When the religion changes in a county, ROOT is province +on_county_religion_change = { + events = { + SoA.4121 + MNM.6206 #Convert province assassin quest + } +} + +# When a character accepts religious conversion (the diplomatic action) +# FROMFROM is the demander. FROM is the vassal. ROOT is the character. Fires for the vassal and each of his courtiers and vassals. +on_vassal_accepts_religious_conversion = { + events = { + 39700 # Hidden event actually changing the religion + } +} + +# A heresy has become the new norm, replacing the old orthodoxy +on_heresy_takeover = { + events = { + SoA.4200 + } +} + +# Fires for a newly elected Doge. FROM is the previous (dying or abdicating) doge. +on_become_doge = { + events = { + 701 + } +} + +on_elective_gavelkind_succession = { + events = { + 63103 + } +} + +# Fires when a navy moves into a port. Starts in unit scope, FROM is the owner. +on_entering_port = { + events = { + 700 + } +} + +# Fires when a cardinal is elected. SoA only! FROM is the Religious head. +on_rel_elector_chosen = { +} + +# Fires when a Pope is elected. SoA only! FROM is the previous Religious Head +on_rel_head_chosen = { + events = { + 704 + } +} + +# ROOT is the looter, FROM is the settlement title +on_settlement_looted = { +} + +# ROOT is the navy's owner, FROM is the province +on_navy_returns_with_loot = { + events = { + TOG.3404 #Prosperity gain from loot + } +} + +# ROOT is the creating character, FROM is the title +on_create_title = { + events = { + CM.10021 + CM.1501 + 739 # Got Land achievement + } +} + +# ROOT is the character, FROM is the title, FROMFROM is the old holder +on_new_holder = { + events = { + HL.4999 #Preserve Nomad Culture + HL.4996 #Clear Nomad Agitation when conquered by a non-nomad + HL.4812 #Clear nomadic pillage holding modifiers upon succession/conquest + HL.4811 #Clear the 'Rampaging Nomads'-Modifier when conquered by a non-nomad + HL.140 #Landless nomad gains a title. + 60504 #Landless status clean-up for e_mongol_empire. + ZE.7000 #Check for Gain Any Title ambition. + ZE.6010 #ambition event for unlanded son. + RIP.12098 #check if we need to remove in_seclusion. + RIP.11715 #Removes crown focus on new holder + 533 + MNM.6990 #Makes sure d_hashshashin owner is always shiite & member of the_assassins + 738 # Black Pope achievement + MNM.1215 # The Hermetics Scrying Power result (for new holder) + MNM.1216 # The Hermetics Scrying Power result (for old holder) + + # Clean up zoroastrian pets on province modifiers in case capital lost + ZP.6 + } +} + +# ROOT is the character, FROM is the title, FROMFROM is the old holder +on_new_holder_inheritance = { + events = { + HL.4812 #Clear nomadic pillage holding modifiers upon succession/conquest + CM.10039 #Chronicle entry + HL.140 #Landless nomad gains a title. + 60504 #Landless status clean-up for e_mongol_empire. + RIP.11715 #Removes crown focus on new holder + 533 + MNM.6990 #Makes sure d_hashshashin owner is always shiite & member of the_assassins + 738 # Black Pope achievement + MNM.1215 # The Hermetics Scrying Power result (for new holder) + MNM.1216 # The Hermetics Scrying Power result (for old holder) + } +} + +# ROOT is the character, FROM is the title, FROMFROM is the old holder +on_new_holder_usurpation = { + events = { + HL.4999 #Preserve Nomad Culture + HL.4996 #Clear Nomad Agitation when conquered by a non-nomad + HL.4812 #Clear nomadic pillage holding modifiers upon succession/conquest + HL.4811 #Clear the 'Rampaging Nomads'-Modifier when conquered by a non-nomad + HL.140 #Landless nomad gains a title. + CM.10022 + 60504 #Landless status clean-up for e_mongol_empire. + RIP.11715 #Removes crown focus on new holder + 533 + MNM.6990 #Makes sure d_hashshashin owner is always shiite & member of the_assassins + 738 # Black Pope achievement + MNM.1215 # The Hermetics Scrying Power result (for new holder) + MNM.1216 # The Hermetics Scrying Power result (for old holder) +# MNM.6230 # Clearing covert province quest if new owner + + } +} + +on_unlanded = { + events = { + HL.130 #Landless nomad clean-up. + } +} + +# Fires at the end of each year if the chronicle is empty +on_create_chronicle_if_empty = { + random_events = { + 100 = CM.10500 + 100 = CM.10502 + 100 = CM.10504 + 100 = CM.10506 + 100 = CM.10507 + 100 = CM.10509 + 100 = CM.10511 + 100 = CM.10513 + 100 = CM.10515 + 100 = CM.10517 + 100 = CM.10519 + 100 = CM.10521 + 100 = CM.10523 + 100 = CM.10525 + 100 = CM.10527 + 100 = CM.10529 + } +} + +# Fires when the player changes character +# FROM is the old character, ROOT is the new holder +on_chronicle_owner_change = { + events = { + CM.10001 + } +} + +# Fires when the game starts (not from saves) +on_chronicle_start = { + events = { + CM.10000 + } +} + +# Character converts religion, for whatever reason. ROOT is the character after conversion and the FROM scope has the old religion. +on_character_convert_religion = { + events = { + CM.10026 + 671 #set rival conversion flag if eligible + 63105 + TOG.7101 #Removes main deity for defensive pagans + + # If switched religion then trait is gone and we need to clean up modifiers for zoroastrian pets + ZP.6 + } +} + +# Character converts secret religion, for whatever reason. ROOT is the character after conversion and the FROM scope has the old religion. Note that this fires even when the secret religion is reset as a result of the character converting to it, or if the character didn't previously have a secret religion +on_character_convert_secret_religion = { + events = { + } +} + +# Character converts culture, for whatever reason. ROOT is the character after conversion and the FROM scope has the old culture. +on_character_convert_culture = { + events = { + CM.10027 + } +} + +on_acquire_nickname = { + events = { + CM.10028 + } +} + +# Fires for vassals that can become independent as a result of liege being over vassal limit +on_over_vassal_limit_succession = { + events = { + 63100 + } +} + +# From = Attacker, Root = Defender +on_war_started = { + events = { + CM.10012 + } +} + +# From = Attacker, Root = Defender +on_war_ended_victory = { + events = { + CM.10038 + 729 + } +} + +# From = Attacker, Root = Defender +on_war_ended_whitepeace = { + events = { + CM.10040 + } +} + +# From = Attacker, Root = Defender +on_war_ended_defeat = { + events = { + CM.10041 + 730 + } +} + +# From = Attacker, Root = Defender +on_war_ended_invalid = { + events = { + } +} + +# From = Divorcer, Root = Spouse, New = Religious head if applicable +on_divorce = { + events = { + 717 # Achievement + CM.10037 + } +} + +# ROOT = Builder, FROM = Title +on_settlement_construction_start = { + events = { + } +} + +# ROOT = Builder, FROM = Province +on_trade_post_construction_start = { + events = { + } +} + +# ROOT = Builder, FROM = Province +on_fort_construction_start = { + events = { + } +} + +# ROOT = Builder, FROM = Province +on_hospital_construction_start = { + events = { + } +} + +# ROOT = Builder, FROM = Title +on_settlement_construction_completed = { + events = { + 44482 + HL.4 + MNM.4024 + } +} + +# ROOT = Builder, FROM = Province +on_trade_post_construction_completed = { + events = { + } +} + +# ROOT = Builder, FROM = Province +on_fort_construction_completed = { + events = { + } +} + +# ROOT = Builder, FROM = Province +on_hospital_construction_completed = { + events = { + 733 # Achievement Hospitable + } +} + +# ROOT = Builder, FROM = The Holding Title +on_holding_building_start = { + events = { + RIP.30100 + } +} + +# ROOT = Starter, FROM = Target +on_feud_started = { + events = { + HL.6 + } +} + +# ROOT = Ender, FROM = Target +on_feud_ended = { +} + +on_blood_brother_death = { + events = { + HL.10 + } +} + +# ROOT = AI character +on_ai_end_raid = { + events = { + HL.191 + } +} + +on_mercenary_hired = { + events = { + ZE.10038 + } +} + +on_mercenary_dismissed = { + events = { + ZE.10039 + } +} +# ROOT = target, FROM = starter, FROMFROM = chosen replacement +on_mercenary_captain_replacement = { + events = { + ZE.11040 + } +} + +on_enforce_peace = { +} + +on_enforce_peace_start = { +} + +on_enforce_peace_six_vassals = { + events = { + 727 + } +} + +on_law_vote_passed = { + events = { + 726 + } +} + +on_law_vote_failed = { +} + +on_player_mercenary_income = { + events = { + 728 + } +} + +on_outbreak = { + events = { + RIP.10000 + RIP.4000 + } +} + +on_province_major_modifier = { + events = { + RIP.10030 + } +} + +# Fires every two years for characters who are members of any society +on_society_bi_yearly_pulse = { + events = { + MNM.6199 # Assassins quest tombola + MNM.7200 # Devil Worshipers quest tombola + MNM.4000 # Monastic order quest tombola + MNM.3000 # Secret religious society quest tombola + MNM.1000 # Hermetics quest tombola + MNM.7000 # Devil Worshipers: soul corruption chance + } + + random_events = { + 50 = MNM.10020 # Criminal societies: stressed + 100 = MNM.20000 # Devil Worshippers: Orgy + 100 = MNM.20010 # Devil Worshippers: Night on the Town + 75 = MNM.20030 # Devil Worshippers: Grand Summoning + 100 = MNM.20040 # Devil Worshippers: Impersonating Priests + 100 = MNM.20060 # Devil Worshippers: Infernal Choir (only with Rivals) + 75 = MNM.7854 # Devil Worshipers: Demon Hunters Attack + 100 = MNM.6899 # Assassins: friend or foe? + 100 = MNM.6910 # Assassins: assisting a murder plot + 50 = MNM.6920 # Assassins: blackmailing superior + 100 = MNM.3260 # Monastic Orders: Advising a Poet + 100 = MNM.4200 # Monastic Orders: Learning about Roses + 100 = MNM.4210 # Monastic Orders: Fellow member drowsing off + 100 = MNM.4435 # Monastic Orders: Friendship & Love + 100 = MNM.4217 # Monastic Order: Burn heretical books + 50 = MNM.4610 # Monastic Orders: Monastery has Artifact + 100 = MNM.3920 # Secret Religious societies: Worried member + 100 = MNM.3930 # Secret Religious societies: Fellow society member goes for a round + 100 = MNM.3505 # Secret Religious societies: Get help from another member with problematic trait + 100 = MNM.3500 # Secret Religious societies: I am so stressed + 50 = MNM.1620 # Hermetic Society: Divine Summoning + 50 = MNM.1460 # Hermetic Society: Gathering of the Minds + 50 = MNM.5110 # Hermetic Society: Warding off Evil + 50 = MNM.10040 # Every society: Gain rival + 50 = MNM.10043 # Every society: Gain friend (or possibly lover...?) + 150 = 0 # Nothing + } +} + +# A character has switched their society interest +# Root = Character +# From = Society +on_character_switch_society_interest = { + events = { + MNM.10010 + MNM.10024 # Backup for refounding societies + } +} + +# A character ranks up in their society, or becomes grandmaster +# Root = Character +# From = Society +on_character_society_rank_up = { + events = { + 735 # Dark Lord achievement + 736 # Birthright achievement + 737 # Jihad Sultan achievement + MNM.1750 # Grandmaster notification event + } +} + +# A character ranks down in their society +# Root = Character +# From = Society +on_character_society_rank_down = { + events = { + } +} + +# A character joins a society. The has_game_started trigger can be useful to avoid firing events from auto-assignment of characters at game start +# Root = Character +# From = Society +on_character_join_society = { + events = { + } +} + +# A character leaves or is forced to leave a society +# Root = Character +# From = Society +on_character_leave_society = { + events = { + MNM.10018 #clears on-going event flags and effects + } +} +# A character asks to join a society. Only works on player +# Root = Character +# From = Society +on_character_ask_to_join_society = { + events = { + MNM.4450 #Join Monastic Order + MNM.100 #Join Hermetics + MNM.10024 # Backup for refounding societies + } +} + +# A character is removed from society for failing the potential trigger. +# Root = Character +# From = Society +on_character_kicked_from_society = { + events = { + MNM.10021 + } +} + +# A character stops showing interest in a society for failing the CanJoin trigger. +# Root = Character +# From = Society +on_character_stop_showing_interest = { + events = { + MNM.10019 + } +} + +# Someone joins a society that has no members +# Root = Character +# From = Society +on_society_created = { + events = { + } +} + +# The last member of a society leaves the society and is not replaced +# Root = Character +# From = Society +on_society_destroyed = { + events = { + } +} + +# A character selects a focus +# Root = Character +on_focus_selected = { + events = { + } +} + +# A character succeeds in a quest. This happens just before the quest disappears, so you can access the quest itself. Only invoked when a quest is cleared via script. E.G., does not happen on death +# Root = Character +on_quest_success = { + events = { + MNM.6666 + } +} + +# A character fails a quest. This happens just before the quest disappears, so you can access the quest itself. Only invoked when a quest is cleared via script. E.G., does not happen on death +# Root = Character +on_quest_failure = { + events = { + MNM.6667 + } +} + +# An indestructible society failed to find a new leader from existing characters +# Root = Society +# From = Previous leader +on_society_failed_to_find_new_leader = { + events = { + } +} + +on_artifact_inheritance = { + events = { + MNM.5107 # for inheriting ingredients + } +} \ No newline at end of file diff --git a/LCDA/common/province_setup/00_province_setup.txt b/LCDA/common/province_setup/00_province_setup.txt new file mode 100644 index 0000000..bf7d08c --- /dev/null +++ b/LCDA/common/province_setup/00_province_setup.txt @@ -0,0 +1,7097 @@ +1 = { + title=c_vestisland + max_settlements=2 + terrain=arctic +} +2 = { + title=c_austisland + max_settlements=2 + terrain=mountain +} +3 = { + title=c_tyrconnell + max_settlements=3 + terrain=hills +} +4 = { + title=c_tyrone + max_settlements=4 + terrain=hills +} +5 = { + title=c_ulster + max_settlements=4 + terrain=hills +} +6 = { + title=c_blekinge + max_settlements=3 + terrain=plains +} +7 = { + title=c_oriel + max_settlements=3 + terrain=plains +} +8 = { + title=c_breifne + max_settlements=3 + terrain=plains +} +9 = { + title=c_connacht + max_settlements=4 + terrain=hills +} +10 = { + title=c_kildare + max_settlements=4 + terrain=plains +} +11 = { + title=c_dublin + max_settlements=5 + terrain=plains +} +12 = { + title=c_ossory + max_settlements=3 + terrain=plains +} +13 = { + title=c_thomond + max_settlements=4 + terrain=forest +} +14 = { + title=c_desmond + max_settlements=4 + terrain=farmlands +} +15 = { + title=c_ormond + max_settlements=4 + terrain=plains +} +16 = { + title=c_leinster + max_settlements=4 + terrain=farmlands +} +17 = { + title=c_hereford + max_settlements=3 + terrain=plains +} +18 = { + title=c_dyfed + max_settlements=4 + terrain=hills +} +19 = { + title=c_glamorgan + max_settlements=3 + terrain=hills +} +20 = { + title=c_gwent + max_settlements=3 + terrain=hills +} +21 = { + title=c_gloucester + max_settlements=4 + terrain=plains +} +22 = { + title=c_oxford + max_settlements=5 + terrain=plains +} +23 = { + title=c_wiltshire + max_settlements=4 + terrain=plains +} +24 = { + title=c_surrey + max_settlements=4 + terrain=plains +} +25 = { + title=c_sussex + max_settlements=4 + terrain=plains +} +26 = { + title=c_winchester + max_settlements=5 + terrain=plains +} +27 = { + title=c_dorset + max_settlements=5 + terrain=farmlands +} +28 = { + title=c_somerset + max_settlements=5 + terrain=plains +} +29 = { + title=c_devon + max_settlements=5 + terrain=farmlands +} +30 = { + title=c_worcester + max_settlements=4 + terrain=plains +} +31 = { + title=c_cornwall + max_settlements=4 + terrain=plains +} +32 = { + title=c_middlesex + max_settlements=6 + terrain=plains +} +33 = { + title=c_faereyar + max_settlements=2 + terrain=mountain +} +34 = { + title=c_shetland + max_settlements=2 + terrain=hills +} +35 = { + title=c_innse_gall + max_settlements=3 + terrain=hills +} +36 = { + title=c_orkney + max_settlements=3 + terrain=hills +} +37 = { + title=c_caithness + max_settlements=3 + terrain=hills +} +38 = { + title=c_teviotdale + max_settlements=4 + terrain=hills +} +39 = { + title=c_ross + max_settlements=4 + terrain=hills +} +40 = { + title=c_moray + max_settlements=4 + terrain=hills +} +41 = { + title=c_buchan + max_settlements=4 + terrain=hills +} +42 = { + title=c_strathearn + max_settlements=4 + terrain=plains +} +43 = { + title=c_gowrie + max_settlements=5 + terrain=hills +} +44 = { + title=c_atholl + max_settlements=3 + terrain=hills +} +45 = { + title=c_argyll + max_settlements=3 + terrain=hills +} +46 = { + title=c_fife + max_settlements=4 + terrain=plains +} +47 = { + title=c_clydesdale + max_settlements=4 + terrain=plains +} +48 = { + title=c_lothian + max_settlements=4 + terrain=plains +} +49 = { + title=c_carrick + max_settlements=3 + terrain=hills +} +50 = { + title=c_galloway + max_settlements=3 + terrain=hills +} +51 = { + title=c_dunbar + max_settlements=4 + terrain=plains +} +52 = { + title=c_northumberland + max_settlements=4 + terrain=plains +} +53 = { + title=c_cumberland + max_settlements=3 + terrain=plains +} +54 = { + title=c_isle_of_man + max_settlements=3 + terrain=hills +} +55 = { + title=c_westmorland + max_settlements=3 + terrain=plains +} +56 = { + title=c_durham + max_settlements=4 + terrain=plains +} +57 = { + title=c_york + max_settlements=5 + terrain=plains +} +58 = { + title=c_lancaster + max_settlements=4 + terrain=plains +} +59 = { + title=c_chester + max_settlements=4 + terrain=plains +} +60 = { + title=c_perfeddwlad + max_settlements=3 + terrain=hills +} +61 = { + title=c_lincoln + max_settlements=5 + terrain=plains +} +62 = { + title=c_leicester + max_settlements=5 + terrain=plains +} +63 = { + title=c_derby + max_settlements=4 + terrain=plains +} +64 = { + title=c_gwynedd + max_settlements=5 + terrain=hills +} +65 = { + title=c_powys + max_settlements=4 + terrain=mountain +} +66 = { + title=c_shrewsbury + max_settlements=4 + terrain=plains +} +67 = { + title=c_warwick + max_settlements=4 + terrain=plains +} +68 = { + title=c_northampton + max_settlements=4 + terrain=plains +} +69 = { + title=c_bedford + max_settlements=4 + terrain=plains +} +70 = { + title=c_norfolk + max_settlements=4 + terrain=farmlands +} +71 = { + title=c_suffolk + max_settlements=4 + terrain=farmlands +} +72 = { + title=c_essex + max_settlements=5 + terrain=plains +} +73 = { + title=c_kent + max_settlements=5 + terrain=farmlands +} +74 = { + title=c_guines + max_settlements=4 + terrain=plains +} +75 = { + title=c_boulogne + max_settlements=5 + terrain=plains +} +76 = { + title=c_yperen + max_settlements=5 + terrain=plains +} +77 = { + title=c_artois + max_settlements=5 + terrain=plains +} +78 = { + title=c_brugge + max_settlements=7 + terrain=plains +} +79 = { + title=c_zeeland + max_settlements=4 + terrain=plains +} +80 = { + title=c_holland + max_settlements=5 + terrain=plains +} +81 = { + title=c_westfriesland + max_settlements=4 + terrain=plains +} +82 = { + title=c_sticht + max_settlements=4 + terrain=plains +} +83 = { + title=c_gelre + max_settlements=5 + terrain=plains +} +84 = { + title=c_frisia + max_settlements=5 + terrain=farmlands +} +85 = { + title=c_ostfriesland + max_settlements=4 + terrain=plains +} +86 = { + title=c_oldenburg + max_settlements=4 + terrain=plains +} +87 = { + title=c_osnabruck + max_settlements=4 + terrain=plains +} +88 = { + title=c_munster + max_settlements=4 + terrain=plains +} +89 = { + title=c_kleve + max_settlements=4 + terrain=plains +} +90 = { + title=c_julich + max_settlements=4 + terrain=plains +} +91 = { + title=c_loon + max_settlements=5 + terrain=plains +} +92 = { + title=c_breda + max_settlements=5 + terrain=plains +} +93 = { + title=c_gent + max_settlements=5 + terrain=plains +} +94 = { + title=c_hainaut + max_settlements=5 + terrain=plains +} +95 = { + title=c_amiens + max_settlements=5 + terrain=plains +} +96 = { + title=c_eu + max_settlements=4 + terrain=plains +} +97 = { + title=c_arques + max_settlements=5 + terrain=plains +} +98 = { + title=c_vexin + max_settlements=4 + terrain=plains +} +99 = { + title=c_evreux + max_settlements=5 + terrain=plains +} +100 = { + title=c_avranches + max_settlements=5 + terrain=farmlands +} +101 = { + title=c_rennes + max_settlements=5 + terrain=plains +} +102 = { + title=c_penthievre + max_settlements=4 + terrain=plains +} +103 = { + title=c_french_leon + max_settlements=3 + terrain=plains +} +104 = { + title=c_cornouaille + max_settlements=4 + terrain=plains +} +105 = { + title=c_vannes + max_settlements=4 + terrain=plains +} +106 = { + title=c_nantes + max_settlements=5 + terrain=plains +} +107 = { + title=c_anjou + max_settlements=5 + terrain=plains +} +108 = { + title=c_maine + max_settlements=5 + terrain=plains +} +109 = { + title=c_vendome + max_settlements=5 + terrain=plains +} +110 = { + title=c_blois + max_settlements=4 + terrain=plains +} +111 = { + title=c_chartres + max_settlements=4 + terrain=plains +} +112 = { + title=c_ile_de_france + max_settlements=7 + terrain=plains +} +113 = { + title=c_vermandois + max_settlements=5 + terrain=plains +} +114 = { + title=c_reims + max_settlements=5 + terrain=farmlands +} +115 = { + title=c_luxembourg + max_settlements=4 + terrain=forest +} +116 = { + title=c_liege + max_settlements=4 + terrain=forest +} +117 = { + title=c_brabant + max_settlements=6 + terrain=plains +} +118 = { + title=c_trier + max_settlements=4 + terrain=hills +} +119 = { + title=c_koln + max_settlements=5 + terrain=forest +} +120 = { + title=c_gottingen + max_settlements=5 + terrain=plains +} +121 = { + title=c_nassau + max_settlements=5 + terrain=hills +} +122 = { + title=c_leiningen + max_settlements=5 + terrain=plains +} +123 = { + title=c_mainz + max_settlements=5 + terrain=plains +} +124 = { + title=c_pfalz + max_settlements=5 + terrain=plains +} +125 = { + title=c_baden + max_settlements=5 + terrain=plains +} +126 = { + title=c_nordgau + max_settlements=4 + terrain=forest +} +127 = { + title=c_lorraine + max_settlements=5 + terrain=forest +} +128 = { + title=c_metz + max_settlements=4 + terrain=plains +} +129 = { + title=c_verdun + max_settlements=5 + terrain=plains +} +130 = { + title=c_troyes + max_settlements=4 + terrain=plains +} +131 = { + title=c_sens + max_settlements=4 + terrain=plains +} +132 = { + title=c_auxerre + max_settlements=5 + terrain=plains +} +133 = { + title=c_saintois + max_settlements=4 + terrain=forest +} +134 = { + title=c_sundgau + max_settlements=4 + terrain=forest +} +135 = { + title=c_besancon + max_settlements=6 + terrain=forest +} +136 = { + title=c_dijon + max_settlements=6 + terrain=plains +} +137 = { + title=c_nevers + max_settlements=4 + terrain=plains +} +138 = { + title=c_orleans + max_settlements=5 + terrain=plains +} +139 = { + title=c_bourges + max_settlements=5 + terrain=plains +} +140 = { + title=c_tourraine + max_settlements=4 + terrain=plains +} +141 = { + title=c_poitiers + max_settlements=5 + terrain=plains +} +142 = { + title=c_thouars + max_settlements=5 + terrain=plains +} +143 = { + title=c_saintonge + max_settlements=5 + terrain=plains +} +144 = { + title=c_lusignan + max_settlements=4 + terrain=plains +} +145 = { + title=c_la_marche + max_settlements=3 + terrain=plains +} +146 = { + title=c_bourbon + max_settlements=5 + terrain=plains +} +147 = { + title=c_limousin + max_settlements=5 + terrain=forest +} +148 = { + title=c_angouleme + max_settlements=5 + terrain=plains +} +149 = { + title=c_bordeaux + max_settlements=6 + terrain=plains +} +150 = { + title=c_albret + max_settlements=4 + terrain=plains +} +151 = { + title=c_labourd + max_settlements=4 + terrain=hills +} +152 = { + title=c_navarra + max_settlements=5 + terrain=plains +} +153 = { + title=c_viscaya + max_settlements=5 + terrain=plains +} +154 = { + title=c_asturias_de_santillana + max_settlements=4 + terrain=plains +} +155 = { + title=c_asturias_de_oviedo + max_settlements=5 + terrain=forest +} +156 = { + title=c_coruna + max_settlements=4 + terrain=forest +} +157 = { + title=c_santiago + max_settlements=5 + terrain=plains +} +158 = { + title=c_porto + max_settlements=5 + terrain=plains +} +159 = { + title=c_coimbra + max_settlements=4 + terrain=plains +} +160 = { + title=c_lisboa + max_settlements=5 + terrain=plains +} +161 = { + title=c_alcacer_do_sal + max_settlements=4 + terrain=forest +} +162 = { + title=c_silves + max_settlements=4 + terrain=plains +} +163 = { + title=c_faro + max_settlements=4 + terrain=farmlands +} +164 = { + title=c_niebla + max_settlements=4 + terrain=plains +} +165 = { + title=c_cadiz + max_settlements=5 + terrain=plains +} +166 = { + title=c_algeciras + max_settlements=4 + terrain=plains +} +167 = { + title=c_malaga + max_settlements=5 + terrain=farmlands +} +168 = { + title=c_almeria + max_settlements=4 + terrain=plains +} +169 = { + title=c_murcia + max_settlements=4 + terrain=farmlands +} +170 = { + title=c_denia + max_settlements=4 + terrain=plains +} +171 = { + title=c_valencia + max_settlements=5 + terrain=plains +} +172 = { + title=c_castellon + max_settlements=4 + terrain=hills +} +173 = { + title=c_tarragona + max_settlements=4 + terrain=plains +} +174 = { + title=c_albarracin + max_settlements=4 + terrain=plains +} +175 = { + title=c_calatayud + max_settlements=4 + terrain=mountain +} +176 = { + title=c_molina + max_settlements=4 + terrain=hills +} +177 = { + title=c_cuenca + max_settlements=4 + terrain=hills +} +178 = { + title=c_la_mancha + max_settlements=4 + terrain=plains +} +179 = { + title=c_almansa + max_settlements=4 + terrain=hills +} +180 = { + title=c_granada + max_settlements=6 + terrain=mountain +} +181 = { + title=c_cordoba + max_settlements=6 + terrain=plains +} +182 = { + title=c_sevilla + max_settlements=6 + terrain=plains +} +183 = { + title=c_aracena + max_settlements=4 + terrain=plains +} +184 = { + title=c_badajoz + max_settlements=4 + terrain=hills +} +185 = { + title=c_mertola + max_settlements=4 + terrain=plains +} +186 = { + title=c_evora + max_settlements=4 + terrain=plains +} +187 = { + title=c_castelo_branco + max_settlements=4 + terrain=hills +} +188 = { + title=c_braganza + max_settlements=4 + terrain=plains +} +189 = { + title=c_astorga + max_settlements=4 + terrain=mountain +} +190 = { + title=c_leon + max_settlements=5 + terrain=farmlands +} +191 = { + title=c_zamora + max_settlements=4 + terrain=plains +} +192 = { + title=c_salamanca + max_settlements=4 + terrain=hills +} +193 = { + title=c_alcantara + max_settlements=4 + terrain=forest +} +194 = { + title=c_plasencia + max_settlements=4 + terrain=plains +} +195 = { + title=c_caceres + max_settlements=4 + terrain=plains +} +196 = { + title=c_calatrava + max_settlements=4 + terrain=hills +} +197 = { + title=c_toledo + max_settlements=5 + terrain=plains +} +198 = { + title=c_valladolid + max_settlements=4 + terrain=hills +} +199 = { + title=c_burgos + max_settlements=5 + terrain=hills +} +200 = { + title=c_soria + max_settlements=4 + terrain=mountain +} +201 = { + title=c_najera + max_settlements=4 + terrain=forest +} +202 = { + title=c_zaragoza + max_settlements=5 + terrain=plains +} +203 = { + title=c_lleida + max_settlements=4 + terrain=hills +} +204 = { + title=c_barcelona + max_settlements=6 + terrain=plains +} +205 = { + title=c_empuries + max_settlements=4 + terrain=mountain +} +206 = { + title=c_urgell + max_settlements=4 + terrain=mountain +} +207 = { + title=c_alto_aragon + max_settlements=5 + terrain=mountain +} +208 = { + title=c_bearn + max_settlements=4 + terrain=mountain +} +209 = { + title=c_armagnac + max_settlements=4 + terrain=mountain +} +210 = { + title=c_foix + max_settlements=4 + terrain=mountain +} +211 = { + title=c_rosello + max_settlements=4 + terrain=mountain +} +212 = { + title=c_narbonne + max_settlements=5 + terrain=plains +} +213 = { + title=c_carcassonne + max_settlements=5 + terrain=mountain +} +214 = { + title=c_toulouse + max_settlements=6 + terrain=hills +} +215 = { + title=c_agen + max_settlements=4 + terrain=plains +} +216 = { + title=c_perigord + max_settlements=4 + terrain=plains +} +217 = { + title=c_auvergne + max_settlements=5 + terrain=mountain +} +218 = { + title=c_rouergue + max_settlements=4 + terrain=hills +} +219 = { + title=c_gevaudan + max_settlements=4 + terrain=forest +} +220 = { + title=c_montpellier + max_settlements=6 + terrain=plains +} +221 = { + title=c_provence + max_settlements=6 + terrain=plains +} +222 = { + title=c_venaissin + max_settlements=5 + terrain=hills +} +223 = { + title=c_viviers + max_settlements=4 + terrain=hills +} +224 = { + title=c_forez + max_settlements=5 + terrain=hills +} +225 = { + title=c_macon + max_settlements=4 + terrain=plains +} +226 = { + title=c_charolais + max_settlements=4 + terrain=plains +} +227 = { + title=c_lyon + max_settlements=5 + terrain=forest +} +228 = { + title=c_dauphine_viennois + max_settlements=5 + terrain=hills +} +229 = { + title=c_forcalquier + max_settlements=4 + terrain=mountain +} +230 = { + title=c_nice + max_settlements=4 + terrain=mountain +} +231 = { + title=c_saluzzo + max_settlements=3 + terrain=mountain +} +232 = { + title=c_monferrato + max_settlements=5 + terrain=plains +} +233 = { + title=c_genoa + max_settlements=6 + terrain=plains +} +234 = { + title=c_pavia + max_settlements=5 + terrain=plains +} +235 = { + title=c_lombardia + max_settlements=6 + terrain=plains +} +236 = { + title=c_piemonte + max_settlements=5 + terrain=mountain +} +237 = { + title=c_savoie + max_settlements=5 + terrain=mountain +} +238 = { + title=c_valais + max_settlements=3 + terrain=mountain +} +239 = { + title=c_geneve + max_settlements=4 + terrain=hills +} +240 = { + title=c_chalons + max_settlements=5 + terrain=plains +} +241 = { + title=c_neuchatel + max_settlements=4 + terrain=hills +} +242 = { + title=c_aargau + max_settlements=4 + terrain=hills +} +243 = { + title=c_orvieto + max_settlements=4 + terrain=plains +} +244 = { + title=c_bern + max_settlements=4 + terrain=mountain +} +245 = { + title=c_schwyz + max_settlements=4 + terrain=hills +} +246 = { + title=c_grisons + max_settlements=4 + terrain=mountain +} +247 = { + title=c_chur + max_settlements=3 + terrain=mountain +} +248 = { + title=c_st_gallen + max_settlements=4 + terrain=hills +} +249 = { + title=c_schwaben + max_settlements=5 + terrain=hills +} +250 = { + title=c_breisgau + max_settlements=4 + terrain=forest +} +251 = { + title=c_furstenberg + max_settlements=4 + terrain=hills +} +252 = { + title=c_ulm + max_settlements=4 + terrain=hills +} +253 = { + title=c_wurttemberg + max_settlements=5 + terrain=plains +} +254 = { + title=c_wurzburg + max_settlements=5 + terrain=forest +} +255 = { + title=c_thuringen + max_settlements=4 + terrain=plains +} +256 = { + title=c_weimar + max_settlements=4 + terrain=hills +} +257 = { + title=c_braunschweig + max_settlements=4 + terrain=hills +} +258 = { + title=c_luneburg + max_settlements=4 + terrain=hills +} +259 = { + title=c_celle + max_settlements=4 + terrain=plains +} +260 = { + title=c_mecklemburg + max_settlements=4 + terrain=plains +} +261 = { + title=c_hamburg + max_settlements=6 + terrain=plains +} +262 = { + title=c_lubeck + max_settlements=6 + terrain=plains +} +263 = { + title=c_holstein + max_settlements=5 + terrain=plains +} +264 = { + title=c_slesvig + max_settlements=5 + terrain=plains +} +265 = { + title=c_fyn + max_settlements=4 + terrain=farmlands +} +266 = { + title=c_sjaelland + max_settlements=6 + terrain=farmlands +} +267 = { + title=c_jylland + max_settlements=6 + terrain=plains +} +268 = { + title=c_agder + max_settlements=4 + terrain=hills +} +269 = { + title=c_rogaland + max_settlements=4 + terrain=plains +} +270 = { + title=c_telemark + max_settlements=4 + terrain=hills +} +271 = { + title=c_vestfold + max_settlements=5 + terrain=plains +} +272 = { + title=c_akershus + max_settlements=5 + terrain=plains +} +273 = { + title=c_oppland + max_settlements=3 + terrain=hills +} +274 = { + title=c_bergenshus + max_settlements=4 + terrain=mountain +} +275 = { + title=c_trondelag + max_settlements=4 + terrain=mountain +} +276 = { + title=c_hedmark + max_settlements=3 + terrain=mountain +} +277 = { + title=c_naumadal + max_settlements=3 + terrain=mountain +} +278 = { + title=c_halogaland + max_settlements=2 + terrain=mountain +} +279 = { + title=c_lappland + max_settlements=2 + terrain=forest +} +280 = { + title=c_vasterbotten + max_settlements=3 + terrain=forest +} +281 = { + title=c_angermanland + max_settlements=3 + terrain=forest +} +282 = { + title=c_jamtland + max_settlements=3 + terrain=forest +} +283 = { + title=c_medelpad + max_settlements=3 + terrain=forest +} +284 = { + title=c_herjedalen + max_settlements=2 + terrain=forest +} +285 = { + title=c_halsingland + max_settlements=3 + terrain=forest +} +286 = { + title=c_gastrikland + max_settlements=4 + terrain=plains +} +287 = { + title=c_dalarna + max_settlements=3 + terrain=forest +} +288 = { + title=c_varmland + max_settlements=3 + terrain=forest +} +289 = { + title=c_vastmanland + max_settlements=4 + terrain=plains +} +290 = { + title=c_uppland + max_settlements=6 + terrain=plains +} +291 = { + title=c_aland + max_settlements=2 + terrain=plains +} +292 = { + title=c_sodermanland + max_settlements=5 + terrain=farmlands +} +293 = { + title=c_ostergotland + max_settlements=5 + terrain=forest +} +294 = { + title=c_narke + max_settlements=3 + terrain=plains +} +295 = { + title=c_dal + max_settlements=3 + terrain=plains +} +296 = { + title=c_viken + max_settlements=3 + terrain=farmlands +} +297 = { + title=c_vastergotland + max_settlements=5 + terrain=plains +} +298 = { + title=c_smaland + max_settlements=3 + terrain=forest +} +299 = { + title=c_farrah + max_settlements=4 + terrain=desert +} +300 = { + title=c_oland + max_settlements=2 + terrain=plains +} +301 = { + title=c_gotland + max_settlements=5 + terrain=plains +} +302 = { + title=c_halland + max_settlements=4 + terrain=plains +} +303 = { + title=c_skane + max_settlements=6 + terrain=farmlands +} +304 = { + title=c_rugen + max_settlements=3 + terrain=plains +} +305 = { + title=c_bornholm + max_settlements=3 + terrain=plains +} +306 = { + title=c_rostock + max_settlements=5 + terrain=farmlands +} +307 = { + title=c_werle + max_settlements=4 + terrain=plains +} +308 = { + title=c_wolgast + max_settlements=4 + terrain=plains +} +309 = { + title=c_altmark + max_settlements=4 + terrain=plains +} +310 = { + title=c_anhalt + max_settlements=5 + terrain=forest +} +311 = { + title=c_plauen + max_settlements=5 + terrain=farmlands +} +312 = { + title=c_meissen + max_settlements=5 + terrain=forest +} +313 = { + title=c_bamberg + max_settlements=4 + terrain=forest +} +314 = { + title=c_nurnberg + max_settlements=5 + terrain=plains +} +315 = { + title=c_kempten + max_settlements=4 + terrain=hills +} +316 = { + title=c_tirol + max_settlements=4 + terrain=mountain +} +317 = { + title=c_trent + max_settlements=4 + terrain=mountain +} +318 = { + title=c_brescia + max_settlements=4 + terrain=mountain +} +319 = { + title=c_verona + max_settlements=5 + terrain=plains +} +320 = { + title=c_cremona + max_settlements=4 + terrain=plains +} +321 = { + title=c_parma + max_settlements=5 + terrain=mountain +} +322 = { + title=c_modena + max_settlements=5 + terrain=mountain +} +323 = { + title=c_lucca + max_settlements=4 + terrain=plains +} +324 = { + title=c_corsica + max_settlements=4 + terrain=mountain +} +325 = { + title=c_arborea + max_settlements=3 + terrain=mountain +} +326 = { + title=c_cagliari + max_settlements=4 + terrain=hills +} +327 = { + title=c_pisa + max_settlements=5 + terrain=plains +} +328 = { + title=c_firenze + max_settlements=6 + terrain=hills +} +329 = { + title=c_urbino + max_settlements=4 + terrain=mountain +} +330 = { + title=c_siena + max_settlements=5 + terrain=plains +} +331 = { + title=c_piombino + max_settlements=4 + terrain=plains +} +332 = { + title=c_orbetello + max_settlements=4 + terrain=plains +} +333 = { + title=c_roma + max_settlements=7 + terrain=plains +} +334 = { + title=c_napoli + max_settlements=5 + terrain=plains +} +335 = { + title=c_benevento + max_settlements=4 + terrain=hills +} +336 = { + title=c_salerno + max_settlements=5 + terrain=hills +} +337 = { + title=c_consenza + max_settlements=4 + terrain=hills +} +338 = { + title=c_reggio + max_settlements=4 + terrain=hills +} +339 = { + title=c_messina + max_settlements=5 + terrain=hills +} +340 = { + title=c_palermo + max_settlements=6 + terrain=hills +} +341 = { + title=c_trapani + max_settlements=4 + terrain=plains +} +342 = { + title=c_agrigento + max_settlements=4 + terrain=hills +} +343 = { + title=c_siracusa + max_settlements=5 + terrain=hills +} +344 = { + title=c_taranto + max_settlements=4 + terrain=hills +} +345 = { + title=c_lecce + max_settlements=4 + terrain=hills +} +346 = { + title=c_bari + max_settlements=4 + terrain=hills +} +347 = { + title=c_apulia + max_settlements=4 + terrain=hills +} +348 = { + title=c_foggia + max_settlements=4 + terrain=farmlands +} +349 = { + title=c_spoleto + max_settlements=4 + terrain=mountain +} +350 = { + title=c_ancona + max_settlements=4 + terrain=mountain +} +351 = { + title=c_ravenna + max_settlements=5 + terrain=mountain +} +352 = { + title=c_bologna + max_settlements=5 + terrain=plains +} +353 = { + title=c_ferrara + max_settlements=5 + terrain=plains +} +354 = { + title=c_mantua + max_settlements=4 + terrain=plains +} +355 = { + title=c_padova + max_settlements=4 + terrain=farmlands +} +356 = { + title=c_venezia + max_settlements=7 + terrain=plains +} +357 = { + title=c_treviso + max_settlements=4 + terrain=hills +} +358 = { + title=c_aquileia + max_settlements=5 + terrain=mountain +} +359 = { + title=c_innsbruck + max_settlements=4 + terrain=mountain +} +360 = { + title=c_oberbayern + max_settlements=5 + terrain=hills +} +361 = { + title=c_niederbayern + max_settlements=4 + terrain=hills +} +362 = { + title=c_domazlice + max_settlements=5 + terrain=plains +} +363 = { + title=c_litomerice + max_settlements=4 + terrain=plains +} +364 = { + title=c_lausitz + max_settlements=4 + terrain=forest +} +365 = { + title=c_brandenburg + max_settlements=5 + terrain=hills +} +366 = { + title=c_stettin + max_settlements=4 + terrain=forest +} +367 = { + title=c_slupsk + max_settlements=4 + terrain=forest +} +368 = { + title=c_danzig + max_settlements=5 + terrain=plains +} +369 = { + title=c_chelminskie + max_settlements=4 + terrain=plains +} +370 = { + title=c_marienburg + max_settlements=4 + terrain=plains +} +371 = { + title=c_sambia + max_settlements=4 + terrain=plains +} +372 = { + title=c_memel + max_settlements=4 + terrain=plains +} +373 = { + title=c_kurs + max_settlements=5 + terrain=plains +} +374 = { + title=c_zemigalians + max_settlements=5 + terrain=plains +} +375 = { + title=c_lettigalians + max_settlements=4 + terrain=forest +} +376 = { + title=c_osel + max_settlements=3 + terrain=plains +} +377 = { + title=c_livs + max_settlements=4 + terrain=plains +} +378 = { + title=c_reval + max_settlements=4 + terrain=forest +} +379 = { + title=c_dorpat + max_settlements=4 + terrain=forest +} +380 = { + title=c_narva + max_settlements=4 + terrain=plains +} +381 = { + title=c_nyland + max_settlements=4 + terrain=farmlands +} +382 = { + title=c_finland + max_settlements=4 + terrain=plains +} +383 = { + title=c_tavasts + max_settlements=3 + terrain=forest +} +384 = { + title=c_satakunta + max_settlements=3 + terrain=forest +} +385 = { + title=c_osterbotten + max_settlements=3 + terrain=forest +} +386 = { + title=c_kemi + max_settlements=2 + terrain=forest +} +387 = { + title=c_kola + max_settlements=1 + terrain=arctic +} +388 = { + title=c_karelen + max_settlements=2 + terrain=forest +} +389 = { + title=c_finnmark + max_settlements=1 + terrain=hills +} +390 = { + title=c_savolaks + max_settlements=2 + terrain=forest +} +391 = { + title=c_nordland + max_settlements=2 + terrain=mountain +} +392 = { + title=c_kexholm + max_settlements=3 + terrain=forest +} +393 = { + title=c_onega + max_settlements=3 + terrain=forest +} +394 = { + title=c_trans-portage + max_settlements=3 + terrain=arctic +} +395 = { + title=c_north_dvina + max_settlements=3 + terrain=arctic +} +396 = { + title=c_bjarmia + max_settlements=2 + terrain=arctic +} +397 = { + title=c_samoyeds + max_settlements=2 + terrain=arctic +} +398 = { + title=c_ugra + max_settlements=3 + terrain=arctic +} +399 = { + title=c_syrj + max_settlements=3 + terrain=arctic +} +400 = { + title=c_zyriane + max_settlements=3 + terrain=arctic +} +401 = { + title=c_hlynov + max_settlements=3 + terrain=arctic +} +402 = { + title=c_veliky_ustug + max_settlements=3 + terrain=arctic +} +403 = { + title=c_romny + max_settlements=3 + terrain=arctic +} +404 = { + title=c_zaozerye + max_settlements=3 + terrain=forest +} +405 = { + title=c_chud + max_settlements=3 + terrain=forest +} +406 = { + title=c_vologda + max_settlements=3 + terrain=forest +} +407 = { + title=c_kostroma + max_settlements=3 + terrain=forest +} +408 = { + title=c_beloozero + max_settlements=4 + terrain=forest +} +409 = { + title=c_bezhetsky_verh + max_settlements=4 + terrain=forest +} +410 = { + title=c_toropets + max_settlements=4 + terrain=plains +} +411 = { + title=c_vodi + max_settlements=3 + terrain=forest +} +412 = { + title=c_torzhok + max_settlements=4 + terrain=plains +} +413 = { + title=c_pskov + max_settlements=5 + terrain=forest +} +414 = { + title=c_novgorod + max_settlements=6 + terrain=forest +} +415 = { + title=c_velikiye_luki + max_settlements=4 + terrain=forest +} +416 = { + title=c_west_dvina + max_settlements=4 + terrain=forest +} +417 = { + title=c_vitebsk + max_settlements=4 + terrain=plains +} +418 = { + title=c_orsha + max_settlements=4 + terrain=hills +} +419 = { + title=c_polotsk + max_settlements=6 + terrain=plains +} +420 = { + title=c_aukshayts + max_settlements=5 + terrain=plains +} +421 = { + title=c_zhmud + max_settlements=5 + terrain=plains +} +422 = { + title=c_scalovia + max_settlements=4 + terrain=hills +} +423 = { + title=c_sudovia + max_settlements=4 + terrain=plains +} +424 = { + title=c_jacwiez + max_settlements=4 + terrain=plains +} +425 = { + title=c_podlasie + max_settlements=4 + terrain=plains +} +426 = { + title=c_yatvyagi + max_settlements=4 + terrain=plains +} +427 = { + title=c_galindia + max_settlements=4 + terrain=plains +} +428 = { + title=c_kujawy + max_settlements=4 + terrain=plains +} +429 = { + title=c_gnieznienskie + max_settlements=5 + terrain=plains +} +430 = { + title=c_lubusz + max_settlements=4 + terrain=plains +} +431 = { + title=c_poznanskie + max_settlements=5 + terrain=plains +} +432 = { + title=c_kaliskie + max_settlements=5 + terrain=plains +} +433 = { + title=c_opole + max_settlements=5 + terrain=plains +} +434 = { + title=c_lower_silesia + max_settlements=5 + terrain=plains +} +435 = { + title=c_upper_silesia + max_settlements=5 + terrain=plains +} +436 = { + title=c_boleslav + max_settlements=4 + terrain=plains +} +437 = { + title=c_praha + max_settlements=6 + terrain=plains +} +438 = { + title=c_hradec + max_settlements=5 + terrain=hills +} +439 = { + title=c_plzen + max_settlements=4 + terrain=plains +} +440 = { + title=c_olomouc + max_settlements=4 + terrain=hills +} +441 = { + title=c_brno + max_settlements=4 + terrain=hills +} +442 = { + title=c_trencin + max_settlements=4 + terrain=mountain +} +443 = { + title=c_nitra + max_settlements=4 + terrain=plains +} +444 = { + title=c_esztergom + max_settlements=5 + terrain=plains +} +445 = { + title=c_pressburg + max_settlements=5 + terrain=farmlands +} +446 = { + title=c_znojmo + max_settlements=4 + terrain=hills +} +447 = { + title=c_passau + max_settlements=4 + terrain=hills +} +448 = { + title=c_salzburg + max_settlements=5 + terrain=forest +} +449 = { + title=c_osterreich + max_settlements=6 + terrain=forest +} +450 = { + title=c_sopron + max_settlements=4 + terrain=plains +} +451 = { + title=c_fejer + max_settlements=4 + terrain=plains +} +452 = { + title=c_pecs + max_settlements=5 + terrain=plains +} +453 = { + title=c_szekezfehervar + max_settlements=4 + terrain=plains +} +454 = { + title=c_vas + max_settlements=4 + terrain=plains +} +455 = { + title=c_steiermark + max_settlements=4 + terrain=hills +} +456 = { + title=c_karnten + max_settlements=5 + terrain=hills +} +457 = { + title=c_krain + max_settlements=4 + terrain=hills +} +458 = { + title=c_istria + max_settlements=4 + terrain=plains +} +459 = { + title=c_veglia + max_settlements=4 + terrain=plains +} +460 = { + title=c_varadzin + max_settlements=4 + terrain=plains +} +461 = { + title=c_zagreb + max_settlements=4 + terrain=plains +} +462 = { + title=c_krizevci + max_settlements=4 + terrain=plains +} +463 = { + title=c_usora + max_settlements=4 + terrain=hills +} +464 = { + title=c_senj + max_settlements=4 + terrain=plains +} +465 = { + title=c_zadar + max_settlements=5 + terrain=plains +} +466 = { + title=c_zachlumia + max_settlements=4 + terrain=mountain +} +467 = { + title=c_split + max_settlements=4 + terrain=plains +} +468 = { + title=c_ragusa + max_settlements=5 + terrain=mountain +} +469 = { + title=c_zeta + max_settlements=4 + terrain=plains +} +470 = { + title=c_dyrrachion + max_settlements=5 + terrain=mountain +} +471 = { + title=c_ochrid + max_settlements=4 + terrain=hills +} +472 = { + title=c_epeiros + max_settlements=5 + terrain=hills +} +473 = { + title=c_arta + max_settlements=4 + terrain=hills +} +474 = { + title=c_cephalonia + max_settlements=4 + terrain=mountain +} +475 = { + title=c_hellas + max_settlements=4 + terrain=hills +} +476 = { + title=c_achaia + max_settlements=4 + terrain=mountain +} +477 = { + title=c_methone + max_settlements=3 + terrain=hills +} +478 = { + title=c_monemvasia + max_settlements=4 + terrain=hills +} +479 = { + title=c_kaneia + max_settlements=3 + terrain=mountain +} +480 = { + title=c_chandax + max_settlements=4 + terrain=mountain +} +481 = { + title=c_korinthos + max_settlements=4 + terrain=hills +} +482 = { + title=c_atheniai + max_settlements=5 + terrain=plains +} +483 = { + title=c_rhodos + max_settlements=3 + terrain=mountain +} +484 = { + title=c_naxos + max_settlements=3 + terrain=mountain +} +485 = { + title=c_euboia + max_settlements=3 + terrain=hills +} +486 = { + title=c_chios + max_settlements=3 + terrain=mountain +} +487 = { + title=c_lesbos + max_settlements=3 + terrain=mountain +} +488 = { + title=c_demetrias + max_settlements=4 + terrain=plains +} +489 = { + title=c_thessalia + max_settlements=5 + terrain=plains +} +490 = { + title=c_thessalonike + max_settlements=6 + terrain=plains +} +491 = { + title=c_chalkidike + max_settlements=4 + terrain=plains +} +492 = { + title=c_strymon + max_settlements=4 + terrain=hills +} +493 = { + title=c_philippopolis + max_settlements=5 + terrain=hills +} +494 = { + title=c_adrianopolis + max_settlements=6 + terrain=plains +} +495 = { + title=c_kaliopolis + max_settlements=4 + terrain=plains +} +496 = { + title=c_byzantion + max_settlements=7 + terrain=plains +} +497 = { + title=c_thrake + max_settlements=5 + terrain=plains +} +498 = { + title=c_mesembria + max_settlements=5 + terrain=forest +} +499 = { + title=c_tyrnovo + max_settlements=4 + terrain=forest +} +500 = { + title=c_serdica + max_settlements=4 + terrain=mountain +} +501 = { + title=c_naissus + max_settlements=4 + terrain=hills +} +502 = { + title=c_rashka + max_settlements=4 + terrain=hills +} +503 = { + title=c_hum + max_settlements=4 + terrain=mountain +} +504 = { + title=c_rama + max_settlements=3 + terrain=forest +} +505 = { + title=c_belgrade + max_settlements=5 + terrain=plains +} +506 = { + title=c_vidin + max_settlements=4 + terrain=forest +} +507 = { + title=c_nikopolis + max_settlements=5 + terrain=hills +} +508 = { + title=c_dorostotum + max_settlements=3 + terrain=plains +} +509 = { + title=c_karvuna + max_settlements=4 + terrain=farmlands +} +510 = { + title=c_constantia + max_settlements=3 + terrain=plains +} +511 = { + title=c_galaz + max_settlements=4 + terrain=plains +} +512 = { + title=c_belgorod + max_settlements=5 + terrain=steppe +} +513 = { + title=c_birlad + max_settlements=4 + terrain=mountain +} +514 = { + title=c_turnu + max_settlements=5 + terrain=plains +} +515 = { + title=c_tirgoviste + max_settlements=3 + terrain=plains +} +516 = { + title=c_severin + max_settlements=5 + terrain=plains +} +517 = { + title=c_temes + max_settlements=3 + terrain=plains +} +518 = { + title=c_bacs + max_settlements=4 + terrain=plains +} +519 = { + title=c_feher + max_settlements=4 + terrain=mountain +} +520 = { + title=c_bihar + max_settlements=4 + terrain=mountain +} +521 = { + title=c_csanad + max_settlements=4 + terrain=plains +} +522 = { + title=c_pest + max_settlements=5 + terrain=plains +} +523 = { + title=c_heves + max_settlements=4 + terrain=plains +} +524 = { + title=c_gemer + max_settlements=4 + terrain=hills +} +525 = { + title=c_orava + max_settlements=4 + terrain=mountain +} +526 = { + title=c_cieszyn + max_settlements=4 + terrain=hills +} +527 = { + title=c_krakowskie + max_settlements=6 + terrain=plains +} +528 = { + title=c_sieradzko-leczyckie + max_settlements=5 + terrain=farmlands +} +529 = { + title=c_plock + max_settlements=5 + terrain=plains +} +530 = { + title=c_czersk + max_settlements=4 + terrain=farmlands +} +531 = { + title=c_sandomierskie + max_settlements=5 + terrain=plains +} +532 = { + title=c_sacz + max_settlements=5 + terrain=hills +} +533 = { + title=c_saris + max_settlements=4 + terrain=hills +} +534 = { + title=c_peremyshl + max_settlements=5 + terrain=forest +} +535 = { + title=c_vladimir_volynsky + max_settlements=5 + terrain=plains +} +536 = { + title=c_galich + max_settlements=5 + terrain=plains +} +537 = { + title=c_bereg + max_settlements=3 + terrain=mountain +} +538 = { + title=c_abauj + max_settlements=4 + terrain=plains +} +539 = { + title=c_marmaros + max_settlements=4 + terrain=mountain +} +540 = { + title=c_szekelyfold + max_settlements=3 + terrain=hills +} +541 = { + title=c_peresechen + max_settlements=5 + terrain=steppe +} +542 = { + title=c_olvia + max_settlements=4 + terrain=steppe +} +543 = { + title=c_oleshye + max_settlements=6 + terrain=steppe +} +544 = { + title=c_korsun + max_settlements=5 + terrain=steppe +} +545 = { + title=c_torki + max_settlements=4 + terrain=hills +} +546 = { + title=c_terebovl + max_settlements=5 + terrain=plains +} +547 = { + title=c_kiev + max_settlements=7 + terrain=plains +} +548 = { + title=c_pinsk + max_settlements=5 + terrain=plains +} +549 = { + title=c_beresty + max_settlements=4 + terrain=plains +} +550 = { + title=c_minsk + max_settlements=5 + terrain=forest +} +551 = { + title=c_mstislavl + max_settlements=4 + terrain=plains +} +552 = { + title=c_turov + max_settlements=5 + terrain=plains +} +553 = { + title=c_lyubech + max_settlements=5 + terrain=plains +} +554 = { + title=c_chernigov + max_settlements=6 + terrain=plains +} +555 = { + title=c_pereyaslavl + max_settlements=6 + terrain=plains +} +556 = { + title=c_chortitza + max_settlements=4 + terrain=steppe +} +557 = { + title=c_lukomorie + max_settlements=3 + terrain=steppe +} +558 = { + title=c_lower_dniepr + max_settlements=5 + terrain=steppe +} +559 = { + title=c_crimea + max_settlements=5 + terrain=steppe +} +560 = { + title=c_cherson + max_settlements=4 + terrain=steppe +} +561 = { + title=c_theodosia + max_settlements=5 + terrain=steppe +} +562 = { + title=c_korchev + max_settlements=4 + terrain=steppe +} +563 = { + title=c_lower_don + max_settlements=3 + terrain=steppe +} +564 = { + title=c_desht-i-kipchak + max_settlements=5 + terrain=steppe +} +565 = { + title=c_sharukan + max_settlements=5 + terrain=steppe +} +566 = { + title=c_sugrov + max_settlements=4 + terrain=hills +} +567 = { + title=c_novgorod_seversky + max_settlements=5 + terrain=plains +} +568 = { + title=c_smolensk + max_settlements=5 + terrain=forest +} +569 = { + title=c_vyazma + max_settlements=4 + terrain=hills +} +570 = { + title=c_tver + max_settlements=5 + terrain=plains +} +571 = { + title=c_uglich + max_settlements=4 + terrain=plains +} +572 = { + title=c_yaroslavl + max_settlements=4 + terrain=forest +} +573 = { + title=c_pereyaslavl_zalessky + max_settlements=5 + terrain=hills +} +574 = { + title=c_rostov + max_settlements=5 + terrain=plains +} +575 = { + title=c_moskva + max_settlements=6 + terrain=plains +} +576 = { + title=c_bryansk + max_settlements=5 + terrain=plains +} +577 = { + title=c_pronsk + max_settlements=4 + terrain=plains +} +578 = { + title=c_kolomna + max_settlements=4 + terrain=plains +} +579 = { + title=c_mordva + max_settlements=4 + terrain=steppe +} +580 = { + title=c_ryazan + max_settlements=5 + terrain=plains +} +581 = { + title=c_murom + max_settlements=5 + terrain=plains +} +582 = { + title=c_vladimir + max_settlements=6 + terrain=plains +} +583 = { + title=c_suzdal + max_settlements=6 + terrain=plains +} +584 = { + title=c_nizhny_novgorod + max_settlements=4 + terrain=plains +} +585 = { + title=c_gorodez + max_settlements=4 + terrain=plains +} +586 = { + title=c_galich_mersky + max_settlements=4 + terrain=forest +} +587 = { + title=c_mozhaysk + max_settlements=5 + terrain=plains +} +588 = { + title=c_merya + max_settlements=3 + terrain=forest +} +589 = { + title=c_grassland_cheremisa + max_settlements=4 + terrain=arctic +} +590 = { + title=c_chuvash + max_settlements=4 + terrain=forest +} +591 = { + title=c_mountain_cheremisa + max_settlements=4 + terrain=plains +} +592 = { + title=c_burtasy + max_settlements=5 + terrain=hills +} +593 = { + title=c_khopyor + max_settlements=4 + terrain=steppe +} +594 = { + title=c_sarkel + max_settlements=4 + terrain=steppe +} +595 = { + title=c_don_portage + max_settlements=3 + terrain=steppe +} +596 = { + title=c_tana + max_settlements=4 + terrain=steppe +} +597 = { + title=c_azov + max_settlements=3 + terrain=steppe +} +598 = { + title=c_tmutarakan + max_settlements=5 + terrain=steppe +} +599 = { + title=c_kuban + max_settlements=3 + terrain=steppe +} +600 = { + title=c_abkhazia + max_settlements=5 + terrain=plains +} +601 = { + title=c_imeretia + max_settlements=4 + terrain=hills +} +602 = { + title=c_kasogs + max_settlements=3 + terrain=mountain +} +603 = { + title=c_alania + max_settlements=5 + terrain=steppe +} +604 = { + title=c_kuma + max_settlements=5 + terrain=steppe +} +605 = { + title=c_manych + max_settlements=4 + terrain=steppe +} +606 = { + title=c_yegorlyk + max_settlements=4 + terrain=steppe +} +607 = { + title=c_sarpa + max_settlements=3 + terrain=steppe +} +608 = { + title=c_lower_volga + max_settlements=3 + terrain=steppe +} +609 = { + title=c_syrt + max_settlements=4 + terrain=steppe +} +610 = { + title=c_bulgar + max_settlements=5 + terrain=steppe +} +611 = { + title=c_qazan + max_settlements=5 + terrain=steppe +} +612 = { + title=c_votyaki + max_settlements=3 + terrain=arctic +} +613 = { + title=c_bilyar + max_settlements=5 + terrain=steppe +} +614 = { + title=c_ashli + max_settlements=5 + terrain=steppe +} +615 = { + title=c_bashkirs + max_settlements=4 + terrain=hills +} +616 = { + title=c_pecheneg + max_settlements=3 + terrain=steppe +} +617 = { + title=c_uzens + max_settlements=3 + terrain=steppe +} +618 = { + title=c_guryev + max_settlements=4 + terrain=steppe +} +619 = { + title=c_saray + max_settlements=6 + terrain=steppe +} +620 = { + title=c_itil + max_settlements=5 + terrain=steppe +} +621 = { + title=c_kangly + max_settlements=5 + terrain=steppe +} +622 = { + title=c_turkestan + max_settlements=5 + terrain=steppe +} +623 = { + title=c_aral + max_settlements=3 + terrain=steppe +} +624 = { + title=c_mangyshlak + max_settlements=4 + terrain=desert +} +625 = { + title=c_usturt + max_settlements=3 + terrain=desert +} +626 = { + title=c_khiva + max_settlements=7 + terrain=steppe +} +627 = { + title=c_kara-kum + max_settlements=3 + terrain=desert +} +628 = { + title=c_bukhara + max_settlements=5 + terrain=steppe +} +629 = { + title=c_konjikala + max_settlements=3 + terrain=desert +} +630 = { + title=c_merv + max_settlements=5 + terrain=plains +} +631 = { + title=c_dihistan + max_settlements=3 + terrain=desert +} +632 = { + title=c_tus + max_settlements=4 + terrain=mountain +} +633 = { + title=c_gurgan + max_settlements=5 + terrain=mountain +} +634 = { + title=c_nishapur + max_settlements=6 + terrain=mountain +} +635 = { + title=c_qohistan + max_settlements=4 + terrain=desert +} +636 = { + title=c_lut + max_settlements=5 + terrain=desert +} +637 = { + title=c_sistan + max_settlements=6 + terrain=mountain +} +638 = { + title=c_yazd + max_settlements=4 + terrain=mountain +} +639 = { + title=c_kerman + max_settlements=4 + terrain=mountain +} +640 = { + title=c_sirjan + max_settlements=4 + terrain=mountain +} +641 = { + title=c_hormuz + max_settlements=5 + terrain=desert +} +642 = { + title=c_ladistan + max_settlements=5 + terrain=desert +} +643 = { + title=c_fars + max_settlements=5 + terrain=desert +} +644 = { + title=c_shiraz + max_settlements=4 + terrain=mountain +} +645 = { + title=c_hendjan + max_settlements=4 + terrain=desert +} +646 = { + title=c_esfahan + max_settlements=7 + terrain=mountain +} +647 = { + title=c_avhaz + max_settlements=5 + terrain=mountain +} +648 = { + title=c_khozistan + max_settlements=5 + terrain=desert +} +649 = { + title=c_basra + max_settlements=6 + terrain=desert +} +650 = { + title=c_kuwait + max_settlements=3 + terrain=desert +} +651 = { + title=c_damman + max_settlements=4 + terrain=desert +} +652 = { + title=c_al_hasa + max_settlements=5 + terrain=desert +} +653 = { + title=c_bahrein + max_settlements=4 + terrain=plains +} +654 = { + title=c_rummah + max_settlements=2 + terrain=desert +} +655 = { + title=c_kufa + max_settlements=5 + terrain=desert +} +656 = { + title=c_tigris + max_settlements=7 + terrain=plains +} +657 = { + title=c_luristan + max_settlements=6 + terrain=mountain +} +658 = { + title=c_hamadan + max_settlements=6 + terrain=mountain +} +659 = { + title=c_qom + max_settlements=5 + terrain=mountain +} +660 = { + title=c_qwivir + max_settlements=5 + terrain=desert +} +661 = { + title=c_tabaristan + max_settlements=5 + terrain=mountain +} +662 = { + title=c_mazandaran + max_settlements=5 + terrain=mountain +} +663 = { + title=c_rayy + max_settlements=7 + terrain=mountain +} +664 = { + title=c_qazwin + max_settlements=5 + terrain=mountain +} +665 = { + title=c_dailam + max_settlements=5 + terrain=mountain +} +666 = { + title=c_gilan + max_settlements=6 + terrain=mountain +} +667 = { + title=c_tabriz + max_settlements=5 + terrain=mountain +} +668 = { + title=c_shirvan + max_settlements=4 + terrain=plains +} +669 = { + title=c_shemakha + max_settlements=3 + terrain=plains +} +670 = { + title=c_azerbaijan + max_settlements=4 + terrain=mountain +} +671 = { + title=c_suenik + max_settlements=3 + terrain=mountain +} +672 = { + title=c_dwin + max_settlements=3 + terrain=mountain +} +673 = { + title=c_albania + max_settlements=4 + terrain=plains +} +674 = { + title=c_derbent + max_settlements=4 + terrain=mountain +} +675 = { + title=c_semender + max_settlements=4 + terrain=steppe +} +676 = { + title=c_kakheti + max_settlements=4 + terrain=hills +} +677 = { + title=c_guria + max_settlements=4 + terrain=mountain +} +678 = { + title=c_trapezous + max_settlements=5 + terrain=plains +} +679 = { + title=c_kartli + max_settlements=4 + terrain=hills +} +680 = { + title=c_tao + max_settlements=4 + terrain=mountain +} +681 = { + title=c_ani + max_settlements=4 + terrain=mountain +} +682 = { + title=c_vaspurakan + max_settlements=4 + terrain=mountain +} +683 = { + title=c_amida + max_settlements=4 + terrain=mountain +} +684 = { + title=c_nisibin + max_settlements=4 + terrain=desert +} +685 = { + title=c_kurdistan + max_settlements=5 + terrain=mountain +} +686 = { + title=c_oromieh + max_settlements=6 + terrain=mountain +} +687 = { + title=c_kirkuk + max_settlements=5 + terrain=mountain +} +688 = { + title=c_kermanshah + max_settlements=6 + terrain=mountain +} +689 = { + title=c_ilam + max_settlements=6 + terrain=plains +} +690 = { + title=c_al_amarah + max_settlements=5 + terrain=plains +} +691 = { + title=c_al_nasiryah + max_settlements=5 + terrain=desert +} +692 = { + title=c_al_nadjaf + max_settlements=4 + terrain=desert +} +693 = { + title=c_baghdad + max_settlements=7 + terrain=plains +} +694 = { + title=c_karbala + max_settlements=4 + terrain=desert +} +695 = { + title=c_deir + max_settlements=6 + terrain=plains +} +696 = { + title=c_euphrates + max_settlements=6 + terrain=plains +} +697 = { + title=c_mosul + max_settlements=6 + terrain=plains +} +698 = { + title=c_al_jazira + max_settlements=3 + terrain=desert +} +699 = { + title=c_edessa + max_settlements=5 + terrain=mountain +} +700 = { + title=c_bira + max_settlements=4 + terrain=desert +} +701 = { + title=c_taron + max_settlements=4 + terrain=desert +} +702 = { + title=c_mesopotamia + max_settlements=4 + terrain=mountain +} +703 = { + title=c_karin + max_settlements=4 + terrain=mountain +} +704 = { + title=c_theodosiopolis + max_settlements=4 + terrain=mountain +} +705 = { + title=c_chaldea + max_settlements=4 + terrain=mountain +} +706 = { + title=c_koloneia + max_settlements=4 + terrain=mountain +} +707 = { + title=c_melitene + max_settlements=4 + terrain=mountain +} +708 = { + title=c_tell_bashir + max_settlements=4 + terrain=desert +} +709 = { + title=c_asas + max_settlements=4 + terrain=plains +} +710 = { + title=c_al_bichri + max_settlements=3 + terrain=plains +} +711 = { + title=c_sinjar + max_settlements=4 + terrain=desert +} +712 = { + title=c_suwaida + max_settlements=4 + terrain=desert +} +713 = { + title=c_druz + max_settlements=4 + terrain=desert +} +714 = { + title=c_az_zarqa + max_settlements=4 + terrain=desert +} +715 = { + title=c_al_habbariyah + max_settlements=4 + terrain=desert +} +716 = { + title=c_ar_ar + max_settlements=3 + terrain=desert +} +717 = { + title=c_al_jawf + max_settlements=3 + terrain=desert +} +718 = { + title=c_medina + max_settlements=5 + terrain=desert +} +719 = { + title=c_mecca + max_settlements=6 + terrain=mountain +} +720 = { + title=c_hijaz + max_settlements=4 + terrain=mountain +} +721 = { + title=c_tabuk + max_settlements=4 + terrain=mountain +} +722 = { + title=c_petra + max_settlements=4 + terrain=mountain +} +723 = { + title=c_madaba + max_settlements=4 + terrain=desert +} +724 = { + title=c_amman + max_settlements=3 + terrain=desert +} +725 = { + title=c_irbid + max_settlements=4 + terrain=desert +} +726 = { + title=c_al_mafraq + max_settlements=3 + terrain=desert +} +727 = { + title=c_syria + max_settlements=4 + terrain=desert +} +728 = { + title=c_damascus + max_settlements=6 + terrain=desert +} +729 = { + title=c_tadmor + max_settlements=3 + terrain=desert +} +730 = { + title=c_palmyra + max_settlements=3 + terrain=desert +} +731 = { + title=c_homs + max_settlements=5 + terrain=plains +} +732 = { + title=c_hama + max_settlements=5 + terrain=plains +} +733 = { + title=c_aleppo + max_settlements=6 + terrain=mountain +} +734 = { + title=c_aintab + max_settlements=3 + terrain=mountain +} +735 = { + title=c_teluch + max_settlements=4 + terrain=plains +} +736 = { + title=c_lykandos + max_settlements=4 + terrain=mountain +} +737 = { + title=c_kaisereia + max_settlements=5 + terrain=mountain +} +738 = { + title=c_amisos + max_settlements=5 + terrain=mountain +} +739 = { + title=c_sinope + max_settlements=4 + terrain=mountain +} +740 = { + title=c_herakleia + max_settlements=5 + terrain=mountain +} +741 = { + title=c_nikomedeia + max_settlements=6 + terrain=plains +} +742 = { + title=c_prusa + max_settlements=5 + terrain=mountain +} +743 = { + title=c_kyzikos + max_settlements=5 + terrain=hills +} +744 = { + title=c_abydos + max_settlements=4 + terrain=hills +} +745 = { + title=c_smyrna + max_settlements=6 + terrain=hills +} +746 = { + title=c_ephesos + max_settlements=4 + terrain=plains +} +747 = { + title=c_lykia + max_settlements=4 + terrain=mountain +} +748 = { + title=c_laodikeia + max_settlements=5 + terrain=mountain +} +749 = { + title=c_dorylaion + max_settlements=4 + terrain=mountain +} +750 = { + title=c_nikaea + max_settlements=5 + terrain=mountain +} +751 = { + title=c_paphlagonia + max_settlements=4 + terrain=mountain +} +752 = { + title=c_galatia + max_settlements=4 + terrain=mountain +} +753 = { + title=c_ankyra + max_settlements=4 + terrain=mountain +} +754 = { + title=c_sozopolis + max_settlements=3 + terrain=mountain +} +755 = { + title=c_attaleia + max_settlements=3 + terrain=mountain +} +756 = { + title=c_limisol + max_settlements=4 + terrain=plains +} +757 = { + title=c_famagusta + max_settlements=4 + terrain=plains +} +758 = { + title=c_seleukeia + max_settlements=4 + terrain=mountain +} +759 = { + title=c_ikonion + max_settlements=5 + terrain=desert +} +760 = { + title=c_tyana + max_settlements=4 + terrain=desert +} +761 = { + title=c_tarsos + max_settlements=4 + terrain=mountain +} +762 = { + title=c_adana + max_settlements=4 + terrain=mountain +} +763 = { + title=c_alexandretta + max_settlements=4 + terrain=mountain +} +764 = { + title=c_antiocheia + max_settlements=6 + terrain=plains +} +765 = { + title=c_archa + max_settlements=5 + terrain=mountain +} +766 = { + title=c_tortosa + max_settlements=5 + terrain=plains +} +767 = { + title=c_tripoli + max_settlements=5 + terrain=mountain +} +768 = { + title=c_baalbek + max_settlements=4 + terrain=mountain +} +769 = { + title=c_safed + max_settlements=4 + terrain=desert +} +770 = { + title=c_beirut + max_settlements=5 + terrain=mountain +} +771 = { + title=c_tyrus + max_settlements=5 + terrain=mountain +} +772 = { + title=c_acre + max_settlements=5 + terrain=plains +} +773 = { + title=c_tiberias + max_settlements=4 + terrain=desert +} +774 = { + title=c_jerusalem + max_settlements=6 + terrain=mountain +} +775 = { + title=c_jaffa + max_settlements=5 + terrain=plains +} +776 = { + title=c_hebron + max_settlements=3 + terrain=mountain +} +777 = { + title=c_kerak + max_settlements=3 + terrain=mountain +} +778 = { + title=c_monreal + max_settlements=4 + terrain=mountain +} +779 = { + title=c_beersheb + max_settlements=3 + terrain=mountain +} +780 = { + title=c_ascalon + max_settlements=5 + terrain=plains +} +781 = { + title=c_darum + max_settlements=3 + terrain=mountain +} +782 = { + title=c_negev + max_settlements=2 + terrain=desert +} +783 = { + title=c_maan + max_settlements=4 + terrain=desert +} +784 = { + title=c_al_aqabah + max_settlements=4 + terrain=mountain +} +785 = { + title=c_sinai + max_settlements=2 + terrain=mountain +} +786 = { + title=c_eilat + max_settlements=3 + terrain=mountain +} +787 = { + title=c_el-arish + max_settlements=2 + terrain=mountain +} +788 = { + title=c_farama + max_settlements=3 + terrain=desert +} +789 = { + title=c_pelusia + max_settlements=5 + terrain=plains +} +790 = { + title=c_sarqihya + max_settlements=5 + terrain=desert +} +791 = { + title=c_quena + max_settlements=5 + terrain=mountain +} +792 = { + title=c_nubia + max_settlements=3 + terrain=desert +} +793 = { + title=c_makuria + max_settlements=6 + terrain=desert +} +794 = { + title=c_aswan + max_settlements=5 + terrain=desert +} +795 = { + title=c_asyut + max_settlements=4 + terrain=desert +} +796 = { + title=c_cairo + max_settlements=7 + terrain=desert +} +797 = { + title=c_manupura + max_settlements=5 + terrain=plains +} +798 = { + title=c_delta + max_settlements=5 + terrain=plains +} +799 = { + title=c_gabiyaha + max_settlements=5 + terrain=plains +} +800 = { + title=c_gizeh + max_settlements=4 + terrain=desert +} +801 = { + title=c_buhairya + max_settlements=4 + terrain=desert +} +802 = { + title=c_alexandria + max_settlements=7 + terrain=desert +} +803 = { + title=c_quattara + max_settlements=2 + terrain=desert +} +804 = { + title=c_al_alamayn + max_settlements=4 + terrain=desert +} +805 = { + title=c_tobruk + max_settlements=3 + terrain=desert +} +806 = { + title=c_cyrenaica + max_settlements=5 + terrain=desert +} +807 = { + title=c_senoussi + max_settlements=2 + terrain=desert +} +808 = { + title=c_benghazi + max_settlements=5 + terrain=plains +} +809 = { + title=c_syrte + max_settlements=4 + terrain=desert +} +810 = { + title=c_leptis_magna + max_settlements=4 + terrain=desert +} +811 = { + title=c_tripolitana + max_settlements=5 + terrain=desert +} +812 = { + title=c_malta + max_settlements=4 + terrain=hills +} +813 = { + title=c_djerba + max_settlements=3 + terrain=desert +} +814 = { + title=c_gabes + max_settlements=4 + terrain=desert +} +815 = { + title=c_kairwan + max_settlements=4 + terrain=desert +} +816 = { + title=c_mahdia + max_settlements=5 + terrain=plains +} +817 = { + title=c_tunis + max_settlements=6 + terrain=plains +} +818 = { + title=c_medjerda + max_settlements=5 + terrain=mountain +} +819 = { + title=c_bizerte + max_settlements=5 + terrain=plains +} +820 = { + title=c_annaba + max_settlements=4 + terrain=plains +} +821 = { + title=c_constantine + max_settlements=4 + terrain=mountain +} +822 = { + title=c_bejaija + max_settlements=4 + terrain=plains +} +823 = { + title=c_biskra + max_settlements=3 + terrain=mountain +} +824 = { + title=c_tell_atlas + max_settlements=3 + terrain=desert +} +825 = { + title=c_beni_yanni + max_settlements=4 + terrain=plains +} +826 = { + title=c_menorca + max_settlements=4 + terrain=hills +} +827 = { + title=c_mallorca + max_settlements=4 + terrain=mountain +} +828 = { + title=c_ouled_nail + max_settlements=3 + terrain=desert +} +829 = { + title=c_mzab + max_settlements=2 + terrain=mountain +} +830 = { + title=c_lemdiyya + max_settlements=3 + terrain=mountain +} +831 = { + title=c_al_djazair + max_settlements=6 + terrain=plains +} +832 = { + title=c_orania + max_settlements=4 + terrain=plains +} +833 = { + title=c_atlas_mnt + max_settlements=3 + terrain=mountain +} +834 = { + title=c_tlemcen + max_settlements=4 + terrain=plains +} +835 = { + title=c_hanyan + max_settlements=2 + terrain=mountain +} +836 = { + title=c_snassen + max_settlements=5 + terrain=plains +} +837 = { + title=c_figuig + max_settlements=5 + terrain=mountain +} +838 = { + title=c_el_rif + max_settlements=4 + terrain=mountain +} +839 = { + title=c_cebta + max_settlements=4 + terrain=plains +} +840 = { + title=c_fes + max_settlements=6 + terrain=mountain +} +841 = { + title=c_tangiers + max_settlements=6 + terrain=plains +} +842 = { + title=c_infa + max_settlements=4 + terrain=plains +} +843 = { + title=c_marrakech + max_settlements=7 + terrain=mountain +} +844 = { + title=c_massat + max_settlements=5 + terrain=plains +} +845 = { + title=c_anti-atlas + max_settlements=4 + terrain=mountain +} +846 = { + title=c_ifni + max_settlements=3 + terrain=desert +} +847 = { + title=c_tharasset + max_settlements=3 + terrain=desert +} +848 = { + title=c_bremen + max_settlements=5 + terrain=plains +} +849 = { + title=c_canarias + max_settlements=3 + terrain=plains +} +850 = { + title=c_kandalax + max_settlements=2 + terrain=forest +} +851 = { + title=c_capua + max_settlements=5 + terrain=plains +} +852 = { + title=c_zahedan + max_settlements=4 + terrain=mountain +} +853 = { + title=c_bam + max_settlements=3 + terrain=desert +} +854 = { + title=c_jask + max_settlements=3 + terrain=mountain +} +855 = { + title=c_mahra + max_settlements=3 + terrain=desert +} +856 = { + title=c_kathiri + max_settlements=4 + terrain=desert +} +857 = { + title=c_bayda + max_settlements=3 + terrain=mountain +} +858 = { + title=c_aden + max_settlements=6 + terrain=mountain +} +859 = { + title=c_taizz + max_settlements=5 + terrain=mountain +} +860 = { + title=c_sanaa + max_settlements=6 + terrain=mountain +} +861 = { + title=c_asir + max_settlements=4 + terrain=mountain +} +862 = { + title=c_halaban + max_settlements=2 + terrain=desert +} +863 = { + title=c_hajr + max_settlements=2 + terrain=desert +} +864 = { + title=c_hail + max_settlements=2 + terrain=desert +} +865 = { + title=c_rafha + max_settlements=2 + terrain=desert +} +866 = { + title=c_dhofar + max_settlements=4 + terrain=desert +} +867 = { + title=c_duqm + max_settlements=3 + terrain=desert +} +868 = { + title=c_muscat + max_settlements=6 + terrain=desert +} +869 = { + title=c_hajar + max_settlements=4 + terrain=desert +} +870 = { + title=c_dhu_zabi + max_settlements=5 + terrain=plains +} +871 = { + title=c_busaso + max_settlements=3 + terrain=desert +} +872 = { + title=c_berbera + max_settlements=4 + terrain=desert +} +873 = { + title=c_harer + max_settlements=4 + terrain=mountain +} +874 = { + title=c_tadjoura + max_settlements=3 + terrain=plains +} +875 = { + title=c_aksum + max_settlements=7 + terrain=mountain +} +876 = { + title=c_akordat + max_settlements=4 + terrain=desert +} +877 = { + title=c_kassala + max_settlements=3 + terrain=plains +} +878 = { + title=c_hayya + max_settlements=4 + terrain=desert +} +879 = { + title=c_atbara + max_settlements=5 + terrain=desert +} +880 = { + title=c_sennar + max_settlements=5 + terrain=plains +} +881 = { + title=c_asosa + max_settlements=4 + terrain=mountain +} +882 = { + title=c_ankober + max_settlements=4 + terrain=mountain +} +883 = { + title=c_gondar + max_settlements=5 + terrain=mountain +} +884 = { + title=c_antalo + max_settlements=3 + terrain=mountain +} +885 = { + title=c_matamma + max_settlements=4 + terrain=mountain +} +886 = { + title=c_perm + max_settlements=3 + terrain=forest +} +887 = { + title=c_yamalia + max_settlements=2 + terrain=arctic +} +888 = { + title=c_komi + max_settlements=2 + terrain=arctic +} +889 = { + title=c_ural + max_settlements=3 + terrain=hills +} +890 = { + title=c_khantia + max_settlements=3 + terrain=arctic +} +891 = { + title=c_tyumen + max_settlements=3 + terrain=steppe +} +892 = { + title=c_mansia + max_settlements=3 + terrain=arctic +} +893 = { + title=c_sibir + max_settlements=3 + terrain=plains +} +894 = { + title=c_saravan + max_settlements=3 + terrain=desert +} +895 = { + title=c_yaik + max_settlements=3 + terrain=steppe +} +896 = { + title=c_aqtobe + max_settlements=3 + terrain=steppe +} +897 = { + title=c_inder + max_settlements=3 + terrain=steppe +} +898 = { + title=c_tobol + max_settlements=4 + terrain=steppe +} +899 = { + title=c_tis + max_settlements=3 + terrain=desert +} +900 = { + title=c_syr_darya + max_settlements=5 + terrain=steppe +} +901 = { + title=c_kyzylkum + max_settlements=3 + terrain=desert +} +902 = { + title=c_dashhowuz + max_settlements=3 + terrain=desert +} +903 = { + title=c_samarkand + max_settlements=6 + terrain=steppe +} +904 = { + title=c_balkh + max_settlements=5 + terrain=steppe +} +905 = { + title=c_herat + max_settlements=5 + terrain=desert +} +906 = { + title=c_birjand + max_settlements=5 + terrain=mountain +} +907 = { + title=c_mandesh + max_settlements=3 + terrain=mountain +} +908 = { + max_settlements=7 + terrain=desert +} +909 = { + max_settlements=7 + terrain=desert +} +910 = { + max_settlements=7 + terrain=forest +} +911 = { + title=c_timbuktu + max_settlements=5 + terrain=plains +} +912 = { + title=c_aoudaghost + max_settlements=3 + terrain=desert +} +913 = { + title=c_ghana + max_settlements=4 + terrain=desert +} +914 = { + title=c_gao + max_settlements=4 + terrain=plains +} +915 = { + title=c_djenne + max_settlements=5 + terrain=plains +} +916 = { + title=c_taghaza + max_settlements=1 + terrain=desert +} +917 = { + title=c_araouane + max_settlements=1 + terrain=desert +} +918 = { + title=c_sijilmasa + max_settlements=1 + terrain=desert +} +919 = { + title=c_oualata + max_settlements=2 + terrain=desert +} +920 = { + title=c_ouadane + max_settlements=1 + terrain=desert +} +921 = { + title=c_idjil + max_settlements=1 + terrain=desert +} +922 = { + title=c_tadmekka + max_settlements=2 + terrain=desert +} +923 = { + max_settlements=7 + terrain=desert +} +924 = { + max_settlements=7 + terrain=desert +} +925 = { + title=c_mali + max_settlements=4 + terrain=plains +} +926 = { + title=c_bambuk + max_settlements=3 + terrain=plains +} +927 = { + title=c_zarma + max_settlements=3 + terrain=plains +} +928 = { + title=c_gurma + max_settlements=3 + terrain=forest +} +929 = { + title=c_aprutium + max_settlements=4 + terrain=mountain +} +930 = { + title=c_bar + max_settlements=4 + terrain=plains +} +931 = { + title=c_more + max_settlements=3 + terrain=plains +} +932 = { + title=c_tjust + max_settlements=3 + terrain=plains +} +933 = { + title=c_roslavl + max_settlements=3 + terrain=forest +} +934 = { + title=c_lepiel + max_settlements=3 + terrain=plains +} +935 = { + title=c_amalfi + max_settlements=4 + terrain=plains +} +936 = { + max_settlements=7 + terrain=coastal_desert +} +937 = { + max_settlements=7 + terrain=coastal_desert +} +938 = { + max_settlements=7 + terrain=coastal_desert +} +939 = { + max_settlements=7 + terrain=coastal_desert +} +940 = { + max_settlements=7 + terrain=coastal_desert +} +941 = { + max_settlements=7 + terrain=coastal_desert +} +942 = { + max_settlements=7 + terrain=coastal_desert +} +943 = { + max_settlements=7 + terrain=coastal_desert +} +944 = { + max_settlements=7 + terrain=coastal_desert +} +945 = { + max_settlements=7 + terrain=coastal_desert +} +946 = { + max_settlements=7 + terrain=coastal_desert +} +947 = { + max_settlements=7 + terrain=coastal_desert +} +948 = { + max_settlements=7 + terrain=coastal_desert +} +949 = { + max_settlements=7 + terrain=coastal_desert +} +950 = { + max_settlements=7 + terrain=coastal_desert +} +951 = { + max_settlements=7 + terrain=coastal_desert +} +952 = { + max_settlements=7 + terrain=coastal_desert +} +953 = { + max_settlements=7 + terrain=coastal_desert +} +954 = { + max_settlements=7 + terrain=coastal_desert +} +955 = { + max_settlements=7 + terrain=coastal_desert +} +956 = { + max_settlements=7 + terrain=coastal_desert +} +957 = { + max_settlements=7 + terrain=coastal_desert +} +958 = { + max_settlements=7 + terrain=coastal_desert +} +959 = { + max_settlements=7 + terrain=coastal_desert +} +960 = { + max_settlements=7 + terrain=coastal_desert +} +961 = { + max_settlements=7 + terrain=coastal_desert +} +962 = { + max_settlements=7 + terrain=coastal_desert +} +963 = { + max_settlements=7 + terrain=coastal_desert +} +964 = { + max_settlements=7 + terrain=coastal_desert +} +965 = { + max_settlements=7 + terrain=coastal_desert +} +966 = { + max_settlements=7 + terrain=coastal_desert +} +967 = { + max_settlements=7 + terrain=coastal_desert +} +968 = { + max_settlements=7 + terrain=coastal_desert +} +969 = { + max_settlements=7 + terrain=coastal_desert +} +970 = { + max_settlements=7 + terrain=coastal_desert +} +971 = { + max_settlements=7 + terrain=coastal_desert +} +972 = { + max_settlements=7 + terrain=coastal_desert +} +973 = { + max_settlements=7 + terrain=coastal_desert +} +974 = { + max_settlements=7 + terrain=coastal_desert +} +975 = { + max_settlements=7 + terrain=coastal_desert +} +976 = { + max_settlements=7 + terrain=coastal_desert +} +977 = { + max_settlements=7 + terrain=coastal_desert +} +978 = { + max_settlements=7 + terrain=coastal_desert +} +979 = { + max_settlements=7 + terrain=coastal_desert +} +980 = { + max_settlements=7 + terrain=coastal_desert +} +981 = { + max_settlements=7 + terrain=coastal_desert +} +982 = { + max_settlements=7 + terrain=coastal_desert +} +983 = { + max_settlements=7 + terrain=coastal_desert +} +984 = { + max_settlements=7 + terrain=coastal_desert +} +985 = { + max_settlements=7 + terrain=coastal_desert +} +986 = { + max_settlements=7 + terrain=coastal_desert +} +987 = { + max_settlements=7 + terrain=coastal_desert +} +988 = { + max_settlements=7 + terrain=coastal_desert +} +989 = { + max_settlements=7 + terrain=coastal_desert +} +990 = { + max_settlements=7 + terrain=coastal_desert +} +991 = { + max_settlements=7 + terrain=coastal_desert +} +992 = { + max_settlements=7 + terrain=coastal_desert +} +993 = { + max_settlements=7 + terrain=coastal_desert +} +994 = { + max_settlements=7 + terrain=coastal_desert +} +995 = { + max_settlements=7 + terrain=coastal_desert +} +996 = { + max_settlements=7 + terrain=coastal_desert +} +997 = { + max_settlements=7 + terrain=coastal_desert +} +998 = { + max_settlements=7 + terrain=coastal_desert +} +999 = { + max_settlements=7 + terrain=coastal_desert +} +1000 = { + max_settlements=7 + terrain=coastal_desert +} +1001 = { + max_settlements=7 + terrain=coastal_desert +} +1002 = { + max_settlements=7 + terrain=coastal_desert +} +1003 = { + max_settlements=7 + terrain=coastal_desert +} +1004 = { + max_settlements=7 + terrain=coastal_desert +} +1005 = { + max_settlements=7 + terrain=coastal_desert +} +1006 = { + max_settlements=7 + terrain=coastal_desert +} +1007 = { + max_settlements=7 + terrain=coastal_desert +} +1008 = { + max_settlements=7 + terrain=coastal_desert +} +1009 = { + max_settlements=7 + terrain=coastal_desert +} +1010 = { + max_settlements=7 + terrain=coastal_desert +} +1011 = { + max_settlements=7 + terrain=coastal_desert +} +1012 = { + max_settlements=7 + terrain=coastal_desert +} +1013 = { + title=c_lori + max_settlements=3 + terrain=mountain +} +1014 = { + max_settlements=7 + terrain=coastal_desert +} +1015 = { + max_settlements=7 + terrain=coastal_desert +} +1016 = { + max_settlements=7 + terrain=coastal_desert +} +1017 = { + max_settlements=7 + terrain=coastal_desert +} +1018 = { + max_settlements=7 + terrain=coastal_desert +} +1019 = { + max_settlements=7 + terrain=coastal_desert +} +1020 = { + max_settlements=7 + terrain=coastal_desert +} +1021 = { + max_settlements=7 + terrain=coastal_desert +} +1022 = { + max_settlements=7 + terrain=coastal_desert +} +1023 = { + max_settlements=7 + terrain=coastal_desert +} +1024 = { + max_settlements=7 + terrain=coastal_desert +} +1025 = { + max_settlements=7 + terrain=coastal_desert +} +1026 = { + max_settlements=7 + terrain=coastal_desert +} +1027 = { + max_settlements=7 + terrain=coastal_desert +} +1028 = { + max_settlements=7 + terrain=coastal_desert +} +1029 = { + max_settlements=7 + terrain=coastal_desert +} +1030 = { + max_settlements=7 + terrain=coastal_desert +} +1031 = { + max_settlements=7 + terrain=coastal_desert +} +1032 = { + max_settlements=7 + terrain=coastal_desert +} +1033 = { + max_settlements=7 + terrain=coastal_desert +} +1034 = { + max_settlements=7 + terrain=coastal_desert +} +1035 = { + max_settlements=7 + terrain=coastal_desert +} +1036 = { + max_settlements=7 + terrain=coastal_desert +} +1037 = { + max_settlements=7 + terrain=coastal_desert +} +1038 = { + max_settlements=7 + terrain=coastal_desert +} +1039 = { + max_settlements=7 + terrain=coastal_desert +} +1040 = { + max_settlements=7 + terrain=coastal_desert +} +1041 = { + max_settlements=7 + terrain=coastal_desert +} +1042 = { + max_settlements=7 + terrain=coastal_desert +} +1043 = { + max_settlements=7 + terrain=coastal_desert +} +1044 = { + max_settlements=7 + terrain=coastal_desert +} +1045 = { + max_settlements=7 + terrain=coastal_desert +} +1046 = { + max_settlements=7 + terrain=coastal_desert +} +1047 = { + max_settlements=7 + terrain=coastal_desert +} +1048 = { + max_settlements=7 + terrain=coastal_desert +} +1049 = { + max_settlements=7 + terrain=coastal_desert +} +1050 = { + max_settlements=7 + terrain=coastal_desert +} +1051 = { + max_settlements=7 + terrain=coastal_desert +} +1052 = { + max_settlements=7 + terrain=coastal_desert +} +1053 = { + max_settlements=7 + terrain=coastal_desert +} +1054 = { + max_settlements=7 + terrain=coastal_desert +} +1055 = { + max_settlements=7 + terrain=coastal_desert +} +1056 = { + max_settlements=7 + terrain=coastal_desert +} +1057 = { + max_settlements=7 + terrain=coastal_desert +} +1058 = { + max_settlements=7 + terrain=coastal_desert +} +1059 = { + max_settlements=7 + terrain=coastal_desert +} +1060 = { + max_settlements=7 + terrain=coastal_desert +} +1061 = { + max_settlements=7 + terrain=coastal_desert +} +1062 = { + max_settlements=7 + terrain=coastal_desert +} +1063 = { + max_settlements=7 + terrain=coastal_desert +} +1064 = { + max_settlements=7 + terrain=coastal_desert +} +1065 = { + max_settlements=7 + terrain=coastal_desert +} +1066 = { + max_settlements=7 + terrain=coastal_desert +} +1067 = { + max_settlements=7 + terrain=coastal_desert +} +1068 = { + max_settlements=7 + terrain=coastal_desert +} +1069 = { + max_settlements=7 + terrain=coastal_desert +} +1070 = { + max_settlements=7 + terrain=coastal_desert +} +1071 = { + max_settlements=7 + terrain=coastal_desert +} +1072 = { + max_settlements=7 + terrain=coastal_desert +} +1073 = { + max_settlements=7 + terrain=coastal_desert +} +1074 = { + max_settlements=7 + terrain=coastal_desert +} +1075 = { + max_settlements=7 + terrain=coastal_desert +} +1076 = { + max_settlements=7 + terrain=coastal_desert +} +1077 = { + max_settlements=7 + terrain=coastal_desert +} +1078 = { + max_settlements=7 + terrain=coastal_desert +} +1079 = { + max_settlements=7 + terrain=coastal_desert +} +1080 = { + max_settlements=7 + terrain=coastal_desert +} +1081 = { + max_settlements=7 + terrain=coastal_desert +} +1082 = { + max_settlements=7 + terrain=coastal_desert +} +1083 = { + max_settlements=7 + terrain=coastal_desert +} +1084 = { + max_settlements=7 + terrain=coastal_desert +} +1085 = { + max_settlements=7 + terrain=coastal_desert +} +1086 = { + max_settlements=7 + terrain=coastal_desert +} +1087 = { + max_settlements=7 + terrain=coastal_desert +} +1088 = { + max_settlements=7 + terrain=coastal_desert +} +1089 = { + max_settlements=7 + terrain=coastal_desert +} +1090 = { + max_settlements=7 + terrain=coastal_desert +} +1091 = { + max_settlements=7 + terrain=coastal_desert +} +1092 = { + max_settlements=7 + terrain=coastal_desert +} +1093 = { + max_settlements=7 + terrain=coastal_desert +} +1094 = { + max_settlements=7 + terrain=coastal_desert +} +1095 = { + max_settlements=7 + terrain=coastal_desert +} +1096 = { + max_settlements=7 + terrain=coastal_desert +} +1097 = { + max_settlements=7 + terrain=coastal_desert +} +1098 = { + max_settlements=7 + terrain=coastal_desert +} +1099 = { + max_settlements=7 + terrain=coastal_desert +} +1100 = { + max_settlements=7 + terrain=coastal_desert +} +1101 = { + max_settlements=7 + terrain=coastal_desert +} +1102 = { + max_settlements=7 + terrain=coastal_desert +} +1103 = { + max_settlements=7 + terrain=coastal_desert +} +1104 = { + max_settlements=7 + terrain=coastal_desert +} +1105 = { + max_settlements=7 + terrain=coastal_desert +} +1106 = { + max_settlements=7 + terrain=coastal_desert +} +1107 = { + max_settlements=7 + terrain=coastal_desert +} +1108 = { + max_settlements=7 + terrain=coastal_desert +} +1109 = { + max_settlements=7 + terrain=coastal_desert +} +1110 = { + max_settlements=7 + terrain=coastal_desert +} +1111 = { + max_settlements=7 + terrain=coastal_desert +} +1112 = { + title=c_madurai + max_settlements=6 + terrain=plains +} +1113 = { + title=c_chagai + max_settlements=1 + terrain=mountain +} +1114 = { + title=c_mahoyadapuram + max_settlements=6 + terrain=plains +} +1115 = { + title=c_cholamandalam + max_settlements=7 + terrain=plains +} +1116 = { + title=c_tenkasi + max_settlements=3 + terrain=mountain +} +1117 = { + title=c_qalqut + max_settlements=4 + terrain=plains +} +1118 = { + title=c_manyapura + max_settlements=5 + terrain=jungle +} +1119 = { + title=c_kanchipuram + max_settlements=4 + terrain=plains +} +1120 = { + title=c_tagadur + max_settlements=5 + terrain=hills +} +1121 = { + title=c_uchangidurga + max_settlements=5 + terrain=plains +} +1122 = { + title=c_udayagiri + max_settlements=4 + terrain=jungle +} +1123 = { + title=c_vengipura + max_settlements=5 + terrain=plains +} +1124 = { + title=c_honnore + max_settlements=5 + terrain=hills +} +1125 = { + title=c_thana + max_settlements=6 + terrain=plains +} +1126 = { + title=c_daman + max_settlements=5 + terrain=plains +} +1127 = { + title=c_navasarika + max_settlements=6 + terrain=plains +} +1128 = { + title=c_vizagipatam + max_settlements=4 + terrain=jungle +} +1129 = { + title=c_kataka + max_settlements=6 + terrain=plains +} +1130 = { + title=c_mandavyapura + max_settlements=5 + terrain=desert +} +1131 = { + title=c_karmanta + max_settlements=2 + terrain=jungle +} +1132 = { + title=c_kirghiz + max_settlements=4 + terrain=steppe +} +1133 = { + title=c_vadodara + max_settlements=5 + terrain=plains +} +1134 = { + title=c_bhumilka + max_settlements=5 + terrain=plains +} +1135 = { + title=c_valabhi + max_settlements=5 + terrain=plains +} +1136 = { + title=c_dvaraka + max_settlements=4 + terrain=plains +} +1137 = { + title=c_mansura + max_settlements=5 + terrain=plains +} +1138 = { + title=c_bhakkar + max_settlements=5 + terrain=plains +} +1139 = { + title=c_makran + max_settlements=4 + terrain=mountain +} +1140 = { + title=c_banavasi + max_settlements=4 + terrain=mountain +} +1141 = { + title=c_kol + max_settlements=5 + terrain=plains +} +1142 = { + title=c_pratishthana + max_settlements=5 + terrain=plains +} +1143 = { + title=c_kalyani + max_settlements=4 + terrain=plains +} +1144 = { + title=c_kollipake + max_settlements=3 + terrain=plains +} +1145 = { + title=c_devagiri + max_settlements=5 + terrain=mountain +} +1146 = { + title=c_naldurg + max_settlements=5 + terrain=plains +} +1147 = { + title=c_mandapika + max_settlements=5 + terrain=plains +} +1148 = { + title=c_dasapura + max_settlements=4 + terrain=plains +} +1149 = { + title=c_dhara + max_settlements=5 + terrain=plains +} +1150 = { + title=c_sarangpur + max_settlements=4 + terrain=jungle +} +1151 = { + title=c_laksmanavati + max_settlements=7 + terrain=jungle +} +1152 = { + title=c_mudgagiri + max_settlements=5 + terrain=forest +} +1153 = { + title=c_kotivarsa + max_settlements=5 + terrain=plains +} +1154 = { + title=c_magadha + max_settlements=6 + terrain=jungle +} +1155 = { + title=c_sripuri + max_settlements=4 + terrain=jungle +} +1156 = { + title=c_kodalaka_mandala + max_settlements=5 + terrain=jungle +} +1157 = { + title=c_balkonda + max_settlements=4 + terrain=jungle +} +1158 = { + title=c_bidar + max_settlements=4 + terrain=plains +} +1159 = { + title=c_ramagiri + max_settlements=4 + terrain=plains +} +1160 = { + title=c_rayapura + max_settlements=4 + terrain=jungle +} +1161 = { + title=c_kasmira + max_settlements=6 + terrain=mountain +} +1162 = { + title=c_kusinagara + max_settlements=5 + terrain=forest +} +1163 = { + title=c_varanasi + max_settlements=5 + terrain=plains +} +1164 = { + title=c_chauragarh + max_settlements=2 + terrain=jungle +} +1165 = { + title=c_bandhugadha + max_settlements=3 + terrain=jungle +} +1166 = { + title=c_jaunpur + max_settlements=6 + terrain=jungle +} +1167 = { + title=c_lakhnau + max_settlements=5 + terrain=plains +} +1168 = { + title=c_katehar + max_settlements=3 + terrain=hills +} +1169 = { + title=c_kalpi + max_settlements=5 + terrain=plains +} +1170 = { + title=c_vidisa + max_settlements=5 + terrain=jungle +} +1171 = { + title=c_kalanjara + max_settlements=5 + terrain=jungle +} +1172 = { + title=c_gwalior + max_settlements=5 + terrain=plains +} +1173 = { + title=c_sambhal + max_settlements=5 + terrain=plains +} +1174 = { + title=c_godwad + max_settlements=5 + terrain=desert +} +1175 = { + title=c_aror + max_settlements=4 + terrain=plains +} +1176 = { + title=c_medantaka + max_settlements=3 + terrain=plains +} +1177 = { + title=c_kundina + max_settlements=3 + terrain=hills +} +1178 = { + title=c_karur + max_settlements=4 + terrain=plains +} +1179 = { + title=c_sakala + max_settlements=4 + terrain=plains +} +1180 = { + title=c_udabhanda + max_settlements=6 + terrain=plains +} +1181 = { + title=c_oshrusana + max_settlements=4 + terrain=steppe +} +1182 = { + title=c_ghazna + max_settlements=4 + terrain=mountain +} +1183 = { + title=c_bost + max_settlements=4 + terrain=desert +} +1184 = { + title=c_kalat + max_settlements=2 + terrain=mountain +} +1185 = { + title=c_kabul + max_settlements=5 + terrain=mountain +} +1186 = { + title=c_chach + max_settlements=4 + terrain=steppe +} +1187 = { + title=c_kunduz + max_settlements=4 + terrain=mountain +} +1188 = { + title=c_khuttal + max_settlements=3 + terrain=steppe +} +1189 = { + title=c_bamiyan + max_settlements=4 + terrain=mountain +} +1190 = { + title=c_gurjaratra + max_settlements=5 + terrain=plains +} +1191 = { + title=c_bannu + max_settlements=4 + terrain=desert +} +1192 = { + title=c_bhera + max_settlements=5 + terrain=jungle +} +1193 = { + title=c_trigarta + max_settlements=6 + terrain=plains +} +1194 = { + title=c_nagadipa + max_settlements=4 + terrain=plains +} +1195 = { + title=c_phiti + max_settlements=5 + terrain=plains +} +1196 = { + title=c_srirangapatna + max_settlements=6 + terrain=mountain +} +1197 = { + title=c_dwarasamudra + max_settlements=5 + terrain=mountain +} +1198 = { + title=c_vatapi + max_settlements=5 + terrain=hills +} +1199 = { + title=c_penugonda + max_settlements=4 + terrain=plains +} +1200 = { + title=c_kanara + max_settlements=5 + terrain=plains +} +1201 = { + title=c_kongu + max_settlements=5 + terrain=hills +} +1202 = { + title=c_kudalasangama + max_settlements=5 + terrain=plains +} +1203 = { + title=c_idatarainadu + max_settlements=6 + terrain=plains +} +1204 = { + title=c_nellore + max_settlements=5 + terrain=plains +} +1205 = { + title=c_narim + max_settlements=2 + terrain=arctic +} +1206 = { + title=c_taradavadi + max_settlements=4 + terrain=plains +} +1207 = { + title=c_amaravati + max_settlements=4 + terrain=jungle +} +1208 = { + title=c_kambampet + max_settlements=4 + terrain=plains +} +1209 = { + title=c_racakonda + max_settlements=3 + terrain=plains +} +1210 = { + title=c_manyakheta + max_settlements=5 + terrain=plains +} +1211 = { + title=c_pannagallu + max_settlements=3 + terrain=plains +} +1212 = { + title=c_lattalura + max_settlements=4 + terrain=plains +} +1213 = { + title=c_kondana + max_settlements=5 + terrain=jungle +} +1214 = { + title=c_tirunelveli + max_settlements=4 + terrain=plains +} +1215 = { + title=c_dakhina_desa + max_settlements=5 + terrain=plains +} +1216 = { + title=c_talakad + max_settlements=4 + terrain=hills +} +1217 = { + title=c_nandagiri + max_settlements=3 + terrain=forest +} +1218 = { + title=c_alampur + max_settlements=6 + terrain=plains +} +1219 = { + title=c_potapi + max_settlements=4 + terrain=hills +} +1220 = { + title=c_goa + max_settlements=6 + terrain=plains +} +1221 = { + title=c_vijayawada + max_settlements=4 + terrain=plains +} +1222 = { + title=c_rajamahendravaram + max_settlements=3 + terrain=jungle +} +1223 = { + title=c_ishim + max_settlements=4 + terrain=steppe +} +1224 = { + title=c_kalinganagar + max_settlements=4 + terrain=hills +} +1225 = { + title=c_puri + max_settlements=4 + terrain=plains +} +1226 = { + title=c_nandapur + max_settlements=4 + terrain=mountain +} +1227 = { + title=c_cakrakuta + max_settlements=3 + terrain=plains +} +1228 = { + title=c_swetaka_mandala + max_settlements=3 + terrain=mountain +} +1229 = { + title=c_khinjali_mandala + max_settlements=3 + terrain=jungle +} +1230 = { + title=c_suvarnapura + max_settlements=5 + terrain=jungle +} +1231 = { + title=c_viraja + max_settlements=5 + terrain=plains +} +1232 = { + title=c_midnapore + max_settlements=4 + terrain=jungle +} +1233 = { + title=c_saptagrama + max_settlements=5 + terrain=forest +} +1234 = { + title=c_damin_i_koh + max_settlements=2 + terrain=jungle +} +1235 = { + title=c_tamralipti + max_settlements=4 + terrain=jungle +} +1236 = { + title=c_candradvipa + max_settlements=3 + terrain=jungle +} +1237 = { + title=c_rajrappa + max_settlements=2 + terrain=jungle +} +1238 = { + title=c_mallabhum + max_settlements=5 + terrain=jungle +} +1239 = { + title=c_vijayapura + max_settlements=5 + terrain=jungle +} +1240 = { + title=c_kumara_mandala + max_settlements=3 + terrain=jungle +} +1241 = { + title=c_jharkand + max_settlements=2 + terrain=forest +} +1242 = { + title=c_radha + max_settlements=4 + terrain=jungle +} +1243 = { + title=c_gauda + max_settlements=6 + terrain=jungle +} +1244 = { + title=c_kamatapur + max_settlements=4 + terrain=plains +} +1245 = { + title=c_srihatta + max_settlements=3 + terrain=plains +} +1246 = { + title=c_goalpara + max_settlements=3 + terrain=hills +} +1247 = { + title=c_khijjingakota + max_settlements=4 + terrain=jungle +} +1248 = { + title=c_munda + max_settlements=3 + terrain=plains +} +1249 = { + title=c_sambalpur + max_settlements=4 + terrain=jungle +} +1250 = { + title=c_ayodhya + max_settlements=5 + terrain=jungle +} +1251 = { + title=c_sasaram + max_settlements=4 + terrain=forest +} +1252 = { + title=c_barasuru + max_settlements=2 + terrain=jungle +} +1253 = { + title=c_nilagiri + max_settlements=4 + terrain=jungle +} +1254 = { + title=c_vairagara + max_settlements=3 + terrain=forest +} +1255 = { + title=c_vemulavada + max_settlements=3 + terrain=plains +} +1256 = { + title=c_orangallu + max_settlements=5 + terrain=jungle +} +1257 = { + title=c_medak + max_settlements=3 + terrain=plains +} +1258 = { + title=c_nanded + max_settlements=4 + terrain=plains +} +1259 = { + title=c_vatsagulma + max_settlements=4 + terrain=plains +} +1260 = { + title=c_nasikya + max_settlements=5 + terrain=plains +} +1261 = { + title=c_parnakheta + max_settlements=4 + terrain=jungle +} +1262 = { + title=c_thalner + max_settlements=5 + terrain=plains +} +1263 = { + title=c_burhanpur + max_settlements=4 + terrain=plains +} +1264 = { + title=c_nandurbar + max_settlements=5 + terrain=hills +} +1265 = { + title=c_sagar + max_settlements=3 + terrain=jungle +} +1266 = { + title=c_somnath + max_settlements=5 + terrain=plains +} +1267 = { + title=c_vardhamana + max_settlements=3 + terrain=plains +} +1268 = { + title=c_dhamalpur + max_settlements=5 + terrain=plains +} +1269 = { + title=c_canda + max_settlements=4 + terrain=forest +} +1270 = { + title=c_kiranapura + max_settlements=2 + terrain=jungle +} +1271 = { + title=c_tripuri + max_settlements=3 + terrain=plains +} +1272 = { + title=c_ratanpur + max_settlements=3 + terrain=jungle +} +1273 = { + title=c_turgay + max_settlements=3 + terrain=steppe +} +1274 = { + title=c_damoh + max_settlements=4 + terrain=plains +} +1275 = { + title=c_zaranj + max_settlements=3 + terrain=desert +} +1276 = { + title=c_gaya + max_settlements=5 + terrain=forest +} +1277 = { + title=c_tummana + max_settlements=3 + terrain=jungle +} +1278 = { + title=c_gurgi + max_settlements=3 + terrain=forest +} +1279 = { + title=c_rohana + max_settlements=4 + terrain=hills +} +1280 = { + title=c_gojjam + max_settlements=4 + terrain=mountain +} +1281 = { + title=c_chunar + max_settlements=3 + terrain=plains +} +1282 = { + title=c_dotawo + max_settlements=6 + terrain=desert +} +1283 = { + title=c_asni + max_settlements=5 + terrain=plains +} +1284 = { + title=c_bharauli + max_settlements=4 + terrain=plains +} +1285 = { + title=c_acalapura + max_settlements=5 + terrain=plains +} +1286 = { + title=c_kherla + max_settlements=3 + terrain=forest +} +1287 = { + title=c_asirgarh + max_settlements=4 + terrain=jungle +} +1288 = { + title=c_ujjayini + max_settlements=6 + terrain=plains +} +1289 = { + title=c_dadhipadra + max_settlements=3 + terrain=plains +} +1290 = { + title=c_khetaka + max_settlements=5 + terrain=plains +} +1291 = { + title=c_mohadavasaka + max_settlements=3 + terrain=plains +} +1292 = { + title=c_sarasvata_mandala + max_settlements=6 + terrain=plains +} +1293 = { + max_settlements=7 + terrain=coastal_desert +} +1294 = { + title=c_satyapura + max_settlements=4 + terrain=plains +} +1295 = { + title=c_kutch + max_settlements=3 + terrain=plains +} +1296 = { + title=c_dimapur + max_settlements=3 + terrain=plains +} +1297 = { + title=c_debul + max_settlements=6 + terrain=plains +} +1298 = { + title=c_chanderi + max_settlements=5 + terrain=jungle +} +1299 = { + title=c_candhoba + max_settlements=3 + terrain=plains +} +1300 = { + title=c_kota + max_settlements=4 + terrain=jungle +} +1301 = { + title=c_mahoba + max_settlements=4 + terrain=jungle +} +1302 = { + title=c_chitrakut + max_settlements=5 + terrain=plains +} +1303 = { + title=c_ranikot + max_settlements=4 + terrain=plains +} +1304 = { + title=c_ludrava + max_settlements=4 + terrain=desert +} +1305 = { + max_settlements=7 + terrain=coastal_desert +} +1306 = { + title=c_tura + max_settlements=3 + terrain=steppe +} +1307 = { + max_settlements=7 + terrain=coastal_desert +} +1308 = { + max_settlements=7 + terrain=coastal_desert +} +1309 = { + max_settlements=7 + terrain=coastal_desert +} +1310 = { + max_settlements=7 + terrain=coastal_desert +} +1311 = { + max_settlements=7 + terrain=coastal_desert +} +1312 = { + max_settlements=7 + terrain=coastal_desert +} +1313 = { + max_settlements=7 + terrain=coastal_desert +} +1314 = { + max_settlements=7 + terrain=coastal_desert +} +1315 = { + max_settlements=7 + terrain=coastal_desert +} +1316 = { + max_settlements=7 + terrain=coastal_desert +} +1317 = { + max_settlements=7 + terrain=coastal_desert +} +1318 = { + title=c_samatata + max_settlements=3 + terrain=jungle +} +1319 = { + title=c_bikrampur + max_settlements=4 + terrain=jungle +} +1320 = { + title=c_aydhab + max_settlements=5 + terrain=desert +} +1321 = { + title=c_kamarupanagara + max_settlements=5 + terrain=plains +} +1322 = { + title=c_nobatia + max_settlements=4 + terrain=desert +} +1323 = { + title=c_nabadwipa + max_settlements=6 + terrain=jungle +} +1324 = { + title=c_suvarnagram + max_settlements=4 + terrain=jungle +} +1325 = { + title=c_madhupur + max_settlements=4 + terrain=jungle +} +1326 = { + title=c_napata + max_settlements=5 + terrain=desert +} +1327 = { + title=c_rothas + max_settlements=4 + terrain=jungle +} +1328 = { + title=c_prayaga + max_settlements=6 + terrain=plains +} +1329 = { + title=c_ket + max_settlements=3 + terrain=steppe +} +1330 = { + title=c_suakin + max_settlements=4 + terrain=mountain +} +1331 = { + title=c_sonda + max_settlements=4 + terrain=plains +} +1332 = { + title=c_trinkitat + max_settlements=4 + terrain=mountain +} +1333 = { + title=c_siwistan + max_settlements=5 + terrain=plains +} +1334 = { + title=c_alodia + max_settlements=6 + terrain=desert +} +1335 = { + title=c_kosti + max_settlements=4 + terrain=desert +} +1336 = { + title=c_vijnot + max_settlements=4 + terrain=desert +} +1337 = { + title=c_uch + max_settlements=4 + terrain=plains +} +1338 = { + title=c_multan + max_settlements=6 + terrain=plains +} +1339 = { + title=c_rajanpur + max_settlements=3 + terrain=plains +} +1340 = { + title=c_karor + max_settlements=3 + terrain=plains +} +1341 = { + title=c_nandana + max_settlements=3 + terrain=plains +} +1342 = { + title=c_purushapura + max_settlements=4 + terrain=plains +} +1343 = { + title=c_massawa + max_settlements=5 + terrain=mountain +} +1344 = { + title=c_zeila + max_settlements=5 + terrain=mountain +} +1345 = { + title=c_medapata + max_settlements=5 + terrain=plains +} +1346 = { + title=c_ajayameru + max_settlements=5 + terrain=plains +} +1347 = { + max_settlements=7 + terrain=desert +} +1348 = { + max_settlements=7 + terrain=plains +} +1349 = { + title=c_vikramapura + max_settlements=3 + terrain=desert +} +1350 = { + title=c_reni + max_settlements=3 + terrain=desert +} +1351 = { + max_settlements=7 + terrain=desert +} +1352 = { + title=c_sarasvati + max_settlements=3 + terrain=jungle +} +1353 = { + title=c_vairata + max_settlements=5 + terrain=plains +} +1354 = { + title=c_nagauda + max_settlements=5 + terrain=desert +} +1355 = { + title=c_ranthambore + max_settlements=5 + terrain=plains +} +1356 = { + title=c_kanyakubja + max_settlements=7 + terrain=plains +} +1357 = { + title=c_sripatha + max_settlements=4 + terrain=plains +} +1358 = { + title=c_vodamayutja + max_settlements=5 + terrain=plains +} +1359 = { + title=c_mathura + max_settlements=6 + terrain=plains +} +1360 = { + title=c_maldives + max_settlements=4 + terrain=plains +} +1361 = { + title=c_shorkot + max_settlements=4 + terrain=jungle +} +1362 = { + title=c_lahur + max_settlements=6 + terrain=plains +} +1363 = { + title=c_dipalpur + max_settlements=5 + terrain=jungle +} +1364 = { + title=c_tribandapura + max_settlements=5 + terrain=jungle +} +1365 = { + title=c_delhi + max_settlements=7 + terrain=plains +} +1366 = { + title=c_hisar + max_settlements=5 + terrain=plains +} +1367 = { + title=c_sthanisvara + max_settlements=5 + terrain=jungle +} +1368 = { + title=c_hastinapura + max_settlements=6 + terrain=jungle +} +1369 = { + title=c_socotra + max_settlements=3 + terrain=hills +} +1370 = { + title=c_armail + max_settlements=3 + terrain=desert +} +1371 = { + title=c_quzdar + max_settlements=2 + terrain=mountain +} +1372 = { + title=c_kandail + max_settlements=3 + terrain=mountain +} +1373 = { + title=c_assab + max_settlements=3 + terrain=plains +} +1374 = { + title=c_sibi + max_settlements=3 + terrain=desert +} +1375 = { + title=c_kafirkot + max_settlements=3 + terrain=plains +} +1376 = { + title=c_wana + max_settlements=1 + terrain=mountain +} +1377 = { + title=c_maymana + max_settlements=4 + terrain=steppe +} +1378 = { + title=c_urgench + max_settlements=5 + terrain=steppe +} +1379 = { + title=c_asayita + max_settlements=3 + terrain=mountain +} +1380 = { + title=c_semien + max_settlements=5 + terrain=mountain +} +1381 = { + title=c_pundravardhana + max_settlements=5 + terrain=jungle +} +1382 = { + max_settlements=7 + terrain=coastal_desert +} +1383 = { + max_settlements=7 + terrain=coastal_desert +} +1384 = { + max_settlements=7 + terrain=coastal_desert +} +1385 = { + max_settlements=7 + terrain=coastal_desert +} +1386 = { + max_settlements=7 + terrain=coastal_desert +} +1387 = { + max_settlements=7 + terrain=coastal_desert +} +1388 = { + max_settlements=7 + terrain=coastal_desert +} +1389 = { + max_settlements=7 + terrain=coastal_desert +} +1390 = { + max_settlements=7 + terrain=coastal_desert +} +1391 = { + max_settlements=7 + terrain=coastal_desert +} +1392 = { + max_settlements=7 + terrain=coastal_desert +} +1393 = { + max_settlements=7 + terrain=coastal_desert +} +1394 = { + max_settlements=7 + terrain=coastal_desert +} +1395 = { + max_settlements=7 + terrain=coastal_desert +} +1396 = { + max_settlements=7 + terrain=coastal_desert +} +1397 = { + max_settlements=7 + terrain=coastal_desert +} +1398 = { + max_settlements=7 + terrain=coastal_desert +} +1399 = { + max_settlements=7 + terrain=coastal_desert +} +1400 = { + max_settlements=7 + terrain=coastal_desert +} +1401 = { + max_settlements=7 + terrain=coastal_desert +} +1402 = { + max_settlements=7 + terrain=coastal_desert +} +1403 = { + max_settlements=7 + terrain=coastal_desert +} +1404 = { + max_settlements=7 + terrain=coastal_desert +} +1405 = { + max_settlements=7 + terrain=coastal_desert +} +1406 = { + max_settlements=7 + terrain=coastal_desert +} +1407 = { + max_settlements=7 + terrain=coastal_desert +} +1408 = { + title=c_anxi + max_settlements=2 + terrain=desert +} +1409 = { + max_settlements=7 + terrain=coastal_desert +} +1410 = { + max_settlements=7 + terrain=coastal_desert +} +1411 = { + max_settlements=7 + terrain=coastal_desert +} +1412 = { + max_settlements=7 + terrain=coastal_desert +} +1413 = { + title=c_venadu + max_settlements=5 + terrain=plains +} +1414 = { + title=c_kotthasara + max_settlements=4 + terrain=plains +} +1415 = { + title=c_pithapuram + max_settlements=4 + terrain=plains +} +1416 = { + title=c_kolhapur + max_settlements=5 + terrain=mountain +} +1417 = { + title=c_wag + max_settlements=5 + terrain=mountain +} +1418 = { + title=c_haruppeswara + max_settlements=4 + terrain=plains +} +1419 = { + title=c_mithila + max_settlements=5 + terrain=plains +} +1420 = { + title=c_simaramapura + max_settlements=5 + terrain=plains +} +1421 = { + title=c_sravasti + max_settlements=5 + terrain=jungle +} +1422 = { + title=c_naimisa + max_settlements=4 + terrain=jungle +} +1423 = { + title=c_fergana + max_settlements=6 + terrain=plains +} +1424 = { + title=c_chuy + max_settlements=4 + terrain=plains +} +1425 = { + title=c_ili + max_settlements=4 + terrain=mountain +} +1426 = { + title=c_zhetysu + max_settlements=4 + terrain=steppe +} +1427 = { + title=c_urzhar + max_settlements=4 + terrain=plains +} +1428 = { + title=c_damot + max_settlements=4 + terrain=mountain +} +1429 = { + title=c_begemder + max_settlements=4 + terrain=mountain +} +1430 = { + title=c_kipchak + max_settlements=3 + terrain=steppe +} +1431 = { + title=c_otrar + max_settlements=3 + terrain=steppe +} +1432 = { + title=c_karluk + max_settlements=3 + terrain=steppe +} +1433 = { + title=c_kazakh + max_settlements=4 + terrain=steppe +} +1434 = { + title=c_balkhash + max_settlements=4 + terrain=steppe +} +1435 = { + title=c_kimak + max_settlements=3 + terrain=steppe +} +1436 = { + title=c_lakomelza + max_settlements=4 + terrain=mountain +} +1437 = { + title=c_tigrinya + max_settlements=4 + terrain=mountain +} +1438 = { + title=c_yarkand + max_settlements=3 + terrain=plains +} +1439 = { + title=c_kashgar + max_settlements=3 + terrain=plains +} +1440 = { + title=c_khotan + max_settlements=5 + terrain=desert +} +1441 = { + title=c_cherchen + max_settlements=3 + terrain=desert +} +1442 = { + title=c_charkliq + max_settlements=3 + terrain=desert +} +1443 = { + title=c_karashar + max_settlements=5 + terrain=desert +} +1444 = { + title=c_kucha + max_settlements=4 + terrain=plains +} +1445 = { + title=c_aksu + max_settlements=3 + terrain=plains +} +1446 = { + title=c_kara_khoja + max_settlements=4 + terrain=desert +} +1447 = { + title=c_loulan + max_settlements=3 + terrain=desert +} +1448 = { + title=c_dunhuang + max_settlements=4 + terrain=desert +} +1449 = { + title=c_luntai + max_settlements=4 + terrain=plains +} +1450 = { + title=c_kumul + max_settlements=3 + terrain=desert +} +1451 = { + title=c_altay + max_settlements=3 + terrain=steppe +} +1452 = { + title=c_dunkheger + max_settlements=3 + terrain=hills +} +1453 = { + title=c_aj_bogd + max_settlements=3 + terrain=desert +} +1454 = { + title=c_muztau + max_settlements=3 + terrain=hills +} +1455 = { + title=c_tsagaannuur + max_settlements=3 + terrain=desert +} +1456 = { + title=c_ikh_bogd + max_settlements=2 + terrain=desert +} +1457 = { + title=c_kara_khorum + max_settlements=4 + terrain=desert +} +1458 = { + title=c_khangai + max_settlements=5 + terrain=plains +} +1459 = { + title=c_kyzyl + max_settlements=4 + terrain=plains +} +1460 = { + title=c_baygal + max_settlements=4 + terrain=plains +} +1461 = { + title=c_otuken + max_settlements=4 + terrain=plains +} +1462 = { + title=c_gorgol + max_settlements=3 + terrain=plains +} +1463 = { + title=c_erchis + max_settlements=3 + terrain=plains +} +1464 = { + max_settlements=7 + terrain=desert +} +1465 = { + max_settlements=7 + terrain=mountain +} diff --git a/LCDA/common/static_modifiers.txt b/LCDA/common/static_modifiers.txt new file mode 100644 index 0000000..17c692c --- /dev/null +++ b/LCDA/common/static_modifiers.txt @@ -0,0 +1,700 @@ +# All global modifiers are here. They are applied from certain game-features. +# +# Effects are fully scriptable here. + +# The names can NOT be removed or changed since the code references them + +########################################################################## +# Difficulty Modifiers +########################################################################## + +very_easy_player = { + fertility = 0.5 + land_morale = 0.5 +} + +easy_player = { + fertility = 0.25 + land_morale = 0.25 +} + +normal_player = { +} + +hard_player = { +} + +very_hard_player = { + land_morale = -0.25 +} + +very_easy_ai = { + land_morale = -0.25 +} + +easy_ai = { +} + +normal_ai = { +} + +hard_ai = { + land_morale = 0.25 + global_tax_modifier = 0.1 + levy_reinforce_rate = 0.5 +} + +very_hard_ai = { + land_morale = 0.5 + global_tax_modifier = 0.2 + levy_reinforce_rate = 1.0 +} + +########################################################################## +# Provincial Static Modifiers +########################################################################## + +province_base_values = { + supply_limit = 5 # 5K troops +} + +coastal = { +} + +non_coastal = { +} + +coastal_sea = { +} + +sea_zone = { + max_attrition = 0.05 +} + +land_province = { + max_attrition = 0.05 +} + +mild_winter = { + supply_limit = -2 + max_attrition = 0.1 +} + +normal_winter = { + supply_limit = -3 + max_attrition = 0.15 +} + +severe_winter = { + supply_limit = -5 + max_attrition = 0.2 +} + +out_of_supply = +{ + max_attrition = 0.1 +} + +no_adjacent_controlled = { +} + +# Another culture in the same culture group +same_culture_group = { + local_revolt_risk = 0.01 +} + +# A culture in another culture group +non_accepted_culture = { + local_revolt_risk = 0.02 +} + +# Another religion in the same religion group +same_religion_group = { + local_revolt_risk = 0.01 +} + +# A religion in another religion group +different_religion = { + local_revolt_risk = 0.02 +} + +# County vs Count is heresy vs parent religion +county_heresy = { + local_revolt_risk = 0.03 +} + +# Nomads: Pressure from minor Clans to form another Major Clan +# Multiplied by the number counties held above the required proportion (see define MIN_CLAN_LAND_PROPORTION) +nomad_ruling_clan_too_powerful = { + local_revolt_risk = 0.04 +} + +# Isolated county +county_isolated = { + local_revolt_risk = 0.04 +} + +new_administration = { + levy_reinforce_rate = -0.7 + local_tax_modifier = -0.3 + icon = 19 +} + +recently_conquered = { + levy_size = -2 + levy_reinforce_rate = -1 + local_tax_modifier = -1 + icon = 19 +} + +occupied = { + levy_size = -2 + levy_reinforce_rate = -1 + local_tax_modifier = -1.5 + icon = 19 +} + +occupied_different_culture = { + levy_size = -0.25 + levy_reinforce_rate = -0.25 + local_tax_modifier = -0.25 + icon = 20 +} + +occupied_different_culturegroup = { + levy_size = -0.5 + levy_reinforce_rate = -0.5 + local_tax_modifier = -0.5 + icon = 20 +} + +occupied_different_religion = { + levy_size = -0.5 + levy_reinforce_rate = -0.5 + local_tax_modifier = -0.5 + icon = 35 +} + +occupied_different_religiongroup = { + levy_size = -2 + levy_reinforce_rate = -0.5 + local_tax_modifier = -0.75 + icon = 35 +} + +looted_modifier = { + local_tax_modifier = -0.25 + + icon = 24 +} + +maintaining_mercenary_band = { + levy_size = -0.025 + levy_reinforce_rate = -0.10 + max_manpower_mult = -0.1 + manpower_growth = -0.1 + icon = 31 +} + +maintaining_mercenary_band_2 = { + levy_size = -0.05 + levy_reinforce_rate = -0.20 + max_manpower_mult = -0.1 + manpower_growth = -0.1 + icon = 31 +} + +maintaining_mercenary_band_3 = { + levy_size = -0.075 + levy_reinforce_rate = -0.30 + max_manpower_mult = -0.1 + manpower_growth = -0.1 + icon = 31 +} + +maintaining_mercenary_band_4 = { + levy_size = -0.1 + levy_reinforce_rate = -0.40 + max_manpower_mult = -0.1 + manpower_growth = -0.1 + icon = 31 +} + +maintaining_mercenary_band_5 = { + levy_size = -0.125 + levy_reinforce_rate = -0.50 + max_manpower_mult = -0.1 + manpower_growth = -0.1 + icon = 31 +} + +maintaining_mercenary_band_6 = { + levy_size = -0.15 + levy_reinforce_rate = -0.60 + max_manpower_mult = -0.1 + manpower_growth = -0.1 + icon = 31 +} + +maintaining_mercenary_band_7 = { + levy_size = -0.175 + levy_reinforce_rate = -0.70 + max_manpower_mult = -0.1 + manpower_growth = -0.1 + icon = 31 +} + +occupied_tutorial = { + icon = 19 + levy_size = -2 + garrison_size = -0.9 +} +troops_tutorial = { + icon = 19 + levy_size = 4 +} + +under_siege = { +} + +revolt_risk = { + local_tax_modifier = -0.01 +} + +foreign_rebels = { + local_revolt_risk = 0.05 + icon = 1 +} + +jizya_tax = { + local_tax_modifier = 0.25 + icon = 4 +} + +settled_adventurer = { + icon = 1 +} + +########################################################################## +# Combat Static Modifiers +########################################################################## + +river_crossing = { + icon = 2 + archers_defensive = -0.1 + light_infantry_defensive = -0.1 + pikemen_defensive = -0.15 + heavy_infantry_defensive = -0.15 + light_cavalry_defensive = -0.125 + knights_defensive = -0.15 + horse_archers_defensive = -0.125 + + archers_offensive = -0.05 + light_infantry_offensive = -0.1 + pikemen_offensive = -0.15 + heavy_infantry_offensive = -0.15 + light_cavalry_offensive = -0.125 + knights_offensive = -0.15 + horse_archers_offensive = -0.075 +} + +major_river_crossing = { + icon = 2 + archers_defensive = -0.2 + light_infantry_defensive = -0.2 + pikemen_defensive = -0.3 + heavy_infantry_defensive = -0.3 + light_cavalry_defensive = -0.25 + knights_defensive = -0.3 + horse_archers_defensive = -0.25 + + archers_offensive = -0.1 + light_infantry_offensive = -0.2 + pikemen_offensive = -0.3 + heavy_infantry_offensive = -0.3 + light_cavalry_offensive = -0.25 + knights_offensive = -0.3 + horse_archers_offensive = -0.15 +} + +strait_crossing = { + icon = 3 + archers_defensive = -0.15 + light_infantry_defensive = -0.15 + pikemen_defensive = -0.2 + heavy_infantry_defensive = -0.2 + light_cavalry_defensive = -0.172 + knights_defensive = -0.2 + horse_archers_defensive = -0.172 + + archers_offensive = -0.1 + light_infantry_offensive = -0.15 + pikemen_offensive = -0.2 + heavy_infantry_offensive = -0.2 + light_cavalry_offensive = -0.172 + knights_offensive = -0.2 + horse_archers_offensive = -0.125 +} + +amphibious_landing = { + icon = 4 + archers_defensive = -0.15 + light_infantry_defensive = -0.15 + pikemen_defensive = -0.2 + heavy_infantry_defensive = -0.2 + light_cavalry_defensive = -0.175 + knights_defensive = -0.2 + horse_archers_defensive = -0.175 + + archers_offensive = -0.1 + light_infantry_offensive = -0.15 + pikemen_offensive = -0.2 + heavy_infantry_offensive = -0.2 + light_cavalry_offensive = -0.175 + knights_offensive = -0.2 + horse_archers_offensive = -0.125 +} + +defenderbonus_mountain = { + icon = 1 + archers_defensive = 0.3 + light_infantry_defensive = 0.1 + pikemen_defensive = 0.2 + heavy_infantry_defensive = 0.1 + horse_archers_defensive = 0.25 + + archers_offensive = 0.2 + pikemen_offensive = 0.1 + horse_archers_offensive = 0.15 +} + +defenderbonus_hills = { + icon = 1 + archers_defensive = 0.2 + pikemen_defensive = 0.1 + horse_archers_defensive = 0.15 + + archers_offensive = 0.15 + pikemen_offensive = 0.05 + horse_archers_offensive = 0.10 +} + +defenderbonus_jungle = { + icon = 1 + archers_defensive = 0.3 + light_infantry_defensive = 0.1 + pikemen_defensive = 0.2 + heavy_infantry_defensive = 0.1 + horse_archers_defensive = -0.25 + + light_infantry_offensive = 0.1 + heavy_infantry_offensive = 0.1 + pikemen_offensive = 0.1 + horse_archers_offensive = -0.15 +} + +########################################################################## +# Attribute Mods: Multiplied by the value (including councillor and spouse additions) +########################################################################## + +static_diplomacy_mod = { + monthly_character_prestige = 0.01 +} + +static_intrigue_mod = { +} + +static_stewardship_mod = { + global_tax_modifier = 0.02 +} + +static_martial_mod = { + land_organisation = 0.01 +} + +static_learning_mod = { + monthly_character_piety = 0.02 +} + +########################################################################## +# Realm Static Modifiers +########################################################################## + +base_values = { + land_organisation = 0.2 #20% morale recovery. +} + +war = { +} + +peace = { +} + +pretender_modifier = { +} + +########################################################################## +# Settlement Base Modifiers +########################################################################## + +castle = { + tax_income = 4 + fort_level = 3 + build_cost_modifier = 500 + build_time_modifier = 730 + light_infantry = 60 + heavy_infantry = 150 + light_cavalry = 15 + levy_reinforce_rate = 1.25 + land_organisation = 0.2 +} + +city = { + tax_income = 12 + fort_level = 0 + light_infantry = 75 + archers = 40 + build_cost_modifier = 500 + build_time_modifier = 730 + land_organisation = 0.2 +} + +temple = { + tax_income = 8 + heavy_infantry = 45 + light_infantry = 45 + archers = 40 + build_cost_modifier = 500 + build_time_modifier = 730 + levy_reinforce_rate = 0.25 + land_organisation = 0.2 +} + +trade_post = { + tax_income = 6 + fort_level = 0 + levy_size = 0 + light_infantry = 50 + archers = 50 + build_cost_modifier = 150 + build_time_modifier = 365 + land_organisation = 0.2 +} + +family_palace = { + tax_income = 10 + fort_level = 0 + light_infantry = 40 + archers = 10 + galleys = 25 + levy_reinforce_rate = 1.25 + land_organisation = 0.2 +} + +tribal = { + tax_income = 0.5 + fort_level = 1 + light_infantry = 100 + heavy_infantry = 5 + archers = 20 + levy_reinforce_rate = 1.5 + land_organisation = 0.2 + build_cost_modifier = 25 # cost per empty holding slot + build_time_modifier = 365 +} + +nomad = { + tax_income = 0 + fort_level = 1 + levy_size = -3 + light_infantry = 160 + heavy_infantry = 40 + levy_reinforce_rate = 0 + land_organisation = 0 +} + +fort = { + tax_income = 0 + fort_level = 2 + levy_size = 0 + build_cost_modifier = 20 + build_time_modifier = 20 + light_infantry = 30 + heavy_infantry = 75 + light_cavalry = 7 + levy_reinforce_rate = 2 + land_organisation = 0.2 +} + +hospital = { + tax_income = 0 + hospital_level = 1 + fort_level = 0 + levy_size = 0 + build_cost_modifier = 100 + build_time_modifier = 365 + land_organisation = 0.2 +} + +########################################################################## +# Culture Static Modifiers +########################################################################## +# The name of these must be specified in the culture itself, except for the holding modifiers + +default_culture_modifier = { +} + +########################################################################## +# Age Static Modifiers +########################################################################## + +# 0-15 +age_child = { +} + +# 16-19 +age_teen = { +} + +# 20-29 +age_young = { +} + +# 30-49 +age_adult = { +} + +# 50-69 +age_old = { +} + +# 70+ +age_very_old = { +} + +#MNM Modifier + +########################################################################## +# Job Action Modifiers +########################################################################## + +statecraft_liege_mod = { + threat_decay_speed = 0.01 +} + +apostate_liege_mod = { + monthly_character_piety = 0.030 +} + +organize_army_liege_mod = { + retinue_maintenence_cost = -0.01 # only one of the two is used, the appropriate one for your government type + horde_maintenence_cost = -0.01 +} +########################################################################## +# #MNM Modifier +########################################################################## + +successful_mission = { + society_influence = 1 + static_modifier_cap = 10 #How many you can stack together +} + +failed_mission = { + society_influence = -1 + static_modifier_cap = 10 +} + +########################################################################## +# #Government modifiers +########################################################################## + +# Applied for Nomads if the province is in the steppe, desert, and plains +nomad_horse_offensive_modifier = { + light_cavalry_offensive = 0.05 + knights_offensive = 0.05 + horse_archers_offensive = 0.05 +} + +# Applied for Nomads if the province is in the artctic, hills, or mountains +nomad_horse_defensive_modifier = { + light_cavalry_defensive = 0.05 + knights_defensive = 0.05 + horse_archers_defensive = 0.05 +} + +# Applied to tribal holdings if you're of the wrong religion group +tribal_wrong_religion_group_modifier = { + levy_size = -0.25 + garrison_size = -0.25 + local_tax_modifier = -0.25 +} + +# Applied to tribal holdings if you're of the reformed version of the religion and the province isn't, or vice versa +tribal_wrong_religion_reformed_modifier = { + levy_size = -0.1 + garrison_size = -0.1 + local_tax_modifier = -0.1 +} + +# Applied to tribal holdings if you're of the wrong religion +tribal_wrong_religion_modifier = { + levy_size = -0.15 + garrison_size = -0.15 + local_tax_modifier = -0.15 +} + +# Applied to tribal holdings if you're of the wrong culture grup +tribal_wrong_culture_group_modifier = { + levy_size = -0.25 + garrison_size = -0.25 + local_tax_modifier = -0.25 +} + +# Applied to tribal holdings if you're of the wrong culture +tribal_wrong_culture_modifier = { + levy_size = -0.15 + garrison_size = -0.15 + local_tax_modifier = -0.15 +} + +########################################################################### +# #Liege levy modifiers +########################################################################## +# Of the following, the one highest up that is applicable will be applied. E.G., capital_county overrides capital_duchy + +# Applied to your holdings in your capital province if you're independent +capital_county_independent_holder = { + levy_size = 0.5 +} + +# Applied to your holdings in your capital province if you're a count and a vassal +capital_county_vassal_count = { + +} + +# Applied to your holdings in your capital province if you're above count level and a vassal +capital_county_vassal = { + levy_size = 0.25 +} + +# Applied to your holdings in the dejure duchy your capital is in if you're independent +capital_duchy_independent_holder = { + levy_size = 0.25 +} + +# Applied to your holdings in the dejure duchy your capital is in if you're not independent +capital_duchy_vassal = { + levy_size = 0.15 +} + +# Applied to your holdings in the dejure kingdom your capital is in +capital_kingdom = { +} + +# Applied to your holdings in the dejure empire your capital is in +capital_empire = { +} + +# Applied to your holdings not in the dejure empire your capital is in +outside_capital_empire = { +} \ No newline at end of file diff --git a/LCDA/common/trade_routes/00_silk_route.txt b/LCDA/common/trade_routes/00_silk_route.txt new file mode 100644 index 0000000..c4de716 --- /dev/null +++ b/LCDA/common/trade_routes/00_silk_route.txt @@ -0,0 +1,64 @@ +silk_road = { + wealth = 122 # Total base wealth of silk route + + modifier = { # How the trade route modifies the provinces it passes + castle_tax_modifier = 0.15 + city_tax_modifier = 0.15 + temple_tax_modifier = 0.15 + trade_route_value = 1 + icon = 4 + } + + start = { # Start provinces of trade route + 1464 # Anxi + 1465 # Kundina + } + + # Northern Silk Route + path = { # Anxi-Dunhuang + 1464 1448 + } + path = { # Dunhuang-Khotan-Yarkand + 1448 1447 1442 1441 1440 1438 + } + path = { # Dunhuang-Turpan-Kucha-Kashgar + 1448 1450 1446 1443 1444 1445 1439 + } + path = { # Yarkand-Kashgar + 1438 1439 + } + path = { # Kashgar-Samarkand + 1439 1423 903 + } + path = { # Samarkand-Lut + 903 904 1377 905 906 635 636 + } + path = { # Lut-Bagdad + 636 646 647 657 689 693 + } + path = { # Samarkand-Turkestan-Itil-Tana + 903 1181 1186 1431 900 622 621 618 620 605 607 596 + } + path = { # Bagdad-Antioch + 693 695 712 729 710 709 732 733 764 + } + + # Southern Silk Route + path = { # Yarkand-Kasmira-Nandana-Indus Valley-Banbhore + 1438 1161 1341 1340 1338 1337 1339 1138 1303 1297 + } + path = { # Kundina-Pundravardhana-Candradvipa-Vijayawada(Masulipatam)-Mahoyadapuram(Muziris)-Bharuch-Banbhore + 1465 1177 1418 1321 1381 1325 1319 1236 1411 1410 1409 1407 1221 1406 1405 1403 1402 1401 1114 1400 1399 1127 1398 1397 1297 + } + path = { # Banbhore-Hormuz-Basra-Bagdad + 1297 1396 1392 1393 641 1394 1395 649 655 690 693 + } + path = { # Banbhore-Muscat-Aden-Mecca-Cairo-Alexandria + 1297 1412 1391 868 1390 1389 866 1369 1388 871 1387 1386 858 859 1385 1384 719 1383 1320 794 791 795 796 797 802 + } + + # Asia Minor Silk Route + path = { # Lut-Rayy-Tabriz-Karin-Trebizond + 636 660 663 665 666 667 671 672 681 703 704 678 + } +} \ No newline at end of file diff --git a/LCDA/decisions/HL_clan_decisions.txt b/LCDA/decisions/HL_clan_decisions.txt new file mode 100644 index 0000000..d16e552 --- /dev/null +++ b/LCDA/decisions/HL_clan_decisions.txt @@ -0,0 +1,425 @@ +# Targetted decisions are possible vs _all_ other characters and shown are in the Diplomacy View, not the Intrigue View. The taker is in the FROM scope. +# +# filter = [self/court/home_court/vassals/sub_realm/realm/dynasty/all] ('self' MUST be set for decisions targetting only the taker, the other filter types can be set to lessen CPU load) +# ai_target_filter = [self/court/home_court/vassals/sub_realm/realm/dynasty/all] (which characters for which the AI evaluates the decision.) +# court: all characters in the AI's host court, including prisoners, and characters currently away (wards, prisoners, etc) +# home_court: all characters in the AI's home court, including prisoners, and characters currently away (wards, prisoners, etc) +# vassals: direct vassal rulers of the AI's employer +# sub_realm: all characters below the AI's employer +# realm: all characters in the same top realm as the AI +# dynasty: all members of the same dynasty +# rivals: your rivals plus any character you have an opinion modifier with 'crime = yes' set (the same set of characters the 'is_foe' trigger evaluates) +# all: all living characters (Avoid if possible. VERY CPU-HEAVY!) +# + + +targetted_decisions = { + + adopt_faith = { + only_playable = yes + ai_target_filter = realm + filter = realm + + from_potential = { + is_playable = yes + has_dlc = "Horse Lords" + is_adult = yes + prisoner = no + NOT = { trait = incapable } + is_nomadic = yes + } + potential = { + is_nomadic = yes + is_playable = yes + NOT = { religion = FROM } + same_realm = FROM + } + allow = { + FROM = { + piety = 50 + custom_tooltip = { + text = recently_adopted_faith_tooltip + hidden_tooltip = { + NOT = { has_character_modifier = adopted_faith_timer } + } + } + } + } + effect = { + FROM = { + religion = ROOT + piety = -50 + add_character_modifier = { + name = adopted_faith_timer + duration = 3650 + hidden = yes + } + any_vassal = { + limit = { + ai = yes + is_close_relative = FROM + dynasty = FROM + OR = { + is_adult = no + NOT = { trait = zealous } + } + NOT = { trait = incapable } + } + religion = ROOT + } + any_courtier = { + limit = { + is_close_relative = FROM + OR = { + is_adult = no + NOT = { trait = zealous } + } + NOT = { trait = incapable } + } + religion = ROOT + } + + hidden_tooltip = { + top_liege = { + if = { + limit = { + religion = ROOT + NOT = { character = FROM } + } + character_event = { id = HL.11 } + } + if = { + limit = { + NOT = { religion = ROOT } + NOT = { character = FROM } + } + character_event = { id = HL.9 } + } + + any_realm_character = { + limit = { + is_nomadic = yes + } + if = { + limit = { + religion = ROOT + NOT = { character = FROM } + } + character_event = { id = HL.11 } + } + if = { + limit = { + NOT = { religion = ROOT } + NOT = { character = FROM } + } + character_event = { id = HL.9 } + } + } + } + } + } + } + ai_will_do = { + factor = 1 + + modifier = { + factor = 0.1 + } + + modifier = { + factor = 0 + FROM = { + has_feud_with = ROOT + } + } + + modifier = { + factor = 0 + NOT = { + reverse_opinion = { + who = FROM + value = 25 + } + } + } + + modifier = { + factor = 0 + NOT = { + reverse_clan_opinion = { + who = FROM + value = 25 + } + } + } + + modifier = { + factor = 0 + FROM = { + trait = zealous + } + } + + modifier = { + factor = 0 + FROM = { + OR = { + NOT = { religion_group = pagan_group } + is_reformed_religion = yes + } + } + ROOT = { + religion_group = pagan_group + is_reformed_religion = no + } + } + + modifier = { + factor = 1.5 + FROM = { + religion_group = pagan_group + is_reformed_religion = no + } + ROOT = { + OR = { + NOT = { religion_group = pagan_group } + is_reformed_religion = yes + } + } + } + + modifier = { + factor = 0.5 + NOT = { + relative_power = { + who = FROM + power = 0.5 + } + } + } + + modifier = { + factor = 2.0 + FROM = { + de_facto_liege = ROOT + } + } + + modifier = { + factor = 2.0 + FROM = { + has_blood_oath_with = ROOT + } + } + + modifier = { + factor = 1.5 + reverse_opinion = { + who = FROM + value = 50 + } + } + + modifier = { + factor = 1.5 + reverse_opinion = { + who = FROM + value = 75 + } + } + + modifier = { + factor = 1.5 + reverse_clan_opinion = { + who = FROM + value = 50 + } + } + + modifier = { + factor = 1.5 + reverse_clan_opinion = { + who = FROM + value = 75 + } + } + + modifier = { + factor = 1.5 + prestige = 200 + } + + modifier = { + factor = 0.5 + NOT = { prestige = 100 } + } + + modifier = { + factor = 1.5 + relative_power = { + who = FROM + power = 1.5 + } + } + } + } + + declare_feud = { + only_playable = yes + ai_target_filter = realm + filter = realm + from_potential = { + has_dlc = "Horse Lords" + clan = yes + is_playable = yes + } + potential = { + clan = yes + is_playable = yes + same_realm = FROM + NOR = { + has_feud_with = FROM + character = FROM + } + } + allow = { + NOT = { has_blood_oath_with = FROM } + } + effect = { + clan_title = { + FROM = { + clan_title = { + create_feud = PREVPREV + } + } + } + } + ai_will_do = { + factor = 1 + + modifier = { + factor = 0.3 + } + + modifier = { # Try not having more feuds than one (others can still add you to a feud however + factor = 0 + FROM = { + OR = { + AND = { + NOT = { is_rival = ROOT } + num_of_feuds = 1 + } + AND = { + is_rival = ROOT + num_of_feuds = 3 + } + } + } + } + + modifier = { + factor = 0 + reverse_opinion = { + who = FROM + value = 0 + } + } + + modifier = { + factor = 0 + NOT = { is_rival = FROM } + reverse_clan_opinion = { + who = FROM + value = -50 + } + } + + modifier = { + factor = 1.5 + NOT = { + reverse_opinion = { + who = FROM + value = -50 + } + } + } + + modifier = { + factor = 1.5 + NOT = { + reverse_opinion = { + who = FROM + value = -75 + } + } + } + + modifier = { + factor = 1.5 + NOT = { + reverse_clan_opinion = { + who = FROM + value = -75 + } + } + } + + modifier = { + factor = 1.5 + NOT = { + reverse_clan_opinion = { + who = FROM + value = -100 + } + } + } + + modifier = { + factor = 0.5 + relative_power = { + who = FROM + power = 1.5 + } + } + + modifier = { + factor = 0.5 + NOT = { + relative_power = { + who = FROM + power = 0.5 + } + } + } + + modifier = { + factor = 1.2 + FROM = { + de_facto_liege = ROOT + ai_ambition = 0 + } + } + + modifier = { + factor = 0.5 + FROM = { + de_facto_liege = ROOT + ai_honor = 0 + } + } + + modifier = { + factor = 1.2 + FROM = { + de_facto_liege = ROOT + } + ROOT = { + strongest_clan_vassal = { + character = FROM + } + } + } + } + } + +} \ No newline at end of file diff --git a/LCDA/decisions/HL_decisions.txt b/LCDA/decisions/HL_decisions.txt new file mode 100644 index 0000000..7a6ae9d --- /dev/null +++ b/LCDA/decisions/HL_decisions.txt @@ -0,0 +1,309 @@ + +decisions = { + recruit_troops_norse = { + only_rulers = yes + potential = { + is_ruler = yes + has_character_flag = raiding_adventurer + ai = yes + war = no + wealth = 100 + NOT = { realm_levies = 6000 } + NOT = { government = nomadic_government } + OR = { + AND = { + year = 700 + NOT = { year = 900 } + NOT = { realm_levies = 5500 } + } + AND = { + year = 900 + NOT = { year = 1000 } + NOT = { realm_levies = 6100 } + } + AND = { + year = 1000 + NOT = { year = 1100 } + NOT = { realm_levies = 6500 } + } + AND = { + year = 1100 + NOT = { year = 1150 } + NOT = { realm_levies = 6800 } + } + AND = { + year = 1150 + NOT = { year = 1200 } + NOT = { realm_levies = 7100 } + } + AND = { + year = 1200 + NOT = { year = 1250 } + NOT = { realm_levies = 8500 } + } + AND = { + year = 1250 + NOT = { realm_levies = 9800 } + } + } + } + + effect = { + wealth = -75 + location = { + ROOT = { + spawn_unit = { + province = PREV + owner = THIS + leader = none + attrition = 0 + # disband_on_peace = yes + reinforces = yes + is_looter = yes + can_toggle_looting = no + cannot_inherit = yes + troops = { + light_infantry = { 1 500 } + heavy_infantry = { 1 40 } + archers = { 1 200 } + } + merge = yes + } + } + } + } + + ai_will_do = { + factor = 1 + modifier = { + factor = 0.1 + } + } + } + recruit_troops_nomad = { + only_rulers = yes + potential = { + is_ruler = yes + has_character_flag = raiding_adventurer + ai = yes + war = no + wealth = 100 + government = nomadic_government + OR = { + AND = { + year = 700 + NOT = { year = 900 } + NOT = { realm_levies = 4000 } + } + AND = { + year = 900 + NOT = { year = 1000 } + NOT = { realm_levies = 4400 } + } + AND = { + year = 1000 + NOT = { year = 1100 } + NOT = { realm_levies = 4700 } + } + AND = { + year = 1100 + NOT = { year = 1150 } + NOT = { realm_levies = 4900 } + } + AND = { + year = 1150 + NOT = { year = 1200 } + NOT = { realm_levies = 5300 } + } + AND = { + year = 1200 + NOT = { year = 1250 } + NOT = { realm_levies = 6100 } + } + AND = { + year = 1250 + NOT = { realm_levies = 7600 } + } + } + } + + effect = { + wealth = -75 + location = { + ROOT = { + spawn_unit = { + province = PREV + owner = THIS + leader = none + attrition = 0 +# disband_on_peace = yes + reinforces = yes + is_looter = yes + can_toggle_looting = no + cannot_inherit = yes + troops = { + light_cavalry = { 1 250 } + horse_archers = { 1 250 } + } + merge = yes + } + } + } + } + + ai_will_do = { + factor = 1 + modifier = { + factor = 0.1 + } + } + } + become_genghis_khan = { + only_independent = yes + is_high_prio = yes + + potential = { + is_playable = yes + independent = yes + culture = mongol + has_dlc = "Horse Lords" + government = nomadic_government + NOT = { has_global_flag = mongol_horde_united } + } + + allow = { + num_of_count_titles_in_realm = 35 + prestige = 1500 + } + + effect = { + set_global_flag = mongol_horde_arrival + set_global_flag = mongol_horde_united + set_special_character_title = GENGHIS_KHAN + prestige = 1000 + add_character_modifier = { + modifier = greatest_of_khans + duration = -1 + } + if = { + limit = { + NOT = { + e_mongol_empire = { + holder_scope = { always = yes } + } + } + } + any_demesne_title = { + limit = { + tier = EMPEROR + } + set_title_flag = to_be_destroyed + } + e_mongol_empire = { + hidden_tooltip = { + activate_title = { title = THIS status = yes } + } + grant_title = PREV + make_primary_title = yes + } + any_demesne_title = { + limit = { + has_title_flag = to_be_destroyed + } + activate_title = { title = THIS status = no } + destroy_landed_title = THIS + } + } + if = { + limit = { + ai = yes + } + character_event = { id = 60530 } # ai reinforcements + population = 50000 + } + hidden_tooltip = { + any_playable_ruler = { + narrative_event = { id = 60520 } # notify the world + } + narrative_event = { id = 60520 } # and myself + } + } + + ai_will_do = { + factor = 1 + } + } + become_genghis_khan_tribal = { + only_independent = yes + is_high_prio = yes + + potential = { + is_playable = yes + independent = yes + culture = mongol + NOT = { has_dlc = "Horse Lords" } + government = tribal_government + NOT = { has_global_flag = mongol_horde_united } + } + + allow = { + culture = mongol + government = tribal_government + num_of_count_titles_in_realm = 35 + prestige = 1500 + } + + effect = { + set_global_flag = mongol_horde_arrival + set_global_flag = mongol_horde_united + set_special_character_title = GENGHIS_KHAN + prestige = 1000 + add_character_modifier = { + modifier = greatest_of_khans + duration = -1 + } + if = { + limit = { + NOT = { + e_mongol_empire = { + holder_scope = { always = yes } + } + } + } + any_demesne_title = { + limit = { + tier = EMPEROR + } + set_title_flag = to_be_destroyed + } + e_mongol_empire = { + activate_title = { title = THIS status = yes } + grant_title = PREV + } + any_demesne_title = { + limit = { + has_title_flag = to_be_destroyed + } + activate_title = { title = THIS status = no } + destroy_landed_title = THIS + } + } + if = { + limit = { + ai = yes + } + character_event = { id = 60530 } # ai reinforcements + } + hidden_tooltip = { + any_playable_ruler = { + narrative_event = { id = 60520 } # notify the world + } + narrative_event = { id = 60520 } # and myself + } + } + + ai_will_do = { + factor = 1 + } + } +} \ No newline at end of file diff --git a/LCDA/decisions/conversion_decisions.txt b/LCDA/decisions/conversion_decisions.txt new file mode 100644 index 0000000..e3270fe --- /dev/null +++ b/LCDA/decisions/conversion_decisions.txt @@ -0,0 +1,2804 @@ +targetted_decisions = { + + convert_to_liege_religion = { + only_playable = yes + + filter = self + ai_target_filter = self + + potential = { + ai = no + is_playable = yes + liege = { + NOT = { character = ROOT } + NOT = { religion = ROOT } + religion_group = ROOT + } + controls_religion = no + } + allow = { + NOT = { trait = zealous } + } + effect = { + prestige = -500 + piety = 250 + if = { + limit = { higher_tier_than = BARON } + religion_authority = { + modifier = ruler_converted_from + } + } + liege = { + reverse_religion = ROOT + } + if = { + limit = { higher_tier_than = BARON } + hidden_tooltip = { + religion_authority = { + modifier = ruler_converted_to + } + } + } + if = { + limit = { liege = { trait = shaivist_hindu } } + add_trait = shaivist_hindu + } + if = { + limit = { liege = { trait = vaishnavist_hindu } } + add_trait = vaishnavist_hindu + } + if = { + limit = { liege = { trait = shaktist_hindu } } + add_trait = shaktist_hindu + } + if = { + limit = { liege = { trait = smartist_hindu } } + add_trait = smartist_hindu + } + if = { + limit = { liege = { trait = mahayana_buddhist } } + add_trait = mahayana_buddhist + } + if = { + limit = { liege = { trait = vajrayana_buddhist } } + add_trait = vajrayana_buddhist + } + if = { + limit = { liege = { trait = theravada_buddhist } } + add_trait = theravada_buddhist + } + if = { + limit = { liege = { trait = digambara_jain } } + add_trait = digambara_jain + } + if = { + limit = { liege = { trait = svetambara_jain } } + add_trait = svetambara_jain + } + } + revoke_allowed = { + always = no + } + ai_will_do = { + factor = 0 + } + } + + convert_to_liege_religion_on_liege = { + only_playable = yes + + filter = liege + ai_target_filter = liege + + from_potential = { + ai = no + is_playable = yes + controls_religion = no + } + potential = { + NOT = { character = FROM } + NOT = { religion = FROM } + religion_group = FROM + } + + allow = { + FROM = { NOT = { trait = zealous } } + } + + effect = { + FROM = { + prestige = -500 + piety = 250 + if = { + limit = { higher_tier_than = BARON } + religion_authority = { + modifier = ruler_converted_from + } + } + religion = ROOT + if = { + limit = { higher_tier_than = BARON } + hidden_tooltip = { + religion_authority = { + modifier = ruler_converted_to + } + } + } + if = { + limit = { ROOT = { trait = shaivist_hindu } } + add_trait = shaivist_hindu + } + if = { + limit = { ROOT = { trait = vaishnavist_hindu } } + add_trait = vaishnavist_hindu + } + if = { + limit = { ROOT = { trait = shaktist_hindu } } + add_trait = shaktist_hindu + } + if = { + limit = { ROOT = { trait = smartist_hindu } } + add_trait = smartist_hindu + } + if = { + limit = { ROOT = { trait = mahayana_buddhist } } + add_trait = mahayana_buddhist + } + if = { + limit = { ROOT = { trait = vajrayana_buddhist } } + add_trait = vajrayana_buddhist + } + if = { + limit = { ROOT = { trait = theravada_buddhist } } + add_trait = theravada_buddhist + } + if = { + limit = { ROOT = { trait = digambara_jain } } + add_trait = digambara_jain + } + if = { + limit = { ROOT = { trait = svetambara_jain } } + add_trait = svetambara_jain + } + } + } + revoke_allowed = { + always = no + } + ai_will_do = { + factor = 0 + } + } + + convert_to_liege_culture_on_liege = { + only_playable = yes + + filter = liege + ai_target_filter = liege + + from_potential = { + is_playable = yes + } + + potential = { + NOT = { character = FROM } + NOT = { culture = FROM } + } + allow = { + FROM = { prestige = 200 } + } + effect = { + FROM = { + prestige = -200 + culture = ROOT + } + } + revoke_allowed = { + always = no + } + ai_will_do = { + factor = 0 + } + } + + convert_to_liege_culture = { + only_playable = yes + + filter = self + ai_target_filter = self + + potential = { + is_playable = yes + liege = { + NOT = { character = ROOT } + NOT = { culture = ROOT } + } + } + allow = { + prestige = 200 + } + effect = { + prestige = -200 + liege = { + reverse_culture = ROOT + } + } + revoke_allowed = { + always = no + } + ai_will_do = { + factor = 0 + } + } + + convert_to_local_culture = { + only_playable = yes + + filter = self + ai_target_filter = self + + potential = { + is_playable = yes + is_nomadic = no + capital_scope = { + NOT = { culture = ROOT } + } + OR = { + independent = yes + liege = { + NOT = { culture = ROOT } + } + } + holy_order = no + mercenary = no + has_dlc = "Rajas of India" + } + allow = { + prestige = 500 + } + effect = { + prestige = -500 + capital_scope = { + reverse_culture = ROOT + } + } + revoke_allowed = { + always = no + } + ai_will_do = { + factor = 1 + modifier = { + factor = 0.01 + } + modifier = { + factor = 0 + primary_title = { + is_conquered = yes + conquest_culture = ROOT + } + } + modifier = { + factor = 0 + any_vassal = { + culture = ROOT + OR = { + tier = duke + tier = king + AND = { + tier = count + ROOT = { tier = duke } + } + } + } + } + modifier = { + factor = 0 + capital_scope = { + OR = { + AND = { + culture = norse + NOT = { has_global_flag = norse_culture_flipping } + ROOT = { + OR = { + culture = swedish + culture = norwegian + culture = danish + culture = norman + } + } + } + AND = { + culture = saxon + ROOT = { + OR = { + culture = norman + culture = english + } + } + } + AND = { + culture = norman + ROOT = { + OR = { + culture = english + culture = saxon + } + } + } + AND = { + culture_group = east_slavic + ROOT = { + culture = russian + } + } + AND = { + culture = pictish + ROOT = { + culture = scottish + } + } + AND = { + culture = lombard + ROOT = { + culture = italian + } + } + AND = { + culture = old_frankish + ROOT = { + culture = frankish + } + } + AND = { + culture = frisian + ROOT = { + culture = dutch + } + } + AND = { + culture = old_saxon + ROOT = { + culture = german + } + } + AND = { + culture = visigothic + ROOT = { + OR = { + culture_group = iberian + culture = andalusian_arabic + culture = occitan + religion_group = muslim + } + } + } + } + } + } + modifier = { + factor = 0 + culture = nahuatl + } + } + } + + convert_to_local_religion = { + only_playable = yes + + filter = self + ai_target_filter = self + + potential = { + ai = no + is_playable = yes + is_nomadic = no + capital_scope = { + NOT = { religion = ROOT } + } + OR = { + independent = yes + liege = { + NOT = { religion = ROOT } + } + } + + # The Indian religions can convert to each other anyway + OR = { + NOT = { religion_group = indian_group } + capital_scope = { + NOT = { religion_group = indian_group } + } + } + + controls_religion = no + holy_order = no + + has_dlc = "Rajas of India" + + NOT = { + AND = { + has_dlc = "Charlemagne" + has_landed_title = e_byzantium # May instead renounce iconoclasm + has_landed_title = c_byzantion + religion = iconoclast + capital_scope = { religion = orthodox } + } + } + } + allow = { + NOT = { trait = zealous } + OR = { + AND = { + prestige = 500 + capital_scope = { + religion_group = ROOT + } + } + AND = { + prestige = 1000 + capital_scope = { + NOT = { religion_group = ROOT } + } + } + } + } + effect = { + if = { + limit = { + capital_scope = { + NOT = { religion_group = ROOT } + } + } + prestige = -1000 + } + if = { + limit = { + capital_scope = { + religion_group = ROOT + } + } + prestige = -500 + } + piety = 250 + religion_authority = { + modifier = ruler_converted_from + } + if = { + limit = { + religion_group = christian + NOT = { trait = sympathy_christendom } + capital_scope = { + NOT = { religion_group = ROOT } + } + } + random = { + chance = 60 + add_trait = sympathy_christendom + } + } + if = { + limit = { + religion_group = muslim + NOT = { trait = sympathy_islam } + capital_scope = { + NOT = { religion_group = ROOT } + } + } + random = { + chance = 60 + add_trait = sympathy_islam + } + } + if = { + limit = { + religion_group = pagan_group + NOT = { trait = sympathy_pagans } + capital_scope = { + NOT = { religion_group = ROOT } + } + } + random = { + chance = 60 + add_trait = sympathy_pagans + } + } + if = { + limit = { + religion_group = zoroastrian_group + NOT = { trait = sympathy_zoroastrianism } + capital_scope = { + NOT = { religion_group = ROOT } + } + } + random = { + chance = 60 + add_trait = sympathy_zoroastrianism + } + } + if = { + limit = { + religion_group = jewish_group + NOT = { trait = sympathy_judaism } + capital_scope = { + NOT = { religion_group = ROOT } + } + } + random = { + chance = 60 + add_trait = sympathy_judaism + } + } + if = { + limit = { + religion_group = indian_group + NOT = { trait = sympathy_indian } + capital_scope = { + NOT = { religion_group = ROOT } + } + } + random = { + chance = 60 + add_trait = sympathy_indian + } + } + capital_scope = { + reverse_religion = ROOT + } + hidden_tooltip = { + religion_authority = { + modifier = ruler_converted_to + } + } + } + revoke_allowed = { + always = no + } + ai_will_do = { + factor = 0 + } + } + + convert_to_parent_religion = { + only_playable = yes + + filter = self + ai_target_filter = self + + potential = { + ai = no + is_playable = yes + independent = yes + controls_religion = no + is_heretic = yes + NOT = { + AND = { + has_dlc = "Charlemagne" + has_landed_title = e_byzantium # May instead renounce iconoclasm + has_landed_title = c_byzantion + religion = iconoclast + is_heresy_of = orthodox + } + } + } + allow = { + NOT = { trait = zealous } + } + effect = { + prestige = -500 + piety = 250 + if = { + limit = { higher_tier_than = BARON } + religion_authority = { + modifier = ruler_converted_from + } + } + + abandon_heresy = yes + + if = { + limit = { higher_tier_than = BARON } + hidden_tooltip = { + religion_authority = { + modifier = ruler_converted_to + } + } + } + } + revoke_allowed = { + always = no + } + ai_will_do = { + factor = 0 + } + } + + convert_to_swedish = { + only_playable = yes + + filter = self + ai_target_filter = self + + potential = { + is_playable = yes + culture = norse + capital_scope = { + region = custom_swedish + } + any_realm_province = { + culture = swedish + } + } + allow = { + culture = norse + } + effect = { + culture = swedish + any_courtier = { + limit = { + culture = norse + employer = { character = ROOT } + dynasty = ROOT + } + culture = swedish + } + } + revoke_allowed = { + always = no + } + ai_will_do = { + factor = 1 + + modifier = { + factor = 0.2 # Slow it down a bit + } + + modifier = { # Do not flip if we're in a huge Norse empire + factor = 0 + top_liege = { culture = norse } + 290 = { # Uppland + owner = { + same_realm = ROOT + } + } + 272 = { # Akershus + owner = { + same_realm = ROOT + } + } + 266 = { # Sjaelland + owner = { + same_realm = ROOT + } + } + } + + modifier = { + factor = 0.01 + capital_scope = { + NOT = { culture = swedish } + } + } + modifier = { + factor = 2.0 + liege = { culture = swedish } + } + modifier = { + factor = 1.1 + num_culture_realm_provs = { + value = 2 + culture = swedish + } + } + modifier = { + factor = 1.1 + num_culture_realm_provs = { + value = 4 + culture = swedish + } + } + modifier = { + factor = 1.1 + num_culture_realm_provs = { + value = 6 + culture = swedish + } + } + modifier = { + factor = 1.1 + num_culture_realm_provs = { + value = 8 + culture = swedish + } + } + modifier = { + factor = 1.1 + num_culture_realm_provs = { + value = 10 + culture = swedish + } + } + } + } + convert_to_norwegian = { + only_playable = yes + + filter = self + ai_target_filter = self + + potential = { + is_playable = yes + culture = norse + capital_scope = { + region = custom_norwegian + } + any_realm_province = { + culture = norwegian + } + } + allow = { + culture = norse + } + effect = { + culture = norwegian + any_courtier = { + limit = { + culture = norse + employer = { character = ROOT } + dynasty = ROOT + } + culture = norwegian + } + } + revoke_allowed = { + always = no + } + ai_will_do = { + factor = 1 + + modifier = { + factor = 0.2 # Slow it down a bit + } + + modifier = { # Do not flip if we're in a huge Norse empire + factor = 0 + top_liege = { culture = norse } + 290 = { # Uppland + owner = { + same_realm = ROOT + } + } + 272 = { # Akershus + owner = { + same_realm = ROOT + } + } + 266 = { # Sjaelland + owner = { + same_realm = ROOT + } + } + } + + modifier = { + factor = 0.01 + capital_scope = { + NOT = { culture = norwegian } + } + } + modifier = { + factor = 2.0 + liege = { culture = norwegian } + } + + modifier = { + factor = 1.1 + num_culture_realm_provs = { + value = 2 + culture = norwegian + } + } + modifier = { + factor = 1.1 + num_culture_realm_provs = { + value = 4 + culture = norwegian + } + } + modifier = { + factor = 1.1 + num_culture_realm_provs = { + value = 6 + culture = norwegian + } + } + modifier = { + factor = 1.1 + num_culture_realm_provs = { + value = 8 + culture = norwegian + } + } + modifier = { + factor = 1.1 + num_culture_realm_provs = { + value = 10 + culture = norwegian + } + } + } + } + convert_to_danish = { + only_playable = yes + + filter = self + ai_target_filter = self + + potential = { + is_playable = yes + culture = norse + capital_scope = { + region = custom_danish + } + any_realm_province = { + culture = danish + } + } + allow = { + culture = norse + } + effect = { + culture = danish + any_courtier = { + limit = { + culture = norse + employer = { character = ROOT } + dynasty = ROOT + } + culture = danish + } + } + revoke_allowed = { + always = no + } + ai_will_do = { + factor = 1 + + modifier = { + factor = 0.2 # Slow it down a bit + } + + modifier = { # Do not flip if we're in a huge Norse empire + factor = 0 + top_liege = { culture = norse } + 290 = { # Uppland + owner = { + same_realm = ROOT + } + } + 272 = { # Akershus + owner = { + same_realm = ROOT + } + } + 266 = { # Sjaelland + owner = { + same_realm = ROOT + } + } + } + + modifier = { + factor = 0.01 + capital_scope = { + NOT = { culture = danish } + } + } + modifier = { + factor = 2.0 + liege = { culture = danish } + } + modifier = { + factor = 1.1 + num_culture_realm_provs = { + value = 2 + culture = danish + } + } + modifier = { + factor = 1.1 + num_culture_realm_provs = { + value = 4 + culture = danish + } + } + modifier = { + factor = 1.1 + num_culture_realm_provs = { + value = 6 + culture = danish + } + } + modifier = { + factor = 1.1 + num_culture_realm_provs = { + value = 8 + culture = danish + } + } + modifier = { + factor = 1.1 + num_culture_realm_provs = { + value = 10 + culture = danish + } + } + } + } + convert_to_norman = { + only_playable = yes + + filter = self + ai_target_filter = self + + potential = { + is_playable = yes + culture = norse + capital_scope = { + culture = norman + } + } + allow = { + culture = norse + } + effect = { + culture = norman + any_courtier = { + limit = { + culture = norse + employer = { character = ROOT } + dynasty = ROOT + } + culture = norman + } + } + revoke_allowed = { + always = no + } + ai_will_do = { + factor = 1 + + modifier = { + factor = 0.2 # Slow it down a bit + } + + modifier = { # Do not flip if we're in a huge Norse empire + factor = 0 + top_liege = { culture = norse } + OR = { + top_liege = { + tier = emperor + } + AND = { + 290 = { # Uppland + owner = { + same_realm = ROOT + } + } + 272 = { # Akershus + owner = { + same_realm = ROOT + } + } + 266 = { # Sjaelland + owner = { + same_realm = ROOT + } + } + } + } + } + + modifier = { + factor = 1.2 + liege = { culture = norman } + } + modifier = { + factor = 1.1 + num_culture_realm_provs = { + value = 2 + culture = norman + } + } + modifier = { + factor = 1.1 + num_culture_realm_provs = { + value = 4 + culture = norman + } + } + modifier = { + factor = 1.1 + num_culture_realm_provs = { + value = 6 + culture = norman + } + } + modifier = { + factor = 1.1 + num_culture_realm_provs = { + value = 8 + culture = norman + } + } + modifier = { + factor = 1.1 + num_culture_realm_provs = { + value = 10 + culture = norman + } + } + } + } + + convert_to_reformed = { + only_playable = yes + + filter = self + ai_target_filter = self + + potential = { + is_playable = yes + is_heretic = yes + OR = { + religion = norse_pagan + religion = finnish_pagan + religion = baltic_pagan + religion = tengri_pagan + religion = slavic_pagan + religion = aztec + religion = west_african_pagan + } + } + allow = { + NOT = { trait = zealous } + piety = 50 + } + effect = { + piety = -50 + if = { + limit = { religion = norse_pagan } + religion = norse_pagan_reformed + } + if = { + limit = { religion = finnish_pagan } + religion = finnish_pagan_reformed + } + if = { + limit = { religion = baltic_pagan } + religion = baltic_pagan_reformed + } + if = { + limit = { religion = tengri_pagan } + religion = tengri_pagan_reformed + } + if = { + limit = { religion = slavic_pagan } + religion = slavic_pagan_reformed + } + if = { + limit = { religion = aztec } + religion = aztec_reformed + } + if = { + limit = { religion = west_african_pagan } + religion = west_african_pagan_reformed + } + + hidden_tooltip = { + any_courtier = { + limit = { + is_heresy_of = ROOT + employer = { character = ROOT } + } + religion = ROOT + } + any_vassal = { + limit = { + is_playable = no + is_heresy_of = ROOT + } + religion = ROOT + } + capital_scope = { + if = { + limit = { is_heresy_of = ROOT } + religion = ROOT + } + } + } + } + revoke_allowed = { + always = no + } + ai_will_do = { + factor = 1 # On average ca 1 year before taken + modifier = { + factor = 0.025 # Generally quite a slow process - ca 40 years + } + modifier = { + factor = 0.5 + OR = { + trait = slow + trait = dull + } + } + modifier = { + factor = 0.1 + trait = imbecile + } + modifier = { + factor = 0.5 + trait = content + } + modifier = { + factor = 2.0 + OR = { + trait = quick + trait = shrewd + } + } + modifier = { + factor = 4.0 + trait = genius + } + modifier = { + factor = 5.0 + trait = cynical # It's the future.. + } + modifier = { + factor = 2.0 + trait = ambitious + } + modifier = { + factor = 0 + independent = no + any_liege = { + religion = ROOT + } + } + } + } + + convert_to_hinduism = { + only_playable = yes + icon_religion = hindu + + filter = self + ai_target_filter = self + + potential = { + ai = no + is_playable = yes + religion_group = indian_group + NOT = { religion = hindu } + is_theocracy = no + } + allow = { + is_adult = yes + prestige = 500 + NOT = { trait = zealous } + any_realm_province = { + religion = hindu + } + custom_tooltip = { + text = indian_has_not_converted + NOT = { has_character_flag = india_converted } + } + } + effect = { + if = { + limit = { higher_tier_than = BARON } + religion_authority = { + modifier = ruler_converted_from + } + } + religion = hindu + if = { + limit = { higher_tier_than = BARON } + hidden_tooltip = { + religion_authority = { + modifier = ruler_converted_to + } + } + } + set_character_flag = india_converted + prestige = -500 + piety = 100 + hidden_tooltip = { character_event = { id = RoI.110 } } # Choose branch + } + revoke_allowed = { + always = no + } + ai_will_do = { + factor = 0 + } + } + + convert_to_buddhism = { + only_playable = yes + icon_religion = buddhist + + filter = self + ai_target_filter = self + + potential = { + ai = no + is_playable = yes + religion_group = indian_group + NOT = { religion = buddhist } + is_theocracy = no + } + allow = { + is_adult = yes + prestige = 500 + NOT = { trait = zealous } + any_realm_province = { + religion = buddhist + } + custom_tooltip = { + text = indian_has_not_converted + NOT = { has_character_flag = india_converted } + } + } + effect = { + if = { + limit = { higher_tier_than = BARON } + religion_authority = { + modifier = ruler_converted_from + } + } + religion = buddhist + if = { + limit = { higher_tier_than = BARON } + hidden_tooltip = { + religion_authority = { + modifier = ruler_converted_to + } + } + } + set_character_flag = india_converted + prestige = -500 + piety = 100 + hidden_tooltip = { character_event = { id = RoI.111 } } # Choose branch + } + revoke_allowed = { + always = no + } + ai_will_do = { + factor = 0 + } + } + + convert_to_jainism = { + only_playable = yes + icon_religion = jain + + filter = self + ai_target_filter = self + + potential = { + ai = no + is_playable = yes + religion_group = indian_group + NOT = { religion = jain } + is_theocracy = no + } + allow = { + is_adult = yes + prestige = 500 + NOT = { trait = zealous } + any_realm_province = { + religion = jain + } + custom_tooltip = { + text = indian_has_not_converted + NOT = { has_character_flag = india_converted } + } + } + effect = { + if = { + limit = { higher_tier_than = BARON } + religion_authority = { + modifier = ruler_converted_from + } + } + religion = jain + if = { + limit = { higher_tier_than = BARON } + hidden_tooltip = { + religion_authority = { + modifier = ruler_converted_to + } + } + } + set_character_flag = india_converted + prestige = -500 + piety = 100 + hidden_tooltip = { character_event = { id = RoI.112 } } # Choose branch + } + revoke_allowed = { + always = no + } + ai_will_do = { + factor = 0 + } + } + + convert_indian_branch = { + only_playable = yes + + filter = self + ai_target_filter = self + + potential = { + ai = no + is_playable = yes + is_adult = yes + is_theocracy = no + religion_group = indian_group + } + allow = { + NOT = { trait = zealous } + prestige = 50 + custom_tooltip = { + text = indian_has_not_converted + NOT = { has_character_flag = india_branch_converted } + } + } + effect = { + set_character_flag = india_branch_converted + prestige = -50 + piety = 25 + if = { + limit = { religion = hindu } + character_event = { id = RoI.115 } # Choose branch + } + if = { + limit = { religion = buddhist } + character_event = { id = RoI.116 } # Choose branch + } + if = { + limit = { religion = jain } + character_event = { id = RoI.117 } # Confirm conversion + } + } + revoke_allowed = { + always = no + } + ai_will_do = { + factor = 0 + } + } + + # Carolingian renaissance - Old Frankish conversion to French + convert_to_french = { + only_playable = yes + + filter = self + ai_target_filter = self + + potential = { + is_playable = yes + culture = old_frankish + capital_scope = { + region = world_europe_west_francia + } + any_realm_province = { + culture = frankish + } + } + allow = { + culture = old_frankish + } + effect = { + culture = frankish + any_courtier = { + limit = { + culture = old_frankish + employer = { character = ROOT } + dynasty = ROOT + } + culture = frankish + } + } + revoke_allowed = { + always = no + } + ai_will_do = { + factor = 1 + + modifier = { + factor = 0.2 # Slow it down a bit + } + + modifier = { + factor = 0.01 + capital_scope = { + NOT = { culture = frankish } + } + } + modifier = { + factor = 2.0 + liege = { culture = frankish } + } + modifier = { + factor = 1.1 + num_culture_realm_provs = { + value = 2 + culture = frankish + } + } + modifier = { + factor = 1.1 + num_culture_realm_provs = { + value = 4 + culture = frankish + } + } + modifier = { + factor = 1.1 + num_culture_realm_provs = { + value = 6 + culture = frankish + } + } + modifier = { + factor = 1.1 + num_culture_realm_provs = { + value = 8 + culture = frankish + } + } + modifier = { + factor = 1.1 + num_culture_realm_provs = { + value = 10 + culture = frankish + } + } + } + } + + # Pictish character may convert to Scottish + convert_to_scottish = { + only_playable = yes + + filter = self + ai_target_filter = self + + potential = { + is_playable = yes + culture = pictish + capital_scope = { + region = custom_scotland + } + any_realm_province = { + culture = scottish + } + } + allow = { + culture = pictish + } + effect = { + culture = scottish + any_courtier = { + limit = { + culture = pictish + employer = { character = ROOT } + dynasty = ROOT + } + culture = scottish + } + } + revoke_allowed = { + always = no + } + ai_will_do = { + factor = 1 + + modifier = { + factor = 0.2 # Slow it down a bit + } + + modifier = { + factor = 0.01 + capital_scope = { + NOT = { culture = scottish } + } + } + modifier = { + factor = 2.0 + liege = { culture = scottish } + } + modifier = { + factor = 1.1 + num_culture_realm_provs = { + value = 2 + culture = scottish + } + } + modifier = { + factor = 1.1 + num_culture_realm_provs = { + value = 4 + culture = scottish + } + } + modifier = { + factor = 1.1 + num_culture_realm_provs = { + value = 6 + culture = scottish + } + } + modifier = { + factor = 1.1 + num_culture_realm_provs = { + value = 8 + culture = scottish + } + } + modifier = { + factor = 1.1 + num_culture_realm_provs = { + value = 10 + culture = scottish + } + } + } + } + + # Arabic or Visigothic character may convert to Andalusian + convert_to_andalusian = { + only_playable = yes + + filter = self + ai_target_filter = self + + potential = { + is_playable = yes + OR = { + culture = visigothic + culture_group = arabic + } + OR = { + religion_group = muslim + top_liege = { religion_group = muslim } + } + capital_scope = { + region = custom_andalusian + } + any_realm_province = { + culture = andalusian_arabic + } + NOT = { + culture = andalusian_arabic + } + } + effect = { + culture = andalusian_arabic + any_courtier = { + limit = { + culture = ROOT + employer = { character = ROOT } + dynasty = ROOT + } + culture = andalusian_arabic + } + } + revoke_allowed = { + always = no + } + ai_will_do = { + factor = 1 + + modifier = { + factor = 0.2 # Slow it down a bit + } + + modifier = { + factor = 0.01 + capital_scope = { + NOT = { culture = andalusian_arabic } + } + } + modifier = { + factor = 2.0 + liege = { culture = andalusian_arabic } + } + modifier = { + factor = 1.1 + num_culture_realm_provs = { + value = 2 + culture = andalusian_arabic + } + } + modifier = { + factor = 1.1 + num_culture_realm_provs = { + value = 4 + culture = andalusian_arabic + } + } + modifier = { + factor = 1.1 + num_culture_realm_provs = { + value = 6 + culture = andalusian_arabic + } + } + modifier = { + factor = 1.1 + num_culture_realm_provs = { + value = 8 + culture = andalusian_arabic + } + } + modifier = { + factor = 1.1 + num_culture_realm_provs = { + value = 10 + culture = andalusian_arabic + } + } + } + } + + # Visigothic character may convert to Castillan + convert_to_castillan = { + only_playable = yes + + filter = self + ai_target_filter = self + + potential = { + is_playable = yes + culture = visigothic + religion_group = christian + capital_scope = { + region = custom_castillian + } + any_realm_province = { + culture = castillan + } + } + allow = { + culture = visigothic + } + effect = { + culture = castillan + any_courtier = { + limit = { + culture = ROOT + employer = { character = ROOT } + dynasty = ROOT + } + culture = castillan + } + } + revoke_allowed = { + always = no + } + ai_will_do = { + factor = 1 + + modifier = { + factor = 0.2 # Slow it down a bit + } + + modifier = { + factor = 0.01 + capital_scope = { + NOT = { culture = castillan } + } + } + modifier = { + factor = 2.0 + liege = { culture = castillan } + } + modifier = { + factor = 1.1 + num_culture_realm_provs = { + value = 2 + culture = castillan + } + } + modifier = { + factor = 1.1 + num_culture_realm_provs = { + value = 4 + culture = castillan + } + } + modifier = { + factor = 1.1 + num_culture_realm_provs = { + value = 6 + culture = castillan + } + } + modifier = { + factor = 1.1 + num_culture_realm_provs = { + value = 8 + culture = castillan + } + } + modifier = { + factor = 1.1 + num_culture_realm_provs = { + value = 10 + culture = castillan + } + } + } + } + + # Visigothic character may convert to catalan + convert_to_catalan = { + only_playable = yes + + filter = self + ai_target_filter = self + + potential = { + is_playable = yes + culture = visigothic + religion_group = christian + capital_scope = { + region = custom_catalan + } + any_realm_province = { + culture = catalan + } + } + allow = { + culture = visigothic + } + effect = { + culture = catalan + any_courtier = { + limit = { + culture = ROOT + employer = { character = ROOT } + dynasty = ROOT + } + culture = catalan + } + } + revoke_allowed = { + always = no + } + ai_will_do = { + factor = 1 + + modifier = { + factor = 0.2 # Slow it down a bit + } + + modifier = { + factor = 0.01 + capital_scope = { + NOT = { culture = catalan } + } + } + modifier = { + factor = 2.0 + liege = { culture = catalan } + } + modifier = { + factor = 1.1 + num_culture_realm_provs = { + value = 2 + culture = catalan + } + } + modifier = { + factor = 1.1 + num_culture_realm_provs = { + value = 4 + culture = catalan + } + } + modifier = { + factor = 1.1 + num_culture_realm_provs = { + value = 6 + culture = catalan + } + } + modifier = { + factor = 1.1 + num_culture_realm_provs = { + value = 8 + culture = catalan + } + } + modifier = { + factor = 1.1 + num_culture_realm_provs = { + value = 10 + culture = catalan + } + } + } + } + + # Suebi or Visigothic character may convert to Portuguese + convert_to_portuguese = { + only_playable = yes + + filter = self + ai_target_filter = self + + potential = { + is_playable = yes + OR = { + culture = suebi + culture = visigothic + } + religion_group = christian + capital_scope = { + region = custom_portuguese + } + any_realm_province = { + culture = portuguese + } + } + allow = { + OR = { + culture = suebi + culture = visigothic + } + } + effect = { + culture = portuguese + any_courtier = { + limit = { + culture = ROOT + employer = { character = ROOT } + dynasty = ROOT + } + culture = portuguese + } + } + revoke_allowed = { + always = no + } + ai_will_do = { + factor = 1 + + modifier = { + factor = 0.2 # Slow it down a bit + } + + modifier = { + factor = 0.01 + capital_scope = { + NOT = { culture = portuguese } + } + } + modifier = { + factor = 2.0 + liege = { culture = portuguese } + } + modifier = { + factor = 1.1 + num_culture_realm_provs = { + value = 2 + culture = portuguese + } + } + modifier = { + factor = 1.1 + num_culture_realm_provs = { + value = 4 + culture = portuguese + } + } + modifier = { + factor = 1.1 + num_culture_realm_provs = { + value = 6 + culture = portuguese + } + } + modifier = { + factor = 1.1 + num_culture_realm_provs = { + value = 8 + culture = portuguese + } + } + modifier = { + factor = 1.1 + num_culture_realm_provs = { + value = 10 + culture = portuguese + } + } + } + } + + # Old Frankish or Old Saxon character may convert to dutch + convert_to_dutch = { + only_playable = yes + + filter = self + ai_target_filter = self + + potential = { + is_playable = yes + OR = { + culture = old_frankish + culture = old_saxon + culture = frisian + } + capital_scope = { + region = custom_frisia + } + any_realm_province = { + culture = dutch + } + } + allow = { + culture = ROOT + } + effect = { + culture = dutch + any_courtier = { + limit = { + culture = ROOT + employer = { character = ROOT } + dynasty = ROOT + } + culture = dutch + } + } + revoke_allowed = { + always = no + } + ai_will_do = { + factor = 1 + + modifier = { + factor = 0.2 # Slow it down a bit + } + + modifier = { + factor = 0.01 + capital_scope = { + NOT = { culture = dutch } + } + } + modifier = { + factor = 2.0 + liege = { culture = dutch } + } + modifier = { + factor = 1.1 + num_culture_realm_provs = { + value = 2 + culture = dutch + } + } + modifier = { + factor = 1.1 + num_culture_realm_provs = { + value = 4 + culture = dutch + } + } + modifier = { + factor = 1.1 + num_culture_realm_provs = { + value = 6 + culture = dutch + } + } + modifier = { + factor = 1.1 + num_culture_realm_provs = { + value = 8 + culture = dutch + } + } + modifier = { + factor = 1.1 + num_culture_realm_provs = { + value = 10 + culture = dutch + } + } + } + } + + # Lombard character may convert to italian + convert_to_italian = { + only_playable = yes + + filter = self + ai_target_filter = self + + potential = { + is_playable = yes + culture = lombard + capital_scope = { + region = world_europe_south_italy + } + any_realm_province = { + culture = italian + } + OR = { + year = 786 + top_liege = { + NOT = { culture = lombard } + } + } + } + allow = { + culture = lombard + capital_scope = { + region = world_europe_south_italy + } + any_realm_province = { + culture = italian + } + } + effect = { + culture = italian + any_courtier = { + limit = { + culture = ROOT + employer = { character = ROOT } + dynasty = ROOT + } + culture = italian + } + } + revoke_allowed = { + always = no + } + ai_will_do = { + factor = 1 + + modifier = { + factor = 0 + OR = { + independent = yes + top_liege = { culture = lombard } + } + } + + modifier = { + factor = 0.1 # Slow it down a bit + } + + modifier = { + factor = 0.01 + capital_scope = { + NOT = { culture = italian } + } + } + modifier = { + factor = 2.0 + liege = { culture = italian } + } + modifier = { + factor = 1.1 + num_culture_realm_provs = { + value = 2 + culture = italian + } + } + modifier = { + factor = 1.1 + num_culture_realm_provs = { + value = 4 + culture = italian + } + } + modifier = { + factor = 1.1 + num_culture_realm_provs = { + value = 6 + culture = italian + } + } + modifier = { + factor = 1.1 + num_culture_realm_provs = { + value = 8 + culture = italian + } + } + modifier = { + factor = 1.1 + num_culture_realm_provs = { + value = 10 + culture = italian + } + } + } + } + + # Visigothic character may convert to occitan + convert_to_occitan = { + only_playable = yes + + filter = self + ai_target_filter = self + + potential = { + is_playable = yes + culture = visigothic + religion_group = christian + capital_scope = { + region = world_europe_west_francia + } + any_realm_province = { + culture = occitan + } + } + allow = { + culture = ROOT + } + effect = { + culture = occitan + any_courtier = { + limit = { + culture = ROOT + employer = { character = ROOT } + dynasty = ROOT + } + culture = occitan + } + } + revoke_allowed = { + always = no + } + ai_will_do = { + factor = 1 + + modifier = { + factor = 0.2 # Slow it down a bit + } + + modifier = { + factor = 0.01 + capital_scope = { + NOT = { culture = occitan } + } + } + modifier = { + factor = 2.0 + liege = { culture = occitan } + } + modifier = { + factor = 1.1 + num_culture_realm_provs = { + value = 2 + culture = occitan + } + } + modifier = { + factor = 1.1 + num_culture_realm_provs = { + value = 4 + culture = occitan + } + } + modifier = { + factor = 1.1 + num_culture_realm_provs = { + value = 6 + culture = occitan + } + } + modifier = { + factor = 1.1 + num_culture_realm_provs = { + value = 8 + culture = occitan + } + } + modifier = { + factor = 1.1 + num_culture_realm_provs = { + value = 10 + culture = occitan + } + } + } + } + + # East Slavic character may convert to Russian + convert_to_russian = { + only_playable = yes + + filter = self + ai_target_filter = self + + potential = { + is_playable = yes + culture_group = east_slavic + NOT = { culture = russian } + any_realm_province = { + culture = russian + } + } + allow = { + culture_group = east_slavic + NOT = { culture = russian } + } + effect = { + culture = russian + any_courtier = { + limit = { + culture_group = east_slavic + NOT = { culture = russian } + employer = { character = ROOT } + dynasty = ROOT + } + culture = russian + } + } + revoke_allowed = { + always = no + } + ai_will_do = { + factor = 1 + + modifier = { + factor = 0.2 # Slow it down a bit + } + + modifier = { + factor = 0.01 + capital_scope = { + NOT = { culture = russian } + } + } + modifier = { + factor = 2.0 + liege = { culture = russian } + } + modifier = { + factor = 1.1 + num_culture_realm_provs = { + value = 2 + culture = russian + } + } + modifier = { + factor = 1.1 + num_culture_realm_provs = { + value = 4 + culture = russian + } + } + modifier = { + factor = 1.1 + num_culture_realm_provs = { + value = 6 + culture = russian + } + } + modifier = { + factor = 1.1 + num_culture_realm_provs = { + value = 8 + culture = russian + } + } + modifier = { + factor = 1.1 + num_culture_realm_provs = { + value = 10 + culture = russian + } + } + } + } + + convert_to_spouse_religion= { + only_playable = yes + filter = home_court + ai_target_filter = home_court + + from_potential = { + ai = no + is_playable = yes + religion_group = pagan_group + controls_religion = no + } + + potential = { + OR = { + spouse = { + character = FROM + } + consort = { + character = FROM + } + } + OR = { + religion_group = christian + religion_group = muslim + religion_group = zoroastrian_group + religion_group = jewish_group + religion_group = indian_group + } + is_alive = yes + } + + allow = { + FROM = { NOT = { trait = zealous } } + } + + effect = { + FROM = { + prestige = -500 + religion_authority = { + modifier = ruler_converted_from + } + + if = { + limit = { + trait = cynical + } + random = { + chance = 60 + add_trait = sympathy_pagans + } + } + if = { + limit = { + NOT = { trait = cynical } + } + random = { + chance = 50 + add_trait = sympathy_pagans + } + } + + religion = ROOT + + #When spouse is Hindu + if = { + limit = { + ROOT = { + trait = shaivist_hindu + } + } + add_trait = shaivist_hindu + } + if = { + limit = { + ROOT = { + trait = vaishnavist_hindu + } + } + add_trait = vaishnavist_hindu + } + if = { + limit = { + ROOT = { + trait = shaktist_hindu + } + } + add_trait = shaktist_hindu + } + if = { + limit = { + ROOT = { + trait = smartist_hindu + } + } + add_trait = smartist_hindu + } + + #When spouse is Buddhist + if = { + limit = { + ROOT = { + trait = mahayana_buddhist + } + } + add_trait = mahayana_buddhist + } + if = { + limit = { + ROOT = { + trait = vajrayana_buddhist + } + } + add_trait = vajrayana_buddhist + } + if = { + limit = { + ROOT = { + trait = theravada_buddhist + } + } + add_trait = theravada_buddhist + } + + #When spouse is Jain + if = { + limit = { + ROOT = { + trait = digambara_jain + } + } + add_trait = digambara_jain + } + if = { + limit = { + ROOT = { + trait = svetambara_jain + } + } + add_trait = svetambara_jain + } + + hidden_tooltip = { + religion_authority = { + modifier = ruler_converted_to + } + } + piety = 200 + } + } + + revoke_allowed = { + always = no + } + + ai_will_do = { + factor = 0 + } + } +} + +decisions = { + + # Weak or unreformed religions are allowed to convert to the attacker's religion when under Holy War + convert_to_attacker_religion = { + only_playable = yes + + is_high_prio = yes + + potential = { + is_playable = yes + OR = { + AND = { + religion_group = pagan_group + is_reformed_religion = no + NOT = { religion_authority = 0.4 } + } + NOT = { religion_authority = 0.3 } + } + controls_religion = no + + war = yes + any_war = { + defender = { character = ROOT } + attacker = { + NOT = { religion = ROOT } + religion_authority = 0.5 + OR = { + NOT = { religion_group = pagan_group } + is_reformed_religion = yes + } + } + OR = { + using_cb = crusade + using_cb = religious + using_cb = muslim_invasion + using_cb = buddhist_holy_war + using_cb = pagan_holy_war + } + } + } + + allow = { + NOT = { trait = zealous } + } + + effect = { + prestige = -500 + piety = 100 + religion_authority = { + modifier = ruler_converted_from + } + + hidden_tooltip = { + any_war = { + limit = { + defender = { character = ROOT } + attacker = { + NOT = { religion = ROOT } + religion_authority = 0.5 + OR = { + NOT = { religion_group = pagan_group } + is_reformed_religion = yes + } + } + OR = { + using_cb = crusade + using_cb = religious + using_cb = muslim_invasion + using_cb = buddhist_holy_war + using_cb = pagan_holy_war + } + } + attacker = { + save_event_target_as = enemy_attacker + } + } + } + + if = { + limit = { event_target:enemy_attacker = { NOT = { religion_group = ROOT } } } + if = { + limit = { religion_group = pagan_group } + add_trait = sympathy_pagans + } + + if = { + limit = { religion_group = zoroastrian_group } + add_trait = sympathy_zoroastrianism + } + + if = { + limit = { religion_group = christian } + add_trait = sympathy_christendom + } + + if = { + limit = { religion_group = muslim } + add_trait = sympathy_islam + } + + if = { + limit = { religion_group = jewish_group } + add_trait = sympathy_judaism + } + + if = { + limit = { religion_group = indian_group } + add_trait = sympathy_indian + } + } + + event_target:enemy_attacker = { + hidden_tooltip = { + letter_event = { id = 62800 } + ROOT = { + any_courtier = { + limit = { + religion = ROOT + employer = { character = ROOT } + } + religion = PREVPREV + } + any_vassal = { + limit = { + is_playable = no + religion = ROOT + } + religion = PREVPREV + } + capital_scope = { + if = { + limit = { religion = ROOT } + religion = PREVPREV + } + } + } + } + reverse_religion = ROOT + } + + hidden_tooltip = { + religion_authority = { + modifier = ruler_converted_to + } + } + } + + revoke_allowed = { + always = no + } + + ai_will_do = { + factor = 1 + modifier = { + factor = 0.1 + } + modifier = { + factor = 0.05 + is_hard_to_convert = yes + } + modifier = { + factor = 0 + NOT = { + any_war = { + defender = { character = ROOT } + attacker = { + NOT = { religion = ROOT } + religion_authority = 0.45 + OR = { + NOT = { religion_group = pagan_group } + is_reformed_religion = yes + } + } + OR = { + using_cb = crusade + using_cb = religious + using_cb = muslim_invasion + using_cb = buddhist_holy_war + using_cb = pagan_holy_war + } + war_score = 50 + thirdparty_title_scope = { + ROOT = { + primary_title = { + title = PREVPREV + } + } + } + } + } + } + modifier = { + factor = 2 + any_war = { + defender = { character = ROOT } + attacker = { + NOT = { religion = ROOT } + religion_authority = 0.45 + OR = { + NOT = { religion_group = pagan_group } + is_reformed_religion = yes + } + } + OR = { + using_cb = crusade + using_cb = religious + using_cb = muslim_invasion + using_cb = buddhist_holy_war + using_cb = pagan_holy_war + } + war_score = 75 + thirdparty_title_scope = { + ROOT = { + primary_title = { + title = PREVPREV + } + } + } + } + } + } + } + + # Byzantine Emperor may renounce Iconoclasm + renounce_iconoclasm = { + only_playable = yes + + icon_religion = orthodox + + potential = { + is_playable = yes + religion = iconoclast + has_dlc = "Charlemagne" + has_landed_title = e_byzantium + NOT = { has_character_flag = renounced_iconoclasm } + } + allow = { + has_landed_title = e_byzantium + has_landed_title = c_byzantion + any_realm_province = { religion = orthodox } + NOT = { trait = zealous } + war = no + NOT = { year = 900 } + } + effect = { + set_character_flag = renounced_iconoclasm + religion_authority = { + modifier = ruler_converted_from + } + religion = orthodox + hidden_tooltip = { + religion_authority = { + modifier = ruler_converted_to + } + } + custom_tooltip = { + text = renounce_iconoclasm_muslim_opinion_tooltip + hidden_tooltip = { + any_independent_ruler = { + any_realm_lord = { + limit = { religion_group = muslim } + opinion = { + who = ROOT + modifier = opinion_idolater + months = 120 + } + } + } + } + } + custom_tooltip = { + text = renounce_iconoclasm_province_tooltip + hidden_tooltip = { + any_realm_province = { + if = { + limit = { religion = orthodox } + add_province_modifier = { + name = appeased_religious + months = 60 + } + } + } + } + } + k_papal_state = { + holder_scope = { + opinion = { + who = ROOT + modifier = opinion_renounced_iconoclasm + months = 120 + } + } + } + hidden_tooltip = { + any_realm_character = { + limit = { + religion = iconoclast + NOT = { character = ROOT } + can_change_religion = yes + } + character_event = { id = CM.4200 } + } + } + activate_title = { title = k_orthodox status = yes } + d_iconoclast = { + holder_scope = { + k_orthodox = { + grant_title = PREV + } + unsafe_religion = orthodox # Use this effect with care + set_defacto_liege = ROOT + } + hidden_tooltip = { unsafe_destroy_landed_title = THIS } + } + activate_title = { title = d_iconoclast status = no } + } + revoke_allowed = { + always = no + } + ai_will_do = { + factor = 1 + modifier = { + factor = 0.1 # slow it down + } + modifier = { + factor = 3 + trait = cynical + } + } + } +} diff --git a/LCDA/decisions/holy_order_decisions.txt b/LCDA/decisions/holy_order_decisions.txt new file mode 100644 index 0000000..549af41 --- /dev/null +++ b/LCDA/decisions/holy_order_decisions.txt @@ -0,0 +1,3385 @@ +########################################### +# +# Holy Order Decisions for Sons of Abraham +# +########################################### +# Written by Henrik Fåhraeus +########################################### + +# Holy Order Decisions are listed for each existing holy order of the right religion + +decisions = { + + borrow_money_knights_templar = { + only_playable = yes + potential = { + is_playable = yes + is_nomadic = no + OR = { + religion = catholic + religion = cathar + religion = fraticelli + religion = waldensian + religion = lollard + } + is_heretic = no + is_title_active = d_knights_templar + NOT = { has_character_modifier = borrowed_from_knights_templar } + NOT = { has_character_modifier = expelled_d_knights_templar } + + has_dlc = "Sons of Abraham" + + d_knights_templar = { + holder_scope = { + liege = { + NOT = { character = ROOT } + } + } + } + } + + allow = { + d_knights_templar = { + holder_scope = { + wealth = 300 + ROOT = { + NOT = { excommunicated_for = PREV } + } + } + } + } + + effect = { + add_character_modifier = { + name = borrowed_from_knights_templar + duration = -1 + inherit = yes + } + + hidden_tooltip = { + d_knights_templar = { + holder_scope = { + character_event = { + id = SoA.1010 + } + } + } + } + + wealth = 300 + } + + revoke_allowed = { + always = no + } + + ai_will_do = { + factor = 1 + modifier = { + factor = 0 + wealth = 0 + } + modifier = { + factor = 0.01 # Slow it down + } + } + } + + expel_the_knights_templar = { + only_independent = yes + potential = { + ai = no + OR = { + religion = catholic + religion = cathar + religion = fraticelli + religion = waldensian + religion = lollard + } + is_heretic = no + higher_tier_than = DUKE + independent = yes + is_title_active = d_knights_templar + NOT = { has_character_modifier = expelled_d_knights_templar } + + any_realm_province = { + any_province_lord = { + d_knights_templar = { + holder_scope = { + OR = { + character = PREVPREV + is_vassal_or_below = PREVPREV + } + } + } + } + } + + has_dlc = "Sons of Abraham" + } + + allow = { + piety = 1000 + custom_tooltip = { + text = expelling_holy_order_decision_tooltip + hidden_tooltip = { + NOT = { has_character_flag = expel_the_knights_templar_check } + } + } + } + + effect = { + set_character_flag = expel_the_knights_templar_check + custom_tooltip = { + text = expelling_holy_order_decision_tooltip_b + hidden_tooltip = { + character_event = { id = SoA.2990 } + } + } + } + + revoke_allowed = { + always = no + } + + ai_will_do = { + factor = 0 + } + } + + expel_the_knights_hospitaler = { + only_independent = yes + potential = { + ai = no + OR = { + religion = catholic + religion = cathar + religion = fraticelli + religion = waldensian + religion = lollard + } + is_heretic = no + higher_tier_than = DUKE + independent = yes + is_title_active = d_knights_hospitaler + NOT = { has_character_modifier = expelled_d_knights_hospitaler } + + any_realm_province = { + any_province_lord = { + d_knights_hospitaler = { + holder_scope = { + OR = { + character = PREVPREV + is_vassal_or_below = PREVPREV + } + } + } + } + } + + has_dlc = "Sons of Abraham" + } + + allow = { + piety = 1000 + custom_tooltip = { + text = expelling_holy_order_decision_tooltip + hidden_tooltip = { + NOT = { has_character_flag = expel_the_knights_hospitaler_check } + } + } + } + + effect = { + set_character_flag = expel_the_knights_hospitaler_check + custom_tooltip = { + text = expelling_holy_order_decision_tooltip_b + hidden_tooltip = { + character_event = { id = SoA.2990 } + } + } + } + + revoke_allowed = { + always = no + } + + ai_will_do = { + factor = 0 + } + } + + expel_the_teutonic_order = { + only_independent = yes + potential = { + ai = no + OR = { + religion = catholic + religion = cathar + religion = fraticelli + religion = waldensian + religion = lollard + } + is_heretic = no + higher_tier_than = DUKE + independent = yes + is_title_active = d_teutonic_order + NOT = { has_character_modifier = expelled_d_teutonic_order } + + any_realm_province = { + any_province_lord = { + d_teutonic_order = { + holder_scope = { + OR = { + character = PREVPREV + is_vassal_or_below = PREVPREV + } + } + } + } + } + + has_dlc = "Sons of Abraham" + } + + allow = { + piety = 1000 + custom_tooltip = { + text = expelling_holy_order_decision_tooltip + hidden_tooltip = { + NOT = { has_character_flag = expel_the_teutonic_order_check } + } + } + } + + effect = { + set_character_flag = expel_the_teutonic_order_check + custom_tooltip = { + text = expelling_holy_order_decision_tooltip_b + hidden_tooltip = { + character_event = { id = SoA.2990 } + } + } + } + + revoke_allowed = { + always = no + } + + ai_will_do = { + factor = 0 + } + } + + expel_the_jomsvikings = { + only_independent = yes + potential = { + ai = no + OR = { + religion = norse_pagan + religion = norse_pagan_reformed + } + higher_tier_than = DUKE + independent = yes + is_title_active = d_jomsvikings + NOT = { has_character_modifier = expelled_d_jomsvikings } + + any_realm_province = { + any_province_lord = { + d_jomsvikings = { + holder_scope = { + OR = { + character = PREVPREV + is_vassal_or_below = PREVPREV + } + } + } + } + } + + has_dlc = "Sons of Abraham" + } + + allow = { + piety = 1000 + custom_tooltip = { + text = expelling_holy_order_decision_tooltip + hidden_tooltip = { + NOT = { has_character_flag = expel_the_jomsvikings_check } + } + } + } + + effect = { + set_character_flag = expel_the_jomsvikings_check + custom_tooltip = { + text = expelling_holy_order_decision_tooltip_b + hidden_tooltip = { + character_event = { id = SoA.2990 } + } + } + } + + revoke_allowed = { + always = no + } + + ai_will_do = { + factor = 0 + } + } + + expel_the_assassins = { + only_independent = yes + potential = { + ai = no + OR = { + religion = shiite + religion = druze + religion = hurufi + } + is_heretic = no + higher_tier_than = DUKE + independent = yes + is_title_active = d_hashshashin + NOT = { has_character_modifier = expelled_d_hashshashin } + + any_realm_province = { + any_province_lord = { + d_hashshashin = { + holder_scope = { + OR = { + character = PREVPREV + is_vassal_or_below = PREVPREV + } + } + } + } + } + + has_dlc = "Sons of Abraham" + NOT = { society_member_of = the_assassins } + } + + allow = { + piety = 1000 + custom_tooltip = { + text = expelling_holy_order_decision_tooltip + hidden_tooltip = { + NOT = { has_character_flag = expel_the_assassins_check } + } + } + } + + effect = { + set_character_flag = expel_the_assassins_check + custom_tooltip = { + text = expelling_holy_order_decision_tooltip_b + hidden_tooltip = { + character_event = { id = SoA.2990 } + } + } + } + + revoke_allowed = { + always = no + } + + ai_will_do = { + factor = 0 + } + } + + donate_money_to_knights_templar = { + only_playable = yes + potential = { + is_playable = yes + + OR = { + AND = { + NOR = { + trait = cynical + piety = 50 + } + wealth = 1000 + } + ai = no + } + + is_title_active = d_knights_templar + + d_knights_templar = { + holder_scope = { + religion = ROOT + } + } + + NOT = { has_character_modifier = expelled_d_knights_templar } + + OR = { + AND = { + NOT = { is_title_active = d_teutonic_order } + NOT = { is_title_active = d_knights_santiago } + NOT = { is_title_active = d_knights_calatrava } + } + AND = { + NOT = { is_title_active = d_teutonic_order } + NOT = { culture_group = iberian } + NOT = { culture_group = west_african } + NOT = { culture = maghreb_arabic } + NOT = { culture = occitan } + } + AND = { + NOT = { is_title_active = d_knights_santiago } + NOT = { is_title_active = d_knights_calatrava } + NOT = { culture_group = north_germanic } + NOT = { culture_group = central_germanic } + NOT = { culture_group = magyar } + NOT = { culture_group = south_slavic } + NOT = { culture_group = west_slavic } + } + AND = { + NOT = { culture_group = iberian } + NOT = { culture_group = west_african } + NOT = { culture = maghreb_arabic } + NOT = { culture = occitan } + NOT = { culture_group = north_germanic } + NOT = { culture_group = central_germanic } + NOT = { culture_group = magyar } + NOT = { culture_group = south_slavic } + NOT = { culture_group = west_slavic } + } + } + + has_dlc = "Sons of Abraham" + + d_knights_templar = { + holder_scope = { + liege = { + NOT = { character = ROOT } + } + } + } + } + + allow = { + wealth = 300 + } + + effect = { + if = { + limit = { + NOT = { has_character_modifier = donated_to_holy_order } + } + add_character_modifier = { + name = donated_to_holy_order + duration = -1 + } + } + + hidden_tooltip = { + d_knights_templar = { + holder_scope = { + character_event = { + id = SoA.1140 + } + } + } + } + + wealth = -300 + piety = 300 + } + + revoke_allowed = { + always = no + } + + ai_will_do = { + factor = 1 + modifier = { + factor = 0.002 # Slow it down + } + } + } + + donate_money_to_knights_hospitaler = { + only_playable = yes + potential = { + is_playable = yes + + OR = { + AND = { + wealth = 1000 + NOR = { + trait = cynical + piety = 50 + } + } + ai = no + } + + is_title_active = d_knights_hospitaler + + d_knights_hospitaler = { + holder_scope = { + religion = ROOT + } + } + + NOT = { has_character_modifier = expelled_d_knights_hospitaler } + + OR = { + AND = { + NOT = { is_title_active = d_teutonic_order } + NOT = { is_title_active = d_knights_santiago } + NOT = { is_title_active = d_knights_calatrava } + } + AND = { + NOT = { is_title_active = d_teutonic_order } + NOT = { culture_group = iberian } + NOT = { culture_group = west_african } + NOT = { culture = maghreb_arabic } + NOT = { culture = occitan } + } + AND = { + NOT = { is_title_active = d_knights_santiago } + NOT = { is_title_active = d_knights_calatrava } + NOT = { culture_group = north_germanic } + NOT = { culture_group = central_germanic } + NOT = { culture_group = magyar } + NOT = { culture_group = south_slavic } + NOT = { culture_group = west_slavic } + } + AND = { + NOT = { culture_group = iberian } + NOT = { culture_group = west_african } + NOT = { culture = maghreb_arabic } + NOT = { culture = occitan } + NOT = { culture_group = north_germanic } + NOT = { culture_group = central_germanic } + NOT = { culture_group = magyar } + NOT = { culture_group = south_slavic } + NOT = { culture_group = west_slavic } + } + } + + has_dlc = "Sons of Abraham" + + d_knights_hospitaler = { + holder_scope = { + liege = { + NOT = { character = ROOT } + } + } + } + } + + allow = { + wealth = 300 + } + + effect = { + if = { + limit = { + NOT = { has_character_modifier = donated_to_holy_order } + } + add_character_modifier = { + name = donated_to_holy_order + duration = -1 + } + } + + hidden_tooltip = { + d_knights_hospitaler = { + holder_scope = { + character_event = { + id = SoA.1140 + } + } + } + } + + wealth = -300 + piety = 300 + } + + revoke_allowed = { + always = no + } + + ai_will_do = { + factor = 1 + modifier = { + factor = 0.002 # Slow it down + } + } + } + + donate_money_to_teutonic_order = { + only_playable = yes + potential = { + is_playable = yes + + OR = { + AND = { + wealth = 1000 + NOR = { + trait = cynical + piety = 50 + } + } + ai = no + } + + is_title_active = d_teutonic_order + + d_teutonic_order = { + holder_scope = { + religion = ROOT + } + } + + NOT = { has_character_modifier = expelled_d_teutonic_order } + + OR = { + AND = { + NOT = { is_title_active = d_knights_hospitaler } + NOT = { is_title_active = d_knights_templar } + NOT = { is_title_active = d_knights_santiago } + NOT = { is_title_active = d_knights_calatrava } + } + AND = { + NOT = { is_title_active = d_knights_hospitaler } + NOT = { is_title_active = d_knights_templar } + NOT = { culture_group = iberian } + NOT = { culture_group = west_african } + NOT = { culture = maghreb_arabic } + NOT = { culture = occitan } + } + culture_group = north_germanic + culture_group = central_germanic + culture_group = magyar + culture_group = south_slavic + culture_group = west_slavic + } + + has_dlc = "Sons of Abraham" + + d_teutonic_order = { + holder_scope = { + liege = { + NOT = { character = ROOT } + } + } + } + } + + allow = { + wealth = 300 + } + + effect = { + if = { + limit = { + NOT = { has_character_modifier = donated_to_holy_order } + } + add_character_modifier = { + name = donated_to_holy_order + duration = -1 + } + } + + hidden_tooltip = { + d_teutonic_order = { + holder_scope = { + character_event = { + id = SoA.1340 + } + } + } + } + + wealth = -300 + piety = 300 + } + + revoke_allowed = { + always = no + } + + ai_will_do = { + factor = 1 + modifier = { + factor = 0.002 # Slow it down + } + } + } + + donate_money_to_jomsvikings = { + only_playable = yes + potential = { + is_playable = yes + + OR = { + AND = { + wealth = 1000 + NOR = { + trait = cynical + piety = 50 + } + } + ai = no + } + + OR = { + religion = norse_pagan + religion = norse_pagan_reformed + } + + is_title_active = d_jomsvikings + + has_dlc = "Sons of Abraham" + + d_jomsvikings = { + holder_scope = { + liege = { + NOT = { character = ROOT } + } + } + } + + NOT = { has_character_modifier = expelled_d_jomsvikings } + } + + allow = { + wealth = 300 + } + + effect = { + if = { + limit = { + NOT = { has_character_modifier = donated_to_holy_order } + } + add_character_modifier = { + name = donated_to_holy_order + duration = -1 + } + } + + hidden_tooltip = { + d_jomsvikings = { + holder_scope = { + character_event = { + id = SoA.1540 + } + } + } + } + + wealth = -300 + piety = 300 + } + + revoke_allowed = { + always = no + } + + ai_will_do = { + factor = 1 + modifier = { + factor = 0.002 # Slow it down + } + } + } + + borrow_money_assassins = { + only_playable = yes + potential = { + is_playable = yes + OR = { + religion = shiite + religion = druze + religion = hurufi + } + is_heretic = no + is_title_active = d_hashshashin + NOT = { has_character_modifier = borrowed_from_assassins } + NOT = { has_character_modifier = expelled_d_hashshashin } + NOT = { is_nomadic = yes } + + has_dlc = "Sons of Abraham" + NOT = { society_member_of = the_assassins } + + d_hashshashin = { + holder_scope = { + liege = { + NOT = { character = ROOT } + } + } + } + + NOT = { has_character_modifier = assassins_debt } #From MNM.6001 + } + + allow = { + d_hashshashin = { + holder_scope = { + wealth = 300 + } + } + } + + effect = { + add_character_modifier = { + name = borrowed_from_assassins + duration = -1 + inherit = yes + } + + hidden_tooltip = { + d_hashshashin = { + holder_scope = { + character_event = { + id = SoA.1410 + } + } + } + } + + wealth = 300 + + hidden_effect = { + if = { + limit = { has_dlc = "Mystics" } + set_variable = { which = assassins_debt value = 300 } + } + } + } + + revoke_allowed = { + always = no + } + + ai_will_do = { + factor = 1 + modifier = { + factor = 0 + wealth = 0 + } + modifier = { + factor = 0.01 # Slow it down + } + } + } + + donate_money_to_assassins = { + only_playable = yes + potential = { + is_playable = yes + + OR = { + AND = { + wealth = 1000 + NOR = { + trait = cynical + piety = 50 + } + } + ai = no + } + + is_title_active = d_hashshashin + + d_hashshashin = { + holder_scope = { + religion = ROOT + } + } + + NOT = { has_character_modifier = expelled_d_hashshashin } + + NOT = { society_member_of = the_assassins } + + has_dlc = "Sons of Abraham" + + d_hashshashin = { + holder_scope = { + liege = { + NOT = { character = ROOT } + } + } + } + } + + allow = { + wealth = 300 + } + + effect = { + + hidden_tooltip = { + d_hashshashin = { + holder_scope = { + character_event = { + id = SoA.1140 + } + } + } + } + + wealth = -300 + piety = 300 + } + + revoke_allowed = { + always = no + } + + ai_will_do = { + factor = 1 + modifier = { + factor = 0.002 # Slow it down + } + } + } + + + borrow_money_bektashi = { + only_playable = yes + potential = { + is_playable = yes + OR = { + religion = sunni + religion = zikri + religion = yazidi + } + is_heretic = no + is_title_active = d_bektashi + NOT = { has_character_modifier = borrowed_from_bektashi } + NOT = { has_character_modifier = expelled_d_bektashi } + NOT = { is_nomadic = yes } + + has_dlc = "Sons of Abraham" + + d_bektashi = { + holder_scope = { + liege = { + NOT = { character = ROOT } + } + } + } + } + + allow = { + d_bektashi = { + holder_scope = { + wealth = 300 + } + } + } + + effect = { + add_character_modifier = { + name = borrowed_from_bektashi + duration = -1 + inherit = yes + } + + hidden_tooltip = { + d_bektashi = { + holder_scope = { + character_event = { + id = SoA.1210 + } + } + } + } + wealth = 300 + } + + revoke_allowed = { + always = no + } + + ai_will_do = { + factor = 1 + modifier = { + factor = 0 + wealth = 0 + } + modifier = { + factor = 0.01 # Slow it down + } + } + } + + donate_money_to_bektashi = { + only_playable = yes + potential = { + is_playable = yes + + OR = { + AND = { + wealth = 1000 + NOR = { + trait = cynical + piety = 50 + } + } + ai = no + } + + is_title_active = d_bektashi + + d_bektashi = { + holder_scope = { + religion = ROOT + } + } + + has_dlc = "Sons of Abraham" + + NOT = { has_character_modifier = expelled_d_bektashi } + + d_bektashi = { + holder_scope = { + liege = { + NOT = { character = ROOT } + } + } + } + } + + allow = { + wealth = 300 + } + + effect = { + + hidden_tooltip = { + d_bektashi = { + holder_scope = { + character_event = { + id = SoA.1140 + } + } + } + } + + wealth = -300 + piety = 300 + } + + revoke_allowed = { + always = no + } + + ai_will_do = { + factor = 1 + modifier = { + factor = 0.002 # Slow it down + } + } + } + + expel_the_bektashi = { + only_independent = yes + potential = { + ai = no + OR = { + religion = sunni + religion = zikri + religion = yazidi + } + is_heretic = no + higher_tier_than = DUKE + independent = yes + is_title_active = d_bektashi + NOT = { has_character_modifier = expelled_d_bektashi } + + any_realm_province = { + any_province_lord = { + d_bektashi = { + holder_scope = { + OR = { + character = PREVPREV + is_vassal_or_below = PREVPREV + } + } + } + } + } + + has_dlc = "Sons of Abraham" + } + + allow = { + piety = 1000 + custom_tooltip = { + text = expelling_holy_order_decision_tooltip + hidden_tooltip = { + NOT = { has_character_flag = expel_the_bektashi_check } + } + } + } + + effect = { + set_character_flag = expel_the_bektashi_check + custom_tooltip = { + text = expelling_holy_order_decision_tooltip_b + hidden_tooltip = { + character_event = { id = SoA.2990 } + } + } + } + + revoke_allowed = { + always = no + } + + ai_will_do = { + factor = 0 + } + } + + borrow_money_haruriyyah = { + only_playable = yes + potential = { + is_playable = yes + OR = { + religion = ibadi + religion = kharijite + } + is_heretic = no + is_title_active = d_haruriyyah + NOT = { has_character_modifier = borrowed_from_haruriyyah } + NOT = { has_character_modifier = expelled_d_haruriyyah } + NOT = { is_nomadic = yes } + + has_dlc = "Charlemagne" + + d_haruriyyah = { + holder_scope = { + liege = { + NOT = { character = ROOT } + } + } + } + } + + allow = { + d_haruriyyah = { + holder_scope = { + wealth = 300 + } + } + } + + effect = { + add_character_modifier = { + name = borrowed_from_haruriyyah + duration = -1 + inherit = yes + } + + hidden_tooltip = { + d_haruriyyah = { + holder_scope = { + character_event = { + id = CM.4310 + } + } + } + } + wealth = 300 + } + + revoke_allowed = { + always = no + } + + ai_will_do = { + factor = 1 + modifier = { + factor = 0 + wealth = 0 + } + modifier = { + factor = 0.01 # Slow it down + } + } + } + + donate_money_to_haruriyyah = { + only_playable = yes + potential = { + is_playable = yes + + OR = { + AND = { + wealth = 1000 + NOR = { + trait = cynical + piety = 50 + } + } + ai = no + } + + is_title_active = d_haruriyyah + + d_haruriyyah = { + holder_scope = { + religion = ROOT + } + } + + has_dlc = "Charlemagne" + + NOT = { has_character_modifier = expelled_d_haruriyyah } + + d_haruriyyah = { + holder_scope = { + liege = { + NOT = { character = ROOT } + } + } + } + } + + allow = { + wealth = 300 + } + + effect = { + + hidden_tooltip = { + d_haruriyyah = { + holder_scope = { + character_event = { + id = SoA.1140 + } + } + } + } + + wealth = -300 + piety = 300 + } + + revoke_allowed = { + always = no + } + + ai_will_do = { + factor = 1 + modifier = { + factor = 0.002 # Slow it down + } + } + } + + expel_the_haruriyyah = { + only_independent = yes + potential = { + ai = no + OR = { + religion = ibadi + religion = kharijite + } + is_heretic = no + higher_tier_than = DUKE + independent = yes + is_title_active = d_haruriyyah + NOT = { has_character_modifier = expelled_d_haruriyyah } + + any_realm_province = { + any_province_lord = { + d_haruriyyah = { + holder_scope = { + OR = { + character = PREVPREV + is_vassal_or_below = PREVPREV + } + } + } + } + } + + has_dlc = "Charlemagne" + } + + allow = { + piety = 1000 + custom_tooltip = { + text = expelling_holy_order_decision_tooltip + hidden_tooltip = { + NOT = { has_character_flag = expel_the_haruriyyah_check } + } + } + } + + effect = { + set_character_flag = expel_the_haruriyyah_check + custom_tooltip = { + text = expelling_holy_order_decision_tooltip_b + hidden_tooltip = { + character_event = { id = SoA.2990 } + } + } + } + + revoke_allowed = { + always = no + } + + ai_will_do = { + factor = 0 + } + } + + vassalize_knights_templar = { + only_playable = yes + is_high_prio = yes + + potential = { + is_playable = yes + + OR = { + religion = catholic + religion = cathar + religion = fraticelli + religion = waldensian + religion = lollard + } + is_heretic = no + + NOT = { has_character_modifier = expelled_d_knights_templar } + + is_title_active = d_knights_templar + + has_landed_title = k_jerusalem + + has_dlc = "Sons of Abraham" + + d_knights_templar = { + holder_scope = { + NOT = { has_truce = ROOT } + ROOT = { NOT = { has_truce = PREV } } + liege = { + NOT = { character = ROOT } + } + NOT = { num_of_count_titles = 3 } + independent = yes + primary_title = { title = d_knights_templar } + } + } + } + + allow = { + wealth = 500 + } + + effect = { + wealth = -500 + + hidden_tooltip = { + d_knights_templar = { + holder_scope = { + wealth = 500 + character_event = { + id = SoA.1015 + } + } + } + } + } + + revoke_allowed = { + always = no + } + + ai_will_do = { + factor = 1 + } + } + + vassalize_knights_hospitaler = { + only_playable = yes + is_high_prio = yes + + potential = { + is_playable = yes + OR = { + religion = catholic + religion = cathar + religion = fraticelli + religion = waldensian + religion = lollard + } + is_heretic = no + + NOT = { has_character_modifier = expelled_d_knights_hospitaler } + + is_title_active = d_knights_hospitaler + + has_landed_title = k_jerusalem + + d_knights_hospitaler = { + holder_scope = { + NOT = { has_truce = ROOT } + ROOT = { NOT = { has_truce = PREV } } + liege = { + NOT = { character = ROOT } + } + NOT = { num_of_count_titles = 3 } + independent = yes + primary_title = { title = d_knights_hospitaler } + } + } + + has_dlc = "Sons of Abraham" + } + + allow = { + wealth = 500 + } + + effect = { + wealth = -500 + + hidden_tooltip = { + d_knights_hospitaler = { + holder_scope = { + wealth = 500 + character_event = { + id = SoA.1115 + } + } + } + } + } + + revoke_allowed = { + always = no + } + + ai_will_do = { + factor = 1 + } + } + + expel_the_holy_sepulchre = { + only_independent = yes + potential = { + ai = no + OR = { + religion = orthodox + religion = bogomilist + religion = monothelite + religion = iconoclast + religion = paulician + } + is_heretic = no + higher_tier_than = DUKE + independent = yes + is_title_active = d_holy_sepulchre + NOT = { has_character_modifier = expelled_d_holy_sepulchre } + + any_realm_province = { + any_province_lord = { + d_holy_sepulchre = { + holder_scope = { + OR = { + character = PREVPREV + is_vassal_or_below = PREVPREV + } + } + } + } + } + + has_dlc = "Sons of Abraham" + } + + allow = { + piety = 1000 + custom_tooltip = { + text = expelling_holy_order_decision_tooltip + hidden_tooltip = { + NOT = { has_character_flag = expel_the_holy_sepulchre_check } + } + } + } + + effect = { + set_character_flag = expel_the_holy_sepulchre_check + custom_tooltip = { + text = expelling_holy_order_decision_tooltip_b + hidden_tooltip = { + character_event = { id = SoA.2990 } + } + } + } + + revoke_allowed = { + always = no + } + + ai_will_do = { + factor = 0 + } + } + + donate_money_to_holy_sepulchre = { + only_playable = yes + potential = { + is_playable = yes + + OR = { + AND = { + wealth = 1000 + NOR = { + trait = cynical + piety = 50 + } + } + ai = no + } + + is_title_active = d_holy_sepulchre + + d_holy_sepulchre = { + holder_scope = { + religion = ROOT + } + } + + NOT = { has_character_modifier = expelled_d_holy_sepulchre } + + d_holy_sepulchre = { + holder_scope = { + liege = { + NOT = { character = ROOT } + } + } + } + + has_dlc = "Sons of Abraham" + } + + allow = { + wealth = 300 + } + + effect = { + if = { + limit = { + NOT = { has_character_modifier = donated_to_holy_order } + } + add_character_modifier = { + name = donated_to_holy_order + duration = -1 + } + } + + hidden_tooltip = { + d_holy_sepulchre = { + holder_scope = { + character_event = { + id = SoA.1640 + } + } + } + } + + wealth = -300 + piety = 300 + } + + revoke_allowed = { + always = no + } + + ai_will_do = { + factor = 1 + modifier = { + factor = 0.002 # Slow it down + } + } + } + + expel_saint_anthony = { + only_independent = yes + potential = { + ai = no + OR = { + religion = miaphysite + religion = monophysite + } + is_heretic = no + higher_tier_than = DUKE + independent = yes + is_title_active = d_saint_anthony + NOT = { has_character_modifier = expelled_d_saint_anthony } + + any_realm_province = { + any_province_lord = { + d_saint_anthony = { + holder_scope = { + OR = { + character = PREVPREV + is_vassal_or_below = PREVPREV + } + } + } + } + } + + has_dlc = "Sons of Abraham" + } + + allow = { + piety = 1000 + custom_tooltip = { + text = expelling_holy_order_decision_tooltip + hidden_tooltip = { + NOT = { has_character_flag = expel_saint_anthony_check } + } + } + } + + effect = { + set_character_flag = expel_saint_anthony_check + custom_tooltip = { + text = expelling_holy_order_decision_tooltip_b + hidden_tooltip = { + character_event = { id = SoA.2990 } + } + } + } + + revoke_allowed = { + always = no + } + + ai_will_do = { + factor = 0 + } + } + + donate_money_to_saint_anthony = { + only_playable = yes + potential = { + is_playable = yes + + OR = { + AND = { + wealth = 1000 + NOR = { + trait = cynical + piety = 50 + } + } + ai = no + } + + is_title_active = d_saint_anthony + + d_saint_anthony = { + holder_scope = { + religion = ROOT + } + } + + NOT = { has_character_modifier = expelled_d_saint_anthony } + + d_saint_anthony = { + holder_scope = { + liege = { + NOT = { character = ROOT } + } + } + } + + has_dlc = "Sons of Abraham" + } + + allow = { + wealth = 300 + } + + effect = { + if = { + limit = { + NOT = { has_character_modifier = donated_to_holy_order } + } + add_character_modifier = { + name = donated_to_holy_order + duration = -1 + } + } + + hidden_tooltip = { + d_saint_anthony = { + holder_scope = { + character_event = { + id = SoA.1740 + } + } + } + } + + wealth = -300 + piety = 300 + } + + revoke_allowed = { + always = no + } + + ai_will_do = { + factor = 1 + modifier = { + factor = 0.002 # Slow it down + } + } + } + + expel_immortals = { + only_independent = yes + potential = { + ai = no + OR = { + religion = zoroastrian + religion = mazdaki + } + is_heretic = no + higher_tier_than = DUKE + independent = yes + is_title_active = d_immortals + NOT = { has_character_modifier = expelled_d_immortals } + + any_realm_province = { + any_province_lord = { + d_immortals = { + holder_scope = { + OR = { + character = PREVPREV + is_vassal_or_below = PREVPREV + } + } + } + } + } + + has_dlc = "Sons of Abraham" + } + + allow = { + piety = 1000 + custom_tooltip = { + text = expelling_holy_order_decision_tooltip + hidden_tooltip = { + NOT = { has_character_flag = expel_immortals_check } + } + } + } + + effect = { + set_character_flag = expel_immortals_check + custom_tooltip = { + text = expelling_holy_order_decision_tooltip_b + hidden_tooltip = { + character_event = { id = SoA.2990 } + } + } + } + + revoke_allowed = { + always = no + } + + ai_will_do = { + factor = 0 + } + } + + donate_money_to_the_immortals = { + only_playable = yes + potential = { + is_playable = yes + + OR = { + AND = { + wealth = 1000 + NOR = { + trait = cynical + piety = 50 + } + } + ai = no + } + + is_title_active = d_immortals + + d_immortals = { + holder_scope = { + religion = ROOT + } + } + + NOT = { has_character_modifier = expelled_d_immortals } + + has_dlc = "Sons of Abraham" + + d_immortals = { + holder_scope = { + liege = { + NOT = { character = ROOT } + } + } + } + } + + allow = { + wealth = 300 + } + + effect = { + if = { + limit = { + NOT = { has_character_modifier = donated_to_holy_order } + } + add_character_modifier = { + name = donated_to_holy_order + duration = -1 + } + } + + hidden_tooltip = { + d_immortals = { + holder_scope = { + character_event = { + id = SoA.1840 + } + } + } + } + + wealth = -300 + piety = 300 + } + + revoke_allowed = { + always = no + } + + ai_will_do = { + factor = 1 + modifier = { + factor = 0.002 # Slow it down + } + } + } + + expel_zealots = { + only_independent = yes + potential = { + ai = no + OR = { + religion = jewish + religion = samaritan + religion = karaite + } + is_heretic = no + higher_tier_than = DUKE + independent = yes + is_title_active = d_zealots + NOT = { has_character_modifier = expelled_d_zealots } + + any_realm_province = { + any_province_lord = { + d_zealots = { + holder_scope = { + OR = { + character = PREVPREV + is_vassal_or_below = PREVPREV + } + } + } + } + } + + has_dlc = "Sons of Abraham" + } + + allow = { + piety = 1000 + custom_tooltip = { + text = expelling_holy_order_decision_tooltip + hidden_tooltip = { + NOT = { has_character_flag = expel_zealots_check } + } + } + } + + effect = { + set_character_flag = expel_zealots_check + custom_tooltip = { + text = expelling_holy_order_decision_tooltip_b + hidden_tooltip = { + character_event = { id = SoA.2990 } + } + } + } + + revoke_allowed = { + always = no + } + + ai_will_do = { + factor = 0 + } + } + + donate_money_to_the_zealots = { + only_playable = yes + potential = { + is_playable = yes + + OR = { + AND = { + wealth = 1000 + NOR = { + trait = cynical + piety = 50 + } + } + ai = no + } + + is_title_active = d_zealots + + d_zealots = { + holder_scope = { + religion = ROOT + } + } + + has_dlc = "Sons of Abraham" + + NOT = { has_character_modifier = expelled_d_zealots } + + d_zealots = { + holder_scope = { + liege = { + NOT = { character = ROOT } + } + } + } + } + + allow = { + wealth = 300 + } + + effect = { + if = { + limit = { + NOT = { has_character_modifier = donated_to_holy_order } + } + add_character_modifier = { + name = donated_to_holy_order + duration = -1 + } + } + + hidden_tooltip = { + d_zealots = { + holder_scope = { + character_event = { + id = SoA.1940 + } + } + } + } + + wealth = -300 + piety = 300 + } + + revoke_allowed = { + always = no + } + + ai_will_do = { + factor = 1 + modifier = { + factor = 0.002 # Slow it down + } + } + } + + expel_sky_lords = { + only_independent = yes + potential = { + ai = no + religion = tengri_pagan_reformed + higher_tier_than = DUKE + independent = yes + is_title_active = d_sky_lords + NOT = { has_character_modifier = expelled_d_sky_lords } + + any_realm_province = { + any_province_lord = { + d_sky_lords = { + holder_scope = { + OR = { + character = PREVPREV + is_vassal_or_below = PREVPREV + } + } + } + } + } + + has_dlc = "Sons of Abraham" + } + + allow = { + piety = 1000 + custom_tooltip = { + text = expelling_holy_order_decision_tooltip + hidden_tooltip = { + NOT = { has_character_flag = expel_sky_lords_check } + } + } + } + + effect = { + set_character_flag = expel_sky_lords_check + custom_tooltip = { + text = expelling_holy_order_decision_tooltip_b + hidden_tooltip = { + character_event = { id = SoA.2990 } + } + } + } + + revoke_allowed = { + always = no + } + + ai_will_do = { + factor = 0 + } + } + + donate_money_to_sky_lords = { + only_playable = yes + potential = { + is_playable = yes + + religion = tengri_pagan_reformed + + OR = { + AND = { + wealth = 1000 + NOR = { + trait = cynical + piety = 50 + } + } + ai = no + } + + is_title_active = d_sky_lords + + has_dlc = "Sons of Abraham" + + NOT = { has_character_modifier = expelled_d_sky_lords } + + d_sky_lords = { + holder_scope = { + liege = { + NOT = { character = ROOT } + } + } + } + } + + allow = { + wealth = 300 + } + + effect = { + if = { + limit = { + NOT = { has_character_modifier = donated_to_holy_order } + } + add_character_modifier = { + name = donated_to_holy_order + duration = -1 + } + } + + hidden_tooltip = { + d_sky_lords = { + holder_scope = { + character_event = { + id = SoA.2040 + } + } + } + } + + wealth = -300 + piety = 300 + } + + revoke_allowed = { + always = no + } + + ai_will_do = { + factor = 1 + modifier = { + factor = 0.002 # Slow it down + } + } + } + + expel_spirit_guardians = { + only_independent = yes + potential = { + ai = no + religion = west_african_pagan_reformed + higher_tier_than = DUKE + independent = yes + is_title_active = d_spirit_guardians + NOT = { has_character_modifier = expelled_d_spirit_guardians } + + any_realm_province = { + any_province_lord = { + d_spirit_guardians = { + holder_scope = { + OR = { + character = PREVPREV + is_vassal_or_below = PREVPREV + } + } + } + } + } + + has_dlc = "Sons of Abraham" + } + + allow = { + piety = 1000 + custom_tooltip = { + text = expelling_holy_order_decision_tooltip + hidden_tooltip = { + NOT = { has_character_flag = expel_spirit_guardians_check } + } + } + } + + effect = { + set_character_flag = expel_spirit_guardians_check + custom_tooltip = { + text = expelling_holy_order_decision_tooltip_b + hidden_tooltip = { + character_event = { id = SoA.2990 } + } + } + } + + revoke_allowed = { + always = no + } + + ai_will_do = { + factor = 0 + } + } + + donate_money_to_spirit_guardians = { + only_playable = yes + potential = { + is_playable = yes + + religion = west_african_pagan_reformed + + OR = { + AND = { + wealth = 1000 + NOR = { + trait = cynical + piety = 50 + } + } + ai = no + } + + + is_title_active = d_spirit_guardians + + has_dlc = "Sons of Abraham" + + NOT = { has_character_modifier = expelled_d_spirit_guardians } + + d_spirit_guardians = { + holder_scope = { + liege = { + NOT = { character = ROOT } + } + } + } + } + + allow = { + wealth = 300 + } + + effect = { + if = { + limit = { + NOT = { has_character_modifier = donated_to_holy_order } + } + add_character_modifier = { + name = donated_to_holy_order + duration = -1 + } + } + + hidden_tooltip = { + d_spirit_guardians = { + holder_scope = { + character_event = { + id = SoA.2140 + } + } + } + } + + wealth = -300 + piety = 300 + } + + revoke_allowed = { + always = no + } + + ai_will_do = { + factor = 1 + modifier = { + factor = 0.002 # Slow it down + } + } + } + + expel_warriors_perun = { + only_independent = yes + potential = { + ai = no + religion = slavic_pagan_reformed + higher_tier_than = DUKE + independent = yes + is_title_active = d_warriors_perun + NOT = { has_character_modifier = expelled_d_warriors_perun } + + any_realm_province = { + any_province_lord = { + d_warriors_perun = { + holder_scope = { + OR = { + character = PREVPREV + is_vassal_or_below = PREVPREV + } + } + } + } + } + + has_dlc = "Sons of Abraham" + } + + allow = { + piety = 1000 + custom_tooltip = { + text = expelling_holy_order_decision_tooltip + hidden_tooltip = { + NOT = { has_character_flag = expel_warriors_perun_check } + } + } + } + + effect = { + set_character_flag = expel_warriors_perun_check + custom_tooltip = { + text = expelling_holy_order_decision_tooltip_b + hidden_tooltip = { + character_event = { id = SoA.2990 } + } + } + } + + revoke_allowed = { + always = no + } + + ai_will_do = { + factor = 0 + } + } + + donate_money_to_warriors_perun = { + only_playable = yes + potential = { + is_playable = yes + + religion = slavic_pagan_reformed + + OR = { + AND = { + wealth = 1000 + NOR = { + trait = cynical + piety = 50 + } + } + ai = no + } + + is_title_active = d_warriors_perun + + NOT = { has_character_modifier = expelled_d_warriors_perun } + + has_dlc = "Sons of Abraham" + + d_warriors_perun = { + holder_scope = { + liege = { + NOT = { character = ROOT } + } + } + } + } + + allow = { + wealth = 300 + } + + effect = { + if = { + limit = { + NOT = { has_character_modifier = donated_to_holy_order } + } + add_character_modifier = { + name = donated_to_holy_order + duration = -1 + } + } + + hidden_tooltip = { + d_warriors_perun = { + holder_scope = { + character_event = { + id = SoA.2240 + } + } + } + } + + wealth = -300 + piety = 300 + } + + revoke_allowed = { + always = no + } + + ai_will_do = { + factor = 1 + modifier = { + factor = 0.002 # Slow it down + } + } + } + + expel_chosen_perkunas = { + only_independent = yes + potential = { + ai = no + religion = baltic_pagan_reformed + higher_tier_than = DUKE + independent = yes + is_title_active = d_chosen_perkunas + NOT = { has_character_modifier = expelled_d_chosen_perkunas } + + any_realm_province = { + any_province_lord = { + d_chosen_perkunas = { + holder_scope = { + OR = { + character = PREVPREV + is_vassal_or_below = PREVPREV + } + } + } + } + } + + has_dlc = "Sons of Abraham" + } + + allow = { + piety = 1000 + custom_tooltip = { + text = expelling_holy_order_decision_tooltip + hidden_tooltip = { + NOT = { has_character_flag = expel_chosen_perkunas_check } + } + } + } + + effect = { + set_character_flag = expel_chosen_perkunas_check + custom_tooltip = { + text = expelling_holy_order_decision_tooltip_b + hidden_tooltip = { + character_event = { id = SoA.2990 } + } + } + } + + revoke_allowed = { + always = no + } + + ai_will_do = { + factor = 0 + } + } + + donate_money_to_chosen_perkunas = { + only_playable = yes + potential = { + is_playable = yes + + religion = baltic_pagan_reformed + + OR = { + AND = { + wealth = 1000 + NOR = { + trait = cynical + piety = 50 + } + } + ai = no + } + + is_title_active = d_chosen_perkunas + + has_dlc = "Sons of Abraham" + + NOT = { has_character_modifier = expelled_d_chosen_perkunas } + + d_chosen_perkunas = { + holder_scope = { + liege = { + NOT = { character = ROOT } + } + } + } + } + + allow = { + wealth = 300 + } + + effect = { + if = { + limit = { + NOT = { has_character_modifier = donated_to_holy_order } + } + add_character_modifier = { + name = donated_to_holy_order + duration = -1 + } + } + + hidden_tooltip = { + d_chosen_perkunas = { + holder_scope = { + character_event = { + id = SoA.2340 + } + } + } + } + + wealth = -300 + piety = 300 + } + + revoke_allowed = { + always = no + } + + ai_will_do = { + factor = 1 + modifier = { + factor = 0.002 # Slow it down + } + } + } + + expel_sons_kaleva = { + only_independent = yes + potential = { + ai = no + religion = finnish_pagan_reformed + higher_tier_than = DUKE + independent = yes + is_title_active = d_sons_kaleva + NOT = { has_character_modifier = expelled_d_sons_kaleva } + + any_realm_province = { + any_province_lord = { + d_chosen_perkunas = { + holder_scope = { + OR = { + character = PREVPREV + is_vassal_or_below = PREVPREV + } + } + } + } + } + + has_dlc = "Sons of Abraham" + } + + allow = { + piety = 1000 + custom_tooltip = { + text = expelling_holy_order_decision_tooltip + hidden_tooltip = { + NOT = { has_character_flag = expel_sons_kaleva_check } + } + } + } + + effect = { + set_character_flag = expel_sons_kaleva_check + custom_tooltip = { + text = expelling_holy_order_decision_tooltip_b + hidden_tooltip = { + character_event = { id = SoA.2990 } + } + } + } + + revoke_allowed = { + always = no + } + + ai_will_do = { + factor = 0 + } + } + + donate_money_to_sons_kaleva = { + only_playable = yes + potential = { + is_playable = yes + + religion = finnish_pagan_reformed + + OR = { + AND = { + wealth = 1000 + NOR = { + trait = cynical + piety = 50 + } + } + ai = no + } + + is_title_active = d_sons_kaleva + + has_dlc = "Sons of Abraham" + + NOT = { has_character_modifier = expelled_d_sons_kaleva } + + d_sons_kaleva = { + holder_scope = { + liege = { + NOT = { character = ROOT } + } + } + } + } + + allow = { + wealth = 300 + } + + effect = { + if = { + limit = { + NOT = { has_character_modifier = donated_to_holy_order } + } + add_character_modifier = { + name = donated_to_holy_order + duration = -1 + } + } + + hidden_tooltip = { + d_sons_kaleva = { + holder_scope = { + character_event = { + id = SoA.2440 + } + } + } + } + + wealth = -300 + piety = 300 + } + + revoke_allowed = { + always = no + } + + ai_will_do = { + factor = 1 + modifier = { + factor = 0.002 # Slow it down + } + } + } + + expel_huitzilopochtli = { + only_independent = yes + potential = { + ai = no + religion = aztec_reformed + higher_tier_than = DUKE + independent = yes + is_title_active = d_huitzilopochtli + NOT = { has_character_modifier = expelled_d_huitzilopochtli } + + any_realm_province = { + any_province_lord = { + d_huitzilopochtli = { + holder_scope = { + OR = { + character = PREVPREV + is_vassal_or_below = PREVPREV + } + } + } + } + } + + has_dlc = "Sons of Abraham" + } + + allow = { + piety = 1000 + custom_tooltip = { + text = expelling_holy_order_decision_tooltip + hidden_tooltip = { + NOT = { has_character_flag = expel_huitzilopochtli_check } + } + } + } + + effect = { + set_character_flag = expel_huitzilopochtli_check + custom_tooltip = { + text = expelling_holy_order_decision_tooltip_b + hidden_tooltip = { + character_event = { id = SoA.2990 } + } + } + } + + revoke_allowed = { + always = no + } + + ai_will_do = { + factor = 0 + } + } + + donate_money_to_huitzilopochtli = { + only_playable = yes + potential = { + is_playable = yes + + religion = aztec_reformed + + OR = { + AND = { + wealth = 1000 + NOR = { + trait = cynical + piety = 50 + } + } + ai = no + } + + is_title_active = d_huitzilopochtli + + has_dlc = "Sons of Abraham" + + NOT = { has_character_modifier = expelled_d_huitzilopochtli } + + d_huitzilopochtli = { + holder_scope = { + liege = { + NOT = { character = ROOT } + } + } + } + } + + allow = { + wealth = 300 + } + + effect = { + if = { + limit = { + NOT = { has_character_modifier = donated_to_holy_order } + } + add_character_modifier = { + name = donated_to_holy_order + duration = -1 + } + } + + hidden_tooltip = { + d_huitzilopochtli = { + holder_scope = { + character_event = { + id = SoA.2540 + } + } + } + } + + wealth = -300 + piety = 300 + } + + revoke_allowed = { + always = no + } + + ai_will_do = { + factor = 1 + modifier = { + factor = 0.002 # Slow it down + } + } + } + + expel_knights_santiago = { + only_independent = yes + potential = { + ai = no + OR = { + religion = catholic + religion = cathar + religion = fraticelli + religion = waldensian + religion = lollard + } + is_heretic = no + higher_tier_than = DUKE + independent = yes + is_title_active = d_knights_santiago + NOT = { has_character_modifier = expelled_d_knights_santiago } + + any_realm_province = { + any_province_lord = { + d_knights_santiago = { + holder_scope = { + OR = { + character = PREVPREV + is_vassal_or_below = PREVPREV + } + } + } + } + } + + has_dlc = "Sons of Abraham" + } + + allow = { + piety = 1000 + custom_tooltip = { + text = expelling_holy_order_decision_tooltip + hidden_tooltip = { + NOT = { has_character_flag = expel_knights_santiago_check } + } + } + } + + effect = { + set_character_flag = expel_knights_santiago_check + custom_tooltip = { + text = expelling_holy_order_decision_tooltip_b + hidden_tooltip = { + character_event = { id = SoA.2990 } + } + } + } + + revoke_allowed = { + always = no + } + + ai_will_do = { + factor = 0 + } + } + + donate_money_to_knights_santiago = { + only_playable = yes + potential = { + is_playable = yes + + OR = { + AND = { + wealth = 1000 + NOR = { + trait = cynical + piety = 50 + } + } + ai = no + } + + is_title_active = d_knights_santiago + + d_knights_santiago = { + holder_scope = { + religion = ROOT + } + } + + NOT = { has_character_modifier = expelled_d_knights_santiago } + + OR = { + AND = { + NOT = { is_title_active = d_knights_hospitaler } + NOT = { is_title_active = d_knights_templar } + NOT = { is_title_active = d_teutonic_order } + } + AND = { + NOT = { is_title_active = d_knights_templar } + NOT = { is_title_active = d_knights_hospitaler } + NOT = { culture_group = north_germanic } + NOT = { culture_group = central_germanic } + NOT = { culture_group = magyar } + NOT = { culture_group = south_slavic } + NOT = { culture_group = west_slavic } + } + culture_group = iberian + culture_group = west_african + culture = maghreb_arabic + culture = occitan + } + + has_dlc = "Sons of Abraham" + + d_knights_santiago = { + holder_scope = { + liege = { + NOT = { character = ROOT } + } + } + } + } + + allow = { + wealth = 300 + } + + effect = { + if = { + limit = { + NOT = { has_character_modifier = donated_to_holy_order } + } + add_character_modifier = { + name = donated_to_holy_order + duration = -1 + } + } + + hidden_tooltip = { + d_knights_santiago = { + holder_scope = { + character_event = { + id = SoA.2640 + } + } + } + } + + wealth = -300 + piety = 300 + } + + revoke_allowed = { + always = no + } + + ai_will_do = { + factor = 1 + modifier = { + factor = 0.002 # Slow it down + } + } + } + + expel_knights_calatrava = { + only_independent = yes + potential = { + ai = no + OR = { + religion = catholic + religion = cathar + religion = fraticelli + religion = waldensian + religion = lollard + } + is_heretic = no + higher_tier_than = DUKE + independent = yes + is_title_active = d_knights_calatrava + NOT = { has_character_modifier = expelled_d_knights_calatrava } + + any_realm_province = { + any_province_lord = { + d_knights_calatrava = { + holder_scope = { + OR = { + character = PREVPREV + is_vassal_or_below = PREVPREV + } + } + } + } + } + + has_dlc = "Sons of Abraham" + } + + allow = { + piety = 1000 + custom_tooltip = { + text = expelling_holy_order_decision_tooltip + hidden_tooltip = { + NOT = { has_character_flag = expel_knights_calatrava_check } + } + } + } + + effect = { + set_character_flag = expel_knights_calatrava_check + custom_tooltip = { + text = expelling_holy_order_decision_tooltip_b + hidden_tooltip = { + character_event = { id = SoA.2990 } + } + } + } + + revoke_allowed = { + always = no + } + + ai_will_do = { + factor = 0 + } + } + + donate_money_to_knights_calatrava = { + only_playable = yes + potential = { + is_playable = yes + + OR = { + AND = { + wealth = 1000 + NOR = { + trait = cynical + piety = 50 + } + } + ai = no + } + + is_title_active = d_knights_calatrava + + d_knights_calatrava = { + holder_scope = { + religion = ROOT + } + } + + NOT = { has_character_modifier = expelled_d_knights_calatrava } + + OR = { + AND = { + NOT = { is_title_active = d_knights_hospitaler } + NOT = { is_title_active = d_knights_templar } + NOT = { is_title_active = d_teutonic_order } + } + AND = { + NOT = { is_title_active = d_knights_templar } + NOT = { is_title_active = d_knights_hospitaler } + NOT = { culture_group = north_germanic } + NOT = { culture_group = central_germanic } + NOT = { culture_group = magyar } + NOT = { culture_group = south_slavic } + NOT = { culture_group = west_slavic } + } + culture_group = iberian + culture_group = west_african + culture = maghreb_arabic + culture = occitan + } + + has_dlc = "Sons of Abraham" + + d_knights_calatrava = { + holder_scope = { + liege = { + NOT = { character = ROOT } + } + } + } + } + + allow = { + wealth = 300 + } + + effect = { + if = { + limit = { + NOT = { has_character_modifier = donated_to_holy_order } + } + add_character_modifier = { + name = donated_to_holy_order + duration = -1 + } + } + + hidden_tooltip = { + d_knights_calatrava = { + holder_scope = { + character_event = { + id = SoA.2740 + } + } + } + } + + wealth = -300 + piety = 300 + } + + revoke_allowed = { + always = no + } + + ai_will_do = { + factor = 1 + modifier = { + factor = 0.002 # Slow it down + } + } + } + + expel_order_of_addai = { + only_independent = yes + potential = { + ai = no + OR = { + religion = nestorian + religion = messalian + } + is_heretic = no + higher_tier_than = DUKE + independent = yes + is_title_active = d_saint_addai + NOT = { has_character_modifier = expelled_d_saint_addai } + + any_realm_province = { + any_province_lord = { + d_saint_addai = { + holder_scope = { + OR = { + character = PREVPREV + is_vassal_or_below = PREVPREV + } + } + } + } + } + + has_dlc = "Sons of Abraham" + } + + allow = { + piety = 1000 + custom_tooltip = { + text = expelling_holy_order_decision_tooltip + hidden_tooltip = { + NOT = { has_character_flag = expel_order_of_addai_check } + } + } + } + + effect = { + set_character_flag = expel_order_of_addai_check + custom_tooltip = { + text = expelling_holy_order_decision_tooltip_b + hidden_tooltip = { + character_event = { id = SoA.2990 } + } + } + } + + revoke_allowed = { + always = no + } + + ai_will_do = { + factor = 0 + } + } + + donate_money_to_order_of_addai = { + only_playable = yes + potential = { + is_playable = yes + + OR = { + AND = { + wealth = 1000 + NOR = { + trait = cynical + piety = 50 + } + } + ai = no + } + + is_title_active = d_saint_addai + + d_saint_addai = { + holder_scope = { + religion = ROOT + } + } + + NOT = { has_character_modifier = expelled_d_saint_addai } + + d_saint_addai = { + holder_scope = { + liege = { + NOT = { character = ROOT } + } + } + } + + has_dlc = "Sons of Abraham" + } + + allow = { + wealth = 300 + } + + effect = { + if = { + limit = { + NOT = { has_character_modifier = donated_to_holy_order } + } + add_character_modifier = { + name = donated_to_holy_order + duration = -1 + } + } + + hidden_tooltip = { + d_saint_addai = { + holder_scope = { + character_event = { + id = SoA.2840 + } + } + } + } + + wealth = -300 + piety = 300 + } + + revoke_allowed = { + always = no + } + + ai_will_do = { + factor = 1 + modifier = { + factor = 0.002 # Slow it down + } + } + } + expel_zun_warriors = { + only_independent = yes + potential = { + ai = no + religion = zun_pagan_reformed + higher_tier_than = DUKE + independent = yes + is_title_active = d_zun_warriors + NOT = { has_character_modifier = expelled_d_zun_warriors } + + any_realm_province = { + any_province_lord = { + d_zun_warriors = { + holder_scope = { + OR = { + character = PREVPREV + is_vassal_or_below = PREVPREV + } + } + } + } + } + has_dlc = "Charlemagne" + } + + allow = { + piety = 1000 + custom_tooltip = { + text = expelling_holy_order_decision_tooltip + hidden_tooltip = { + NOT = { has_character_flag = expel_zun_warriors_check } + } + } + } + + effect = { + set_character_flag = expel_zun_warriors_check + custom_tooltip = { + text = expelling_holy_order_decision_tooltip_b + hidden_tooltip = { + character_event = { id = SoA.2990 } + } + } + } + + revoke_allowed = { + always = no + } + + ai_will_do = { + factor = 0 + } + } + donate_money_to_zun_warriors = { + only_playable = yes + potential = { + is_playable = yes + + religion = zun_pagan_reformed + + OR = { + AND = { + wealth = 1000 + NOR = { + trait = cynical + piety = 50 + } + } + ai = no + } + + is_title_active = d_zun_warriors + + has_dlc = "Charlemagne" + + NOT = { has_character_modifier = expelled_d_zun_warriors } + + d_zun_warriors = { + holder_scope = { + liege = { + NOT = { character = ROOT } + } + } + } + } + + allow = { + wealth = 300 + } + + effect = { + if = { + limit = { + NOT = { has_character_modifier = donated_to_holy_order } + } + add_character_modifier = { + name = donated_to_holy_order + duration = -1 + } + } + + hidden_tooltip = { + d_zun_warriors = { + holder_scope = { + character_event = { + id = CM.4005 + } + } + } + } + + wealth = -300 + piety = 300 + } + + revoke_allowed = { + always = no + } + + ai_will_do = { + factor = 1 + modifier = { + factor = 0.002 # Slow it down + } + } + } +} + diff --git a/LCDA/decisions/minor_decisions.txt b/LCDA/decisions/minor_decisions.txt new file mode 100644 index 0000000..5584e60 --- /dev/null +++ b/LCDA/decisions/minor_decisions.txt @@ -0,0 +1,2690 @@ +decisions = { + + feast_0 = { + only_playable = yes + potential = { + is_playable = yes + OR = { + is_feudal = yes + is_tribal = yes + is_nomadic = yes + } + prisoner = no + OR = { + religion_group = christian + religion_group = zoroastrian_group + religion_group = jewish_group + } + NOT = { + has_character_modifier = holding_large_feast + } + NOT = { + has_character_modifier = large_feast_timer + } + NOT = { + has_character_modifier = fabulous_feast + } + NOT = { + has_character_flag = guest_feast_started + } + NOT = { + liege = { + has_character_modifier = holding_large_feast + } + } + num_of_vassals = 1 + } + allow = { + war = no + custom_tooltip = { + text = UNOCCUPIED_DEMESNE_TITLE + hidden_tooltip = { + any_demesne_title = { + NOT = { higher_tier_than = count } + is_occupied = no + } + } + } + prisoner = no + NOT = { is_inaccessible_trigger = yes } + wealth = 25 + month = 10 + prestige = 100 + custom_tooltip = { + text = is_not_busy_trigger_tooltip + hidden_tooltip = { NOT = { has_character_flag = do_not_disturb } } + } + } + effect = { + wealth = -25 + add_character_modifier = { + name = holding_large_feast + duration = -1 + } + set_character_flag = recent_minor_decision + set_character_flag = do_not_disturb + hidden_tooltip = { character_event = { id = 72999 days = 150 } } # Safety catch flag clearing + + hidden_tooltip = { + character_event = { + id = 72109 + } + } + if = { + limit = { + has_dlc = "Reapers" + } + custom_tooltip = { + text = capital_prospers_custom_tooltip + hidden_tooltip = { + capital_scope = { + change_variable = { which = prosperity_value value = 8 } + } + } + } + } + } + revoke_allowed = { + always = no + } + ai_will_do = { + factor = 1 + + modifier = { + factor = 0 + NOT = { + wealth = 200 + } + } + modifier = { + factor = 0 + trait = shy + } + modifier = { + factor = 0 + NOT = { diplomacy = 10 } + } + modifier = { + factor = 0 + has_character_flag = recent_minor_decision + NOT = { + had_character_flag = { + flag = recent_minor_decision + days = 730 + } + } + } + } + } + + summer_fair = { + only_playable = yes + potential = { + is_playable = yes + religion_group = christian + prisoner = no + NOT = { + has_character_modifier = holding_summer_fair + } + NOT = { + has_character_modifier = summer_fair_timer + } + num_of_vassals = 1 + OR = { + NOT = { has_character_flag = recent_summer_fair } + had_character_flag = { + flag = recent_summer_fair + days = 60 + } + } + } + allow = { + war = no + custom_tooltip = { + text = UNOCCUPIED_DEMESNE_TITLE + hidden_tooltip = { + any_demesne_title = { + NOT = { higher_tier_than = count } + is_occupied = no + } + } + } + wealth = 25 + prisoner = no + NOT = { is_inaccessible_trigger = yes } + month = 4 + NOT = { + month = 7 + } + custom_tooltip = { + text = is_not_busy_trigger_tooltip + hidden_tooltip = { NOT = { has_character_flag = do_not_disturb } } + } + } + effect = { + wealth = -25 + add_character_modifier = { + name = holding_summer_fair + duration = -1 + } + set_character_flag = recent_minor_decision + set_character_flag = do_not_disturb + hidden_tooltip = { + character_event = { + id = 74047 + days = 60 + } + character_event = { id = 74050 } + } + if = { + limit = { + has_dlc = "Reapers" + } + custom_tooltip = { + text = capital_prospers_custom_tooltip + hidden_tooltip = { + capital_scope = { + change_variable = { which = prosperity_value value = 8 } + } + } + } + } + } + revoke_allowed = { + always = no + } + ai_will_do = { + factor = 1 + + modifier = { + factor = 0 + NOT = { + wealth = 200 + } + } + + modifier = { + factor = 0 + trait = slothful + } + + modifier = { + factor = 0 + NOT = { stewardship = 10 } + } + + modifier = { + factor = 0 + has_character_flag = recent_minor_decision + NOT = { + had_character_flag = { + flag = recent_minor_decision + days = 730 + } + } + } + + } + } + + hold_grand_hunt = { + only_playable = yes + potential = { + is_playable = yes + age = 16 + is_female = no + prisoner = no + OR = { + religion_group = christian + religion_group = pagan_group + } + NOT = { + OR = { + has_landed_title = e_mongol_empire + has_landed_title = e_golden_horde + has_landed_title = e_il-khanate + } + } + NOT = { has_character_modifier = holding_grand_hunt } + OR = { + NOT = { has_dlc = "Way of Life" } + has_focus = focus_hunting + } + } + allow = { + war = no + custom_tooltip = { + text = UNOCCUPIED_DEMESNE_TITLE + hidden_tooltip = { + any_demesne_title = { + NOT = { higher_tier_than = count } + is_occupied = no + } + } + } + month = 8 + wealth = 25 + NOT = { month = 10 } + NOT = { health_traits = 1 } + prisoner = no + NOT = { is_inaccessible_trigger = yes } + custom_tooltip = { + text = is_not_busy_trigger_tooltip + hidden_tooltip = { NOT = { has_character_flag = do_not_disturb } } + } + } + effect = { + wealth = -25 + add_character_modifier = { + name = holding_grand_hunt + duration = -1 + } + set_character_flag = recent_minor_decision + set_character_flag = do_not_disturb + hidden_tooltip = { character_event = { id = 36999 days = 150 } } # Safety catch flag clearing + hidden_tooltip = { + character_event = { id = 36090 days = 60 } + character_event = { id = 36080 } + } + if = { + limit = { + has_dlc = "Reapers" + } + custom_tooltip = { + text = capital_prospers_custom_tooltip + hidden_tooltip = { + capital_scope = { + change_variable = { which = prosperity_value value = 8 } + } + } + } + } + } + revoke_allowed = { + always = no + } + ai_will_do = { + factor = 1 + + modifier = { + factor = 0 + NOT = { wealth = 50 } + } + modifier = { + factor = 0 + NOT = { wealth = 200 } + NOT = { has_focus = focus_hunting } + } + modifier = { + factor = 0 + trait = craven + } + modifier = { + factor = 0 + NOT = { + martial = 10 + } + } + modifier = { + factor = 0 + has_character_flag = recent_minor_decision + NOT = { + had_character_flag = { + flag = recent_minor_decision + days = 730 + } + } + } + } + } + + hold_tiger_hunt = { + only_playable = yes + potential = { + has_dlc = "Rajas of India" + is_playable = yes + age = 16 + prisoner = no + num_of_vassals = 1 + capital_scope = { + region = world_india + } + } + allow = { + war = no + custom_tooltip = { + text = UNOCCUPIED_DEMESNE_TITLE + hidden_tooltip = { + any_demesne_title = { + NOT = { higher_tier_than = count } + is_occupied = no + } + } + } + NOT = { month = 10 } + wealth = 25 + NOT = { trait = incapable } + NOT = { is_inaccessible_trigger = yes } + prisoner = no + NOT = { religion = jain } + custom_tooltip = { + text = is_not_busy_trigger_tooltip + hidden_tooltip = { + NOT = { has_character_flag = do_not_disturb } + NOT = { has_character_flag = holding_tiger_hunt } + NOT = { has_character_modifier = hunt_timer } + } + } + } + effect = { + wealth = -25 + set_character_flag = holding_tiger_hunt + set_character_flag = recent_minor_decision + set_character_flag = do_not_disturb + hidden_tooltip = { + character_event = { id = RoI.2000 } + } + if = { + limit = { + has_dlc = "Reapers" + } + custom_tooltip = { + text = capital_prospers_custom_tooltip + hidden_tooltip = { + capital_scope = { + change_variable = { which = prosperity_value value = 8 } + } + } + } + } + } + revoke_allowed = { + always = no + } + ai_will_do = { + factor = 1 + + modifier = { + factor = 0 + NOT = { wealth = 50 } + } + modifier = { + factor = 0 + NOT = { wealth = 200 } + NOT = { has_focus = focus_hunting } + } + modifier = { + factor = 0 + NOT = { martial = 10 } + NOT = { has_focus = focus_hunting } + } + modifier = { + factor = 0 + has_character_flag = recent_minor_decision + NOT = { + had_character_flag = { + flag = recent_minor_decision + days = 730 + } + } + } + } + } + + choose_hindu_patron_deity = { + only_playable = yes + is_high_prio = yes + potential = { + has_dlc = "Rajas of India" + is_playable = yes + age = 16 + NOT = { trait = incapable } + religion = hindu + NOT = { + has_character_modifier = patron_shiva + has_character_modifier = patron_vishnu + has_character_modifier = patron_brahma + has_character_modifier = patron_kali + has_character_modifier = patron_ganesha + has_character_modifier = patron_ganga + } + } + allow = { + prisoner = no + } + effect = { + character_event = { id = RoI.100 } + } + revoke_allowed = { + always = no + } + ai_will_do = { + factor = 0.01 + modifier = { + factor = 5 + trait = zealous + } + modifier = { + factor = 0.5 + trait = cynical + } + } + } + + indian_pilgrimage = { # For all Dharmics + only_playable = yes + potential = { + has_dlc = "Mystics" + OR = { + NOT = { has_dlc = "Way of Life" } + has_focus = focus_theology + has_quest = quest_indian_monastic_order_pilgrimage + } + is_playable = yes + religion_group = indian_group + NOT = { trait = indian_pilgrim } + } + allow = { + war = no + in_command = no + custom_tooltip = { + text = UNOCCUPIED_DEMESNE_TITLE + hidden_tooltip = { + any_demesne_title = { + NOT = { higher_tier_than = count } + is_occupied = no + } + } + } + prisoner = no + NOT = { is_inaccessible_trigger = yes } + scaled_wealth = 0.2 + age = 16 + custom_tooltip = { + text = health_travel_condition + hidden_tooltip = { + NOT = { trait = pregnant } + NOT = { trait = incapable } + NOT = { trait = blinded } + NOT = { trait = has_tuberculosis } + NOT = { trait = has_typhoid_fever } + NOT = { trait = has_typhus } + NOT = { trait = has_bubonic_plague } + NOT = { trait = has_measles } + NOT = { trait = has_small_pox } + NOT = { trait = has_aztec_disease } + } + } + custom_tooltip = { + text = is_not_busy_trigger_tooltip + hidden_tooltip = { NOT = { has_character_flag = do_not_disturb } } + } + } + effect = { + scaled_wealth = -0.2 + set_character_flag = activated_pilgrimage + set_character_flag = do_not_disturb + hidden_tooltip = { + character_event = { + id = MNM.8000 + } + } + } + revoke_allowed = { + always = no + } + ai_will_do = { + factor = 1 + + #modifier = { + # factor = 100 + # has_quest = quest_indian_monastic_order_pilgrimage + #} + modifier = { + factor = 0.001 # Only a small minority ever go on a pilgrimage + } + modifier = { + factor = 3 + trait = zealous + } + modifier = { + factor = 0 + NOT = { wealth = 200 } + } + modifier = { + factor = 0 + NOT = { age = 30 } + } + } + } + + catholic_pilgrimage = { # For all Christians + only_playable = yes + potential = { + has_dlc = "Sons of Abraham" + OR = { + NOT = { has_dlc = "Way of Life" } + has_focus = focus_theology + has_quest = quest_monastic_order_pilgrimage_christian + } + is_playable = yes + religion_group = christian + NOT = { trait = pilgrim } + } + allow = { + war = no + in_command = no + custom_tooltip = { + text = UNOCCUPIED_DEMESNE_TITLE + hidden_tooltip = { + any_demesne_title = { + NOT = { higher_tier_than = count } + is_occupied = no + } + } + } + prisoner = no + NOT = { is_inaccessible_trigger = yes } + scaled_wealth = 0.2 + age = 16 + custom_tooltip = { + text = health_travel_condition + hidden_tooltip = { + NOT = { trait = pregnant } + NOT = { trait = incapable } + NOT = { trait = blinded } + NOT = { trait = has_tuberculosis } + NOT = { trait = has_typhoid_fever } + NOT = { trait = has_typhus } + NOT = { trait = has_bubonic_plague } + NOT = { trait = has_measles } + NOT = { trait = has_small_pox } + NOT = { trait = has_aztec_disease } + } + } + custom_tooltip = { + text = is_not_busy_trigger_tooltip + hidden_tooltip = { NOT = { has_character_flag = do_not_disturb } } + } + } + effect = { + scaled_wealth = -0.2 + set_character_flag = activated_pilgrimage + set_character_flag = do_not_disturb + hidden_tooltip = { + character_event = { + id = SoA.5000 + } + } + } + revoke_allowed = { + always = no + } + ai_will_do = { + factor = 1 + + modifier = { + factor = 0.001 # Only a small minority of Christians ever go on a pilgrimage + } + modifier = { + factor = 3 + trait = zealous + } + modifier = { + factor = 0 + NOT = { wealth = 200 } + } + modifier = { + factor = 0 + NOT = { age = 30 } + } + } + } + + go_on_hajj = { + only_playable = yes + is_high_prio = yes + potential = { + is_playable = yes + religion_group = muslim + NOT = { trait = hajjaj } + NOT = { trait = on_hajj } + NOT = { has_character_flag = preparing_hajj } + NOT = { has_character_flag = ramadan } + NOT = { has_character_flag = activated_hajj } + } + allow = { + age = 16 + prisoner = no + scaled_wealth = 0.2 + war = no + in_command = no + custom_tooltip = { + text = UNOCCUPIED_DEMESNE_TITLE + hidden_tooltip = { + any_demesne_title = { + NOT = { higher_tier_than = count } + is_occupied = no + } + } + } + + NOT = { is_inaccessible_trigger = yes } + custom_tooltip = { + text = health_travel_condition + hidden_tooltip = { + NOT = { trait = incapable } + NOT = { trait = blinded } + NOT = { trait = has_tuberculosis } + NOT = { trait = has_typhoid_fever } + NOT = { trait = has_typhus } + NOT = { trait = has_bubonic_plague } + NOT = { trait = has_measles } + NOT = { trait = has_small_pox } + NOT = { trait = has_aztec_disease } + } + } + custom_tooltip = { + text = is_not_busy_trigger_tooltip + hidden_tooltip = { NOT = { has_character_flag = do_not_disturb } } + } + } + effect = { + scaled_wealth = -0.2 + clr_character_flag = promise_hajj + set_character_flag = activated_hajj + set_character_flag = recent_minor_decision + set_character_flag = do_not_disturb + + if = { + limit = { + trait = decadent + } + remove_trait = decadent + } + + hidden_tooltip = { + letter_event = { + id = 86000 + } + } + } + revoke_allowed = { + always = no + } + ai_will_do = { + factor = 1 + + modifier = { + factor = 0 + trait = cynical + } + modifier = { + factor = 0 + is_ruler = no + trait = decadent + } + modifier = { + factor = 2 + is_ruler = yes + trait = decadent + } + modifier = { + factor = 0 + NOT = { wealth = 300 } + } + modifier = { # Monthly randomizer for when AI takes decision (1% chance) + factor = 0 + random = 1 + } + modifier = { + factor = 0 + NOT = { age = 30 } + } + } + } + + observe_ramadan = { + only_playable = yes + potential = { + ai = no + is_playable = yes + prisoner = no + is_adult = yes + religion_group = muslim + NOT = { has_character_flag = ramadan } + NOT = { has_character_modifier = observed_ramadan } + NOT = { trait = on_hajj } + NOT = { trait = incapable } + } + allow = { + war = no + prisoner = no + NOT = { is_inaccessible_trigger = yes } + wealth = 100 + custom_tooltip = { + text = IS_HEALTHY + NOR = { + is_ill = yes + has_symptom_trigger = yes + } + } + custom_tooltip = { + text = is_not_busy_trigger_tooltip + hidden_tooltip = { NOT = { has_character_flag = do_not_disturb } } + } + } + effect = { + character_event = { id = 88500 tooltip = "begin_fast" } + set_character_flag = ramadan + decadence = -3 + piety = 15 + wealth = -100 + add_character_modifier = { + name = observed_ramadan + duration = 1900 + hidden = no + } + if = { + limit = { + has_dlc = "Reapers" + } + custom_tooltip = { + text = capital_prospers_custom_tooltip + hidden_tooltip = { + capital_scope = { + change_variable = { which = prosperity_value value = 8 } + } + } + } + } + } + revoke_allowed = { + always = no + } + ai_will_do = { + factor = 0 + } + } + + commission_runestone = { + only_playable = yes + potential = { + has_dlc = "The Old Gods" + is_playable = yes + age = 16 + prisoner = no + culture_group = north_germanic + NOT = { has_character_flag = commissioned_runestone } + NOT = { year = 1150 } + } + allow = { + wealth = 100 + prisoner = no + } + effect = { + wealth = -100 + set_character_flag = commissioned_runestone + hidden_tooltip = { + character_event = { id = TOG.500 } + } + } + revoke_allowed = { + always = no + } + ai_will_do = { + factor = 1 + modifier = { + factor = 0 + NOT = { wealth = 300 } + } + modifier = { + factor = 0 + NOT = { age = 30 } + } + } + } + + hold_nerge = { + only_playable = yes + is_high_prio = yes + potential = { + has_dlc = "The Old Gods" + is_playable = yes + age = 16 + is_female = no + prisoner = no + culture = mongol + OR = { + has_landed_title = e_il-khanate + has_landed_title = e_golden_horde + has_landed_title = e_mongol_empire + } + NOT = { has_character_modifier = morale_from_nerge } + NOT = { has_character_flag = holding_nerge } + } + allow = { + war = no + custom_tooltip = { + text = UNOCCUPIED_DEMESNE_TITLE + hidden_tooltip = { + any_demesne_title = { + NOT = { higher_tier_than = count } + is_occupied = no + } + } + } + month = 8 + wealth = 50 + NOT = { month = 10 } + prisoner = no + NOT = { is_inaccessible_trigger = yes } + custom_tooltip = { + text = is_not_busy_trigger_tooltip + hidden_tooltip = { NOT = { has_character_flag = do_not_disturb } } + } + } + effect = { + wealth = -50 + set_character_flag = holding_nerge + set_character_flag = recent_minor_decision + set_character_flag = do_not_disturb + hidden_tooltip = { + character_event = { id = TOG.299 days = 150 } # Safety catch flag clearing + } + custom_tooltip = { + text = prepare_nerge + hidden_tooltip = { + character_event = { id = TOG.100 } + } + } + if = { + limit = { + has_dlc = "Reapers" + is_nomadic = no + } + custom_tooltip = { + text = capital_prospers_custom_tooltip + hidden_tooltip = { + capital_scope = { + change_variable = { which = prosperity_value value = 8 } + } + } + } + } + } + revoke_allowed = { + always = no + } + ai_will_do = { + factor = 1 + + modifier = { + factor = 0 + NOT = { + wealth = 300 + } + } + modifier = { + factor = 0 + trait = craven + } + modifier = { + factor = 0 + NOT = { martial = 10 } + } + modifier = { + factor = 0 + has_character_flag = recent_minor_decision + NOT = { + had_character_flag = { + flag = recent_minor_decision + days = 730 + } + } + } + } + } + + hold_blot = { + only_playable = yes + is_high_prio = yes + potential = { + has_dlc = "The Old Gods" + is_playable = yes + age = 16 + prisoner = no + OR = { + religion = norse_pagan + religion = norse_pagan_reformed + } + NOT = { has_character_modifier = held_blot_timer } + NOT = { has_character_flag = holding_blot } + } + allow = { + war = no + custom_tooltip = { + text = UNOCCUPIED_DEMESNE_TITLE + hidden_tooltip = { + any_demesne_title = { + NOT = { higher_tier_than = count } + is_occupied = no + } + } + } + OR = { + NOT = { month = 2 } + month = 10 + } + wealth = 50 + prisoner = no + NOT = { is_inaccessible_trigger = yes } + custom_tooltip = { + text = is_not_busy_trigger_tooltip + hidden_tooltip = { NOT = { has_character_flag = do_not_disturb } } + } + } + effect = { + wealth = -50 + set_character_flag = holding_blot + set_character_flag = recent_minor_decision + set_character_flag = do_not_disturb + hidden_tooltip = { + character_event = { id = TOG.699 days = 150 } # Safety catch flag clearing + } + custom_tooltip = { + text = prepare_blot + hidden_tooltip = { + character_event = { id = TOG.600 } + } + } + if = { + limit = { + has_dlc = "Reapers" + } + custom_tooltip = { + text = capital_prospers_custom_tooltip + hidden_tooltip = { + capital_scope = { + change_variable = { which = prosperity_value value = 8 } + } + } + } + } + } + revoke_allowed = { + always = no + } + ai_will_do = { + factor = 1 + + modifier = { + factor = 0 + NOT = { + wealth = 300 + } + } + modifier = { + factor = 0 + trait = shy + } + modifier = { + factor = 0 + NOT = { diplomacy = 10 } + } + modifier = { + factor = 0 + has_character_flag = recent_minor_decision + NOT = { + had_character_flag = { + flag = recent_minor_decision + days = 730 + } + } + } + } + } + + ancestor_worship = { + only_playable = yes + is_high_prio = yes + + potential = { + has_dlc = "The Old Gods" + is_playable = yes + is_landed = yes + is_adult = yes + prisoner = no + OR = { + religion = finnish_pagan + religion = finnish_pagan_reformed + religion = west_african_pagan + religion = west_african_pagan_reformed + religion = baltic_pagan + religion = baltic_pagan_reformed + religion = slavic_pagan + religion = slavic_pagan_reformed + religion = tengri_pagan + religion = tengri_pagan_reformed + } + } + + allow = { + war = no + custom_tooltip = { + text = UNOCCUPIED_DEMESNE_TITLE + hidden_tooltip = { + any_demesne_title = { + NOT = { higher_tier_than = count } + is_occupied = no + } + } + } + NOT = { is_inaccessible_trigger = yes } + custom_tooltip = { + text = is_not_busy_trigger_tooltip + hidden_tooltip = { NOT = { has_character_flag = do_not_disturb } } + } + custom_tooltip = { + text = worship_cooldown_tooltip + hidden_tooltip = { NOT = { has_character_modifier = worshipped_ancestors_timer } } + } + } + + effect = { + set_character_flag = recent_minor_decision + set_character_flag = do_not_disturb + custom_tooltip = { + text = prepare_worship_ancestors + hidden_tooltip = { + character_event = { id = TOG.7000 } + add_character_modifier = { + name = worshipped_ancestors_timer + years = 10 + hidden = yes + } + } + } + } + revoke_allowed = { + always = no + } + ai_will_do = { + factor = 0.01 + + modifier = { + factor = 0.01 + trait = cynical + } + modifier = { + factor = 5 + trait = zealous + } + modifier = { + factor = 0 + has_character_flag = recent_minor_decision + NOT = { + had_character_flag = { + flag = recent_minor_decision + days = 730 + } + } + } + } + } + + + + hold_ukon_juhla = { + only_playable = yes + potential = { + has_dlc = "The Old Gods" + is_playable = yes + is_adult = yes + prisoner = no + OR = { + religion = finnish_pagan + religion = finnish_pagan_reformed + } + NOT = { has_character_modifier = held_ukon_juhla_timer } + NOT = { has_character_flag = holding_ukon_juhla } + } + allow = { + war = no + custom_tooltip = { + text = UNOCCUPIED_DEMESNE_TITLE + hidden_tooltip = { + any_demesne_title = { + NOT = { higher_tier_than = count } + is_occupied = no + } + } + } + NOT = { month = 7 } + month = 4 + wealth = 50 + prisoner = no + NOT = { is_inaccessible_trigger = yes } + custom_tooltip = { + text = is_not_busy_trigger_tooltip + hidden_tooltip = { NOT = { has_character_flag = do_not_disturb } } + } + } + effect = { + wealth = -50 + set_character_flag = holding_ukon_juhla + set_character_flag = recent_minor_decision + set_character_flag = do_not_disturb + hidden_tooltip = { character_event = { id = TOG.899 days = 150 } } # Safety catch flag clearing + custom_tooltip = { + text = prepare_ukon_juhla + hidden_tooltip = { + character_event = { id = TOG.700 } + } + } + if = { + limit = { + has_dlc = "Reapers" + } + custom_tooltip = { + text = capital_prospers_custom_tooltip + hidden_tooltip = { + capital_scope = { + change_variable = { which = prosperity_value value = 8 } + } + } + } + } + } + revoke_allowed = { + always = no + } + ai_will_do = { + factor = 1 + + modifier = { + factor = 0 + NOT = { + wealth = 300 + } + } + modifier = { + factor = 0 + trait = shy + } + modifier = { + factor = 0 + NOT = { diplomacy = 10 } + } + modifier = { + factor = 0 + has_character_flag = recent_minor_decision + NOT = { + had_character_flag = { + flag = recent_minor_decision + days = 730 + } + } + } + } + } + + + pick_main_deity = { + only_playable = yes + is_high_prio = yes + potential = { + has_dlc = "The Old Gods" + is_playable = yes + is_adult = yes + prisoner = no + OR = { + religion = slavic_pagan + religion = slavic_pagan_reformed + religion = west_african_pagan + religion = west_african_pagan_reformed + religion = baltic_pagan + religion = baltic_pagan_reformed + religion = finnish_pagan + religion = finnish_pagan_reformed + } + } + allow = { + piety = 25 + custom_tooltip = { + text = pick_main_deity_timer_tooltip + NOT = { has_character_modifier = picked_main_deity_timer } + } + prisoner = no + } + effect = { + if = { + limit = { has_character_modifier = follower_of_perun } + remove_character_modifier = follower_of_perun + } + if = { + limit = { has_character_modifier = follower_of_veles } + remove_character_modifier = follower_of_veles + } + if = { + limit = { has_character_modifier = follower_of_jarilo } + remove_character_modifier = follower_of_jarilo + } + if = { + limit = { has_character_modifier = follower_of_morana } + remove_character_modifier = follower_of_morana + } + if = { + limit = { has_character_modifier = follower_of_yemoja } + remove_character_modifier = follower_of_yemoja + } + if = { + limit = { has_character_modifier = follower_of_ekwensu } + remove_character_modifier = follower_of_ekwensu + } + if = { + limit = { has_character_modifier = follower_of_orunmila } + remove_character_modifier = follower_of_orunmila + } + if = { + limit = { has_character_modifier = follower_of_shango } + remove_character_modifier = follower_of_shango + } + if = { + limit = { has_character_modifier = follower_of_ukko } + remove_character_modifier = follower_of_ukko + } + if = { + limit = { has_character_modifier = follower_of_akka } + remove_character_modifier = follower_of_akka + } + if = { + limit = { has_character_modifier = follower_of_taipo_and_mielikki } + remove_character_modifier = follower_of_taipo_and_mielikki + } + if = { + limit = { has_character_modifier = follower_of_lempo } + remove_character_modifier = follower_of_lempo + } + if = { + limit = { has_character_modifier = follower_of_dievas } + remove_character_modifier = follower_of_dievas + } + if = { + limit = { has_character_modifier = follower_of_velnias } + remove_character_modifier = follower_of_velnias + } + if = { + limit = { has_character_modifier = follower_of_perkunas } + remove_character_modifier = follower_of_perkunas + } + if = { + limit = { has_character_modifier = follower_of_zemyna } + remove_character_modifier = follower_of_zemyna + } + + piety = -25 + + custom_tooltip = { + text = pick_main_deity_tooltip + + #Starts main deity events + hidden_tooltip = { + if = { + limit = { has_minor_deity_trigger = no } + character_event = { id = TOG.7100 days = 10 } + } + } + + #Event for picking main deity + trigger_switch = { + on_trigger = religion + slavic_pagan = { character_event = { id = TOG.7110 } } + slavic_pagan_reformed = { character_event = { id = TOG.7110 } } + west_african_pagan = { character_event = { id = TOG.7200 } } + west_african_pagan_reformed = { character_event = { id = TOG.7200 } } + finnish_pagan = { character_event = { id = TOG.7300 } } + finnish_pagan_reformed = { character_event = { id = TOG.7300 } } + baltic_pagan = { character_event = { id = TOG.7400 } } + baltic_pagan_reformed = { character_event = { id = TOG.7400 } } + } + + add_character_modifier = { + name = picked_main_deity_timer + duration = 3650 + hidden = yes + } + } + } + revoke_allowed = { + always = no + } + ai_will_do = { + factor = 0.1 + } + } + + + + hold_uzgavenes = { + only_playable = yes + potential = { + has_dlc = "The Old Gods" + is_playable = yes + is_adult = yes + prisoner = no + OR = { + religion = baltic_pagan + religion = baltic_pagan_reformed + } + NOT = { has_character_modifier = held_uzgavenes_timer } + NOT = { has_character_flag = holding_uzgavenes } + } + allow = { + war = no + custom_tooltip = { + text = UNOCCUPIED_DEMESNE_TITLE + hidden_tooltip = { + any_demesne_title = { + NOT = { higher_tier_than = count } + is_occupied = no + } + } + } + NOT = { month = 7 } + month = 4 + wealth = 50 + prisoner = no + NOT = { is_inaccessible_trigger = yes } + custom_tooltip = { + text = is_not_busy_trigger_tooltip + hidden_tooltip = { NOT = { has_character_flag = do_not_disturb } } + } + } + effect = { + wealth = -50 + set_character_flag = holding_uzgavenes + set_character_flag = recent_minor_decision + set_character_flag = do_not_disturb + hidden_tooltip = { character_event = { id = TOG.899 days = 150 } } # Safety catch flag clearing + custom_tooltip = { + text = prepare_uzgavenes + hidden_tooltip = { + character_event = { id = TOG.750 } + } + } + if = { + limit = { + has_dlc = "Reapers" + } + custom_tooltip = { + text = capital_prospers_custom_tooltip + hidden_tooltip = { + capital_scope = { + change_variable = { which = prosperity_value value = 8 } + } + } + } + } + } + revoke_allowed = { + always = no + } + ai_will_do = { + factor = 1 + + modifier = { + factor = 0 + NOT = { + wealth = 300 + } + } + modifier = { + factor = 0 + trait = shy + } + modifier = { + factor = 0 + NOT = { diplomacy = 10 } + } + modifier = { + factor = 0 + has_character_flag = recent_minor_decision + NOT = { + had_character_flag = { + flag = recent_minor_decision + days = 730 + } + } + } + } + } + + hold_jarilo = { + only_playable = yes + potential = { + has_dlc = "The Old Gods" + is_playable = yes + is_adult = yes + prisoner = no + OR = { + religion = slavic_pagan + religion = slavic_pagan_reformed + } + NOT = { has_character_modifier = held_jarilo_timer } + NOT = { has_character_flag = holding_jarilo } + } + allow = { + war = no + custom_tooltip = { + text = UNOCCUPIED_DEMESNE_TITLE + hidden_tooltip = { + any_demesne_title = { + NOT = { higher_tier_than = count } + is_occupied = no + } + } + } + NOT = { month = 7 } + month = 4 + wealth = 50 + prisoner = no + NOT = { is_inaccessible_trigger = yes } + custom_tooltip = { + text = is_not_busy_trigger_tooltip + hidden_tooltip = { NOT = { has_character_flag = do_not_disturb } } + } + } + effect = { + wealth = -50 + set_character_flag = holding_jarilo + set_character_flag = recent_minor_decision + set_character_flag = do_not_disturb + hidden_tooltip = { character_event = { id = TOG.899 days = 150 } } # Safety catch flag clearing + custom_tooltip = { + text = prepare_jarilo + hidden_tooltip = { + character_event = { id = TOG.800 } + } + } + if = { + limit = { + has_dlc = "Reapers" + } + custom_tooltip = { + text = capital_prospers_custom_tooltip + hidden_tooltip = { + capital_scope = { + change_variable = { which = prosperity_value value = 8 } + } + } + } + } + } + revoke_allowed = { + always = no + } + ai_will_do = { + factor = 1 + + modifier = { + factor = 0 + NOT = { + wealth = 300 + } + } + modifier = { + factor = 0 + trait = shy + } + modifier = { + factor = 0 + NOT = { diplomacy = 10 } + } + modifier = { + factor = 0 + has_character_flag = recent_minor_decision + NOT = { + had_character_flag = { + flag = recent_minor_decision + days = 730 + } + } + } + } + } + + celebrate_passover = { + only_playable = yes + is_high_prio = yes + potential = { + has_dlc = "Sons of Abraham" + is_playable = yes + is_adult = yes + prisoner = no + religion_group = jewish_group + NOT = { has_character_modifier = held_passover_timer } + NOT = { has_character_flag = holding_passover } + } + allow = { + war = no + custom_tooltip = { + text = UNOCCUPIED_DEMESNE_TITLE + hidden_tooltip = { + any_demesne_title = { + NOT = { higher_tier_than = count } + is_occupied = no + } + } + } + NOT = { month = 6 } + month = 3 + wealth = 50 + prisoner = no + NOT = { is_inaccessible_trigger = yes } + custom_tooltip = { + text = is_not_busy_trigger_tooltip + hidden_tooltip = { NOT = { has_character_flag = do_not_disturb } } + } + } + effect = { + wealth = -50 + set_character_flag = holding_passover + set_character_flag = recent_minor_decision + set_character_flag = do_not_disturb + hidden_tooltip = { character_event = { id = SoA.599 days = 150 } } # Safety catch flag clearing + custom_tooltip = { + text = passover_celebrations + hidden_tooltip = { + character_event = { id = SoA.500 } + } + } + if = { + limit = { + has_dlc = "Reapers" + } + custom_tooltip = { + text = capital_prospers_custom_tooltip + hidden_tooltip = { + capital_scope = { + change_variable = { which = prosperity_value value = 8 } + } + } + } + } + } + revoke_allowed = { + always = no + } + ai_will_do = { + factor = 1 + + modifier = { + factor = 0 + NOT = { + wealth = 300 + } + } + modifier = { + factor = 0 + trait = shy + } + modifier = { + factor = 0 + NOT = { diplomacy = 10 } + } + modifier = { + factor = 0 + has_character_flag = recent_minor_decision + NOT = { + had_character_flag = { + flag = recent_minor_decision + days = 730 + } + } + } + } + } + + borrow_money_jews = { + only_playable = yes + potential = { + is_playable = yes + is_nomadic = no + has_dlc = "Sons of Abraham" + OR = { + religion_group = christian + religion_group = muslim + religion_group = zoroastrian_group + } + NOT = { religion_group = jewish_group } + NOR = { + secret_religion = jewish + secret_religion = karaite + secret_religion = samaritan + } + } + + allow = { + OR = { + religion_group = christian + religion_group = muslim + religion_group = zoroastrian_group + } + prisoner = no + NOT = { + has_character_modifier = borrowed_from_jews + has_character_modifier = expelled_jewish + } + top_liege = { NOT = { has_character_modifier = expelled_jewish } } + } + + effect = { + add_character_modifier = { + name = borrowed_from_jews + duration = -1 + inherit = yes + } + wealth = 300 + } + + revoke_allowed = { + always = no + } + + ai_will_do = { + factor = 1 + modifier = { + factor = 0 + wealth = 0 + war = no + } + modifier = { + factor = 0 + wealth = 200 + war = yes + } + modifier = { + factor = 0.01 # Slow it down + } + } + } + repay_money_jews = { + only_playable = yes + potential = { + is_playable = yes + NOT = { + has_character_modifier = expelled_jewish + } + has_character_modifier = borrowed_from_jews + has_dlc = "Sons of Abraham" + } + + allow = { + wealth = 350 + } + + effect = { + remove_character_modifier = borrowed_from_jews + wealth = -350 + } + + revoke_allowed = { + always = no + } + + ai_will_do = { + factor = 1 + modifier = { + factor = 0 + NOT = { wealth = 450 } + } + modifier = { + factor = 0.1 # Slow it down + } + } + } + + become_kshatriya = { + only_playable = yes + is_high_prio = yes + potential = { + is_playable = yes + is_adult = yes + religion = hindu + OR = { + is_feudal = yes + is_tribal = yes + is_nomadic = yes + } + has_dlc = "Rajas of India" + NOT = { trait = kshatriya } + } + + allow = { + OR = { + trait = brahmin + piety = 200 + } + OR = { + scaled_wealth = 6 + AND = { + learning = 12 + scaled_wealth = 3 + } + } + } + + effect = { + if = { + limit = { learning = 12 } + scaled_wealth = -3 + } + if = { + limit = { NOT = { learning = 12 } } + scaled_wealth = -6 + } + if = { + limit = { NOT = { trait = brahmin } } + piety = -200 + } + + prestige = 50 + add_trait = kshatriya + any_spouse = { + limit = { + is_ruler = no + liege = { character = ROOT } + NOT = { trait = kshatriya } + } + add_trait = kshatriya + } + any_child = { + limit = { + is_ruler = no + liege = { character = ROOT } + NOT = { trait = kshatriya } + } + add_trait = kshatriya + } + hidden_tooltip = { + top_liege = { + any_realm_character = { + limit = { + religion = hindu + is_adult = yes + NOT = { character = ROOT } + NOT = { trait = cynical } + } + opinion = { + modifier = opinion_changed_caste + who = ROOT + years = 100 + } + } + } + } + if = { + limit = { + ai = no + } + chronicle = { + entry = CHRONICLE_BECAME_KSHATRIYA + picture = GFX_evt_emissary_indo_aryan_group + } + } + } + + revoke_allowed = { + always = no + } + ai_will_do = { + factor = 1 + modifier = { + factor = 0.1 + } + } + } + + become_vaishya = { + only_playable = yes + is_high_prio = yes + potential = { + is_playable = yes + is_adult = yes + religion = hindu + OR = { + is_republic = yes + is_merchant_republic = yes + } + has_dlc = "Rajas of India" + NOT = { trait = vaishya } + } + + allow = { + OR = { + trait = brahmin + piety = 200 + } + OR = { + scaled_wealth = 6 + AND = { + learning = 12 + scaled_wealth = 3 + } + } + } + + effect = { + if = { + limit = { learning = 12 } + scaled_wealth = -3 + } + if = { + limit = { NOT = { learning = 12 } } + scaled_wealth = -6 + } + if = { + limit = { NOT = { trait = brahmin } } + piety = -200 + } + + prestige = 50 + add_trait = vaishya + any_spouse = { + limit = { + is_ruler = no + liege = { character = ROOT } + NOT = { trait = vaishya } + } + add_trait = vaishya + } + any_child = { + limit = { + is_ruler = no + liege = { character = ROOT } + NOT = { trait = vaishya } + } + add_trait = vaishya + } + hidden_tooltip = { + top_liege = { + any_realm_character = { + limit = { + religion = hindu + is_adult = yes + NOT = { character = ROOT } + NOT = { trait = cynical } + } + opinion = { + modifier = opinion_changed_caste + who = ROOT + years = 100 + } + } + } + } + if = { + limit = { + ai = no + } + chronicle = { + entry = CHRONICLE_BECAME_VAISHYA + picture = GFX_evt_emissary_indo_aryan_group + } + } + } + + revoke_allowed = { + always = no + } + ai_will_do = { + factor = 1 + modifier = { + factor = 0.1 + } + } + } + + hold_diwali_feast_hindu = { + only_playable = yes + potential = { + has_dlc = "Rajas of India" + is_playable = yes + is_adult = yes + OR = { + is_feudal = yes + is_tribal = yes + is_nomadic = yes + is_republic = yes + } + prisoner = no + religion = hindu + NOT = { trait = incapable } + NOT = { has_character_modifier = patron_kali } + NOT = { + has_character_modifier = holding_diwali_feast + } + NOT = { + has_character_modifier = holding_kali_puja_feast + } + NOT = { + has_character_modifier = large_feast_timer + } + NOT = { + has_character_modifier = fabulous_feast + } + NOT = { + has_character_flag = guest_diwali_feast_started + } + NOT = { + liege = { + has_character_modifier = holding_diwali_feast + has_character_modifier = holding_kali_puja_feast + } + } + num_of_vassals = 1 + } + allow = { + war = no + custom_tooltip = { + text = UNOCCUPIED_DEMESNE_TITLE + hidden_tooltip = { + any_demesne_title = { + NOT = { higher_tier_than = count } + is_occupied = no + } + } + } + prisoner = no + NOT = { is_inaccessible_trigger = yes } + scaled_wealth = 0.2 + month = 9 + prestige = 100 + custom_tooltip = { + text = is_not_busy_trigger_tooltip + hidden_tooltip = { NOT = { has_character_flag = do_not_disturb } } + } + } + effect = { + scaled_wealth = -0.2 + add_character_modifier = { + name = holding_diwali_feast + duration = 365 + } + set_character_flag = recent_minor_decision + set_character_flag = do_not_disturb + hidden_tooltip = { + character_event = { id = RoI.1000 } + } + if = { + limit = { + has_dlc = "Reapers" + } + custom_tooltip = { + text = capital_prospers_custom_tooltip + hidden_tooltip = { + capital_scope = { + change_variable = { which = prosperity_value value = 8 } + } + } + } + } + } + revoke_allowed = { + always = no + } + ai_will_do = { + factor = 0.1 + modifier = { + factor = 0 + NOT = { + scaled_wealth = 2 + } + } + modifier = { + factor = 0.5 + trait = shy + } + modifier = { + factor = 0.5 + NOT = { diplomacy = 10 } + } + modifier = { + factor = 0 + has_character_flag = recent_minor_decision + NOT = { + had_character_flag = { + flag = recent_minor_decision + days = 730 + } + } + } + modifier = { + factor = 0 + NOT = { age = 30 } + } + } + } + + hold_diwali_feast_buddhist = { + only_playable = yes + potential = { + has_dlc = "Rajas of India" + is_playable = yes + is_adult = yes + OR = { + is_feudal = yes + is_tribal = yes + is_nomadic = yes + is_republic = yes + } + prisoner = no + religion = buddhist + NOT = { trait = incapable } + NOT = { + has_character_modifier = holding_diwali_feast + } + NOT = { + has_character_modifier = holding_kali_puja_feast + } + NOT = { + has_character_modifier = large_feast_timer + } + NOT = { + has_character_modifier = fabulous_feast + } + NOT = { + has_character_flag = guest_diwali_feast_started + } + NOT = { + liege = { + has_character_modifier = holding_diwali_feast + has_character_modifier = holding_kali_puja_feast + } + } + num_of_vassals = 1 + } + allow = { + war = no + custom_tooltip = { + text = UNOCCUPIED_DEMESNE_TITLE + hidden_tooltip = { + any_demesne_title = { + NOT = { higher_tier_than = count } + is_occupied = no + } + } + } + prisoner = no + NOT = { is_inaccessible_trigger = yes } + scaled_wealth = 0.2 + month = 9 + prestige = 100 + custom_tooltip = { + text = is_not_busy_trigger_tooltip + hidden_tooltip = { NOT = { has_character_flag = do_not_disturb } } + } + } + effect = { + scaled_wealth = -0.2 + add_character_modifier = { + name = holding_diwali_feast + duration = 365 + } + set_character_flag = recent_minor_decision + set_character_flag = do_not_disturb + + hidden_tooltip = { + character_event = { id = RoI.1000 } + } + if = { + limit = { + has_dlc = "Reapers" + } + custom_tooltip = { + text = capital_prospers_custom_tooltip + hidden_tooltip = { + capital_scope = { + change_variable = { which = prosperity_value value = 8 } + } + } + } + } + } + revoke_allowed = { + always = no + } + ai_will_do = { + factor = 0.1 + + modifier = { + factor = 0 + NOT = { + scaled_wealth = 2 + } + } + modifier = { + factor = 0.5 + trait = shy + } + modifier = { + factor = 0.5 + NOT = { diplomacy = 10 } + } + modifier = { + factor = 0 + has_character_flag = recent_minor_decision + NOT = { + had_character_flag = { + flag = recent_minor_decision + days = 730 + } + } + } + modifier = { + factor = 0 + NOT = { age = 30 } + } + } + } + + hold_diwali_feast_jain = { + only_playable = yes + potential = { + has_dlc = "Rajas of India" + is_playable = yes + is_adult = yes + OR = { + is_feudal = yes + is_tribal = yes + is_nomadic = yes + is_republic = yes + } + prisoner = no + religion = jain + NOT = { trait = incapable } + NOT = { + has_character_modifier = holding_diwali_feast + } + NOT = { + has_character_modifier = holding_kali_puja_feast + } + NOT = { + has_character_modifier = large_feast_timer + } + NOT = { + has_character_modifier = fabulous_feast + } + NOT = { + has_character_flag = guest_diwali_feast_started + } + NOT = { + liege = { + has_character_modifier = holding_diwali_feast + has_character_modifier = holding_kali_puja_feast + } + } + num_of_vassals = 1 + } + allow = { + war = no + custom_tooltip = { + text = UNOCCUPIED_DEMESNE_TITLE + hidden_tooltip = { + any_demesne_title = { + NOT = { higher_tier_than = count } + is_occupied = no + } + } + } + prisoner = no + NOT = { is_inaccessible_trigger = yes } + scaled_wealth = 0.2 + month = 9 + prestige = 100 + custom_tooltip = { + text = is_not_busy_trigger_tooltip + hidden_tooltip = { NOT = { has_character_flag = do_not_disturb } } + } + } + effect = { + scaled_wealth = -0.2 + add_character_modifier = { + name = holding_diwali_feast + duration = 365 + } + set_character_flag = recent_minor_decision + set_character_flag = do_not_disturb + + hidden_tooltip = { + character_event = { id = RoI.1000 } + } + if = { + limit = { + has_dlc = "Reapers" + } + custom_tooltip = { + text = capital_prospers_custom_tooltip + hidden_tooltip = { + capital_scope = { + change_variable = { which = prosperity_value value = 8 } + } + } + } + } + } + revoke_allowed = { + always = no + } + ai_will_do = { + factor = 0.1 + + modifier = { + factor = 0 + NOT = { + scaled_wealth = 2 + } + } + modifier = { + factor = 0.5 + trait = shy + } + modifier = { + factor = 0.5 + NOT = { diplomacy = 10 } + } + modifier = { + factor = 0 + has_character_flag = recent_minor_decision + NOT = { + had_character_flag = { + flag = recent_minor_decision + days = 730 + } + } + } + modifier = { + factor = 0 + NOT = { age = 30 } + } + } + } + + hold_diwali_feast_kali_puja = { + only_playable = yes + potential = { + has_dlc = "Rajas of India" + is_playable = yes + is_adult = yes + OR = { + is_feudal = yes + is_tribal = yes + is_nomadic = yes + is_republic = yes + } + prisoner = no + religion = hindu + NOT = { trait = incapable } + OR = { + has_character_modifier = patron_kali + capital_scope = { + region = world_india_bengal + } + } + NOT = { + has_character_modifier = holding_diwali_feast + } + NOT = { + has_character_modifier = holding_kali_puja_feast + } + NOT = { + has_character_modifier = large_feast_timer + } + NOT = { + has_character_modifier = fabulous_feast + } + NOT = { + has_character_flag = guest_diwali_feast_started + } + NOT = { + liege = { + has_character_modifier = holding_diwali_feast + has_character_modifier = holding_kali_puja_feast + } + } + num_of_vassals = 1 + } + allow = { + war = no + custom_tooltip = { + text = UNOCCUPIED_DEMESNE_TITLE + hidden_tooltip = { + any_demesne_title = { + NOT = { higher_tier_than = count } + is_occupied = no + } + } + } + prisoner = no + NOT = { is_inaccessible_trigger = yes } + scaled_wealth = 0.2 + month = 9 + prestige = 100 + custom_tooltip = { + text = is_not_busy_trigger_tooltip + hidden_tooltip = { NOT = { has_character_flag = do_not_disturb } } + } + } + effect = { + scaled_wealth = -0.2 + add_character_modifier = { + name = holding_kali_puja_feast + duration = 365 + } + set_character_flag = recent_minor_decision + set_character_flag = do_not_disturb + hidden_tooltip = { character_event = { id = RoI.1000 } } + if = { + limit = { + has_dlc = "Reapers" + } + custom_tooltip = { + text = capital_prospers_custom_tooltip + hidden_tooltip = { + capital_scope = { + change_variable = { which = prosperity_value value = 8 } + } + } + } + } + } + revoke_allowed = { + always = no + } + ai_will_do = { + factor = 0.1 + + modifier = { + factor = 0 + NOT = { + scaled_wealth = 2 + } + } + modifier = { + factor = 0.5 + trait = shy + } + modifier = { + factor = 0.5 + NOT = { diplomacy = 10 } + } + modifier = { + factor = 0 + has_character_flag = recent_minor_decision + NOT = { + had_character_flag = { + flag = recent_minor_decision + days = 730 + } + } + } + modifier = { + factor = 0 + NOT = { age = 30 } + } + } + } + + find_guru = { + only_playable = yes + potential = { + religion_group = indian_group + is_playable = yes + is_adult = yes + OR = { + is_feudal = yes + is_tribal = yes + is_nomadic = yes + } + prisoner = no + NOT = { has_character_flag = looking_for_guru } + NOT = { has_character_flag = found_guru } + NOT = { + any_courtier = { + has_minor_title = title_guru + } + } + } + allow = { + prisoner = no + wealth = 50 + prestige = 300 + } + effect = { + wealth = -50 + set_character_flag = looking_for_guru + character_event = { id = RoI.3000 } + } + revoke_allowed = { + always = no + } + ai_will_do = { + factor = 1 + + modifier = { + factor = 0 + trait = cynical + } + modifier = { + factor = 0 + NOT = { wealth = 200 } + } + } + } + + hold_zun_feast = { + only_playable = yes + potential = { + has_dlc = "Charlemagne" + is_playable = yes + is_adult = yes + OR = { + is_feudal = yes + is_tribal = yes + is_nomadic = yes + } + prisoner = no + OR = { + religion = zun_pagan + religion = zun_pagan_reformed + } + NOT = { trait = incapable } + num_of_vassals = 1 + NOT = { + has_character_modifier = holding_zun_feast + } + NOT = { + has_character_modifier = holding_diwali_feast + } + NOT = { + has_character_modifier = holding_kali_puja_feast + } + NOT = { + has_character_modifier = large_feast_timer + } + NOT = { + has_character_modifier = fabulous_feast + } + NOT = { + has_character_flag = guest_zun_feast_started + } + NOT = { + liege = { has_character_modifier = holding_zun_feast } + } + } + allow = { + war = no + custom_tooltip = { + text = UNOCCUPIED_DEMESNE_TITLE + hidden_tooltip = { + any_demesne_title = { + NOT = { higher_tier_than = count } + is_occupied = no + } + } + } + prisoner = no + NOT = { is_inaccessible_trigger = yes } + scaled_wealth = 0.2 + month = 3 + NOT = { month = 9 } + prestige = 100 + custom_tooltip = { + text = is_not_busy_trigger_tooltip + hidden_tooltip = { NOT = { has_character_flag = do_not_disturb } } + } + } + effect = { + scaled_wealth = -0.2 + add_character_modifier = { + name = holding_zun_feast + duration = 365 + } + set_character_flag = recent_minor_decision + set_character_flag = do_not_disturb + hidden_tooltip = { + character_event = { id = CM.4100 } + } + if = { + limit = { + has_dlc = "Reapers" + } + custom_tooltip = { + text = capital_prospers_custom_tooltip + hidden_tooltip = { + capital_scope = { + change_variable = { which = prosperity_value value = 8 } + } + } + } + } + } + revoke_allowed = { + always = no + } + ai_will_do = { + factor = 0.1 + modifier = { + factor = 0 + NOT = { + scaled_wealth = 2 + } + } + modifier = { + factor = 0.5 + trait = shy + } + modifier = { + factor = 0.5 + NOT = { diplomacy = 10 } + } + modifier = { + factor = 0 + has_character_flag = recent_minor_decision + NOT = { + had_character_flag = { + flag = recent_minor_decision + days = 730 + } + } + } + modifier = { + factor = 0 + NOT = { age = 30 } + } + } + } + + # Sky burial + sky_burial_decision = { + only_playable = yes + is_high_prio = yes + potential = { + is_playable = yes + has_character_flag = sky_burial + NOT = { has_character_flag = performed_sky_burial } + OR = { + religion_group = zoroastrian_group + AND = { + government = nomadic_government + OR = { + religion = tengri_pagan + religion = tengri_pagan_reformed + religion_group = zoroastrian_group + religion_group = indian_group + } + } + } + } + allow = { + is_adult = yes + in_command = no + prisoner = no + NOT = { trait = incapable } + NOT = { trait = infirm } + NOT = { is_inaccessible_trigger = yes } + NOT = { has_character_flag = do_not_disturb } + } + effect = { + custom_tooltip = { text = sky_burial_custom_tooltip } + hidden_tooltip = { + character_event = { id = HL.8005 } + clr_character_flag = sky_burial + set_character_flag = performed_sky_burial + } + } + ai_will_do = { + factor = 1 + modifier = { + factor = 0.05 + } + } + } + + # Choose Warhorse (Nomad) + choose_warhorse_nomad = { + only_playable = yes + potential = { + is_playable = yes + is_nomadic = yes + NOT = { has_character_modifier = nomad_warhorse } + } + allow = { + is_adult = yes + prisoner = no + NOT = { trait = incapable } + custom_tooltip = { + text = is_not_busy_trigger_tooltip + hidden_tooltip = { NOT = { has_character_flag = do_not_disturb } } + } + wealth = 20 + } + effect = { + wealth = -20 + custom_tooltip = { text = nomad_acquires_warhorse_tooltip } + hidden_tooltip = { long_character_event = { id = HL.6000 } } # Select and name horse + hidden_tooltip = { character_event = { id = HL.6500 days = 3500 random = 2000 } } # Horse dies + } + revoke_allowed = { + always = no + } + ai_will_do = { + factor = 0.01 + modifier = { + factor = 0 + NOT = { wealth = 200 } + } + } + } +} \ No newline at end of file diff --git a/LCDA/decisions/realm_decisions.txt b/LCDA/decisions/realm_decisions.txt new file mode 100644 index 0000000..f35fade --- /dev/null +++ b/LCDA/decisions/realm_decisions.txt @@ -0,0 +1,2942 @@ +decisions = { + + hold_a_epic_tournament = { + only_independent = yes + is_high_prio = yes + + potential = { + is_playable = yes + NOR = { + has_character_modifier = epic_tournament + has_character_flag = epic_tournament + } + OR = { + religion_group = christian + religion_group = jewish_group + religion_group = zoroastrian_group + } + independent = yes + NOT = { is_nomadic = yes } + OR = { + gender_equality_trigger = yes + NOT = { is_female = yes } + } + OR = { + tier = king + tier = emperor + } + location = { + owner = { character = ROOT } + } + } + allow = { + war = no + prisoner = no + in_command = no + NOT = { is_inaccessible_trigger = yes } + age = 16 + prestige = 500 + wealth = 200 + custom_tooltip = { + text = is_not_busy_trigger_tooltip + hidden_tooltip = { NOT = { has_character_flag = do_not_disturb } } + } + } + effect = { + add_character_modifier = { + name = epic_tournament + years = 100 + hidden = yes + } + set_character_flag = do_not_disturb + clr_character_flag = tournament_has_ended + hidden_tooltip = { character_event = { id = 70999 days = 300 } } # Safety catch flag clearing + wealth = -200 + prestige = 100 + character_event = { id = 70033 tooltip = "tournament_invite" } + hidden_tooltip = { + clr_character_flag = tournament_has_ended + } + } + ai_will_do = { + factor = 1 + modifier = { + factor = 0 + NOT = { + OR = { + wealth = 1000 + scaled_wealth = 3.0 + } + } + } + } + } + + buy_indulgence_for_sins = { + only_playable = yes + potential = { + religion = catholic + age = 16 + demesne_size = 1 + NOT = { has_character_flag = ask_for_indulgence } + } + allow = { + prisoner = no + NOT = { trait = incapable } + NOT = { is_inaccessible_trigger = yes } + scaled_wealth = 1.0 + wealth = 25 + is_heretic = no + } + effect = { + set_character_flag = ask_for_indulgence + rightful_religious_head_scope = { + character_event = { id = 39250 days = 5 random = 12 tooltip = "indulgence_ask" } + } + } + ai_will_do = { + factor = 1 + modifier = { + factor = 0 + OR = { + NOT = { scaled_wealth = 10.0 } + piety = 0 + } + } + } + } + + issue_declaration_of_repentance = { + only_playable = yes + potential = { + is_playable = yes + religion = catholic + age = 16 + demesne_size = 1 + NOT = { has_character_flag = ask_for_repentance } + rightful_religious_head_scope = { + ROOT = { + excommunicated_for = PREV + } + } + } + allow = { + scaled_wealth = 2.0 + is_heretic = no + } + effect = { + set_character_flag = ask_for_repentance + rightful_religious_head_scope = { + character_event = { id = 39252 days = 5 random = 12 tooltip = "repentance_ask" } + } + } + ai_will_do = { + factor = 1 + modifier = { + factor = 0 + NOT = { + scaled_wealth = 10.0 + } + } + } + } + + demand_liege_title = { + only_playable = yes + is_high_prio = yes + potential = { + ai = no + is_playable = yes + has_ambition = obj_gain_any_title + liege = { + NOT = { character = ROOT } + } + is_adult = yes + prisoner = no + NOT = { trait = incapable } + } + allow = { + prestige = 60 + liege = { + has_regent = no + NOT = { has_opinion_modifier = { who = ROOT modifier = requested_land } } + demesne_size = 3 + any_demesne_title = { + can_be_given_away = yes + tier = COUNT + NOT = { location = { is_capital = yes } } + } + } + } + effect = { + prestige = -60 + liege = { + opinion = { + who = ROOT + years = 2 + modifier = requested_land + } + random_demesne_title = { + limit = { + can_be_given_away = yes + tier = COUNT + NOT = { location = { is_capital = yes } } + } + save_event_target_as = vassal_wanted_title + } + } + custom_tooltip = { + text = demand_liege_title_tooltip + hidden_tooltip = { liege = { letter_event = { id = 63041 days = 4 } } } # "vassal_request_events.txt" + } + } + ai_will_do = { + factor = 0 # The AI is limited to the similar event 63040 + } + } + + sadaqah_saddka = { + only_playable = yes + potential = { + is_playable = yes + ai = no + religion_group = muslim + is_adult = yes + demesne_size = 1 + NOT = { has_character_flag = voluntary_charity } + rightful_religious_head_scope = { + NOT = { + character = ROOT + } + NOT = { + has_opinion_modifier = { who = ROOT modifier = opinion_sadaqah } + } + } + } + allow = { + scaled_wealth = 1.0 + is_heretic = no + } + effect = { + set_character_flag = voluntary_charity + scaled_wealth = -0.25 + piety = 25 + rightful_religious_head_scope = { + character_event = { id = 31000 days = 5 random = 12 tooltip = "sadaqah_voluntary_charity" } + } + } + ai_will_do = { + factor = 1 + modifier = { + factor = 0 + ai = yes + OR = { + NOT = { scaled_wealth = 10.0 } + piety = 0 + } + } + } + } + + hold_a_furusiyya = { + only_independent = yes + is_high_prio = yes + + potential = { + is_playable = yes + independent = yes + NOR = { + has_character_flag = epic_tournament_furusiyya + has_character_modifier = epic_tournament_furusiyya + } + religion_group = muslim + OR = { + gender_equality_trigger = yes + NOT = { is_female = yes } + } + OR = { + tier = king + tier = emperor + } + location = { + owner = { character = ROOT } + } + } + allow = { + war = no + in_command = no + prisoner = no + NOT = { is_inaccessible_trigger = yes } + age = 16 + prestige = 500 + wealth = 200 + custom_tooltip = { + text = is_not_busy_trigger_tooltip + hidden_tooltip = { NOT = { has_character_flag = do_not_disturb } } + } + } + effect = { + set_character_flag = do_not_disturb + add_character_modifier = { + name = epic_tournament_furusiyya + years = 100 + hidden = yes + } + clr_character_flag = tournament_has_ended_furusiyya + hidden_tooltip = { character_event = { id = 88999 days = 300 } } # Safety catch flag clearing + wealth = -200 + prestige = 100 + decadence = -5 + character_event = { id = 88283 tooltip = "furusiyya_invite" } + } + ai_will_do = { + factor = 1 + modifier = { + factor = 0 + NOT = { + OR = { + wealth = 1000 + scaled_wealth = 3.0 + } + } + } + } + } + + restore_roman_empire = { + only_independent = yes + is_high_prio = yes + + potential = { + is_playable = yes + has_dlc = "Legacy of Rome" + has_landed_title = e_byzantium + religion_group = christian + is_adult = yes + prisoner = no + NOT = { trait = incapable } + NOT = { has_global_flag = rome_restored } + } + allow = { + primary_title = { title = e_byzantium } + prestige = 3000 + completely_controls = d_latium + completely_controls = d_venice + completely_controls = d_ferrara + completely_controls = d_sicily + completely_controls = d_genoa + completely_controls = d_capua + completely_controls = d_apulia + completely_controls = d_thrace + completely_controls = d_antioch + completely_controls = d_jerusalem + completely_controls = d_alexandria + completely_controls = d_athens + completely_controls = d_tunis + completely_controls = d_croatia + } + effect = { + set_global_flag = rome_restored + narrative_event = { id = LoR.20 tooltip = EVTTOOLTIPLoR.20 } + } + ai_will_do = { + factor = 1 + } + } + + mend_great_schism = { + only_independent = yes + is_high_prio = yes + + potential = { + has_dlc = "Legacy of Rome" + is_playable = yes + is_adult = yes + prisoner = no + independent = yes + NOT = { trait = incapable } + OR = { + religion = orthodox + religion = paulician + religion = monothelite + religion = iconoclast + } + OR = { + has_landed_title = e_byzantium + has_landed_title = e_roman_empire + } + is_heretic = no + NOT = { has_global_flag = schism_mended } + k_papal_state = { + holder_scope = { + is_heretic = no # If the Pope (and thus Catholicism) is heretical, mending the schism is no longer possible + } + } + } + allow = { + piety = 2000 + religion_authority = 0.9 + completely_controls = c_byzantion + b_hagiasophia = { + custom_tooltip = { # Custom tooltip to shorten the in-game tooltip + text = mend_the_schism_holder_religion + hidden_tooltip = { + holder_scope = { + OR = { + religion = orthodox + religion = paulician + religion = monothelite + religion = iconoclast + } + is_heretic = no + } + } + } + } + completely_controls = c_antiocheia + b_antiocheia = { + custom_tooltip = { + text = mend_the_schism_holder_religion + hidden_tooltip = { + holder_scope = { + OR = { + religion = orthodox + religion = paulician + religion = monothelite + religion = iconoclast + } + is_heretic = no + } + } + } + } + completely_controls = c_jerusalem + b_jerusalem = { + custom_tooltip = { + text = mend_the_schism_holder_religion + hidden_tooltip = { + holder_scope = { + OR = { + religion = orthodox + religion = paulician + religion = monothelite + religion = iconoclast + } + is_heretic = no + } + } + } + } + completely_controls = c_alexandria + b_alexandria = { + custom_tooltip = { + text = mend_the_schism_holder_religion + hidden_tooltip = { + holder_scope = { + OR = { + religion = orthodox + religion = paulician + religion = monothelite + religion = iconoclast + } + is_heretic = no + } + } + } + } + completely_controls = c_roma + b_roma = { + custom_tooltip = { + text = mend_the_schism_holder_religion + hidden_tooltip = { + holder_scope = { + OR = { + religion = orthodox + religion = paulician + religion = monothelite + religion = iconoclast + } + is_heretic = no + } + } + } + } + } + effect = { + narrative_event = { id = LoR.210 tooltip = EVTTOOLTIPLoR.210} + set_global_flag = schism_mended + } + ai_will_do = { + factor = 1 + } + } + + claim_constantinople = { + only_independent = yes + is_high_prio = yes + + potential = { + is_playable = yes + has_dlc = "Legacy of Rome" + has_landed_title = e_byzantium + NOT = { has_landed_title = c_byzantion } + any_realm_lord = { + ai = yes + has_landed_title = c_byzantion + } + } + allow = { + NOT = { has_landed_title = c_byzantion } + any_realm_lord = { + has_landed_title = c_byzantion + } + } + effect = { + ROOT = { + c_byzantion = { + usurp_title_plus_barony_if_unlanded_and_vassals = PREV + } + } + } + ai_will_do = { + factor = 1 + } + } + + make_rome_capital = { + only_independent = yes + is_high_prio = yes + + potential = { + is_playable = yes + ai = no + has_dlc = "Legacy of Rome" + has_landed_title = e_roman_empire + capital_scope = { + NOT = { province_id = 333 } + } + any_realm_lord = { + ai = yes + has_landed_title = c_roma + } + any_realm_lord = { + ai = yes + has_landed_title = b_tivoli + } + } + allow = { + has_landed_title = e_roman_empire + any_realm_lord = { has_landed_title = c_roma } + } + effect = { + custom_tooltip = { + text = rome_capital + hidden_tooltip = { + b_tivoli = { province_capital = yes } + ROOT = { + b_tivoli = { + usurp_title = PREV + } + } + #b_roma = { set_name = Lateran } + b_tivoli = { + set_name = Rome + ROOT = { capital = PREV } + } + } + } + } + ai_will_do = { + factor = 0 + } + } + + petition_doge_for_tp = { + only_playable = yes + is_high_prio = yes + potential = { + is_playable = yes + is_merchant_republic = no + is_patrician = yes + liege = { is_merchant_republic = yes } + NOT = { has_character_flag = petition_doge_for_tp_taken } + OR = { + liege = { + any_vassal = { + is_patrician = yes + num_of_trade_post_diff = { + character = ROOT + value = 10 + } + } + } + AND = { + NOT = { num_of_trade_posts = 1 } + liege = { + any_vassal = { + is_patrician = yes + num_of_trade_posts = 10 + } + } + } + } + } + allow = { + liege = { + opinion = { + who = ROOT + value = 25 + } + } + } + effect = { + set_character_flag = petition_doge_for_tp_taken + liege = { + letter_event = { id = REP.500 days = 5 tooltip = EVTTOOLTIP_REP_500 } + } + } + ai_will_do = { + factor = 1 + } + } + + usurp_tp = { + only_playable = yes + is_high_prio = yes + potential = { + is_playable = yes + is_merchant_republic = yes + is_patrician = yes + NOT = { has_character_flag = usurp_tp_taken } + OR = { + any_vassal = { + is_patrician = yes + num_of_trade_post_diff = { + character = ROOT + value = 10 + } + } + AND = { + NOT = { num_of_trade_posts = 1 } + any_vassal = { + is_patrician = yes + num_of_trade_posts = 10 + } + } + } + } + allow = { + is_merchant_republic = yes + } + effect = { + set_character_flag = usurp_tp_taken + if = { + limit = { + num_of_trade_posts = 1 + any_vassal = { + is_patrician = yes + num_of_trade_post_diff = { + character = ROOT + value = 10 + } + } + } + random_vassal = { + limit = { + is_patrician = yes + num_of_trade_post_diff = { + character = ROOT + value = 10 + } + } + set_character_flag = target_patrician_doge + letter_event = { id = REP.510 days = 5 tooltip = EVTTOOLTIP_REP_510 } + } + } + if = { + limit = { + NOT = { num_of_trade_posts = 1 } + any_vassal = { + is_patrician = yes + num_of_trade_posts = 10 + } + } + random_vassal = { + limit = { + is_patrician = yes + num_of_trade_posts = 10 + } + set_character_flag = target_patrician_doge + letter_event = { id = REP.510 days = 5 tooltip = EVTTOOLTIP_REP_510 } + } + } + } + ai_will_do = { + factor = 1 + } + } + + organize_varangian_guard = { + only_independent = yes + is_high_prio = yes + + potential = { + is_playable = yes + independent = yes + is_female = no + prisoner = no + is_adult = yes + NOT = { trait = incapable } + OR = { + has_landed_title = e_byzantium + has_landed_title = e_roman_empire + } + has_global_flag = viking_age_started + NOT = { has_global_flag = varangian_guard_founded } + any_playable_ruler = { + religion = norse_pagan + capital_scope = { + distance = { + where = 496 # Constantinople + value = 400 # Not too far away + } + } + } + } + allow = { + prestige = 300 + wealth = 300 + } + effect = { + set_global_flag = varangian_guard_founded + prestige = -300 + wealth = -300 + activate_title = { title = d_varangian_guard status = yes } + hidden_tooltip = { + narrative_event = { id = TOG.3100 } + create_character = { + random_traits = yes + religion = norse_pagan + culture = norse + dynasty = NONE + female = no + age = 34 + trait = skilled_tactician + } + new_character = { + d_varangian_guard = { + grant_title = PREV + } + set_defacto_liege = ROOT + } + } + } + ai_will_do = { + factor = 1 + } + } + + create_hungary = { + only_playable = yes + is_high_prio = yes + potential = { + NOT = { has_dlc = "Horse Lords" } + is_playable = yes + culture = hungarian + has_landed_title = k_magyar + k_hungary = { + has_holder = no + } + k_magyar = { + is_vice_royalty = no + } + } + allow = { + war = no + completely_controls = d_pest + OR = { + completely_controls = d_transylvania + completely_controls = d_ungvar + completely_controls = d_nyitra + } + } + effect = { + set_global_flag = avar_khaganate_renamed + k_hungary = { + reset_coa = THIS + } + if = { + limit = { has_nickname = no } + give_nickname = nick_the_great + } + set_government_type = feudal_government + spawn_unit = { + province = 522 # Pest + owner = ROOT + troops = { + light_infantry = { 2700 2700 } + heavy_infantry = { 180 180 } + light_cavalry = { 420 420 } + archers = { 600 600 } + } + attrition = 0.5 + } + spawn_unit = { + province = 522 # Pest + owner = ROOT + troops = { + light_infantry = { 2700 2700 } + heavy_infantry = { 180 180 } + light_cavalry = { 420 420 } + archers = { 600 600 } + } + attrition = 0.5 + } + spawn_unit = { + province = 522 # Pest + owner = ROOT + troops = { + light_infantry = { 2700 2700 } + heavy_infantry = { 180 180 } + light_cavalry = { 420 420 } + archers = { 600 600 } + } + attrition = 0.5 + } + custom_tooltip = { + text = EVTOPTA62910_CUSTOM + } + prestige = 1000 + wealth = 1000 + narrative_event = { id = 62910 tooltip = EVTTOOLTIP62910 } + } + ai_will_do = { + factor = 1 + } + } + + become_saoshyant = { + only_independent = yes + is_high_prio = yes + + potential = { + has_dlc = "The Old Gods" + is_playable = yes + religion_group = zoroastrian_group + NOT = { has_global_flag = saoshyant_appears } + } + allow = { + has_landed_title = e_persia + completely_controls = d_fars + completely_controls = d_khiva + completely_controls = d_merv + completely_controls = d_esfahan + completely_controls = d_hamadan + completely_controls = d_mazandaran + completely_controls = d_kermanshah + completely_controls = d_tigris + completely_controls = d_basra + completely_controls = d_baghdad + completely_controls = d_mosul + completely_controls = d_jazira + completely_controls = d_kerman + completely_controls = d_khorasan + completely_controls = d_tabriz + completely_controls = d_azerbaijan + completely_controls = d_baluchistan + completely_controls = d_sistan + completely_controls = d_kabul + completely_controls = d_zabulistan + completely_controls = d_samarkand + completely_controls = d_dihistan + piety = 1500 + } + effect = { + set_global_flag = saoshyant_appears + give_nickname = nick_the_saoshyant + add_trait = saoshyant + prestige = 500 + piety = 500 + + hidden_tooltip = { + narrative_event = { id = TOG.6000 } + any_child = { + character_event = { id = TOG.6001 } + } + } + } + ai_will_do = { + factor = 1 + } + } + + create_leon = { + only_playable = yes + is_high_prio = yes + + potential = { + is_playable = yes + tier = KING + has_landed_title = k_asturias + k_leon = { has_holder = no } + } + + allow = { + war = no + NOT = { trait = incapable } + primary_title = { title = k_asturias } + completely_controls = d_leon + completely_controls = d_asturias + is_vice_royalty = no + } + effect = { + activate_title = { title = k_leon status = yes } + k_asturias = { + k_leon = { + grant_title = ROOT + hidden_tooltip = { make_primary_title = yes } + copy_title_laws = PREV + copy_title_history = PREV + } + hidden_tooltip = { + any_direct_de_jure_vassal_title = { + de_jure_liege = k_leon + } + destroy_landed_title = THIS + } + } + if = { + limit = { + has_landed_title = c_leon + NOT = { capital_scope = { province_id = 190 } } + + } + c_leon = { ROOT = { capital = PREV } } + } + if = { + limit = { has_nickname = no } + give_nickname = nick_the_great + } + activate_title = { title = k_asturias status = no } + + hidden_tooltip = { + character_event = { id = 62920 } + any_playable_ruler = { + limit = { + ai = no + capital_scope = { + region = world_europe_west_iberia + } + } + character_event = { id = 62921 } + } + } + } + ai_will_do = { + factor = 1 + } + } + + create_castille = { + only_independent = yes + is_high_prio = yes + + potential = { + is_playable = yes + has_landed_title = d_castilla + independent = yes + NOT = { tier = KING } + k_castille = { + has_holder = no + } + year = 1000 + } + allow = { + war = no + NOT = { trait = incapable } + completely_controls = d_castilla + prestige = 1000 + wealth = 100 + } + effect = { + wealth = -100 + prestige = 500 + activate_title = { title = k_castille status = yes } + k_castille = { + grant_title = ROOT + copy_title_laws = d_castilla + } + d_castilla = { + de_jure_liege = k_castille + } + if = { + limit = { completely_controls = d_toledo } + d_toledo = { + de_jure_liege = k_castille + } + } + if = { + limit = { has_nickname = no } + give_nickname = nick_the_great + } + hidden_tooltip = { + any_playable_ruler = { + limit = { + ai = no + capital_scope = { + region = world_europe_west_iberia + } + } + character_event = { id = 62923 } + } + } + if = { + limit = { + has_landed_title = c_burgos + NOT = { capital_scope = { province_id = 199 } } + + } + c_burgos = { ROOT = { capital = PREV } } + } + hidden_tooltip = { character_event = { id = 62922 } } + } + ai_will_do = { + factor = 1 + } + } + + create_portugal = { + only_independent = yes + is_high_prio = yes + + potential = { + is_playable = yes + has_landed_title = d_porto + independent = yes + NOT = { tier = KING } + k_portugal = { + has_holder = no + } + year = 1000 + } + allow = { + war = no + NOT = { trait = incapable } + completely_controls = d_porto + prestige = 1000 + wealth = 100 + } + effect = { + wealth = -100 + prestige = 500 + k_portugal = { + grant_title = ROOT + copy_title_laws = d_porto + } + d_porto = { + de_jure_liege = k_portugal + } + if = { + limit = { completely_controls = d_beja } + d_beja = { + de_jure_liege = k_portugal + } + } + if = { + limit = { + has_landed_title = c_porto + NOT = { capital_scope = { province_id = 158 } } + + } + c_porto = { ROOT = { capital = PREV } } + } + if = { + limit = { has_nickname = no } + give_nickname = nick_the_great + } + hidden_tooltip = { + any_playable_ruler = { + limit = { + ai = no + capital_scope = { + region = world_europe_west_iberia + } + } + character_event = { id = 62925 } + } + } + hidden_tooltip = { character_event = { id = 62924 } } + } + ai_will_do = { + factor = 1 + } + } + + create_aragon = { + only_independent = yes + is_high_prio = yes + + potential = { + is_playable = yes + has_landed_title = d_aragon + independent = yes + NOT = { tier = KING } + k_aragon = { + has_holder = no + } + year = 1000 + } + allow = { + war = no + NOT = { trait = incapable } + completely_controls = d_aragon + prestige = 1000 + wealth = 100 + } + effect = { + wealth = -100 + prestige = 500 + k_aragon = { + grant_title = ROOT + copy_title_laws = d_aragon + } + d_aragon = { + de_jure_liege = k_aragon + } + if = { + limit = { completely_controls = d_barcelona } + d_barcelona = { + de_jure_liege = k_aragon + } + } + hidden_tooltip = { + any_playable_ruler = { + limit = { + ai = no + capital_scope = { + region = world_europe_west_iberia + } + } + character_event = { id = 62927 } + } + } + hidden_tooltip = { character_event = { id = 62926 } } + } + ai_will_do = { + factor = 1 + } + } + + restore_priesthood = { + only_independent = yes + is_high_prio = yes + + potential = { + has_dlc = "The Old Gods" + is_playable = yes + religion = zoroastrian + NOT = { has_global_flag = zoroastrian_priesthood_founded } + } + allow = { + has_landed_title = e_persia + piety = 300 + } + effect = { + set_global_flag = zoroastrian_priesthood_founded + piety = -300 + activate_title = { title = d_zoroastrian status = yes } + hidden_tooltip = { + create_random_priest = { + random_traits = yes + religion = zoroastrian + culture = persian + dynasty = random + female = no + age = 41 + } + new_character = { + d_zoroastrian = { + grant_title = PREV + } + narrative_event = { id = TOG.6004 days = 2 } + } + } + d_zoroastrian = { + holder_scope = { + e_persia = { + holder_scope = { + set_defacto_vassal = PREVPREV + } + } + } + } + } + ai_will_do = { + factor = 1 + } + } + + build_third_temple = { + only_playable = yes + is_high_prio = yes + + potential = { + has_dlc = "Sons of Abraham" + is_playable = yes + religion_group = jewish_group + NOT = { has_global_flag = third_temple_built } + NOT = { has_global_flag = building_third_temple } + } + allow = { + completely_controls = c_jerusalem + 774 = { + religion = ROOT + } + wealth = 1500 + piety = 1500 + } + effect = { + hidden_tooltip = { + character_event = { id = SoA.100 } + 774 = { province_event = { id = SoA.10199 days = 1460 random = 50 } } + } + set_global_flag = building_third_temple + wealth = -1500 + prestige = 500 + piety = 500 + } + ai_will_do = { + factor = 1 + } + } + + restore_high_priesthood = { + only_playable = yes + is_high_prio = yes + + potential = { + has_dlc = "Sons of Abraham" + is_playable = yes + religion = jewish + has_landed_title = k_israel + has_global_flag = third_temple_built + NOT = { has_global_flag = jewish_priesthood_founded } + } + allow = { + completely_controls = c_jerusalem + 774 = { + religion = jewish + } + piety = 1000 + } + effect = { + set_global_flag = jewish_priesthood_founded + activate_title = { title = d_jewish status = yes } + hidden_tooltip = { + create_random_priest = { + random_traits = yes + religion = ROOT + culture = ROOT + dynasty = random + female = no + age = 41 + } + new_character = { + d_jewish = { + grant_title = PREV + } + narrative_event = { id = SoA.550 } + } + } + d_jewish = { + holder_scope = { + k_israel = { + holder_scope = { + set_defacto_vassal = PREVPREV + } + } + } + } + } + ai_will_do = { + factor = 1 + } + } + + create_israel = { + only_playable = yes + is_high_prio = yes + + potential = { + has_dlc = "Sons of Abraham" + is_playable = yes + religion_group = jewish_group + k_israel = { + has_holder = no + } + } + allow = { + completely_controls = d_jerusalem + completely_controls = d_ascalon + completely_controls = d_galilee + completely_controls = d_oultrejourdain + 774 = { + religion = ROOT + } + piety = 500 + prestige = 500 + } + effect = { + narrative_event = { id = SoA.102 tooltip = EVTTOOLTIP_SoA_102 } + prestige = 1000 + } + ai_will_do = { + factor = 1 + } + } + + welcome_jews = { + only_playable = yes + + potential = { + #has_dlc = "Sons of Abraham" + is_playable = yes + NOR = { + religion_group = jewish_group + has_character_modifier = expelled_jews_timer + } + has_character_modifier = expelled_jewish + } + allow = { + has_character_modifier = expelled_jewish + } + effect = { + scaled_wealth = -1 + prestige = 50 + remove_character_modifier = expelled_jewish + if = { + limit = { + NOT = { trait = zealous } + NOT = { trait = sympathy_judaism } + } + random = { + chance = 50 + add_trait = sympathy_judaism + } + } + custom_tooltip = { + text = jews_are_welcome + } + hidden_tooltip = { + character_event = { id = SoA.106 } + } + } + ai_will_do = { + factor = 1 + + modifier = { + factor = 0.1 # Less likely to do it + } + modifier = { + factor = 0 + trait = zealous + } + } + } + + expel_jews = { + only_independent = yes + + potential = { + has_dlc = "Sons of Abraham" + is_playable = yes + OR = { + AND = { + independent = yes + primary_title = { higher_tier_than = DUKE } + } + ai = no # So that it shows on player's list anyway + } + OR = { + religion_group = christian + religion_group = muslim + religion_group = zoroastrian_group + } + NOR = { + religion_group = jewish_group + has_character_modifier = expelled_jewish + is_nomadic = yes + secret_religion = jewish + secret_religion = samaritan + secret_religion = karaite + } + age = 16 + } + allow = { + independent = yes + primary_title = { higher_tier_than = DUKE } + OR = { + religion_group = christian + religion_group = muslim + religion_group = zoroastrian_group + } + NOT = { any_realm_province = { religion_group = jewish_group } } + prisoner = no + NOT = { trait = incapable } + } + effect = { + prestige = -100 + scaled_wealth = 2 + banish_religion = jewish + if = { + limit = { trait = sympathy_judaism } + remove_trait = sympathy_judaism + } + if = { + limit = { + NOT = { trait = arbitrary } + has_character_modifier = borrowed_from_jews + } + add_trait = arbitrary + } + if = { + limit = { has_character_modifier = borrowed_from_jews } + remove_character_modifier = borrowed_from_jews + } + add_character_modifier = { + name = expelled_jewish + duration = -1 + inherit = yes + } + custom_tooltip = { + text = jews_are_expelled + } + hidden_tooltip = { + character_event = { id = SoA.105 } + add_character_modifier = { + name = expelled_jews_timer + duration = 7300 + hidden = yes + } + } + any_friend = { + limit = { religion_group = jewish_group } + remove_friend = ROOT + } + } + ai_will_do = { + factor = 1 + + modifier = { + factor = 0.001 # Less likely to do it + } + modifier = { + factor = 0 + any_courtier = { + religion_group = jewish_group + reverse_opinion = { who = ROOT value = 20 } + } + } + modifier = { + factor = 0 + any_friend = { + religion_group = jewish_group + } + } + modifier = { + factor = 0 + any_spouse = { + religion_group = jewish_group + } + } + modifier = { + factor = 0 + any_child = { + religion_group = jewish_group + } + } + modifier = { + factor = 0 + trait = kind + } + modifier = { + factor = 0 + trait = just + has_character_modifier = borrowed_from_jews + } + modifier = { + factor = 1.2 + trait = zealous + trait = arbitrary + } + modifier = { + factor = 2 + has_character_modifier = borrowed_from_jews + trait = greedy + } + } + } + + become_samrat_chakravartin = { + only_independent = yes + + is_high_prio = yes + potential = { + has_dlc = "Rajas of India" + is_playable = yes + is_feudal = yes + religion_group = indian_group + primary_title = { + higher_tier_than = DUKE + } + capital_scope = { + region = world_india + } + e_india = { + has_holder = no + } + } + allow = { + independent = yes + is_adult = yes + prisoner = no + NOT = { trait = incapable } + war = no + prestige = 1000 + wealth = 500 + OR = { + has_landed_title = e_rajastan + e_rajastan = { has_holder = no } + } + OR = { + has_landed_title = e_bengal + e_bengal = { has_holder = no } + } + OR = { + has_landed_title = e_deccan + e_deccan = { has_holder = no } + } + completely_controls_region = world_india + } + effect = { + wealth = -500 + prestige = 500 + activate_title = { title = e_india status = yes } + hidden_tooltip = { + any_title = { + limit = { + tier = KING + region = world_india + } + de_jure_liege = e_india + } + } + primary_title = { + e_india = { + grant_title = ROOT + copy_title_laws = PREV + copy_title_history = PREV + } + } + hidden_tooltip = { e_india = { make_primary_title = yes } } + if = { + limit = { + OR = { + has_landed_title = e_rajastan + e_rajastan = { has_holder = no } + } + } + e_rajastan = { destroy_landed_title = THIS } + activate_title = { title = e_rajastan status = no } + } + if = { + limit = { + OR = { + has_landed_title = e_bengal + e_bengal = { has_holder = no } + } + } + e_bengal = { destroy_landed_title = THIS } + activate_title = { title = e_bengal status = no } + } + if = { + limit = { + OR = { + has_landed_title = e_deccan + e_deccan = { has_holder = no } + } + } + e_deccan = { destroy_landed_title = THIS } + activate_title = { title = e_deccan status = no } + } + if = { + limit = { has_nickname = no } + give_nickname = nick_the_magnificent + } + if = { + limit = { ai = no } + set_character_flag = achievement_my_very_own_subcontinent + } + chronicle = { + entry = CHRONICLE_UNITED_INDIA + picture = GFX_evt_throne_room + } + } + revoke_allowed = { + always = no + } + ai_will_do = { + factor = 1 + } + } + + form_the_hre = { + only_independent = yes + is_high_prio = yes + + potential = { + is_playable = yes + has_global_flag = charlemagne_hre + independent = yes + OR = { + religion = catholic + religion = fraticelli + } + OR = { + culture = german + culture = dutch + } + e_hre = { + has_holder = no + } + e_france = { + has_holder = no + } + } + allow = { + is_adult = yes + prisoner = no + NOT = { trait = incapable } + prestige = 1000 + realm_size = 180 + has_landed_title = k_germany + any_demesne_title = { + tier = KING + NOT = { + title = k_germany + } + } + scaled_wealth = 2 + } + effect = { + scaled_wealth = -2 + if = { + limit = { has_nickname = no } + give_nickname = nick_the_great + } + primary_title = { + e_hre = { + grant_title = ROOT + copy_title_laws = PREV + add_law = succ_feudal_elective + } + } + any_demesne_title = { + limit = { + tier = KING + NOT = { + title = k_germany + } + } + destroy_landed_title = THIS + } + } + revoke_allowed = { + always = no + } + ai_will_do = { + factor = 1 + } + } + + form_the_hre_early = { + only_independent = yes + is_high_prio = yes + + potential = { + is_playable = yes + NOT = { has_global_flag = charlemagne_hre } + NOT = { has_global_flag = rome_restored } + independent = yes + OR = { + religion = catholic + religion = fraticelli + } + NOT = { has_landed_title = e_byzantium } + } + allow = { + is_adult = yes + prisoner = no + NOT = { trait = incapable } + prestige = 1000 + realm_size = 220 + custom_tooltip = { + text = form_the_hre_early_tooltip_1 + hidden_tooltip = { + OR = { + has_landed_title = k_italy + has_landed_title = e_italy + } + } + } + custom_tooltip = { + text = form_the_hre_early_tooltip_2 + hidden_tooltip = { + any_demesne_title = { + OR = { + title = e_france + title = e_germany + title = e_britannia + title = e_spain + AND = { + tier = KING + NOT = { title = k_italy } + OR = { + empire = { title = e_france } + empire = { title = e_germany } + empire = { title = e_britannia } + empire = { title = e_spain } + } + } + } + } + } + } + custom_tooltip = { + text = form_the_hre_early_tooltip_3 + hidden_tooltip = { + OR = { + has_landed_title = e_italy + e_italy = { has_holder = no } + e_italy = { holder_scope = { NOT = { religion_group = christian } } } + } + OR = { + has_landed_title = e_germany + e_germany = { has_holder = no } + e_germany = { holder_scope = { NOT = { religion_group = christian } } } + } + OR = { + has_landed_title = e_france + e_france = { has_holder = no } + e_france = { holder_scope = { NOT = { religion_group = christian } } } + } + OR = { + has_landed_title = e_spain + e_spain = { has_holder = no } + e_spain = { holder_scope = { NOT = { religion_group = christian } } } + } + OR = { + has_landed_title = e_britannia + e_britannia = { has_holder = no } + e_britannia = { holder_scope = { NOT = { religion_group = christian } } } + } + } + } + OR = { + ai = yes + AND = { + religion_head = { + opinion = { who = ROOT value = 25 } + } + scaled_wealth = 2 + } + } + } + effect = { + set_global_flag = charlemagne_hre + activate_title = { title = e_hre status = yes } + scaled_wealth = -2 + if = { + limit = { has_nickname = no } + give_nickname = nick_the_great + } + any_demesne_title = { + limit = { tier = KING } + de_jure_liege = e_hre + } + hidden_tooltip = { + primary_title = { + if = { + limit = { tier = EMPEROR } + any_direct_de_jure_vassal_title = { + de_jure_liege = e_hre + } + } + } + } + primary_title = { + e_hre = { + grant_title = ROOT + copy_title_laws = PREV + set_coa = PREV + } + } + any_demesne_title = { + limit = { + tier = EMPEROR + NOT = { title = e_hre } + } + destroy_landed_title = THIS + hidden_tooltip = { activate_title = { title = THIS status = no } } + } +# any_demesne_title = { +# limit = { tier = KING } +# destroy_landed_title = THIS +# } + # Give lands to the Pope + if = { + limit = { + any_realm_title = { + title = c_roma + holder_scope = { + OR = { + ai = yes + any_demesne_title = { + tier = COUNT + NOT = { title = c_roma } + } + } + } + } + } + c_roma = { + ROOT = { + religion_head = { + grant_title = PREVPREV + } + } + } + } + if = { + limit = { + any_realm_title = { + title = c_ravenna + holder_scope = { + OR = { + ai = yes + any_demesne_title = { + tier = COUNT + NOT = { title = c_ravenna } + } + } + } + } + } + c_ravenna = { + ROOT = { + religion_head = { + grant_title = PREVPREV + } + } + } + } + if = { + limit = { + any_realm_title = { + title = c_ferrara + holder_scope = { + OR = { + ai = yes + any_demesne_title = { + tier = COUNT + NOT = { title = c_ferrara } + } + } + } + } + } + c_ferrara = { + ROOT = { + religion_head = { + grant_title = PREVPREV + } + } + } + } + if = { + limit = { + any_realm_title = { + title = c_urbino + holder_scope = { + OR = { + ai = yes + any_demesne_title = { + tier = COUNT + NOT = { title = c_urbino } + } + } + } + } + } + c_urbino = { + ROOT = { + religion_head = { + grant_title = PREVPREV + } + } + } + } + if = { + limit = { + any_realm_title = { + title = c_spoleto + holder_scope = { + OR = { + ai = yes + any_demesne_title = { + tier = COUNT + NOT = { title = c_spoleto } + } + } + } + } + } + c_spoleto = { + ROOT = { + religion_head = { + grant_title = PREVPREV + } + } + } + } + e_byzantium = { + holder_scope = { + opinion = { + who = ROOT + modifier = opinion_unhappy + months = 1200 + } + hidden_tooltip = { + k_papal_state = { + holder_scope = { + reverse_opinion = { + who = PREVPREV + modifier = opinion_unhappy + months = 1200 + } + } + } + } + } + } + if = { + limit = { + OR = { + NOT = { has_character_flag = is_charlemagne } + has_character_flag = charlemagne_coronation + } + } + hidden_tooltip = { narrative_event = { id = CM.510 } } # Spread the news + } + if = { + limit = { + has_character_flag = is_charlemagne + NOT = { has_character_flag = charlemagne_coronation } + } + hidden_tooltip = { narrative_event = { id = CM.1500 } } # Charlemagne coronation + } + if = { + limit = { ai = no } + set_character_flag = achievement_holy_and_roman + } + chronicle = { + entry = CHRONICLE_FOUNDED_HRE + picture = GFX_evt_coronation + } + } + revoke_allowed = { + always = no + } + ai_will_do = { + factor = 1 + } + } + + form_new_kingdom = { + only_independent = yes + is_high_prio = yes + + potential = { + is_playable = yes + tier = DUKE + NOT = { tier = KING } + + has_dlc = "Charlemagne" + + holy_order = no + + NOT = { + has_game_rule = { + name = dynamic_realms + value = off + } + } + + OR = { + ai = no + AND = { + trait = proud + prestige = 5000 + } + AND = { + trait = ambitious + prestige = 5000 + } + AND = { + realm_size = 70 + any_demesne_title = { + count = 4 + tier = DUKE + } + } + prestige = 15000 + } + } + allow = { + is_adult = yes + prisoner = no + NOT = { trait = incapable } + independent = yes + prestige = 1000 + OR = { + realm_size = 35 + custom_tooltip = { + text = form_new_kingdom_requirement_tooltip + hidden_tooltip = { + any_demesne_title = { + count = 3 + tier = DUKE + } + } + } + } + wealth = 300 + } + effect = { + primary_title = { + create_title = { + tier = KING + landless = no + temporary = no + custom_created = yes + culture = ROOT + holder = ROOT + base_title = THIS + copy_title_laws = yes + } + + hidden_tooltip = { + empire = { + ROOT = { + primary_title = { + de_jure_liege = PREVPREV + } + } + } + + ROOT = { + primary_title = { + holder_scope = { + any_title_under = { + limit = { + tier = DUKE + kingdom = { + has_holder = no + } + } + de_jure_liege = PREVPREV + } + any_title_under = { + limit = { + tier = COUNT + location = { + duchy = { + kingdom = { + has_holder = no + } + + NOT = { de_jure_liege_or_above = PREVPREVPREVPREV } + ROOT = { + completely_controls = PREV + } + } + } + } + location = { + duchy = { + de_jure_liege = PREVPREVPREVPREV + } + } + } + } + } + } + } + + } + wealth = -300 + custom_tooltip = { text = form_new_kingdom_tooltip } + chronicle = { + entry = CHRONICLE_FOUNDED_NEW_KINGDOM_OR_EMPIRE + portrait = [Root.GetID] + } + } + revoke_allowed = { + always = no + } + ai_will_do = { + factor = 1 + } + } + + form_new_empire = { + only_independent = yes + is_high_prio = yes + + potential = { + is_playable = yes + tier = KING + is_nomadic = no + has_dlc = "Charlemagne" + + holy_order = no + + NOT = { tier = EMPEROR } + OR = { + ai = no + AND = { + trait = proud + prestige = 40000 + } + AND = { + trait = ambitious + prestige = 40000 + } + prestige = 120000 + } + + NOT = { + has_game_rule = { + name = dynamic_realms + value = off + } + } + } + allow = { + is_adult = yes + prisoner = no + NOT = { trait = incapable } + independent = yes + prestige = 8000 + OR = { + realm_size = 180 + custom_tooltip = { + text = form_new_empire_requirement_tooltip + hidden_tooltip = { + any_demesne_title = { + count = 3 + tier = KING + } + } + } + } + wealth = 1000 + } + effect = { + primary_title = { + create_title = { + tier = EMPEROR + landless = no + temporary = no + custom_created = yes + culture = ROOT + holder = ROOT + base_title = THIS + copy_title_laws = yes + } + + hidden_tooltip = { + ROOT = { + primary_title = { + holder_scope = { + any_title_under = { + limit = { + tier = KING + empire = { + has_holder = no + } + } + de_jure_liege = PREVPREV + } + any_title_under = { + limit = { + tier = DUKE + location = { + kingdom = { + empire = { + has_holder = no + } + + NOT = { de_jure_liege_or_above = PREVPREVPREVPREV } + ROOT = { + completely_controls = PREV + } + } + } + } + location = { + kingdom = { + de_jure_liege = PREVPREVPREVPREV + } + } + } + } + } + } + } + } + wealth = -1000 + custom_tooltip = { text = form_new_empire_tooltip } + chronicle = { + entry = CHRONICLE_FOUNDED_NEW_KINGDOM_OR_EMPIRE + portrait = [Root.GetID] + } + } + revoke_allowed = { + always = no + } + ai_will_do = { + factor = 1 + } + } + + # Hold Wargames - for nomads + hold_nomad_wargames = { + only_playable = yes + + potential = { + is_playable = yes + is_nomadic = yes + NOT = { has_character_modifier = holding_nomad_wargames } + NOT = { has_character_modifier = held_nomad_wargames } + } + allow = { + is_adult = yes + prisoner = no + NOT = { trait = incapable } + NOT = { is_inaccessible_trigger = yes } + war = no + any_demesne_title = { + NOT = { higher_tier_than = count } + is_occupied = no + } + wealth = 20 + prestige = 100 + custom_tooltip = { + text = is_not_busy_trigger_tooltip + hidden_tooltip = { NOT = { has_character_flag = do_not_disturb } } + } + } + effect = { + wealth = -30 + add_character_modifier = { + name = holding_nomad_wargames + duration = -1 + } + set_character_flag = recent_minor_decision + set_character_flag = do_not_disturb + hidden_tooltip = { character_event = { id = HL.7000 } } + } + revoke_allowed = { + always = no + } + ai_will_do = { + factor = 0.1 + modifier = { + factor = 0 + NOT = { + wealth = 200 + } + } + modifier = { + factor = 2 + current_heir = { + dynasty = ROOT + combat_rating = 8 + } + } + modifier = { + factor = 0.5 + NOT = { martial = 10 } + } + modifier = { + factor = 0 + has_character_flag = recent_minor_decision + NOT = { + had_character_flag = { + flag = recent_minor_decision + days = 730 + } + } + } + } + } + + convert_to_feudalism_indep = { + only_independent = yes + is_high_prio = yes + + potential = { + is_playable = yes + is_tribal = yes + independent = yes + } + allow = { + war = no + custom_tooltip = { + text = TT_NOT_UNREFORMED_PAGAN + hidden_tooltip = { + OR = { + NOT = { religion_group = pagan_group } + is_reformed_religion = yes + } + } + } + primary_title = { has_law = tribal_organization_4 } + capital_holding = { + OR = { + AND = { + holding_type = tribal + has_building = tb_hillfort_4 + } + holding_type = castle + } + } + } + + effect = { + if = { + limit = { ai = no } + set_character_flag = achievement_not_a_tribe + } + + if = { + limit = { + NOT = { religion_group = muslim } + } + + if = { + limit = { + ai = no + } + chronicle = { + entry = CHRONICLE_ADOPTED_FEUDALISM + picture = GFX_evt_castle_construction + } + } + set_government_type = feudal_government + } + + if = { + limit = { + religion_group = muslim + } + + if = { + limit = { + ai = no + } + chronicle = { + entry = CHRONICLE_ADOPTED_IQTA + picture = GFX_evt_castle_construction + } + } + set_government_type = muslim_government + } + + if = { + limit = { + higher_tier_than = king + } + primary_title = { + add_law = feudal_administration + } + } + + hidden_tooltip = { + any_demesne_title = { + limit = { + tier = baron + holding_type = tribal + } + convert_to = CASTLE + refill_holding_levy = yes + + if = { + limit = { + dejure_liege_title = { + holder = ROOT + location = { + num_of_empty_holdings = 2 + } + NOT = { + any_direct_de_jure_vassal_title = { + holding_type = city + } + } + } + } + location = { + build_holding = { + type = city + } + } + } + if = { + limit = { + dejure_liege_title = { + holder = ROOT + location = { + num_of_empty_holdings = 2 + } + NOT = { + any_direct_de_jure_vassal_title = { + holding_type = temple + } + } + } + } + location = { + build_holding ={ + type = temple + } + } + } + } + } + } + + ai_will_do = { + factor = 1 + } + } + + convert_to_feudalism_vassal = { + only_rulers = yes + is_high_prio = yes + + potential = { + is_ruler = yes + is_tribal = yes + independent = no + } + allow = { + war = no + custom_tooltip = { + text = TT_NOT_UNREFORMED_PAGAN + hidden_tooltip = { + OR = { + NOT = { religion_group = pagan_group } + is_reformed_religion = yes + } + } + } + liege = { + OR = { + is_feudal = yes + is_republic = yes + AND = { + is_theocracy = yes + custom_tooltip = { + text = TT_NOT_UNREFORMED_PAGAN + hidden_tooltip = { + OR = { + NOT = { religion_group = pagan_group } + is_reformed_religion = yes + } + } + } + } + } + } + capital_holding = { + OR = { + AND = { + holding_type = tribal + has_building = tb_hillfort_4 + } + holding_type = castle + } + } + } + + effect = { + set_character_flag = achievement_not_a_tribe + + if = { + limit = { + NOT = { religion_group = muslim } + } + + if = { + limit = { + ai = no + } + chronicle = { + entry = CHRONICLE_ADOPTED_FEUDALISM + picture = GFX_evt_castle_construction + } + } + set_government_type = feudal_government + } + + if = { + limit = { + religion_group = muslim + } + + if = { + limit = { + ai = no + } + chronicle = { + entry = CHRONICLE_ADOPTED_IQTA + picture = GFX_evt_castle_construction + } + } + set_government_type = muslim_government + } + + hidden_tooltip = { + any_demesne_title = { + limit = { + tier = baron + holding_type = tribal + } + convert_to = CASTLE + refill_holding_levy = yes + + if = { + limit = { + dejure_liege_title = { + holder = ROOT + location = { + num_of_empty_holdings = 2 + } + NOT = { + any_direct_de_jure_vassal_title = { + holding_type = city + } + } + } + } + location = { + build_holding = { + type = city + } + } + } + if = { + limit = { + dejure_liege_title = { + holder = ROOT + location = { + num_of_empty_holdings = 2 + } + NOT = { + any_direct_de_jure_vassal_title = { + holding_type = temple + } + } + } + } + location = { + build_holding = { + type = temple + } + } + } + } + + liege = { + character_event = { id = 55100 } # Notify Liege + } + } + } + + ai_will_do = { + factor = 1 + modifier = { + factor = 0.001 + liege = { + OR = { + NOT = { religion_group = ROOT } + AND = { + religion_group = pagan_group + NOT = { religion = ROOT } + } + } + } + } + modifier = { + factor = 0.01 + liege = { + NOT = { culture_group = ROOT } + } + } + + modifier = { + factor = 0.01 + liege = { + religion_group = ROOT + NOT = { religion_group = pagan_group } + NOT = { religion = ROOT } + } + } + modifier = { + factor = 0.1 + liege = { + culture_group = ROOT + NOT = { culture = ROOT } + } + } + } + } + + convert_to_republic_indep = { + only_independent = yes + is_high_prio = yes + + potential = { + is_playable = yes + is_tribal = yes + independent = yes + has_dlc = "The Republic" + } + allow = { + war = no + is_female = no + higher_tier_than = COUNT + custom_tooltip = { + text = TT_NOT_UNREFORMED_PAGAN + hidden_tooltip = { + OR = { + NOT = { religion_group = pagan_group } + is_reformed_religion = yes + } + } + } + primary_title = { has_law = tribal_organization_4 } + capital_scope = { + port = yes + } + capital_holding = { + OR = { + AND = { + holding_type = tribal + has_building = tb_market_town_4 + } + holding_type = city + } + } + } + + effect = { + hidden_tooltip = { + create_family_palace = yes + + set_government_type = merchant_republic_government + + if = { + limit = { + NOT = { + num_of_government_vassals = { + government = merchant_republic_government + value = 1 + } + } + } + + any_unique_dynasty_vassal = { # gives random vassals a family palace + count = 4 + limit = { + is_female = no + OR = { + is_republic = yes + is_tribal = yes + } + is_patrician = no + prisoner = no + NOT = { trait = incapable } + is_adult = yes + NOT = { + dynasty = none + } + } + + if = { + limit = { is_tribal = yes } + + hidden_tooltip = { + any_demesne_title = { + limit = { + tier = baron + holding_type = tribal + } + convert_to = CITY + refill_holding_levy = yes + + if = { + limit = { + dejure_liege_title = { + holder = PREVPREV + location = { + num_of_empty_holdings = 2 + } + NOT = { + any_direct_de_jure_vassal_title = { + holding_type = castle + } + } + } + } + location = { + build_holding = { + type = castle + } + } + } + if = { + limit = { + dejure_liege_title = { + holder = PREVPREV + location = { + num_of_empty_holdings = 2 + } + NOT = { + any_direct_de_jure_vassal_title = { + holding_type = temple + } + } + } + } + location = { + build_holding = { + type = temple + } + } + } + } + } + } + + create_family_palace = yes + } + } + + any_demesne_title = { + limit = { + tier = baron + holding_type = tribal + } + convert_to = CITY + refill_holding_levy = yes + + if = { + limit = { + dejure_liege_title = { + holder = ROOT + location = { + num_of_empty_holdings = 2 + } + NOT = { + any_direct_de_jure_vassal_title = { + holding_type = castle + } + } + } + } + location = { + build_holding = { + type = castle + } + } + } + if = { + limit = { + dejure_liege_title = { + holder = ROOT + location = { + num_of_empty_holdings = 2 + } + NOT = { + any_direct_de_jure_vassal_title = { + holding_type = temple + } + } + } + } + location = { + build_holding ={ + type = temple + } + } + } + } + } + + if = { + limit = { ai = no } + set_character_flag = achievement_res_publica + } + + if = { + limit = { + ai = no + } + chronicle = { + entry = CHRONICLE_FOUNDED_MERCHANT_REPUBLIC + picture = GFX_evt_busy_trading_dock_republic + } + } + + set_government_type = merchant_republic_government + } + + ai_will_do = { + factor = 0 + } + } +} + +targetted_decisions = { + embrace_mutazila = { + only_playable = yes + + filter = self + ai_target_filter = self + + potential = { + has_dlc = "Sons of Abraham" + is_playable = yes + religion = sunni + NOT = { + OR = { + trait = mutazilite + trait = ashari + } + } + is_adult = yes + prisoner = no + } + + allow = { + piety = 50 + } + + effect = { + add_trait = mutazilite + character_event = { id = SoA.600 tooltip = EVTTOOLTIP_SoA_600 } + } + + revoke_allowed = { + always = no + } + + ai_will_do = { + factor = 1 + + modifier = { + factor = 0 + trait = zealous + } + modifier = { + factor = 1.2 + trait = cynical + } + modifier = { + factor = 1.2 + liege = { trait = mutazilite } + } + modifier = { + factor = 0.005 # Slow it down + } + } + } + embrace_ashari = { + only_playable = yes + + filter = self + ai_target_filter = self + + potential = { + has_dlc = "Sons of Abraham" + is_playable = yes + religion = sunni + NOT = { + OR = { + trait = mutazilite + trait = ashari + } + } + is_adult = yes + prisoner = no + } + + allow = { + piety = 50 + } + + effect = { + add_trait = ashari + character_event = { id = SoA.601 tooltip = EVTTOOLTIP_SoA_601 } + } + + revoke_allowed = { + always = no + } + + ai_will_do = { + factor = 1 + + modifier = { + factor = 0 + trait = cynical + } + modifier = { + factor = 1.2 + trait = zealous + } + modifier = { + factor = 1.2 + liege = { trait = ashari } + } + modifier = { + factor = 1.2 + decadence = 40 + } + modifier = { + factor = 1.2 + decadence = 60 + } + modifier = { + factor = 1.2 + decadence = 80 + } + modifier = { + factor = 0.005 # Slow it down + } + } + } +} + diff --git a/LCDA/decisions/religious_decisions.txt b/LCDA/decisions/religious_decisions.txt new file mode 100644 index 0000000..324e319 --- /dev/null +++ b/LCDA/decisions/religious_decisions.txt @@ -0,0 +1,343 @@ +########################################### +# +# Religious Decisions for Sons of Abraham +# +########################################### +# Written by Henrik Fåhraeus +########################################### + +decisions = { + + create_fraticelli_papacy = { + only_playable = yes + + is_high_prio = yes + + potential = { + is_playable = yes + religion = fraticelli + NOT = { is_title_active = d_fraticelli } + has_dlc = "Sons of Abraham" + } + + allow = { + piety = 1000 + OR = { + owns = 333 # Rome + any_realm_lord = { + owns = 333 + } + } + } + + effect = { + activate_title = { title = d_fraticelli status = yes } + hidden_tooltip = { + create_random_priest = { + dynasty = none + random_traits = yes + } + new_character = { + d_fraticelli = { + grant_title = PREV + } + wealth = 500 + opinion = { + who = ROOT + modifier = opinion_creator_of_rel_heal + } + } + + religion_authority = { + modifier = papacy_instituted + years = 20 + } + } + hidden_effect = { + character_event = { id = 39703 } + } + piety = 1000 + } + + revoke_allowed = { + always = no + } + + ai_will_do = { + factor = 1 + } + } + + create_iconoclast_patriarchy = { + only_playable = yes + + is_high_prio = yes + + potential = { + is_playable = yes + religion = iconoclast + NOT = { is_title_active = d_iconoclast } + has_dlc = "Sons of Abraham" + } + + allow = { + piety = 1000 + OR = { + owns = 496 # Constantinople + any_realm_lord = { + owns = 496 + } + } + } + + effect = { + activate_title = { title = d_iconoclast status = yes } + hidden_tooltip = { + create_random_priest = { + dynasty = none + random_traits = yes + } + new_character = { + d_iconoclast = { + grant_title = PREV + } + wealth = 500 + opinion = { + who = ROOT + modifier = opinion_creator_of_rel_heal + } + } + + religion_authority = { + modifier = patriarchy_instituted + years = 20 + } + } + hidden_effect = { + long_character_event = { id = 39704 } + } + piety = 1000 + } + + revoke_allowed = { + always = no + } + + ai_will_do = { + factor = 1 + } + } + + restore_pope_in_rome = { + only_independent = yes + is_high_prio = yes + + potential = { + is_playable = yes + independent = yes + has_dlc = "Sons of Abraham" + + OR = { + religion = catholic + AND = { + religion = fraticelli + is_title_active = d_fraticelli + } + } + + controls_religion = no + + c_roma = { + holder_scope = { + OR = { + character = ROOT + is_liege_or_above = ROOT + } + OR = { + AND = { + ROOT = { religion = catholic } + k_papal_state = { + holder_scope = { + NOT = { character = PREVPREV } + NOT = { is_vassal_or_below = PREVPREV } + } + } + } + AND = { + ROOT = { religion = fraticelli } + d_fraticelli = { + holder_scope = { + NOT = { character = PREVPREV } + NOT = { is_vassal_or_below = PREVPREV } + } + } + } + } + } + } + } + + effect = { + if = { + limit = { + religion = catholic + } + k_papal_state = { + holder_scope = { + c_roma = { + grant_title = PREV + any_de_jure_vassal_title = { + limit = { + holder_scope = { + OR = { + character = ROOT + is_liege_or_above = ROOT + } + } + } + grant_title = PREVPREV + } + } + } + } + } + if = { + limit = { + religion = catholic + NOT = { has_character_flag = restored_catholic_pope_in_rome } + } + k_papal_state = { + holder_scope = { + opinion = { + who = ROOT + modifier = opinion_restored_to_rome + } + } + } + piety = 1000 + set_character_flag = restored_catholic_pope_in_rome + } + + if = { + limit = { + religion = fraticelli + } + d_fraticelli = { + holder_scope = { + c_roma = { + grant_title = PREV + any_de_jure_vassal_title = { + limit = { + holder_scope = { + OR = { + character = ROOT + is_liege_or_above = ROOT + } + } + } + grant_title = PREVPREV + } + } + } + } + } + if = { + limit = { + religion = fraticelli + NOT = { has_character_flag = restored_fraticelli_pope_in_rome } + } + piety = 1000 + set_character_flag = restored_fraticelli_pope_in_rome + } + hidden_effect = { + character_event = { id = 39705 } + set_character_flag = testflagrome + } + } + + revoke_allowed = { + always = no + } + + ai_will_do = { + factor = 1 + modifier = { + factor = 0 + NOT = { + any_demesne_province = { + NOT = { province_id = 333 } + } + } + } + modifier = { + factor = 0 + c_roma = { + holder_scope = { + OR = { + ai = no + any_liege = { ai = no } # AI will never take Rome province away from a player + } + } + } + } + } + } + + restore_ecumenical_patriarchate = { + only_independent = yes + is_high_prio = yes + + potential = { + is_playable = yes + has_dlc = "Sons of Abraham" + religion = orthodox + has_landed_title = c_byzantion + independent = yes + k_orthodox = { + NOT = { + holder_scope = { + religion = orthodox + } + } + } + } + allow = { + piety = 1000 + OR = { + owns = 496 # Constantinople + any_realm_lord = { + owns = 496 + } + } + } + effect = { + piety = -1000 + hidden_tooltip = { + if = { + limit = { + NOT = { is_title_active = k_orthodox } + } + activate_title = { title = k_orthodox status = yes } + } + create_random_priest = { + random_traits = yes + religion = ROOT + female = no + dynasty = none + } + new_character = { + k_orthodox = { + grant_title = PREV + } + b_hagiasophia = { + grant_title = PREV + } + wealth = 500 + } + } + hidden_effect = { + long_character_event = { id = 39706 } + } + } + } +} diff --git a/LCDA/decisions/rip_torture_decisions.txt b/LCDA/decisions/rip_torture_decisions.txt new file mode 100644 index 0000000..9e2c6f5 --- /dev/null +++ b/LCDA/decisions/rip_torture_decisions.txt @@ -0,0 +1,1166 @@ +targetted_decisions = { + prisoner_torture = { + only_playable = yes + filter = court + ai_target_filter = court + + from_potential = { + has_dlc = "Reapers" + is_playable = yes + is_adult = yes + prisoner = no + NOT = { trait = incapable } + } + + potential = { + prisoner = yes + host = { character = FROM } + age = 13 + } + + allow = { + NOT = { diplomatic_immunity = yes } + prisoner = yes + } + + effect = { + hidden_tooltip = { + if = { + limit = { + FROM = { + has_nickname = no + is_adult = yes + NOT = { trait = incapable } + } + } + random_list = { + 5 = { + FROM = { give_nickname = nick_the_cruel } + } + 5 = { + FROM = { give_nickname = nick_the_evil } + } + 5 = { + FROM = { give_nickname = nick_the_tormentor } + } + 5 = { + FROM = { give_nickname = nick_the_depraved } + } + 100 = {} + } + } + } + + hidden_tooltip = { + random_list = { + #Normal torture options + 10 = { + random_list = { + 10 = { + # Racks + FROM = { character_event = { id = RIP.20001 } } + character_event = { id = RIP.20002 } + + } + + 10 = { + # Whipping + FROM = { character_event = { id = RIP.20003 } } + character_event = { id = RIP.20004 } + + } + + 10 = { + # Rats + FROM = { character_event = { id = RIP.20005} } + character_event = { id = RIP.20006 } + } + + 20 = { + # Heat exposure + modifier = { + factor = 0 + NAND = { + month = 3 + NOT = { month = 9 } + + OR = { + capital_scope = { region = world_africa } + capital_scope = { region = world_middle_east } + capital_scope = { region = world_persia } + capital_scope = { region = world_india_rajastan } + } + } + } + FROM = { character_event = { id = RIP.20009 } } + character_event = { id = RIP.20010 } + } + 20 = { + # Cold exposure + modifier = { + factor = 0 + NAND = { + + OR = { + month = 11 + NOT = { month = 2} + } + + OR = { + capital_scope = { region = world_europe_north } + capital_scope = { region = world_steppe_west } + capital_scope = { region = world_steppe_east } + } + } + } + FROM = { character_event = { id = RIP.20011 } } + character_event = { id = RIP.20012 } + } + } + hidden_tooltip = { + + opinion = { + modifier = opinion_tortured_me + who = FROM + } + + mother = { + opinion = { + modifier = opinion_tortured_close_kin + who = FROM + } + } + father = { + opinion = { + modifier = opinion_tortured_close_kin + who = FROM + } + } + spouse = { + opinion = { + modifier = opinion_tortured_close_kin + who = FROM + } + } + any_child = { + opinion = { + modifier = opinion_tortured_close_kin + who = FROM + } + } + if = { + limit = { + FROM = { + NOT = { dynasty = ROOT } + NOT = { sibling = ROOT } + } + } + any_sibling = { + opinion = { + modifier = opinion_tortured_close_kin + who = FROM + } + } + any_dynasty_member = { + opinion = { + modifier = opinion_tortured_family + who = FROM + } + } + } + } + } + + 20 = { + # Lunatic option + modifier = { + factor = 0 + NOT = { FROM = { trait = lunatic } } + } + + FROM = { character_event = { id = RIP.20007 } } + character_event = { id = RIP.20008 } + } + } + } + + tooltip = { + add_character_modifier = { name = tortured years = 2 } + opinion = { + modifier = opinion_tortured_me + who = FROM + } + } + + if = { + limit = { + has_game_rule = { + name = punishment_release_prisoner + value = on + } + } + prisoner = no + } + + FROM = { + save_event_target_as = remove_prison_reason_effect_accuser + ROOT = { save_event_target_as = remove_prison_reason_effect_accused } + hidden_tooltip = { remove_prison_reason_effect = yes } + + if = { + limit = { + NOR = { + trait = cruel + trait = kind + } + } + random = { + chance = 25 + add_trait = cruel + hidden_tooltip = { character_event = { id = 38259 } } + } + } + + if = { + limit = { trait = kind } + random = { + chance = 50 + remove_trait = kind + hidden_tooltip = { + character_event = { id = 38307 } + } + } + hidden_tooltip = { + random_list = { + 30 = { + add_trait = stressed + hidden_tooltip = { character_event = { id = 38282 } } + } + 10 = { + add_trait = depressed + hidden_tooltip = { character_event = { id = 38288 } } + } + 60 = { + #nothing + } + } + } + } + piety = -20 + } + } + + revoke_allowed = { + always = no + } + + ai_will_do = { + factor = 0.01 + + modifier = { + factor = 0 + OR = { + reverse_opinion = { who = FROM value = 40 } + FROM = { NOT = { piety = 100 } } + FROM = { LIEGE = { dynasty = ROOT } } + } + } + modifier = { + factor = 0 + FROM = { + NOR = { + trait = cruel + trait = impaler + trait = wroth + is_rival = ROOT + trait = arbitrary + trait = paranoid + trait = deceitful + trait = proud + trait = lunatic + trait = possessed + } + } + } + modifier = { + factor = 0 + FROM = { + OR = { + trait = kind + trait = just + trait = patient + trait = shy + trait = greedy + } + } + } + modifier = { + factor = 10 + FROM = { + OR = { + trait = cruel + trait = impaler + trait = wroth + is_rival = ROOT + trait = arbitrary + } + } + } + } + } + + prisoner_mutilate = { + only_playable = yes + + filter = court + ai_target_filter = court + + from_potential = { + has_dlc = "Reapers" + is_playable = yes + is_adult = yes + prisoner = no + NOT = { trait = incapable } + AND = { + OR = { + trait = cruel + trait = impaler + trait = wroth + trait = arbitrary + AND = { + trait = envious + trait = ugly + } + } + NOT = { trait = kind } + } + } + + potential = { + host = { character = FROM } + prisoner = yes + age = 13 + + NOT = { + AND = { + trait = one_legged + trait = one_handed + trait = disfigured + OR = { + trait = one_eyed + trait = blinded + } + OR = { + is_female = yes + trait = eunuch + } + } + } + } + + allow = { + NOT = { diplomatic_immunity = yes } + prisoner = yes + } + + effect = { + hidden_tooltip = { + if = { + limit = { + FROM = { + has_nickname = no + is_adult = yes + NOT = { trait = incapable } + } + } + random_list = { + 5 = { + FROM = { give_nickname = nick_the_evil } + } + 5 = { + FROM = { give_nickname = nick_the_tormentor } + } + 5 = { + FROM = { give_nickname = nick_the_butcher } + } + 5 = { + FROM = { give_nickname = nick_the_mutilator } + } + 5 = { + FROM = { give_nickname = nick_the_monster } + } + 5 = { + FROM = { give_nickname = nick_son_of_evilgod } + } + 100 = {} + } + } + } + + hidden_tooltip = { + random_list = { + 10 = { + # One-legged + modifier = { + factor = 0 + trait = one_legged + } + FROM = { character_event = { id = RIP.20013 } } + character_event = { id = RIP.20014 } + } + + 10 = { + # One-handed + modifier = { + factor = 0 + trait = one_handed + } + FROM = { character_event = { id = RIP.20015 } } + character_event = { id = RIP.20016 } + + } + + 10 = { + # One-eyed + modifier = { + factor = 0 + OR = { + trait = one_eyed + trait = blinded + } + } + FROM = { character_event = { id = RIP.20017 } } + character_event = { id = RIP.20018 } + + } + + 10 = { + # Disfigured + modifier = { + factor = 0 + trait = disfigured + } + FROM = { character_event = { id = RIP.20019 } } + character_event = { id = RIP.20020 } + } + + 10 = { + # Castrate + modifier = { + factor = 0 + OR = { + is_female = yes + trait = eunuch + } + } + FROM = { character_event = { id = RIP.20021 } } + character_event = { id = RIP.20022 } + } + } + } + + if = { + limit = { + has_game_rule = { + name = punishment_release_prisoner + value = on + } + } + prisoner = no + } + + opinion = { + modifier = opinion_mutilated_me + who = FROM + } + + FROM = { + piety = -50 + if = { + limit = { NOT = { trait = cruel } } + random = { + chance = 25 + add_trait = cruel + hidden_tooltip = { + character_event = { id = 38259 } + } + } + } + } + + hidden_tooltip = { + mother = { + opinion = { + modifier = opinion_mutilated_close_kin + who = FROM + } + } + father = { + opinion = { + modifier = opinion_mutilated_close_kin + who = FROM + } + } + spouse = { + opinion = { + modifier = opinion_mutilated_close_kin + who = FROM + } + } + any_child = { + opinion = { + modifier = opinion_mutilated_close_kin + who = FROM + } + } + if = { + limit = { + FROM = { + NOT = { dynasty = ROOT } + NOT = { sibling = ROOT } + } + } + any_sibling = { + opinion = { + modifier = opinion_mutilated_close_kin + who = FROM + } + } + any_dynasty_member = { + opinion = { + modifier = opinion_mutilated_family + who = FROM + } + } + } + + FROM = { save_event_target_as = remove_prison_reason_effect_accuser } + ROOT = { save_event_target_as = remove_prison_reason_effect_accused } + hidden_tooltip = { remove_prison_reason_effect = yes } + } + } + revoke_allowed = { + always = no + } + + ai_will_do = { + factor = 0.4 + + modifier = { + factor = 0 + OR = { + reverse_opinion = { who = FROM value = 40 } + FROM = { NOT = { piety = 100 } } + FROM = { LIEGE = { dynasty = ROOT } } + } + } + modifier = { + factor = 0.5 # Less likely to do it + reverse_opinion = { who = FROM value = 0 } + + } + modifier = { + factor = 0 + FROM = { + NOR = { + trait = cruel + trait = impaler + trait = wroth + is_rival = ROOT + trait = arbitrary + } + } + } + } + } + + prisoner_read_poetry = { + only_playable = yes + filter = court + ai_target_filter = court + + from_potential = { + has_dlc = "Reapers" + is_playable = yes + is_adult = yes + prisoner = no + NOT = { trait = incapable } + trait = poet + } + + potential = { + host = { character = FROM } + prisoner = yes + age = 13 + } + + allow = { + NOT = { diplomatic_immunity = yes } + prisoner = yes + } + + effect = { + hidden_tooltip = { + + FROM = { + + random_list = { + 10 = { + # Poem 1 + character_event = { id = RIP.20023 } + ROOT = { character_event = { id = RIP.20024 } } + + } + + 10 = { + # Poem 2 + character_event = { id = RIP.20025 } + ROOT = { character_event = { id = RIP.20026 } } + + } + + 10 = { + # Poem 3 + character_event = { id = RIP.20027 } + ROOT = { character_event = { id = RIP.20028 } } + } + } + } + } + + if = { + limit = { + has_game_rule = { + name = punishment_release_prisoner + value = on + } + } + prisoner = no + } + + opinion = { + modifier = opinion_bad_poetry + who = FROM + } + + FROM = { save_event_target_as = remove_prison_reason_effect_accuser } + ROOT = { save_event_target_as = remove_prison_reason_effect_accused } + hidden_tooltip = { remove_prison_reason_effect = yes } + } + revoke_allowed = { + always = no + } + + ai_will_do = { + factor = 0.01 + + modifier = { + factor = 0 + reverse_opinion = { who = FROM value = 40 } + } + modifier = { + factor = 0.2 # Less likely to do it + } + modifier = { + factor = 5 + FROM = { + OR = { + trait = cruel + trait = envious + is_rival = ROOT + trait = arbitrary + } + } + } + } + } + +#Humiliate + prisoner_humiliation = { + only_playable = yes + filter = court + ai_target_filter = court + + from_potential = { + has_dlc = "Reapers" + is_playable = yes + is_adult = yes + prisoner = no + NOT = { trait = incapable } + } + + potential = { + host = { character = FROM } + prisoner = yes + age = 13 + } + allow = { + NOT = { diplomatic_immunity = yes } + prisoner = yes + } + effect = { + hidden_tooltip = { + FROM = { + random_list = { + # Tar 'n' feathers + 33 = { + modifier = { + factor = 0 + ROOT = { + OR = { + has_character_modifier = incestuous_adulterer + has_character_modifier = incestuous_adulteress + has_character_modifier = adulterer + has_character_modifier = adulteress + has_character_modifier = known_sodomite + has_character_modifier = cradle_robber + has_character_modifier = adulterous_priest + } + } + } + modifier = { + factor = 0 + OR = { + is_nomadic = yes + is_tribal = yes + } + } + + character_event = { id = RIP.15001} + ROOT = { character_event = { id = RIP.15002} } + } + + # Tar 'n' feathers NOMAD + 33 = { + modifier = { + factor = 0 + ROOT = { + OR = { + has_character_modifier = incestuous_adulterer + has_character_modifier = incestuous_adulteress + has_character_modifier = adulterer + has_character_modifier = adulteress + has_character_modifier = known_sodomite + has_character_modifier = cradle_robber + has_character_modifier = adulterous_priest + } + } + } + modifier = { + factor = 0 + NOR = { + is_nomadic = yes + is_tribal = yes + } + } + + character_event = { id = RIP.15007} + ROOT = { character_event = { id = RIP.15008} } + } + + # the Stocks + 33 = { + modifier = { + factor = 0 + ROOT = { + OR = { + has_character_modifier = incestuous_adulterer + has_character_modifier = incestuous_adulteress + has_character_modifier = adulterer + has_character_modifier = adulteress + has_character_modifier = known_sodomite + has_character_modifier = cradle_robber + has_character_modifier = adulterous_priest + } + } + } + modifier = { + factor = 0 + OR = { + is_nomadic = yes + is_tribal = yes + } + } + character_event = { id = RIP.15003} + ROOT = { character_event = { id = RIP.15004} } + } + + # walk of shame + 33 = { + modifier = { + factor = 0 + ROOT = { + NOT = { + OR = { + has_character_modifier = incestuous_adulterer + has_character_modifier = incestuous_adulteress + has_character_modifier = adulterer + has_character_modifier = adulteress + has_character_modifier = known_sodomite + has_character_modifier = cradle_robber + has_character_modifier = adulterous_priest + } + } + } + } + character_event = { id = RIP.15005} + ROOT = { character_event = { id = RIP.15006} } + } + } + } + } + + if = { + limit = { + has_game_rule = { + name = punishment_release_prisoner + value = on + } + } + prisoner = no + } + + add_character_modifier = { + name = publicly_humiliated + years = 10 + } + + opinion = { + modifier = opinion_humiliated_me + who = FROM + } + hidden_tooltip = { + mother = { + opinion = { + modifier = opinion_humiliated_close_kin + who = FROM + } + } + father = { + opinion = { + modifier = opinion_humiliated_close_kin + who = FROM + } + } + spouse = { + opinion = { + modifier = opinion_humiliated_close_kin + who = FROM + } + } + any_child = { + opinion = { + modifier = opinion_humiliated_close_kin + who = FROM + } + } + if = { + limit = { + FROM = { + NOT = { dynasty = ROOT } + NOT = { sibling = ROOT } + } + } + any_sibling = { + opinion = { + modifier = opinion_humiliated_close_kin + who = FROM + } + } + any_dynasty_member = { + opinion = { + modifier = opinion_humiliated_family + who = FROM + } + } + } + } + FROM = { save_event_target_as = remove_prison_reason_effect_accuser } + ROOT = { save_event_target_as = remove_prison_reason_effect_accused } + hidden_tooltip = { remove_prison_reason_effect = yes } + } + revoke_allowed = { + always = no + } + ai_will_do = { + factor = 0.01 + + modifier = { + factor = 0 + reverse_opinion = { who = FROM value = 40 } + } + modifier = { + factor = 5 + FROM = { trait = kind } + } + modifier = { + factor = 0 + FROM = { trait = greedy } + } + modifier = { + factor = 10 + is_pretender = yes + is_rival = ROOT + + FROM = { + OR = { + is_pretender = yes + is_primary_heir = yes + } + } + } + } + } + + execute_eat = { + only_playable = yes + filter = court + ai_target_filter = court + + from_potential = { + has_dlc = "Reapers" + is_playable = yes + is_adult = yes + prisoner = no + NOT = { trait = incapable } + OR = { + has_character_modifier = cannibal + trait = cannibal_trait + } + OR = { + trait = possessed + trait = lunatic + } + } + + potential = { + host = { character = FROM } + prisoner = yes + age = 12 + } + + allow = { + NOT = { diplomatic_immunity = yes } + } + + ai_will_do = { + factor = 1 + } + + effect = { + hidden_tooltip = { + any_dynasty_member = { + limit = { + is_close_relative = ROOT + NOT = { character = FROM } + } + character_event = { id = RIP.11511 days = 1 } + } + FROM = { + random_list = { + 50 = { # Nothing happens + modifier = { + factor = 0 + OR = { + ROOT = { + immortal = yes + } + AND = { + ROOT = { + controls_religion = yes + } + FROM = { NOT = { religion_group = ROOT } } + } + } + } + } + 40 = { # Get sick + modifier = { + factor = 0 + OR = { + immortal = yes + has_character_flag = demon_child + ROOT = { + immortal = yes + } + AND = { + ROOT = { + controls_religion = yes + } + FROM = { NOT = { religion_group = ROOT } } + } + } + } + random_list = { + 50 = { # Food Poisoning + if = { + limit = { + NOR = { + num_of_symptoms = 1 + is_ill = yes + has_character_flag = developing_illness + has_character_flag = disease_not_serious + } + } + set_character_flag = got_food_poisoning + set_character_flag = developing_illness + character_event = { id = RIP.5023 days = 5 } + } + } + 25 = { # Diarrhea - Not Serious + if = { + limit = { + NOR = { + num_of_symptoms = 1 + is_ill = yes + has_character_flag = developing_illness + has_character_flag = disease_not_serious + } + } + set_character_flag = disease_not_serious + character_event = { id = RIP.5002 days = 5 } + character_event = { id = RIP.11004 days = 10 random = 50 } + } + } + 25 = { # Vomiting - Not Serious + if = { + limit = { + NOR = { + num_of_symptoms = 1 + is_ill = yes + has_character_flag = developing_illness + has_character_flag = disease_not_serious + } + } + set_character_flag = disease_not_serious + character_event = { id = RIP.5003 days = 5 } + character_event = { id = RIP.11005 days = 10 random = 50 } + } + } + } + } + 10 = { # Gain power! + modifier = { + factor = 0 + has_game_rule = { + name = supernatural_events + value = off + } + } + if = { + limit = { + ROOT = { + controls_religion = yes + religion_group = christian + } + NOT = { religion_group = ROOT } + } + set_character_flag = pope_eater + } + if = { + limit = { + ROOT = { + controls_religion = yes + religion_group = muslim + } + NOT = { religion_group = ROOT } + } + set_character_flag = caliph_eater + } + if = { + limit = { + ROOT = { + controls_religion = yes + religion_group = pagan_group + } + NOT = { religion_group = ROOT } + } + set_character_flag = fylkir_feast + } + if = { + limit = { + ROOT = { + controls_religion = yes + religion_group = zoroastrian_group + } + NOT = { religion_group = ROOT } + } + set_character_flag = fire_eater + } + if = { + limit = { + ROOT = { + controls_religion = yes + religion_group = jewish_group + } + NOT = { religion_group = ROOT } + } + set_character_flag = non_kosher + } + if = { + limit = { + ROOT = { + controls_religion = yes + religion_group = indian_group + } + NOT = { religion_group = ROOT } + } + set_character_flag = dont_even_exist + } + + character_event = { id = RIP.11510 } + } + } + if = { + limit = { + has_nickname = no + } + random_list = { + 20 = { # Get nickname The Cannibal + give_nickname = nick_the_cannibal + } + 15 = { # Get nickname The Dragon + give_nickname = nick_the_dragon + } + 15 = { # Get nickname The Abomination + give_nickname = nick_the_abomination + } + 10 = { # Get nickname The Monster + give_nickname = nick_the_monster + } + 40 = { } # No nickname + } + } + } + } + death = { + death_reason = death_execution_eaten + killer = FROM + } + FROM = { + if = { + limit = { + NOT = { trait = lunatic } + } + add_trait = lunatic + } + if = { + limit = { + NOT = { has_character_modifier = crazy_cannibal } + } + add_character_modifier = { + name = crazy_cannibal + duration = -1 + } + } + if = { + limit = { + dynasty = ROOT + NOT = { trait = kinslayer } + } + add_trait = kinslayer + } + } + } + } +} \ No newline at end of file diff --git a/LCDA/decisions/settlement_decisions.txt b/LCDA/decisions/settlement_decisions.txt new file mode 100644 index 0000000..e113341 --- /dev/null +++ b/LCDA/decisions/settlement_decisions.txt @@ -0,0 +1,3534 @@ +# Settlement decisions are possible vs _all_ settlements and are shown in the Settlement Diplomacy View, not the Intrigue View. The taker is in the FROM scope. +# +# filter = [capital/owned/vassal_owned/sub_realm_owned/realm_owned/dynasty_owned/all] +# ai_target_filter = [capital/owned/vassal_owned/sub_realm_owned/realm_owned/dynasty_owned/all] (which settlements for which the AI evaluates the decision.) +# owned: all settlements owned by the AI +# vassal_owned: all settlements owned by direct vassal rulers of the AI's employer +# sub_realm_owned: all settlements below the AI's employer +# realm_owned: all settlements in the same top realm as the AI +# dynasty_owned: all settlements owned by members of the same dynasty +# all: all settlements (Avoid if possible. VERY CPU-HEAVY!) +# + +settlement_decisions = { + + convert_tribal_to_castle = { + only_playable = yes + filter = owned + ai_target_filter = owned + is_high_prio = yes + + from_potential = { + is_playable = yes + is_feudal = yes + higher_tier_than = BARON + } + + potential = { + holding_type = tribal + holder_scope = { + character = FROM + } + } + allow = { + location = { + religion = FROM + } + has_building = tb_hillfort_4 + } + effect = { + convert_to = CASTLE + refill_holding_levy = yes + + hidden_tooltip = { + if = { + limit = { + is_capital = yes + dejure_liege_title = { + location = { + num_of_empty_holdings = 2 + } + NOT = { + any_direct_de_jure_vassal_title = { + holding_type = city + } + } + } + } + location = { + build_holding = { + type = city + } + } + } + + if = { + limit = { + is_capital = yes + dejure_liege_title = { + location = { + num_of_empty_holdings = 2 + } + NOT = { + any_direct_de_jure_vassal_title = { + holding_type = temple + } + } + } + } + location = { + build_holding = { + type = temple + } + } + } + } + } + + revoke_allowed = { + always = no + } + + ai_will_do = { + factor = 1 + } + } + + convert_tribal_to_city = { + only_playable = yes + filter = owned + ai_target_filter = owned + is_high_prio = yes + + from_potential = { + is_playable = yes + is_republic = yes + higher_tier_than = BARON + } + + potential = { + holding_type = tribal + holder_scope = { + character = FROM + } + } + allow = { + location = { + religion = FROM + } + has_building = tb_market_town_4 + } + effect = { + convert_to = CITY + refill_holding_levy = yes + + hidden_tooltip = { + if = { + limit = { + is_capital = yes + dejure_liege_title = { + location = { + num_of_empty_holdings = 2 + } + NOT = { + any_direct_de_jure_vassal_title = { + holding_type = castle + } + } + } + } + location = { + build_holding = { + type = castle + } + } + } + + if = { + limit = { + is_capital = yes + dejure_liege_title = { + location = { + num_of_empty_holdings = 2 + } + NOT = { + any_direct_de_jure_vassal_title = { + holding_type = temple + } + } + } + } + location = { + build_holding = { + type = temple + } + } + } + } + } + revoke_allowed = { + always = no + } + ai_will_do = { + factor = 1 # On average ca 1 year before taken + } + } + + convert_tribal_to_temple = { + only_playable = yes + filter = owned + ai_target_filter = owned + is_high_prio = yes + + from_potential = { + is_playable = yes + is_theocracy = yes + higher_tier_than = BARON + OR = { + NOT = { religion_group = pagan_group } + is_reformed_religion = yes + } + } + + potential = { + holding_type = tribal + holder_scope = { + character = FROM + } + } + allow = { + location = { + religion = FROM + } + has_building = tb_hillfort_4 + } + effect = { + convert_to = temple + refill_holding_levy = yes + + hidden_tooltip = { + if = { + limit = { + is_capital = yes + dejure_liege_title = { + location = { + num_of_empty_holdings = 2 + } + NOT = { + any_direct_de_jure_vassal_title = { + holding_type = castle + } + } + } + } + location = { + build_holding = { + type = castle + } + } + } + + if = { + limit = { + is_capital = yes + dejure_liege_title = { + location = { + num_of_empty_holdings = 2 + } + NOT = { + any_direct_de_jure_vassal_title = { + holding_type = city + } + } + } + } + location = { + build_holding = { + type = city + } + } + } + } + } + revoke_allowed = { + always = no + } + ai_will_do = { + factor = 1 # On average ca 1 year before taken + modifier = { + factor = 0.1 # Modified down to ca 10 year average. + } + } + } + + make_primary = { + only_playable = yes + filter = owned + ai_target_filter = owned + + from_potential = { + is_playable = yes + } + + potential = { + is_capital = no + holder_scope = { + character = FROM + } + dejure_liege_title = { + holder_scope = { + character = FROM + } + } + } + allow = { + FROM = { + OR = { + AND = { + is_merchant_republic = no + is_nomadic = no + } + capital_scope = { + ROOT = { + location = { + NOT = { province = PREVPREV } + } + } + } + } + } + } + effect = { + make_capital_holding = yes + } + revoke_allowed = { + always = no + } + ai_will_do = { + factor = 1 + + modifier = { # Not if this settlement is not allowed + factor = 0 + NOT = { is_allowed_holding_type = FROM } + } + + modifier = { # Not if existing capital is preferred + factor = 0 + defacto_liege_title = { + is_preferred_holding_type = FROM + } + } + + modifier = { # Not if this settlement is not preferred and another settlement is + factor = 0 + NOT = { is_preferred_holding_type = FROM } + defacto_liege_title = { + any_direct_de_jure_vassal_title = { + holder = FROM + is_preferred_holding_type = FROM + } + } + } + } + } + + revoke_primary = { + only_playable = yes + filter = owned + ai_target_filter = owned + + from_potential = { + is_playable = yes + is_nomadic = yes + has_dlc = "Horse Lords" + } + + potential = { + is_capital = yes + holder_scope = { + character = FROM + capital_holding = { + NOT = { + title = PREVPREV + } + } + } + capital_scope = { + has_empty_holding = yes + } + NOT = { holding_type = nomad } + } + effect = { + revoke_capital_holding = yes + } + revoke_allowed = { + always = no + } + ai_will_do = { + factor = 1 + } + } + + pillage_settlement = { + only_independent = yes + filter = owned + ai_target_filter = owned + is_high_prio = yes + + from_potential = { + is_playable = yes + OR = { + is_nomadic = yes + is_tribal = yes + } + has_dlc = "Horse Lords" + } + + potential = { + NOT = { holding_type = nomad } + OR = { + NOT = { holding_type = tribal } + FROM = { is_tribal = no } + } + OR = { + FROM = { is_nomadic = yes } + location = { + num_of_settlements = 2 + } + } + owner = { character = FROM } + } + + allow = { + NOT = { has_holding_modifier = recently_burnt_the_land } + owner = { independent = yes } + has_siege = no + custom_tooltip = { + text = stop_pillaging_custom_tooltip + hidden_tooltip = { + NOT = { has_holding_modifier = stop_burning_land } + } + } + } + + effect = { + + hidden_tooltip = { + location = { save_event_target_as = nickname_target } + FROM = { save_event_target_as = nickname_receiver } + if = { + limit = { + owner = { + has_nickname = no + is_adult = yes + NOT = { trait = incapable } + } + } + random_list = { + 5 = { + owner = { give_nickname = nick_the_destroyer } + } + 5 = { + owner = { give_nickname = nick_the_scourge_of_god } + modifier = { + factor = 0 + event_target:nickname_target = { religion = FROM } + } + } + 5 = { + owner = { give_nickname = nick_the_slayer_of_culture } + modifier = { + factor = 0 + event_target:nickname_target = { culture = FROM } + } + } + 5 = { + owner = { give_nickname = nick_the_terror_of_provincename } + } + 5 = { + owner = { give_nickname = nick_the_culture_marauder } + modifier = { + factor = 0 + event_target:nickname_target = { culture = FROM } + } + } + 75 = {} + } + } + } + + if = { + limit = { NOT = { holding_type = tribal } } + FROM = { + wealth = 50 + } + custom_tooltip = { + text = gain_tech_custom_tooltip + hidden_tooltip = { + FROM = { + random_list = { + 10 = { military_techpoints = 5 } + 10 = { economy_techpoints = 5 } + 10 = { culture_techpoints = 5 } + } + } + } + } + } + if = { + limit = { holding_type = tribal } + FROM = { + wealth = 25 + population = 150 + } + } + + custom_tooltip = { + text = "PILLAGE_DESTROY_BUILDINGS" + hidden_tooltip = { + destroy_random_building = THIS + destroy_random_building = THIS + add_holding_modifier = { + modifier = recently_burnt_the_land + months = 7 + } + } + } + + hidden_tooltip = { + + location = { + add_province_modifier = { + modifier = rampaging_nomads + years = 10 + } + } + + location = { + add_province_modifier = { + modifier = burnt_the_land + years = 10 + } + } + + if = { + limit = { + OR = { + FROM = { + NOT = { has_character_modifier = pillage_cooldown } + } + FROM = { + NOT = { + any_realm_province = { + any_province_holding = { + owner = { character = FROM } + has_holding_modifier = recently_burnt_the_land + NOT = { has_holding_modifier = stop_burning_land } + } + } + } + } + } + } + FROM = { character_event = { id = HL.4800 days = 180 } } + FROM = { + add_character_modifier = { + modifier = pillage_cooldown + hidden = yes + months = 6 + } + } + } + } + + if = { + limit = { + NOT = { has_any_building = yes } + owner = { + character = FROM + } + } + hidden_tooltip = { + location = { + province_event = { id = HL.4810 days = 1 } + province_event = { id = HL.4814 days = 2 random = 2 } + } + } + destroy_settlement = THIS + } + + } + revoke_allowed = { + always = no + } + ai_will_do = { + factor = 1 + + modifier = { # Only for tribal holdings + factor = 0 + NOT = { holding_type = tribal } + } + } + } + + stop_pillage_settlement = { + only_playable = yes + filter = owned + ai_target_filter = owned + + from_potential = { + is_playable = yes + OR = { + is_nomadic = yes + is_tribal = yes + } + has_dlc = "Horse Lords" + } + + potential = { + has_holding_modifier = recently_burnt_the_land + NOT = { has_holding_modifier = stop_burning_land } + NOT = { holding_type = nomad } + OR = { + NOT = { holding_type = tribal } + FROM = { is_tribal = no } + } + owner = { character = FROM } + } + + allow = { + has_holding_modifier = recently_burnt_the_land + hidden_tooltip = { + NOT = { has_holding_modifier = stop_burning_land } + } + } + + effect = { + + hidden_tooltip = { + add_holding_modifier = { + modifier = stop_burning_land + hidden = yes + years = 1 + } + } + + } + revoke_allowed = { + always = no + } + ai_will_do = { + factor = 0 + } + } + + adopt_tribalism = { + only_independent = yes + filter = sub_realm_owned + ai_target_filter = sub_realm_owned + is_high_prio = yes + + from_potential = { + is_playable = yes + is_nomadic = yes + has_dlc = "Horse Lords" + is_landed = yes + + OR = { + ai = yes + AND = { + OR = { + has_dlc = "The Sword of Islam" + NOT = { religion_group = muslim } + } + OR = { + has_dlc = "The Old Gods" + NOR = { + religion_group = pagan_group + religion_group = zoroastrian_group + } + } + OR = { + has_dlc = "Sons of Abraham" + NOT = { religion_group = jewish_group } + } + OR = { + has_dlc = "Rajas of India" + NOT = { religion_group = indian_group } + } + } + } + } + potential = { + OR = { + holding_type = tribal + AND = { + holding_type = nomad + holder_scope = { + character = FROM + } + } + } + holder_scope = { + OR = { + character = FROM + AND = { + any_liege = { + character = FROM + } + NOR = { + is_nomadic = yes + any_liege = { + NOT = { character = FROM } + is_nomadic = yes + } + } + } + } + } + } + allow = { + OR = { + is_capital = yes + capital_scope = { + holder_scope = { + character = FROM + } + } + } + has_siege = no + FROM = { + independent = yes + war = no + } + + OR = { + holding_type = tribal + AND = { + holding_type = nomad + has_building = no_baghatur_council_2 + } + } + } + effect = { + # Change culture and religion of new capital province and possibly more provinces depending on nomad population_and_manpower + location = { + if = { + limit = { + NOT = { culture = FROM } + } + culture = FROM + } + if = { + limit = { + NOT = { religion = FROM } + } + religion = FROM + } + } + if = { + limit = { + FROM = { + population_and_manpower = 5000 + any_realm_province = { + NOT = { culture = FROM } + num_of_settlements = 1 + ROOT = { + location = { + NOT = { province = PREVPREV } # Another province, not the capital + } + } + } + } + } + custom_tooltip = { text = nomad_settle_conversion_tooltip } + } + hidden_tooltip = { + if = { + limit = { + FROM = { + population_and_manpower = 5000 + any_realm_province = { + NOT = { culture = FROM } + num_of_settlements = 1 + any_neighbor_province = { + culture = FROM + religion = FROM + } + } + } + } + FROM = { + random_realm_province = { + limit = { + NOT = { culture = FROM } + num_of_settlements = 1 + any_neighbor_province = { + culture = FROM + religion = FROM + } + } + culture = FROM + religion = FROM + } + } + } + if = { + limit = { + FROM = { + population_and_manpower = 10000 + any_realm_province = { + NOT = { culture = FROM } + num_of_settlements = 1 + any_neighbor_province = { + culture = FROM + religion = FROM + } + } + } + } + FROM = { + random_realm_province = { + limit = { + NOT = { culture = FROM } + num_of_settlements = 1 + any_neighbor_province = { + culture = FROM + religion = FROM + } + } + culture = FROM + religion = FROM + } + } + } + if = { + limit = { + FROM = { + population_and_manpower = 15000 + any_realm_province = { + NOT = { culture = FROM } + num_of_settlements = 1 + any_neighbor_province = { + culture = FROM + religion = FROM + } + } + } + } + FROM = { + random_realm_province = { + limit = { + NOT = { culture = FROM } + num_of_settlements = 1 + any_neighbor_province = { + culture = FROM + religion = FROM + } + } + culture = FROM + religion = FROM + } + } + } + if = { + limit = { + FROM = { + population_and_manpower = 20000 + any_realm_province = { + NOT = { culture = FROM } + num_of_settlements = 1 + any_neighbor_province = { + culture = FROM + religion = FROM + } + } + } + } + FROM = { + random_realm_province = { + limit = { + NOT = { culture = FROM } + num_of_settlements = 1 + any_neighbor_province = { + culture = FROM + religion = FROM + } + } + culture = FROM + religion = FROM + } + } + } + if = { + limit = { + FROM = { + population_and_manpower = 25000 + any_realm_province = { + NOT = { culture = FROM } + num_of_settlements = 1 + any_neighbor_province = { + culture = FROM + religion = FROM + } + } + } + } + FROM = { + random_realm_province = { + limit = { + NOT = { culture = FROM } + num_of_settlements = 1 + any_neighbor_province = { + culture = FROM + religion = FROM + } + } + culture = FROM + religion = FROM + } + } + } + if = { + limit = { + FROM = { + population_and_manpower = 30000 + any_realm_province = { + NOT = { culture = FROM } + num_of_settlements = 1 + any_neighbor_province = { + culture = FROM + religion = FROM + } + } + } + } + FROM = { + random_realm_province = { + limit = { + NOT = { culture = FROM } + num_of_settlements = 1 + any_neighbor_province = { + culture = FROM + religion = FROM + } + } + culture = FROM + religion = FROM + } + } + } + if = { + limit = { + FROM = { + population_and_manpower = 35000 + any_realm_province = { + NOT = { culture = FROM } + num_of_settlements = 1 + any_neighbor_province = { + culture = FROM + religion = FROM + } + } + } + } + FROM = { + random_realm_province = { + limit = { + NOT = { culture = FROM } + num_of_settlements = 1 + any_neighbor_province = { + culture = FROM + religion = FROM + } + } + culture = FROM + religion = FROM + } + } + } + if = { + limit = { + FROM = { + population_and_manpower = 40000 + any_realm_province = { + NOT = { culture = FROM } + num_of_settlements = 1 + any_neighbor_province = { + culture = FROM + religion = FROM + } + } + } + } + FROM = { + random_realm_province = { + limit = { + NOT = { culture = FROM } + num_of_settlements = 1 + any_neighbor_province = { + culture = FROM + religion = FROM + } + } + culture = FROM + religion = FROM + } + } + } + if = { + limit = { + FROM = { + population_and_manpower = 45000 + any_realm_province = { + NOT = { culture = FROM } + num_of_settlements = 1 + any_neighbor_province = { + culture = FROM + religion = FROM + } + } + } + } + FROM = { + random_realm_province = { + limit = { + NOT = { culture = FROM } + num_of_settlements = 1 + any_neighbor_province = { + culture = FROM + religion = FROM + } + } + culture = FROM + religion = FROM + } + } + } + if = { + limit = { + FROM = { + population_and_manpower = 50000 + any_realm_province = { + NOT = { culture = FROM } + num_of_settlements = 1 + any_neighbor_province = { + culture = FROM + religion = FROM + } + } + } + } + FROM = { + random_realm_province = { + limit = { + NOT = { culture = FROM } + num_of_settlements = 1 + any_neighbor_province = { + culture = FROM + religion = FROM + } + } + culture = FROM + religion = FROM + } + } + } + if = { + limit = { + FROM = { + population_and_manpower = 55000 + any_realm_province = { + NOT = { culture = FROM } + num_of_settlements = 1 + any_neighbor_province = { + culture = FROM + religion = FROM + } + } + } + } + FROM = { + random_realm_province = { + limit = { + NOT = { culture = FROM } + num_of_settlements = 1 + any_neighbor_province = { + culture = FROM + religion = FROM + } + } + culture = FROM + religion = FROM + } + } + } + if = { + limit = { + FROM = { + population_and_manpower = 60000 + any_realm_province = { + NOT = { culture = FROM } + num_of_settlements = 1 + any_neighbor_province = { + culture = FROM + religion = FROM + } + } + } + } + FROM = { + random_realm_province = { + limit = { + NOT = { culture = FROM } + num_of_settlements = 1 + any_neighbor_province = { + culture = FROM + religion = FROM + } + } + culture = FROM + religion = FROM + } + } + } + if = { + limit = { + FROM = { + population_and_manpower = 65000 + any_realm_province = { + NOT = { culture = FROM } + num_of_settlements = 1 + any_neighbor_province = { + culture = FROM + religion = FROM + } + } + } + } + FROM = { + random_realm_province = { + limit = { + NOT = { culture = FROM } + num_of_settlements = 1 + any_neighbor_province = { + culture = FROM + religion = FROM + } + } + culture = FROM + religion = FROM + } + } + } + if = { + limit = { + FROM = { + population_and_manpower = 70000 + any_realm_province = { + NOT = { culture = FROM } + num_of_settlements = 1 + any_neighbor_province = { + culture = FROM + religion = FROM + } + } + } + } + FROM = { + random_realm_province = { + limit = { + NOT = { culture = FROM } + num_of_settlements = 1 + any_neighbor_province = { + culture = FROM + religion = FROM + } + } + culture = FROM + religion = FROM + } + } + } + if = { + limit = { + FROM = { + population_and_manpower = 75000 + any_realm_province = { + NOT = { culture = FROM } + num_of_settlements = 1 + any_neighbor_province = { + culture = FROM + religion = FROM + } + } + } + } + FROM = { + random_realm_province = { + limit = { + NOT = { culture = FROM } + num_of_settlements = 1 + any_neighbor_province = { + culture = FROM + religion = FROM + } + } + culture = FROM + religion = FROM + } + } + } + if = { + limit = { + FROM = { + population_and_manpower = 80000 + any_realm_province = { + NOT = { culture = FROM } + num_of_settlements = 1 + any_neighbor_province = { + culture = FROM + religion = FROM + } + } + } + } + FROM = { + random_realm_province = { + limit = { + NOT = { culture = FROM } + num_of_settlements = 1 + any_neighbor_province = { + culture = FROM + religion = FROM + } + } + culture = FROM + religion = FROM + } + } + } + if = { + limit = { + FROM = { + population_and_manpower = 85000 + any_realm_province = { + NOT = { culture = FROM } + num_of_settlements = 1 + any_neighbor_province = { + culture = FROM + religion = FROM + } + } + } + } + FROM = { + random_realm_province = { + limit = { + NOT = { culture = FROM } + num_of_settlements = 1 + any_neighbor_province = { + culture = FROM + religion = FROM + } + } + culture = FROM + religion = FROM + } + } + } + if = { + limit = { + FROM = { + population_and_manpower = 90000 + any_realm_province = { + NOT = { culture = FROM } + num_of_settlements = 1 + any_neighbor_province = { + culture = FROM + religion = FROM + } + } + } + } + FROM = { + random_realm_province = { + limit = { + NOT = { culture = FROM } + num_of_settlements = 1 + any_neighbor_province = { + culture = FROM + religion = FROM + } + } + culture = FROM + religion = FROM + } + } + } + if = { + limit = { + FROM = { + population_and_manpower = 95000 + any_realm_province = { + NOT = { culture = FROM } + num_of_settlements = 1 + any_neighbor_province = { + culture = FROM + religion = FROM + } + } + } + } + FROM = { + random_realm_province = { + limit = { + NOT = { culture = FROM } + num_of_settlements = 1 + any_neighbor_province = { + culture = FROM + religion = FROM + } + } + culture = FROM + religion = FROM + } + } + } + } + + # Usurp kingdom if only one vassal has a kingdom + FROM = { + if = { + limit = { + any_vassal = { + OR = { + is_feudal = yes + is_tribal = yes + } + } + NOT = { + any_vassal = { + count = 2 + OR = { + is_feudal = yes + is_tribal = yes + } + tier = KING + } + } + } + any_vassal = { + limit = { + OR = { + is_feudal = yes + is_tribal = yes + } + tier = KING + } + any_demesne_title = { + limit = { + tier = KING + } + usurp_title = FROM + } + } + } + } + + # Change name of Avaria to Hungary if relevant. + if = { + limit = { + FROM = { + culture = hungarian + } + location = { + kingdom = { title = k_hungary } + } + k_hungary = { + OR = { + has_holder = no + holder = FROM + } + } + } + set_global_flag = avar_khaganate_renamed + k_hungary = { + reset_coa = THIS + set_name="" + adjective="" + grant_title = FROM + } + } + + if = { + limit = { NOT = { holder = FROM } } + usurp_title = FROM + } + + if = { + limit = { is_capital = no } + make_capital_holding = yes + } + + FROM = { + capital = PREV + } + + custom_tooltip = { + text = TT_BUILD_TRIBAL_HOLDINGS + } + + location ={ + county = { + save_event_target_as = primary_title + } + } + + FROM = { + #primary_title = { + # ROOT = { + # custom_tooltip = { + # text = TT_KHAN_INDEPENDENCE + # } + # most_prestigious_clan_vassal = { + # custom_tooltip = { + # text = TT_NEW_KHAN + # } + # } + # } + #} + + if = { + limit = { + ai = no + } + chronicle = { + entry = CHRONICLE_ADOPTED_TRIBALISM + picture = GFX_evt_tribal_lands + } + } + + any_vassal = { + limit = { + government = nomadic_government + } + set_government_type = tribal_government + } + + set_government_type = tribal_government + + if = { + limit = { + NOR = { + tier = KING + tier = EMPEROR + } + } + create_title = { + tier = KING + landless = no + temporary = no + custom_created = yes + culture = FROM + holder = FROM + name = "TRIBAL_CUSTOM" + base_title = event_target:primary_title + copy_title_laws = yes + } + } + + if = { + limit = { + higher_tier_than = count + } + primary_title = { + add_law = tribal_organization_0 + add_law = centralization_0 + } + } + + any_playable_ruler = { + limit = { + NOT = { character = FROM } + ai = no + } + narrative_event = { id = HL.2 } + } + } + + # Spawn event troops based on province holdings. + hidden_tooltip = { + location = { + FROM = { + any_realm_province = { + limit = { + any_province_holding = { + holding_type = tribal + } + } + FROM = { + spawn_unit = { + province = PREVPREVPREV + owner = THIS + troops = { + light_infantry = { 50 50 } + light_cavalry = { 35 35 } + horse_archers = { 15 15 } + } + attrition = 1 + merge = yes + } + } + } + } + } + } + + } + revoke_allowed = { + always = no + } + ai_will_do = { + factor = 1 + modifier = { + factor = 0 + FROM = { + any_realm_province = { + region = world_steppe + count = 7 + } + } + } + modifier = { + factor = 0 + FROM = { + NOT = { + num_of_count_titles_in_realm = 20 + } + } + } + modifier = { + factor = 0 + FROM = { + capital_scope = { + region = world_steppe + } + } + } + modifier = { + factor = 0 + FROM = { + NOR = { + trait = content + culture = hungarian + culture = alan + NOT = { + religion_group = pagan_group + } + } + } + } + modifier = { + factor = 0 + FROM = { + OR = { + num_of_subrealm_castles = 5 + num_of_subrealm_cities = 5 + } + } + } + } + } + + nomad_adopt_feudalism = { + only_independent = yes + filter = sub_realm_owned + ai_target_filter = sub_realm_owned + is_high_prio = yes + + from_potential = { + is_playable = yes + is_nomadic = yes + has_dlc = "Horse Lords" + + OR = { + ai = yes + AND = { + OR = { + has_dlc = "The Sword of Islam" + NOT = { religion_group = muslim } + } + OR = { + has_dlc = "The Old Gods" + NOR = { + religion_group = pagan_group + religion_group = zoroastrian_group + } + } + OR = { + has_dlc = "Sons of Abraham" + NOT = { religion_group = jewish_group } + } + OR = { + has_dlc = "Rajas of India" + NOT = { religion_group = indian_group } + } + } + } + } + potential = { + OR = { + holding_type = castle + AND = { + holding_type = temple + holder_scope = { + religion_group = muslim + } + } + } + holder_scope = { + OR = { + character = FROM + AND = { + any_liege = { + character = FROM + } + NOR = { + is_nomadic = yes + any_liege = { + NOT = { character = FROM } + is_nomadic = yes + } + } + } + } + } + } + allow = { + OR = { + is_capital = yes + capital_scope = { + holder_scope = { + character = FROM + } + } + } + has_siege = no + FROM = { + independent = yes + war = no + } + } + effect = { + # Change culture and religion of new capital province and possibly more provinces depending on nomad population_and_manpower + location = { + if = { + limit = { + NOT = { culture = FROM } + } + culture = FROM + } + if = { + limit = { + NOT = { religion = FROM } + } + religion = FROM + } + } + if = { + limit = { + FROM = { + population_and_manpower = 5000 + any_realm_province = { + NOT = { culture = FROM } + num_of_settlements = 1 + ROOT = { + location = { + NOT = { province = PREVPREV } # Another province, not the capital + } + } + } + } + } + custom_tooltip = { text = nomad_settle_conversion_tooltip } + } + hidden_tooltip = { + if = { + limit = { + FROM = { + population_and_manpower = 5000 + any_realm_province = { + NOT = { culture = FROM } + num_of_settlements = 1 + any_neighbor_province = { + culture = FROM + religion = FROM + } + } + } + } + FROM = { + random_realm_province = { + limit = { + NOT = { culture = FROM } + num_of_settlements = 1 + any_neighbor_province = { + culture = FROM + religion = FROM + } + } + culture = FROM + religion = FROM + } + } + } + if = { + limit = { + FROM = { + population_and_manpower = 10000 + any_realm_province = { + NOT = { culture = FROM } + num_of_settlements = 1 + any_neighbor_province = { + culture = FROM + religion = FROM + } + } + } + } + FROM = { + random_realm_province = { + limit = { + NOT = { culture = FROM } + num_of_settlements = 1 + any_neighbor_province = { + culture = FROM + religion = FROM + } + } + culture = FROM + religion = FROM + } + } + } + if = { + limit = { + FROM = { + population_and_manpower = 15000 + any_realm_province = { + NOT = { culture = FROM } + num_of_settlements = 1 + any_neighbor_province = { + culture = FROM + religion = FROM + } + } + } + } + FROM = { + random_realm_province = { + limit = { + NOT = { culture = FROM } + num_of_settlements = 1 + any_neighbor_province = { + culture = FROM + religion = FROM + } + } + culture = FROM + religion = FROM + } + } + } + if = { + limit = { + FROM = { + population_and_manpower = 20000 + any_realm_province = { + NOT = { culture = FROM } + num_of_settlements = 1 + any_neighbor_province = { + culture = FROM + religion = FROM + } + } + } + } + FROM = { + random_realm_province = { + limit = { + NOT = { culture = FROM } + num_of_settlements = 1 + any_neighbor_province = { + culture = FROM + religion = FROM + } + } + culture = FROM + religion = FROM + } + } + } + if = { + limit = { + FROM = { + population_and_manpower = 25000 + any_realm_province = { + NOT = { culture = FROM } + num_of_settlements = 1 + any_neighbor_province = { + culture = FROM + religion = FROM + } + } + } + } + FROM = { + random_realm_province = { + limit = { + NOT = { culture = FROM } + num_of_settlements = 1 + any_neighbor_province = { + culture = FROM + religion = FROM + } + } + culture = FROM + religion = FROM + } + } + } + if = { + limit = { + FROM = { + population_and_manpower = 30000 + any_realm_province = { + NOT = { culture = FROM } + num_of_settlements = 1 + any_neighbor_province = { + culture = FROM + religion = FROM + } + } + } + } + FROM = { + random_realm_province = { + limit = { + NOT = { culture = FROM } + num_of_settlements = 1 + any_neighbor_province = { + culture = FROM + religion = FROM + } + } + culture = FROM + religion = FROM + } + } + } + if = { + limit = { + FROM = { + population_and_manpower = 35000 + any_realm_province = { + NOT = { culture = FROM } + num_of_settlements = 1 + any_neighbor_province = { + culture = FROM + religion = FROM + } + } + } + } + FROM = { + random_realm_province = { + limit = { + NOT = { culture = FROM } + num_of_settlements = 1 + any_neighbor_province = { + culture = FROM + religion = FROM + } + } + culture = FROM + religion = FROM + } + } + } + if = { + limit = { + FROM = { + population_and_manpower = 40000 + any_realm_province = { + NOT = { culture = FROM } + num_of_settlements = 1 + any_neighbor_province = { + culture = FROM + religion = FROM + } + } + } + } + FROM = { + random_realm_province = { + limit = { + NOT = { culture = FROM } + num_of_settlements = 1 + any_neighbor_province = { + culture = FROM + religion = FROM + } + } + culture = FROM + religion = FROM + } + } + } + if = { + limit = { + FROM = { + population_and_manpower = 45000 + any_realm_province = { + NOT = { culture = FROM } + num_of_settlements = 1 + any_neighbor_province = { + culture = FROM + religion = FROM + } + } + } + } + FROM = { + random_realm_province = { + limit = { + NOT = { culture = FROM } + num_of_settlements = 1 + any_neighbor_province = { + culture = FROM + religion = FROM + } + } + culture = FROM + religion = FROM + } + } + } + if = { + limit = { + FROM = { + population_and_manpower = 50000 + any_realm_province = { + NOT = { culture = FROM } + num_of_settlements = 1 + any_neighbor_province = { + culture = FROM + religion = FROM + } + } + } + } + FROM = { + random_realm_province = { + limit = { + NOT = { culture = FROM } + num_of_settlements = 1 + any_neighbor_province = { + culture = FROM + religion = FROM + } + } + culture = FROM + religion = FROM + } + } + } + if = { + limit = { + FROM = { + population_and_manpower = 55000 + any_realm_province = { + NOT = { culture = FROM } + num_of_settlements = 1 + any_neighbor_province = { + culture = FROM + religion = FROM + } + } + } + } + FROM = { + random_realm_province = { + limit = { + NOT = { culture = FROM } + num_of_settlements = 1 + any_neighbor_province = { + culture = FROM + religion = FROM + } + } + culture = FROM + religion = FROM + } + } + } + if = { + limit = { + FROM = { + population_and_manpower = 60000 + any_realm_province = { + NOT = { culture = FROM } + num_of_settlements = 1 + any_neighbor_province = { + culture = FROM + religion = FROM + } + } + } + } + FROM = { + random_realm_province = { + limit = { + NOT = { culture = FROM } + num_of_settlements = 1 + any_neighbor_province = { + culture = FROM + religion = FROM + } + } + culture = FROM + religion = FROM + } + } + } + if = { + limit = { + FROM = { + population_and_manpower = 65000 + any_realm_province = { + NOT = { culture = FROM } + num_of_settlements = 1 + any_neighbor_province = { + culture = FROM + religion = FROM + } + } + } + } + FROM = { + random_realm_province = { + limit = { + NOT = { culture = FROM } + num_of_settlements = 1 + any_neighbor_province = { + culture = FROM + religion = FROM + } + } + culture = FROM + religion = FROM + } + } + } + if = { + limit = { + FROM = { + population_and_manpower = 70000 + any_realm_province = { + NOT = { culture = FROM } + num_of_settlements = 1 + any_neighbor_province = { + culture = FROM + religion = FROM + } + } + } + } + FROM = { + random_realm_province = { + limit = { + NOT = { culture = FROM } + num_of_settlements = 1 + any_neighbor_province = { + culture = FROM + religion = FROM + } + } + culture = FROM + religion = FROM + } + } + } + if = { + limit = { + FROM = { + population_and_manpower = 75000 + any_realm_province = { + NOT = { culture = FROM } + num_of_settlements = 1 + any_neighbor_province = { + culture = FROM + religion = FROM + } + } + } + } + FROM = { + random_realm_province = { + limit = { + NOT = { culture = FROM } + num_of_settlements = 1 + any_neighbor_province = { + culture = FROM + religion = FROM + } + } + culture = FROM + religion = FROM + } + } + } + if = { + limit = { + FROM = { + population_and_manpower = 80000 + any_realm_province = { + NOT = { culture = FROM } + num_of_settlements = 1 + any_neighbor_province = { + culture = FROM + religion = FROM + } + } + } + } + FROM = { + random_realm_province = { + limit = { + NOT = { culture = FROM } + num_of_settlements = 1 + any_neighbor_province = { + culture = FROM + religion = FROM + } + } + culture = FROM + religion = FROM + } + } + } + if = { + limit = { + FROM = { + population_and_manpower = 85000 + any_realm_province = { + NOT = { culture = FROM } + num_of_settlements = 1 + any_neighbor_province = { + culture = FROM + religion = FROM + } + } + } + } + FROM = { + random_realm_province = { + limit = { + NOT = { culture = FROM } + num_of_settlements = 1 + any_neighbor_province = { + culture = FROM + religion = FROM + } + } + culture = FROM + religion = FROM + } + } + } + if = { + limit = { + FROM = { + population_and_manpower = 90000 + any_realm_province = { + NOT = { culture = FROM } + num_of_settlements = 1 + any_neighbor_province = { + culture = FROM + religion = FROM + } + } + } + } + FROM = { + random_realm_province = { + limit = { + NOT = { culture = FROM } + num_of_settlements = 1 + any_neighbor_province = { + culture = FROM + religion = FROM + } + } + culture = FROM + religion = FROM + } + } + } + if = { + limit = { + FROM = { + population_and_manpower = 95000 + any_realm_province = { + NOT = { culture = FROM } + num_of_settlements = 1 + any_neighbor_province = { + culture = FROM + religion = FROM + } + } + } + } + FROM = { + random_realm_province = { + limit = { + NOT = { culture = FROM } + num_of_settlements = 1 + any_neighbor_province = { + culture = FROM + religion = FROM + } + } + culture = FROM + religion = FROM + } + } + } + } + + # Usurp kingdom if only one vassal has a kingdom + FROM = { + if = { + limit = { + any_vassal = { + is_feudal = yes + } + NOT = { + any_vassal = { + count = 2 + is_feudal = yes + tier = KING + } + } + } + any_vassal = { + limit = { + OR = { + is_feudal = yes + is_tribal = yes + } + tier = KING + } + any_demesne_title = { + limit = { + tier = KING + } + usurp_title = FROM + } + } + } + } + # Change name of Avaria to Hungary if relevant. + if = { + limit = { + FROM = { + culture = hungarian + } + location = { + kingdom = { title = k_hungary } + } + k_hungary = { + OR = { + has_holder = no + holder = FROM + } + } + } + set_global_flag = avar_khaganate_renamed + k_hungary = { + reset_coa = THIS + set_name="" + adjective="" + grant_title = FROM + } + } + + if = { + limit = { + FROM = { + dynasty = 708 #Ãrpád + has_landed_title = k_hungary + } + } + hidden_tooltip = { + FROM = { + any_realm_province = { + limit = { + culture = avar + } + culture = PREV + religion = PREV + } + } + } + } + + # Spawn event troops based on amount of empty holdings abandoned. + custom_tooltip = { + text = NOMAD_CONVERSION_TROOP_SPAWN + hidden_tooltip = { + location = { + FROM = { + any_realm_province = { + limit = { + NOT = { + any_province_holding = { + NOT = { holding_type = nomad } + } + } + } + FROM = { + spawn_unit = { + province = PREVPREVPREV + owner = THIS + troops = { + light_cavalry = { 140 140 } + horse_archers = { 60 60 } + } + attrition = 1 + merge = yes + } + } + } + } + } + } + } + + if = { + limit = { NOT = { holder = FROM } } + usurp_title = FROM + } + + if = { + limit = { is_capital = no } + make_capital_holding = yes + } + + FROM = { + capital = PREV + + primary_title = { + FROM = { + custom_tooltip = { + text = TT_KHAN_INDEPENDENCE + } + most_prestigious_clan_vassal = { + custom_tooltip = { + text = TT_NEW_KHAN + } + } + } + } + + if = { + limit = { + NOT = { religion_group = muslim } + } + + if = { + limit = { + ai = no + } + chronicle = { + entry = CHRONICLE_NOMAD_ADOPTED_FEUDALISM + picture = GFX_evt_castle_construction + } + } + set_government_type = feudal_government + } + if = { + limit = { + religion_group = muslim + } + + if = { + limit = { + ai = no + } + chronicle = { + entry = CHRONICLE_NOMAD_ADOPTED_IQTA + picture = GFX_evt_castle_construction + } + } + set_government_type = muslim_government + } + + if = { + limit = { + higher_tier_than = king + } + primary_title = { + add_law = feudal_administration + } + } + + if = { + limit = { + higher_tier_than = count + } + primary_title = { + add_law = centralization_0 + } + } + + any_playable_ruler = { + limit = { + NOT = { character = FROM } + ai = no + } + narrative_event = { id = HL.1 } + } + } + } + + revoke_allowed = { + always = no + } + + ai_will_do = { + factor = 0.1 # On average ca 1 year before taken + + modifier = { + factor = 100 + FROM = { + dynasty = 708 # Ãrpád + } + } + + modifier = { + factor = 0 + FROM = { + NOT = { num_of_subrealm_castles = 20 } + population_and_manpower = 5000 + NOT = { dynasty = 708 } # Ãrpád + } + } + + modifier = { + factor = 0 + FROM = { + NOT = { num_of_subrealm_castles = 10 } + NOT = { dynasty = 708 } # Ãrpád + } + } + + modifier = { + factor = 0 + FROM = { + OR = { + trait = ambitious + trait = stubborn + trait = proud + } + NOT = { dynasty = 708 } # Ãrpád + } + } + + modifier = { + factor = 0 + FROM = { + NOT = { + holding_diff = { + first_type = castle + first_count_vassals = yes + second_type = none + value = 1.5 + } + } + NOT = { dynasty = 708 } # Ãrpád + } + } + + modifier = { + factor = 0 + FROM = { + any_demesne_title = { + OR = { + title = e_mongol_empire + title = e_golden_horde + title = e_chagatai + } + } + } + } + } + } + + nomad_adopt_republicanism = { + only_independent = yes + filter = sub_realm_owned + ai_target_filter = sub_realm_owned + is_high_prio = yes + + from_potential = { + is_playable = yes + is_nomadic = yes + is_female = no + OR = { + ai = yes + has_dlc = "The Republic" + } + has_dlc = "Horse Lords" + + OR = { + ai = yes + AND = { + OR = { + has_dlc = "The Sword of Islam" + NOT = { religion_group = muslim } + } + OR = { + has_dlc = "The Old Gods" + NOR = { + religion_group = pagan_group + religion_group = zoroastrian_group + } + } + OR = { + has_dlc = "Sons of Abraham" + NOT = { religion_group = jewish_group } + } + OR = { + has_dlc = "Rajas of India" + NOT = { religion_group = indian_group } + } + } + } + } + + potential = { + holding_type = city + OR = { + FROM = { + ai = yes + } + capital_scope = { + port = yes + } + } + holder_scope = { + OR = { + character = FROM + AND = { + any_liege = { + character = FROM + } + NOR = { + is_nomadic = yes + any_liege = { + NOT = { character = FROM } + is_nomadic = yes + } + } + } + } + } + } + allow = { + OR = { + is_capital = yes + capital_scope = { + holder_scope = { + character = FROM + } + } + } + has_siege = no + + FROM = { + independent = yes + war = no + } + } + effect = { + # Change culture and religion of new capital province and possibly more provinces depending on nomad population_and_manpower + location = { + if = { + limit = { + NOT = { culture = FROM } + } + culture = FROM + } + if = { + limit = { + NOT = { religion = FROM } + } + religion = FROM + } + } + if = { + limit = { + FROM = { + population_and_manpower = 5000 + any_realm_province = { + NOT = { culture = FROM } + num_of_settlements = 1 + ROOT = { + location = { + NOT = { province = PREVPREV } # Another province, not the capital + } + } + } + } + } + custom_tooltip = { text = nomad_settle_conversion_tooltip } + } + hidden_tooltip = { + if = { + limit = { + FROM = { + population_and_manpower = 5000 + any_realm_province = { + NOT = { culture = FROM } + num_of_settlements = 1 + any_neighbor_province = { + culture = FROM + religion = FROM + } + } + } + } + FROM = { + random_realm_province = { + limit = { + NOT = { culture = FROM } + num_of_settlements = 1 + any_neighbor_province = { + culture = FROM + religion = FROM + } + } + culture = FROM + religion = FROM + } + } + } + if = { + limit = { + FROM = { + population_and_manpower = 10000 + any_realm_province = { + NOT = { culture = FROM } + num_of_settlements = 1 + any_neighbor_province = { + culture = FROM + religion = FROM + } + } + } + } + FROM = { + random_realm_province = { + limit = { + NOT = { culture = FROM } + num_of_settlements = 1 + any_neighbor_province = { + culture = FROM + religion = FROM + } + } + culture = FROM + religion = FROM + } + } + } + if = { + limit = { + FROM = { + population_and_manpower = 15000 + any_realm_province = { + NOT = { culture = FROM } + num_of_settlements = 1 + any_neighbor_province = { + culture = FROM + religion = FROM + } + } + } + } + FROM = { + random_realm_province = { + limit = { + NOT = { culture = FROM } + num_of_settlements = 1 + any_neighbor_province = { + culture = FROM + religion = FROM + } + } + culture = FROM + religion = FROM + } + } + } + if = { + limit = { + FROM = { + population_and_manpower = 20000 + any_realm_province = { + NOT = { culture = FROM } + num_of_settlements = 1 + any_neighbor_province = { + culture = FROM + religion = FROM + } + } + } + } + FROM = { + random_realm_province = { + limit = { + NOT = { culture = FROM } + num_of_settlements = 1 + any_neighbor_province = { + culture = FROM + religion = FROM + } + } + culture = FROM + religion = FROM + } + } + } + if = { + limit = { + FROM = { + population_and_manpower = 25000 + any_realm_province = { + NOT = { culture = FROM } + num_of_settlements = 1 + any_neighbor_province = { + culture = FROM + religion = FROM + } + } + } + } + FROM = { + random_realm_province = { + limit = { + NOT = { culture = FROM } + num_of_settlements = 1 + any_neighbor_province = { + culture = FROM + religion = FROM + } + } + culture = FROM + religion = FROM + } + } + } + if = { + limit = { + FROM = { + population_and_manpower = 30000 + any_realm_province = { + NOT = { culture = FROM } + num_of_settlements = 1 + any_neighbor_province = { + culture = FROM + religion = FROM + } + } + } + } + FROM = { + random_realm_province = { + limit = { + NOT = { culture = FROM } + num_of_settlements = 1 + any_neighbor_province = { + culture = FROM + religion = FROM + } + } + culture = FROM + religion = FROM + } + } + } + if = { + limit = { + FROM = { + population_and_manpower = 35000 + any_realm_province = { + NOT = { culture = FROM } + num_of_settlements = 1 + any_neighbor_province = { + culture = FROM + religion = FROM + } + } + } + } + FROM = { + random_realm_province = { + limit = { + NOT = { culture = FROM } + num_of_settlements = 1 + any_neighbor_province = { + culture = FROM + religion = FROM + } + } + culture = FROM + religion = FROM + } + } + } + if = { + limit = { + FROM = { + population_and_manpower = 40000 + any_realm_province = { + NOT = { culture = FROM } + num_of_settlements = 1 + any_neighbor_province = { + culture = FROM + religion = FROM + } + } + } + } + FROM = { + random_realm_province = { + limit = { + NOT = { culture = FROM } + num_of_settlements = 1 + any_neighbor_province = { + culture = FROM + religion = FROM + } + } + culture = FROM + religion = FROM + } + } + } + if = { + limit = { + FROM = { + population_and_manpower = 45000 + any_realm_province = { + NOT = { culture = FROM } + num_of_settlements = 1 + any_neighbor_province = { + culture = FROM + religion = FROM + } + } + } + } + FROM = { + random_realm_province = { + limit = { + NOT = { culture = FROM } + num_of_settlements = 1 + any_neighbor_province = { + culture = FROM + religion = FROM + } + } + culture = FROM + religion = FROM + } + } + } + if = { + limit = { + FROM = { + population_and_manpower = 50000 + any_realm_province = { + NOT = { culture = FROM } + num_of_settlements = 1 + any_neighbor_province = { + culture = FROM + religion = FROM + } + } + } + } + FROM = { + random_realm_province = { + limit = { + NOT = { culture = FROM } + num_of_settlements = 1 + any_neighbor_province = { + culture = FROM + religion = FROM + } + } + culture = FROM + religion = FROM + } + } + } + if = { + limit = { + FROM = { + population_and_manpower = 55000 + any_realm_province = { + NOT = { culture = FROM } + num_of_settlements = 1 + any_neighbor_province = { + culture = FROM + religion = FROM + } + } + } + } + FROM = { + random_realm_province = { + limit = { + NOT = { culture = FROM } + num_of_settlements = 1 + any_neighbor_province = { + culture = FROM + religion = FROM + } + } + culture = FROM + religion = FROM + } + } + } + if = { + limit = { + FROM = { + population_and_manpower = 60000 + any_realm_province = { + NOT = { culture = FROM } + num_of_settlements = 1 + any_neighbor_province = { + culture = FROM + religion = FROM + } + } + } + } + FROM = { + random_realm_province = { + limit = { + NOT = { culture = FROM } + num_of_settlements = 1 + any_neighbor_province = { + culture = FROM + religion = FROM + } + } + culture = FROM + religion = FROM + } + } + } + if = { + limit = { + FROM = { + population_and_manpower = 65000 + any_realm_province = { + NOT = { culture = FROM } + num_of_settlements = 1 + any_neighbor_province = { + culture = FROM + religion = FROM + } + } + } + } + FROM = { + random_realm_province = { + limit = { + NOT = { culture = FROM } + num_of_settlements = 1 + any_neighbor_province = { + culture = FROM + religion = FROM + } + } + culture = FROM + religion = FROM + } + } + } + if = { + limit = { + FROM = { + population_and_manpower = 70000 + any_realm_province = { + NOT = { culture = FROM } + num_of_settlements = 1 + any_neighbor_province = { + culture = FROM + religion = FROM + } + } + } + } + FROM = { + random_realm_province = { + limit = { + NOT = { culture = FROM } + num_of_settlements = 1 + any_neighbor_province = { + culture = FROM + religion = FROM + } + } + culture = FROM + religion = FROM + } + } + } + if = { + limit = { + FROM = { + population_and_manpower = 75000 + any_realm_province = { + NOT = { culture = FROM } + num_of_settlements = 1 + any_neighbor_province = { + culture = FROM + religion = FROM + } + } + } + } + FROM = { + random_realm_province = { + limit = { + NOT = { culture = FROM } + num_of_settlements = 1 + any_neighbor_province = { + culture = FROM + religion = FROM + } + } + culture = FROM + religion = FROM + } + } + } + if = { + limit = { + FROM = { + population_and_manpower = 80000 + any_realm_province = { + NOT = { culture = FROM } + num_of_settlements = 1 + any_neighbor_province = { + culture = FROM + religion = FROM + } + } + } + } + FROM = { + random_realm_province = { + limit = { + NOT = { culture = FROM } + num_of_settlements = 1 + any_neighbor_province = { + culture = FROM + religion = FROM + } + } + culture = FROM + religion = FROM + } + } + } + if = { + limit = { + FROM = { + population_and_manpower = 85000 + any_realm_province = { + NOT = { culture = FROM } + num_of_settlements = 1 + any_neighbor_province = { + culture = FROM + religion = FROM + } + } + } + } + FROM = { + random_realm_province = { + limit = { + NOT = { culture = FROM } + num_of_settlements = 1 + any_neighbor_province = { + culture = FROM + religion = FROM + } + } + culture = FROM + religion = FROM + } + } + } + if = { + limit = { + FROM = { + population_and_manpower = 90000 + any_realm_province = { + NOT = { culture = FROM } + num_of_settlements = 1 + any_neighbor_province = { + culture = FROM + religion = FROM + } + } + } + } + FROM = { + random_realm_province = { + limit = { + NOT = { culture = FROM } + num_of_settlements = 1 + any_neighbor_province = { + culture = FROM + religion = FROM + } + } + culture = FROM + religion = FROM + } + } + } + if = { + limit = { + FROM = { + population_and_manpower = 95000 + any_realm_province = { + NOT = { culture = FROM } + num_of_settlements = 1 + any_neighbor_province = { + culture = FROM + religion = FROM + } + } + } + } + FROM = { + random_realm_province = { + limit = { + NOT = { culture = FROM } + num_of_settlements = 1 + any_neighbor_province = { + culture = FROM + religion = FROM + } + } + culture = FROM + religion = FROM + } + } + } + } + + # Change name of Avaria to Hungary if relevant. + if = { + limit = { + FROM = { + culture = hungarian + } + location = { + kingdom = { title = k_hungary } + } + k_hungary = { + OR = { + has_holder = no + holder = FROM + } + } + } + set_global_flag = avar_khaganate_renamed + k_hungary = { + reset_coa = THIS + set_name="" + adjective="" + grant_title = FROM + } + } + + # Spawn event troops based on amount of empty holdings abandoned. + custom_tooltip = { + text = NOMAD_CONVERSION_TROOP_SPAWN + hidden_tooltip = { + location = { + FROM = { + any_realm_province = { + limit = { + NOT = { + any_province_holding = { + NOT = { holding_type = nomad } + } + } + } + FROM = { + spawn_unit = { + province = PREVPREVPREV + owner = THIS + troops = { + light_cavalry = { 140 140 } + horse_archers = { 60 60 } + } + attrition = 1 + merge = yes + } + } + } + } + } + } + } + + if = { + limit = { NOT = { holder = FROM } } + usurp_title = FROM + } + + if = { + limit = { is_capital = no } + make_capital_holding = yes + } + + FROM = { + capital = PREV + + primary_title = { + FROM = { + custom_tooltip = { + text = TT_KHAN_INDEPENDENCE + } + most_prestigious_clan_vassal = { + custom_tooltip = { + text = TT_NEW_KHAN + } + } + } + } + } + + hidden_tooltip = { + if = { + limit = { + capital_scope = { + port = yes + } + } + FROM = { + primary_title = { + create_title = { + tier = DUKE + landless = no + temporary = no + custom_created = yes + culture = FROM + holder = FROM + base_title = THIS + } + } + + create_family_palace = yes + + if = { + limit = { + NOT = { + num_of_government_vassals = { + government = merchant_republic_government + value = 1 + } + } + } + + any_unique_dynasty_vassal = { # gives random vassals a family palace + count = 4 + limit = { + is_female = no + OR = { + is_republic = yes + is_tribal = yes + } + is_patrician = no + prisoner = no + NOT = { trait = incapable } + is_adult = yes + NOT = { + dynasty = none + } + } + + if = { + limit = { is_tribal = yes } + + hidden_tooltip = { + any_demesne_title = { + limit = { + tier = baron + holding_type = tribal + } + convert_to = CITY + refill_holding_levy = yes + + if = { + limit = { + dejure_liege_title = { + holder = PREVPREV + location = { + num_of_empty_holdings = 2 + } + NOT = { + any_direct_de_jure_vassal_title = { + holding_type = castle + } + } + } + } + location = { + build_holding = { + type = castle + } + } + } + if = { + limit = { + dejure_liege_title = { + holder = PREVPREV + location = { + num_of_empty_holdings = 2 + } + NOT = { + any_direct_de_jure_vassal_title = { + holding_type = temple + } + } + } + } + location = { + build_holding = { + type = temple + } + } + } + } + } + } + + create_family_palace = yes + } + } + + set_government_type = merchant_republic_government + } + } + } + + if = { + limit = { + capital_scope = { + port = yes + } + } + FROM = { + set_government_type = merchant_republic_government + } + } + if = { + limit = { + capital_scope = { + port = no + } + } + FROM = { + set_government_type = republic_government + } + } + + FROM = { + chronicle = { + entry = CHRONICLE_NOMAD_FOUNDED_MERCHANT_REPUBLIC + picture = GFX_evt_busy_trading_dock_republic + } + + any_playable_ruler = { + limit = { + NOT = { character = FROM } + ai = no + } + narrative_event = { id = HL.1 } + } + } + } + + revoke_allowed = { + always = no + } + + ai_will_do = { + factor = 1 + + modifier = { + factor = 0 + FROM = { + NOR = { + trait = midas_touched + trait = fortune_builder + trait = greedy + trait = administrator + trait = architect + } + } + } + + modifier = { + factor = 0 + FROM = { + NOT = { num_of_subrealm_cities = 20 } + population_and_manpower = 5000 + } + } + + modifier = { + factor = 0 + FROM = { + NOT = { num_of_subrealm_cities = 10 } + } + } + + modifier = { + factor = 0 + FROM = { + OR = { + trait = ambitious + trait = stubborn + trait = proud + } + } + } + + modifier = { + factor = 0 + FROM = { + holding_diff = { + first_type = city + first_count_vassals = yes + second_type = none + value = 1.5 + } + } + } + + modifier = { + factor = 5.0 + FROM = { + trait = greedy + } + } + + modifier = { + factor = 2.0 + FROM = { + stewardship = 12 + } + } + + modifier = { + factor = 2.0 + FROM = { + stewardship = 14 + } + } + + modifier = { + factor = 2.0 + FROM = { + stewardship = 18 + } + } + + modifier = { + factor = 0 + FROM = { + any_demesne_title = { + OR = { + title = e_mongol_empire + title = e_golden_horde + title = e_chagatai + } + } + } + } + } + } + + # Debug decision to fix holdings with a dead owner + fix_holding_with_dead_owner = { + + from_potential = { + is_playable = yes + ai = no + } + potential = { + holder_scope = { + is_alive = no + } + } + allow = { + holder_scope = { + is_alive = no + } + } + effect = { + if = { + limit = { + location = { + holder_scope = { + is_alive = yes + } + } + } + location = { + holder_scope = { + ROOT = { + grant_title = PREV + } + } + } + break = yes + } + grant_title = FROM + } + + revoke_allowed = { + always = no + } + + ai_will_do = { + factor = 0 + } + } +} \ No newline at end of file diff --git a/LCDA/decisions/sunset_invasion.txt b/LCDA/decisions/sunset_invasion.txt new file mode 100644 index 0000000..0a22e28 --- /dev/null +++ b/LCDA/decisions/sunset_invasion.txt @@ -0,0 +1,78 @@ +# Targetted decisions are possible vs _all_ other characters and shown are in the Diplomacy View, not the Intrigue View. The taker is in the FROM scope. +# +# filter = [self/court/home_court/vassals/sub_realm/realm/dynasty/all] (self MUST be set for decisions targetting only the taker, the other filter types can be set to lessen CPU load) +# ai_target_filter = [self/court/home_court/vassals/sub_realm/realm/dynasty/all] (which characters for which the AI evaluates the decision.) +# court: all characters in the AI's host court, including prisoners, and characters currently away (wards, prisoners, etc) +# home_court: all characters in the AI's home court, including prisoners, and characters currently away (wards, prisoners, etc) +# vassals: direct vassal rulers of the AI's employer +# sub_realm: all characters below the AI's employer +# realm: all characters in the same top realm as the AI +# dynasty: all members of the same dynasty (including the dead!) +# rivals: your rivals plus any character you have an opinion modifier with 'crime = yes' set (the same set of characters the 'is_foe' trigger evaluates) +# all: all living characters (Avoid if possible. VERY CPU-HEAVY!) +# + +targetted_decisions = { + + vassal_sacrifice_decision = { + only_playable = yes + + ai_target_filter = home_court + + from_potential = { + is_playable = yes + OR = { + religion = aztec + religion = aztec_reformed + } + } + + potential = { + prisoner = yes + is_adult = yes + host = { character = FROM } + } + + allow = { + NOT = { diplomatic_immunity = yes } + prisoner = yes + } + + effect = { + any_liege = { + limit = { + ai = no + NOT = { character = FROM } + } + character_event = { id = SSI.60 } + } + hidden_tooltip = { + FROM = { + character_event = { id = SSI.72 } + } + if = { + limit = { + controls_religion = yes + NOR = { + religion = aztec + religion = aztec_reformed + } + FROM = { ai = no } + } + FROM = { set_character_flag = achievement_holy_smoke } + } + } + death = { + death_reason = death_execution_aztec_sacrifice + killer = FROM + } + } + revoke_allowed = { + always = no + } + ai_will_do = { + factor = 1 + } + } + +} \ No newline at end of file diff --git a/LCDA/decisions/title_decisions.txt b/LCDA/decisions/title_decisions.txt new file mode 100644 index 0000000..593d0ac --- /dev/null +++ b/LCDA/decisions/title_decisions.txt @@ -0,0 +1,307 @@ +# Title decisions are possible vs _all_ titles and are shown in the Title Diplomacy View, not the Intrigue View. The taker is in the FROM scope. +# +# filter = [capital/primary_title/owned/vassal_owned/sub_realm_owned/realm_owned/dynasty_owned/all] +# ai_target_filter = [capital/primary_title/owned/vassal_owned/sub_realm_owned/realm_owned/dynasty_owned/all] (which titles for which the AI evaluates the decision.) +# owned: all titles owned by the AI +# vassal_owned: all titles owned by direct vassal rulers of the AI's employer +# sub_realm_owned: all titles below the AI's employer +# realm_owned: all titles in the same top realm as the AI +# dynasty_owned: all titles owned by members of the same dynasty +# all: all titles (Avoid if possible. VERY CPU-HEAVY!) +# + +title_decisions = { + abandon_province = { + only_playable = yes + filter = sub_realm_owned + ai_target_filter = sub_realm_owned + + from_potential = { + is_nomadic = yes + has_dlc = "Horse Lords" + } + + potential = { + tier = COUNT + location = { + owner = { + same_realm = FROM + } + any_neighbor_province = { + owner = { + NOT = { same_realm = FROM } + } + } + } + } + + allow = { + location = { + NOT = { num_of_settlements = 1 } + } + has_siege = no + FROM = { + war = no + } + location = { + NOT = { has_province_modifier = nomads_exploited_land } + } + } + effect = { + holder_scope = { + capital_holding = { + add_holding_modifier = { + modifier = nomad_population_boom + years = 8 + stacking = yes + } + } + hidden_tooltip = { + top_liege = { + if = { + limit = { NOT = { character = PREV } } + capital_holding = { + add_holding_modifier = { + modifier = nomad_population_boom_spillover + years = 8 + stacking = yes + } + } + } + any_vassal = { + limit = { + NOT = { character = PREVPREV } + clan = yes + } + capital_holding = { + add_holding_modifier = { + modifier = nomad_population_boom_spillover + years = 8 + stacking = yes + } + } + } + } + } + } + location = { + random_neighbor_province = { + limit = { + owner = { + NOT = { + same_realm = FROM + } + } + } + owner = { + ROOT = { + grant_title = PREV + } + } + } + } + location = { + add_province_modifier = { + modifier = nomads_exploited_land + years = 8 + } + } + } + revoke_allowed = { + always = no + } + ai_will_do = { + factor = 0 + } + } + + set_crown_focus = { # High Prio version + only_playable = yes + filter = owned + ai_target_filter = owned + is_high_prio = yes + + from_potential = { + is_playable = yes + has_dlc = "Reapers" + is_nomadic = no + higher_tier_than = COUNT + NOT = { + any_demesne_province = { + has_province_flag = crown_focus_province + } + } + } + + potential = { + owner = { character = FROM } + tier = count + } + + allow = { + hidden_tooltip = { + OR = { + FROM = { + ai = no + } + FROM = { + NOT = { + any_demesne_province = { + has_province_flag = crown_focus_province + } + } + } + } + } + + location = { + capital_holding = { + NOR = { + has_siege = yes + is_occupied = yes + } + } + } + + FROM = { + OR = { + AND = { + independent = yes + higher_tier_than = COUNT + } + AND = { + independent = no + tier = DUKE + realm_size = 35 + } + AND = { + independent = no + tier = KING + realm_size = 55 + } + AND = { + independent = no + OR = { + is_merchant_republic = yes + is_republic = yes + } + } + } + } + } + + effect = { + FROM = { + any_demesne_province = { + limit = { + has_province_flag = crown_focus_province + } + clr_province_flag = crown_focus_province + } + } + location = { set_province_flag = crown_focus_province } + } + + revoke_allowed = { + always = no + } + + ai_will_do = { + factor = 1 + } + } + + move_crown_focus = { + only_playable = yes + filter = owned + ai_target_filter = owned + + from_potential = { + is_playable = yes + has_dlc = "Reapers" + is_nomadic = no + higher_tier_than = COUNT + any_demesne_province = { + has_province_flag = crown_focus_province + } + } + + potential = { + owner = { character = FROM } + tier = count + NOT = { location = { has_province_flag = crown_focus_province } } + } + + allow = { + hidden_tooltip = { + OR = { + FROM = { + ai = no + } + FROM = { + NOT = { + any_demesne_province = { + has_province_flag = crown_focus_province + } + } + } + } + } + + location = { + capital_holding = { + NOR = { + has_siege = yes + is_occupied = yes + } + } + } + + FROM = { + OR = { + AND = { + independent = yes + higher_tier_than = COUNT + } + AND = { + independent = no + tier = DUKE + realm_size = 35 + } + AND = { + independent = no + tier = KING + realm_size = 55 + } + AND = { + independent = no + OR = { + is_merchant_republic = yes + is_republic = yes + } + } + } + } + } + + effect = { + FROM = { + any_demesne_province = { + limit = { + has_province_flag = crown_focus_province + } + clr_province_flag = crown_focus_province + } + } + location = { set_province_flag = crown_focus_province } + } + + revoke_allowed = { + always = no + } + + ai_will_do = { + factor = 1 + } + } +} \ No newline at end of file diff --git a/LCDA/decisions/vassal_decisions.txt b/LCDA/decisions/vassal_decisions.txt new file mode 100644 index 0000000..1a2fd02 --- /dev/null +++ b/LCDA/decisions/vassal_decisions.txt @@ -0,0 +1,544 @@ +# Targeted decisions are possible vs _all_ other characters and shown are in the Diplomacy View, not the Intrigue View. The taker is in the FROM scope. +# +# filter = [self/court/home_court/vassals/sub_realm/realm/dynasty/all] ('self' MUST be set for decisions targeting only the taker, the other filter types can be set to lessen CPU load) +# ai_target_filter = [self/court/home_court/vassals/sub_realm/realm/dynasty/all] (which characters for which the AI evaluates the decision.) +# court: all characters in the AI's host court, including prisoners, and characters currently away (wards, prisoners, etc) +# home_court: all characters in the AI's home court, including prisoners, and characters currently away (wards, prisoners, etc) +# vassals: direct vassal rulers of the AI's employer +# sub_realm: all characters below the AI's employer +# realm: all characters in the same top realm as the AI +# dynasty: all members of the same dynasty +# rivals: your rivals plus any character you have an opinion modifier with 'crime = yes' set (the same set of characters the 'is_foe' trigger evaluates) +# all: all living characters (Avoid if possible. VERY CPU-HEAVY!) +# + + +targetted_decisions = { + + vassal_fatwa_decision = { + only_playable = yes + filter = vassals # Only those under me + ai_target_filter = vassals # Only those under me + + from_potential = { + is_playable = yes + uses_decadence = yes + any_courtier = { + has_job_title = job_spiritual + uses_decadence = yes + } + } + + potential = { + vassal_of = FROM + is_ruler = yes + age = 16 + is_landed = yes + prisoner = no + uses_decadence = yes + decadence = 40 + NOT = { piety = 100 } + NOT = { dynasty = FROM } + NOT = { has_job_title = job_spiritual } + NOT = { has_character_modifier = fatwa_timer } + } + allow = { + NOT = { FROM = { decadence = 40} } + FROM = { piety = 100 } + } + effect = { + add_character_modifier = { + name = fatwa_timer + duration = 1140 + hidden = yes + } + FROM = { + any_courtier = { + limit = { has_job_title = job_spiritual } + character_event = { id = 88750 days = 3 tooltip = "EVTTOOLTIP88750" } + } + } + hidden_tooltip = { + FROM = { + character_event = { id = 88754 } + } + } + } + revoke_allowed = { + always = no + } + ai_will_do = { + factor = 1 + modifier = { + factor = 0 + reverse_opinion = { who = FROM value = 40 } + } + } + } + + vassal_castrate_decision = { + only_playable = yes + filter = court + ai_target_filter = court + + from_potential = { + has_dlc = "Legacy of Rome" + is_playable = yes + culture_group = byzantine + } + + potential = { + host = { character = FROM } + prisoner = yes + is_female = no + NOT = { trait = eunuch } + } + allow = { + prisoner = yes + } + effect = { + hidden_tooltip = { + if = { + limit = { age = 16} + FROM = { + character_event = { id = LoR.832 } + } + } + if = { + limit = { NOT = { age = 16 } } + FROM = { + character_event = { id = LoR.834 } + } + } + } + character_event = { id = LoR.833 tooltip = "EVTTOOLTIPLoR.833" } + add_trait = eunuch + if = { + limit = { + has_game_rule = { + name = punishment_release_prisoner + value = on + } + } + prisoner = no + } + opinion = { + modifier = opinion_castrated_me + who = FROM + } + FROM = { + if = { + limit = { NOT = { trait = cruel } } + random = { + chance = 25 + add_trait = cruel + hidden_tooltip = { + character_event = { id = 38259 } + } + } + } + piety = -50 + } + hidden_tooltip = { + mother = { + opinion = { + modifier = opinion_castrated_close_kin + who = FROM + } + } + father = { + opinion = { + modifier = opinion_castrated_close_kin + who = FROM + } + } + spouse = { + opinion = { + modifier = opinion_castrated_close_kin + who = FROM + } + } + any_child = { + opinion = { + modifier = opinion_castrated_close_kin + who = FROM + } + } + if = { + limit = { + FROM = { + NOT = { dynasty = ROOT } + NOT = { sibling = ROOT } + } + } + any_sibling = { + opinion = { + modifier = opinion_castrated_close_kin + who = FROM + } + } + any_dynasty_member = { + opinion = { + modifier = opinion_castrated_family + who = FROM + } + } + } + FROM = { + remove_opinion = { who = ROOT modifier = opinion_traitor } + remove_opinion = { who = ROOT modifier = opinion_rebel_traitor } + remove_opinion = { who = ROOT modifier = opinion_dishonorable } + } + } + } + revoke_allowed = { + always = no + } + ai_will_do = { + factor = 1 + + modifier = { + factor = 0 + OR = { + reverse_opinion = { who = FROM value = 40 } + FROM = { NOT = { piety = 100 } } + FROM = { LIEGE = { dynasty = ROOT } } + } + } + modifier = { + factor = 0 + FROM = { trait = kind } + } + modifier = { + factor = 0.2 # Less likely to do it + } + modifier = { + factor = 1.2 + FROM = { + OR = { + trait = cruel + trait = impaler + } + } + } + } + } + + vassal_blinding_decision = { + only_playable = yes + filter = court + ai_target_filter = court + + from_potential = { + has_dlc = "Legacy of Rome" + is_playable = yes + culture_group = byzantine + } + + potential = { + host = { character = FROM } + prisoner = yes + NOT = { trait = blinded } + } + allow = { + prisoner = yes + } + effect = { + hidden_tooltip = { + FROM = { + character_event = { id = LoR.830 } + } + } + character_event = { id = LoR.831 tooltip = "EVTTOOLTIPLoR.831" } + if = { + limit = { + trait = one_eyed + } + remove_trait = one_eyed + } + add_trait = blinded + if = { + limit = { + has_game_rule = { + name = punishment_release_prisoner + value = on + } + } + prisoner = no + } + opinion = { + modifier = opinion_blinded_me + who = FROM + } + FROM = { + if = { + limit = { NOT = { trait = cruel } } + random = { + chance = 25 + add_trait = cruel + hidden_tooltip = { + character_event = { id = 38259 } + } + } + } + piety = -50 + } + hidden_tooltip = { + mother = { + opinion = { + modifier = opinion_blinded_close_kin + who = FROM + } + } + father = { + opinion = { + modifier = opinion_blinded_close_kin + who = FROM + } + } + spouse = { + opinion = { + modifier = opinion_blinded_close_kin + who = FROM + } + } + any_child = { + opinion = { + modifier = opinion_blinded_close_kin + who = FROM + } + } + if = { + limit = { + FROM = { + NOT = { dynasty = ROOT } + NOT = { sibling = ROOT } + } + } + any_sibling = { + opinion = { + modifier = opinion_blinded_close_kin + who = FROM + } + } + any_dynasty_member = { + opinion = { + modifier = opinion_blinded_family + who = FROM + } + } + } + FROM = { + remove_opinion = { who = ROOT modifier = opinion_traitor } + remove_opinion = { who = ROOT modifier = opinion_rebel_traitor } + remove_opinion = { who = ROOT modifier = opinion_dishonorable } + } + } + } + revoke_allowed = { + always = no + } + ai_will_do = { + factor = 1 + + modifier = { + factor = 0 + OR = { + reverse_opinion = { who = FROM value = 40 } + FROM = { NOT = { piety = 100 } } + FROM = { LIEGE = { dynasty = ROOT } } + } + } + modifier = { + factor = 0 + FROM = { trait = kind } + } + modifier = { + factor = 0.4 # Less likely to do it + } + modifier = { + factor = 2 + is_pretender = yes + FROM = { + OR = { + is_pretender = yes + is_primary_heir = yes + } + } + } + } + } + + + vassal_zun_judgement_decision = { + only_playable = yes + filter = court + ai_target_filter = court + + from_potential = { + is_playable = yes + OR = { + religion = zun_pagan + religion = zun_pagan_reformed + } + } + + potential = { + vassal_of = FROM + host = { character = FROM } + prisoner = yes + NOT = { has_character_modifier = zun_judgement } + } + allow = { + prisoner = yes + } + effect = { + character_event = { id = CM.15000 days = 1 } + } + revoke_allowed = { + always = no + } + ai_will_do = { + factor = 1 + + modifier = { + factor = 0 + reverse_opinion = { who = FROM value = 40 } + } + modifier = { + factor = 0 + FROM = { trait = kind } + } + modifier = { + factor = 2 + FROM = { trait = cruel } + } + modifier = { + factor = 0.4 # Less likely to do it + } + modifier = { + factor = 2 + is_pretender = yes + FROM = { + OR = { + is_pretender = yes + is_primary_heir = yes + } + } + } + } + } + + prisoner_to_oubilette = { + filter = court + ai_target_filter = court + + from_potential = { + ai = no + } + + potential = { + host = { character = FROM } + prisoner = yes + NOT = { has_character_modifier = the_oubliette } + } + allow = { + prisoner = yes + } + effect = { + add_character_modifier = { + name = the_oubliette + duration = -1 + } + hidden_tooltip = { + remove_character_modifier = the_dungeon + remove_character_modifier = house_arrest + } + } + + revoke_allowed = { + always = no + } + + ai_will_do = { + factor = 0 + } + } + + prisoner_to_dungeon = { + filter = court + ai_target_filter = court + + from_potential = { + ai = no + } + + potential = { + host = { character = FROM } + prisoner = yes + OR = { + has_character_modifier = the_oubliette + has_character_modifier = house_arrest + } + } + allow = { + prisoner = yes + } + effect = { + add_character_modifier = { + name = the_dungeon + duration = -1 + } + hidden_tooltip = { + remove_character_modifier = the_oubliette + remove_character_modifier = house_arrest + } + } + + revoke_allowed = { + always = no + } + + ai_will_do = { + factor = 0 + } + } + + prisoner_to_suite = { + filter = court + ai_target_filter = court + + from_potential = { + ai = no + } + + potential = { + host = { character = FROM } + prisoner = yes + NOT = { has_character_modifier = house_arrest } + } + allow = { + prisoner = yes + } + effect = { + add_character_modifier = { + name = house_arrest + duration = -1 + } + hidden_tooltip = { + remove_character_modifier = the_oubliette + remove_character_modifier = the_dungeon + character_event = { id = ZE.12219 } # Loses pet rat + } + } + + revoke_allowed = { + always = no + } + + ai_will_do = { + factor = 0 + } + } + +} diff --git a/LCDA/events/achievement_events.txt b/LCDA/events/achievement_events.txt new file mode 100644 index 0000000..9d4aa3b --- /dev/null +++ b/LCDA/events/achievement_events.txt @@ -0,0 +1,1156 @@ +################################ +# Steam Achievement Events +################################ + +# Viking Raider +unit_event = { + id = 700 + hide_window = yes + + ai = no + + is_triggered_only = yes + + trigger = { + FROM = { + culture_group = north_germanic + OR = { + religion = norse_pagan + religion = norse_pagan_reformed + } + } + loot = 1000 + } + + immediate = { + FROM = { + if = { + limit = { + NOT = { has_character_flag = achievement_viking_raider } + } + set_character_flag = achievement_viking_raider + } + } + } +} + +# Mr. Doge-Elect +character_event = { + id = 701 + hide_window = yes + + is_triggered_only = yes + + ai = no + + trigger = { + NOT = { has_character_flag = achievement_doge_elect } + } + + immediate = { + set_character_flag = achievement_doge_elect + } +} + +# Empressive +character_event = { + id = 702 + hide_window = yes + + ai = no + only_women = yes + + trigger = { + primary_title = { tier = EMPEROR } + mother_even_if_dead = { + primary_title = { tier = EMPEROR } + } + mother_even_if_dead = { + mother_even_if_dead = { + primary_title = { tier = EMPEROR } + } + } + } + + mean_time_to_happen = { + days = 1 + } + + immediate = { + set_character_flag = achievement_empressive + } +} + +# Black Widow +character_event = { + id = 703 + hide_window = yes + + ai = no + only_women = yes + min_age = 16 + + trigger = { + any_spouse_even_if_dead = { + count = 3 + is_alive = no + killer = { character = ROOT } + } + } + + mean_time_to_happen = { + days = 1 + } + + immediate = { + set_character_flag = achievement_black_widow + } +} + +# The Black Bishop +character_event = { + id = 704 + hide_window = yes + + is_triggered_only = yes + + trigger = { + trait = bad_priest_christian + any_liege = { + ai = no + reverse_has_opinion_modifier = { who = ROOT modifier = opinion_supported_pope } + NOT = { has_character_flag = achievement_black_bishop } + } + } + + immediate = { + any_liege = { + limit = { + ai = no + reverse_has_opinion_modifier = { who = ROOT modifier = opinion_supported_pope } + NOT = { has_character_flag = achievement_black_bishop } + } + set_character_flag = achievement_black_bishop + } + } +} + +# Turbulent Priest +character_event = { + id = 705 + hide_window = yes + + is_triggered_only = yes + religion = catholic + + trigger = { + is_theocracy = yes + killer = { + ai = no + is_liege_of = ROOT + religion = catholic + NOT = { has_character_flag = achievement_turbulent_priest } + } + killer = { + rightful_religious_head_scope = { + ROOT = { + likes_better_than = { + who = PREV + than = PREVPREV + } + } + } + } + } + + immediate = { + killer = { + set_character_flag = achievement_turbulent_priest + } + } +} + +# Full House +character_event = { + id = 706 + hide_window = yes + + is_triggered_only = yes + + trigger = { + OR = { + father = { + ai = no + NOT = { has_character_flag = achievement_full_house } + } + mother = { + ai = no + NOT = { has_character_flag = achievement_full_house } + } + } + } + + immediate = { + + if = { + limit = { + father = { + ai = no + NOT = { has_character_flag = achievement_full_house } + NOT = { check_variable = { which = "bob_saget" value = 4.5 } } + } + } + father = { + change_variable = { which = "bob_saget" value = 1 } + } + } + if = { + limit = { + mother = { + ai = no + NOT = { has_character_flag = achievement_full_house } + NOT = { check_variable = { which = "bob_saget" value = 4.5 } } + } + } + mother = { + change_variable = { which = "bob_saget" value = 1 } + } + } + + if = { + limit = { + father = { + ai = no + NOT = { has_character_flag = achievement_full_house } + check_variable = { which = "bob_saget" value = 4.5 } + } + } + father = { + set_character_flag = achievement_full_house + } + } + if = { + limit = { + mother = { + ai = no + NOT = { has_character_flag = achievement_full_house } + check_variable = { which = "bob_saget" value = 4.5 } + } + } + mother = { + set_character_flag = achievement_full_house + } + } + } +} + +# Keeping it in the Family +character_event = { + id = 707 + hide_window = yes + + is_triggered_only = yes + + trigger = { + trait = inbred + OR = { + father = { + ai = no + NOT = { has_character_flag = achievement_in_the_family } + } + mother = { + ai = no + NOT = { has_character_flag = achievement_in_the_family } + } + } + } + + immediate = { + if = { + limit = { + father = { + ai = no + NOT = { has_character_flag = achievement_in_the_family } + } + } + father = { set_character_flag = achievement_in_the_family } + } + if = { + limit = { + mother = { + ai = no + NOT = { has_character_flag = achievement_in_the_family } + } + } + mother = { set_character_flag = achievement_in_the_family } + } + } +} + +# The Marriage Game +character_event = { + id = 708 + hide_window = yes + + ai = no + + is_triggered_only = yes + + trigger = { + NOT = { has_character_flag = achievement_get_married } + } + + immediate = { + set_character_flag = achievement_get_married + } +} + +# The British Raj +character_event = { + id = 709 + hide_window = yes + + ai = no + religion_group = indian_group + + trigger = { + has_dlc = "Rajas of India" + NOT = { has_character_flag = achievement_the_british_raj } + has_landed_title = e_britannia + } + + mean_time_to_happen = { + days = 1 + } + + immediate = { + set_character_flag = achievement_the_british_raj + } +} + +# Beyond the Indus +character_event = { + id = 710 + + hide_window = yes + + ai = no + + trigger = { + has_dlc = "Rajas of India" + NOT = { has_character_flag = achievement_beyond_the_indus } + NOT = { culture_group = indo_aryan_group } + NOT = { culture_group = dravidian_group } + OR = { + has_landed_title = e_rajastan + has_landed_title = e_bengal + has_landed_title = e_deccan + has_landed_title = e_india + any_realm_title = { + tier = KING + de_jure_liege = e_rajastan + } + any_realm_title = { + tier = KING + de_jure_liege = e_bengal + } + any_realm_title = { + tier = KING + de_jure_liege = e_deccan + } + any_realm_title = { + tier = KING + de_jure_liege = e_india + } + } + } + + mean_time_to_happen = { + days = 1 + } + + immediate = { + set_character_flag = achievement_beyond_the_indus + } +} + +# Great Indian Sultanate +character_event = { + id = 711 + hide_window = yes + + ai = no + religion_group = muslim + + trigger = { + has_dlc = "Rajas of India" + NOT = { has_character_flag = achievement_great_indian_sultanate } + OR = { + AND = { + has_landed_title = e_rajastan + NOT = { + any_independent_ruler = { + any_realm_province = { + county = { empire = { title = e_rajastan } } + NOT = { religion_group = muslim } + } + } + } + } + AND = { + has_landed_title = e_india + NOT = { + any_independent_ruler = { + any_realm_province = { + county = { empire = { title = e_india } } + NOT = { religion_group = muslim } + } + } + } + } + } + } + + mean_time_to_happen = { + days = 1 + } + + immediate = { + set_character_flag = achievement_great_indian_sultanate + } +} + +# Saint Thomas' Dream +character_event = { + id = 712 + hide_window = yes + + ai = no + religion_group = christian + + trigger = { + has_dlc = "Rajas of India" + NOT = { has_character_flag = achievement_saint_thomas_dream } + any_demesne_title = { + higher_tier_than = DUKE + region = world_india + NOT = { + any_independent_ruler = { + any_realm_province = { + county = { + OR = { + kingdom = { title = PREVPREVPREVPREV } + empire = { title = PREVPREVPREVPREV } + } + } + NOT = { religion_group = christian } + } + } + } + } + } + + mean_time_to_happen = { + days = 1 + } + + immediate = { + set_character_flag = achievement_saint_thomas_dream + } +} + +# What Schism? +character_event = { + id = 713 + hide_window = yes + + ai = no + religion_group = indian_group + + trigger = { + has_dlc = "Rajas of India" + NOT = { has_character_flag = achievement_what_schism } + 333 = { # Rome + religion = ROOT + OR = { + owner = { character = ROOT } + owner = { + top_liege = { + character = ROOT + } + } + } + } + 496 = { # Constantinople + religion = ROOT + OR = { + owner = { character = ROOT } + owner = { + top_liege = { + character = ROOT + } + } + } + } + } + + mean_time_to_happen = { + days = 1 + } + + immediate = { + set_character_flag = achievement_what_schism + } +} + +# Red Sea Resort +character_event = { + id = 714 + hide_window = yes + + ai = no + religion_group = indian_group + + trigger = { + has_dlc = "Rajas of India" + NOT = { has_character_flag = achievement_red_sea_resort } + 719 = { # Mecca + religion = ROOT + OR = { + owner = { character = ROOT } + owner = { + top_liege = { + character = ROOT + } + } + } + } + } + + mean_time_to_happen = { + days = 1 + } + + immediate = { + set_character_flag = achievement_red_sea_resort + } +} + +# Looking East and West +character_event = { + id = 715 + hide_window = yes + + ai = no + + trigger = { + has_dlc = "Rajas of India" + NOT = { has_character_flag = achievement_looking_east_and_west } + has_landed_title = e_persia + OR = { + has_landed_title = e_rajastan + has_landed_title = e_india + } + } + + mean_time_to_happen = { + days = 1 + } + + immediate = { + set_character_flag = achievement_looking_east_and_west + } +} + +# Medieval Schlieffen +character_event = { + id = 716 + hide_window = yes + + ai = no + + trigger = { + NOT = { + culture = mongol + } + OR = { + any_war = { + defender = { character = ROOT } + attacker = { + culture = mongol + } + } + any_war = { + attacker = { character = ROOT } + defender = { + culture = mongol + } + } + } + OR = { + any_war = { + defender = { character = ROOT } + attacker = { culture = nahuatl } + } + any_war = { + attacker = { character = ROOT } + defender = { culture = nahuatl } + } + } + } + + mean_time_to_happen = { + days = 1 + } + + immediate = { + set_character_flag = achievement_medieval_schlieffen + } +} + +# I'm sorry, Desiderata +character_event = { + id = 717 + hide_window = yes + + is_triggered_only = yes + + trigger = { + culture = lombard + is_female = yes + father = { + primary_title = { higher_tier_than = DUKE } + } + FROM = { + ai = no + } + } + + immediate = { + FROM = { + set_character_flag = achievement_desiderata + } + } +} + +# Casanova +character_event = { + id = 718 + hide_window = yes + + is_triggered_only = yes + + ai = no + + trigger = { + NOT = { has_character_flag = achievement_casanova } + } + + immediate = { + if = { + limit = { + NOT = { check_variable = { which = "casanova_check" value = 9.5 } } + } + change_variable = { which = "casanova_check" value = 1 } + } + if = { + limit = { + check_variable = { which = "casanova_check" value = 9.5 } + } + set_character_flag = achievement_casanova + } + } +} + +# Mudslinger +character_event = { + id = 719 + hide_window = yes + + is_triggered_only = yes + + ai = no + + trigger = { + NOT = { has_character_flag = achievement_mudslinger } + } + + immediate = { + if = { + limit = { + NOT = { check_variable = { which = "mudslinger_check" value = 19.5 } } + } + change_variable = { which = "mudslinger_check" value = 1 } + } + if = { + limit = { + check_variable = { which = "mudslinger_check" value = 19.5 } + } + set_character_flag = achievement_mudslinger + } + } +} + +# Bring it On +character_event = { + id = 720 + hide_window = yes + + is_triggered_only = yes + + ai = no + + trigger = { + NOT = { has_character_flag = achievement_bring_it_on } + } + + immediate = { + if = { + limit = { + NOT = { check_variable = { which = bring_it_on_check value = 6.5 } } + } + change_variable = { which = bring_it_on_check value = 1 } + } + if = { + limit = { + check_variable = { which = bring_it_on_check value = 6.5 } + } + set_character_flag = achievement_bring_it_on + } + } +} + +# Family Bliss +character_event = { + id = 721 + hide_window = yes + + ai = no + + trigger = { + NOT = { has_character_flag = achievement_family_bliss } + any_close_relative = { + count = 6 + is_friend = ROOT + } + } + + mean_time_to_happen = { + days = 1 + } + + immediate = { + set_character_flag = achievement_family_bliss + } +} + +# Until Death Do Us Part +character_event = { + id = 722 + hide_window = yes + is_triggered_only = yes + + trigger = { + killer = { + ai = no + any_spouse = { + character = ROOT + } + } + } + + immediate = { + killer = { + if = { + limit = { + NOT = { has_character_flag = achievement_spouse_killer } + } + set_character_flag = achievement_spouse_killer + } + } + } +} + +# Who needs Vasco da Gama? Own all the silk route ports in india as a European merchant republic. +character_event = { + id = 723 + hide_window = yes + + ai = no + + trigger = { + NOT = { has_character_flag = achievement_no_vasco_da_gama } + has_dlc = "Horse Lords" + is_patrician = yes + capital_scope = { + OR = { + region = world_europe + region = world_asia_minor + } + } + completely_controls = c_debul + completely_controls = c_navasarika + completely_controls = c_mahoyadapuram + completely_controls = c_vijayawada + completely_controls = c_candradvipa + } + + mean_time_to_happen = { + days = 1 + } + + immediate = { + set_character_flag = achievement_no_vasco_da_gama + } +} + +# Pax Mongolica +character_event = { + id = 724 + hide_window = yes + + ai = no + + trigger = { + NOT = { has_character_flag = achievement_pax_mongolica } + any_demesne_province = { + count = 3 + trade_post_has_building = tr_silk_road_3 + } + } + + mean_time_to_happen = { + days = 1 + } + + immediate = { + set_character_flag = achievement_pax_mongolica + } +} + +# Just don't point that pointy thing at me! Achievement + flag clearing +character_event = { + id = 725 + hide_window = yes + + is_triggered_only = yes + + immediate = { + if = { + limit = { + FROM = { + has_character_flag = is_mercenary_leader + } + ai = no + } + set_character_flag = achievement_pointy_thing + } + clr_character_flag = is_mercenary_leader + clr_character_flag = raiding_adventurer + } +} + +# I am the law +character_event = { + id = 726 + hide_window = yes + + is_triggered_only = yes + + trigger = { + FROM = { + ai = no + NOT = { character = ROOT } + } + } + + immediate = { + FROM = { set_character_flag = achievement_i_am_the_law } + } +} + +# Peace in our time +character_event = { + id = 727 + hide_window = yes + + is_triggered_only = yes + + trigger = { + ai = no + } + + immediate = { + set_character_flag = achievement_peace_in_our_time + } +} + +# Somebody paid to win +character_event = { + id = 728 + hide_window = yes + + is_triggered_only = yes + + immediate = { + set_character_flag = achievement_someone_paid_to_win + } +} + +# Pay to win (Victory) +character_event = { + id = 729 + hide_window = yes + + is_triggered_only = yes + + trigger = { + FROM = { + ai = no + owns_mercenary_units = yes + } + } + + immediate = { + FROM = { set_character_flag = achievement_pay_to_win } + } +} + +# Pay to win (Reverse Demands) +character_event = { + id = 730 + hide_window = yes + + is_triggered_only = yes + + trigger = { + ai = no + owns_mercenary_units = yes + } + + immediate = { + set_character_flag = achievement_pay_to_win + } +} + +# Eternity Denied (on death check) +character_event = { + id = 731 + hide_window = yes + + is_triggered_only = yes + + trigger = { + has_dlc = "Reapers" + immortal = yes + killer = { + has_dlc = "Reapers" + ai = no + NOT = { has_character_flag = achievement_eternity_denied } + } + } + + immediate = { + killer = { set_character_flag = achievement_eternity_denied } + } +} + +# Papal Mache ping (on death check) +character_event = { + id = 732 + hide_window = yes + + is_triggered_only = yes + + trigger = { + has_dlc = "Reapers" + OR = { + primary_title = { title = k_papal_state } + primary_title = { title = d_fraticelli } + has_landed_title = d_sunni + has_landed_title = d_shiite + has_landed_title = d_ibadi + has_landed_title = d_kharijite + } + death_reason = death_execution_elephants + killer = { + ai = no + NOT = { has_character_flag = achievement_papal_mache } + } + } + + immediate = { + killer = { set_character_flag = achievement_papal_mache } + } +} + +# Hospitable, build a hospital +character_event = { + id = 733 + hide_window = yes + + ai = no + is_triggered_only = yes + + trigger = { + has_dlc = "Reapers" + NOT = { has_character_flag = achievement_hospitable } + } + + immediate = { + set_character_flag = achievement_hospitable + } +} + +# Aptly Named (on death check) +character_event = { + id = 734 + hide_window = yes + + is_triggered_only = yes + ai = no + + trigger = { + is_ironman = yes + has_dlc = "Reapers" + trait = has_bubonic_plague + death_reason = death_trait + } + + immediate = { + set_global_flag = achievement_aptly_named + } +} + +# Dark Lord. Become Grandmaster of any devil-worshiper society +character_event = { + id = 735 + hide_window = yes + + is_triggered_only = yes + ai = no + + trigger = { + NOT = { has_character_flag = achievement_dark_lord } + is_devil_worshiper_trigger = yes + is_society_grandmaster = yes + } + immediate = { + set_character_flag = achievement_dark_lord + } +} + +# Birthright. As the Anti-christ/spawn of satan, become Grand master of the Satanists +character_event = { + id = 736 + hide_window = yes + + is_triggered_only = yes + ai = no + + trigger = { + NOT = { has_character_flag = achievement_birthright } + OR = { + has_character_flag = demon_child_non_pagan + has_character_flag = demon_child + } + society_member_of = the_satanists + is_society_grandmaster = yes + } + immediate = { + set_character_flag = achievement_birthright + } +} + +# Jihad Sultan. As a Muslim King or higher, become Grandmaster of the Assassins +character_event = { + id = 737 + hide_window = yes + + is_triggered_only = yes + ai = no + + trigger = { + NOT = { has_character_flag = achievement_jihad_sultan } + society_member_of = the_assassins + is_society_grandmaster = yes + OR = { + tier = emperor + tier = king + } + } + immediate = { + set_character_flag = achievement_jihad_sultan + } +} + +# Black Pope. Have a priest you corrupted (as a Satanist) become Pope +character_event = { + id = 738 + hide_window = yes + + is_triggered_only = yes + + trigger = { + has_character_flag = corrupted_by_player + FROM = { title = k_papal_state } + } + immediate = { + set_global_flag = achievement_black_pope + } +} + +# Got Land. Start as the holder of gotland and form Scandinavia +character_event = { + id = 739 + hide_window = yes + + is_triggered_only = yes + ai = no + + trigger = { + NOT = { has_character_flag = achievement_got_land } + FROM = { title = e_scandinavia } + } + immediate = { + set_character_flag = achievement_got_land + } +} + +# Unwelcome Visitors. As an assassin, assassinate a Crusader King in the Holy land. +character_event = { + id = 740 + hide_window = yes + + is_triggered_only = yes + + trigger = { + #is_ironman = yes + killer = { + ai = no + society_member_of = the_assassins + NOT = { has_character_flag = achievement_unwelcome_visitors } + } + tier = king + religion_group = christian + OR = { + AND = { + any_war = { using_cb = crusade } + crusade_target = { + region = world_middle_east + } + } + any_realm_title = { + region = world_middle_east + } + location = { + region = world_middle_east + } + } + } + immediate = { + killer = { + set_character_flag = achievement_unwelcome_visitors + } + } +} \ No newline at end of file diff --git a/LCDA/events/adventures_the_old_gods.txt b/LCDA/events/adventures_the_old_gods.txt new file mode 100644 index 0000000..9604b45 --- /dev/null +++ b/LCDA/events/adventures_the_old_gods.txt @@ -0,0 +1,1410 @@ +######################################################### +# +# Landless Character Adventures for The Old Gods DLC +# ( TOG.1200 to TOG.1499) +# +# +######################################################### + +# Written by Henrik Fåhraeus + +namespace = TOG + +# An ambitious landless claimant begins to plan an adventure for the title +character_event = { + id = TOG.1200 + + hide_window = yes # Only fires for unplayable landless characters + + min_age = 16 + max_age = 50 + capable_only = yes + prisoner = no + + trigger = { + has_dlc = "The Old Gods" + + NOT = { + has_game_rule = { + name = adventurers + value = none + } + } + + OR = { + is_female = no + liege = { has_law = status_of_women_4 } + liege = { has_law = true_cognatic_succession } + liege = { religion = cathar } + liege = { religion = messalian } + has_game_rule = { + name = gender + value = all + } + } + + is_ruler = no + + NOT = { any_spouse = { is_ruler = yes } } + +# year = 867 + + any_claim = { + has_holder = yes + holder_scope = { + independent = yes # Only do this vs independent rulers + NAND = { + government = nomadic_government + OR = { + clan_title = { + title = PREVPREV + } + primary_title = { + title = PREVPREV + } + } + } + OR = { + # Don't target my liege unless I am ambitious + NOT = { is_vassal_or_below = ROOT } + ROOT = { trait = ambitious } + } + OR = { + is_merchant_republic = no + NOT = { + capital_holding = { + de_jure_liege_or_above = PREVPREV + } + } + } + ROOT = { + NOR = { + obedient = PREV + non_interference = PREV + } + } + } + OR = { + tier = KING + holder_scope = { tier = PREV } + } + } + + NOT = { # Somewhat clunky way of checking that the character does not stand to inherit any titles + any_heir_title = { + always = yes + } + } + + diplomacy = 7 + + health = 4 + NOT = { trait = content } + NOT = { trait = craven } + + NOT = { has_character_modifier = planning_claimant_adventure } + } + + mean_time_to_happen = { + years = 50 + modifier = { + factor = 0.2 + has_character_flag = flag_denied_title + } + modifier = { + factor = 0.5 + trait = ambitious + } + modifier = { + factor = 0.2 + has_character_flag = demon_child_non_pagan + } + modifier = { + factor = 0.5 + trait = envious + } + modifier = { + factor = 0.75 + diplomacy = 12 + } + modifier = { + factor = 0.75 + trait = brave + } + modifier = { + factor = 0.75 + trait = born_in_the_purple + } + modifier = { + factor = 0.85 + trait = proud + } + modifier = { + factor = 0.85 + trait = sayyid + } + modifier = { + factor = 1.5 + trait = slothful + } + modifier = { + factor = 1.5 + trait = humble + } + modifier = { + factor = 2.0 + trait = kind + } + modifier = { + factor = 50 + has_game_rule = { + name = adventurers + value = rare + } + } + } + + immediate = { + random_claim = { + limit = { + has_holder = yes + holder_scope = { + independent = yes # Only do this vs independent rulers + NAND = { + government = nomadic_government + OR = { + clan_title = { + title = PREVPREV + } + primary_title = { + title = PREVPREV + } + } + } + OR = { + # Don't target my liege unless I am ambitious + NOT = { is_vassal_or_below = ROOT } + ROOT = { trait = ambitious } + } + OR = { + is_merchant_republic = no + NOT = { + capital_holding = { + de_jure_liege_or_above = PREVPREV + } + } + } + } + OR = { + tier = KING + holder_scope = { tier = PREV } + } + } + + holder_scope = { + reverse_opinion = { + who = ROOT + years = 3 + modifier = opinion_claimant_adventure_target + } + character_event = { + id = TOG.1201 # Warn the target + } + } + ROOT = { + add_character_modifier = { + name = planning_claimant_adventure + hidden = yes + days = 730 + } + character_event = { + id = TOG.1202 # Fire the attack + days = 730 + } + } + + if = { + limit = { + holder_scope = { + is_vassal_or_below = ROOT + } + } + ROOT = { banish = yes } # Can't prepare for the attack from within the realm + } + } + + end_inaccessibility_effect = yes #removes in hiding or in_seclusion + + set_character_flag = do_not_disturb + + character_event = { id = TOG.1215 days = 730 } + } + + option = { + name = OK + } +} + +character_event = { + id = TOG.1201 + desc = EVTDESC_TOG_1201 + picture = GFX_evt_crusaders + border = GFX_event_normal_frame_war + + is_triggered_only = yes + + immediate = { + opinion = { + who = FROM + modifier = opinion_targeted_by_adventurer + months = 24 + } + } + + option = { + name = "EVTOPTA_TOG_1201" + } +} + +# An ambitious landless claimant starts an adventure for the title +character_event = { + id = TOG.1202 + + hide_window = yes # Only fires for unplayable landless characters + + is_triggered_only = yes + + capable_only = yes + prisoner = no + + trigger = { + is_ruler = no + NOT = { any_spouse = { is_ruler = yes } } + + any_claim = { + has_holder = yes + holder_scope = { + NOT = { + defending_against_claimant = { + character = ROOT + title = PREV + } + } + independent = yes # Only do this vs independent rulers + NAND = { + government = nomadic_government + OR = { + clan_title = { + title = PREVPREV + } + primary_title = { + title = PREVPREV + } + } + } + reverse_has_opinion_modifier = { + who = ROOT + modifier = opinion_claimant_adventure_target + } + OR = { + # Don't target my liege unless I am ambitious + NOT = { is_vassal_or_below = ROOT } + ROOT = { trait = ambitious } + } + OR = { + is_merchant_republic = no + NOT = { + capital_holding = { + de_jure_liege_or_above = PREVPREV + } + } + } + ROOT = { + NOR = { + obedient = PREV + non_interference = PREV + } + } + } + OR = { + tier = KING + holder_scope = { tier = PREV } + } + } + + NOT = { # Somewhat clunky way of checking that the character does not stand to inherit any titles + any_heir_title = { + always = yes + } + } + } + + immediate = { + + wealth = 500 + clr_character_flag = do_not_disturb + + liege = { + character_event = { + id = TOG.1203 + days = 1 + } + } + + liege = { + capital_scope = { + ROOT = { + set_defacto_liege = ROOT + create_title = { + tier = DUKE + landless = yes + temporary = yes + adventurer = yes + culture = ROOT + name = "CLAIMANT_ADVENTURE" + holder = ROOT + } + + random_claim = { + limit = { + has_holder = yes + holder_scope = { + independent = yes # Only do this vs independent rulers + reverse_has_opinion_modifier = { + who = ROOT + modifier = opinion_claimant_adventure_target + } + OR = { + # Don't target my liege unless I am ambitious + NOT = { is_vassal_or_below = ROOT } + ROOT = { trait = ambitious } + } + OR = { + is_merchant_republic = no + NOT = { + capital_holding = { + de_jure_liege_or_above = PREVPREV + } + } + } + } + OR = { + tier = KING + holder_scope = { tier = PREV } + } + } + holder_scope = { + ROOT = { + set_character_flag = claimant_adventurer + random_list = { + 34 = { + spawn_unit = { + province = PREVPREVPREVPREV + home = PREVPREVPREVPREV + owner = THIS + #leader = THIS + match_character = PREV + match_mult = 0.125 + match_min = 300 + match_max = 5000 + attrition = 0.25 + earmark = claimant_adventure + } + spawn_unit = { + province = PREVPREVPREVPREV + home = PREVPREVPREVPREV + owner = THIS + match_character = PREV + match_mult = 0.125 + match_min = 300 + match_max = 5000 + attrition = 0.25 + earmark = claimant_adventure + } + spawn_unit = { + province = PREVPREVPREVPREV + home = PREVPREVPREVPREV + owner = THIS + match_character = PREV + match_mult = 0.125 + match_min = 300 + match_max = 5000 + attrition = 0.25 + earmark = claimant_adventure + } + spawn_unit = { + province = PREVPREVPREVPREV + home = PREVPREVPREVPREV + owner = THIS + match_character = PREV + match_mult = 0.125 + match_min = 300 + match_max = 5000 + attrition = 0.25 + earmark = claimant_adventure + } + spawn_unit = { + province = PREVPREVPREVPREV + home = PREVPREVPREVPREV + owner = THIS + match_character = PREV + match_mult = 0.125 + match_min = 300 + match_max = 5000 + attrition = 0.25 + earmark = claimant_adventure + } + spawn_unit = { + province = PREVPREVPREVPREV + home = PREVPREVPREVPREV + owner = THIS + match_character = PREV + match_mult = 0.125 + match_min = 300 + match_max = 5000 + attrition = 0.25 + earmark = claimant_adventure + } + } + 33 = { + spawn_unit = { + province = PREVPREVPREVPREV + home = PREVPREVPREVPREV + owner = THIS + #leader = THIS + match_character = PREV + match_mult = 0.1 + match_min = 300 + match_max = 5000 + attrition = 0.25 + earmark = claimant_adventure + } + spawn_unit = { + province = PREVPREVPREVPREV + home = PREVPREVPREVPREV + owner = THIS + match_character = PREV + match_mult = 0.1 + match_min = 300 + match_max = 5000 + attrition = 0.25 + earmark = claimant_adventure + } + spawn_unit = { + province = PREVPREVPREVPREV + home = PREVPREVPREVPREV + owner = THIS + match_character = PREV + match_mult = 0.1 + match_min = 300 + match_max = 5000 + attrition = 0.25 + earmark = claimant_adventure + } + spawn_unit = { + province = PREVPREVPREVPREV + home = PREVPREVPREVPREV + owner = THIS + match_character = PREV + match_mult = 0.1 + match_min = 300 + match_max = 5000 + attrition = 0.25 + earmark = claimant_adventure + } + spawn_unit = { + province = PREVPREVPREVPREV + home = PREVPREVPREVPREV + owner = THIS + match_character = PREV + match_mult = 0.1 + match_min = 300 + match_max = 5000 + attrition = 0.25 + earmark = claimant_adventure + } + spawn_unit = { + province = PREVPREVPREVPREV + home = PREVPREVPREVPREV + owner = THIS + match_character = PREV + match_mult = 0.1 + match_min = 300 + match_max = 5000 + attrition = 0.25 + earmark = claimant_adventure + } + } + 33 = { + spawn_unit = { + province = PREVPREVPREVPREV + home = PREVPREVPREVPREV + owner = THIS + #leader = THIS + match_character = PREV + match_mult = 0.075 + match_min = 300 + match_max = 5000 + attrition = 0.25 + earmark = claimant_adventure + } + spawn_unit = { + province = PREVPREVPREVPREV + home = PREVPREVPREVPREV + owner = THIS + match_character = PREV + match_mult = 0.075 + match_min = 300 + match_max = 5000 + attrition = 0.25 + earmark = claimant_adventure + } + spawn_unit = { + province = PREVPREVPREVPREV + home = PREVPREVPREVPREV + owner = THIS + match_character = PREV + match_mult = 0.075 + match_min = 300 + match_max = 5000 + attrition = 0.25 + earmark = claimant_adventure + } + spawn_unit = { + province = PREVPREVPREVPREV + home = PREVPREVPREVPREV + owner = THIS + match_character = PREV + match_mult = 0.075 + match_min = 300 + match_max = 5000 + attrition = 0.25 + earmark = claimant_adventure + } + spawn_unit = { + province = PREVPREVPREVPREV + home = PREVPREVPREVPREV + owner = THIS + match_character = PREV + match_mult = 0.075 + match_min = 300 + match_max = 5000 + attrition = 0.25 + earmark = claimant_adventure + } + spawn_unit = { + province = PREVPREVPREVPREV + home = PREVPREVPREVPREV + owner = THIS + match_character = PREV + match_mult = 0.075 + match_min = 300 + match_max = 5000 + attrition = 0.25 + earmark = claimant_adventure + } + } + } + } + } + } + } + } + } + + # I no longer have a valid claim on the target + if = { + limit = { + NOT = { has_character_flag = claimant_adventurer } + } + break = yes + } + + # Create some decent commander characters + create_random_soldier = { + random_traits = yes + dynasty = none + religion = ROOT + culture = ROOT + female = no + age = 30 + } + create_random_soldier = { + random_traits = yes + dynasty = none + religion = ROOT + culture = ROOT + female = no + age = 25 + } + create_random_soldier = { + random_traits = yes + dynasty = none + religion = ROOT + culture = ROOT + female = no + age = 33 + } + create_random_soldier = { + random_traits = yes + dynasty = none + religion = ROOT + culture = ROOT + female = no + age = 29 + } + + # Create a fleet, just to be sure + spawn_fleet = { + province = closest # closest sea zone + owner = ROOT + disband_on_peace = yes + troops = + { + galleys = { 150 150 } + } + earmark = claimant_adventure + } + + random_claim = { + limit = { + has_holder = yes + holder_scope = { + independent = yes # Only do this vs independent rulers + NAND = { + government = nomadic_government + OR = { + clan_title = { + title = PREVPREV + } + primary_title = { + title = PREVPREV + } + } + } + reverse_has_opinion_modifier = { + who = ROOT + modifier = opinion_claimant_adventure_target + } + OR = { + # Don't target my liege unless I am ambitious + NOT = { is_vassal_or_below = ROOT } + ROOT = { trait = ambitious } + } + OR = { + is_merchant_republic = no + NOT = { + capital_holding = { + de_jure_liege_or_above = PREVPREV + } + } + } + } + OR = { + tier = KING + holder_scope = { tier = PREV } + } + } + +# log = "TOG.1202: [Root.GetBestName] starts claim adventure for [This.GetName]" + + holder_scope = { + reverse_war = { + target = ROOT + casus_belli = claim + thirdparty_title = PREV + } + reverse_remove_opinion = { + who = ROOT + modifier = opinion_claimant_adventure_target + } + } + } + } + + option = { + name = OK + } +} + +character_event = { + id = TOG.1203 + desc = EVTDESC_TOG_1203 + picture = GFX_evt_crusaders + border = GFX_event_normal_frame_war + + is_triggered_only = yes + + trigger = { + FROM = { is_ruler = yes } # The DoW worked and the adventurer has a temporary title + } + + immediate = { + FROM = { + add_trait = adventurer + } + any_liege = { + character_event = { + id = TOG.1204 + } + } + } + + option = { + name = "EVTOPTA_TOG_1203" + } +} + +character_event = { + id = TOG.1204 + desc = EVTDESC_TOG_1204 + picture = GFX_evt_crusaders + border = GFX_event_normal_frame_war + + show_from_from = yes + + is_triggered_only = yes + + option = { + name = "EVTOPTA_TOG_1203" + } +} + +# An ambitious character with no inheritance begins to plan an adventure for a foreign title +character_event = { + id = TOG.1210 + + hide_window = yes # Only fires for unplayable landless characters + + min_age = 16 + max_age = 50 + capable_only = yes + prisoner = no + + trigger = { + has_dlc = "The Old Gods" + + NOT = { + has_game_rule = { + name = adventurers + value = none + } + } + + is_ruler = no + NOT = { any_spouse = { is_ruler = yes } } + + OR = { + is_female = no + liege = { has_law = status_of_women_4 } + liege = { has_law = true_cognatic_succession } + liege = { religion = cathar } + liege = { religion = messalian } + has_game_rule = { + name = gender + value = all + } + } + +# year = 867 + + diplomacy = 7 + martial = 9 + health = 4 + + NOT = { trait = content } + NOT = { trait = craven } + + OR = { # Only these for now + culture_group = north_germanic + culture_group = west_germanic + culture_group = altaic + culture = norman + culture = frankish + culture = breton + culture = catalan + AND = { + culture = hungarian + NOT = { year = 1066 } + } + has_character_flag = demon_child_non_pagan + } + + NOT = { # Somewhat clunky way of checking that the character does not stand to inherit any titles + any_heir_title = { + always = yes + } + } + + NOT = { # Handled by event TOG.1200 + any_claim = { + has_holder = yes + holder_scope = { + independent = yes + OR = { + is_merchant_republic = no + NOT = { + capital_holding = { + de_jure_liege_or_above = PREVPREV + } + } + } + } + OR = { + tier = KING + holder_scope = { tier = PREV } + } + ROOT = { + NOR = { + obedient = PREV + non_interference = PREV + } + } + } + } + + OR = { + father_even_if_dead = { + OR = { + primary_title = { higher_tier_than = BARON } + father_even_if_dead = { + primary_title = { higher_tier_than = BARON } + } + mother_even_if_dead = { + primary_title = { higher_tier_than = BARON } + } + } + } + mother_even_if_dead = { + OR = { + primary_title = { higher_tier_than = BARON } + father_even_if_dead = { + primary_title = { higher_tier_than = BARON } + } + mother_even_if_dead = { + primary_title = { higher_tier_than = BARON } + } + } + } + } + + NOT = { has_character_modifier = planning_duchy_adventure } + } + + mean_time_to_happen = { + years = 100 + modifier = { + factor = 4 + has_dlc = "Horse Lords" + is_allowed_to_loot = yes + } + modifier = { + factor = 0.5 + trait = ambitious + } + modifier = { + factor = 0.5 + OR = { + AND = { + culture = norman + NOT = { year = 1250 } + } + AND = { + culture_group = north_germanic + NOT = { year = 1066 } + } + } + } + modifier = { + factor = 0.2 + has_character_flag = flag_denied_title + } + modifier = { + factor = 0.2 + has_character_flag = demon_child_non_pagan + } + modifier = { + factor = 0.75 + diplomacy = 12 + } + modifier = { + factor = 0.75 + martial = 12 + } + modifier = { + factor = 0.75 + trait = brave + } + modifier = { + factor = 0.85 + trait = proud + } + modifier = { + factor = 3.0 + trait = slothful + } + modifier = { + factor = 3.0 + trait = humble + } + modifier = { + factor = 3.0 + trait = kind + } + modifier = { + factor = 3.0 + any_liege = { + ai = no + } + } + modifier = { + factor = 3.0 + top_liege = { + tier = emperor + } + } + modifier = { + factor = 50 + has_game_rule = { + name = adventurers + value = rare + } + } + } + + immediate = { + random_independent_ruler = { + limit = { + NOT = { culture = ROOT } + is_landed = yes + independent = yes + NOT = { is_vassal_or_below = ROOT } + any_realm_province = { + OR = { + AND = { + port = yes + ROOT = { + NOT = { culture_group = altaic } + NOT = { culture = hungarian } + } + NOT = { + distance = { + who = ROOT + value = 800 + } + } + } + any_neighbor_province = { + owner = { + same_realm = ROOT + } + } + } + NOT = { + region = world_europe_north + } + NOT = { + duchy = { + title = d_bjarmia + } + } + } + ROOT = { + NOR = { + obedient = PREV + non_interference = PREV + } + } + } + + random_realm_province = { + limit = { + OR = { + AND = { + port = yes + ROOT = { + NOT = { culture_group = altaic } + NOT = { culture = hungarian } + } + NOT = { + distance = { + who = ROOT + value = 800 + } + } + } + any_neighbor_province = { + owner = { + same_realm = ROOT + } + } + } + NOT = { + region = world_europe_north + } + NOT = { + duchy = { + title = d_bjarmia + } + } + } + + ROOT = { + opinion = { + who = PREVPREV + years = 3 + modifier = opinion_duchy_adventure_target + } + add_character_modifier = { + name = planning_duchy_adventure + hidden = yes + days = 730 + } + character_event = { + id = TOG.1212 # Fire the attack + days = 730 + } + } + PREV = { + character_event = { + id = TOG.1211 # Warn the target + } + } + } + } + end_inaccessibility_effect = yes #removes in hiding or in_seclusion + + set_character_flag = do_not_disturb + character_event = { id = TOG.1215 days = 730 } + } + + option = { + name = OK + } +} + +character_event = { + id = TOG.1211 + desc = EVTDESC_TOG_1211 + picture = GFX_evt_crusaders + border = GFX_event_normal_frame_war + + is_triggered_only = yes + + immediate = { + opinion = { + who = FROM + modifier = opinion_targeted_by_adventurer + months = 24 + } + } + + option = { + name = "EVTOPTA_TOG_1211" + } +} + +# An ambitious character with no inheritance starts an adventure for a foreign title +# (Temporary title created and a war declared) +character_event = { + id = TOG.1212 + + hide_window = yes # Only fires for unplayable landless characters + + is_triggered_only = yes + + prisoner = no + only_capable = yes + + trigger = { + has_dlc = "The Old Gods" + + is_ruler = no + NOT = { any_spouse = { is_ruler = yes } } + + NOT = { + any_heir_title = { + always = yes + } + } + + any_independent_ruler = { + NOT = { culture = ROOT } + is_landed = yes + independent = yes + NOT = { is_vassal_or_below = ROOT } + any_realm_province = { + OR = { + AND = { + port = yes + ROOT = { + NOT = { culture_group = altaic } + NOT = { culture = hungarian } + } + } + any_neighbor_province = { + owner = { + same_realm = ROOT + } + } + } + NOT = { + region = world_europe_north + } + NOT = { + duchy = { + title = d_bjarmia + } + } + } + ROOT = { + NOR = { + obedient = PREV + non_interference = PREV + } + } + reverse_has_opinion_modifier = { + who = ROOT + modifier = opinion_duchy_adventure_target + } + } + } + + immediate = { + wealth = 500 + clr_character_flag = do_not_disturb + + liege = { + character_event = { + id = TOG.1213 + days = 1 + } + } + + liege = { + capital_scope = { + random_independent_ruler = { + limit = { + NOT = { culture = ROOT } + is_landed = yes + independent = yes + NOT = { is_vassal_or_below = ROOT } + any_realm_province = { + OR = { + AND = { + port = yes + ROOT = { + NOT = { culture_group = altaic } + NOT = { culture = hungarian } + } + } + any_neighbor_province = { + owner = { + same_realm = ROOT + } + } + } + NOT = { + region = world_europe_north + } + NOT = { + duchy = { + title = d_bjarmia + } + } + } + ROOT = { + NOR = { + obedient = PREV + non_interference = PREV + } + } + reverse_has_opinion_modifier = { + who = ROOT + modifier = opinion_duchy_adventure_target + } + } + random_realm_province = { + limit = { + OR = { + AND = { + port = yes + ROOT = { + NOT = { culture_group = altaic } + NOT = { culture = hungarian } + } + } + any_neighbor_province = { + owner = { + same_realm = ROOT + } + } + } + NOT = { + region = world_europe_north + } + NOT = { + duchy = { + title = d_bjarmia + } + } + } + + ROOT = { + set_defacto_liege = ROOT + create_title = { + tier = DUKE + landless = yes + temporary = yes + adventurer = yes + culture = ROOT + name = "CLAIMANT_ADVENTURE" + holder = ROOT + } + + set_character_flag = duchy_adventurer + + spawn_unit = { + province = PREVPREVPREV + home = PREVPREVPREV + owner = THIS + #leader = THIS + match_character = PREVPREV + match_mult = 0.125 + match_min = 500 + match_max = 10000 + attrition = 0.25 + } + spawn_unit = { + province = PREVPREVPREV + home = PREVPREVPREV + owner = THIS + match_character = PREVPREV + match_mult = 0.125 + match_min = 500 + match_max = 10000 + attrition = 0.25 + } + spawn_unit = { + province = PREVPREVPREV + home = PREVPREVPREV + owner = THIS + match_character = PREVPREV + match_mult = 0.125 + match_min = 500 + match_max = 10000 + attrition = 0.25 + } + war = { + target = PREVPREV + casus_belli = duchy_adventure + thirdparty_title = PREV + tier = DUKE + } + remove_opinion = { + who = PREVPREV + modifier = opinion_duchy_adventure_target + } + } + } + } + } + } + + # Create some decent commander characters + create_random_soldier = { + random_traits = yes + dynasty = none + religion = ROOT + culture = ROOT + female = no + age = 30 + } + create_random_soldier = { + random_traits = yes + dynasty = none + religion = ROOT + culture = ROOT + female = no + age = 25 + } + + if = { + limit = { + NOT = { culture_group = altaic } + NOT = { culture = hungarian } + } + + # Create a fleet, just to be sure + spawn_fleet = { + province = closest # closest sea zone + owner = ROOT + disband_on_peace = yes + troops = + { + galleys = { 200 200 } + } + } + } + } + + option = { + name = OK + } +} + +character_event = { + id = TOG.1213 + desc = EVTDESC_TOG_1213 + picture = GFX_evt_crusaders + border = GFX_event_normal_frame_war + + is_triggered_only = yes + + trigger = { + FROM = { is_ruler = yes } # The DoW worked and the adventurer has a temporary title + } + + immediate = { + FROM = { + add_trait = adventurer + } + any_liege = { + character_event = { + id = TOG.1214 + } + } + } + + option = { + name = "EVTOPTA_TOG_1203" + } +} + +character_event = { + id = TOG.1214 + desc = EVTDESC_TOG_1214 + picture = GFX_evt_crusaders + border = GFX_event_normal_frame_war + + show_from_from = yes + + is_triggered_only = yes + + option = { + name = "EVTOPTA_TOG_1203" + } +} + +#safety clear of DND +character_event = { + id = TOG.1215 + + is_triggered_only = yes + + hide_window = yes + + immediate = { + clr_character_flag = do_not_disturb + } +} \ No newline at end of file diff --git a/LCDA/events/byzantine_events.txt b/LCDA/events/byzantine_events.txt new file mode 100644 index 0000000..0999a97 --- /dev/null +++ b/LCDA/events/byzantine_events.txt @@ -0,0 +1,1770 @@ +####################################### +# +# Byzantine Events +# +# Event ID LoR.800 - LoR.999 reserved +# +####################################### + +# Written by Henrik Eklund + +namespace = LoR + +### Eunuchs + +# Introduce Eunuch? +character_event = { + id = LoR.800 + desc = EVTDESCLoR.800 + picture = GFX_evt_emissary_byzantine + + capable_only = yes + prisoner = no + only_playable = yes + min_age = 16 + + trigger = { + has_dlc = "Legacy of Rome" + OR = { + has_landed_title = e_byzantium + has_landed_title = e_roman_empire + } + NOT = { + any_courtier = { has_minor_title = title_imperial_eunuch } + } + NOT = { is_inaccessible_trigger = yes } + } + + mean_time_to_happen = { + months = 300 + } + + option = { + name = EVTOPTALoR.800 + custom_tooltip = { + text = introduce_eunuch + hidden_tooltip = { + random_list = { + 20 = { character_event = { id = LoR.801 } } + 20 = { character_event = { id = LoR.802 } } + 20 = { character_event = { id = LoR.803 } } + 20 = { character_event = { id = LoR.804 } } + 20 = { character_event = { id = LoR.805 } } + } + } + } + } + option = { + name = EVTOPTBLoR.800 + custom_tooltip = { text = no_to_eunuchs } + } +} + +# Martial Eunuch +character_event = { + id = LoR.801 + desc = EVTDESCLoR.801 + picture = GFX_evt_emissary_byzantine + + hide_from = yes + + is_triggered_only = yes + + option = { + name = EVTOPTALoR.801 + create_character = { + random_traits = no + dynasty = NONE + female = no + age = 20 + religion = ROOT + culture = ROOT + trait = eunuch + trait = diligent + trait = quick + trait = brave + trait = brilliant_strategist + attributes = { + martial = 10 + } + } + new_character = { + give_minor_title = title_imperial_eunuch + } + } +} + +# Diplomacy Eunuch +character_event = { + id = LoR.802 + desc = EVTDESCLoR.802 + picture = GFX_evt_emissary_byzantine + + hide_from = yes + + is_triggered_only = yes + + option = { + name = EVTOPTALoR.801 + create_character = { + random_traits = no + dynasty = NONE + female = no + age = 20 + religion = ROOT + culture = ROOT + trait = eunuch + trait = diligent + trait = quick + trait = gregarious + trait = grey_eminence + attributes = { + diplomacy = 10 + } + } + new_character = { + give_minor_title = title_imperial_eunuch + } + } +} + +# Steward Eunuch +character_event = { + id = LoR.803 + desc = EVTDESCLoR.803 + picture = GFX_evt_emissary_byzantine + + hide_from = yes + + is_triggered_only = yes + + option = { + name = EVTOPTALoR.801 + create_character = { + random_traits = no + dynasty = NONE + female = no + age = 20 + religion = ROOT + culture = ROOT + trait = eunuch + trait = diligent + trait = quick + trait = temperate + trait = midas_touched + attributes = { + stewardship = 10 + } + } + new_character = { + give_minor_title = title_imperial_eunuch + } + } +} + +# Spymaster Eunuch +character_event = { + id = LoR.804 + desc = EVTDESCLoR.804 + picture = GFX_evt_emissary_byzantine + + hide_from = yes + + is_triggered_only = yes + + option = { + name = EVTOPTALoR.801 + create_character = { + random_traits = no + dynasty = NONE + female = no + age = 20 + religion = ROOT + culture = ROOT + trait = eunuch + trait = diligent + trait = quick + trait = deceitful + trait = elusive_shadow + attributes = { + intrigue = 10 + } + } + new_character = { + give_minor_title = title_imperial_eunuch + } + } +} + +# Learning Eunuch +character_event = { + id = LoR.805 + desc = EVTDESCLoR.805 + picture = GFX_evt_emissary_byzantine + + hide_from = yes + + is_triggered_only = yes + + option = { + name = EVTOPTALoR.801 + create_character = { + random_traits = no + dynasty = NONE + female = no + age = 20 + religion = ROOT + culture = ROOT + trait = eunuch + trait = diligent + trait = quick + trait = scholar + trait = mastermind_theologian + attributes = { + learning = 10 + } + } + new_character = { + give_minor_title = title_imperial_eunuch + } + } +} + +### Prisoner Events + +# Jailer Blind +character_event = { + id = LoR.830 + desc = EVTDESCLoR.830 + picture = GFX_evt_torture + + is_triggered_only = yes + + option = { + name = EVTOPTALoR.830 + } +} + +# Prisoner Blind +character_event = { + id = LoR.831 + desc = EVTDESCLoR.831 + picture = GFX_evt_torture + + hide_from = yes + + is_triggered_only = yes + + option = { + name = EVTOPTALoR.831 + } +} + +# Jailer Castrate +character_event = { + id = LoR.832 + desc = EVTDESCLoR.832 + picture = GFX_evt_torture + + is_triggered_only = yes + + option = { + name = EVTOPTALoR.832 + } +} + +# Prisoner Castrate +character_event = { + id = LoR.833 + desc = EVTDESCLoR.833 + picture = GFX_evt_torture + + hide_from = yes + + is_triggered_only = yes + + option = { + name = EVTOPTALoR.833 + } +} + +# Jailer Castrate Boy +character_event = { + id = LoR.834 + desc = EVTDESCLoR.834 + picture = GFX_evt_torture + + hide_from = yes + + is_triggered_only = yes + + option = { + name = EVTOPTALoR.834 + } +} + +### Varangian Hippodrome Riots + +# Hippodrome Riots +character_event = { + id = LoR.840 + desc = EVTDESCLoR.840 + picture = GFX_evt_riots_byzantine + + ai = no + capable_only = yes + prisoner = no + only_playable = yes + min_age = 16 + + trigger = { + has_dlc = "Legacy of Rome" + in_command = no + OR = { + has_landed_title = e_byzantium + has_landed_title = e_roman_empire + } + capital_scope = { province_id = 496 } + any_vassal = { + has_landed_title = d_varangian_guard + } + } + + mean_time_to_happen = { + months = 420 + } + + option = { + name = EVTOPTALoR.840 + character_event = { id = LoR.841 days = 3 tooltip = EVTTOOLTIPLoR.841 } + } + option = { + name = EVTOPTBLoR.840 + character_event = { id = LoR.842 days = 3 tooltip = EVTTOOLTIPLoR.842 } + } +} + +# Varangian Guard unleashed +character_event = { + id = LoR.841 + desc = EVTDESCLoR.841 + picture = GFX_evt_battle_byzantine + + hide_from = yes + + is_triggered_only = yes + + option = { + name = EVTOPTALoR.841 + scaled_wealth = -0.25 + prestige = -100 + } +} + +# City Guard handles it +character_event = { + id = LoR.842 + desc = EVTDESCLoR.842 + picture = GFX_evt_riots_byzantine + + hide_from = yes + + is_triggered_only = yes + + option = { + name = EVTOPTALoR.842 + scaled_wealth = -0.1 + } +} + +### The Varangian and the Princess + +character_event = { + id = LoR.844 + hide_window = yes + + only_playable = yes + only_capable = yes + min_age = 16 + prisoner = no + ai = no + + trigger = { + has_dlc = "Legacy of Rome" + OR = { + has_landed_title = e_byzantium + has_landed_title = e_roman_empire + } + any_vassal = { + has_landed_title = d_varangian_guard + } + any_child = { + ai = yes + is_female = yes + is_marriage_adult = yes + is_married = no + NOT = { trait = celibate } + NOT = { trait = chaste } + NOT = { trait = homosexual } + } + } + + mean_time_to_happen = { + months = 400 + } + + immediate = { + random_child = { + limit = { + ai = yes + is_female = yes + is_marriage_adult = yes + is_married = no + NOT = { trait = celibate } + NOT = { is_ascetic_trigger = yes } + NOT = { trait = chaste } + NOT = { trait = homosexual } + } + character_event = { id = LoR.845 } + } + } +} + +# AI Event for Daughter +character_event = { + id = LoR.845 + hide_window = yes + + is_triggered_only = yes + + immediate = { + hidden_tooltip = { + father = { + character_event = { id = LoR.846 days = 3 } + } + } + } +} + +# Your Daughter Approaches +character_event = { + id = LoR.846 + desc = EVTDESCLoR.846 + picture = GFX_evt_princess_byzantine + + is_triggered_only = yes + + option = { + name = EVTOPTALoR.846 + create_character = { + random_traits = yes + dynasty = NONE + female = no + age = 22 + trait = varangian + religion = ROOT + culture = norse + } + hidden_tooltip = { + d_varangian_guard = { + holder_scope = { + new_character = { culture = PREV } + } + } + } + new_character = { + add_spouse_matrilineal = FROM + hidden_tooltip = { + add_lover = FROM + } + opinion = { + modifier = opinion_grateful + who = ROOT + } + } + FROM = { + opinion = { + modifier = opinion_grateful + who = ROOT + } + } + } + option = { + name = EVTOPTBLoR.846 + FROM = { + opinion = { + modifier = opinion_unhappy + who = ROOT + years = 2 + } + } + } + option = { + name = EVTOPTCLoR.846 + FROM = { + opinion = { + modifier = evil_murderer + who = ROOT + years = 6 + } + } + } +} + +### Drunken Varangians + +# AI Mayor Event +character_event = { + id = LoR.850 + hide_window = yes + + capable_only = yes + only_rulers = yes + min_age = 16 + prisoner = no + ai = yes + + trigger = { + has_dlc = "Legacy of Rome" + OR = { + has_landed_title = b_galata + has_landed_title = b_hieron + has_landed_title = b_deuteron + has_landed_title = b_pempton + } + liege = { + ai = no + OR = { + has_landed_title = e_byzantium + has_landed_title = e_roman_empire + } + any_vassal = { + has_landed_title = d_varangian_guard + } + } + } + + mean_time_to_happen = { + months = 1480 + } + + immediate = { + liege = { + character_event = { id = LoR.851 } + } + } + + option = { + name = OK + } +} + +# Drunken Varangians +character_event = { + id = LoR.851 + desc = EVTDESCLoR.851 + picture = GFX_evt_riots_byzantine + + is_triggered_only = yes + + option = { + name = EVTOPTALoR.851 + FROM = { + opinion = { + modifier = opinion_happy + who = ROOT + years = 4 + } + } + any_vassal = { + limit = { has_landed_title = d_varangian_guard } + opinion = { + modifier = opinion_bitter + who = ROOT + years = 4 + } + } + custom_tooltip = { text = punish_varangians } + } + option = { + name = EVTOPTBLoR.851 + any_vassal = { + limit = { has_landed_title = d_varangian_guard } + opinion = { + modifier = opinion_happy + who = ROOT + years = 4 + } + } + FROM = { + opinion = { + modifier = opinion_bitter + who = ROOT + years = 4 + } + } + piety = -50 + custom_tooltip = { text = free_varangians } + } +} + +### Greek Fire Event Series + +# Explosion +narrative_event = { + id = LoR.860 + title = EVTNAMELoR.860 + desc = EVTDESCLoR.860 + picture = GFX_evt_throne_room_byzantine + + capable_only = yes + prisoner = no + only_playable = yes + ai = no + min_age = 16 + religion_group = christian + + trigger = { + has_dlc = "Legacy of Rome" + OR = { + has_landed_title = e_byzantium + has_landed_title = e_roman_empire + } + NOT = { has_global_flag = greek_fire } + in_command = no + capital_scope = { province_id = 496 } + NOT = { is_inaccessible_trigger = yes } + } + + mean_time_to_happen = { + months = 780 + } + + option = { + name = EVTOPTALoR.860 + narrative_event = { id = LoR.861 days = 3 tooltip = EVTTOOLTIPLoR.861 } + set_global_flag = greek_fire + } + option = { + name = EVTOPTBLoR.860 + custom_tooltip = { text = not_interested_in_explosion } + set_global_flag = greek_fire + } +} + +# Aftermath +narrative_event = { + id = LoR.861 + title = EVTNAMELoR.861 + desc = EVTDESCLoR.861 + picture = GFX_evt_market_byzantine + + is_triggered_only = yes + + hide_from = yes + + option = { + name = EVTOPTALoR.861 + narrative_event = { id = LoR.862 days = 120 random = 20 tooltip = EVTTOOLTIPLoR.862 } + } +} + +# Pirate Fleet +narrative_event = { + id = LoR.862 + title = EVTNAMELoR.862 + desc = EVTDESCLoR.862 + picture = GFX_evt_emissary_byzantine + + is_triggered_only = yes + + hide_from = yes + + option = { # Naval fleet + name = EVTOPTALoR.862 + + custom_tooltip = { + text = deploy_fleet + hidden_tooltip = { + random_list = { + 33 = { narrative_event = { id = LoR.863 days = 38 random = 8 } } + 33 = { narrative_event = { id = LoR.864 days = 38 random = 8 } } + 33 = { narrative_event = { id = LoR.865 days = 38 random = 8 } } + } + } + } + } + option = { # Spies + name = EVTOPTBLoR.862 + custom_tooltip = { + text = send_in_spies + hidden_tooltip = { + random_list = { + 33 = { narrative_event = { id = LoR.866 days = 38 random = 8 } } + 33 = { narrative_event = { id = LoR.867 days = 38 random = 8 } } + 33 = { narrative_event = { id = LoR.868 days = 38 random = 8 } } + } + } + } + } +} + +# Naval Battle Won (Daughter) +narrative_event = { + id = LoR.863 + title = EVTNAMELoR.863 + desc = EVTDESCLoR.863 + picture = GFX_evt_kraken + + is_triggered_only = yes + + hide_from = yes + + option = { + name = EVTOPTALoR.863 + change_martial = 1 + narrative_event = { id = LoR.869 days = 65 random = 10 tooltip = EVTTOOLTIPLoR.869 } + } +} + +# Naval Battle Won (Wife) +narrative_event = { + id = LoR.864 + title = EVTNAMELoR.863 + desc = EVTDESCLoR.864 + picture = GFX_evt_kraken + + is_triggered_only = yes + + hide_from = yes + + option = { + name = EVTOPTALoR.863 + change_martial = 1 + narrative_event = { id = LoR.870 days = 65 random = 10 tooltip = EVTTOOLTIPLoR.869 } + } +} + +# Naval Battle Lost +narrative_event = { + id = LoR.865 + title = EVTNAMELoR.863 + desc = EVTDESCLoR.865 + picture = GFX_evt_kraken + + is_triggered_only = yes + + hide_from = yes + + option = { + name = EVTOPTALoR.865 + prestige = -25 + narrative_event = { id = LoR.871 days = 65 random = 10 tooltip = EVTTOOLTIPLoR.869 } + } +} + +# Spies Succeed (Daughter) +narrative_event = { + id = LoR.866 + title = EVTNAMELoR.866 + desc = EVTDESCLoR.866 + picture = GFX_evt_shadow + + is_triggered_only = yes + + hide_from = yes + + option = { + name = EVTOPTALoR.863 + change_intrigue = 1 + narrative_event = { id = LoR.869 days = 65 random = 10 tooltip = EVTTOOLTIPLoR.869 } + } +} + +# Spies Succeed (Wife) +narrative_event = { + id = LoR.867 + title = EVTNAMELoR.866 + desc = EVTDESCLoR.867 + picture = GFX_evt_shadow + + is_triggered_only = yes + + hide_from = yes + + option = { + name = EVTOPTALoR.863 + change_intrigue = 1 + narrative_event = { id = LoR.870 days = 65 random = 10 tooltip = EVTTOOLTIPLoR.869 } + } +} + +# Spies Lose +narrative_event = { + id = LoR.868 + title = EVTNAMELoR.866 + desc = EVTDESCLoR.868 + picture = GFX_evt_shadow + + is_triggered_only = yes + + hide_from = yes + + option = { + name = EVTOPTALoR.865 + prestige = -25 + narrative_event = { id = LoR.871 days = 65 random = 10 tooltip = EVTTOOLTIPLoR.869 } + } +} + +# The Letter (has daughter) +narrative_event = { + id = LoR.869 + title = EVTNAMELoR.869 + desc = EVTDESCLoR.869 + picture = GFX_evt_recieve_letter + + is_triggered_only = yes + + hide_from = yes + + option = { + name = EVTOPTALoR.869 + narrative_event = { id = LoR.872 days = 7 tooltip = EVTTOOLTIPLoR.872 } + } + option = { + name = EVTOPTBLoR.869 + narrative_event = { id = LoR.873 days = 7 tooltip = EVTTOOLTIPLoR.873 } + } +} + +# The Letter (has wife) +narrative_event = { + id = LoR.870 + title = EVTNAMELoR.869 + desc = EVTDESCLoR.870 + picture = GFX_evt_recieve_letter + + is_triggered_only = yes + + hide_from = yes + + option = { + name = EVTOPTALoR.869 + narrative_event = { id = LoR.874 days = 7 tooltip = EVTTOOLTIPLoR.872 } + } + option = { + name = EVTOPTBLoR.869 + narrative_event = { id = LoR.875 days = 7 tooltip = EVTTOOLTIPLoR.873 } + } +} + +# The Letter (no daughter or wife) +narrative_event = { + id = LoR.871 + title = EVTNAMELoR.869 + desc = EVTDESCLoR.870 + picture = GFX_evt_recieve_letter + + is_triggered_only = yes + + hide_from = yes + + option = { + name = EVTOPTALoR.869 + narrative_event = { id = LoR.876 days = 7 tooltip = EVTTOOLTIPLoR.872 } + } + option = { + name = EVTOPTBLoR.869 + narrative_event = { id = LoR.877 days = 7 tooltip = EVTTOOLTIPLoR.873 } + } +} + +# The Deal (Backstabbing with Daughter) +narrative_event = { + id = LoR.872 + title = EVTNAMELoR.872 + desc = EVTDESCLoR.872 + picture = GFX_evt_shadowy_cabal + + is_triggered_only = yes + + hide_from = yes + + option = { + name = EVTOPTALoR.872 + custom_tooltip = { + text = ship_hoists_sails + hidden_tooltip = { + random_list = { + 30 = { narrative_event = { id = LoR.880 days = 2 } } + 70 = { narrative_event = { id = LoR.878 days = 2 } } + } + } + } + } +} + +# The Deal (with Daughter) +narrative_event = { + id = LoR.873 + title = EVTNAMELoR.872 + desc = EVTDESCLoR.873 + picture = GFX_evt_shadowy_cabal + + is_triggered_only = yes + + hide_from = yes + + option = { + name = EVTOPTALoR.872 + narrative_event = { id = LoR.881 days = 2 tooltip = EVTTOOLTIPLoR.878 } + } +} + +# The Deal (Backstabbing with Wife) +narrative_event = { + id = LoR.874 + title = EVTNAMELoR.872 + desc = EVTDESCLoR.874 + picture = GFX_evt_shadowy_cabal + + is_triggered_only = yes + + hide_from = yes + + option = { + name = EVTOPTALoR.872 + scaled_wealth = -0.25 + custom_tooltip = { + text = ship_hoists_sails + hidden_tooltip = { + random_list = { + 30 = { narrative_event = { id = LoR.880 days = 2 } } + 70 = { narrative_event = { id = LoR.879 days = 2 } } + } + } + } + } +} + +# The Deal (with Wife) +narrative_event = { + id = LoR.875 + title = EVTNAMELoR.872 + desc = EVTDESCLoR.875 + picture = GFX_evt_shadowy_cabal + + is_triggered_only = yes + + hide_from = yes + + option = { + name = EVTOPTALoR.872 + scaled_wealth = -0.25 + narrative_event = { id = LoR.881 days = 2 tooltip = EVTTOOLTIPLoR.878 } + } +} + +# The Deal (Backstabbing with Money) +narrative_event = { + id = LoR.876 + title = EVTNAMELoR.872 + desc = EVTDESCLoR.876 + picture = GFX_evt_shadowy_cabal + + is_triggered_only = yes + + hide_from = yes + + option = { + name = EVTOPTALoR.872 + scaled_wealth = -0.35 + custom_tooltip = { + text = ship_hoists_sails + hidden_tooltip = { + random_list = { + 30 = { narrative_event = { id = LoR.880 days = 2 } } + 70 = { narrative_event = { id = LoR.879 days = 2 } } + } + } + } + } +} + +# The Deal (with Money) +narrative_event = { + id = LoR.877 + title = EVTNAMELoR.872 + desc = EVTDESCLoR.877 + picture = GFX_evt_shadowy_cabal + + is_triggered_only = yes + + hide_from = yes + + option = { + name = EVTOPTALoR.872 + scaled_wealth = -0.35 + narrative_event = { id = LoR.881 days = 2 tooltip = EVTTOOLTIPLoR.878 } + } +} + +# Conclusion (Ambush success with daughter) +narrative_event = { + id = LoR.878 + title = EVTNAMELoR.878 + desc = EVTDESCLoR.878 + picture = GFX_evt_victory_arch_byzantine + + is_triggered_only = yes + + hide_from = yes + + option = { + name = EVTOPTALoR.878 + create_character = { + name = Kyrillos + random_traits = no + dynasty = NONE + female = no + age = 47 + religion = orthodox + culture = greek + trait = intricate_webweaver + trait = brave + trait = drunkard + trait = hedonist + trait = wroth + trait = greedy + trait = proud + trait = ambitious + attributes = { + learning = 2 + martial = 5 + diplomacy = 2 + intrigue = 1 + stewardship = 1 + } + } + new_character = { + prisoner = yes + create_character = { + name = Despina + random_traits = no + dynasty = NONE + female = yes + age = 21 + religion = orthodox + culture = greek + trait = intricate_webweaver + trait = brave + trait = hedonist + trait = wroth + trait = fair + trait = proud + trait = ambitious + attributes = { + learning = 1 + martial = 3 + diplomacy = 3 + intrigue = 2 + stewardship = 2 + } + } + new_character = { + prisoner = yes + set_father = prev + } + } + change_intrigue = 1 + wealth = 25 + custom_tooltip = { text = liquid_fire_settled } + } +} + +# Conclusion (Ambush success without daughter) +narrative_event = { + id = LoR.879 + title = EVTNAMELoR.878 + desc = EVTDESCLoR.879 + picture = GFX_evt_victory_arch_byzantine + + is_triggered_only = yes + + hide_from = yes + + option = { + name = EVTOPTALoR.878 + create_character = { + name = Kyrillos + random_traits = no + dynasty = NONE + female = no + age = 47 + religion = orthodox + culture = greek + trait = intricate_webweaver + trait = brave + trait = drunkard + trait = hedonist + trait = wroth + trait = greedy + trait = proud + trait = ambitious + attributes = { + learning = 2 + martial = 5 + diplomacy = 2 + intrigue = 1 + stewardship = 1 + } + } + new_character = { + prisoner = yes + } + change_intrigue = 1 + scaled_wealth = 0.35 + custom_tooltip = { text = liquid_fire_settled } + } +} + +# Conclusion (Ambush fails) +narrative_event = { + id = LoR.880 + title = EVTNAMELoR.878 + desc = EVTDESCLoR.880 + picture = GFX_evt_hagia_sofia + + is_triggered_only = yes + + hide_from = yes + + option = { + name = EVTOPTALoR.878 + prestige = -50 + custom_tooltip = { text = liquid_fire_settled } + } +} + +# Conclusion (no Ambush) +narrative_event = { + id = LoR.881 + title = EVTNAMELoR.878 + desc = EVTDESCLoR.881 + picture = GFX_evt_hagia_sofia + + is_triggered_only = yes + + hide_from = yes + + option = { + name = EVTOPTALoR.878 + prestige = -50 + custom_tooltip = { text = liquid_fire_settled } + } +} + +### The Eunuch Merchant + +# Merchant Arrives +character_event = { + id = LoR.885 + desc = EVTDESCLoR.885 + picture = GFX_evt_carriage + + ai = no + capable_only = yes + only_playable = yes + prisoner = no + min_age = 16 + + trigger = { + has_dlc = "Legacy of Rome" + in_command = no + NOT = { religion_group = indian_group } + capital_scope = { + NOT = { region = world_india } + } + location = { + county = { + NOT = { region = world_india } + } + } + NOT = { is_inaccessible_trigger = yes } + } + + mean_time_to_happen = { + months = 780 + } + + option = { + name = EVTOPTALoR.885 + character_event = { id = LoR.886 days = 3 tooltip = EVTTOOLTIPLoR.886 } + } + option = { + name = EVTOPTBLoR.885 + custom_tooltip = { text = send_merchants_away } + } +} + +# Spends the Night +character_event = { + id = LoR.886 + desc = EVTDESCLoR.886 + picture = GFX_evt_feast + + hide_from = yes + + is_triggered_only = yes + + option = { + name = EVTOPTALoR.886 + custom_tooltip = { + text = eunuch_offer + hidden_tooltip = { + random_list = { + 25 = { character_event = { id = LoR.887 days = 3 } } + 25 = { character_event = { id = LoR.888 days = 3 } } + 25 = { character_event = { id = LoR.889 days = 3 } } + 25 = { character_event = { id = LoR.890 days = 3 } } + } + } + } + } +} + +# Gift 1 +character_event = { + id = LoR.887 + desc = EVTDESCLoR.887 + picture = GFX_evt_emissary + + hide_from = yes + + is_triggered_only = yes + + immediate = { + create_random_steward = { + random_traits = no + dynasty = NONE + female = no + age = 22 + religion = ROOT + culture = manden + attributes = { + stewardship = 6 + } + trait = eunuch + trait = diligent + trait = temperate + trait = humble + } + new_character = { + opinion = { + modifier = opinion_loyal_servant + who = ROOT + } + random_list = { + 25 = { + add_trait = just + } + 25 = { + add_trait = shrewd + } + 25 = { + add_trait = stubborn + } + 25 = { + add_trait = patient + } + } + random_list = { + 33 = { + add_trait = administrator + } + 33 = { + add_trait = architect + } + 33 = { + add_trait = gardener + } + } + save_event_target_as = eunuch_gift + } + } + + option = { + name = EVTOPTALoR.887 + custom_tooltip = { + text = eunuch_gift_tooltip + } + } + option = { + name = EVTOPTBLoR.887 + custom_tooltip = { text = eunuch_declined } + hidden_tooltip = { + event_target:eunuch_gift = { + death = { + death_reason = death_missing + } + } + } + } +} + +# Gift 2 +character_event = { + id = LoR.888 + desc = EVTDESCLoR.887 + picture = GFX_evt_emissary + + hide_from = yes + + is_triggered_only = yes + + immediate = { + create_random_diplomat = { + random_traits = no + dynasty = NONE + female = no + age = 22 + religion = ROOT + culture = ethiopian + attributes = { + diplomacy = 6 + } + trait = eunuch + trait = diligent + trait = temperate + trait = humble + } + new_character = { + opinion = { + modifier = opinion_loyal_servant + who = ROOT + } + random_list = { + 25 = { + add_trait = honest + } + 25 = { + add_trait = kind + } + 25 = { + add_trait = gregarious + } + 25 = { + add_trait = trusting + } + } + random_list = { + 25 = { + add_trait = socializer + } + 25 = { + add_trait = gamer + } + 25 = { + add_trait = poet + } + 25 = { + add_trait = falconer + } + } + save_event_target_as = eunuch_gift + } + } + option = { + name = EVTOPTALoR.887 + custom_tooltip = { + text = eunuch_gift_tooltip + } + } + option = { + name = EVTOPTBLoR.887 + custom_tooltip = { text = eunuch_declined } + hidden_tooltip = { + event_target:eunuch_gift = { + death = { + death_reason = death_missing + } + } + } + } +} + +# Gift 3 +character_event = { + id = LoR.889 + desc = EVTDESCLoR.887 + picture = GFX_evt_emissary + + hide_from = yes + + is_triggered_only = yes + + immediate = { + create_random_intriguer = { + random_traits = no + dynasty = NONE + female = no + age = 22 + religion = ROOT + culture = greek + attributes = { + intrigue = 6 + } + trait = eunuch + trait = diligent + trait = temperate + trait = humble + } + new_character = { + opinion = { + modifier = opinion_loyal_servant + who = ROOT + } + random_list = { + 25 = { + add_trait = deceitful + } + 25 = { + add_trait = paranoid + } + 25 = { + add_trait = shrewd + } + 25 = { + add_trait = cynical + } + } + random_list = { + 50 = { + add_trait = schemer + } + 50 = { + add_trait = impaler + } + } + save_event_target_as = eunuch_gift + } + } + option = { + name = EVTOPTALoR.887 + custom_tooltip = { + text = eunuch_gift_tooltip + } + } + option = { + name = EVTOPTBLoR.887 + custom_tooltip = { text = eunuch_declined } + hidden_tooltip = { + event_target:eunuch_gift = { + death = { + death_reason = death_missing + } + } + } + } +} + +# Gift 4 +character_event = { + id = LoR.890 + desc = EVTDESCLoR.887 + picture = GFX_evt_emissary + + hide_from = yes + + is_triggered_only = yes + + immediate = { + create_random_soldier = { + random_traits = no + dynasty = NONE + female = no + age = 22 + religion = ROOT + culture = bedouin_arabic + attributes = { + martial = 6 + } + trait = eunuch + trait = diligent + trait = temperate + trait = humble + } + new_character = { + opinion = { + modifier = opinion_loyal_servant + who = ROOT + } + random_list = { + 25 = { + add_trait = brave + } + 25 = { + add_trait = wroth + } + 25 = { + add_trait = cruel + } + 25 = { + add_trait = robust + } + } + random_list = { + 25 = { + add_trait = organizer + } + 25 = { + add_trait = inspiring_leader + } + 25 = { + add_trait = defensive_leader + } + 25 = { + add_trait = desert_terrain_leader + } + } + random_list = { + 33 = { + add_trait = duelist + } + 33 = { + add_trait = strategist + } + 33 = { + add_trait = hunter + } + } + save_event_target_as = eunuch_gift + } + } + + option = { + name = EVTOPTALoR.887 + custom_tooltip = { + text = eunuch_gift_tooltip + } + } + option = { + name = EVTOPTBLoR.887 + custom_tooltip = { text = eunuch_declined } + hidden_tooltip = { + event_target:eunuch_gift = { + death = { + death_reason = death_missing + } + } + } + } +} + +### Tzykanion + +# AI Challenges +character_event = { + id = LoR.900 + hide_window = yes + + ai = yes + min_age = 16 + max_age = 50 + capable_only = yes + only_playable = yes + prisoner = no + culture = greek + only_men = yes + + trigger = { + primary_title = { higher_tier_than = COUNT } + is_feudal = yes + OR = { + liege = { + has_dlc = "Legacy of Rome" + has_landed_title = e_byzantium + NOT = { has_character_flag = no_more_tzykanion } + ai = no + culture = greek + is_female = no + prisoner = no + age = 16 + NOT = { age = 50 } + NOT = { trait = infirm } + NOT = { trait = incapable } + NOT = { is_inaccessible_trigger = yes } + } + liege = { + has_landed_title = e_byzantium + any_realm_lord = { + ai = no + has_dlc = "Legacy of Rome" + NOT = { has_character_flag = no_more_tzykanion } + same_liege = ROOT + culture = greek + is_female = no + prisoner = no + age = 16 + NOT = { age = 50 } + NOT = { trait = infirm } + NOT = { trait = incapable } + NOT = { is_inaccessible_trigger = yes } + } + } + } + } + + mean_time_to_happen = { + months = 1800 + } + + immediate = { + if = { + limit = { + liege = { + has_landed_title = e_byzantium + ai = no + culture = greek + is_female = no + prisoner = no + age = 16 + NOT = { age = 50 } + NOT = { trait = infirm } + NOT = { trait = incapable } + NOT = { is_inaccessible_trigger = yes } + } + } + liege = { + save_event_target_as = tzykanion + character_event = { id = LoR.901 } + } + } + if = { + limit = { NOT = { event_target:tzykanion = { always = yes } } } + + liege = { + random_realm_lord = { + limit = { + ai = no + NOT = { has_character_flag = no_more_tzykanion } + same_liege = ROOT + culture = greek + is_female = no + prisoner = no + age = 16 + NOT = { age = 50 } + NOT = { trait = infirm } + NOT = { trait = incapable } + NOT = { is_inaccessible_trigger = yes } + } + save_event_target_as = tzykanion + character_event = { id = LoR.901 } + } + } + } + } +} + +# Player is Challenged +character_event = { + id = LoR.901 + desc = EVTDESCLoR.901 + picture = GFX_evt_hippodrome_byzantine + + is_triggered_only = yes + + option = { + name = EVTOPTALoR.901 + custom_tooltip = { + text = tzykanion_accepted + hidden_tooltip = { + if = { + limit = { + NOT = { trait = wroth } + } + random_list = { + 50 = { + character_event = { id = LoR.902 } + } + 50 = { + character_event = { id = LoR.903 } + } + } + } + if = { + limit = { trait = wroth } + character_event = { id = LoR.904 } + } + } + } + } + option = { + name = EVTOPTBLoR.901 + custom_tooltip = { text = tzykanion_declined } + } +} + +# Player Wins +character_event = { + id = LoR.902 + desc = EVTDESCLoR.902 + picture = GFX_evt_hippodrome_byzantine + + is_triggered_only = yes + + option = { + name = EVTOPTALoR.902 + prestige = 25 + + event_target:tzykanion = { + opinion = { + modifier = opinion_tzykanion_pos + who = ROOT + } + } + } +} + +# Player Loses +character_event = { + id = LoR.903 + desc = EVTDESCLoR.903 + picture = GFX_evt_hippodrome_byzantine + + is_triggered_only = yes + + option = { + name = EVTOPTALoR.903 + + event_target:tzykanion = { + opinion = { + modifier = opinion_tzykanion_pos + who = ROOT + } + } + } +} + +# Player Goes Bananas +character_event = { + id = LoR.904 + desc = EVTDESCLoR.904 + picture = GFX_evt_hippodrome_byzantine + + is_triggered_only = yes + + option = { + name = EVTOPTALoR.904 + prestige = -25 + set_character_flag = no_more_tzykanion + + event_target:tzykanion = { + opinion = { + modifier = opinion_tzykanion_neg + who = ROOT + } + } + } +} \ No newline at end of file diff --git a/LCDA/events/chronicle_events.txt b/LCDA/events/chronicle_events.txt new file mode 100644 index 0000000..ed4f4a1 --- /dev/null +++ b/LCDA/events/chronicle_events.txt @@ -0,0 +1,1953 @@ +########################################### +# # +# Special Chronicle Events # +# # +# ID CM.10000-CM.11999 # +# # +########################################### + +namespace = CM + +# When chronicle is begun (On Action on_chronicle_start) +character_event = { + id = CM.10000 + + is_triggered_only = yes + + hide_window = yes + + immediate = { + chronicle = { + entry = CHRONICLE_START + picture = GFX_evt_monk + } + } +} + +# When chronicle is transferred to new character (On Action on_chronicle_owner_change) +character_event = { + id = CM.10001 + + is_triggered_only = yes + + hide_window = yes + + immediate = { + if = { + limit = { + FROM = { + is_dying = no + } + } + chronicle = { + entry = CHRONICLE_PLAYER_INHERITANCE_LANDLESS + portrait = [Root.GetID] + picture = GFX_evt_emissary + } + } + if = { + limit = { + FROM = { + is_dying = yes + culture = ROOT + religion = ROOT + } + } + chronicle = { + entry = CHRONICLE_PLAYER_INHERITANCE_NORMAL + portrait = [Root.GetID] + picture = GFX_evt_coronation + } + } + if = { + limit = { + FROM = { + is_dying = yes + culture = ROOT + NOT = { religion = ROOT } + } + } + chronicle = { + entry = CHRONICLE_PLAYER_INHERITANCE_NEW_RELIGION + portrait = [Root.GetID] + picture = GFX_evt_coronation + } + } + if = { + limit = { + FROM = { + is_dying = yes + NOT = { culture = ROOT } + religion = ROOT + } + } + chronicle = { + entry = CHRONICLE_PLAYER_INHERITANCE_NEW_CULTURE + portrait = [Root.GetID] + picture = GFX_evt_coronation + } + } + if = { + limit = { + FROM = { + is_dying = yes + NOT = { culture = ROOT } + NOT = { religion = ROOT } + } + } + chronicle = { + entry = CHRONICLE_PLAYER_INHERITANCE_NEW_CULTURE_AND_RELIGION + portrait = [Root.GetID] + picture = GFX_evt_coronation + } + } + } +} + +############################# +# Various chronicle events # +############################# + +# From on action on_death - check who died and create appropriate chronicle entries +character_event = { + id = CM.10010 + + hide_window = yes + + is_triggered_only = yes + + trigger = { + any_player = { + OR = { + liege = { character = ROOT } + any_spouse = { character = ROOT } + is_child_of = ROOT + current_heir = { + character = ROOT + } + AND = { + religion = ROOT + ROOT = { controls_religion = yes } + } + } + } + } + + immediate = { + any_vassal = { + limit = { + ai = no + NOT = { + OR = { + father = { character = ROOT } + mother = { character = ROOT } + } + } + NOT = { is_primary_heir = ROOT } # Any vassal except primary heir which is handled in chronicle owner transfer event CM.10001 + } + chronicle = { + entry = CHRONICLE_DEATH_OF_LIEGE + portrait = [Root.GetID] + } + } + any_spouse = { + limit = { + ai = no + NOT = { is_primary_heir = ROOT } # Not used for primary heir which is handled in chronicle owner transfer event CM.10001 + } + chronicle = { + entry = CHRONICLE_DEATH_OF_SPOUSE + portrait = [Root.GetID] + } + } + any_child = { + limit = { + ai = no + ROOT = { + NOT = { is_primary_heir = PREV } # Sent to any child except primary heir which is handled in chronicle owner transfer event CM.10001 + } + } + chronicle = { + entry = CHRONICLE_DEATH_OF_PARENT + portrait = [Root.GetID] + } + } + any_player = { + limit = { + current_heir = { + character = ROOT + } + NOT = { is_primary_heir = ROOT } # Not used for primary heir which is handled in chronicle owner transfer event CM.10001 + } + chronicle = { + entry = CHRONICLE_DEATH_OF_HEIR + portrait = [Root.GetID] + } + } + any_player = { + limit = { + religion_head = { + character = ROOT + } + NOT = { is_primary_heir = ROOT } # Not used for primary heir which is handled in chronicle owner transfer event CM.10001 + NOT = { + OR = { + father = { character = ROOT } + mother = { character = ROOT } + spouse = { character = ROOT } + } + } + } + chronicle = { + entry = CHRONICLE_DEATH_OF_RELIGION_HEAD + portrait = [Root.GetID] + } + } + } +} + +# From on action on_birth - check who was born and create appropriate chronicle entries +character_event = { + id = CM.10011 + + hide_window = yes + + is_triggered_only = yes + + trigger = { + OR = { + father = { ai = no } + mother = { ai = no } + } + } + + immediate = { + character_event = { id = CM.19011 days = 2 } # Delay to allow for naming of child. + } +} + +character_event = { + id = CM.19011 + + hide_window = yes + + is_triggered_only = yes + + trigger = { + OR = { + father = { ai = no } + mother = { ai = no } + } + } + + immediate = { + father = { + if = { + limit = { + ai = no + OR = { + NOT = { num_of_children = 2 } + AND = { + FROM = { is_female = no } + NOT = { + any_child = { + NOT = { character = FROM } + is_female = no + } + } + } + } + } + chronicle = { + entry = CHRONICLE_BIRTH_FATHER + portrait = [Root.GetID] + } + } + } + mother = { + if = { + limit = { + ai = no + OR = { + NOT = { num_of_children = 2 } + AND = { + FROM = { is_female = no } + NOT = { + any_child = { + NOT = { character = FROM } + is_female = no + } + } + } + } + } + chronicle = { + entry = CHRONICLE_BIRTH_MOTHER + portrait = [Root.GetID] + } + } + } + } +} + +# War +character_event = { + id = CM.10012 + + hide_window = yes + + is_triggered_only = yes + + trigger = { + OR = { + ai = no + FROM = { ai = no } + } + } + + immediate = { + FROM = { + if = { + limit = { ai = no } + chronicle = { + entry = CHRONICLE_WAR_DECLARED_ATTACKER + portrait = [Prev.GetID] + } + } + } + if = { + limit = { ai = no } + chronicle = { + entry = CHRONICLE_WAR_DECLARED_DEFENDER + portrait = [From.GetID] + } + } + } +} + +# Joined ally in war +character_event = { + id = CM.10013 + + hide_window = yes + + is_triggered_only = yes + + ai = no + + immediate = { + chronicle = { + entry = CHRONICLE_JOINED_ALLY_IN_WAR + portrait = [From.GetID] + } + } +} + +# Answered call to arms +character_event = { + id = CM.10014 + + hide_window = yes + + is_triggered_only = yes + + trigger = { + FROM = { ai = no } + } + + immediate = { + FROM = { + chronicle = { + entry = CHRONICLE_JOINED_ALLY_IN_WAR_2 + portrait = [Prev.GetID] + } + } + } +} + +# On crusade creation + # Called from 'on_crusade_creation' + # new_character is the targetted enemy + # ROOT is the religious head + # FROM is the attacked kingdom title +character_event = { + id = CM.10015 + + hide_window = yes + + is_triggered_only = yes + + immediate = { + any_player = { + limit = { + religion = ROOT + } + chronicle = { + entry = CHRONICLE_FRIENDLY_CRUSADE_STARTED + portrait = [Root.GetID] + } + } + any_player = { + limit = { + new_character = { + religion = PREV + } + } + chronicle = { + entry = CHRONICLE_UNFRIENDLY_CRUSADE_STARTED + portrait = [Root.GetID] + } + } + ROOT = { + if = { + limit = { ai = no } + chronicle = { + entry = CHRONICLE_FRIENDLY_CRUSADE_STARTED + portrait = [Root.GetID] + } + } + } + } +} + +# On crusade success + # ROOT is the target title + # new_character is the Enemy + # FROM is the taker +character_event = { + id = CM.10016 + + hide_window = yes + + is_triggered_only = yes + + immediate = { + if = { + limit = { + FROM = { + religion_head = { is_alive = yes } + } + } + any_player = { + limit = { + OR = { + religion = FROM + new_character = { + religion = PREV + } + } + NOT = { character = FROM } + } + chronicle = { + entry = CHRONICLE_CRUSADE_WON + portrait = [From.RelHead.GetID] + } + } + FROM = { + if = { + limit = { ai = no } + chronicle = { + entry = CHRONICLE_CRUSADE_WON_AND_I_GOT_THE_TITLE + portrait = [From.GetID] + } + } + } + } + if = { + limit = { + NOT = { + FROM = { + religion_head = { is_alive = yes } # Crusade ended inconclusively as the religious head no longer exist + } + } + } + any_player = { + limit = { + OR = { + religion = FROM + new_character = { + religion = PREV + } + } + } + chronicle = { + entry = CHRONICLE_CRUSADE_LOST_NO_HEAD + } + } + } + } +} + +# On crusade failure + # ROOT is the target title + # new_character is the Enemy + # FROM is the Pope/Caliph +character_event = { + id = CM.10017 + + hide_window = yes + + is_triggered_only = yes + + immediate = { + any_player = { + limit = { + OR = { + religion = FROM + new_character = { + religion = PREV + } + } + } + chronicle = { + entry = CHRONICLE_CRUSADE_LOST + portrait = [New.GetID] + } + } + } +} + +# Aztec first contact +character_event = { + id = CM.10018 + + hide_window = yes + + is_triggered_only = yes + + immediate = { + any_player = { + limit = { + capital_scope = { + NOT = { region = world_india } + NOT = { region = world_africa_east } + } + } + character_event = { id = CM.10019 } + } + } +} + +character_event = { + id = CM.10019 + + hide_window = yes + + is_triggered_only = yes + + immediate = { + chronicle = { + entry = CHRONICLE_AZTECS_FIRST_CONTACT + portrait = [From.GetID] + } + } +} + +# Aztec Invasion +character_event = { + id = CM.10020 + + hide_window = yes + + is_triggered_only = yes + + immediate = { + chronicle = { + entry = CHRONICLE_AZTEC_INVASION + portrait = [From.GetID] + } + } +} + +# Creates new higher level title + # On create title - ROOT is the creating character, FROM is the title +character_event = { + id = CM.10021 + + hide_window = yes + + is_triggered_only = yes + + trigger = { + ROOT = { + ai = no + any_demesne_title = { + NOT = { title = FROM } + FROM = { + higher_tier_than = PREV + } + } + } + } + + immediate = { + chronicle = { + entry = CHRONICLE_CREATED_TITLE + portrait = [Root.GetID] + } + } +} + +# Usurps new higher level title + # On usurp title ROOT is the character, FROM is the title, FROMFROM is the old holder +character_event = { + id = CM.10022 + + hide_window = yes + + is_triggered_only = yes + + trigger = { + ai = no + ROOT = { + any_demesne_title = { + NOT = { title = FROM } + FROM = { + higher_tier_than = PREV + } + } + } + } + + immediate = { + chronicle = { + entry = CHRONICLE_USURPED_TITLE + portrait = [Root.GetID] + } + } +} + +# Marriage +character_event = { + id = CM.10023 + + hide_window = yes + + is_triggered_only = yes + + trigger = { + FROM = { + ai = no + } + } + + immediate = { + if = { + limit = { + new_character = { + mother_even_if_dead = { always = yes } + OR = { + father_even_if_dead = { + PREV = { + mother_even_if_dead = { + higher_tier_than = PREVPREV + } + } + } + NOT = { father_even_if_dead = { always = yes } } + } + } + } + FROM = { + chronicle = { + entry = CHRONICLE_MARRIED_MOTHER_IMPORTANT + portrait = [New.GetID] + } + } + } + if = { + limit = { + new_character = { + father_even_if_dead = { always = yes } + OR = { + father_even_if_dead = { + PREV = { + mother_even_if_dead = { + NOT = { higher_tier_than = PREVPREV } + } + } + } + NOT = { mother_even_if_dead = { always = yes } } + } + } + } + FROM = { + chronicle = { + entry = CHRONICLE_MARRIED_FATHER_IMPORTANT + portrait = [New.GetID] + } + } + } + if = { + limit = { + new_character = { + NOT = { father_even_if_dead = { always = yes } } + NOT = { mother_even_if_dead = { always = yes } } + } + } + FROM = { + chronicle = { + entry = CHRONICLE_MARRIED_NO_PARENT + portrait = [New.GetID] + } + } + } + } +} + + +# From on action on_became_imprisoned - check who was imprisoned and create appropriate chronicle entries +character_event = { + id = CM.10024 + + hide_window = yes + + is_triggered_only = yes + + trigger = { + any_player = { + OR = { + character = ROOT + liege = { character = ROOT } + any_spouse = { character = ROOT } + is_child_of = ROOT + current_heir = { + character = ROOT + } + AND = { + religion = ROOT + ROOT = { controls_religion = yes } + } + } + } + } + + immediate = { + if = { + limit = { ai = no } + chronicle = { + entry = CHRONICLE_PLAYER_IMPRISONED + portrait = [Root.GetID] + } + } + any_vassal = { + limit = { ai = no } + chronicle = { + entry = CHRONICLE_LIEGE_IMPRISONED + portrait = [Root.GetID] + } + } + any_spouse = { + limit = { ai = no } + chronicle = { + entry = CHRONICLE_SPOUSE_IMPRISONED + portrait = [Root.GetID] + } + } + any_child = { + limit = { ai = no } + chronicle = { + entry = CHRONICLE_PARENT_IMPRISONED + portrait = [Root.GetID] + } + } + any_player = { + limit = { + current_heir = { + character = ROOT + } + } + chronicle = { + entry = CHRONICLE_HEIR_IMPRISONED + portrait = [Root.GetID] + } + } + any_player = { + limit = { + religion_head = { + character = ROOT + } + } + chronicle = { + entry = CHRONICLE_RELIGION_HEAD_IMPRISONED + portrait = [Root.GetID] + } + } + } +} + +# From on action on_released_from_prison - check who was released and create appropriate chronicle entries +character_event = { + id = CM.10025 + + hide_window = yes + + is_triggered_only = yes + + trigger = { + any_player = { + OR = { + character = ROOT + liege = { character = ROOT } + any_spouse = { character = ROOT } + is_child_of = ROOT + current_heir = { + character = ROOT + } + AND = { + religion = ROOT + ROOT = { controls_religion = yes } + } + } + } + } + + immediate = { + if = { + limit = { ai = no } + chronicle = { + entry = CHRONICLE_PLAYER_RELEASED + portrait = [Root.GetID] + } + } + any_vassal = { + limit = { ai = no } + chronicle = { + entry = CHRONICLE_LIEGE_RELEASED + portrait = [Root.GetID] + } + } + any_spouse = { + limit = { ai = no } + chronicle = { + entry = CHRONICLE_SPOUSE_RELEASED + portrait = [Root.GetID] + } + } + any_child = { + limit = { ai = no } + chronicle = { + entry = CHRONICLE_PARENT_RELEASED + portrait = [Root.GetID] + } + } + any_player = { + limit = { + current_heir = { + character = ROOT + } + } + chronicle = { + entry = CHRONICLE_HEIR_RELEASED + portrait = [Root.GetID] + } + } + any_player = { + limit = { + religion_head = { + character = ROOT + } + } + chronicle = { + entry = CHRONICLE_RELIGION_HEAD_RELEASED + portrait = [Root.GetID] + } + } + } +} + +# When a character converts to a new religion - On action: on_character_convert_religion +character_event = { + id = CM.10026 + + hide_window = yes + + is_triggered_only = yes + + trigger = { + OR = { + ai = no + any_vassal = { ai = no } + liege = { ai = no } + } + } + + immediate = { + if = { + limit = { ai = no } + chronicle = { + entry = CHRONICLE_PLAYER_CONVERTED_RELIGION + portrait = [Root.GetID] + } + } + if = { + limit = { + any_vassal = { ai = no } + } + any_vassal = { + limit = { ai = no } + chronicle = { + entry = CHRONICLE_LIEGE_CONVERTED_RELIGION + portrait = [Root.GetID] + } + } + } + if = { + limit = { + liege = { ai = no } + independent = no + OR = { + AND = { + liege = { primary_title = { tier = KING } } + primary_title = { higher_tier_than = COUNT } + } + AND = { + liege = { primary_title = { tier = EMPEROR } } + primary_title = { higher_tier_than = DUKE } + } + } + } + liege = { + chronicle = { + entry = CHRONICLE_MAJOR_VASSAL_CONVERTED_RELIGION + portrait = [Root.GetID] + } + } + } + } +} + +# When a character converts to a new culture - On action: on_character_convert_culture +character_event = { + id = CM.10027 + + hide_window = yes + + is_triggered_only = yes + + ai = no + + immediate = { + chronicle = { + entry = CHRONICLE_PLAYER_CONVERTED_CULTURE + portrait = [Root.GetID] + } + } +} + +# When a character acquires a nickname - On action: on_acquire_nickname +character_event = { + id = CM.10028 + + hide_window = yes + + is_triggered_only = yes + + ai = no + + immediate = { + chronicle = { + entry = CHRONICLE_PLAYER_ACQUIRED_NICKNAME + portrait = [Root.GetID] + } + } +} + +# Won battle - On action: on_battle_won +character_event = { + id = CM.10029 + + hide_window = yes + + is_triggered_only = yes + + ai = no + + immediate = { + chronicle = { + entry = CHRONICLE_WON_BATTLE_FOUGHT + portrait = [Root.GetID] + } + } +} + +# Lost battle - On action: on_battle_lost +character_event = { + id = CM.10030 + + hide_window = yes + + is_triggered_only = yes + + ai = no + + immediate = { + chronicle = { + entry = CHRONICLE_LOST_BATTLE_FOUGHT + portrait = [Root.GetID] + } + } +} + +# Won battle but didn't participate myself +character_event = { + id = CM.10031 + + hide_window = yes + + is_triggered_only = yes + + immediate = { + if = { + limit = { + top_liege = { + ai = no + NOT = { at_location = ROOT } + war_with = FROM + } + } + top_liege = { + chronicle = { + entry = CHRONICLE_WON_BATTLE_BUT_DIDNT_FIGHT + portrait = [Root.GetID] # The commander + } + } + } + } +} + +# Lost battle but didn't participate myself +character_event = { + id = CM.10032 + + hide_window = yes + + is_triggered_only = yes + + ai = yes + + immediate = { + if = { + limit = { + top_liege = { + ai = no + NOT = { at_location = ROOT } + war_with = FROM + } + } + top_liege = { + chronicle = { + entry = CHRONICLE_LOST_BATTLE_BUT_DIDNT_FIGHT + portrait = [Root.GetID] # The commander + } + } + } + } +} + +# Personally captured major settlement +character_event = { + id = CM.10033 + + hide_window = yes + + is_triggered_only = yes + + ai = no + + immediate = { + chronicle = { + entry = CHRONICLE_CAPTURED_MAJOR_SETTLEMENT_MYSELF + picture = GFX_evt_victory_arch_byzantine + } + } +} + +# My forces captured major settlement +character_event = { + id = CM.10034 + + hide_window = yes + + is_triggered_only = yes + + ai = yes + + trigger = { + OR = { + FROM = { title = b_roma } + FROM = { title = b_constantinople } + FROM = { title = b_bagdad } + FROM = { title = b_indraprastha } + FROM = { title = b_jerusalem } + FROM = { title = b_mecca } + FROM = { title = b_alexandria } + FROM = { title = b_cordoba } + AND = { + year = 900 + FROM = { title = b_venezia } + } + AND = { + year = 1164 + FROM = { title = b_koln } + } + AND = { + year = 1200 + FROM = { title = b_paris } + } + } + } + + immediate = { + if = { + limit = { + top_liege = { + ai = no + NOT = { at_location = ROOT } + } + } + top_liege = { + chronicle = { + entry = CHRONICLE_MY_FORCES_CAPTURED_MAJOR_SETTLEMENT + portrait = [Root.GetID] # The commander + } + } + } + } +} + +# Enemy forces captured major settlement +character_event = { + id = CM.10035 + + hide_window = yes + + is_triggered_only = yes + + ai = yes + + trigger = { + OR = { + FROM = { title = b_roma } + FROM = { title = b_constantinople } + FROM = { title = b_bagdad } + FROM = { title = b_indraprastha } + FROM = { title = b_jerusalem } + FROM = { title = b_mecca } + FROM = { title = b_alexandria } + FROM = { title = b_cordoba } + AND = { + year = 900 + FROM = { title = b_venezia } + } + AND = { + year = 1164 + FROM = { title = b_koln } + } + AND = { + year = 1200 + FROM = { title = b_paris } + } + } + } + + immediate = { + if = { + limit = { + FROM = { + owner = { + top_liege = { + ai = no + } + } + } + } + FROM = { + owner = { + top_liege = { + chronicle = { + entry = CHRONICLE_ENEMY_FORCES_CAPTURED_MAJOR_SETTLEMENT + portrait = [Root.GetID] # The owner of the enemy forces + } + } + } + } + } + } +} + +# Marriage of primary heir - ROOT is employer. FROM is employers "employee". new_character is the other spouse. +character_event = { + id = CM.10036 + + hide_window = yes + + is_triggered_only = yes + + trigger = { + any_player = { + FROM = { is_primary_heir = PREV } + } + } + + immediate = { + if = { + limit = { + new_character = { + mother_even_if_dead = { always = yes } + OR = { + father_even_if_dead = { + PREV = { + mother_even_if_dead = { + higher_tier_than = PREVPREV + } + } + } + NOT = { father_even_if_dead = { always = yes } } + } + } + } + any_player = { + limit = { + FROM = { is_primary_heir = PREV } + } + chronicle = { + entry = CHRONICLE_MARRIED_MOTHER_IMPORTANT + portrait = [New.GetID] + } + } + } + if = { + limit = { + new_character = { + father_even_if_dead = { always = yes } + OR = { + father_even_if_dead = { + PREV = { + mother_even_if_dead = { + NOT = { higher_tier_than = PREVPREV } + } + } + } + NOT = { mother_even_if_dead = { always = yes } } + } + } + } + any_player = { + limit = { + FROM = { is_primary_heir = PREV } + } + chronicle = { + entry = CHRONICLE_MARRIED_FATHER_IMPORTANT + portrait = [New.GetID] + } + } + } + if = { + limit = { + new_character = { + NOT = { father_even_if_dead = { always = yes } } + NOT = { mother_even_if_dead = { always = yes } } + } + } + any_player = { + limit = { + FROM = { is_primary_heir = PREV } + } + chronicle = { + entry = CHRONICLE_MARRIED_NO_PARENT + portrait = [New.GetID] + } + } + } + } +} + +# Divorce +character_event = { + id = CM.10037 + + hide_window = yes + + is_triggered_only = yes + + trigger = { + OR = { + ai = no + FROM = { + ai = no + } + } + } + + immediate = { + # Chronicle entries with a religious head + if = { + limit = { + new_character = { + always = yes + } + } + if = { + limit = { + ai = no + } + chronicle = { + entry = CHRONICLE_DIVORCED + portrait = [From.GetID] + } + } + FROM = { + if = { + limit = { + ai = no + } + chronicle = { + entry = CHRONICLE_DIVORCED + portrait = [From.GetID] + } + } + } + break = yes + } + # Chronicle entries without a religious head + if = { + limit = { + ai = no + } + chronicle = { + entry = CHRONICLE_DIVORCED_NO_HEAD + portrait = [From.GetID] + } + } + FROM = { + if = { + limit = { + ai = no + } + chronicle = { + entry = CHRONICLE_DIVORCED_NO_HEAD + portrait = [From.GetID] + } + } + } + } +} + +# Peace, attacker won +character_event = { + id = CM.10038 + + hide_window = yes + + is_triggered_only = yes + + trigger = { + OR = { + ai = no + FROM = { ai = no } + } + } + + immediate = { + FROM = { + if = { + limit = { ai = no } + chronicle = { + entry = CHRONICLE_WAR_WON + portrait = [Prev.GetID] + } + } + } + if = { + limit = { ai = no } + chronicle = { + entry = CHRONICLE_WAR_WON + portrait = [From.GetID] + } + } + } +} + +# Inherit major title - # ROOT is the character, FROM is the title, FROMFROM is the old holder +character_event = { + id = CM.10039 + + hide_window = yes + + is_triggered_only = yes + + trigger = { + ai = no + } + + immediate = { + if = { + limit = { + NOT = { higher_tier_than = FROM } + } + chronicle = { + entry = CHRONICLE_INHERIT_MAJOR_TITLE + picture = GFX_evt_throne_room + } + } + } +} + +# Peace, whitepeace +character_event = { + id = CM.10040 + + hide_window = yes + + is_triggered_only = yes + + trigger = { + OR = { + ai = no + FROM = { ai = no } + } + } + + immediate = { + FROM = { + if = { + limit = { ai = no } + chronicle = { + entry = CHRONICLE_WAR_WHITEPEACE + portrait = [Prev.GetID] + } + } + } + if = { + limit = { ai = no } + chronicle = { + entry = CHRONICLE_WAR_WHITEPEACE + portrait = [From.GetID] + } + } + } +} + +# Peace, defender won +character_event = { + id = CM.10041 + + hide_window = yes + + is_triggered_only = yes + + trigger = { + OR = { + ai = no + FROM = { ai = no } + } + } + + immediate = { + FROM = { + if = { + limit = { ai = no } + chronicle = { + entry = CHRONICLE_WAR_LOST + portrait = [Prev.GetID] + } + } + } + if = { + limit = { ai = no } + chronicle = { + entry = CHRONICLE_WAR_LOST + portrait = [From.GetID] + } + } + } +} + + + +############################################################################################# +# Random content if chronicle is empty at year end (On Action on_create_chronicle_if_empty) # +############################################################################################# + +# Dragon Sighted +character_event = { + id = CM.10500 + + is_triggered_only = yes + + hide_window = yes + + immediate = { + random_realm_province = { + province_event = { id = CM.10501 } + } + } +} + +province_event = { + id = CM.10501 + + hide_window = yes + + is_triggered_only = yes + + immediate = { + FROM = { + chronicle = { + entry = CHRONICLE_FILL0001 + type = MONSTER_SIGHTED + } + } + } +} + +# Giant sighted +character_event = { + id = CM.10502 + + is_triggered_only = yes + + hide_window = yes + + immediate = { + random_realm_province = { + province_event = { id = CM.10503 } + } + } +} + +province_event = { + id = CM.10503 + + hide_window = yes + + is_triggered_only = yes + + immediate = { + FROM = { + chronicle = { + entry = CHRONICLE_FILL0002 + type = MONSTER_SIGHTED + } + } + } +} + +# Sea serpents sighted +character_event = { + id = CM.10504 + + is_triggered_only = yes + + hide_window = yes + + immediate = { + random_realm_province = { + province_event = { id = CM.10505 } + } + } +} + +province_event = { + id = CM.10505 + + hide_window = yes + + is_triggered_only = yes + + immediate = { + FROM = { + chronicle = { + entry = CHRONICLE_FILL0003 + type = MONSTER_SIGHTED + } + } + } +} + +# Strange shapes seen dancing on the moon +character_event = { + id = CM.10506 + + hide_window = yes + + is_triggered_only = yes + + immediate = { + chronicle = { + entry = CHRONICLE_FILL0004 + type = MONSTER_SIGHTED + } + } +} + +# Ten feet tall woman +character_event = { + id = CM.10507 + + is_triggered_only = yes + + hide_window = yes + + immediate = { + random_realm_province = { + province_event = { id = CM.10508 } + } + } +} + +province_event = { + id = CM.10508 + + hide_window = yes + + is_triggered_only = yes + + immediate = { + FROM = { + chronicle = { + entry = CHRONICLE_FILL0005 + type = MONSTER_SIGHTED + } + } + } +} + +# Raining blood +character_event = { + id = CM.10509 + + is_triggered_only = yes + + hide_window = yes + + immediate = { + random_realm_province = { + province_event = { id = CM.10510 } + } + } +} + +province_event = { + id = CM.10510 + + hide_window = yes + + is_triggered_only = yes + + immediate = { + FROM = { + chronicle = { + entry = CHRONICLE_FILL0006 + type = FREAK_NATURAL_EVENT + } + } + } +} + +# Strange plague kills rabbits +character_event = { + id = CM.10511 + + is_triggered_only = yes + + hide_window = yes + + immediate = { + random_realm_province = { + province_event = { id = CM.10512 } + } + } +} + +province_event = { + id = CM.10512 + + hide_window = yes + + is_triggered_only = yes + + immediate = { + FROM = { + chronicle = { + entry = CHRONICLE_FILL0007 + type = FREAK_NATURAL_EVENT + } + } + } +} + +# Earthquake +character_event = { + id = CM.10513 + + is_triggered_only = yes + + hide_window = yes + + immediate = { + random_realm_province = { + province_event = { id = CM.10514 } + } + } +} + +province_event = { + id = CM.10514 + + hide_window = yes + + is_triggered_only = yes + + immediate = { + FROM = { + chronicle = { + entry = CHRONICLE_FILL0008 + type = NATURAL_DISASTER + } + } + } +} + +# Flood +character_event = { + id = CM.10515 + + is_triggered_only = yes + + hide_window = yes + + immediate = { + random_realm_province = { + province_event = { id = CM.10516 } + } + } +} + +province_event = { + id = CM.10516 + + hide_window = yes + + is_triggered_only = yes + + immediate = { + FROM = { + chronicle = { + entry = CHRONICLE_FILL0009 + type = NATURAL_DISASTER + } + } + } +} + +# Two suns were seen +character_event = { + id = CM.10517 + + is_triggered_only = yes + + hide_window = yes + + immediate = { + random_realm_province = { + province_event = { id = CM.10518 } + } + } +} + +province_event = { + id = CM.10518 + + hide_window = yes + + is_triggered_only = yes + + immediate = { + FROM = { + chronicle = { + entry = CHRONICLE_FILL0010 + type = FREAK_NATURAL_EVENT + } + } + } +} + +# Goat with three heads was born +character_event = { + id = CM.10519 + + is_triggered_only = yes + + hide_window = yes + + immediate = { + random_realm_province = { + province_event = { id = CM.10520 } + } + } +} + +province_event = { + id = CM.10520 + + hide_window = yes + + is_triggered_only = yes + + immediate = { + FROM = { + chronicle = { + entry = CHRONICLE_FILL0011 + type = MONSTER_SIGHTED + } + } + } +} + +# Bird invasion +character_event = { + id = CM.10521 + + is_triggered_only = yes + + hide_window = yes + + immediate = { + random_realm_province = { + province_event = { id = CM.10522 } + } + } +} + +province_event = { + id = CM.10522 + + hide_window = yes + + is_triggered_only = yes + + immediate = { + FROM = { + chronicle = { + entry = CHRONICLE_FILL0012 + type = FREAK_NATURAL_EVENT + } + } + } +} + +# Many children born in province +character_event = { + id = CM.10523 + + is_triggered_only = yes + + hide_window = yes + + immediate = { + random_realm_province = { + province_event = { id = CM.10524 } + } + } +} + +province_event = { + id = CM.10524 + + hide_window = yes + + is_triggered_only = yes + + immediate = { + FROM = { + chronicle = { + entry = CHRONICLE_FILL0013 + type = POPULATION_EVENT + } + } + } +} + +# Province celebrates beloved ruler +character_event = { + id = CM.10525 + + is_triggered_only = yes + + hide_window = yes + + immediate = { + random_demesne_province = { + province_event = { id = CM.10526 } + } + } +} + +province_event = { + id = CM.10526 + + hide_window = yes + + is_triggered_only = yes + + immediate = { + FROM = { + chronicle = { + entry = CHRONICLE_FILL0014 + type = POPULATION_EVENT + } + } + } +} + +# A star falls from the sky +character_event = { + id = CM.10527 + + is_triggered_only = yes + + hide_window = yes + + immediate = { + random_realm_province = { + province_event = { id = CM.10528 } + } + } +} + +province_event = { + id = CM.10528 + + hide_window = yes + + is_triggered_only = yes + + immediate = { + FROM = { + chronicle = { + entry = CHRONICLE_FILL0015 + type = FREAK_NATURAL_EVENT + } + } + } +} + +# Bountiful harvest +character_event = { + id = CM.10529 + + is_triggered_only = yes + + hide_window = yes + + immediate = { + chronicle = { + entry = CHRONICLE_FILL0016 + type = POPULATION_EVENT + } + } +} + + diff --git a/LCDA/events/cm_charlemagne_story_events.txt b/LCDA/events/cm_charlemagne_story_events.txt new file mode 100644 index 0000000..76bec56 --- /dev/null +++ b/LCDA/events/cm_charlemagne_story_events.txt @@ -0,0 +1,3533 @@ + +########################################### +# # +# Charlemagne Story Events # +# # +# ID CM.1000-CM.1999 # +# # +########################################### + +# Written by Tobias Bodlund + +namespace = CM + + +########################################### +# Charlemagne-Carloman rivalry # +########################################### + +# Charlemagne rivalry with brother +narrative_event = { + id = CM.1000 + title = EVTTITLE_CM_1000 + desc = EVTDESC_CM_1000 + picture = GFX_evt_rival_rulers + border = GFX_event_narrative_frame_war + + only_playable = yes + religion_group = christian + only_independent = yes + only_capable = yes + min_age = 16 + prisoner = no + has_character_flag = is_charlemagne + + trigger = { + has_dlc = "Charlemagne" + NOT = { + has_game_rule = { + name = charlemagne_story + value = off + } + } + NOT = { year = 780 } + NOT = { has_character_flag = charlemagne_brother_rivalry } + } + + mean_time_to_happen = { + days = 1 + } + + immediate = { + character_event = { id = CM.1040 days = 50 } + } + + option = { + name = EVTOPTA_CM_1000 + set_character_flag = charlemagne_brother_rivalry + any_sibling = { + limit = { + has_character_flag = is_carloman + } + add_rival = ROOT + } + hidden_tooltip = { narrative_event = { id = CM.1010 days = 10 } } + hidden_tooltip = { narrative_event = { id = CM.1120 days = 700 random = 50 } } + } +} + +# Carloman rivalry with brother +narrative_event = { + id = CM.1001 + desc = EVTDESC_CM_1000 + title = EVTTITLE_CM_1000 + picture = GFX_evt_rival_rulers + + only_playable = yes + religion_group = christian + only_independent = yes + only_capable = yes + min_age = 16 + prisoner = no + has_character_flag = is_carloman + + trigger = { + has_dlc = "Charlemagne" + NOT = { + has_game_rule = { + name = charlemagne_story + value = off + } + } + NOT = { year = 780 } + NOT = { has_character_flag = charlemagne_brother_rivalry } + } + + mean_time_to_happen = { + days = 1 + } + + option = { + name = EVTOPTA_CM_1000 + set_character_flag = charlemagne_brother_rivalry + any_sibling = { + limit = { + has_character_flag = is_charlemagne + } + add_rival = ROOT + } + } +} + +# Notify Carloman of Charlemagne's death, give him titles +narrative_event = { + id = CM.1002 + title = EVTTITLE_CM_1002 + desc = EVTDESC_CM_1002 + picture = GFX_evt_emissary + + is_triggered_only = yes + + trigger = { + NOT = { + has_game_rule = { + name = charlemagne_story + value = off + } + } + } + + option = { + name = EVTOPTA_CM_1002 + } +} + +# Notify Charlemagne of Carloman's death, give him titles +narrative_event = { + id = CM.1003 + title = EVTTITLE_CM_1003 + desc = EVTDESC_CM_1002 + picture = GFX_evt_emissary + + is_triggered_only = yes + + trigger = { + NOT = { + has_game_rule = { + name = charlemagne_story + value = off + } + } + } + + option = { + name = EVTOPTA_CM_1002 + } +} + +########################################### +# Desideria the Lombard Princess # +########################################### + +# Marriage to Desideria +narrative_event = { + id = CM.1010 + title = EVTTITLE_CM_1010 + desc = EVTDESC_CM_1010 + picture = GFX_evt_marriage + + capable_only = yes + prisoner = no + has_dlc = "Charlemagne" + has_character_flag = is_charlemagne + is_married = no + + is_triggered_only = yes + + trigger = { + any_sibling = { + has_character_flag = is_carloman + is_rival = ROOT + } + k_italy = { + holder_scope = { + culture = lombard + ai = yes + any_child = { + is_female = yes + is_married = no + } + } + } + } + + option = { + name = EVTOPTA_CM_1010 # Marry her + k_italy = { + holder_scope = { + random_child = { + limit = { + is_female = yes + is_married = no + } + add_spouse = ROOT + } + } + } + } + option = { + name = EVTOPTB_CM_1010 # No Lombards in my bed! + prestige = -30 + } +} + +# Divorce from Desideria +narrative_event = { + id = CM.1011 + title = EVTTITLE_CM_1011 + desc = EVTDESC_CM_1011 + picture = GFX_evt_scandal + + is_triggered_only = yes + + only_playable = yes + capable_only = yes + has_character_flag = is_charlemagne + + trigger = { + has_dlc = "Charlemagne" + NOT = { + has_game_rule = { + name = charlemagne_story + value = off + } + } + year = 770 + NOT = { year = 850 } + NOT = { has_character_flag = kept_lombard_queen } + OR = { + culture = frankish + culture = old_frankish + } + spouse = { + culture = lombard + father = { culture = lombard } + } + NOT = { + any_sibling = { + has_character_flag = is_carloman + spouse = { culture = lombard } + } + } + } + + option = { + name = EVTOPTA_CM_1011 # Divorce her + piety = -100 + spouse = { + any_child = { + limit = { + is_father = ROOT + NOT = { culture = ROOT } + } + culture = ROOT + } + father = { + set_character_flag = charlemagne_enemy + opinion = { + modifier = opinion_furious + who = ROOT + years = 10 + } + } + mother = { + opinion = { + modifier = opinion_furious + who = ROOT + years = 10 + } + } + hidden_tooltip = { + father = { + PREV = { + move_character = PREV + } + } + } + } + remove_spouse = spouse + } + option = { + name = EVTOPTB_CM_1011 # No, she's my wife + set_character_flag = kept_lombard_queen + custom_tooltip = { text = most_lords_angry } + hidden_tooltip = { + any_realm_lord = { + limit = { + OR = { + culture = frankish + culture = old_frankish + } + NOT = { spouse = { culture = lombard } } + } + opinion = { + modifier = opinion_angry + who = ROOT + years = 5 + } + } + } + } +} + + +########################################### +# Queen Bertrada # +########################################### + +# Charlemagne dies and Bertrada approaches Carloman for reconciliation +character_event = { + id = CM.1020 + + hide_window = yes + + is_triggered_only = yes + + trigger = { + NOT = { + has_game_rule = { + name = charlemagne_story + value = off + } + } + } + + immediate = { + if = { + limit = { + prisoner = yes + } + repeat_event = { id = CM.1020 days = 30 } + break = yes + } + any_child = { + limit = { + has_character_flag = is_carloman + } + } + narrative_event = { id = CM.1021 } + } +} + +# Carloman receives her and gives his response +narrative_event = { + id = CM.1021 + title = EVTTITLE_CM_1021 + desc = EVTDESC_CM_1021 + picture = GFX_evt_daughter_asking_father + + is_triggered_only = yes + + trigger = { + has_dlc = "Charlemagne" + NOT = { + has_game_rule = { + name = charlemagne_story + value = off + } + } + has_character_flag = is_charlemagne + NOT = { + any_sibling = { + has_character_flag = is_charlemagne + } + } + } + + option = { + name = EVTOPTA_CM_1021 # I forgive you, Mother + FROM = { + move_character = ROOT + opinion = { + modifier = opinion_very_grateful + who = ROOT + years = 100 + } + } + } + option = { + name = EVTOPTB_CM_1021 # Begone, witch + FROM = { + opinion = { + modifier = opinion_bitter + who = ROOT + years = 100 + } + } + } +} + +# Bertrada sends letter to Carloman, asking him to stop petulantly interfering with his older brother's plans +character_event = { + id = CM.1022 + + hide_window = yes + + only_playable = yes + only_capable = yes + min_age = 16 + prisoner = no + has_character_flag = charlemagne_brother_rivalry + + trigger = { + has_dlc = "Charlemagne" + NOT = { + has_game_rule = { + name = charlemagne_story + value = off + } + } + NOT = { year = 780 } + has_character_flag = is_carloman + any_sibling = { + has_character_flag = is_charlemagne + } + mother = { + is_alive = yes + NOT = { has_character_flag = bertrada_carloman_talk } + } + } + + mean_time_to_happen = { + days = 60 + } + + immediate = { + mother = { character_event = { id = CM.1023 } } + } +} + +character_event = { + id = CM.1023 + + hide_window = yes + + is_triggered_only = yes + + immediate = { + set_character_flag = bertrada_carloman_talk + FROM = { letter_event = { id = CM.1024 } } + } +} + +letter_event = { + id = CM.1024 + desc = EVTDESC_CM_1024 + + is_triggered_only = yes + + option = { + name = EVTOPTA_CM_1024 + opinion = { + modifier = opinion_unappreciated + who = FROM + years = 10 + } + mother = { + opinion = { + modifier = opinion_disapprove + who = ROOT + years = 5 + } + } + } +} + +# Bertrada talks to Charlemagne, expressing her support +character_event = { + id = CM.1025 + + hide_window = yes + + only_playable = yes + only_capable = yes + min_age = 16 + prisoner = no + has_character_flag = charlemagne_brother_rivalry + + trigger = { + has_dlc = "Charlemagne" + NOT = { + has_game_rule = { + name = charlemagne_story + value = off + } + } + NOT = { year = 780 } + has_character_flag = is_charlemagne + any_sibling = { + has_character_flag = is_carloman + } + mother = { + is_alive = yes + prisoner = no + NOT = { has_character_flag = bertrada_charlemagne_talk } + } + } + + mean_time_to_happen = { + days = 60 + } + + immediate = { + mother = { character_event = { id = CM.1026 } } + } +} + +character_event = { + id = CM.1026 + + hide_window = yes + + is_triggered_only = yes + + immediate = { + set_character_flag = bertrada_charlemagne_talk + FROM = { narrative_event = { id = CM.1027 } } + } +} + +narrative_event = { + id = CM.1027 + desc = EVTDESC_CM_1027 + title = EVTTITLE_CM_1027 + picture = GFX_evt_daughter_asking_father + + is_triggered_only = yes + + option = { + name = EVTOPTA_CM_1027 + opinion = { + modifier = opinion_pleased + who = FROM + years = 5 + } + mother = { + opinion = { + modifier = opinion_favorite + who = ROOT + years = 5 + } + } + } +} + +################## +# Pepin le Bossu # +################## + +character_event = { + id = CM.1040 + desc = EVTDESC_CM_1040 + picture = GFX_evt_child_play + + is_triggered_only = yes + + trigger = { + has_dlc = "Charlemagne" + NOT = { + has_game_rule = { + name = charlemagne_story + value = off + } + } + any_child = { + has_character_flag = is_pepin_le_bossu + trait = bastard + } + } + + option = { + name = EVTOPTA_CM_1040 + ai_chance = { factor = 0 } + piety = -20 + any_child = { + limit = { + has_character_flag = is_pepin_le_bossu + } + dynasty = 25061 + remove_trait = bastard + add_trait = legit_bastard + recalc_succession = yes + give_nickname = nick_the_hunchback + mother = { + opinion = { + who = ROOT + modifier = legitimized_child + years = 10 + } + } + } + spouse = { + if = { + limit = { + NOT = { + any_child = { + has_character_flag = is_pepin_le_bossu + } + } + } + opinion = { + who = ROOT + modifier = legitimized_bastard + years = 20 + } + } + } + } + option = { + name = EVTOPTB_CM_1040 + ai_chance = { factor = 100 } + any_child = { + limit = { + has_character_flag = is_pepin_le_bossu + } + prestige = -50 + give_nickname = nick_the_hunchback + } + } +} + + +########################################### +# Roland # +########################################### + +# Roland arrives at court +narrative_event = { + id = CM.1050 + title = EVTTITLE_CM_1050 + desc = EVTDESC_CM_1050 + picture = GFX_evt_emissary + + capable_only = yes + min_age = 16 + only_playable = yes + prisoner = no + only_independent = yes + religion_group = christian + has_character_flag = is_charlemagne + + trigger = { + has_dlc = "Charlemagne" + NOT = { + has_game_rule = { + name = charlemagne_story + value = off + } + } + OR = { + primary_title = { tier = EMPEROR } + primary_title = { tier = KING } + } + NOT = { + any_sibling = { + has_character_flag = is_carloman + } + } + NOT = { has_global_flag = roland_spawned } + } + + mean_time_to_happen = { + months = 24 + } + + immediate = { + set_global_flag = roland_spawned + } + + option = { + name = EVTOPTA_CM_1050 + custom_tooltip = { text = roland_arrives } + hidden_tooltip = { + create_character = { + random_traits = no + dynasty = 726 + religion = ROOT + culture = breton + age = 25 + trait = honest + trait = brave + trait = tough_soldier + trait = strong + trait = fair + trait = aggressive_leader + attributes = { + diplomacy = 11 + martial = 12 + stewardship = 8 + intrigue = 5 + learning = 8 + } + } + } + new_character = { + set_name = Roland + set_character_flag = is_roland + set_character_flag = hero_knight + opinion = { + modifier = opinion_loyal_servant + who = ROOT + years = 100 + } + character_event = { id = CM.1051 days = 350 } + } + } + option = { + name = EVTOPTB_CM_1050 + prestige = -5 + } +} + +# Roland is a good friend +character_event = { + id = CM.1051 + + hide_window = yes + + is_triggered_only = yes + + trigger = { + has_dlc = "Charlemagne" + liege = { + has_character_flag = is_charlemagne + NOT = { is_friend = ROOT } + } + } + + immediate= { + liege = { + character_event = { id = CM.1052 } + } + } +} + +character_event = { + id = CM.1052 + desc = EVTDESC_CM_1052 + picture = GFX_evt_courtiers_talking + + is_triggered_only = yes + + option = { + name = EVTOPTA_CM_1052 + add_friend = FROM + } +} + +# Roland is very brave on campaign +narrative_event = { + id = CM.1053 + title = EVTTITLE_CM_1053 + desc = EVTDESC_CM_1053 + picture = GFX_evt_melee + border = GFX_event_narrative_frame_war + + only_playable = yes + only_capable = yes + min_age = 16 + prisoner = no + has_character_flag = is_charlemagne + has_dlc = "Charlemagne" + war = yes + + trigger = { + OR = { + any_courtier = { + in_command = yes + has_character_flag = is_roland + NOT = { has_character_flag = roland_brave } + } + any_vassal = { + in_command = yes + has_character_flag = is_roland + NOT = { has_character_flag = roland_brave } + } + } + } + + mean_time_to_happen = { + days = 60 + } + + option = { + name = EVTOPTA_CM_1053 + any_realm_character = { + limit = { + has_character_flag = is_roland + } + prestige = 30 + set_character_flag = roland_brave + } + } +} + +# Roland dies heroically in winning battle +character_event = { + id = CM.1054 + + hide_window = yes + + is_triggered_only = yes + + trigger = { + has_dlc = "Charlemagne" + has_character_flag = is_roland + } + + immediate = { + liege = { narrative_event = { id = CM.1055 } } + } +} + +narrative_event = { + id = CM.1055 + title = EVTTITLE_CM_1055 + desc = EVTDESC_CM_1055 + picture = GFX_evt_pale_rider + border = GFX_event_narrative_frame_war + + is_triggered_only = yes + + option = { + name = EVTOPTA_CM_1055 + FROM = { + death = { + death_reason = death_battle + } + } + prestige = 100 + } +} + +# Roland dies heroically in losing battle +character_event = { + id = CM.1056 + + hide_window = yes + + is_triggered_only = yes + + trigger = { + has_dlc = "Charlemagne" + has_character_flag = is_roland + } + + immediate = { + liege = { narrative_event = { id = CM.1057 } } + } +} + +narrative_event = { + id = CM.1057 + title = EVTTITLE_CM_1055 + desc = EVTDESC_CM_1057 + picture = GFX_evt_pale_rider + border = GFX_event_narrative_frame_war + + is_triggered_only = yes + + option = { + name = EVTOPTA_CM_1055 + FROM = { + death = { + death_reason = death_battle + } + } + prestige = 100 + } +} + +########################################### +# Carloman or Charlemagne dies # +########################################### + +# Carloman dies +character_event = { + id = CM.1068 + + hide_window = yes + + is_triggered_only = yes + + trigger = { + has_dlc = "Charlemagne" + NOT = { + has_game_rule = { + name = charlemagne_story + value = off + } + } + has_character_flag = is_carloman + OR = { + ai = yes + any_sibling = { + ai = no + has_character_flag = is_charlemagne + is_primary_heir = ROOT + } + } + any_sibling = { + has_character_flag = is_charlemagne # To ensure he has certain power and to avoid problems with ruler designer + independent = yes + higher_tier_than = DUKE + } + } + + immediate = { + any_sibling = { + limit = { has_character_flag = is_charlemagne } + ROOT = { + any_demesne_title = { + grant_title = PREVPREV + } + } + narrative_event = { id = CM.1003 } + } + spouse = { + if = { + limit = { + ROOT = { + any_sibling = { + has_character_flag = is_charlemagne + independent = yes + } + OR = { + ai = yes + any_sibling = { + has_character_flag = is_charlemagne + is_primary_heir = ROOT + } + } + } + OR = { + trait = pregnant + any_child = { + father_even_if_dead = { + any_sibling = { + has_character_flag = is_charlemagne + } + } + } + } + } + character_event = { id = CM.1075 } # Flee to foreign court? + } + } + } +} + +# Charlemagne dies +character_event = { + id = CM.1069 + + hide_window = yes + + is_triggered_only = yes + + trigger = { + has_dlc = "Charlemagne" + NOT = { + has_game_rule = { + name = charlemagne_story + value = off + } + } + has_character_flag = is_charlemagne + OR = { + ai = yes + any_sibling = { + ai = no + has_character_flag = is_carloman + is_primary_heir = ROOT + } + } + any_sibling = { + has_character_flag = is_carloman # To ensure he has certain power and to avoid problems with ruler designer + independent = yes + higher_tier_than = DUKE + } + } + + immediate = { + any_sibling = { + limit = { + has_character_flag = is_carloman + } + ROOT = { + any_demesne_title = { + grant_title = PREVPREV + } + } + narrative_event = { id = CM.1002 } + } + if = { + limit = { + any_sibling = { + has_character_flag = is_carloman + } + mother = { + is_alive = yes + NOT = { + liege = { + has_character_flag = is_carloman + } + } + } + } + mother = { character_event = { id = CM.1020 days = 30 } } # Bertrada approaches Carloman for reconciliation + } + } +} + +########################################### +# Ogier the Dane # +########################################### + +# Ogier arrives +narrative_event = { + id = CM.1070 + title = EVTTITLE_CM_1070 + desc = EVTDESC_CM_1070 + picture = GFX_evt_emissary + + capable_only = yes + only_playable = yes + prisoner = no + min_age = 16 + religion_group = christian + only_independent = yes + + trigger = { + has_dlc = "Charlemagne" + NOT = { + has_game_rule = { + name = charlemagne_story + value = off + } + } + NOT = { year = 820 } + OR = { + primary_title = { tier = EMPEROR } + primary_title = { tier = KING } + } + OR = { + culture = frankish + culture = old_frankish + } + OR = { + AND = { + has_character_flag = is_charlemagne + NOT = { + any_sibling = { + has_character_flag = is_carloman + } + } + } + NOT = { + any_independent_ruler = { + OR = { + has_character_flag = is_charlemagne + has_character_flag = is_carloman + } + } + } + } + NOT = { has_global_flag = ogier_spawned } + } + + mean_time_to_happen = { + months = 48 + } + + immediate = { + set_global_flag = ogier_spawned + } + + option = { + name = EVTOPTA_CM_1070 + custom_tooltip = { text = ogier_arrives } + hidden_tooltip = { + create_character = { + random_traits = no + dynasty = random + religion = ROOT + culture = norse + age = 35 + trait = honest + trait = zealous + trait = skilled_tactician + trait = strong + trait = trickster + attributes = { + diplomacy = 11 + martial = 12 + stewardship = 8 + intrigue = 5 + learning = 8 + } + } + } + new_character = { + set_name = Ogier + set_character_flag = is_ogier + set_character_flag = hero_knight + opinion = { + modifier = opinion_loyal_servant + who = ROOT + years = 100 + } + } + } + option = { + name = EVTOPTB_CM_1070 + prestige = -5 + } +} + +########################################### +# Carloman's family flees after his death # +########################################### + +# Wife +character_event = { + id = CM.1075 + + hide_window = yes + + is_triggered_only = yes + + immediate = { + random_independent_ruler = { + limit = { has_character_flag = charlemagne_enemy } + character_event = { id = CM.1076 } + } + if = { + limit = { + NOT = { any_independent_ruler = { has_character_flag = charlemagne_enemy } } + } + random_independent_ruler = { + limit = { + tier = KING + religion = catholic + is_feudal = yes + NOT = { has_character_flag = is_charlemagne } + } + character_event = { id = CM.1076 } + } + } + if = { + limit = { + NOT = { any_independent_ruler = { has_character_flag = charlemagne_enemy } } + NOT = { + any_independent_ruler = { + tier = KING + religion = catholic + } + } + } + random_independent_ruler = { + limit = { + tier = DUKE + religion = catholic + is_feudal = yes + } + character_event = { id = CM.1076 } + } + } + } +} + +# Foreign ruler receives Carloman's wife and children +character_event = { + id = CM.1076 + desc = EVTDESC_CM_1076 + picture = GFX_evt_emissary + + is_triggered_only = yes + + option = { + name = EVTOPTA_CM_1076 # Grant refuge + ai_chance = { factor = 100 } + FROM = { set_character_flag = carloman_refugee_wife } + FROM = { + any_child = { + limit = { at_location = FROM } + move_character = ROOT + } + move_character = ROOT + opinion = { + who = ROOT + modifier = opinion_saved_me_and_child + years = 10 + } + } + prestige = 300 + any_independent_ruler = { + limit = { has_character_flag = is_charlemagne } + opinion = { + who = ROOT + modifier = opinion_furious + years = 10 + } + ROOT = { + primary_title = { + add_claim = PREVPREV + } + } + character_event = { id = CM.1077 } + } + } + option = { + name = EVTOPTB_CM_1076 # Don't grant refuge + ai_chance = { factor = 0 } + prestige = -30 + any_independent_ruler = { + limit = { has_character_flag = is_charlemagne } + opinion = { + who = ROOT + modifier = opinion_approves + years = 10 + } + character_event = { id = CM.1078 } + } + } +} + +# Refuge - notify Charlemagne +character_event = { + id = CM.1077 + desc = EVTDESC_CM_1077 + picture = GFX_evt_spymaster + + is_triggered_only = yes + + option = { + name = EVTOPTA_CM_1077 + FROM = { + primary_title = { + add_claim = ROOT + } + } + } +} + +# No refuge - notify Charlemagne and receive wife and children +character_event = { + id = CM.1078 + desc = EVTDESC_CM_1078 + picture = GFX_evt_emissary + + is_triggered_only = yes + + option = { + name = EVTOPTA_CM_1078 + FROMFROM = { + move_character = ROOT + add_trait = nun + any_child = { + limit = { + at_location = FROMFROM + is_female = yes + father_even_if_dead = { + any_sibling = { + has_character_flag = is_charlemagne + } + } + } + move_character = ROOT + add_trait = nun + } + any_child = { + limit = { + at_location = FROMFROM + is_female = no + father_even_if_dead = { + any_sibling = { + has_character_flag = is_charlemagne + } + } + } + move_character = ROOT + add_trait = monk + } + } + } + + option = { + name = EVTOPTB_CM_1078 + FROMFROM = { + any_child = { + limit = { + at_location = FROMFROM + father_even_if_dead = { + any_sibling = { + has_character_flag = is_charlemagne + } + } + } + death = { + death_reason = death_execution_hanging + killer = ROOT + } + } + death = { + death_reason = death_execution_hanging + killer = ROOT + } + } + if = { + limit = { NOT = { trait = cruel } } + add_trait = cruel + } + } +} + +# Dead Carloman's refugee wife surrenders to Charlemagne +character_event = { + id = CM.1079 + + hide_window = yes + + capable_only = yes + prisoner = no + only_capable = yes + min_age = 16 + only_women = yes + has_character_flag = carloman_refugee_wife + + trigger = { + top_liege = { + has_character_flag = is_charlemagne + } + any_child = { + at_location = ROOT + father_even_if_dead = { + any_sibling = { + has_character_flag = is_charlemagne + } + } + } + } + + mean_time_to_happen = { + days = 10 + } + + immediate = { + clr_character_flag = carloman_refugee_wife + top_liege = { + character_event = { id = CM.1080 } + } + } +} + + +# Charlemagne receives Carloman's surrendered wife and children +character_event = { + id = CM.1080 + desc = EVTDESC_CM_1080 + picture = GFX_evt_emissary + + is_triggered_only = yes + + option = { + name = EVTOPTA_CM_1080 + FROM = { + move_character = ROOT + add_trait = nun + any_child = { + limit = { + at_location = FROM + is_female = yes + father_even_if_dead = { + any_sibling = { + has_character_flag = is_charlemagne + } + } + } + move_character = ROOT + add_trait = nun + } + any_child = { + limit = { + at_location = FROM + is_female = no + father_even_if_dead = { + any_sibling = { + has_character_flag = is_charlemagne + } + } + } + move_character = ROOT + add_trait = monk + } + } + } + + option = { + name = EVTOPTB_CM_1080 + FROM = { + any_child = { + limit = { + at_location = FROM + father_even_if_dead = { + any_sibling = { + has_character_flag = is_charlemagne + } + } + } + death = { + death_reason = death_execution_hanging + killer = ROOT + } + } + death = { + death_reason = death_execution_hanging + killer = ROOT + } + } + if = { + limit = { NOT = { trait = cruel } } + add_trait = cruel + } + } +} + +########################################### +# The Saxon Wars # +########################################### + +# Saxon wars begin +narrative_event = { + id = CM.1100 + title = EVTTITLE_CM_1100 + desc = EVTDESC_CM_1100 + picture = GFX_evt_irminsul_shrine + + only_playable = yes + religion_group = christian + only_independent = yes + only_capable = yes + min_age = 16 + prisoner = no + war = no + + trigger = { + has_dlc = "Charlemagne" + NOT = { + has_game_rule = { + name = charlemagne_story + value = off + } + } + year = 772 + OR = { + has_character_flag = is_charlemagne + AND = { + OR = { + culture = old_frankish + culture = frankish + } + NOT = { + any_independent_ruler = { + has_character_flag = is_charlemagne + } + } + NOT = { year = 830 } + is_feudal = yes + } + } + NOT = { has_global_flag = saxon_wars } + OR = { + primary_title = { tier = EMPEROR } + primary_title = { tier = KING } + } + k_saxony = { + holder_scope = { + culture = old_saxon + religion_group = pagan_group + } + } + } + + mean_time_to_happen = { + months = 8 + } + + option = { + name = EVTOPTA_CM_1100 # Attack + ai_chance = { factor = 100 } + piety = 50 + add_claim = k_saxony + k_saxony = { + holder_scope = { + reverse_war = { + target = ROOT + casus_belli = claim + thirdparty_title = PREV + infamy = 0 + } + } + } + set_global_flag = saxon_wars + } + option = { + name = EVTOPTB_CM_1100 # Not now + ai_chance = { factor = 0 } + prestige = -100 + piety = -100 + set_global_flag = saxon_wars + } +} + +# Destruction of Irminsul ( **on_siege_over_winner** ) +narrative_event = { + id = CM.1101 + desc = EVTDESC_CM_1101 + title = EVTTITLE_CM_1101 + picture = GFX_evt_irminsul_burning + + is_triggered_only = yes + + trigger = { + has_dlc = "Charlemagne" + religion_group = christian + has_global_flag = saxon_wars + NOT = { has_global_flag = irminsul } + FROM = { + title = b_paderborn + owner = { + top_liege = { + any_war = { + attacker = { character = ROOT } + } + } + } + } + } + + immediate = { + set_global_flag = irminsul + } + + option = { + name = EVTOPTA_CM_1101 # Burn it! + ai_chance = { + factor = 1 + } + prestige = 50 + piety = 100 + FROM = { + owner = { + religion_authority = { + modifier = irminsul_destroyed + years = 10 + } + } + } + hidden_tooltip = { + any_independent_ruler = { + any_realm_character = { + limit = { + OR = { + religion = norse_pagan + religion = norse_pagan_reformed + } + } + opinion = { + who = ROOT + modifier = opinion_sacrilege + years = 10 + } + } + } + any_independent_ruler = { + limit = { + ai = no + NOT = { character = ROOT } + OR = { + religion = norse_pagan + religion = norse_pagan_reformed + religion_group = christian + } + } + narrative_event = { id = CM.1102 } # Notify players of this + } + } + custom_tooltip = { text = sacrilege_tooltip } + } + option = { + name = EVTOPTB_CM_1101 # Keep it and build a new Christian church on the cite + ai_chance = { + factor = 0 + } + wealth = -50 + prestige = 20 + piety = 20 + } + option = { + name = EVTOPTC_CM_1101 # Leave it be + ai_chance = { + factor = 0 + } + piety = -30 + } +} + +# Notify all Norse and Christian players of destruction of Irminsul +narrative_event = { + id = CM.1102 + desc = EVTDESC_CM_1102 + title = EVTTITLE_CM_1102 + picture = GFX_evt_irminsul_burning + + is_triggered_only = yes + + option = { + name = EVTOPTA_CM_1102 + trigger = { + OR = { + religion = norse_pagan + religion = norse_pagan_reformed + } + culture = old_saxon + } + } + option = { + name = EVTOPTB_CM_1102 + trigger = { + OR = { + religion = norse_pagan + religion = norse_pagan_reformed + } + NOT = { culture = old_saxon } + } + } + option = { + name = EVTOPTC_CM_1102 + trigger = { + religion_group = christian + } + } +} + +# Blood court of Verden +narrative_event = { + id = CM.1104 + desc = EVTDESC_CM_1104 + title = EVTTITLE_CM_1104 + picture = GFX_evt_beheading + + only_independent = yes + only_playable = yes + religion_group = christian + only_capable = yes + min_age = 16 + prisoner = no + war = no + has_global_flag = saxon_wars + has_dlc = "Charlemagne" + + trigger = { + NOT = { year = 900 } + NOT = { has_global_flag = blood_court_of_verden } + OR = { + primary_title = { tier = EMPEROR } + primary_title = { tier = KING } + } + NOT = { culture = old_saxon } + NOT = { religion_group = pagan_group } + any_realm_province = { + culture = old_saxon + OR = { + religion = norse_pagan + religion = norse_pagan_reformed + } + } + any_courtier = { + prisoner = yes + host = { character = ROOT } + culture = old_saxon + OR = { + religion = norse_pagan + religion = norse_pagan_reformed + } + } + } + + mean_time_to_happen = { + months = 10 + } + + immediate = { + set_global_flag = blood_court_of_verden + } + + option = { + name = EVTOPTA_CM_1104 # Executions + prestige = 100 + if = { + limit = { NOT = { trait = cruel } } + add_trait = cruel + } + if = { + limit = { NOT = { trait = zealous } } + add_trait = zealous + } + any_courtier = { + limit = { + prisoner = yes + host = { character = ROOT } + culture = old_saxon + OR = { + religion = norse_pagan + religion = norse_pagan_reformed + } + } + death = { + death_reason = death_execution_beheading + killer = ROOT + } + } + } + option = { + name = EVTOPTB_CM_1104 # Stay your hand + prestige = -5 + } +} + +# Emergence of Widukind +narrative_event = { + id = CM.1105 + title = EVTTITLE_CM_1105 + desc = EVTDESC_CM_1105 + picture = GFX_evt_bandits + + only_independent = yes + only_playable = yes + has_dlc = "Charlemagne" + has_global_flag = saxon_wars + + trigger = { + NOT = { has_global_flag = widukind_spawned } + NOT = { culture = old_saxon } + NOT = { religion_group = pagan_group } + OR = { + has_landed_title = k_saxony + any_realm_character = { has_landed_title = k_saxony } + has_landed_title = d_saxony + any_realm_character = { has_landed_title = d_saxony } + has_landed_title = d_brunswick + any_realm_character = { has_landed_title = d_brunswick } + has_landed_title = d_holstein + any_realm_character = { has_landed_title = d_holstein } + } + OR = { + has_character_flag = is_charlemagne + has_character_flag = is_carloman + NOT = { + any_independent_ruler = { + OR = { + has_character_flag = is_charlemagne + has_character_flag = is_carloman + } + } + } + } + OR = { + primary_title = { tier = EMPEROR } + primary_title = { tier = KING } + } + any_realm_province = { + culture = old_saxon + OR = { + religion = norse_pagan + religion = norse_pagan_reformed + } + } + } + + mean_time_to_happen = { + months = 20 + } + + immediate = { + set_global_flag = widukind_spawned + set_character_flag = widukind_enemy + } + + option = { + name = EVTOPTA_CM_1105 + random_realm_province = { + limit = { + culture = old_saxon + OR = { + religion = norse_pagan + religion = norse_pagan_reformed + } + } + hidden_tooltip = { province_event = { id = CM.1106 } } + } + } +} + +# Widukind +province_event = { + id = CM.1106 + + hide_window = yes + + is_triggered_only = yes + + immediate = { + create_character = { + random_traits = no + dynasty = 7282 + religion = ROOT + culture = old_saxon + age = 35 + female = no + trait = honest + trait = brave + trait = diligent + trait = proud + trait = brilliant_strategist + trait = aggressive_leader + attributes = { + diplomacy = 10 + martial = 10 + stewardship = 5 + intrigue = 6 + learning = 7 + } + } + new_character = { + set_name = Widukind + set_character_flag = is_widukind + set_defacto_liege = THIS + prestige = 100 + piety = 50 + add_claim = k_saxony + add_claim = d_saxony + add_claim = d_brunswick + add_claim = d_holstein + create_title = { + tier = DUKE + landless = yes + temporary = yes + culture = old_saxon + name = "WIDUKIND_ARMY" + holder = THIS + } + spawn_unit = { + owner = THIS + leader = THIS + province = ROOT + home = ROOT + troops = { + archers = { 1000 1000 } + light_infantry = { 1500 1500 } + heavy_infantry = { 1000 1000 } + light_cavalry = { 500 500 } + } + attrition = 1.0 + } + spawn_unit = { + owner = THIS + province = ROOT + home = ROOT + troops = { + archers = { 1000 1000 } + light_infantry = { 1500 1500 } + heavy_infantry = { 1000 1000 } + light_cavalry = { 500 500 } + } + attrition = 1.0 + } + spawn_unit = { + owner = THIS + province = ROOT + home = ROOT + troops = { + archers = { 1000 1000 } + light_infantry = { 1500 1500 } + heavy_infantry = { 1000 1000 } + light_cavalry = { 500 500 } + } + attrition = 1.0 + } + if = { + limit = { + FROM = { any_realm_title = { title = k_saxony } } + } + k_saxony = { + FROM = { + reverse_war = { + target = PREVPREV + casus_belli = claim + thirdparty_title = PREV + } + } + } + } + if = { + limit = { + FROM = { NOT = { any_realm_title = { title = k_saxony } } } + FROM = { any_realm_title = { title = d_brunswick } } + } + d_brunswick = { + FROM = { + reverse_war = { + target = PREVPREV + casus_belli = claim + thirdparty_title = PREV + } + } + } + } + if = { + limit = { + FROM = { NOT = { any_realm_title = { title = k_saxony } } } + FROM = { NOT = { any_realm_title = { title = d_brunswick } } } + FROM = { any_realm_title = { title = d_holstein } } + } + d_holstein = { + FROM = { + reverse_war = { + target = PREVPREV + casus_belli = claim + thirdparty_title = PREV + } + } + } + } + if = { + limit = { + FROM = { NOT = { any_realm_title = { title = k_saxony } } } + FROM = { NOT = { any_realm_title = { title = d_brunswick } } } + FROM = { NOT = { any_realm_title = { title = d_holstein } } } + FROM = { any_realm_title = { title = d_saxony } } + } + d_saxony = { + FROM = { + reverse_war = { + target = PREVPREV + casus_belli = claim + thirdparty_title = PREV + } + } + } + } + } + } +} + +# Baptism of Widukind +narrative_event = { + id = CM.1108 + desc = EVTDESC_CM_1108 + title = EVTTITLE_CM_1108 + picture = GFX_evt_bandits + border = GFX_event_narrative_frame_religion + + only_playable = yes + religion_group = christian + only_independent = yes + only_capable = yes + min_age = 16 + prisoner = no + has_character_flag = widukind_enemy + war = no + + trigger = { + has_dlc = "Charlemagne" + OR = { + primary_title = { tier = EMPEROR } + primary_title = { tier = KING } + } + + any_independent_ruler = { + any_realm_character = { + has_character_flag = is_widukind + is_ruler = no + prisoner = no + religion_group = pagan_group + NOT = { trait = incapable } + } + } + } + + mean_time_to_happen = { + months = 6 + } + + option = { + name = EVTOPTA_CM_1108 # Accept him and baptize him + any_independent_ruler = { + any_realm_character = { + limit = { + has_character_flag = is_widukind + is_ruler = no + } + move_character = ROOT + religion = ROOT + remove_trait = zealous + add_trait = sympathy_pagans + set_character_flag = hero_knight + } + } + } + option = { + name = EVTOPTB_CM_1108 # Invite him here then kill him + prestige = 30 + any_independent_ruler = { + any_realm_character = { + limit = { + has_character_flag = is_widukind + is_ruler = no + } + move_character = ROOT + death = { + death_reason = death_execution_beheading + killer = ROOT + } + } + } + if = { + limit = { NOT = { trait = deceitful } } + add_trait = deceitful + } + } + option = { + name = EVTOPTC_CM_1108 # Ignore him + prestige = 10 + } +} + +############################################ +# Bertrada and Charlemagne murder Carloman # +############################################ + +# Bertrada suggests course of action - only hinting at murder +narrative_event = { + id = CM.1120 + title = EVTTITLE_CM_1120 + desc = EVTDESC_CM_1120 + picture = GFX_evt_daughter_asking_father + + is_triggered_only = yes + + trigger = { + has_dlc = "Charlemagne" + NOT = { + has_game_rule = { + name = charlemagne_story + value = off + } + } + has_character_flag = is_charlemagne + has_character_flag = charlemagne_brother_rivalry + any_sibling = { has_character_flag = is_carloman } + mother = { + is_alive = yes + prisoner = no + } + } + + option = { + name = EVTOPTA_CM_1120 # Yes do something + ai_chance = { factor = 70 } + hidden_tooltip = { + any_sibling = { + limit = { has_character_flag = is_carloman } + character_event = { id = CM.1121 days = 30 random = 10 } + } + } + } + option = { + name = EVTOPTB_CM_1120 # No + ai_chance = { factor = 30 } + } +} + +# Bertrada comes to see Carloman +character_event = { + id = CM.1121 + desc = EVTDESC_CM_1121 + picture = GFX_evt_emissary + + is_triggered_only = yes + + option = { + name = EVTOPTA_CM_1121 + ai_chance = { factor = 100 } + hidden_tooltip = { narrative_event = { id = CM.1122 } } # Invite her in + } + option = { + name = EVTOPTB_CM_1121 # Send her away + ai_chance = { factor = 0 } + } +} + +# Bertrada offers Carloman poisoned wine +narrative_event = { + id = CM.1122 + title = EVTTITLE_CM_1122 + desc = EVTDESC_CM_1122 + picture = GFX_evt_courtiers_talking + + is_triggered_only = yes + + option = { + name = EVTOPTA_CM_1122 + ai_chance = { factor = 100 } + hidden_tooltip = { character_event = { id = CM.1123 } } # Drink the wine... + } + option = { + name = EVTOPTB_CM_1122 # I don't trust you, please leave + ai_chance = { factor = 0 } + trigger = { + NOT = { trait = drunkard } + } + if = { + limit = { trait = trusting } + remove_trait = trusting + } + } +} + +# Carloman feels sick (poisoned) +character_event = { + id = CM.1123 + desc = EVTDESC_CM_1123 + picture = GFX_evt_bad_news + + is_triggered_only = yes + + option = { + name = EVTOPTA_CM_1123 + trigger = { + ai = yes + } + hidden_tooltip = { character_event = { id = CM.1124 days = 5 random = 3 } } # Death a few days later + } + option = { + name = EVTOPTA_CM_1123 + trigger = { + ai = no + } + if = { + limit = { + OR = { + is_ill = yes + trait = pneumonic + } + } + add_trait = infirm + } + if = { + limit = { + is_ill = yes + NOT = { trait = pneumonic } + } + if = { + limit = { + NOT = { + has_dlc = "Reapers" + } + } + add_trait = ill + } + if = { + limit = { + has_dlc = "Reapers" + } + set_character_flag = disease_not_serious + add_trait = vomiting + character_event = { id = RIP.11005 days = 10 random = 30 } + } + } + } +} + +character_event = { + id = CM.1124 + + hide_window = yes + + is_triggered_only = yes + + immediate = { + death = { + death_reason = death_natural + } + } +} + +# Vassal switches sides between Charlemagne/Carloman +character_event = { + id = CM.1130 + + hide_window = yes + + is_triggered_only = yes + + trigger = { + has_dlc = "Charlemagne" + NOT = { + has_game_rule = { + name = charlemagne_story + value = off + } + } + NOT = { year = 820 } + has_character_flag = charlemagne_brother_rivalry + any_sibling = { + has_character_flag = charlemagne_brother_rivalry + } + any_vassal = { + ai = yes + NOT = { opinion = { who = ROOT value = 0 } } + } + OR = { + AND = { + NOT = { prestige = 0 } + any_sibling = { + has_character_flag = charlemagne_brother_rivalry + prestige = 300 + } + } + AND = { + NOT = { prestige = 200 } + any_sibling = { + has_character_flag = charlemagne_brother_rivalry + prestige = 1000 + } + } + AND = { + NOT = { prestige = 1000 } + any_sibling = { + has_character_flag = charlemagne_brother_rivalry + prestige = 10000 + } + } + } + } + + weight_multiplier = { + days = 1 + + modifier = { + factor = 15 + any_sibling = { has_character_flag = charlemagne_brother_rivalry } + } + modifier = { + factor = 0 + NOT = { any_sibling = { has_character_flag = charlemagne_brother_rivalry } } + } + } + + immediate = { + random_vassal = { + limit = { + ai = yes + NOT = { opinion = { who = ROOT value = 0 } } + } + character_event = { id = CM.1131 } + } + } +} + +character_event = { + id = CM.1131 + + hide_window = yes + + is_triggered_only = yes + + immediate = { + FROM = { letter_event = { id = CM.1132 } } + } +} + +letter_event = { + id = CM.1132 + desc = EVTDESC_CM_1132 + + is_triggered_only = yes + + option = { + name = EVTOPTA_CM_1132 + any_sibling = { + limit = { has_character_flag = charlemagne_brother_rivalry } + FROM = { + set_defacto_liege = PREV + } + } + } +} + +################################################################### +# # +# Bertrada meddles in everything CM.1150-1399 # +# # +# Any of these events can happen to any player character's mother # +# if she gets the flag meddling_mother # +################################################################### + +# Your mother starts to meddle in your affairs (hidden) +character_event = { + id = CM.1150 + + hide_window = yes + + is_triggered_only = yes + + ai = no + + trigger = { + has_dlc = "Charlemagne" + mother = { + is_alive = yes + is_ruler = no + liege = { character = ROOT } + OR = { + trait = ambitious + trait = proud + trait = envious + trait = intricate_webweaver + trait = elusive_shadow + } + } + } + + weight_multiplier = { + days = 1 + + modifier = { + factor = 5 + mother = { culture = mongol } + } + } + + immediate = { + mother = { + set_character_flag = meddling_mother + } + } +} + +# Mother dislikes your spouse +character_event = { + id = CM.1160 + desc = EVTDESC_CM_1160 + picture = GFX_evt_daughter_asking_father + + is_triggered_only = yes + + ai = no + min_age = 16 + capable_only = yes + is_married = yes + has_dlc = "Charlemagne" + prisoner = no + + trigger = { + NOT = { has_character_flag = do_not_disturb } + in_command = no + mother = { + has_character_flag = meddling_mother + NOT = { is_ascetic_trigger = yes } + NOT = { trait = incapable } + prisoner = no + } + NOT = { religion_group = muslim } + spouse = { + NOT = { has_character_flag = meddling_mother_conflict } + NOT = { ROOT = { mother = { character = PREVPREV } } } + is_ruler = no + liege = { character = ROOT } + OR = { + trait = ambitious + trait = proud + is_smart_trigger = yes + trait = diligent + } + } + } + + weight_multiplier = { + days = 1 + + modifier = { + factor = 10 + mother = { has_character_flag = meddling_mother } + } + modifier = { + factor = 0 + mother = { NOT = { has_character_flag = meddling_mother } } + } + } + + immediate = { + spouse = { set_character_flag = meddling_mother_conflict } + } + + option = { + name = EVTOPTA_CM_1160 # Yes mother + set_character_flag = meddling_mother_gone_too_far + spouse = { + if = { + limit = { is_lover = ROOT } + remove_lover = ROOT + } + opinion = { + who = ROOT + years = 5 + modifier = opinion_bitter + } + ROOT = { + mother = { + opinion = { + who = PREVPREV + years = 100 + modifier = opinion_dislike + } + } + } + } + } + option = { + name = EVTOPTB_CM_1160 # No mother + spouse = { + ROOT = { + mother = { + opinion = { + who = PREVPREV + years = 100 + modifier = opinion_hate + } + reverse_opinion = { + who = PREVPREV + years = 100 + modifier = opinion_dislike + } + opinion = { + who = ROOT + years = 3 + modifier = opinion_angry + } + } + } + } + } + option = { + name = EVTOPTC_CM_1160 # Send her to a convent + trigger = { + religion_group = christian + NOT = { trait = craven } + mother = { + has_character_flag = meddling_mother_gone_too_far + } + } + spouse = { + ROOT = { + mother = { + add_trait = nun + opinion = { + who = PREVPREV + years = 100 + modifier = opinion_hate + } + opinion = { + who = ROOT + years = 10 + modifier = opinion_bitter + } + } + } + } + } +} + +# Mother dislikes your councillor +character_event = { + id = CM.1170 + + hide_window = yes + + is_triggered_only = yes + + ai = no + min_age = 16 + capable_only = yes + + trigger = { + has_dlc = "Charlemagne" + NOT = { has_character_flag = do_not_disturb } + in_command = no + prisoner = no + mother = { + has_character_flag = meddling_mother + NOT = { is_ascetic_trigger = yes } + NOT = { trait = incapable } + prisoner = no + } + any_courtier = { + NOT = { has_character_flag = meddling_mother_conflict } + NOT = { ROOT = { mother = { character = PREVPREV } } } + NOT = { any_child = { character = ROOT } } + is_councillor = yes + liege = { character = ROOT } + OR = { + trait = ambitious + trait = proud + is_smart_trigger = yes + trait = diligent + } + } + } + + weight_multiplier = { + days = 1 + + modifier = { + factor = 10 + mother = { has_character_flag = meddling_mother } + } + modifier = { + factor = 0 + mother = { NOT = { has_character_flag = meddling_mother } } + } + } + + immediate = { + random_courtier = { + limit = { + is_councillor = yes + NOT = { any_child = { character = ROOT } } + liege = { character = ROOT } + OR = { + trait = ambitious + trait = proud + is_smart_trigger = yes + trait = diligent + } + } + set_character_flag = meddling_mother_conflict + character_event = { id = CM.1171 } + } + } +} + +character_event = { + id = CM.1171 + + hide_window = yes + + is_triggered_only = yes + + immediate = { + FROM = { character_event = { id = CM.1172 } } + } +} + +character_event = { + id = CM.1172 + desc = EVTDESC_CM_1172 + picture = GFX_evt_daughter_asking_father + + is_triggered_only = yes + + option = { + name = EVTOPTA_CM_1172 # Yes mother + set_character_flag = meddling_mother_gone_too_far + FROM = { + if = { + limit = { is_lover = ROOT } + remove_lover = ROOT + } + if = { + limit = { has_job_title = job_chancellor } + remove_title = job_chancellor + } + if = { + limit = { has_job_title = job_marshal } + remove_title = job_marshal + } + if = { + limit = { has_job_title = job_treasurer } + remove_title = job_treasurer + } + if = { + limit = { has_job_title = job_spymaster } + remove_title = job_spymaster + } + if = { + limit = { has_job_title = job_spiritual } + remove_title = job_spiritual + } + if = { + limit = { is_ruler = no } + banish = yes + } + prestige = -30 + opinion = { + modifier = opinion_fired_from_council + who = ROOT + years = 5 + } + ROOT = { + mother = { + opinion = { + who = PREVPREV + years = 100 + modifier = opinion_dislike + } + } + } + } + } + option = { + name = EVTOPTB_CM_1172 # No mother + FROM = { + ROOT = { + mother = { + prestige = -30 + opinion = { + who = PREVPREV + years = 100 + modifier = opinion_hate + } + reverse_opinion = { + who = PREVPREV + years = 100 + modifier = opinion_dislike + } + opinion = { + who = ROOT + years = 3 + modifier = opinion_angry + } + } + } + } + } + option = { + name = EVTOPTC_CM_1172 # Send her to a convent + trigger = { + religion_group = christian + NOT = { trait = craven } + mother = { + has_character_flag = meddling_mother_gone_too_far + } + } + FROM = { + ROOT = { + mother = { + add_trait = nun + opinion = { + who = PREVPREV + years = 100 + modifier = opinion_hate + } + opinion = { + who = ROOT + years = 10 + modifier = opinion_bitter + } + } + } + } + } +} + +# Mother insists on being regent +character_event = { + id = CM.1180 + + hide_window = yes + + is_triggered_only = yes + + ai = no + + trigger = { + has_dlc = "Charlemagne" + NOT = { has_character_flag = do_not_disturb } + in_command = no + prisoner = no + has_regent = yes + mother = { + has_character_flag = meddling_mother + NOT = { is_ascetic_trigger = yes } + NOT = { trait = incapable } + prisoner = no + NOT = { has_minor_title = title_regent } + } + + any_courtier = { + has_minor_title = title_regent + NOT = { has_character_flag = meddling_mother_conflict } + ai = yes + } + } + + weight_multiplier = { + days = 1 + + modifier = { + factor = 100 + mother = { has_character_flag = meddling_mother } + } + modifier = { + factor = 0 + mother = { NOT = { has_character_flag = meddling_mother } } + } + } + + immediate = { + regent = { + set_character_flag = meddling_mother_conflict + character_event = { id = CM.1181 } + } + } +} + +character_event = { + id = CM.1181 + desc = EVTDESC_CM_1181 + picture = GFX_evt_throne_room + + is_triggered_only = yes + + option = { + name = EVTOPTA_CM_1181 # Accept + ai_chance = { + factor = 100 + } + tooltip = { + remove_title = title_regent + FROM = { mother = { give_minor_title = title_regent } } + } + FROM = { character_event = { id = CM.1182 } } + } + option = { + name = EVTOPTB_CM_1181 # Fight it + ai_chance = { + factor = 0 + } + FROM = { + mother = { + add_rival = ROOT + } + } + } +} + +character_event = { + id = CM.1182 + desc = EVTDESC_CM_1182 + picture = GFX_evt_throne_room + + is_triggered_only = yes + + option = { + name = EVTOPTA_CM_1182 # Mother knows best + trigger = { + NOT = { has_character_flag = meddling_mother_gone_too_far } + } + set_character_flag = meddling_mother_gone_too_far + FROM = { remove_title = title_regent } + mother = { give_minor_title = title_regent } + } + option = { + name = EVTOPTB_CM_1182 # Hmm, who really rules here? + trigger = { + has_character_flag = meddling_mother_gone_too_far + } + FROM = { remove_title = title_regent } + mother = { give_minor_title = title_regent } + } +} + +# Mother seduces your spouse +character_event = { + id = CM.1190 + + hide_window = yes + + is_triggered_only = yes + + ai = no + min_age = 16 + capable_only = yes + prisoner = no + is_married = yes + has_dlc = "Charlemagne" + + trigger = { + NOT = { has_character_flag = do_not_disturb } + in_command = no + mother = { + has_character_flag = meddling_mother + NOT = { is_ascetic_trigger = yes } + NOT = { trait = incapable } + prisoner = no + } + any_spouse = { + ai = yes + NOT = { trait = celibate } + NOT = { has_character_flag = meddling_mother_conflict } + NOT = { ROOT = { mother = { character = PREVPREV } } } + OR = { + is_female = no + AND = { + is_female = yes + trait = homosexual + } + } + liege = { character = ROOT } + OR = { + trait = humble + trait = fair + trait = slow + trait = dull + trait = stressed + trait = depressed + } + } + } + + weight_multiplier = { + days = 1 + + modifier = { + factor = 10 + mother = { has_character_flag = meddling_mother } + } + modifier = { + factor = 0 + mother = { NOT = { has_character_flag = meddling_mother } } + } + } + + immediate = { + random_spouse = { + limit = { + ai = yes + NOT = { has_character_flag = meddling_mother_conflict } + OR = { + is_female = no + AND = { + is_female = yes + trait = homosexual + } + } + liege = { character = ROOT } + OR = { + trait = humble + trait = fair + trait = slow + trait = dull + trait = stressed + trait = depressed + NOT = { trait = celibate } + } + } + character_event = { id = CM.1191 } + } + } +} + +character_event = { + id = CM.1191 + + hide_window = yes + + is_triggered_only = yes + + immediate = { + FROM = { character_event = { id = CM.1192 } } + } +} + +character_event = { + id = CM.1192 + desc = EVTDESC_CM_1192 + picture = GFX_evt_lovers + + is_triggered_only = yes + + option = { + name = EVTOPTA_CM_1192 # Accept + set_character_flag = meddling_mother_gone_too_far + } + option = { + name = EVTOPTB_CM_1192 # Send spouse to convent + set_character_flag = meddling_mother_gone_too_far + FROM = { + if = { + limit = { is_female = no } + add_trait = monk + } + if = { + limit = { is_female = yes } + add_trait = nun + } + } + } + option = { + name = EVTOPTC_CM_1192 # Send mother to a convent + trigger = { + religion_group = christian + NOT = { trait = craven } + mother = { + liege = { character = ROOT } + is_ruler = no + has_character_flag = meddling_mother_gone_too_far + } + } + FROM = { + ROOT = { + mother = { + add_trait = nun + remove_lover = FROM + opinion = { + who = FROM + years = 100 + modifier = opinion_hate + } + opinion = { + who = ROOT + years = 10 + modifier = opinion_bitter + } + } + } + } + } + option = { + name = EVTOPTD_CM_1192 # Send them both to the orders + trigger = { + religion_group = christian + NOT = { trait = craven } + mother = { + liege = { character = ROOT } + is_ruler = no + has_character_flag = meddling_mother_gone_too_far + } + } + FROM = { + if = { + limit = { is_female = no } + add_trait = monk + } + if = { + limit = { is_female = yes } + add_trait = nun + } + } + FROM = { + ROOT = { + mother = { + add_trait = nun + remove_lover = FROM + opinion = { + who = FROM + years = 100 + modifier = opinion_hate + } + opinion = { + who = ROOT + years = 10 + modifier = opinion_bitter + } + } + } + } + } + option = { + name = EVTOPTE_CM_1192 # The dungeon + trigger = { + NOT = { religion_group = christian } + has_character_flag = meddling_mother_gone_too_far + } + mother = { imprison = yes } + FROM = { imprison = yes } + } +} + +################################# +# Spanish Campaign # +# CM.1400-1499 # +################################# + +# Umayyad vassal calls upon Charlemagne to support rebellion in exchange for vassalization +character_event = { + id = CM.1400 + + hide_window = yes + + min_age = 16 + capable_only = yes + only_playable = yes + prisoner = no + religion_group = christian + only_independent = yes + war = no + + trigger = { + has_dlc = "Charlemagne" + NOT = { + has_game_rule = { + name = charlemagne_story + value = off + } + } + NOT = { has_global_flag = charlemagne_spain_intervention } + year = 777 + NOT = { year = 820 } + higher_tier_than = DUKE + OR = { + has_character_flag = is_charlemagne + AND = { + has_character_flag = is_carloman + NOT = { any_independent_ruler = { has_character_flag = is_charlemagne } } # Charlemagne, or Carloman, or any Frankish or French King or above before 820 + } + AND = { + NOT = { any_independent_ruler = { has_character_flag = is_charlemagne } } + NOT = { any_independent_ruler = { has_character_flag = is_carloman } } + OR = { + culture = frankish + culture = old_frankish + } + } + } + any_playable_ruler = { # Umayyads rule in Spain + age = 16 + NOT = { trait = incapable } + prisoner = no + lower_tier_than = ROOT + NOT = { dynasty = 597 } # Umayyad + liege = { + dynasty = 597 # Umayyad + OR = { + has_landed_title = e_spain + has_landed_title = k_andalusia + } + } + num_of_vassals = 1 + } + } + + mean_time_to_happen = { + months = 8 + } + + immediate = { + set_global_flag = charlemagne_spain_intervention + random_playable_ruler = { + limit = { + age = 16 + NOT = { trait = incapable } + prisoner = no + lower_tier_than = ROOT + OR = { + tier = KING + tier = DUKE + NOT = { + liege = { + any_vassal = { + higher_tier_than = COUNT + } + } + } + } + NOT = { dynasty = 597 } # Umayyad + liege = { + dynasty = 597 # Umayyad + OR = { + has_landed_title = e_spain + has_landed_title = k_andalusia + } + NOT = { + is_friend = PREV + } + } + } + hidden_tooltip = { character_event = { id = CM.1401 } } + } + } +} + +# Umayyad vassal - ask Charlemagne for support? +character_event = { + id = CM.1401 + desc = EVTDESC_CM_1401 + picture = GFX_evt_throne_room + border = GFX_event_normal_frame_diplomacy + + is_triggered_only = yes + + immediate = { + if = { + limit = { ai = yes } + liege = { + reverse_opinion = { + who = ROOT + years = 5 + modifier = opinion_hate + } + add_rival = ROOT + } + } + } + + option = { + name = EVTOPTA_CM_1401 # Send a message to Charlemagne + ai_chance = { factor = 100 } + hidden_tooltip = { FROM = { narrative_event = { id = CM.1402 days = 20 } } } + } + option = { + name = EVTOPTB_CM_1401 # Don't send it + ai_chance = { factor = 0 } + if = { + limit = { NOT = { trait = content } } + random = { + chance = 30 + add_trait = content + hidden_tooltip = { + character_event = { + id = 38279 #Notify Content + } + } + } + } + } +} + +# Frankish King receives embassy +narrative_event = { + id = CM.1402 + title = EVTTITLE_CM_1402 + desc = EVTDESC_CM_1402 + picture = GFX_evt_emissary + border = GFX_event_narrative_frame_diplomacy + + is_triggered_only = yes + + option = { + name = EVTOPTA_CM_1402 # Sign an agreement and prepare for war + ai_chance = { factor = 100 } + hidden_tooltip = { FROM = { character_event = { id = CM.1404 days = 20 } } } + } + option = { + name = EVTOPTB_CM_1402 # Decline + ai_chance = { factor = 0 } + hidden_tooltip = { FROM = { character_event = { id = CM.1403 days = 20 } } } + prestige = -30 + } +} + +# Vassal receives negative answer from Franks +character_event = { + id = CM.1403 + desc = EVTDESC_CM_1403 + picture = GFX_evt_emissary + border = GFX_event_normal_frame_diplomacy + + is_triggered_only = yes + + option = { + name = EVTOPTA_CM_1403 + } +} + +# Vassal receives positive answer from Franks +character_event = { + id = CM.1404 + desc = EVTDESC_CM_1404 + picture = GFX_evt_emissary + border = GFX_event_normal_frame_diplomacy + + is_triggered_only = yes + + option = { + name = EVTOPTA_CM_1404 # Prepare for war + hidden_tooltip = { character_event = { id = CM.1405 days = 60 } } # Prepare for war + } +} + +# Vassal declares independence war +character_event = { + id = CM.1405 + desc = EVTDESC_CM_1405 + picture = GFX_evt_large_army + border = GFX_event_normal_frame_war + + is_triggered_only = yes + + immediate = { + liege = { save_event_target_as = target_liege } + } + + option = { + name = EVTOPTA_CM_1405 # Declares independence war + event_target:target_liege = { + reverse_war = { + target = ROOT + casus_belli = bid_for_independence + } + } + FROMFROM = { + hidden_tooltip = { character_event = { id = CM.1406 days = 20 } } # Calls on Frankish ally + } + } +} + +# Frankish King decides whether to honor promise or not +character_event = { + id = CM.1406 + desc = EVTDESC_CM_1406 + picture = GFX_evt_large_army + border = GFX_event_normal_frame_war + + is_triggered_only = yes + + option = { + name = EVTOPTA_CM_1406 + ai_chance = { factor = 70 } + reverse_opinion = { + modifier = honored_alliance + who = FROM + years = 10 + } + join_attacker_wars = FROM + set_character_flag = intervention_in_spain + FROM = { set_character_flag = supported_by_franks } # Go to war + } + option = { + name = EVTOPTB_CM_1406 + ai_chance = { factor = 30 } + prestige = -100 + reverse_opinion = { + modifier = opinion_betrayed + who = FROM + years = 10 + } + if = { + limit = { NOT = { trait = deceitful } } + add_trait = deceitful + } + FROM = { hidden_tooltip = { character_event = { id = CM.1410 days = 20 } } } # Betray promise + } +} + +# Peace is concluded with established independence +character_event = { + id = CM.1407 + + hide_window = yes + + is_triggered_only = yes + only_independent = yes + + trigger = { + OR = { + has_character_flag = supported_by_franks + FROM = { has_character_flag = supported_by_franks } + } + any_independent_ruler = { + has_character_flag = intervention_in_spain + higher_tier_than = ROOT + } + } + + immediate = { + if = { + limit = { has_character_flag = supported_by_franks } + clr_character_flag = supported_by_franks + character_event = { id = CM.1408 } + } + if = { + limit = { FROM = { has_character_flag = supported_by_franks } } + FROM = { + clr_character_flag = supported_by_franks + character_event = { id = CM.1408 } + } + } + } +} + +# Fulfill promise to Frankish king? +character_event = { + id = CM.1408 + desc = EVTDESC_CM_1408 + picture = GFX_evt_throne_room + border = GFX_event_normal_frame_diplomacy + + is_triggered_only = yes + + option = { + name = EVTOPTA_CM_1408 + ai_chance = { factor = 30 } + any_independent_ruler = { + limit = { has_character_flag = intervention_in_spain } # Fullfill promise + ROOT = { + set_defacto_liege = PREV + } + opinion = { + modifier = honored_alliance + who = ROOT + years = 10 + } + } + } + option = { + name = EVTOPTB_CM_1408 + ai_chance = { factor = 70 } + prestige = -50 + any_independent_ruler = { + limit = { has_character_flag = intervention_in_spain } + opinion = { + modifier = opinion_betrayed + who = ROOT + years = 10 + } + hidden_tooltip = { character_event = { id = CM.1409 days = 20 } } # Betray promise + } + if = { + limit = { NOT = { trait = deceitful } } + add_trait = deceitful + } + } +} + +# Frankish King is notified of betrayal +character_event = { + id = CM.1409 + desc = EVTDESC_CM_1409 + picture = GFX_evt_throne_room_arabic + border = GFX_event_normal_frame_diplomacy + + is_triggered_only = yes + + option = { + name = EVTOPTA_CM_1409 + trigger = { + FROM = { NOT = { culture = ROOT } } + } + FROM = { + primary_title = { + add_claim = ROOT + } + } + } + option = { + name = EVTOPTB_CM_1409 + trigger = { + FROM = { culture = ROOT } + } + FROM = { + primary_title = { + add_claim = ROOT + } + } + } +} + +# Umayyad vassal is notified of Frankish betrayal +character_event = { + id = CM.1410 + desc = EVTDESC_CM_1410 + picture = GFX_evt_throne_room + border = GFX_event_normal_frame_diplomacy + + is_triggered_only = yes + + option = { + name = EVTOPTA_CM_1409 + trigger = { + FROM = { NOT = { culture = ROOT } } + } + opinion = { + modifier = opinion_betrayed + who = ROOT + years = 10 + } + } + option = { + name = EVTOPTB_CM_1409 + trigger = { + FROM = { culture = ROOT } + } + } +} + + +########################## +# Coronation to Emperor # +########################## + +# Coronation of Charlemagne +narrative_event = { + id = CM.1500 + title = EVTTITLE_CM_1500 + desc = EVTDESC_CM_1500 + picture = GFX_evt_coronation + + major = yes + + is_triggered_only = yes + + trigger = { + has_dlc = "Charlemagne" + NOT = { + has_game_rule = { + name = charlemagne_story + value = off + } + } + has_character_flag = is_charlemagne + NOT = { has_character_flag = charlemagne_coronation } + tier = EMPEROR + } + + major_trigger = { + capital_scope = { + FROM = { + capital_scope = { + NOT = { + distance = { + where = PREVPREV + distance = 1200 + } + } + } + } + } + } + + immediate = { + set_character_flag = charlemagne_coronation + } + + option = { + name = EVTOPTA_CM_510 + trigger = { + OR = { + has_character_flag = is_charlemagne + AND = { + dynasty = ROOT + NOT = { is_rival = ROOT } + } + liege = { character = ROOT } + } + } + if = { + limit = { + has_nickname = no + has_character_flag = is_charlemagne + } + give_nickname = nick_the_great + } + } + option = { + name = EVTOPTB_CM_510 + trigger = { + NOT = { has_character_flag = is_charlemagne } + NOT = { has_landed_title = e_byzantium } + OR = { + NOT = { dynasty = ROOT } + is_rival = ROOT + } + religion = ROOT + } + } + option = { + name = EVTOPTC_CM_510 + trigger = { + NOT = { has_landed_title = e_byzantium } + NOT = { religion = ROOT } + } + } + option = { + name = EVTOPTD_CM_510 + trigger = { + has_landed_title = e_byzantium + NOT = { character = ROOT } + } + } +} + +# Trigger coronation event from on_create_title +character_event = { + id = CM.1501 + + hide_window = yes + + is_triggered_only = yes + + trigger = { + NOT = { + has_game_rule = { + name = charlemagne_story + value = off + } + } + } + + immediate = { + if = { + limit = { + has_character_flag = is_charlemagne + NOT = { has_character_flag = charlemagne_coronation } + primary_title = { tier = EMPEROR } + } + hidden_tooltip = { narrative_event = { id = CM.1500 } } # Spread the news + } + } +} + diff --git a/LCDA/events/cm_major_events.txt b/LCDA/events/cm_major_events.txt new file mode 100644 index 0000000..f81f402 --- /dev/null +++ b/LCDA/events/cm_major_events.txt @@ -0,0 +1,433 @@ + +########################################### +# # +# Charlemagne Major Events # +# # +# ID CM.500-CM.999 # +# # +########################################### + +# Written by Tobias Bodlund + +namespace = CM + +# Fall of the Kingdom of the Avars +narrative_event = { + id = CM.501 + desc = EVTDESC_CM_501 + title = EVTTITLE_CM_501 + picture = GFX_evt_throne_room + border = GFX_event_narrative_frame_war + + only_playable = yes + + major = yes + + trigger = { + has_landed_title = k_hungary + NOT = { culture = avar } + NOT = { culture = hungarian } + NOT = { has_global_flag = avar_khaganate_renamed } + } + + major_trigger = { + capital_scope = { + NOT = { + distance = { + where = 522 # Pest + value = 600 # Same part of the world + } + } + } + } + + mean_time_to_happen = { + days = 1 + } + + immediate = { + set_global_flag = avar_khaganate_renamed + } + + option = { + name = EVTOPTA_CM_501 + trigger = { + has_landed_title = k_hungary + } + k_hungary = { + set_name = "KINGDOM_PANNONIA" + adjective = "KINGDOM_PANNONIA_ADJ" + } + } + option = { + name = EVTOPTB_CM_501 + trigger = { + NOT = { has_landed_title = k_hungary } + culture = avar + } + } + option = { + name = EVTOPTC_CM_501 + trigger = { + NOT = { has_landed_title = k_hungary } + NOT = { culture = avar } + } + } +} + +# Fall of the Kingdom of the Lombards +narrative_event = { + id = CM.502 + desc = EVTDESC_CM_502 + title = EVTTITLE_CM_502 + picture = GFX_evt_book_carolingian_script + border = GFX_event_narrative_frame_war + + only_playable = yes + has_global_flag = game_start_charlemagne + + major = yes + + trigger = { + has_landed_title = k_italy + NOT = { culture = lombard } + NOT = { has_global_flag = fall_of_lombard_kingdom } + } + + major_trigger = { + capital_scope = { + NOT = { + distance = { + where = 235 # Lombardy + value = 800 # Same part of the world + } + } + } + } + + mean_time_to_happen = { + days = 1 + } + + immediate = { + set_global_flag = fall_of_lombard_kingdom + } + + option = { + name = EVTOPTA_CM_502 + trigger = { + has_landed_title = k_italy + } + k_italy = { + set_name = "" + adjective = "" + reset_coa = THIS + } + } + option = { + name = EVTOPTB_CM_502 + trigger = { + NOT = { has_landed_title = k_italy } + culture = lombard + } + } + option = { + name = EVTOPTC_CM_501 + trigger = { + NOT = { has_landed_title = k_italy } + NOT = { culture = lombard } + } + } +} + +# Start of the Viking Age +narrative_event = { + id = CM.503 + title = EVTTITLE_CM_503 + desc = EVTDESC_CM_503 + picture = GFX_evt_vikings_arriving_oldgods + border = GFX_event_narrative_frame_war + + major = yes + + hide_from = yes + + only_playable = yes + religion = catholic + has_global_flag = game_start_charlemagne + + is_triggered_only = yes + + trigger = { + year = 793 + NOT = { year = 867 } + NOT = { has_global_flag = viking_age_started } + controls_religion = yes # Let it happen for the Pope - he's always around + } + + immediate = { + set_global_flag = viking_age_started + enable_prepared_invasion = norse_pagan + enable_prepared_invasion = norse_pagan_reformed + any_independent_ruler = { + limit = { culture = norse } + any_realm_province = { + if = { + limit = { + port = yes + culture = norse + } + change_tech = { + technology = TECH_NAVAL + value = 1 + } + } + } + any_demesne_title = { + if = { + limit = { + tier = BARON + location = { + port = yes + culture = norse + } + owner = { + is_feudal = yes + culture = norse + } + NOT = { has_building = ca_shipyard_1 } + } + add_building = ca_shipyard_1 + } + if = { + limit = { + tier = BARON + location = { + port = yes + culture = norse + } + owner = { + is_republic = yes + culture = norse + } + NOT = { has_building = ct_shipyard_1 } + } + add_building = ct_shipyard_1 + } + if = { + limit = { + tier = BARON + location = { + port = yes + culture = norse + } + owner = { + is_priest = yes + culture = norse + } + NOT = { has_building = tp_shipyard_1 } + } + add_building = tp_shipyard_1 + } + if = { + limit = { + tier = BARON + location = { + port = yes + culture = norse + } + owner = { + is_tribal = yes + culture = norse + } + NOT = { has_building = tb_shipyard_1 } + } + add_building = tb_shipyard_1 + } + } + any_realm_lord = { + any_demesne_title = { + if = { + limit = { + tier = BARON + location = { + port = yes + culture = norse + } + owner = { + is_feudal = yes + culture = norse + } + NOT = { has_building = ca_shipyard_1 } + } + add_building = ca_shipyard_1 + } + if = { + limit = { + tier = BARON + location = { + port = yes + culture = norse + } + owner = { + is_republic = yes + culture = norse + } + NOT = { has_building = ct_shipyard_1 } + } + add_building = ct_shipyard_1 + } + if = { + limit = { + tier = BARON + location = { + port = yes + culture = norse + } + owner = { + is_priest = yes + culture = norse + } + NOT = { has_building = tp_shipyard_1 } + } + add_building = tp_shipyard_1 + } + if = { + limit = { + tier = BARON + location = { + port = yes + culture = norse + } + owner = { + is_tribal = yes + culture = norse + } + NOT = { has_building = tb_shipyard_1 } + } + add_building = tb_shipyard_1 + } + } + } + } + any_playable_ruler = { + limit = { + ai = no + capital_scope = { + NOT = { region = world_india } + NOT = { region = world_africa_west } + NOT = { region = world_africa_east } + } + } + chronicle = { + entry = CHRONICLE_VIKING_AGE_BEGINS + picture = GFX_evt_longships_at_sea_oldgods + } + } + } + + option = { + name = EVTOPTA_CM_503 + trigger = { + NOT = { culture = norse } + capital_scope = { + NOT = { region = world_india } + NOT = { region = world_africa_west } + NOT = { region = world_africa_east } + } + } + custom_tooltip = { text = viking_age_shipyards_and_tech_tooltip } + custom_tooltip = { text = viking_age_cb_tooltip } + } + option = { + name = EVTOPTB_CM_503 + trigger = { + culture = norse + } + custom_tooltip = { text = viking_age_shipyards_and_tech_tooltip } + custom_tooltip = { text = viking_age_cb_tooltip } + } + option = { + name = EVTOPTC_CM_503 + trigger = { + NOT = { culture = norse } + capital_scope = { + OR = { + region = world_india + region = world_africa_west + region = world_africa_east + } + } + } + custom_tooltip = { text = viking_age_shipyards_and_tech_tooltip } + custom_tooltip = { text = viking_age_cb_tooltip } + } +} + +# Notification of founding of the HRE +narrative_event = { + id = CM.510 + title = EVTTITLE_CM_510 + desc = EVTDESC_CM_510 + picture = GFX_evt_found_hre + + major = yes + + is_triggered_only = yes + + major_trigger = { + capital_scope = { + e_hre = { + holder_scope = { + capital_scope = { + NOT = { + distance = { + where = PREVPREVPREV + distance = 1200 + } + } + } + } + } + } + } + + option = { + name = EVTOPTA_CM_510 + trigger = { + OR = { + has_landed_title = e_hre + AND = { + dynasty = ROOT + NOT = { is_rival = ROOT } + } + } + } + } + option = { + name = EVTOPTB_CM_510 + trigger = { + NOT = { has_landed_title = e_hre } + NOT = { has_landed_title = e_byzantium } + OR = { + NOT = { dynasty = ROOT } + is_rival = ROOT + } + religion = ROOT + } + } + option = { + name = EVTOPTC_CM_510 + trigger = { + NOT = { has_landed_title = e_byzantium } + NOT = { religion = ROOT } + } + } + option = { + name = EVTOPTD_CM_510 + trigger = { + has_landed_title = e_byzantium + NOT = { has_landed_title = e_hre } + } + } +} diff --git a/LCDA/events/cm_religious_events.txt b/LCDA/events/cm_religious_events.txt new file mode 100644 index 0000000..b9411d6 --- /dev/null +++ b/LCDA/events/cm_religious_events.txt @@ -0,0 +1,2111 @@ +########################################### +# # +# Charlemagne Religious Events # +# # +# ID CM.4000-CM.4999 # +# # +########################################### + +# Written by Tobias Bodlund + +namespace = CM + +########################################### +# Knights of the Sun # +########################################### + + +# The birth of the Knights of the Sun +narrative_event = { + id = CM.4000 + title = EVTTITLE_CM_4000 + desc = EVTDESC_CM_4000 + picture = GFX_evt_sun_temple + border = GFX_event_narrative_frame_religion + + major = yes + hide_from = yes + + only_rulers = yes + religion = catholic + only_men = yes + has_dlc = "Charlemagne" + has_global_flag = zun_reformation + + trigger = { + NOT = { + is_title_active = d_zun_warriors + } + controls_religion = yes # Let it happen for the Pope - he's always around + } + + mean_time_to_happen = { + months = 36 + } + + immediate = { + activate_title = { title = d_zun_warriors status = yes } + create_character = { + random_traits = no + dynasty = random + religion = zun_pagan_reformed + culture = afghan + female = no + age = 28 + trait = brilliant_strategist + trait = zealous + trait = humble + trait = ambitious + trait = strategist + trait = holy_warrior + } + new_character = { + wealth = 500 + d_zun_warriors = { + grant_title = PREV + } + set_government_type = feudal_government + create_character = { + random_traits = yes + dynasty = random + religion = zun_pagan_reformed + culture = afghan + female = no + age = 16 + } + create_character = { + random_traits = yes + dynasty = random + religion = zun_pagan_reformed + culture = afghan + female = no + age = 18 + } + create_character = { + random_traits = yes + dynasty = random + religion = zun_pagan_reformed + culture = afghan + female = no + age = 18 + } + create_character = { + random_traits = yes + dynasty = random + religion = zun_pagan_reformed + culture = afghan + female = no + age = 20 + } + create_character = { + random_traits = yes + dynasty = random + religion = zun_pagan_reformed + culture = afghan + female = no + age = 25 + } + create_character = { + random_traits = yes + dynasty = random + religion = zun_pagan_reformed + culture = afghan + female = no + age = 26 + } + create_character = { + random_traits = yes + dynasty = random + religion = zun_pagan_reformed + culture = afghan + female = no + age = 28 + } + create_character = { + random_traits = yes + dynasty = random + religion = zun_pagan_reformed + culture = afghan + female = yes + age = 16 + } + create_character = { + random_traits = yes + dynasty = random + religion = zun_pagan_reformed + culture = afghan + female = yes + age = 17 + } + } + } + + option = { + name = EVTOPTA_CM_4000 + trigger = { + OR = { + religion = zun_pagan_reformed + religion = zun_pagan + } + } + } + option = { + name = EVTOPTB_SOA_2009 + trigger = { + NOT = { religion = zun_pagan_reformed } + NOT = { religion = zun_pagan } + } + } +} + +# The son of a ruler volunteers to join the Knights of the Sun +character_event = { + id = CM.4001 + + hide_window = yes + + only_men = yes + min_age = 16 + max_age = 45 + only_capable = yes + prisoner = no + religion = zun_pagan_reformed + + trigger = { + is_ruler = no + + martial = 5 + + is_title_active = d_zun_warriors + + OR = { + father_even_if_dead = { + primary_title = { higher_tier_than = BARON } + } + mother_even_if_dead = { + primary_title = { higher_tier_than = BARON } + } + } + + liege = { + holy_order = no + liege = { + holy_order = no + } + } + + has_dlc = "Charlemagne" + + NOT = { has_character_modifier = expelled_d_zun_warriors } + NOT = { + any_liege = { + has_character_modifier = expelled_d_zun_warriors + } + } + } + + mean_time_to_happen = { + years = 100 + modifier = { + factor = 0.25 + trait = zealous + } + modifier = { + factor = 0.5 + trait = celibate + } + modifier = { + factor = 0.5 + trait = homosexual + } + modifier = { + factor = 0.7 + trait = content + } + modifier = { + factor = 0.75 + trait = chaste + } + modifier = { + factor = 0.75 + NOT = { age = 25 } + } + modifier = { + factor = 1.5 + trait = slothful + } + modifier = { + factor = 2.0 + trait = lustful + } + modifier = { + factor = 2.0 + trait = cynical + } + modifier = { + factor = 2.0 + trait = hedonist + } + modifier = { + factor = 2.0 + trait = ambitious + } + modifier = { + factor = 2.0 + any_heir_title = { + always = yes + } + } + modifier = { + factor = 2.0 + is_primary_heir = yes + } + modifier = { + factor = 2 + any_spouse = { + reverse_opinion = { who = ROOT value = 100 } + } + } + } + + option = { # Ask to go + ai_chance = { + factor = 100 + } + liege = { + character_event = { + id = CM.4002 + } + } + } + option = { # It's a bad idea + } +} + +# Son or brother asks to join the Knights of the Sun +character_event = { + id = CM.4002 + desc = EVTDESC_CM_4002 + picture = GFX_evt_sun_temple + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + option = { + name = EVTOPTA_SOA_1031 # Agree + ai_chance = { + factor = 100 + } + + if = { + limit = { religion_group = FROM } + piety = 100 + } + + FROM = { + character_event = { + id = CM.4003 + tooltip = EVTTOOLTIP_CM_4003 + } + } + } + + option = { + name = EVTOPTB_SOA_1031 # Refuse + + if = { + limit = { religion_group = FROM } + piety = -100 + } + + FROM = { + character_event = { + id = CM.4004 + tooltip = EVTTOOLTIP_SOA_1033 + } + } + } +} + +# Son or brother joins the Knights of the Sun +character_event = { + id = CM.4003 + + hide_window = yes + + is_triggered_only = yes + + immediate = { + d_zun_warriors = { + holder_scope = { + ROOT = { + move_character = PREV + hidden_tooltip = { + clear_wealth = PREV + } + any_spouse = { + remove_spouse = spouse + hidden_tooltip = { character_event = { id = SoA.2863 } } + } + end_inaccessibility_effect = yes #removes in hiding or in_seclusion + } + } + } + } +} + +# Liege refuses request to join the Knights of the Sun +character_event = { + id = CM.4004 + + hide_window = yes + + is_triggered_only = yes + + immediate = { + opinion = { + who = FROM + modifier = opinion_refused_request_holy_order + } + } +} + +# Ping event when donating money to the Knights of the Sun +character_event = { + id = CM.4005 + + hide_window = yes + + is_triggered_only = yes + + immediate = { + wealth = 300 + FROM = { + letter_event = { + id = CM.4006 + } + } + opinion = { + who = FROM + modifier = opinion_generous_donation + } + } +} + +# Notification event when donating money to the Knights of the Sun +letter_event = { + id = CM.4006 + desc = EVTDESC_CM_4006 + border = GFX_event_letter_frame_religion + + is_triggered_only = yes + + option = { + name = EXCELLENT + } +} + +# The Grand Master humbly requests the right to build a castle in your demesne +character_event = { + id = CM.4007 + + hide_window = yes + + only_playable = yes + religion = zun_pagan_reformed + + trigger = { + d_zun_warriors = { + holder_scope = { + wealth = 300 + NOT = { + realm_size = 10 + } + } + } + + any_demesne_province = { + has_empty_holding = yes + any_province_holding = { + NOT = { holding_type = nomad } + } + } + + has_dlc = "Charlemagne" + + NOT = { has_character_modifier = expelled_d_zun_warriors } + NOT = { + any_liege = { + has_character_modifier = expelled_d_zun_warriors + } + } + } + + mean_time_to_happen = { + months = 240 + modifier = { + factor = 0.5 + d_zun_warriors = { + holder_scope = { + NOT = { demesne_size = 1 } + } + } + } + modifier = { + factor = 0.5 + d_zun_warriors = { + holder_scope = { + NOT = { demesne_size = 2 } + } + } + } + modifier = { + factor = 2.0 + d_zun_warriors = { + holder_scope = { + num_of_count_titles = 1 + } + } + } + modifier = { + factor = 2.0 + d_zun_warriors = { + holder_scope = { + realm_size = 5 + } + } + } + } + + immediate = { + random_demesne_province = { + limit = { + has_empty_holding = yes + any_province_holding = { + NOT = { holding_type = nomad } + } + } + province_event = { + id = CM.4008 + } + } + } +} + +province_event = { + id = CM.4008 + + hide_window = yes + + is_triggered_only = yes + + immediate = { + d_zun_warriors = { + holder_scope = { + character_event = { + id = CM.4009 + } + } + } + } +} + +character_event = { + id = CM.4009 + + hide_window = yes + + is_triggered_only = yes + + immediate = { + FROMFROM = { + letter_event = { + id = CM.4010 + } + } + } +} + +letter_event = { + id = CM.4010 + desc = EVTDESC_CM_4010 + border = GFX_event_letter_frame_religion + + is_triggered_only = yes + + option = { + name = EVTOPTA_SOA_1023 # Agree + ai_chance = { + factor = 80 + modifier = { + factor = 0 + has_character_modifier = expelled_d_zun_warriors + } + } + + hidden_tooltip = { + FROMFROM = { + province_event = { id = CM.4011 } + } + remove_character_modifier = expelled_d_zun_warriors + } + + piety = 200 + wealth = 100 + } + + option = { + name = EVTOPTB_SOA_1153 # Refuse + ai_chance = { + factor = 20 + } + + piety = -100 + } +} + +# Castle has been erected +province_event = { + id = CM.4011 + desc = EVTDESC_CM_4011 + picture = GFX_evt_castle_construction + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + immediate = { + FROMFROM = { + wealth = -300 + } + } + + option = { + name = EVTOPTA_SOA_1024 + build_holding = { + type = castle + holder = FROMFROM + } + } +} + +# Ping event when expelling the Knights of the Sun +character_event = { + id = CM.4012 + + hide_window = yes + + is_triggered_only = yes + + immediate = { + any_title_under = { + limit = { + tier = BARON + location = { + owner = { + OR = { + character = FROM + is_liege_or_above = FROM + } + } + } + } + usurp_title = FROM + } + + FROM = { + letter_event = { + id = CM.4013 + } + } + + opinion = { + who = FROM + modifier = opinion_expelled_from_realm + } + } +} + +# Notification event when expelling the Knights of the Sun +letter_event = { + id = CM.4013 + desc = EVTDESC_CM_4013 + border = GFX_event_letter_frame_religion + + is_triggered_only = yes + + option = { + name = EVTOPTA_CM_4013 + } +} + +########################################### +# Festival of the Sun CM.4100-CM.4199 # +########################################### + +# Invite vassals to festival +character_event = { + id = CM.4100 + desc = EVTDESC_CM_4100 + picture = GFX_evt_sun_temple + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + option = { + name = EVTOPTA_CM_4100 + any_vassal = { + limit = { + prisoner = no + war = no + NOT = { trait = incapable } + age = 16 + NOT = { has_character_flag = do_not_disturb } + } + letter_event = { + id = CM.4101 + tooltip = EVTTOOLTIP1_RoI_1000 + } + } + hidden_tooltip = { character_event = { id = CM.4120 days = 12 } } + } +} + +# Vassal receives invitation +letter_event = { + id = CM.4101 + desc = EVTDESC_CM_4101 + border = GFX_event_letter_frame_religion + + is_triggered_only = yes + + option = { + name = EVTOPTA_CM_4101 #Travel to the feast + ai_chance = { + factor = 2 + modifier = { + factor = 10 + has_focus = focus_theology + OR = { + religion = zun_pagan + religion = zun_pagan_reformed + } + } + modifier = { + factor = 0.1 + is_inaccessible_trigger = yes + } + modifier = { + factor = 2 + opinion = { who = from value = -30 } + } + modifier = { + factor = 5 + opinion = { who = from value = -15 } + } + modifier = { + factor = 5 + opinion = { who = from value = 0 } + } + } + set_character_flag = do_not_disturb + hidden_tooltip = { character_event = { id = CM.4105 days = 12 } } # Hidden - arrives at feast + hidden_tooltip = { character_event = { id = CM.4199 days = 42 } } # Safety event for clearing all flags + end_inaccessibility_effect = yes #removes in_hiding or in_seclusion + } + option = { + name = EVTOPTB_RoI_1001 #Refuse invitation + ai_chance = { + factor = 1 + modifier = { + factor = 0 + opinion = { who = FROM value = 25 } + NOT = { is_inaccessible_trigger = yes } + } + modifier = { + factor = 5 + NOT = { + OR = { + religion = zun_pagan + religion = zun_pagan_reformed + } + } + } + } + FROM = { + letter_event = { + id = CM.4102 + days = 3 + tooltip = EVTTOOLTIP1_RoI_2001 + } + } + } +} + +# If vassal refuses to come to the feast +letter_event = { + id = CM.4102 + desc = EVTDESC_CM_4102 + + is_triggered_only = yes + + option = { + name = EVTOPTA_SoA_502 + opinion = { + modifier = opinion_dislike + who = FROM + years = 2 + } + } +} + +# Festival begins +character_event = { + id = CM.4120 + desc = EVTDESC_CM_4120 + picture = GFX_evt_sun_temple + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + option = { + name = EVTOPTA_CM_4120 + set_character_flag = zun_feast_begun + hidden_tooltip = { character_event = { id = CM.4195 days = 30 } } # End festival + hidden_tooltip = { character_event = { id = CM.4199 days = 31 } } # Clearing all flags and modifiers after feast + hidden_tooltip = { + narrative_event = { id = CM.4130 days = 10 } # Walking in the sun + character_event = { id = CM.4190 days = 20 } # Temple ceremony + } + any_courtier = { + limit = { + is_adult = yes + is_ruler = no + NOT = { trait = incapable } + OR = { + religion = zun_pagan + religion = zun_pagan_reformed + } + } + set_character_flag = attending_zun_feast + narrative_event = { id = CM.4130 days = 10 } # Walking in the sun + hidden_tooltip = { character_event = { id = CM.4199 days = 31 } } # Clearing all flags and modifiers after feast + } + } +} + +# Vassal arrives at festival +character_event = { + id = CM.4105 + desc = EVTDESC_CM_4120 + picture = GFX_evt_sun_temple + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + option = { + name = EVTOPTA_CM_4120 + hidden_tooltip = { + if = { + limit = { + OR = { + religion = zun_pagan + religion = zun_pagan_reformed + } + } + narrative_event = { id = CM.4130 days = 10 } # Walking in the sun + } + character_event = { id = CM.4190 days = 20 } # Temple ceremony + } + } +} + +# Festival ends +character_event = { + id = CM.4195 + + hide_window = yes + + is_triggered_only = yes + + immediate = { + character_event = { id = CM.4196 } + any_vassal = { + limit = { + has_character_flag = attending_zun_feast + ROOT = { is_liege_of = THIS } + } + character_event = { id = CM.4198 } + } + } +} + +# Festival is over - host +character_event = { + id = CM.4196 + desc = EVTDESC_CM_4196 + picture = GFX_evt_sun_temple + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + option = { + name = EVTOPTA_CM_4196 + add_character_modifier = { + name = large_feast_timer + duration = 365 + hidden = yes + } + remove_character_modifier = holding_zun_feast + clr_character_flag = zun_feast_begun + clr_character_flag = do_not_disturb + } +} + +# Festival is over - guest +character_event = { + id = CM.4198 + desc = EVTDESC_CM_4196 + picture = GFX_evt_sun_temple + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + option = { + name = EVTOPTA_CM_4196 + add_character_modifier = { + name = large_feast_timer + duration = 365 + hidden = yes + } + opinion = { + modifier = opinion_enjoyed_feast + who = FROM + years = 2 + } + clr_character_flag = attending_zun_feast + clr_character_flag = do_not_disturb + } +} + +# Clear all character flags and modifiers - safety catch +character_event = { + id = CM.4199 + + hide_window = yes + + is_triggered_only = yes + + immediate = { + remove_character_modifier = holding_zun_feast + clr_character_flag = attending_zun_feast + clr_character_flag = zun_feast_begun + clr_character_flag = do_not_disturb + } +} + +# Walking in the sun +narrative_event = { + id = CM.4130 + title = EVTTITLE_CM_4130 + desc = EVTDESC_CM_4130 + picture = GFX_evt_sun_temple + border = GFX_event_narrative_frame_religion + + is_triggered_only = yes + + capable_only = yes + + option = { + name = EVTOPTA_CM_4130 + piety = 30 + hidden_tooltip = { + random_list = { + 5 = { character_event = { id = CM.4131 } } # Weak or old character becomes ill + 5 = { character_event = { id = CM.4133 } } # Character goes insane + 5 = { character_event = { id = CM.4135 } } # Character becomes possessed + 10 = { character_event = { id = CM.4137 } } # Character becomes zealous + 10 = { character_event = { id = CM.4139 } } # Character becomes stronger + 10 = { character_event = { id = CM.4141 } } # Character becomes wiser + 5 = { character_event = { id = CM.4143 } } # Zealous character stares into sun and goes blind + 300 = {} # No event + } + } + } +} + +# Weak or old character becomes ill or incapable +character_event = { + id = CM.4131 + desc = EVTDESC_CM_4131 + picture = GFX_evt_sun_temple + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + trigger = { + immortal = no + OR = { + age = 70 + health_traits = 1 + } + } + + option = { + name = EVTOPTA_CM_4131 + if = { + limit = { + is_ill = yes + } + add_trait = incapable + } + if = { + limit = { + is_ill = no + } + if = { + limit = { + NOT = { + has_dlc = "Reapers" + } + } + add_trait = ill + } + if = { + limit = { + has_dlc = "Reapers" + } + add_symptom_effect = yes + } + } + } +} + +# Character goes insane +character_event = { + id = CM.4133 + desc = EVTDESC_CM_4133 + picture = GFX_evt_sun_temple + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + trigger = { + NOT = { trait = lunatic } + OR = { + trait = stressed + trait = depressed + AND = { + health_traits = 1 + trait = zealous + } + } + } + + option = { + name = EVTOPTA_CM_4133 + add_trait = lunatic + } +} + +# Character becomes possessed +character_event = { + id = CM.4135 + desc = EVTDESC_CM_4135 + picture = GFX_evt_sun_temple + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + trigger = { + NOT = { trait = possessed } + trait = zealous + } + + option = { + name = EVTOPTA_CM_4135 + add_trait = possessed + } +} + +# Character becomes zealous +character_event = { + id = CM.4137 + desc = EVTDESC_CM_4137 + picture = GFX_evt_sun_temple + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + trigger = { + NOT = { trait = zealous } + NOT = { trait = cynical } + } + + option = { + name = EVTOPTA_CM_4137 + add_trait = zealous + } +} + +# Character becomes stronger +character_event = { + id = CM.4139 + desc = EVTDESC_CM_4139 + picture = GFX_evt_sun_temple + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + trigger = { + is_strong_trigger = no + is_weak_trigger = no + NOT = { trait = slothful } + NOT = { health_traits = 1 } + } + + option = { + name = EVTOPTA_CM_4137 + add_trait = robust + } +} + +# Character becomes wiser +character_event = { + id = CM.4141 + desc = EVTDESC_CM_4141 + picture = GFX_evt_sun_temple + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + trigger = { + is_smart_trigger = no + } + + option = { + name = EVTOPTA_CM_4141 + add_trait = shrewd + } +} + +# Character stares into sun and becomes blind +character_event = { + id = CM.4143 + desc = EVTDESC_CM_4143 + picture = GFX_evt_sun_temple + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + trigger = { + trait = zealous + NOT = { trait = blinded } + } + + option = { + name = EVTOPTA_CM_4143 + if = { + limit = { + trait = one_eyed + } + remove_trait = one_eyed + } + add_trait = blinded + } +} + + +# Temple ceremony - host and guests +character_event = { + id = CM.4190 + desc = EVTDESC_CM_4190 + picture = GFX_evt_sun_temple + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + option = { + name = EVTOPTA_CM_4190 + piety = 20 + add_character_modifier = { + name = large_feast_timer + duration = 365 + hidden = yes + } + } +} + +########################################### +# Byzantine religious events # +########################################### + +# Byzantine Emperor renounces iconoclasm +character_event = { + id = CM.4200 + desc = EVTDESC_CM_4200 + picture = GFX_evt_icon + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + option = { + name = EVTOPTA_CM_4200 + religion = FROM + ai_chance = { + factor = 1 + modifier = { + factor = 0.3 + trait = zealous + intrigue = 3 + } + modifier = { + factor = 0 + trait = zealous + NOT = { intrigue = 3 } + } + } + if = { + limit = { trait = zealous } + remove_trait = zealous + piety = -50 + } + } + option = { + name = EVTOPTB_CM_4200 + piety = 100 + ai_chance = { + factor = 1 + modifier = { + factor = 0 + NOT = { trait = zealous } + } + } + } +} + +################################## +# The Haruriyyah CM.4300-CM.4399 # +################################## + +# The Grand Master demands one of your sons due to debt +character_event = { + id = CM.4300 + + hide_window = yes + + min_age = 16 + only_playable = yes + religion_group = muslim + + trigger = { + has_character_modifier = borrowed_from_haruriyyah + OR = { + religion = ibadi + religion = kharijite + } + is_heretic = no + NOT = { has_character_flag = sent_son_to_haruriyyah } + any_child = { + is_female = no + is_adult = yes + is_ruler = no + prisoner = no + NOT = { trait = incapable } + ROOT = { + NOT = { + current_heir = { + character = PREVPREV + } + } + } + } + has_dlc = "Charlemagne" + } + + mean_time_to_happen = { + months = 120 + } + + immediate = { + random_child = { + limit = { + is_female = no + is_adult = yes + is_ruler = no + prisoner = no + NOT = { trait = incapable } + ROOT = { + NOT = { + current_heir = { + character = PREVPREV + } + } + } + } + character_event = { + id = CM.4301 + } + } + } +} + +character_event = { + id = CM.4301 + + hide_window = yes + + is_triggered_only = yes + + immediate = { + d_haruriyyah = { + holder_scope = { + character_event = { + id = CM.4302 + } + } + } + } +} + +character_event = { + id = CM.4302 + + hide_window = yes + + is_triggered_only = yes + + immediate = { + FROMFROM = { + letter_event = { + id = CM.4303 + } + } + } +} + +letter_event = { + id = CM.4303 + desc = EVTDESC_CM_4303 + border = GFX_event_letter_frame_religion + + is_triggered_only = yes + + option = { + name = EVTOPTA_SOA_1003 # Agree + ai_chance = { + factor = 100 + } + + set_character_flag = sent_son_to_haruriyyah + + piety = 100 + + d_haruriyyah = { + holder_scope = { + FROMFROM = { + move_character = PREV + hidden_tooltip = { + clear_wealth = PREV + } + } + } + } + } + + option = { + name = EVTOPTB_SOA_1003 # Pay them back + wealth = -300 + hidden_tooltip = { + remove_character_modifier = borrowed_from_haruriyyah + } + FROM = { + wealth = 300 + } + } + + option = { + name = EVTOPTC_SOA_1003 # Refuse + piety = -1000 + } +} + + +# Birth of the Haruriyyah Order +narrative_event = { + id = CM.4309 + title = EVTTITLE_CM_4309 + desc = EVTDESC_CM_4309 + picture = GFX_evt_moors + border = GFX_event_narrative_frame_religion + + major = yes + hide_from = yes + + only_playable = yes + only_men = yes + religion_group = muslim + has_dlc = "Charlemagne" + has_global_flag = muslim_jihads_unlocked + + trigger = { + OR = { + religion = ibadi + religion = kharijite + } + is_heretic = no + NOT = { + is_title_active = d_haruriyyah + } + + + OR = { + 869 = { # Hajar + NOT = { owner = { religion_group = muslim } } + } + 728 = { # Damascus + NOT = { owner = { religion_group = muslim } } + } + 796 = { # Cairo + NOT = { owner = { religion_group = muslim } } + } + 774 = { # Jerusalem + NOT = { owner = { religion_group = muslim } } + } + 719 = { # Mecca + NOT = { owner = { religion_group = muslim } } + } + } + } + + mean_time_to_happen = { + months = 6 + } + + immediate = { + activate_title = { title = d_haruriyyah status = yes } + create_character = { + random_traits = no + dynasty = random + religion = ROOT + culture = persian + female = no + age = 25 + attributes = { + martial = 10 + diplomacy = 9 + stewardship = 9 + intrigue = 7 + learning = 9 + } + health = 6 + fertility = 0.5 + trait = brilliant_strategist + trait = sayyid + trait = hajjaj + trait = hafiz + trait = patient + trait = zealous + trait = scholar + trait = temperate + } + new_character = { + wealth = 500 + d_haruriyyah = { + grant_title = PREV + } + set_government_type = feudal_government + create_character = { + random_traits = yes + dynasty = random + religion = ROOT + culture = persian + female = no + age = 16 + } + create_character = { + random_traits = yes + dynasty = random + religion = ROOT + culture = persian + female = no + age = 18 + } + create_character = { + random_traits = yes + dynasty = random + religion = ROOT + culture = persian + female = no + age = 18 + } + create_character = { + random_traits = yes + dynasty = random + religion = ROOT + culture = persian + female = no + age = 20 + } + create_character = { + random_traits = yes + dynasty = random + religion = ROOT + culture = persian + female = no + age = 25 + } + create_character = { + random_traits = yes + dynasty = random + religion = ROOT + culture = persian + female = no + age = 26 + } + create_character = { + random_traits = yes + dynasty = random + religion = ROOT + culture = persian + female = no + age = 28 + } + create_character = { + random_traits = yes + dynasty = random + religion = ROOT + culture = persian + female = yes + age = 16 + } + create_character = { + random_traits = yes + dynasty = random + religion = ROOT + culture = persian + female = yes + age = 17 + } + } + } + + option = { + name = EVTOPTA_CM_4309 + trigger = { + religion = ROOT + } + } + option = { + name = EVTOPTB_CM_4309 + trigger = { + NOT = { religion = ROOT } + } + } +} + +# Ping event when borrowing money from the haruriyyah +character_event = { + id = CM.4310 + + hide_window = yes + + is_triggered_only = yes + + immediate = { + wealth = -300 + FROM = { + letter_event = { + id = CM.4311 + } + } + } +} + +# Notification event when borrowing money from the haruriyyah +letter_event = { + id = CM.4311 + desc = EVTDESC_CM_4311 + border = GFX_event_letter_frame_religion + + is_triggered_only = yes + + option = { + name = EXCELLENT + } +} + + +# The Grand Master demands the right to build a castle in your demesne +character_event = { + id = CM.4320 + + hide_window = yes + + only_playable = yes + religion_group = muslim + + trigger = { + has_character_modifier = borrowed_from_haruriyyah + OR = { + religion = ibadi + religion = kharijite + } + is_heretic = no + + NOT = { has_character_flag = sent_son_to_haruriyyah } + + any_demesne_province = { + has_empty_holding = yes + any_province_holding = { + NOT = { holding_type = nomad } + } + } + + d_haruriyyah = { + holder_scope = { + wealth = 300 + } + } + has_dlc = "Charlemagne" + + NOT = { has_character_modifier = expelled_d_haruriyyah } + NOT = { + any_liege = { + has_character_modifier = expelled_d_haruriyyah + } + } + } + + mean_time_to_happen = { + months = 60 + } + + immediate = { + random_demesne_province = { + limit = { + has_empty_holding = yes + any_province_holding = { + NOT = { holding_type = nomad } + } + } + province_event = { + id = CM.4321 + } + } + } +} + +province_event = { + id = CM.4321 + + hide_window = yes + + is_triggered_only = yes + + immediate = { + d_haruriyyah = { + holder_scope = { + character_event = { + id = CM.4322 + } + } + } + } +} + +character_event = { + id = CM.4322 + + hide_window = yes + + is_triggered_only = yes + + immediate = { + FROMFROM = { + letter_event = { + id = CM.4323 + } + } + } +} + +letter_event = { + id = CM.4323 + desc = EVTDESC_CM_4323 + border = GFX_event_letter_frame_religion + + is_triggered_only = yes + + option = { + name = EVTOPTA_SOA_1023 # Agree + ai_chance = { + factor = 100 + } + + hidden_tooltip = { + remove_character_modifier = borrowed_from_haruriyyah + FROMFROM = { + province_event = { id = CM.4324 } + } + } + + piety = 100 + } + + option = { + name = EVTOPTB_SOA_1003 # Pay them back + wealth = -300 + hidden_tooltip = { + remove_character_modifier = borrowed_from_haruriyyah + } + FROM = { + wealth = 300 + } + } + + option = { + name = EVTOPTC_SOA_1003 # Refuse + piety = -1000 + } +} + +# Castle has been erected +province_event = { + id = CM.4324 + desc = EVTDESC_CM_4324 + picture = GFX_evt_castle_construction + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + immediate = { + FROMFROM = { + wealth = -300 + } + } + + option = { + name = EVTOPTA_SOA_1024 + build_holding = { + type = castle + holder = FROMFROM + } + } +} + +# The son of a ruler volunteers to join the haruriyyah Order +character_event = { + id = CM.4330 + + hide_window = yes + + only_men = yes + min_age = 16 + max_age = 45 + only_capable = yes + prisoner = no + religion_group = muslim + + trigger = { + is_ruler = no + OR = { + religion = ibadi + religion = kharijite + } + is_heretic = no + + martial = 5 + + is_title_active = d_haruriyyah + + OR = { + father_even_if_dead = { + primary_title = { higher_tier_than = BARON } + } + mother_even_if_dead = { + primary_title = { higher_tier_than = BARON } + } + } + + liege = { + holy_order = no + liege = { + holy_order = no + } + } + + has_dlc = "Charlemagne" + + NOT = { has_character_modifier = expelled_d_haruriyyah } + NOT = { + any_liege = { + has_character_modifier = expelled_d_haruriyyah + } + } + } + + mean_time_to_happen = { + years = 100 + modifier = { + factor = 0.25 + trait = zealous + } + modifier = { + factor = 0.5 + trait = celibate + } + modifier = { + factor = 0.5 + trait = homosexual + } + modifier = { + factor = 0.7 + trait = content + } + modifier = { + factor = 0.75 + trait = chaste + } + modifier = { + factor = 0.75 + NOT = { age = 25 } + } + modifier = { + factor = 1.5 + trait = slothful + } + modifier = { + factor = 2.0 + trait = lustful + } + modifier = { + factor = 2.0 + trait = cynical + } + modifier = { + factor = 2.0 + trait = hedonist + } + modifier = { + factor = 2.0 + trait = ambitious + } + modifier = { + factor = 2.0 + any_heir_title = { + always = yes + } + } + modifier = { + factor = 2.0 + is_primary_heir = yes + } + modifier = { + factor = 2 + any_spouse = { + reverse_opinion = { who = ROOT value = 100 } + } + } + } + + option = { # Ask to go + ai_chance = { + factor = 100 + } + liege = { + character_event = { + id = CM.4331 + } + } + } + option = { # It's a bad idea + } +} + +# Son or brother asks to join the haruriyyah +character_event = { + id = CM.4331 + desc = EVTDESC_CM_4331 + picture = GFX_evt_moors + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + option = { + name = EVTOPTA_SOA_1031 # Agree + ai_chance = { + factor = 100 + } + + if = { + limit = { religion_group = FROM } + piety = 100 + } + + FROM = { + character_event = { + id = CM.4332 + tooltip = EVTTOOLTIP_CM_4332 + } + } + } + + option = { + name = EVTOPTB_SOA_1031 # Refuse + + if = { + limit = { religion_group = FROM } + piety = -100 + } + + FROM = { + character_event = { + id = CM.4333 + tooltip = EVTTOOLTIP_SOA_1033 + } + } + } +} + +# Son or brother joins the haruriyyah Order +character_event = { + id = CM.4332 + + hide_window = yes + + is_triggered_only = yes + + immediate = { + d_haruriyyah = { + holder_scope = { + ROOT = { + move_character = PREV + hidden_tooltip = { + clear_wealth = PREV + } + any_spouse = { + remove_spouse = spouse + hidden_tooltip = { character_event = { id = SoA.2863 } } + } + end_inaccessibility_effect = yes #removes in_hiding or in_seclusion + } + } + } + } +} + +# Liege refuses request to join the haruriyyah +character_event = { + id = CM.4333 + + hide_window = yes + + is_triggered_only = yes + + immediate = { + opinion = { + who = FROM + modifier = opinion_refused_request_holy_order + } + } +} + + +# The Grand Master requests the right to build a castle in your demesne +character_event = { + id = CM.4350 + + hide_window = yes + + only_playable = yes + religion_group = muslim + + trigger = { + OR = { + religion = ibadi + religion = kharijite + } + + d_haruriyyah = { + holder_scope = { + wealth = 300 + NOT = { + realm_size = 10 + } + NOT = { + num_of_count_titles = 1 + } + } + } + + any_demesne_province = { + has_empty_holding = yes + port = yes + any_province_holding = { + NOT = { holding_type = nomad } + } + } + + has_dlc = "Charlemagne" + + NOT = { has_character_modifier = expelled_d_haruriyyah } + NOT = { + any_liege = { + has_character_modifier = expelled_d_haruriyyah + } + } + } + + mean_time_to_happen = { + months = 240 + modifier = { + factor = 0.5 + d_haruriyyah = { + holder_scope = { + NOT = { demesne_size = 1 } + } + } + } + modifier = { + factor = 0.5 + d_haruriyyah = { + holder_scope = { + NOT = { demesne_size = 2 } + } + } + } + modifier = { + factor = 2.0 + d_haruriyyah = { + holder_scope = { + realm_size = 5 + } + } + } + } + + immediate = { + random_demesne_province = { + limit = { + has_empty_holding = yes + port = yes + any_province_holding = { + NOT = { holding_type = nomad } + } + } + province_event = { + id = CM.4351 + } + } + } +} + +province_event = { + id = CM.4351 + + hide_window = yes + + is_triggered_only = yes + + immediate = { + d_haruriyyah = { + holder_scope = { + character_event = { + id = CM.4352 + } + } + } + } +} + +character_event = { + id = CM.4352 + + hide_window = yes + + is_triggered_only = yes + + immediate = { + FROMFROM = { + letter_event = { + id = CM.4353 + } + } + } +} + +letter_event = { + id = CM.4353 + desc = EVTDESC_CM_4353 + border = GFX_event_letter_frame_religion + + is_triggered_only = yes + + option = { + name = EVTOPTA_SOA_1023 # Agree + ai_chance = { + factor = 100 + modifier = { + factor = 0 + has_character_modifier = expelled_d_haruriyyah + } + } + + hidden_tooltip = { + FROMFROM = { + province_event = { id = CM.4354 } + } + remove_character_modifier = expelled_d_haruriyyah + } + + piety = 200 + wealth = 100 + } + + option = { + name = EVTOPTB_SOA_1031 # Refuse + ai_chance = { + factor = 20 + } + + piety = -100 + } +} + +# Castle has been erected +province_event = { + id = CM.4354 + desc = EVTDESC_CM_4324 + picture = GFX_evt_moors + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + immediate = { + FROMFROM = { + wealth = -300 + } + } + + option = { + name = EVTOPTA_SOA_1024 + build_holding = { + type = castle + holder = FROMFROM + } + } +} + +# Notification event when donating money to the Muslim orders +letter_event = { + id = CM.4399 + desc = EVTDESC_CM_4399 + border = GFX_event_letter_frame_religion + + is_triggered_only = yes + + option = { + name = EVTOPTA_CM_4399 + } +} + diff --git a/LCDA/events/crusade_events.txt b/LCDA/events/crusade_events.txt new file mode 100644 index 0000000..d86feea --- /dev/null +++ b/LCDA/events/crusade_events.txt @@ -0,0 +1,1904 @@ +########################################### +# +# Crusade Events +# +# ID 8300-8499 is reserved +# +########################################### + +# Arriving for the crusade +character_event = { + id = 8300 + desc = "EVTDESC8300" + picture = "GFX_evt_crusaders" + border = GFX_event_normal_frame_war + + min_age = 16 + capable_only = yes + prisoner = no + #war = yes + + trigger = { + religion_group = christian + NOT = { trait = crusader } + in_command = yes + OR = { + AND = { + any_war = { + using_cb = crusade + } + religion_group = christian + crusade_target = { + is_located_in = ROOT + } + } + any_liege = { + religion_group = christian + any_war = { + using_cb = crusade + } + crusade_target = { + is_located_in = ROOT + } + } + } + } + + mean_time_to_happen = { + days = 1 + } + + option = { + trigger = { + religion_group = christian + } + name = "EVTOPTA8300" + add_trait = crusader + } + + option = { + trigger = { + NOT = { religion_group = christian } + } + name = "GLORY" + add_trait = crusader + } +} + +# Arriving for the crusade (Muslim) +character_event = { + id = 8301 + desc = "EVTDESC8300" + picture = "GFX_evt_moors" + border = GFX_event_normal_frame_war + + #only_men = yes + min_age = 16 + capable_only = yes + prisoner = no + #war = yes + + trigger = { + religion_group = muslim + NOT = { trait = mujahid } + in_command = yes + OR = { + AND = { + any_war = { + using_cb = crusade + } + religion_group = muslim + crusade_target = { + is_located_in = ROOT + } + } + any_liege = { + religion_group = muslim + any_war = { + using_cb = crusade + } + crusade_target = { + is_located_in = ROOT + } + } + } + } + + mean_time_to_happen = { + days = 1 + } + + option = { + trigger = { + religion_group = muslim + } + name = "EVTOPTA8301" + add_trait = mujahid + } + + option = { + trigger = { + NOT = { religion_group = muslim } + } + name = "GLORY" + add_trait = mujahid + } +} + +# Arriving for the great holy war - Norse +character_event = { + id = 8468 + desc = "EVTDESC8300" + picture = "GFX_evt_battle" + border = GFX_event_normal_frame_war + + min_age = 16 + capable_only = yes + prisoner = no + #war = yes + + trigger = { + OR = { + religion = norse_pagan + religion = norse_pagan_reformed + } + NOT = { trait = valhalla_bound } + in_command = yes + OR = { + AND = { + any_war = { + using_cb = crusade + } + OR = { + religion = norse_pagan + religion = norse_pagan_reformed + } + crusade_target = { + is_located_in = ROOT + } + } + any_liege = { + OR = { + religion = norse_pagan + religion = norse_pagan_reformed + } + any_war = { + using_cb = crusade + } + crusade_target = { + is_located_in = ROOT + } + } + } + } + + mean_time_to_happen = { + days = 1 + } + + option = { + trigger = { + OR = { + religion = norse_pagan + religion = norse_pagan_reformed + } + } + name = "EVTOPTA8468" + add_trait = valhalla_bound + } +} + +# Arriving for the great holy war - non-norse Pagans and Jews +character_event = { + id = 8469 + desc = "EVTDESC8300" + picture = "GFX_evt_battle" + border = GFX_event_normal_frame_war + + min_age = 16 + capable_only = yes + prisoner = no + + trigger = { + OR = { + religion_group = pagan_group + religion_group = jewish_group + religion_group = zoroastrian_group + } + NOR = { + religion = norse_pagan + religion = norse_pagan_reformed + } + has_crusade_trait_trigger = no + in_command = yes + OR = { + AND = { + any_war = { + using_cb = crusade + } + crusade_target = { + is_located_in = ROOT + } + } + any_liege = { + religion = ROOT + any_war = { + using_cb = crusade + } + crusade_target = { + is_located_in = ROOT + } + } + } + } + + mean_time_to_happen = { + days = 1 + } + + option = { + name = "8469.a" + add_crusade_trait_effect = yes + } +} + +# Arriving at the crusade target +character_event = { + id = 8305 + desc = "EVTDESC8305" + picture = "GFX_evt_siege" + border = GFX_event_normal_frame_war + + #only_men = yes + min_age = 16 + capable_only = yes + prisoner = no + religion = catholic + + trigger = { + has_called_crusade = yes + in_command = yes + OR = { + any_war = { + using_cb = crusade + } + any_liege = { + any_war = { + using_cb = crusade + } + } + } + + crusade_target = { + is_located_in = ROOT + } + NOT = { has_character_flag = arrived_at_crusade_target } + location = { + holder_scope = { + NOT = { character = ROOT } + } + } + } + + mean_time_to_happen = { + days = 1 + } + + immediate = { + hidden_tooltip = { + set_character_flag = arrived_at_crusade_target + } + } + + option = { + name = "EXCELLENT" + prestige = 25 + piety = 25 + } +} + +# Pope lifts Excommunication (AI characters only) +character_event = { + id = 8306 + hide_window = yes + + only_men = yes + min_age = 16 + capable_only = yes + prisoner = no + religion = catholic + + trigger = { + controls_religion = yes + has_called_crusade = yes + OR = { + any_independent_ruler = { + ai = yes + religion = catholic + any_war = { + using_cb = crusade + } + excommunicated_for = ROOT + } + any_independent_ruler = { + religion = catholic + any_realm_lord = { + ai = yes + religion = catholic + any_war = { + using_cb = crusade + } + excommunicated_for = ROOT + } + } + } + } + + mean_time_to_happen = { + months = 1 + } + + immediate = { + any_independent_ruler = { + limit = { + ai = no + religion = catholic + any_war = { + using_cb = crusade + } + excommunicated_for = ROOT + } + set_character_flag = offered_revoked_excommunication + letter_event = { id = 8467 days = 1 } + } + any_independent_ruler = { + limit = { + religion = catholic + } + any_realm_lord = { + limit = { + ai = no + religion = catholic + any_war = { + using_cb = crusade + } + excommunicated_for = ROOT + } + set_character_flag = offered_revoked_excommunication + letter_event = { id = 8467 days = 1 } + } + } + } +} + + +### On actions events ### + +# Character becomes zealous +# on_battle_won +# FROM = opposing army's owner +character_event = { + id = 8310 + desc = "EVTDESC8310" + picture = "GFX_evt_knight_kneeling" + border = GFX_event_normal_frame_religion + + hide_from = yes + + min_age = 16 + capable_only = yes + prisoner = no + religion = catholic + + is_triggered_only = yes + + trigger = { + NOT = { trait = zealous } + NOT = { trait = cynical } + + has_called_crusade = yes + OR = { + any_war = { + using_cb = crusade + } + any_liege = { + any_war = { + using_cb = crusade + } + } + } + crusade_target = { + is_located_in = ROOT + } + } + + option = { + name = "EXCELLENT" + add_trait = zealous + } +} + +# Character becomes cynical +# on_battle_lost +# FROM = opposing army's owner +character_event = { + id = 8320 + desc = "EVTDESC8320" + picture = "GFX_evt_pale_rider" + border = GFX_event_normal_frame_war + + min_age = 16 + capable_only = yes + prisoner = no + religion = catholic + + is_triggered_only = yes + + trigger = { + NOT = { trait = cynical } + NOT = { trait = zealous } + + has_called_crusade = yes + OR = { + any_war = { + using_cb = crusade + } + any_liege = { + any_war = { + using_cb = crusade + } + } + } + crusade_target = { + is_located_in = ROOT + } + } + + option = { + name = "EVTOPTA8320" + add_trait = cynical + } +} + +# Conquers the crusade target +# on_siege_won_leader +# FROM = barony won +character_event = { + id = 8330 + desc = EVTDESC8330 + picture = GFX_evt_siege + border = GFX_event_normal_frame_war + + is_triggered_only = yes + + trigger = { + FROM = { is_capital = yes } +# religion = catholic + + has_called_crusade = yes + OR = { + any_war = { + using_cb = crusade + } + any_liege = { + any_war = { + using_cb = crusade + } + } + } + crusade_target = { + de_jure_vassal_or_below = FROM + } + } + + option = { + name = EVTOPTA8330 + prestige = 100 + piety = 100 + hidden_tooltip = { + set_character_flag = captures_crusade_target + if = { + limit = { + independent = no + } + # Only liege + if = { + limit = { + liege = { + NOT = { character = ROOT } + any_war = { + using_cb = crusade + } + } + top_liege = { + NOT = { + any_war = { + using_cb = crusade + } + } + } + } + liege = { letter_event = { id = 8331 days = 1 } } + } + # Only top liege + if = { + limit = { + liege = { + NOT = { + any_war = { + using_cb = crusade + } + } + } + top_liege = { + any_war = { + using_cb = crusade + } + } + } + top_liege = { letter_event = { id = 8331 days = 1 } } + } + # Both liege and top liege + if = { + limit = { + liege = { + NOT = { character = ROOT } + any_war = { + using_cb = crusade + } + ROOT = { + top_liege = { + NOT = { character = PREVPREV } + any_war = { + using_cb = crusade + } + } + } + } + } + liege = { letter_event = { id = 8331 days = 1 } } + top_liege = { letter_event = { id = 8331 days = 1 } } + } + } + } + } +} + +# Inform liege of capturing the crusade target +letter_event = { + id = 8331 + desc = "EVTDESC8331" + + is_triggered_only = yes + + option = { + name = "EXCELLENT" + if = { + limit = { NOT = { has_character_flag = captures_crusade_target } } + prestige = 25 + piety = 25 + } + set_character_flag = captures_crusade_target + } +} + + +# Finds the Spear of Destiny / Holy Lance +# on_siege_won_leader +# FROM = barony won +character_event = { + id = 8340 + desc = "EVTDESC8340" + picture = "GFX_evt_siege" + border = GFX_event_normal_frame_war + + religion = catholic + + is_triggered_only = yes + + trigger = { + FROM = { title = b_jerusalem } + OR = { + any_war = { + using_cb = crusade + } + any_liege = { + any_war = { + using_cb = crusade + } + } + } + NOT = { has_global_flag = found_the_holy_lance } + } + + immediate = { + hidden_tooltip = { + set_global_flag = found_the_holy_lance + } + } + + option = { + name = "EVTOPTA8340" + prestige = 100 + if = { + limit = { has_dlc = Mystics } + add_artifact = spear_of_destiny + new_artifact = { + set_creation_date = 1.1.1 + } + } + } +} + + +# Finds the Holy Grail +# on_siege_won_leader +# FROM = barony won +character_event = { + id = 8342 + desc = "EVTDESC8342" + picture = "GFX_evt_siege" + border = GFX_event_normal_frame_war + + is_triggered_only = yes + religion = catholic + + trigger = { + FROM = { title = b_syrcaesarea } + OR = { + any_war = { + using_cb = crusade + } + any_liege = { + any_war = { + using_cb = crusade + } + } + } + NOT = { has_global_flag = found_the_holy_grail } + } + + immediate = { + hidden_tooltip = { + set_global_flag = found_the_holy_grail + } + } + + option = { + name = "EVTOPTA8342" + prestige = 200 + if = { + limit = { has_dlc = Mystics } + + if = { + limit = { + OR = { + has_game_rule = { + name = supernatural_events + value = on + } + has_game_rule = { + name = supernatural_events + value = unrestricted + } + } + } + add_artifact = holy_grail + new_artifact = { + set_creation_date = 1.1.1 + } + } + if = { + limit = { + has_game_rule = { + name = supernatural_events + value = off + } + } + add_artifact = holy_chalice + new_artifact = { + set_creation_date = 1.1.1 + } + } + } + } +} + + +# Sack of Jerusalem +# on_siege_won_leader +# FROM = barony won +character_event = { + id = 8345 + desc = "EVTDESC8345" + picture = "GFX_evt_siege" + border = GFX_event_normal_frame_war + + religion = catholic + + is_triggered_only = yes + + trigger = { + FROM = { title = b_jerusalem } + OR = { + any_war = { + using_cb = crusade + } + any_liege = { + any_war = { + using_cb = crusade + } + } + } + } + + option = { + name = "EVTOPTA8345" + prestige = 50 + } +} + + +# Loses the crusade target's capital +# on_siege_lost_leader +# FROM = barony lost +character_event = { + id = 8350 + desc = "EVTDESC8350" + picture = "GFX_evt_siege" + border = GFX_event_normal_frame_war + + is_triggered_only = yes + + trigger = { + FROM = { is_capital = yes } +# religion = catholic + OR = { + any_war = { + using_cb = crusade + } + any_liege = { + any_war = { + using_cb = crusade + } + } + } + crusade_target = { + de_jure_vassal_or_below = FROM + } + } + + option = { + name = "EVTOPTA8350" + prestige = -50 + piety = -50 + hidden_tooltip = { + if = { + limit = { + independent = no + } + # Only liege + if = { + limit = { + liege = { + NOT = { character = ROOT } + any_war = { + using_cb = crusade + } + } + top_liege = { + NOT = { + any_war = { + using_cb = crusade + } + } + } + } + liege = { letter_event = { id = 8351 days = 1 } } + } + # Only top liege + if = { + limit = { + liege = { + NOT = { + any_war = { + using_cb = crusade + } + } + } + top_liege = { + any_war = { + using_cb = crusade + } + } + } + top_liege = { letter_event = { id = 8351 days = 1 } } + } + # Both liege and top liege + if = { + limit = { + liege = { + NOT = { character = ROOT } + any_war = { + using_cb = crusade + } + ROOT = { + top_liege = { + NOT = { character = PREVPREV } + any_war = { + using_cb = crusade + } + } + } + } + } + liege = { letter_event = { id = 8351 days = 1 } } + top_liege = { letter_event = { id = 8351 days = 1 } } + } + } + } + } +} + +# Inform liege of losing the crusade target +letter_event = { + id = 8351 + desc = "EVTDESC8351" + + is_triggered_only = yes + + option = { + name = "EVTOPTA8351" + prestige = -25 + piety = -25 + } +} + + +######################################## +# Disappointment of not participating +######################################## + +### Pope Disappointed ### + +# Pope is concerned that an independent ruler is not participating in crusade +character_event = { + id = 8400 + desc = "EVTDESC8400" + picture = GFX_evt_pope + border = GFX_event_normal_frame_religion + + only_playable = yes + religion = catholic + only_men = yes + only_capable = yes + min_age = 16 + prisoner = no + + trigger = { + controls_religion = yes + has_called_crusade = yes + had_global_flag = { flag = crusade_called days = 180 } + + any_independent_ruler = { + religion = catholic + NOT = { + any_war = { + using_cb = crusade + } + } + crusade_target = { + holder_scope = { + NOT = { reverse_has_truce = PREVPREV } + } + } + rightful_religious_head_scope = { + character = ROOT + } + NOT = { excommunicated_for = ROOT } + NOT = { + reverse_has_opinion_modifier = { + who = ROOT + modifier = opinion_not_participating_in_crusade_emperor + } + reverse_has_opinion_modifier = { + who = ROOT + modifier = opinion_not_participating_in_crusade_king + } + reverse_has_opinion_modifier = { + who = ROOT + modifier = opinion_not_participating_in_crusade_duke + } + reverse_has_opinion_modifier = { + who = ROOT + modifier = opinion_not_participating_in_crusade_count + } + } + NOT = { + any_realm_province = { + any_neighbor_province = { + has_owner = yes + NOT = { religion_group = christian } + } + } + } + NOT = { mercenary = yes } + } + } + + mean_time_to_happen = { + months = 6 + + modifier = { + factor = 0.5 + trait = zealous + } + } + + option = { + name = "EVTOPTA8400" + random_independent_ruler = { + limit = { + religion = catholic + NOT = { + any_war = { + using_cb = crusade + } + } + crusade_target = { + holder_scope = { + NOT = { reverse_has_truce = PREVPREV } + } + } + rightful_religious_head_scope = { + character = ROOT + } + NOT = { excommunicated_for = ROOT } + NOT = { + reverse_has_opinion_modifier = { + who = ROOT + modifier = opinion_not_participating_in_crusade_emperor + } + reverse_has_opinion_modifier = { + who = ROOT + modifier = opinion_not_participating_in_crusade_king + } + reverse_has_opinion_modifier = { + who = ROOT + modifier = opinion_not_participating_in_crusade_duke + } + reverse_has_opinion_modifier = { + who = ROOT + modifier = opinion_not_participating_in_crusade_count + } + } + NOT = { + any_realm_province = { + any_neighbor_province = { + has_owner = yes + NOT = { religion_group = christian } + } + } + } + NOT = { mercenary = yes } + } + letter_event = { id = 8405 days = 1 } + } + } +} + +# Pope shares his concerns +letter_event = { + id = 8405 + desc = "EVTDESC8405" + + is_triggered_only = yes + + option = { + name = "EVTOPTA8405" + trigger = { primary_title = { tier = EMPEROR } } + religion_head = { + opinion = { + modifier = opinion_not_participating_in_crusade_emperor + who = ROOT + years = 10 + } + } + } + option = { + name = "EVTOPTA8405" + trigger = { primary_title = { tier = KING } } + religion_head = { + opinion = { + modifier = opinion_not_participating_in_crusade_king + who = ROOT + years = 10 + } + } + } + option = { + name = "EVTOPTA8405" + trigger = { primary_title = { tier = DUKE } } + religion_head = { + opinion = { + modifier = opinion_not_participating_in_crusade_duke + who = ROOT + years = 10 + } + } + } + option = { + name = "EVTOPTA8405" + trigger = { primary_title = { tier = COUNT } } + religion_head = { + opinion = { + modifier = opinion_not_participating_in_crusade_count + who = ROOT + years = 10 + } + } + } + option = { + name = "EVTOPTB8405" + set_character_flag = reminded_about_crusade + } +} + +# Pope is disappointed in the rulers decision to not participate in the crusade +character_event = { + id = 8410 + desc = "EVTDESC8410" + picture = GFX_evt_pope + border = GFX_event_normal_frame_religion + + only_playable = yes + religion = catholic + only_men = yes + only_capable = yes + min_age = 16 + prisoner = no + + trigger = { + controls_religion = yes + has_called_crusade = yes + had_global_flag = { flag = crusade_called days = 180 } + + any_independent_ruler = { + had_character_flag = { flag = reminded_about_crusade days = 30 } + religion = catholic + NOT = { + any_war = { + using_cb = crusade + } + } + crusade_target = { + holder_scope = { + NOT = { reverse_has_truce = PREVPREV } + } + } + rightful_religious_head_scope = { + character = ROOT + } + NOT = { excommunicated_for = ROOT } + } + } + + mean_time_to_happen = { + months = 6 + + modifier = { + factor = 0.5 + trait = zealous + } + } + + option = { + name = "EVTOPTA8410" + random_independent_ruler = { + limit = { + had_character_flag = { flag = reminded_about_crusade days = 30 } + religion = catholic + NOT = { + any_war = { + using_cb = crusade + } + } + crusade_target = { + holder_scope = { + NOT = { reverse_has_truce = PREVPREV } + } + } + rightful_religious_head_scope = { + character = ROOT + } + NOT = { excommunicated_for = ROOT } + } + clr_character_flag = reminded_about_crusade + letter_event = { id = 8415 days = 1 } + } + } +} + +# Pope shares his disappointment +letter_event = { + id = 8415 + desc = "EVTDESC8415" + + is_triggered_only = yes + + option = { + name = "EVTOPTA8415" + trigger = { primary_title = { tier = EMPEROR } } + religion_head = { + opinion = { + modifier = opinion_not_participating_in_crusade_emperor + who = ROOT + years = 10 + } + } + } + option = { + name = "EVTOPTA8415" + trigger = { primary_title = { tier = KING } } + religion_head = { + opinion = { + modifier = opinion_not_participating_in_crusade_king + who = ROOT + years = 10 + } + } + } + option = { + name = "EVTOPTA8415" + trigger = { primary_title = { tier = DUKE } } + religion_head = { + opinion = { + modifier = opinion_not_participating_in_crusade_duke + who = ROOT + years = 10 + } + } + } + option = { + name = "EVTOPTA8415" + trigger = { primary_title = { tier = COUNT } } + religion_head = { + opinion = { + modifier = opinion_not_participating_in_crusade_count + who = ROOT + years = 10 + } + } + } +} + + +### Bishop Disappointed ### + +# Bishop is concerned that an independent ruler is not participating in crusade +character_event = { + id = 8420 + desc = "EVTDESC8420" + picture = GFX_evt_bishop + border = GFX_event_normal_frame_religion + + only_men = yes + min_age = 16 + capable_only = yes + only_rulers = yes + prisoner = no + religion = catholic + + trigger = { + has_called_crusade = yes + had_global_flag = { flag = crusade_called days = 180 } + NOT = { has_character_flag = no_complains_about_not_crusading } + is_priest = yes + independent = no + controls_religion = no + + liege = { + independent = yes + religion = catholic + prisoner = no + NOT = { primary_title = { tier = COUNT } } # Exclude small rulers + NOT = { + any_war = { + using_cb = crusade + any_attacker = { character = PREVPREV } + } + } + crusade_target = { + holder_scope = { + NOT = { reverse_has_truce = PREVPREV } + } + } + religion_head = { + PREV = { + rightful_religious_head_scope = { + character = PREVPREV + } + NOT = { excommunicated_for = PREV } + } + } + NOT = { + reverse_has_opinion_modifier = { + who = ROOT + modifier = opinion_not_participating_in_crusade_bishop + } + } + NOT = { + any_realm_province = { + any_neighbor_province = { + has_owner = yes + NOT = { religion_group = christian } + } + } + } + } + } + + mean_time_to_happen = { + months = 120 + + modifier = { + factor = 0.90 + trait = detached_priest + } + modifier = { + factor = 0.85 + trait = martial_cleric + } + modifier = { + factor = 0.80 + trait = scholarly_theologian + } + modifier = { + factor = 0.75 + trait = mastermind_theologian + } + modifier = { + factor = 0.5 + trait = crusader + } + modifier = { + factor = 0.75 + is_strong_trigger = yes + } + modifier = { + factor = 0.75 + trait = brave + } + modifier = { + factor = 0.5 + trait = zealous + } + modifier = { + factor = 1.25 + trait = content + } + modifier = { + factor = 1.25 + is_weak_trigger = yes + } + modifier = { + factor = 1.25 + trait = craven + } + modifier = { + factor = 1.25 + trait = cynical + } + } + + option = { + name = "EVTOPTA8420" + ai_chance = { factor = 100 } + set_character_flag = bishop_complains_about_not_crusading + liege = { letter_event = { id = 8425 days = 1 } } + } + option = { + name = "EVTOPTB8420" + set_character_flag = no_complains_about_not_crusading + } +} + +# Bishop shares his concerns +letter_event = { + id = 8425 + desc = "EVTDESC8425" + + is_triggered_only = yes + + option = { + name = "EVTOPTA8425" + FROM = { + opinion = { + modifier = opinion_not_participating_in_crusade_bishop + who = ROOT + years = 10 + } + } + FROM = { clr_character_flag = bishop_complains_about_not_crusading } + } + option = { + name = "EVTOPTB8425" + FROM = { set_character_flag = reminded_about_crusade } + } +} + +# Bishop is disappointed in the rulers decision to not participate in the crusade +character_event = { + id = 8430 + desc = "EVTDESC8430" + picture = GFX_evt_bishop + border = GFX_event_normal_frame_religion + + only_rulers = yes + has_character_flag = bishop_complains_about_not_crusading + + trigger = { + had_character_flag = { flag = reminded_about_crusade days = 30 } + liege = { + NOT = { + any_war = { + using_cb = crusade + } + } + crusade_target = { + holder_scope = { + NOT = { reverse_has_truce = PREVPREV } + } + } + religion_head = { + PREV = { + rightful_religious_head_scope = { + character = PREVPREV + } + NOT = { excommunicated_for = PREV } + } + } + } + } + + mean_time_to_happen = { + months = 3 + } + + option = { + name = "EVTOPTA8430" + clr_character_flag = bishop_complains_about_not_crusading + clr_character_flag = reminded_about_crusade + liege = { letter_event = { id = 8435 days = 1 } } + } +} + +# Bishop shares his disappointment +letter_event = { + id = 8435 + desc = "EVTDESC8435" + + is_triggered_only = yes + + option = { + name = "EVTOPTA8435" + FROM = { + opinion = { + modifier = opinion_not_participating_in_crusade_emperor + who = ROOT + years = 10 + } + } + } +} + + +### Vassal Disappointed ### + +# Vassal is concerned that an independent ruler is not participating in crusade +character_event = { + id = 8440 + desc = "EVTDESC8440" + picture = GFX_evt_emissary + + only_rulers = yes + min_age = 16 + capable_only = yes + prisoner = no + religion = catholic + + trigger = { + has_called_crusade = yes + had_global_flag = { flag = crusade_called days = 180 } + NOT = { has_character_flag = no_complains_about_not_crusading } + independent = no + controls_religion = no + + liege = { + independent = yes + religion = catholic + prisoner = no + NOT = { primary_title = { tier = COUNT } } # Exclude small rulers + NOT = { + any_war = { + using_cb = crusade + any_attacker = { character = PREVPREV } + } + } + crusade_target = { + holder_scope = { + NOT = { reverse_has_truce = PREVPREV } + } + } + religion_head = { + PREV = { + rightful_religious_head_scope = { + character = PREVPREV + } + NOT = { excommunicated_for = PREV } + } + } + NOT = { + reverse_has_opinion_modifier = { + who = ROOT + modifier = opinion_not_participating_in_crusade_vassal + } + } + NOT = { + any_realm_province = { + any_neighbor_province = { + has_owner = yes + NOT = { religion_group = christian } + } + } + } + } + } + + mean_time_to_happen = { + months = 120 + + modifier = { + factor = 0.90 + trait = misguided_warrior + } + modifier = { + factor = 0.85 + trait = tough_soldier + } + modifier = { + factor = 0.80 + trait = skilled_tactician + } + modifier = { + factor = 0.75 + trait = brilliant_strategist + } + modifier = { + factor = 0.5 + trait = crusader + } + modifier = { + factor = 0.75 + is_strong_trigger = yes + } + modifier = { + factor = 0.75 + trait = brave + } + modifier = { + factor = 0.5 + trait = zealous + } + modifier = { + factor = 1.25 + trait = content + } + modifier = { + factor = 1.25 + is_weak_trigger = yes + } + modifier = { + factor = 1.25 + trait = craven + } + modifier = { + factor = 1.25 + trait = cynical + } + } + + option = { + name = "EVTOPTA8440" + ai_chance = { factor = 100 } + set_character_flag = vassal_complains_about_not_crusading + liege = { letter_event = { id = 8445 days = 1 } } + } + option = { + name = "EVTOPTB8440" + set_character_flag = no_complains_about_not_crusading + } +} + +# Vassal shares his concerns +letter_event = { + id = 8445 + desc = "EVTDESC8445" + + is_triggered_only = yes + + option = { + name = "EVTOPTA8445" + FROM = { + opinion = { + modifier = opinion_not_participating_in_crusade_vassal + who = ROOT + years = 10 + } + } + FROM = { clr_character_flag = vassal_complains_about_not_crusading } + } + option = { + name = "EVTOPTB8445" + FROM = { set_character_flag = reminded_about_crusade } + } +} + +# Vassal is disappointed in the rulers decision to not participate in the crusade +character_event = { + id = 8450 + desc = "EVTDESC8450" + picture = GFX_evt_emissary + + only_rulers = yes + has_character_flag = vassal_complains_about_not_crusading + + trigger = { + had_character_flag = { flag = reminded_about_crusade days = 30 } + liege = { + NOT = { + any_war = { + using_cb = crusade + } + } + crusade_target = { + holder_scope = { + NOT = { reverse_has_truce = PREVPREV } + } + } + religion_head = { + PREV = { + rightful_religious_head_scope = { + character = PREVPREV + } + NOT = { excommunicated_for = PREV } + } + } + } + } + + mean_time_to_happen = { + months = 3 + } + + option = { + name = "EVTOPTA8450" + clr_character_flag = vassal_complains_about_not_crusading + clr_character_flag = reminded_about_crusade + liege = { letter_event = { id = 8455 days = 1 } } + } +} + +# Vassal shares his disappointment +letter_event = { + id = 8455 + desc = "EVTDESC8455" + + is_triggered_only = yes + + option = { + name = "EVTOPTA8455" + FROM = { + opinion = { + modifier = opinion_not_participating_in_crusade_vassal + who = ROOT + years = 10 + } + } + } +} + + +######################################## +# Excommunicated (Player only) +######################################## + + +### Pope Offer to Forgive Excommunicated ### + +# Pope finds an excommunicated catholic +character_event = { + id = 8460 + desc = "EVTDESC8460" + picture = GFX_evt_pope + border = GFX_event_normal_frame_religion + + only_playable = yes + religion = catholic + only_men = yes + min_age = 16 + capable_only = yes + prisoner = no + + trigger = { + controls_religion = yes + has_called_crusade = yes + + OR = { + any_independent_ruler = { + ai = no # Only for players + religion = catholic + prisoner = no + NOT = { + any_war = { + using_cb = crusade + any_attacker = { character = PREVPREV } + } + } + crusade_target = { + holder_scope = { + NOT = { reverse_has_truce = PREVPREV } + } + } + excommunicated_for = ROOT + NOT = { has_character_flag = offered_revoked_excommunication } + NOT = { + any_realm_province = { + any_neighbor_province = { + has_owner = yes + NOT = { religion = catholic } + } + } + } + } + any_independent_ruler = { + religion = catholic + any_realm_lord = { + ai = no + religion = catholic + prisoner = no + NOT = { + any_war = { + using_cb = crusade + any_attacker = { character = PREVPREV } + } + } + crusade_target = { + holder_scope = { + NOT = { reverse_has_truce = PREVPREV } + } + } + excommunicated_for = ROOT + NOT = { has_character_flag = offered_revoked_excommunication } + NOT = { + any_realm_province = { + any_neighbor_province = { + has_owner = yes + NOT = { religion_group = christian } + } + } + } + } + } + } + } + + mean_time_to_happen = { + months = 3 + } + + option = { + name = "EVTOPTA8460" + any_independent_ruler = { + limit = { + ai = no # Only for players + religion = catholic + prisoner = no + NOT = { + any_war = { + using_cb = crusade + } + } + crusade_target = { + holder_scope = { + NOT = { reverse_has_truce = PREVPREV } + } + } + excommunicated_for = ROOT + NOT = { has_character_flag = offered_revoked_excommunication } + NOT = { + any_realm_province = { + any_neighbor_province = { + has_owner = yes + NOT = { religion_group = christian } + } + } + } + } + set_character_flag = offered_revoked_excommunication + letter_event = { id = 8465 days = 1 } + } + any_independent_ruler = { + limit = { + religion = catholic + } + any_realm_lord = { + limit = { + ai = no + religion = catholic + prisoner = no + NOT = { + any_war = { + using_cb = crusade + } + } + crusade_target = { + holder_scope = { + NOT = { reverse_has_truce = PREVPREV } + } + } + excommunicated_for = ROOT + NOT = { has_character_flag = offered_revoked_excommunication } + NOT = { + any_realm_province = { + any_neighbor_province = { + has_owner = yes + NOT = { religion_group = christian } + } + } + } + } + set_character_flag = offered_revoked_excommunication + letter_event = { id = 8465 days = 1 } + } + } + } +} + +# Pope sends his offer +letter_event = { + id = 8465 + desc = "EVTDESC8465" + + is_triggered_only = yes + + option = { + name = "EVTOPTA8465" + ai_chance = { factor = 100 } + } + option = { + name = "EVTOPTB8465" + ai_chance = { factor = 0 } + } +} + +# Pope lifts Excommunication +character_event = { + id = 8466 + desc = "EVTDESC8466" + picture = GFX_evt_pope + border = GFX_event_normal_frame_religion + + only_playable = yes + religion = catholic + only_men = yes + min_age = 16 + capable_only = yes + prisoner = no + + trigger = { + controls_religion = yes + has_called_crusade = yes + + OR = { + any_independent_ruler = { + ai = no + religion = catholic + prisoner = no + any_war = { + using_cb = crusade + } + crusade_target = { + holder_scope = { + NOT = { reverse_has_truce = PREVPREV } + } + } + excommunicated_for = ROOT + has_character_flag = offered_revoked_excommunication + } + any_independent_ruler = { + religion = catholic + any_realm_lord = { + ai = no + religion = catholic + prisoner = no + any_war = { + using_cb = crusade + } + crusade_target = { + holder_scope = { + NOT = { reverse_has_truce = PREVPREV } + } + } + excommunicated_for = ROOT + has_character_flag = offered_revoked_excommunication + } + } + } + } + + mean_time_to_happen = { + months = 1 + } + + option = { + name = "EVTOPTA8466" + any_independent_ruler = { + limit = { + ai = no + religion = catholic + prisoner = no + any_war = { + using_cb = crusade + } + crusade_target = { + holder_scope = { + NOT = { reverse_has_truce = PREVPREV } + } + } + excommunicated_for = ROOT + has_character_flag = offered_revoked_excommunication + } + letter_event = { id = 8467 days = 1 } + } + any_independent_ruler = { + limit = { + religion = catholic + } + any_realm_lord = { + limit = { + ai = no + religion = catholic + prisoner = no + any_war = { + using_cb = crusade + } + crusade_target = { + holder_scope = { + NOT = { reverse_has_truce = PREVPREV } + } + } + excommunicated_for = ROOT + has_character_flag = offered_revoked_excommunication + } + letter_event = { id = 8467 days = 1 } + } + } + } +} + +# Pope sends his offer +letter_event = { + id = 8467 + desc = "EVTDESC8467" + + is_triggered_only = yes + + option = { + name = "EXCELLENT" + excommunicate = no + clr_character_flag = offered_revoked_excommunication + } +} + + diff --git a/LCDA/events/culture_conversion_events.txt b/LCDA/events/culture_conversion_events.txt new file mode 100644 index 0000000..d53aa01 --- /dev/null +++ b/LCDA/events/culture_conversion_events.txt @@ -0,0 +1,838 @@ +################################################# +# +# CULTURAL CONVERSION EVENTS +# +################################################# + +# Province culture changes +province_event = { + id = 55000 + desc = "EVTDESC55000" + picture = GFX_evt_culture_change + + trigger = { + owner = { + top_liege = { + culture = PREV + } + NOT = { culture = ROOT } + religion = ROOT + } + any_neighbor_province = { + has_owner = yes + ROOT = { + owner = { + culture = PREVPREV + } + } + owner = { + ROOT = { + owner = { + culture = PREVPREV + } + } + } + NOR = { + has_province_modifier = depopulated_1 + has_province_modifier = depopulated_2 + has_province_modifier = depopulated_3 + } + } + NOT = { # No flipping back to Norse culture before 1150 + AND = { + owner = { culture = norse } + ROOT = { + OR = { + culture = swedish + culture = norwegian + culture = danish + culture = norman + } + } + NOT = { has_global_flag = norse_culture_flipping } + } + } + } + + mean_time_to_happen = { + months = 1200 + + modifier = { + factor = 1.5 + owner = { NOT = { stewardship = 2 } } + } + modifier = { + factor = 1.5 + owner = { NOT = { stewardship = 3 } } + } + modifier = { + factor = 1.5 + owner = { NOT = { stewardship = 4 } } + } + modifier = { + factor = 1.5 + owner = { NOT = { stewardship = 5 } } + } + modifier = { + factor = 0.75 + owner = { stewardship = 9 } + } + modifier = { + factor = 0.75 + owner = { stewardship = 11 } + } + modifier = { + factor = 0.75 + owner = { stewardship = 13 } + } + modifier = { + factor = 0.75 + owner = { stewardship = 15 } + } + modifier = { + factor = 0.95 + owner = { + job_treasurer = { + NOT = { + stewardship = 10 + } + has_job_action = action_administer_realm + } + } + } + modifier = { + factor = 0.75 + owner = { + job_treasurer = { + stewardship = 10 + has_job_action = action_administer_realm + } + } + } + modifier = { + factor = 0.75 + owner = { + OR = { + primary_title = { + conquest_culture = PREV + } + ROOT = { + county = { + conquest_culture = PREVPREV + } + } + ROOT = { + duchy = { + holder_scope = { + character = PREVPREVPREV + } + conquest_culture = PREVPREV + } + } + ROOT = { + kingdom = { + holder_scope = { + character = PREVPREVPREV + } + conquest_culture = PREVPREV + } + } + ROOT = { + empire = { + holder_scope = { + character = PREVPREVPREV + } + conquest_culture = PREVPREV + } + } + } + } + } + modifier = { + factor = 0.75 + has_province_flag = recent_depopulation_1 + } + modifier = { + factor = 0.5 + has_province_flag = recent_depopulation_2 + } + modifier = { + factor = 0.25 + has_province_flag = recent_depopulation_3 + } + modifier = { + factor = 3 + OR = { + has_game_rule = { + name = culture_conversion + value = slower_normal + } + has_game_rule = { + name = culture_conversion + value = faster_melting_pots_and_slower_normal + } + } + } + } + + option = { + name = "EVTOPTA55000" + owner = { + ROOT = { + culture = PREV + if = { + limit = { + has_province_modifier = nomad_agitation + } + remove_province_modifier = nomad_agitation + } + } + } + } +} + +# Bring in some settlers +province_event = { + id = 55001 + desc = "EVTDESC55001" + picture = GFX_evt_culture_change + + trigger = { + + OR = { + port = yes + NOR = { + has_game_rule = { + name = culture_conversion + value = restricted + } + has_game_rule = { + name = culture_conversion + value = faster_melting_pots_and_slower_normal + } + } + } + + owner = { + top_liege = { + culture = PREV + } + NOT = { culture = ROOT } + capital_scope = { + province_id = ROOT + } + + OR = { + primary_title = { + conquest_culture = PREV + } + ROOT = { + county = { + conquest_culture = PREVPREV + } + } + ROOT = { + duchy = { + holder_scope = { + character = PREVPREVPREV + } + conquest_culture = PREVPREV + } + } + ROOT = { + kingdom = { + holder_scope = { + character = PREVPREVPREV + } + conquest_culture = PREVPREV + } + } + ROOT = { + empire = { + holder_scope = { + character = PREVPREVPREV + } + conquest_culture = PREVPREV + } + } + } + } + + NOT = { # Exclude provinces covered by event 55000 + any_neighbor_province = { + has_owner = yes + ROOT = { + owner = { + culture = PREVPREV + } + } + owner = { + ROOT = { + owner = { + culture = PREVPREV + } + } + } + NOR = { + has_province_modifier = depopulated_1 + has_province_modifier = depopulated_2 + has_province_modifier = depopulated_3 + } + } + } + + NOT = { # No flipping back to Norse culture before 1150 + AND = { + owner = { culture = norse } + ROOT = { + OR = { + culture = swedish + culture = norwegian + culture = danish + culture = norman + } + } + NOT = { has_global_flag = norse_culture_flipping } + } + } + } + + mean_time_to_happen = { + months = 1200 + + modifier = { + factor = 1.5 + owner = { NOT = { stewardship = 2 } } + } + modifier = { + factor = 1.5 + owner = { NOT = { stewardship = 3 } } + } + modifier = { + factor = 1.5 + owner = { NOT = { stewardship = 4 } } + } + modifier = { + factor = 1.5 + owner = { NOT = { stewardship = 5 } } + } + modifier = { + factor = 0.95 + owner = { + job_treasurer = { + NOT = { + stewardship = 10 + } + has_job_action = action_administer_realm + } + } + } + modifier = { + factor = 0.75 + owner = { + job_treasurer = { + stewardship = 10 + has_job_action = action_administer_realm + } + } + } + modifier = { + factor = 0.75 + owner = { stewardship = 9 } + } + modifier = { + factor = 0.75 + owner = { stewardship = 11 } + } + modifier = { + factor = 0.75 + owner = { stewardship = 13 } + } + modifier = { + factor = 0.75 + owner = { stewardship = 15 } + } + modifier = { + factor = 0.75 + has_province_flag = recent_depopulation_1 + } + modifier = { + factor = 0.5 + has_province_flag = recent_depopulation_2 + } + modifier = { + factor = 0.25 + has_province_flag = recent_depopulation_3 + } + modifier = { + factor = 0.5 # Altaic nomad steppe bonus vs non-Altaics + owner = { + culture_group = altaic + } + OR = { + owner = { + is_capital = ROOT + } + AND = { + NOT = { culture_group = altaic } + terrain = steppe + } + } + } + modifier = { + factor = 3 + OR = { + has_game_rule = { + name = culture_conversion + value = slower_normal + } + has_game_rule = { + name = culture_conversion + value = faster_melting_pots_and_slower_normal + } + } + } + } + + option = { + name = "EVTOPTA55001" + owner = { + ROOT = { + culture = PREV + if = { + limit = { + NOT = { religion = PREV } + } + religion = PREV + } + if = { + limit = { + has_province_modifier = nomad_agitation + } + remove_province_modifier = nomad_agitation + } + } + } + } +} + +# The English Melting Pot +character_event = { + id = 55002 + desc = "EVTDESC55002" + picture = GFX_evt_stone_church + + only_playable = yes + culture = norman + + trigger = { + year = 1100 + any_demesne_province = { + region = custom_england + culture = saxon + any_province_holding = { + NOT = { holding_type = nomad } + } + } + } + + mean_time_to_happen = { + months = 1200 + modifier = { + factor = 0.75 + learning = 7 + } + modifier = { + factor = 0.75 + learning = 9 + } + modifier = { + factor = 0.75 + learning = 11 + } + modifier = { + factor = 0.75 + learning = 13 + } + modifier = { + factor = 1.5 + NOT = { learning = 5 } + } + modifier = { + factor = 1.5 + NOT = { learning = 3 } + } + modifier = { + factor = 2.0 + NOT = { learning = 1 } + } + modifier = { + factor = 0.3 + OR = { + has_game_rule = { + name = culture_conversion + value = faster_melting_pots + } + has_game_rule = { + name = culture_conversion + value = faster_melting_pots_and_slower_normal + } + } + } + } + + option = { + name = "EVTOPTA55002" + culture = english + random_demesne_province = { + limit = { + region = custom_england + culture = saxon + any_province_holding = { + NOT = { holding_type = nomad } + } + } + culture = english + } + } +} + +# It's spreading +character_event = { + id = 55003 + desc = "EVTDESC55003" + picture = GFX_evt_stone_church + + only_playable = yes + culture = english + + trigger = { + year = 1100 + any_demesne_province = { + region = custom_england + OR = { + culture = saxon + culture = norman + } + any_province_holding = { + NOT = { holding_type = nomad } + } + } + } + + mean_time_to_happen = { + months = 720 + modifier = { + factor = 0.3 + OR = { + has_game_rule = { + name = culture_conversion + value = faster_melting_pots + } + has_game_rule = { + name = culture_conversion + value = faster_melting_pots_and_slower_normal + } + } + } + } + + option = { + name = "EVTOPTA55003" + random_demesne_province = { + limit = { + region = custom_england + OR = { + culture = saxon + culture = norman + } + any_province_holding = { + NOT = { holding_type = nomad } + } + } + culture = english + } + } +} + +#Make my court speak English +character_event = { + id = 55004 + desc = "EVTDESC55004" + picture = GFX_evt_throne_room + + only_rulers = yes + culture = english + + trigger = { + year = 1100 + top_liege = { + primary_title = { + OR = { + title = k_england + title = e_britannia + } + } + } + any_courtier = { + OR = { + culture = saxon + culture = norman + } + } + } + + mean_time_to_happen = { + months = 120 + modifier = { + factor = 0.3 + OR = { + has_game_rule = { + name = culture_conversion + value = faster_melting_pots + } + has_game_rule = { + name = culture_conversion + value = faster_melting_pots_and_slower_normal + } + } + } + } + + option = { + name = "EVTOPTA55004" + random_courtier = { + limit = { + OR = { + culture = saxon + culture = norman + } + } + culture = english + hidden_tooltip = { + character_event = { id = 55006 days = 3 } + } + } + } +} + +#Make my vassal speak English +character_event = { + id = 55005 + desc = "EVTDESC55005" + picture = GFX_evt_throne_room + + only_playable = yes + culture = english + + trigger = { + year = 1100 + independent = no + top_liege = { + primary_title = { + OR = { + title = k_england + title = e_britannia + } + } + } + any_vassal = { + OR = { + culture = saxon + culture = norman + } + } + } + + mean_time_to_happen = { + months = 720 + modifier = { + factor = 0.3 + OR = { + has_game_rule = { + name = culture_conversion + value = faster_melting_pots + } + has_game_rule = { + name = culture_conversion + value = faster_melting_pots_and_slower_normal + } + } + } + } + + option = { + name = "EVTOPTA55005" + random_vassal = { + limit = { + OR = { + culture = saxon + culture = norman + } + } + culture = english + hidden_tooltip = { + character_event = { id = 55006 days = 3 } + } + } + } +} + +character_event = { + id = 55006 + desc = "EVTDESC55006" + picture = GFX_evt_throne_room + + is_triggered_only = yes + + option = { + name = "EVTOPTA55006" + culture = english + } +} + + +# A ruler is assimilated by the local culture +character_event = { + id = 55010 + desc = "EVTDESC55010" + picture = GFX_evt_stone_church + + only_rulers = yes + min_age = 16 + capable_only = yes + prisoner = no + lacks_dlc = "Rajas of India" # Controlled by Decision: convert_to_local_culture + + trigger = { + NOT = { government = nomadic_government } + primary_title = { + NOT = { conquest_culture = ROOT } + NOT = { culture = ROOT } + any_previous_holder = { + NOT = { character = ROOT } # The first holder of a title does not convert + } + } + capital_scope = { + NOT = { culture = ROOT } + OR = { + NOT = { culture = saxon } + NOT = { ROOT = { culture = norman } } + } + + OR = { # Not when Norman culture should appear + ROOT = { NOT = { culture = norse } } + AND = { + NOT = { culture = frankish } + NOT = { culture = breton } + NOT = { culture = occitan } + } + NOT = { has_dlc = "The Old Gods" } + } + } + top_liege = { + OR = { + character = ROOT + ROOT = { + capital_scope = { + culture = PREVPREV + } + } + } + } + } + + mean_time_to_happen = { + months = 1200 + modifier = { + factor = 0.5 + top_liege = { + NOT = { character = ROOT } + ROOT = { + capital_scope = { + culture = PREVPREV + } + } + } + } + modifier = { + factor = 0.5 + primary_title = { + ROOT = { + capital_scope = { + culture = PREVPREV + } + } + } + } + modifier = { + factor = 2.0 + capital_scope = { + culture_group = ROOT # Same culture group: slower assimilation + } + } + } + + option = { + name = "EVTOPTA55010" + + # Piss off the appropriate vassals + any_vassal = { + limit = { + culture = ROOT + age = 16 + } + opinion = { + who = ROOT + modifier = opinion_adopted_foreign_ways + years = 10 + } + hidden_tooltip = { character_event = { id = 55011 days = 0 } } + } + + capital_scope = { + reverse_culture = ROOT + } + } + + option = { + name = "EVTOPTB55010" + ai_chance = { + factor = 0 + } + } +} + + +character_event = { + id = 55011 + desc = "EVTDESC55011" + picture = GFX_evt_scandal + + is_triggered_only = yes + + option = { + name = "EVTOPTA55011" + tooltip = { + opinion = { + who = FROM + modifier = opinion_adopted_foreign_ways + years = 10 + } + } + } +} + +character_event = { + id = 55100 + desc = EVTDESC55100 + picture = GFX_evt_courier + + notification = yes + + is_triggered_only = yes + + option = { + name = OK + } +} diff --git a/LCDA/events/game_rule_events.txt b/LCDA/events/game_rule_events.txt new file mode 100644 index 0000000..2145a8a --- /dev/null +++ b/LCDA/events/game_rule_events.txt @@ -0,0 +1,352 @@ +#################### +# Game Rule Events # +#################### + +namespace = GR + +# Remove Titles without De Jure land +character_event = { + id = GR.1 + desc = EVTDESC_GR_1 + picture = GFX_evt_throne_room + + is_triggered_only = yes + + only_playable = yes + war = no + + trigger = { + is_merchant_republic = no + any_demesne_title = { + higher_tier_than = COUNT + is_titular = no + is_landless_type_title = no + NOR = { + title = k_papal_state + title = k_orthodox + } + NOT = { + ROOT = { + any_realm_title = { + tier = COUNT + any_dejure_liege = { title = PREVPREVPREV } + } + } + } + } + has_game_rule = { + name = de_jure_requirement + value = required + } + } + + immediate = { + random_demesne_title = { + limit = { + higher_tier_than = COUNT + is_titular = no + is_landless_type_title = no + NOR = { + title = k_papal_state + title = k_orthodox + } + NOT = { + ROOT = { + any_realm_title = { + tier = COUNT + any_dejure_liege = { title = PREVPREVPREV } + } + } + } + } + save_event_target_as = title_to_destroy + } + } + + option = { + name = EVTOPTA_GR_1 + event_target:title_to_destroy = { + destroy_landed_title = THIS + add_claim = ROOT + } + } +} + +# Nomad Realm Instability +character_event = { + id = GR.10 + hide_window = yes + + only_playable = yes + + is_triggered_only = yes + + trigger = { + has_dlc = "Horse Lords" + independent = yes + is_nomadic = yes + NOT = { + has_game_rule = { + name = nomad_stability + value = stable + } + } + } + + immediate = { + current_heir = { + save_event_target_as = nomadic_heir + } + any_vassal = { + character_event = { id = GR.11 } + } + } +} + +character_event = { + id = GR.11 + desc = EVTDESC_GR_11 + picture = GFX_evt_horsemanship + + only_playable = yes + capable_only = yes + prisoner = no + min_age = 16 + + is_triggered_only = yes + + trigger = { + has_dlc = "Horse Lords" + liege = { + independent = yes + is_nomadic = yes + in_revolt = no + } + in_revolt = no + independent = no + } + + option = { + name = EVTOPTA_GR_11 # Remain a vassal + ai_chance = { + factor = 100 + modifier = { + factor = 2 + opinion = { + who = FROM + value = 25 + } + } + modifier = { + factor = 2 + opinion = { + who = FROM + value = 50 + } + } + modifier = { + factor = 2 + opinion = { + who = FROM + value = 75 + } + } + modifier = { + factor = 2 + opinion = { + who = FROM + value = 100 + } + } + modifier = { + factor = 2 + liege = { + NOT = { + realm_size = 50 + } + } + } + modifier = { + factor = 3 + is_nomadic = yes + } + modifier = { + factor = 10 + liege = { + has_landed_title = e_mongol_empire + } + } + modifier = { + factor = 4 + trait = content + } + } + } + option = { + name = EVTOPTB_GR_11 # Go independent + + ai_chance = { + factor = 50 + modifier = { + factor = 0 + clan = yes + OR = { + has_blood_oath_with = FROM + is_friend = FROM + } + } + modifier = { + factor = 2 + clan = yes + OR = { + has_feud_with = FROM + is_rival = FROM + } + } + modifier = { + factor = 2 + NOT = { + opinion = { + who = FROM + value = -25 + } + } + } + modifier = { + factor = 2 + NOT = { + opinion = { + who = FROM + value = -50 + } + } + } + modifier = { + factor = 2 + NOT = { + opinion = { + who = FROM + value = -75 + } + } + } + modifier = { + factor = 2 + NOT = { + opinion = { + who = FROM + value = -100 + } + } + } + modifier = { + factor = 2 + trait = ambitious + } + } + + hidden_tooltip = { + event_target:nomadic_heir = { character_event = { id = GR.12 days = 1 } } + } + + if = { + limit = { + is_nomadic = yes + } + any_demesne_title = { + limit = { + tier = count + } + add_claim = event_target:nomadic_heir + } + } + + if = { + limit = { + is_nomadic = no + } + reverse_opinion = { + who = event_target:nomadic_heir + modifier = declared_independence_nomad + years = 50 + } + hidden_tooltip = { + any_courtier_or_vassal = { + limit = { + dynasty = ROOT + } + reverse_opinion = { + who = event_target:nomadic_heir + modifier = declared_independence_nomad + years = 50 + } + } + } + } + + liege = { + any_vassal = { + limit = { + in_revolt = yes + any_war = { + defender = { character = ROOT } + attacker = { + character = THIS + } + } + } + set_defacto_liege = THIS + } + } + + set_defacto_liege = THIS + } +} + +# The liege is notified of the independence +character_event = { + id = GR.12 + desc = EVTDESC_GR_12 + picture = GFX_evt_emissary + + is_triggered_only = yes + + notification = yes + + option = { + name = EVTOPTA_GR_12 + } + +} + +#True cognatic for gender quality rule +character_event = { + id = GR.13 + hide_window = yes + + ai = no + only_playable = yes + + is_triggered_only = yes + + trigger = { + has_game_rule = { name = gender value = all } + is_multiplayer_host_character = yes + is_save_game = no + } + + immediate = { + any_title = { + limit = { owner = { is_republic = no } } + add_law = { + law = true_cognatic_succession + cooldown = no + opinion_effect = no + } + } + } +} + + + + diff --git a/LCDA/events/hashshashin_order_events.txt b/LCDA/events/hashshashin_order_events.txt new file mode 100644 index 0000000..0563415 --- /dev/null +++ b/LCDA/events/hashshashin_order_events.txt @@ -0,0 +1,1233 @@ +############################################ +# +# Hashshashin Order Events +# +# Event ID 88000 - 88249 is reserved +# +# By Henrik Eklund +# +############################################ + +##################################### +# The Order is created/destroyed... # +##################################### + +# Birth of the Assassins +narrative_event = { + id = 88000 + title = "EVTNAME88000" + picture = GFX_evt_assassination + + desc = { + trigger = { NOT = { society_member_of = the_assassins } } + text = EVTDESC88000 + } + desc = { + trigger = { society_member_of = the_assassins } + text = EVTDESC88000_ASSASSIN + } + + major = yes + + hide_from = yes + + only_playable = yes + min_age = 16 + religion = shiite + + trigger = { + year = 1089 + religion = shiite + #is_heretic = no + NOT = { + has_global_flag = assassins_founded + has_global_flag = assassins_destroyed + } + b_alamut = { + has_holder = no + } + 665 = { # Dailam + NOR = { + num_of_settlements = 6 + AND = { + num_of_settlements = 5 + has_settlement_construction = yes + } + } + } + } + + mean_time_to_happen = { + months = 6 + } + + immediate = { + set_global_flag = assassins_founded + activate_title = { title = d_hashshashin status = yes } + create_character = { + random_traits = no + name = "Hassan" + dynasty = random + religion = ROOT + culture = persian + female = no + age = 40 + attributes = { + martial = 6 + diplomacy = 8 + stewardship = 9 + intrigue = 12 + learning = 12 + } + health = 6 + fertility = 0.8 + trait = elusive_shadow + trait = patient + trait = zealous + trait = scholar + trait = chaste + trait = temperate + } + new_character = { + if = { + limit = { has_dlc = "Mystics" } + character_event = { id = MNM.6990 days = 1 } + } + set_character_flag = hassan_the_assassin + wealth = 500 + d_hashshashin = { + grant_title = PREV + } + set_government_type = feudal_government + 665 = { # Dailam + build_holding = { + title = b_alamut + type = temple + holder = PREV + } + } + create_character = { + random_traits = yes + dynasty = NONE + religion = ROOT + culture = persian + female = no + age = 16 + } + create_character = { + random_traits = yes + dynasty = NONE + religion = ROOT + culture = persian + female = no + age = 18 + } + create_character = { + random_traits = yes + dynasty = NONE + religion = ROOT + culture = persian + female = no + age = 18 + } + create_character = { + random_traits = yes + dynasty = NONE + religion = ROOT + culture = persian + female = no + age = 20 + } + create_character = { + random_traits = yes + dynasty = NONE + religion = ROOT + culture = persian + female = no + age = 25 + } + create_character = { + random_traits = yes + dynasty = NONE + religion = ROOT + culture = persian + female = no + age = 26 + } + create_character = { + random_traits = yes + dynasty = NONE + religion = ROOT + culture = persian + female = no + age = 28 + } + create_character = { + random_traits = yes + dynasty = NONE + religion = ROOT + culture = persian + female = yes + age = 16 + } + create_character = { + random_traits = yes + dynasty = NONE + religion = ROOT + culture = persian + female = yes + age = 17 + } + create_character = { + random_traits = yes + dynasty = NONE + religion = ROOT + culture = persian + female = yes + age = 18 + } + create_character = { + random_traits = yes + dynasty = NONE + religion = ROOT + culture = persian + female = yes + age = 18 + } + create_character = { + random_traits = yes + dynasty = NONE + religion = ROOT + culture = persian + female = yes + age = 20 + } + } + } + + + option = { + name = { + text = EVTOPTA88000 + trigger = { NOT = { society_member_of = the_assassins } } + } + name = { + text = EVTOPTA_6028 + trigger = { society_member_of = the_assassins } + } + } +} + +# The Assassins spread to Syria +narrative_event = { + id = 88001 + title = "EVTNAME88001" + major = yes + + picture = GFX_evt_assassination + + desc = { + trigger = { NOT = { society_member_of = the_assassins } } + text = EVTDESC88001 + } + desc = { + trigger = { society_member_of = the_assassins } + text = EVTDESC88001_ASSASSIN + } + + only_playable = yes + religion_group = muslim + has_global_flag = assassins_founded + + trigger = { + year = 1099 + has_landed_title = d_hashshashin + NOT = { + has_global_flag = assassins_syria + has_global_flag = assassins_destroyed + } + b_masyaf = { + has_holder = no + } + 765 = { # Archa + NOR = { + num_of_settlements = 6 + AND = { + num_of_settlements = 5 + has_settlement_construction = yes + } + } + } + } + + mean_time_to_happen = { + months = 6 + } + + option = { + trigger = { has_landed_title = d_hashshashin } + name = "OK" + set_global_flag = assassins_syria + 765 = { # Archa + build_holding = { + title = b_masyaf + type = castle + holder = ROOT + } + } + } + option = { + trigger = { + NOT = { has_landed_title = d_hashshashin } + } + name = { + text = EVTOPTA88001 + trigger = { NOT = { society_member_of = the_assassins } } + } + name = { + text = EVTOPTA_6028 + trigger = { society_member_of = the_assassins } + } + } +} + +# The Assassins scatter! +narrative_event = { + id = 88002 + title = "EVTNAME88002" + picture = "GFX_evt_assassination" + + desc = { + trigger = { NOT = { society_member_of = the_assassins } } + text = EVTDESC88002 + } + desc = { + trigger = { society_member_of = the_assassins } + text = EVTDESC88002_ASSASSIN + } + + major = yes + + only_rulers = yes + religion_group = muslim + has_global_flag = assassins_founded + + trigger = { + has_landed_title = d_hashshashin + NOT = { year = 1200 } + NOT = { demesne_size = 1 } + NOT = { has_global_flag = assassins_destroyed } + OR = { + NOT = { has_global_flag = assassins_scatter } + has_global_flag = assassins_resurface + } + } + + mean_time_to_happen = { + days = 1 + } + + option = { + name = "OK" + trigger = { has_landed_title = d_hashshashin } + set_global_flag = assassins_scatter + activate_title = { title = d_hashshashin status = no } + death = { death_reason = death_battle } + } + option = { + name = { + text = EVTOPTA88002 + trigger = { NOT = { society_member_of = the_assassins } } + } + name = { + text = EVTOPTA88002_ASSASSIN + trigger = { society_member_of = the_assassins } + } + + trigger = { + NOT = { has_landed_title = d_hashshashin } + } + } +} + +# The Assassins resurface! +narrative_event = { + id = 88003 + title = "EVTNAME88003" + picture = "GFX_evt_assassination" + hide_from = yes + + + desc = { + trigger = { NOT = { society_member_of = the_assassins } } + text = EVTDESC88003 + } + desc = { + trigger = { society_member_of = the_assassins } + text = EVTDESC88003_ASSASSIN + } + + major = yes + only_playable = yes + religion = catholic + has_global_flag = assassins_scatter + + trigger = { + year = 1220 + controls_religion = yes # Let it happen for the Pope - he's always around + NOT = { + has_global_flag = assassins_resurface + has_global_flag = assassins_destroyed + } + } + + mean_time_to_happen = { + months = 860 + } + + immediate = { + activate_title = { title = d_hashshashin status = yes } + clr_global_flag = assassins_scatter + set_global_flag = assassins_resurface + hidden_tooltip = { + create_character = { + random_traits = no + name = "Ala ad-Din" + dynasty = random + religion = shiite + culture = persian + female = no + age = 19 + attributes = { + martial = 6 + diplomacy = 9 + stewardship = 8 + intrigue = 9 + learning = 12 + } + health = 6 + fertility = 0.8 + trait = elusive_shadow + trait = patient + trait = zealous + trait = scholar + trait = chaste + trait = temperate + } + } + new_character = { + wealth = 500 + if = { + limit = { has_dlc = "Mystics" } + character_event = { id = MNM.6990 days = 1 } + } + d_hashshashin = { + grant_title = PREV + } + set_government_type = feudal_government + create_character = { + random_traits = yes + dynasty = NONE + religion = shiite + culture = persian + female = no + age = 16 + } + create_character = { + random_traits = yes + dynasty = NONE + religion = shiite + culture = persian + female = no + age = 18 + } + create_character = { + random_traits = yes + dynasty = NONE + religion = shiite + culture = persian + female = no + age = 18 + } + create_character = { + random_traits = yes + dynasty = NONE + religion = shiite + culture = persian + female = no + age = 20 + } + create_character = { + random_traits = yes + dynasty = NONE + religion = shiite + culture = persian + female = no + age = 25 + } + create_character = { + random_traits = yes + dynasty = NONE + religion = shiite + culture = persian + female = no + age = 26 + } + create_character = { + random_traits = yes + dynasty = NONE + religion = shiite + culture = persian + female = no + age = 28 + } + create_character = { + random_traits = yes + dynasty = NONE + religion = shiite + culture = persian + female = yes + age = 16 + } + create_character = { + random_traits = yes + dynasty = NONE + religion = shiite + culture = persian + female = yes + age = 17 + } + create_character = { + random_traits = yes + dynasty = NONE + religion = shiite + culture = persian + female = yes + age = 18 + } + create_character = { + random_traits = yes + dynasty = NONE + religion = shiite + culture = persian + female = yes + age = 18 + } + create_character = { + random_traits = yes + dynasty = NONE + religion = shiite + culture = persian + female = yes + age = 20 + } + random_list = { + 50 = { + b_alamut = { grant_title = PREV } + } + 50 = { + b_masyaf = { grant_title = PREV } + } + } + } + + } + option = { + name = { + text = EVTOPTA88003 + trigger = { NOT = { society_member_of = the_assassins } } + } + name = { + text = EVTOPTA_6028 + trigger = { society_member_of = the_assassins } + } + } +} + +# The Assassins are destroyed! +narrative_event = { + id = 88004 + title = "EVTNAME88004" + picture = "GFX_evt_assassination" + + desc = { + trigger = { NOT = { society_member_of = the_assassins } } + text = EVTDESC88004 + } + desc = { + trigger = { society_member_of = the_assassins } + text = EVTDESC88004_ASSASSIN + } + + major = yes + + + only_rulers = yes + religion_group = muslim + has_global_flag = assassins_founded + + trigger = { + year = 1201 + has_landed_title = d_hashshashin + NOT = { demesne_size = 1 } + NOT = { + has_global_flag = assassins_destroyed + } + } + + mean_time_to_happen = { + days = 1 + } + + option = { + name = "OK" + trigger = { has_landed_title = d_hashshashin } + set_global_flag = assassins_destroyed + activate_title = { title = d_hashshashin status = no } + death = { death_reason = death_battle } + } + option = { + name = { + text = EVTOPTA88004 + trigger = { NOT = { society_member_of = the_assassins } } + } + name = { + text = EVTOPTA_6028 + trigger = { society_member_of = the_assassins } + } + trigger = { + NOT = { has_landed_title = d_hashshashin } + } + } +} + +################################### +# Assassins strike at the Mongols # +################################### + +# Assassins attempt to kill Mongol leader +character_event = { + id = 88005 + hide_window = yes # not optimal but better than an empty event. + + has_global_flag = assassins_founded + + is_triggered_only = yes + + trigger = { + OR = { + NOT = { has_global_flag = assassins_scatter } + has_global_flag = assassins_resurface + } + NOT = { has_global_flag = assassins_destroyed } + NOT = { has_global_flag = mongols_provoke_assassins } + OR = { + has_landed_title = e_il-khanate + has_landed_title = e_golden_horde + any_liege = { has_landed_title = e_il-khanate } + any_liege = { has_landed_title = e_golden_horde } + } + FROM = { + OR = { + title = b_rayy + title = b_kalar + title = b_lambsar + title = b_kirkuk + title = b_baqubah + title = b_gilan + } + } + } + + immediate = { + set_global_flag = mongols_provoke_assassins + if = { + limit = { + OR = { + has_landed_title = e_il-khanate + has_landed_title = e_golden_horde + } + } + random_list = { + 40 = { + character_event = { id = 88006 days = 5 } + } + 60 = { + character_event = { id = 88008 days = 5 } + } + } + } + if = { + limit = { + OR = { + any_liege = { has_landed_title = e_il-khanate } + any_liege = { has_landed_title = e_golden_horde } + } + } + random_list = { + 40 = { + any_liege = { + limit = { + OR = { + has_landed_title = e_il-khanate + has_landed_title = e_golden_horde + } + } + character_event = { id = 88006 days = 5 } + } + } + 60 = { + any_liege = { + limit = { + OR = { + has_landed_title = e_il-khanate + has_landed_title = e_golden_horde + } + } + character_event = { id = 88008 days = 5 } + } + } + } + } + } +} + +# They succeed! +character_event = { + id = 88006 + + hide_window = yes # not optimal but better than an empty event. + + is_triggered_only = yes + + trigger = { + ai = yes + } + + immediate = { + death = { death_reason = death_hashshashin } + narrative_event = { id = 88007 days = 2 } + } +} + +# The Mongol leader is dead! +narrative_event = { + id = 88007 + title = "EVTNAME88007" + desc = "EVTDESC88007" + border = GFX_event_narrative_frame_intrigue + major = yes + + picture = "GFX_evt_shadow" + + is_triggered_only = yes + + option = { + name = "EVTOPTA88007" + } +} + +# They fail! +character_event = { + id = 88008 + hide_window = yes # not optimal but better than an empty event. + + is_triggered_only = yes + + option = { + narrative_event = { id = 88009 days = 2 } + } +} + +# The Mongol leader has survived! +narrative_event = { + id = 88009 + title = "EVTNAME88009" + desc = "EVTDESC88009" + border = GFX_event_narrative_frame_intrigue + major = yes + + picture = "GFX_evt_shadow" + + is_triggered_only = yes + + option = { + name = "EVTOPTA88009" + trigger = { religion_group = muslim } + } + option = { + name = "EVTOPTA88016" + trigger = { + NOT = { religion_group = muslim } + } + } +} + +###################################### +# Assassins strike at decadent ruler # +###################################### + +# Decadent ruler is warned +character_event = { + id = 88010 + desc = "EVTDESC88010" + picture = "GFX_evt_shadow" + border = GFX_event_normal_frame_intrigue + + ai = no + only_playable = yes + only_independent = yes + religion_group = muslim + has_global_flag = assassins_founded + + trigger = { + uses_decadence = yes + decadence = 60 + NOT = { has_character_flag = decadence_warned } + OR = { + NOT = { has_global_flag = assassins_scatter } + has_global_flag = assassins_resurface + } + NOT = { has_global_flag = assassins_destroyed } + NOT = { society_member_of = the_assassins } + } + + mean_time_to_happen = { + months = 160 + } + + option = { + name = "EVTOPTA88010" + set_character_flag = decadence_warned + } +} + +# Assassins kill random courtier +character_event = { + id = 88011 + desc = "EVTDESC88011" + picture = "GFX_evt_shadow" + border = GFX_event_normal_frame_intrigue + + only_playable = yes + only_independent = yes + prisoner = no + min_age = 16 + only_capable = yes + ai = no + religion_group = muslim + has_character_flag = decadence_warned + has_global_flag = assassins_founded + + trigger = { + uses_decadence = yes + decadence = 70 + + any_courtier = { + is_ruler = no + NOT = { spouse = { character = ROOT } } + is_primary_heir = no + in_command = no + } + + OR = { + NOT = { has_global_flag = assassins_scatter } + has_global_flag = assassins_resurface + } + NOT = { has_global_flag = assassins_destroyed } + } + + immediate = { + any_courtier = { + limit = { + is_ruler = no + NOT = { spouse = { character = ROOT } } + is_primary_heir = no + in_command = no + } + save_event_target_as = assassin_target + } + } + + mean_time_to_happen = { + months = 22 + } + + option = { + name = "EVTOPTA88011" + event_target:assassin_target = { + death = { death_reason = death_hashshashin } + } + set_character_flag = decadence_courtier_killed + } +} + +# Assassins kill ruler +character_event = { + id = 88013 + desc = "EVTDESC88012" + picture = "GFX_evt_shadow" + border = GFX_event_normal_frame_intrigue + + only_rulers = yes + min_age = 16 + prisoner = no + only_capable = yes + religion_group = muslim + has_character_flag = decadence_courtier_killed + has_global_flag = assassins_founded + + trigger = { + uses_decadence = yes + decadence = 90 + OR = { + NOT = { has_global_flag = assassins_scatter } + has_global_flag = assassins_resurface + } + NOT = { has_global_flag = assassins_destroyed } + NOT = { is_inaccessible_trigger = yes } + } + + mean_time_to_happen = { + months = 480 + } + + option = { + name = "EVTOPTA88012" + death = { death_reason = death_hashshashin } + } +} + +########################## +# War with the Assassins # +########################## + +# Courtier is killed +character_event = { + id = 88015 + hide_window = yes + + prisoner = no + only_capable = yes + min_age = 16 + ai = yes + has_global_flag = assassins_founded + + trigger = { + is_ruler = no + employer = { + war = yes + is_playable = yes + independent = yes + prisoner = no + religion_group = muslim + NOT = { spouse = { character = ROOT } } + d_hashshashin = { + holder_scope = { + war_with = PREVPREV + } + } + } + + is_primary_heir = no + is_pretender = no + in_command = no + + OR = { + NOT = { has_global_flag = assassins_scatter } + has_global_flag = assassins_resurface + } + NOT = { has_global_flag = assassins_destroyed } + } + + mean_time_to_happen = { + months = 880 + } + + immediate = { + if = { + limit = { liege = { NOT = { is_inaccessible_trigger = yes } } } + random_list = { + 33 = { + liege = { + character_event = { id = 88016 } + } + } + 33 = { + liege = { + character_event = { id = 88017 } + } + } + 33 = { + liege = { + character_event = { id = 88018 } + } + } + } + } + if = { + limit = { liege = { is_inaccessible_trigger = yes } } + random_list = { + 50 = { + liege = { + character_event = { id = 88016 } + } + } + 50 = { + liege = { + character_event = { id = 88017 } + } + } + } + } + } +} + +# Assassins kill random courtier 1 +character_event = { + id = 88016 + desc = "EVTDESC88016" + picture = "GFX_evt_shadow" + border = GFX_event_normal_frame_intrigue + + is_triggered_only = yes + + option = { + name = "EVTOPTA88016" + FROM = { + death = { death_reason = death_hashshashin } + } + } +} + +# Assassins kill random courtier 2 +character_event = { + id = 88017 + desc = "EVTDESC88017" + picture = "GFX_evt_shadow" + border = GFX_event_normal_frame_intrigue + + is_triggered_only = yes + + option = { + trigger = { + NOR = { + has_character_modifier = cannibal + trait = cannibal_trait + } + } + name = "EVTOPTA88017" + FROM = { + death = { death_reason = death_hashshashin } + } + } + option = { + trigger = { + OR = { + has_character_modifier = cannibal + trait = cannibal_trait + } + } + name = "88017.cannibal" + FROM = { + death = { death_reason = death_hashshashin } + } + } +} + +# Assassins kill random courtier 3 +character_event = { + id = 88018 + desc = "EVTDESC88018" + picture = "GFX_evt_shadow" + border = GFX_event_normal_frame_intrigue + + is_triggered_only = yes + + option = { + name = "EVTOPTA88018" + FROM = { + death = { death_reason = death_hashshashin } + } + } +} + +# Assassins warn ruler +character_event = { + id = 88019 + desc = "EVTDESC88019" + picture = "GFX_evt_shadow" + border = GFX_event_normal_frame_intrigue + + ai = no + only_playable = yes + only_independent = yes + religion_group = muslim + war = yes + + trigger = { + NOT = { has_character_flag = warned_by_assassins } + d_hashshashin = { + holder_scope = { + war_with = ROOT + } + } + } + + mean_time_to_happen = { + months = 160 + } + + option = { + name = "EVTOPTA88019" + set_character_flag = warned_by_assassins + + if = { + limit = { society_member_of = the_assassins } + + } + } +} + +# Assassins kill ruler +character_event = { + id = 88020 + desc = "EVTDESC88012" + picture = "GFX_evt_shadow" + border = GFX_event_normal_frame_intrigue + + only_rulers = yes + prisoner = no + min_age = 16 + religion_group = muslim + has_character_flag = warned_by_assassins + + trigger = { + d_hashshashin = { + holder_scope = { + war_with = ROOT + } + } + NOT = { is_inaccessible_trigger = yes } + } + + mean_time_to_happen = { + months = 1400 + } + + option = { + name = "EVTOPTA88012" + death = { death_reason = death_hashshashin } + } +} + +########## +# Random # +########## + +# Courtier is killed +character_event = { + id = 88025 + desc = "EVTDESC88016" + picture = "GFX_evt_shadow" + border = GFX_event_normal_frame_intrigue + + ai = yes + min_age = 16 + prisoner = no + only_capable = yes + has_global_flag = assassins_founded + + trigger = { + host = { + character = liege + prisoner = no + } + OR = { + NOT = { has_global_flag = assassins_scatter } + has_global_flag = assassins_resurface + } + NOT = { has_global_flag = assassins_destroyed } + OR = { + religion_group = muslim + liege = { has_landed_title = e_byzantium } + liege = { has_landed_title = k_jerusalem } + } + is_primary_heir = no + is_pretender = no + in_command = no + NOT = { spouse = { character = host } } + NOT = { society_member_of = the_assassins } + } + + mean_time_to_happen = { + months = 5500 + modifier = { + factor = 0.5 + trait = possessed + } + modifier = { + factor = 0.75 + trait = cruel + } + modifier = { + factor = 0.75 + trait = impaler + } + modifier = { + factor = 2.0 + trait = kind + } + modifier = { + factor = 2.0 + trait = just + } + modifier = { + factor = 2.0 + trait = charitable + } + modifier = { + factor = 2.0 + is_female = yes + } + } + + option = { + name = "OK" + if = { + limit = { liege = { NOT = { is_inaccessible_trigger = yes } } } + random_list = { + 33 = { + liege = { + character_event = { id = 88016 } + } + } + 33 = { + liege = { + character_event = { id = 88017 } + } + } + 33 = { + liege = { + character_event = { id = 88018 } + } + } + } + } + if = { + limit = { liege = { is_inaccessible_trigger = yes } } + random_list = { + 50 = { + liege = { + character_event = { id = 88016 } + } + } + 50 = { + liege = { + character_event = { id = 88017 } + } + } + } + } + } +} \ No newline at end of file diff --git a/LCDA/events/hippodrome_events.txt b/LCDA/events/hippodrome_events.txt new file mode 100644 index 0000000..5141ef0 --- /dev/null +++ b/LCDA/events/hippodrome_events.txt @@ -0,0 +1,601 @@ +####################################### +# +# Hippodrome Events +# +# Event ID LoR.400 - LoR.799 reserved +# +####################################### + +# Written by Henrik Eklund + +namespace = LoR + +### Foul Play + +# Approached Sabotage +narrative_event = { + id = LoR.400 + title = EVTNAMELoR.400 + desc = EVTDESCLoR.400 + picture = GFX_evt_emissary_byzantine + + min_age = 16 + max_age = 60 + capable_only = yes + only_playable = yes + prisoner = no + only_men = yes + ai = no + religion_group = christian + + trigger = { + has_dlc = "Legacy of Rome" + OR = { + has_landed_title = e_byzantium + has_landed_title = e_roman_empire + } + NOT = { has_global_flag = hippodrome_scheme } + in_command = no + capital_scope = { province_id = 496 } + NOT = { is_inaccessible_trigger = yes } + } + + mean_time_to_happen = { + months = 780 + } + + option = { # Agree + name = EVTOPTALoR.400 + narrative_event = { id = LoR.401 days = 32 tooltip = EVTTOOLTIPLoR.401 } + set_global_flag = hippodrome_scheme + set_global_flag = hippodrome_scheme_ongoing + } + option = { # Refuse + name = EVTOPTBLoR.400 + custom_tooltip = { text = hippodrome_refuse } + set_global_flag = hippodrome_scheme + } +} + +# Sabotage +narrative_event = { + id = LoR.401 + title = EVTNAMELoR.401 + desc = EVTDESCLoR.401 + picture = GFX_evt_shadowy_cabal + + hide_from = yes + + is_triggered_only = yes + + option = { + name = EVTOPTALoR.401 + change_martial = 1 + custom_tooltip = { + text = hippodrome_tooltip + hidden_tooltip = { + random_list = { + 40 = { + narrative_event = { id = LoR.402 } + } + 40 = { + narrative_event = { id = LoR.403 } + } + 20 = { + narrative_event = { id = LoR.404 } + } + } + } + } + } +} + +# Sabotage Win +narrative_event = { + id = LoR.402 + title = EVTNAMELoR.402 + desc = EVTDESCLoR.402 + picture = GFX_evt_hippodrome_byzantine + + hide_from = yes + + is_triggered_only = yes + + option = { + name = EVTOPTALoR.402 + prestige = 100 + wealth = 25 + narrative_event = { id = LoR.405 days = 280 random = 50 tooltip = EVTTOOLTIPLoR.405 } + } +} + +# Sabotage Lose +narrative_event = { + id = LoR.403 + title = EVTNAMELoR.403 + desc = EVTDESCLoR.403 + picture = GFX_evt_hippodrome_byzantine + + hide_from = yes + + is_triggered_only = yes + + option = { + name = EVTOPTALoR.403 + prestige = -50 + narrative_event = { id = LoR.405 days = 280 random = 50 tooltip = EVTTOOLTIPLoR.405 } + } +} + +# Sabotage Riots +narrative_event = { + id = LoR.404 + title = EVTNAMELoR.404 + desc = EVTDESCLoR.404 + picture = GFX_evt_hippodrome_byzantine + + hide_from = yes + + is_triggered_only = yes + + option = { + name = EVTOPTALoR.404 + narrative_event = { id = LoR.417 tooltip = EVTTOOLTIPLoR.417 } + hidden_tooltip = { + narrative_event = { id = LoR.405 days = 280 random = 50 } + } + } +} + +# Approached Poison +narrative_event = { + id = LoR.405 + title = EVTNAMELoR.405 + desc = EVTDESCLoR.405 + picture = GFX_evt_emissary_byzantine + + hide_from = yes + + is_triggered_only = yes + + option = { # Agree + name = EVTOPTALoR.405 + narrative_event = { id = LoR.406 days = 32 tooltip = EVTTOOLTIPLoR.406 } + } + option = { # Refuse + name = EVTOPTBLoR.405 + custom_tooltip = { text = hippodrome_refuse_second } + } +} + +# Poison +narrative_event = { + id = LoR.406 + title = EVTNAMELoR.406 + desc = EVTDESCLoR.406 + picture = GFX_evt_shadowy_cabal + + hide_from = yes + + is_triggered_only = yes + + option = { + name = EVTOPTALoR.406 + change_intrigue = 1 + custom_tooltip = { + text = hippodrome_tooltip + hidden_tooltip = { + random_list = { + 35 = { + narrative_event = { id = LoR.407 } + } + 35 = { + narrative_event = { id = LoR.408 } + } + 30 = { + narrative_event = { id = LoR.409 } + } + } + } + } + } +} + +# Poison Win +narrative_event = { + id = LoR.407 + title = EVTNAMELoR.407 + desc = EVTDESCLoR.407 + picture = GFX_evt_hippodrome_byzantine + + hide_from = yes + + is_triggered_only = yes + + option = { + name = EVTOPTALoR.407 + prestige = 100 + wealth = 25 + narrative_event = { id = LoR.410 days = 280 random = 50 tooltip = EVTTOOLTIPLoR.405 } + } +} + +# Poison Lose +narrative_event = { + id = LoR.408 + title = EVTNAMELoR.408 + desc = EVTDESCLoR.408 + picture = GFX_evt_hippodrome_byzantine + + hide_from = yes + + is_triggered_only = yes + + option = { + name = EVTOPTALoR.408 + prestige = -50 + narrative_event = { id = LoR.410 days = 280 random = 50 tooltip = EVTTOOLTIPLoR.405 } + } +} + +# Poison Riots +narrative_event = { + id = LoR.409 + title = EVTNAMELoR.409 + desc = EVTDESCLoR.409 + picture = GFX_evt_hippodrome_byzantine + + hide_from = yes + + is_triggered_only = yes + + option = { + name = EVTOPTALoR.409 + narrative_event = { id = LoR.417 tooltip = EVTTOOLTIPLoR.417 } + hidden_tooltip = { + narrative_event = { id = LoR.405 days = 280 random = 50 } + } + } +} + +# Approached Weapon +narrative_event = { + id = LoR.410 + title = EVTNAMELoR.410 + desc = EVTDESCLoR.410 + picture = GFX_evt_garden + + hide_from = yes + + is_triggered_only = yes + + option = { # Agree + name = EVTOPTALoR.410 + narrative_event = { id = LoR.411 days = 32 tooltip = EVTTOOLTIPLoR.406 } + } + option = { # Refuse + name = EVTOPTBLoR.410 + custom_tooltip = { text = hippodrome_refuse_second } + } +} + +# Weapon +narrative_event = { + id = LoR.411 + title = EVTNAMELoR.411 + desc = EVTDESCLoR.411 + picture = GFX_evt_market_byzantine + + hide_from = yes + + is_triggered_only = yes + + option = { + name = EVTOPTALoR.411 + change_martial = 1 + narrative_event = { id = LoR.412 tooltip = hippodrome_tooltip } + } +} + +# Weapon Race +narrative_event = { + id = LoR.412 + title = EVTNAMELoR.412 + desc = EVTDESCLoR.412 + picture = GFX_evt_hippodrome_byzantine + + hide_from = yes + + is_triggered_only = yes + + option = { # Give Chase + name = EVTOPTALoR.412 + narrative_event = { id = LoR.414 tooltip = EVTTOOLTIPLoR.414 } + } + option = { # Stay + name = EVTOPTBLoR.412 + narrative_event = { id = LoR.413 tooltip = EVTTOOLTIPLoR.413 } + } +} + +# Stay +narrative_event = { + id = LoR.413 + title = EVTNAMELoR.413 + desc = EVTDESCLoR.413 + picture = GFX_evt_battle_byzantine + + hide_from = yes + + is_triggered_only = yes + + option = { + name = EVTOPTALoR.413 + prestige = 100 + if = { + limit = { + NOT = { can_have_more_leadership_traits = no } + NOT = { trait = cavalry_leader } + } + add_trait = cavalry_leader + } + clr_global_flag = hippodrome_scheme_ongoing + } +} + +# The Chase +narrative_event = { + id = LoR.414 + title = EVTNAMELoR.414 + desc = EVTDESCLoR.414 + picture = GFX_evt_hagia_sofia + + hide_from = yes + + is_triggered_only = yes + + option = { # Kill + name = EVTOPTALoR.414 + narrative_event = { id = LoR.415 tooltip = EVTTOOLTIPLoR.415 } + } + option = { # Spare + name = EVTOPTBLoR.414 + narrative_event = { id = LoR.416 tooltip = EVTTOOLTIPLoR.416 } + } +} + +# Killed +narrative_event = { + id = LoR.415 + title = EVTNAMELoR.415 + desc = EVTDESCLoR.415 + picture = GFX_evt_market_byzantine + + hide_from = yes + + is_triggered_only = yes + + option = { + name = EVTOPTALoR.415 + prestige = 100 + piety = -50 + if = { + limit = { + NOT = { can_have_more_leadership_traits = no } + NOT = { trait = cavalry_leader } + } + add_trait = cavalry_leader + } + clr_global_flag = hippodrome_scheme_ongoing + } +} + +# Spared +narrative_event = { + id = LoR.416 + title = EVTNAMELoR.416 + desc = EVTDESCLoR.416 + picture = GFX_evt_market_byzantine + + hide_from = yes + + is_triggered_only = yes + + option = { + name = EVTOPTALoR.416 + piety = 100 + if = { + limit = { + NOT = { can_have_more_leadership_traits = no } + NOT = { trait = cavalry_leader } + } + add_trait = cavalry_leader + } + clr_global_flag = hippodrome_scheme_ongoing + create_character = { + name = Anaximandros + random_traits = no + dynasty = NONE + female = no + age = 57 + religion = orthodox + culture = greek + trait = dwarf + trait = ugly + trait = quick + trait = deceitful + trait = craven + trait = flamboyant_schemer + } + new_character = { + prisoner = yes + } + } +} + +# Riots +narrative_event = { + id = LoR.417 + title = EVTNAMELoR.417 + desc = EVTDESCLoR.417 + picture = GFX_evt_riots_byzantine + + hide_from = yes + + is_triggered_only = yes + + option = { + name = EVTOPTALoR.417 + custom_tooltip = { + text = hippodrome_riots + hidden_tooltip = { + 496 = { + create_random_soldier = { + random_traits = yes + dynasty = random + religion = ROOT + culture = ROOT + female = no + age = 30 + employer = e_rebels + } + new_character = { + spawn_unit = { + province = prev + home = prev + troops = { + light_infantry = { 750 750 } + } + } + } + } + } + } + } +} + +### Random Hippodrome Events + +# Hippodrome Race +character_event = { + id = LoR.500 + desc = EVTDESCLoR.500 + picture = GFX_evt_hippodrome_byzantine + + min_age = 16 + capable_only = yes + only_playable = yes + prisoner = no + ai = no + religion_group = christian + + trigger = { + has_dlc = "Legacy of Rome" + in_command = no + OR = { + has_landed_title = e_byzantium + has_landed_title = e_roman_empire + } + NOT = { has_global_flag = hippodrome_scheme_ongoing } + NOT = { is_inaccessible_trigger = yes } + } + + mean_time_to_happen = { + months = 230 + } + + option = { # Support Blue Team + name = EVTOPTALoR.500 + wealth = -25 + random_list = { + 50 = { + character_event = { id = LoR.501 days = 8 tooltip = EVTTOOLTIPLoR.501 } + } + 50 = { + character_event = { id = LoR.502 days = 8 tooltip = EVTTOOLTIPLoR.502 } + } + } + } + option = { # Support Green Team + name = EVTOPTBLoR.500 + wealth = -25 + random_list = { + 50 = { + character_event = { id = LoR.503 days = 8 tooltip = EVTTOOLTIPLoR.503 } + } + 50 = { + character_event = { id = LoR.504 days = 8 tooltip = EVTTOOLTIPLoR.504 } + } + } + } + option = { + name = EVTOPTCLoR.500 + custom_tooltip = { text = hippodrome_nobet } + } +} + +# Blue Victorious (With Your Support) +character_event = { + id = LoR.501 + desc = EVTDESCLoR.501 + picture = GFX_evt_hippodrome_byzantine + + hide_from = yes + + is_triggered_only = yes + + option = { + name = EVTOPTALoR.501 + wealth = 50 + prestige = 50 + } +} + +# Blue Loses (With Your Support) +character_event = { + id = LoR.502 + desc = EVTDESCLoR.502 + picture = GFX_evt_hippodrome_byzantine + + hide_from = yes + + is_triggered_only = yes + + option = { + name = EVTOPTALoR.502 + prestige = -25 + } +} + +# Green Victorious (With Your Support) +character_event = { + id = LoR.503 + desc = EVTDESCLoR.503 + picture = GFX_evt_hippodrome_byzantine + + hide_from = yes + + is_triggered_only = yes + + option = { + name = EVTOPTALoR.503 + wealth = 50 + prestige = 50 + } +} + +# Green Loses (With Your Support) +character_event = { + id = LoR.504 + desc = EVTDESCLoR.504 + picture = GFX_evt_hippodrome_byzantine + + hide_from = yes + + is_triggered_only = yes + + option = { + name = EVTOPTALoR.504 + prestige = -25 + } +} \ No newline at end of file diff --git a/LCDA/events/hl_extra_events.txt b/LCDA/events/hl_extra_events.txt new file mode 100644 index 0000000..1a6ab41 --- /dev/null +++ b/LCDA/events/hl_extra_events.txt @@ -0,0 +1,1147 @@ + +# Written by Emil Tisander and Alexander Oltner + +########################################### +# # +# Sky Burial events # +# by Emil Tisander # +# ID HL.8000-HL.8050 # +# # +########################################### + +namespace = HL + +# Sky Burial trigger event +character_event = { + id = HL.8001 + hide_window = yes + + is_triggered_only = yes + + only_playable = yes + + trigger = { + has_dlc = "Horse Lords" + OR = { + religion_group = zoroastrian_group + AND = { + government = nomadic_government + OR = { + religion = tengri_pagan + religion = tengri_pagan_reformed + religion_group = zoroastrian_group + religion_group = indian_group + } + } + } + } + + immediate = { + if = { + limit = { + prestige = 20000 + } + current_heir = { + set_character_flag = sky_burial_tomb + } + } + if = { + limit = { + current_heir = { + is_child_of = ROOT + } + } + if = { + limit = { + is_female = yes + } + current_heir = { + set_character_flag = sky_burial_mother + } + } + if = { + limit = { + is_female = no + } + current_heir = { + set_character_flag = sky_burial_father + } + } + } + if = { + limit = { + current_heir = { + sibling = ROOT + } + } + if = { + limit = { + is_female = yes + } + current_heir = { + set_character_flag = sky_burial_sister + } + } + if = { + limit = { + is_female = no + } + current_heir = { + set_character_flag = sky_burial_brother + } + } + } + current_heir = { + set_character_flag = sky_burial + character_event = { id = HL.8002 days = 60 } + } + } +} + +# Clear event +character_event = { + id = HL.8002 + hide_window = yes + + is_triggered_only = yes + + immediate = { + clr_character_flag = sky_burial + clr_character_flag = sky_burial_tomb + clr_character_flag = sky_burial_father + clr_character_flag = sky_burial_brother + clr_character_flag = sky_burial_mother + clr_character_flag = sky_burial_sister + } +} + +# Decide on Burial +character_event = { + id = HL.8005 + title = EVTNAME_HL_8005 + picture = GFX_evt_shaman + desc = { # Father + trigger = { + has_character_flag = sky_burial_father + } + text = EVTDESC_HL_8005_father + } + desc = { # Mother + trigger = { + has_character_flag = sky_burial_mother + } + text = EVTDESC_HL_8005_mother + } + desc = { # Brother + trigger = { + has_character_flag = sky_burial_brother + } + text = EVTDESC_HL_8005_brother + } + desc = { # Sister + trigger = { + has_character_flag = sky_burial_sister + } + text = EVTDESC_HL_8005_sister + } + desc = { # Any other predecessor + trigger = { + NOT = { has_character_flag = sky_burial_father } + NOT = { has_character_flag = sky_burial_brother } + NOT = { has_character_flag = sky_burial_mother } + NOT = { has_character_flag = sky_burial_sister } + } + text = EVTDESC_HL_8005_other + } + + is_triggered_only = yes + + option = { # Sky Burial + name = EVTOPTA_HL_8005 + custom_tooltip = { text = EVTOPTC_HL_8005_custom_tooltip_a } + hidden_tooltip = { + random_list = { + 25 = { character_event = { id = HL.8006 days = 10 } } + 25 = { character_event = { id = HL.8008 days = 10 } } + 50 = { character_event = { id = HL.8010 days = 10 } } + } + } + } + option = { # Raise a Golden Tomb instead + name = EVTOPTB_HL_8005 + trigger = { + has_character_flag = sky_burial_tomb + } + wealth = -250 + custom_tooltip = { text = EVTOPTC_HL_8005_custom_tooltip_b } + hidden_tooltip = { + character_event = { id = HL.8020 days = 10 } + } + } + option = { # Lunatic option + name = EVTOPTC_HL_8005 + trigger = { + trait = lunatic + OR = { + has_landed_title = c_anxi + any_realm_character = { has_landed_title = c_anxi } + } + } + tooltip_info = lunatic + custom_tooltip = { text = EVTOPTC_HL_8005_custom_tooltip_c } + hidden_tooltip = { + character_event = { id = HL.8030 days = 20 } + } + } + option = { # Also for possessed + name = EVTOPTC_HL_8005 + trigger = { + trait = possessed + OR = { + has_landed_title = c_anxi + any_realm_character = { has_landed_title = c_anxi } + } + } + tooltip_info = possessed + custom_tooltip = { text = EVTOPTC_HL_8005_custom_tooltip_c } + hidden_tooltip = { + character_event = { id = HL.8030 days = 20 } + } + } +} + +# Sky Burial - Bad weather +character_event = { + id = HL.8006 + title = EVTNAME_HL_8006 + desc = EVTDESC_HL_8006 + picture = GFX_evt_nomad_camp + + is_triggered_only = yes + + option = { # Find shelter + name = EVTOPTA_HL_8006 + if = { + limit = { + NOT = { trait = patient } + } + random = { + chance = 30 + add_trait = patient + hidden_tooltip = { + character_event = { id = 38264 } # Notify patient + } + } + } + if = { + limit = { + trait = patient + } + prestige = 30 + } + hidden_tooltip = { + character_event = { id = HL.8010 days = 5 } + } + } + option = { # Continue + name = EVTOPTB_HL_8006 + if = { + limit = { + NOT = { trait = brave } + NOT = { trait = craven } + } + random_list = { + 30 = { + add_trait = brave + hidden_tooltip = { + character_event = { id = 38270 } + } + } + 30 = { + if = { + limit = { + NOT = { + has_dlc = "Reapers" + } + } + add_trait = ill + hidden_tooltip = { + character_event = { id = 38290 } # Notify ill + } + } + if = { + limit = { + has_dlc = "Reapers" + } + add_symptom_effect = yes + } + } + 40 = { } + } + } + if = { + limit = { + trait = craven + NOT = { trait = brave } + } + random_list = { + 50 = { remove_trait = craven } + 30 = { + if = { + limit = { + NOT = { + has_dlc = "Reapers" + } + } + add_trait = ill + hidden_tooltip = { + character_event = { id = 38290 } # Notify ill + } + } + if = { + limit = { + has_dlc = "Reapers" + } + add_symptom_effect = yes + } + } + 20 = { } + } + } + if = { + limit = { + trait = brave + NOT = { trait = content } + } + random_list = { + 30 = { + add_trait = ambitious + hidden_tooltip = { + character_event = { id = 38278 } + } + } + 30 = { + if = { + limit = { + NOT = { + has_dlc = "Reapers" + } + } + add_trait = ill + hidden_tooltip = { + character_event = { id = 38290 } # Notify ill + } + } + if = { + limit = { + has_dlc = "Reapers" + } + add_symptom_effect = yes + } + } + 40 = { } + } + } + hidden_tooltip = { + character_event = { id = HL.8010 days = 5 } + } + } +} + +# Sky Burial - Hermit encountered +character_event = { + id = HL.8008 + title = EVTNAME_HL_8008 + desc = EVTDESC_HL_8008 + picture = GFX_evt_lunatic + + is_triggered_only = yes + + option = { # Give gift + name = EVTOPTA_HL_8008 + wealth = -10 + trigger = { + NOT = { trait = greedy } + } + if = { + limit = { + NOT = { trait = charitable } + } + random = { + chance = 50 + add_trait = charitable + hidden_tooltip = { + character_event = { id = 38273 } + } + } + } + if = { + limit = { + trait = charitable + } + prestige = 20 + } + hidden_tooltip = { + character_event = { id = HL.8010 days = 5 } + } + } + option = { # Ask to join + name = EVTOPTB_HL_8008 + ai_chance = { + factor = 0 + } + create_character = { + random_traits = yes + dynasty = NONE + female = no + age = 40 + religion = ROOT + culture = ROOT + trait = brilliant_strategist + attributes = { + martial = 10 + } + } + hidden_tooltip = { + character_event = { id = HL.8010 days = 5 } + } + } + option = { # Leave the hermit + name = EVTOPTC_HL_8008 + hidden_tooltip = { + character_event = { id = HL.8010 days = 5 } + } + } +} + +# Perform Sky Burial +character_event = { + id = HL.8010 + title = EVTNAME_HL_8010 + desc = EVTDESC_HL_8010 + picture = GFX_evt_shaman + + is_triggered_only = yes + + option = { + name = EVTOPTA_HL_8010 + prestige = 100 + hidden_tooltip = { + random = { + chance = 10 + character_event = { id = HL.8011 days = 10 } + } + } + } +} + +# Followed by a Vulture +character_event = { + id = HL.8011 + title = EVTNAME_HL_8011 + desc = EVTDESC_HL_8011 + picture = GFX_evt_nomad_camp + + is_triggered_only = yes + + option = { # Keep the vulture + name = EVTOPTA_HL_8011 + prestige = 10 + if = { + limit = { + NOT = { trait = falconer } + } + add_trait = falconer + } + } + option = { # Send it away + name = EVTOPTB_HL_8011 + } +} + +# Begin construction on Golden Tomb +character_event = { + id = HL.8020 + title = EVTNAME_HL_8020 + desc = EVTDESC_HL_8020 + picture = GFX_evt_fishing + + is_triggered_only = yes + + option = { + name = EVTOPTA_HL_8020 + prestige = 10 + hidden_tooltip = { + character_event = { id = HL.8022 days = 5 } + } + } +} + +# Golden Tomb Completed +character_event = { + id = HL.8022 + title = EVTNAME_HL_8022 + desc = EVTDESC_HL_8022 + picture = GFX_evt_tengri_throneroom_oldgods + + is_triggered_only = yes + + option = { + name = EVTOPTA_HL_8022 + prestige = 250 + } + option = { # Cruel option + if = { + limit = { + NOT = { trait = cruel } + } + add_trait = cruel + prestige = 250 + } + if = { + limit = { + trait = cruel + } + prestige = 300 + } + name = EVTOPTB_HL_8022 + } +} + +# On the way to olgoi-khorkhoi (Mongolian death worm) +character_event = { + id = HL.8030 + title = EVTNAME_HL_8030 + desc = EVTDESC_HL_8030 + picture = GFX_evt_sand_desert + + is_triggered_only = yes + + option = { # Continue + name = EVTOPTA_HL_8030 + prestige = -100 + piety = 100 + random_list = { + 15 = { + death = { + death_reason = death_accident + } + } + 85 = { + character_event = { id = HL.8032 days = 10 } + } + } + } + option = { # Go back + name = EVTOPTB_HL_8030 + prestige = -100 + + random_list = { + 5 = { + death = { + death_reason = death_accident + } + } + 95 = { custom_tooltip = { text = EVTOPTA_HL_8032_custom_tooltip } } + } + } +} + +# Sacrifice to olgoi-khorkhoi (Mongolian death worm) +character_event = { + id = HL.8032 + title = EVTNAME_HL_8032 + desc = EVTDESC_HL_8032 + picture = GFX_evt_sand_desert + + is_triggered_only = yes + + option = { # Return home + name = EVTOPTA_HL_8032 + trigger = { + is_weak_trigger = no + is_ill = no + NOT = { trait = wounded } + NOT = { is_maimed_trigger = yes } + } + prestige = -100 + piety = 100 + random_list = { + 40 = { + death = { + death_reason = death_accident + } + } + 60 = { + custom_tooltip = { text = EVTOPTA_HL_8032_custom_tooltip } + hidden_tooltip = { + character_event = { id = HL.8035 days = 10 } + } + } + } + } + option = { # Rest + name = EVTOPTB_HL_8032 + trigger = { + OR = { + is_weak_trigger = yes + is_ill = yes + trait = wounded + is_maimed_trigger = yes + } + } + death = { + death_reason = death_accident + } + } +} + +# You return home from the desert +character_event = { + id = HL.8035 + title = EVTNAME_HL_8035 + desc = EVTDESC_HL_8035 + picture = GFX_evt_tengri_throneroom_oldgods + + is_triggered_only = yes + + option = { + name = EVTOPTA_HL_8035 + prestige = 150 + if = { + limit = { is_strong_trigger = no } + } + add_trait = robust + } +} + +########################################### +# # +# Mongol wrestling events # +# by Alexander Oltner # +# ID HL.9000-HL.9050 # +# # +########################################### + +character_event = { + id = HL.9000 + desc = EVTDESC_HL_9000 + picture = GFX_evt_steppe_mercenaries + border = GFX_event_normal_frame_war + + min_age = 16 + only_men = yes + capable_only = yes + prisoner = no + only_playable = yes + only_independent = yes + war = no + has_dlc = "Horse Lords" + + trigger = { + government = nomadic_government + NOT = { has_character_modifier = manly_skill_wrestling } + NOT = { has_character_modifier = denied_wrestling } + any_realm_character = { + is_female = no + is_adult = yes + ai = yes + prisoner = no + martial = 10 + NOT = { + OR = { + character = ROOT + trait = incapable + trait = infirm + health_traits = 1 + trait = craven + } + } + } + any_demesne_title = { + tier = BARON + has_building = no_wrestling_1 + } + } + + mean_time_to_happen = { + months = 360 + + modifier = { + factor = 0.7 + has_focus = focus_war + } + + modifier = { + factor = 0.8 + has_focus = focus_hunting + } + + } + + option = { + name = EVTOPTA_HL_9000 + character_event = { id = HL.9001 tooltip = EVTTOOLTIP_HL_9000A } + } + + option = { + name = EVTOPTB_HL_9000 + + trigger = { + NOT = { trait = slothful } + } + + if = { + limit = { + NOT = { trait = diligent } + } + random = { + add_trait = diligent + chance = 35 + hidden_tooltip = { character_event = { id = 38256 } } # notify diligent + } + } + add_character_modifier = { + modifier = denied_wrestling + years = 1 + } + } + + option = { + name = EVTOPTD_HL_9000 + + trigger = { + NOT = { trait = proud } + } + + prestige = -20 + } + + option = { + name = EVTOPTD_HL_9000 + + trigger = { + trait = proud + } + + prestige = -20 + remove_trait = proud + } +} + +character_event = { + id = HL.9001 # Wrestling Event + desc = EVTDESC_HL_9001 + picture = GFX_evt_steppe_mercenaries + border = GFX_event_normal_frame_war + + is_triggered_only = yes + + immediate = { + random_realm_character = { + limit = { + is_female = no + is_adult = yes + ai = yes + prisoner = no + martial = 10 + NOT = { + OR = { + character = ROOT + trait = incapable + trait = infirm + health_traits = 1 + trait = craven + } + } + } + save_event_target_as = wrestling_opponent + } + } + + option = { + name = EVTOPTA_HL_9001 + + event_target:wrestling_opponent = { + character_event = { id = HL.9002 tooltip = EVTTOOLTIP_HL_9001A } + } + } + + option = { + name = EVTOPTD_HL_9001 + tooltip_info = lunatic + + trigger = { + trait = lunatic + } + + prestige = -50 + random_list = { + 29 = { + add_trait = wounded + hidden_tooltip = { character_event = { id = 38280 } } + } + 45 = { + add_maimed_trait_effect = yes + } + 25 = { + death = { death_reason = death_accident } + } + 1 = { + custom_tooltip = { text = wrestling_win_vs_horse } + hidden_tooltip = { + add_character_modifier = { + modifier = manly_skill_wrestling + years = 5 + } + } + } + } + } + + option = { + name = EVTOPTB_HL_9001 + + trigger = { + NOT = { trait = arbitrary } + } + + prestige = 50 + add_trait = arbitrary + hidden_tooltip = { character_event = { id = 38266 } } # notify arbitrary + } + + option = { + name = EVTOPTB_HL_9001 + tooltip_info = arbitrary + + trigger = { + trait = arbitrary + NOT = { trait = proud } + } + + prestige = 50 + add_trait = proud + hidden_tooltip = { character_event = { id = 38261 } } # notify proud + } + + option = { + name = EVTOPTB_HL_9001 + + trigger = { + trait = arbitrary + trait = proud + } + + prestige = 75 + } + + option = { + name = EVTOPTC_HL_9001 + + prestige = -10 + if = { + limit = { + NOT = { trait = craven } + } + add_trait = craven + hidden_tooltip = { character_event = { id = 38257 } } # notify craven + } + } + +} + +character_event = { + id = HL.9002 # Wrestling Resolver + + hide_window = yes + + is_triggered_only = yes + + immediate = { + if = { + limit = { + OR = { + AND = { + FROM = { is_strong_trigger = yes } + is_strong_trigger = no + } + AND = { + FROM = { is_weak_trigger = no } + is_weak_trigger = yes + } + } + } + random_list = { + 95 = { + FROM = { + long_character_event = { id = HL.9003 } # Win + } + } + 5 = { + FROM = { + long_character_event = { id = HL.9004 } # Lose + } + } + } + break = yes + } + if = { + limit = { + OR = { + AND = { + FROM = { is_strong_trigger = yes } + is_strong_trigger = yes + } + AND = { + FROM = { is_strong_trigger = no } + FROM = { is_weak_trigger = no } + NOT = { is_strong_trigger = yes } + NOT = { is_weak_trigger = yes } + } + } + } + random_list = { + 70 = { + FROM = { + long_character_event = { id = HL.9003 } + } + } + 30 = { + FROM = { + long_character_event = { id = HL.9004 } + } + } + } + break = yes + } + if = { + limit = { + FROM = { is_weak_trigger = yes } + is_weak_trigger = yes + } + random_list = { + 50 = { + FROM = { + long_character_event = { id = HL.9003 } + } + } + 50 = { + FROM = { + long_character_event = { id = HL.9004 } + } + } + } + break = yes + } + if = { + limit = { + OR = { + AND = { + FROM = { is_weak_trigger = yes } + is_weak_trigger = no + } + AND = { + FROM = { is_strong_trigger = no } + is_strong_trigger = yes + } + } + } + random_list = { + 5 = { + FROM = { + long_character_event = { id = HL.9003 } + } + } + 95 = { + FROM = { + long_character_event = { id = HL.9004 } + } + } + } + break = yes + } + } +} + +long_character_event = { + id = HL.9003 # Win Wrestling + desc = EVTDESC_HL_9003 + picture = GFX_evt_tengri_throneroom_oldgods + border = GFX_event_long_frame_war + + is_triggered_only = yes + + option = { + name = EVTOPTA_HL_9003 + tooltip_info = proud + + trigger = { + trait = proud + } + + prestige = 100 + if = { + limit = { + NOT = { is_rival = FROM } + } + add_rival = FROM + } + add_character_modifier = { + modifier = manly_skill_wrestling + years = 5 + } + } + + option = { + name = EVTOPTB_HL_9003 + + prestige = 50 + add_character_modifier = { + modifier = manly_skill_wrestling + years = 5 + } + } + + option = { + name = EVTOPTC_HL_9003 + tooltip_info = kind + + trigger = { + trait = kind + NOT = { is_friend = FROM } + } + + prestige = 25 + add_friend = FROM + add_character_modifier = { + modifier = manly_skill_wrestling + years = 5 + } + } + + option = { + name = EVTOPTC_HL_9003 + tooltip_info = gregarious + + trigger = { + trait = gregarious + NOT = { trait = kind } + NOT = { is_friend = FROM } + } + + prestige = 25 + add_friend = FROM + add_character_modifier = { + modifier = manly_skill_wrestling + years = 5 + } + } + + option = { + name = EVTOPTD_HL_9003 + tooltip_info = homosexual + + trigger = { + trait = homosexual + FROM = { trait = homosexual } + FROM = { NOT = { is_close_relative = ROOT } } + NOT = { is_lover = FROM } + NOT = { is_former_lover = FROM } + } + + prestige = 50 + add_lover = FROM + add_character_modifier = { + modifier = manly_skill_wrestling + years = 5 + } + } +} + +long_character_event = { + id = HL.9004 # Lose Wrestling + desc = EVTDESC_HL_9004 + picture = GFX_evt_mongols + border = GFX_event_long_frame_war + + is_triggered_only = yes + + option = { + name = EVTOPTB_HL_9004 + tooltip_info = gregarious + + trigger = { + trait = gregarious + } + + FROM = { prestige = 25 } + prestige = -25 + if = { + limit = { + NOT = { is_friend = FROM } + } + add_friend = FROM + } + } + + option = { + name = EVTOPTA_HL_9004 + + FROM = { prestige = 50 } + prestige = -50 + } + + option = { + name = EVTOPTC_HL_9004 + tooltip_info = wroth + + trigger = { + trait = wroth + FROM = { NOT = { health_traits = 1 } } + } + + FROM = { prestige = 75 } + prestige = -75 + FROM = { + random_list = { + 90 = { + add_trait = wounded + } + 10 = { + add_maimed_trait_effect = yes + } + } + } + if = { + limit = { + NOT = { is_rival = FROM } + } + add_rival = FROM + } + if = { + limit = { + NOT = { trait = cruel } + } + add_trait = cruel + hidden_tooltip = { character_event = { id = 38259 } } # notify cruel + } + } + + option = { + name = EVTOPTD_HL_9004 + tooltip_info = homosexual + + trigger = { + trait = homosexual + FROM = { trait = homosexual } + FROM = { NOT = { is_close_relative = ROOT } } + NOT = { is_lover = FROM } + NOT = { is_former_lover = FROM } + } + + FROM = { prestige = 50 } + prestige = -50 + add_lover = FROM + } +} \ No newline at end of file diff --git a/LCDA/events/hl_silk_route_events.txt b/LCDA/events/hl_silk_route_events.txt new file mode 100644 index 0000000..bb72fcb --- /dev/null +++ b/LCDA/events/hl_silk_route_events.txt @@ -0,0 +1,2098 @@ +########################################### +# # +# Horse Lords Silk Route events # +# # +# ID HL.5000-HL.5999 # +# # +########################################### + +# Written by Joel Hansson + +namespace = HL + +# Envoy demands tribute +character_event = { + id = HL.5000 + desc = EVTDESC_HL_5000 + picture = GFX_evt_chinese_emissary + border = GFX_event_normal_frame_diplomacy + + only_playable = yes + only_independent = yes + only_capable = yes + prisoner = no + ai = no + + trigger = { + has_dlc = "Horse Lords" + higher_tier_than = COUNT + NOR = { + has_character_flag = had_chinese_envoy + has_character_flag = do_not_disturb + trait = infirm + } + capital_scope = { + OR = { + region = world_steppe_east + region = world_steppe_tarim + duchy = { title = d_samarkand } + duchy = { title = d_khiva } + duchy = { title = d_merv } + } + } + any_demesne_province = { + has_trade_post = yes + trade_route = silk_road + # trade_route_active = silk_road + } + } + + mean_time_to_happen = { + years = 100 + } + + immediate = { + set_character_flag = had_chinese_envoy + random_demesne_province = { + limit = { + has_trade_post = yes + trade_route = silk_road + # trade_route_active = silk_road + } + save_event_target_as = trade_province + } + } + + option = { + name = EVTOPTA_HL_5000 + scaled_wealth = -1.5 + hidden_tooltip = { + character_event = { id = HL.5001 days = 90 random = 41 } + } + } + + option = { + name = EVTOPTB_HL_5000 + hidden_tooltip = { + letter_event = { id = HL.5048 days = 90 random = 41 } + } + } +} + +# Envoy offers his services +character_event = { + id = HL.5001 + desc = EVTDESC_HL_5001 + picture = GFX_evt_chinese_emissary + border = GFX_event_normal_frame_diplomacy + + is_triggered_only = yes + + option = { + name = EVTOPTA_HL_5001 + ai_chance = { + factor = 100 + } + create_character = { + random_traits = no + dynasty = NONE + religion = buddhist + culture = khitan + female = no + age = 34 + attributes = { + diplomacy = 5 + stewardship = 4 + } + trait = administrator + historical = yes + } + hidden_tooltip = { + new_character = { + random_list = { + 10 = { + # semi-random traits + add_trait = thrifty_clerk + add_trait = proud + add_trait = ambitious + add_trait = cynical + } + 10 = { + add_trait = charismatic_negotiator + add_trait = just + add_trait = gregarious + add_trait = envious + add_trait = ambitious + } + 10 = { + add_trait = fortune_builder + add_trait = greedy + add_trait = envious + add_trait = chaste + add_trait = shy + } + 10 = { + add_trait = naive_appeaser + add_trait = temperate + add_trait = patient + add_trait = slothful + add_trait = craven + } + } + set_character_flag = is_chinese_envoy + save_event_target_as = chinese_envoy + opinion = { + who = ROOT + modifier = opinion_happy + months = 180 + } + } + } + save_event_target_as = host + event_target:trade_province = { + add_province_modifier = { + modifier = trade_governor + duration = -1 + } + hidden_tooltip = { + province_event = { id = HL.5047 days = 30 } + } + } + hidden_tooltip = { + character_event = { id = HL.5002 days = 365 } # Determine random events + } + } + + option = { + name = EVTOPTB_HL_5001 + ai_chance = { + factor = 0 + } + hidden_tooltip = { # Angry Emperor + letter_event = { id = HL.5048 days = 15 random = 15 } + } + create_character = { + random_traits = no + dynasty = NONE + religion = buddhist + culture = khitan + female = no + age = 34 + attributes = { + diplomacy = 5 + stewardship = 4 + } + trait = administrator + historical = yes + } + hidden_tooltip = { + new_character = { + random_list = { + 10 = { + # semi-random traits + add_trait = thrifty_clerk + add_trait = proud + add_trait = ambitious + add_trait = cynical + } + 10 = { + add_trait = charismatic_negotiator + add_trait = just + add_trait = gregarious + add_trait = envious + add_trait = ambitious + } + 10 = { + add_trait = fortune_builder + add_trait = greedy + add_trait = envious + add_trait = chaste + add_trait = shy + } + 10 = { + add_trait = naive_appeaser + add_trait = temperate + add_trait = patient + add_trait = slothful + add_trait = craven + } + } + prestige = -100 + add_character_modifier = { + modifier = dung_collector + months = 120 + } + opinion = { + who = ROOT + modifier = opinion_mocked + months = 120 + } + } + } + } + + option = { + name = EVTOPTC_HL_5001 + ai_chance = { + factor = 0 + } + } +} + +# Determine random events +character_event = { + id = HL.5002 + hide_window = yes + is_triggered_only = yes + + + immediate = { + if = { + limit = { + OR = { + NOT = { + event_target:chinese_envoy = { + OR = { + liege = { character = ROOT } + host = { character = ROOT } + } + prisoner = no + has_character_flag = is_chinese_envoy + } + } + NOT = { + event_target:trade_province = { + holder_scope = { + character = ROOT + } + } + } + } + } + event_target:chinese_envoy = { + clr_character_flag = is_chinese_envoy + } + character_event = { id = HL.5049 } + break = yes + } + random_list = { + 30 = { # increase in trade + modifier = { + factor = 0 + event_target:trade_province = { has_province_modifier = surge_of_traders } + } + event_target:trade_province = { province_event = { id = HL.5005 } } + } + 30 = { # gemstones + modifier = { + factor = 0 + has_character_flag = chinese_envoy_event_1 + } + character_event = { id = HL.5006 } + } + 30 = { # theft of goods + modifier = { + factor = 0 + has_character_flag = chinese_envoy_event_2 + } + character_event = { id = HL.5007 } + } + 30 = { # snake pet + modifier = { + factor = 0 + has_character_flag = chinese_envoy_event_3 + } + event_target:chinese_envoy = { character_event = { id = HL.5018 } } + } + 30 = { # snake pet escalation + modifier = { + factor = 0 + OR = { + NOT = { has_character_flag = chinese_envoy_event_3 } + has_character_flag = chinese_envoy_event_4 + has_character_flag = chinese_envoy_snake_ban + } + } + if = { + limit = { + has_character_modifier = pet_hunting_dog + } + character_event = { id = HL.5009 } + } + if = { + limit = { + NOT = { has_character_modifier = pet_hunting_dog } + any_vassal = { + NOT = { character = ROOT } + prisoner = no + in_command = no + NOR = { + trait = incapable + has_character_flag = do_not_disturb + } + } + } + random_vassal = { + limit = { + NOT = { character = ROOT } + prisoner = no + in_command = no + NOR = { + trait = incapable + has_character_flag = do_not_disturb + } + } + character_event = { id = HL.5009 } + } + } + if = { + limit = { + NOT = { has_character_modifier = pet_hunting_dog } + NOT = { + any_vassal = { + NOT = { character = ROOT } + prisoner = no + in_command = no + NOR = { + trait = incapable + has_character_flag = do_not_disturb + } + } + } + } + random_courtier = { + character_event = { id = HL.5009 } + } + } + } + 30 = { # request partner + modifier = { + factor = 0 + OR = { + event_target:chinese_envoy = { + is_married = yes + } + NOT = { + any_courtier = { + is_married = no + is_female = yes + is_adult = yes + NOT = { age = 40 } + NOT = { trait = incapable } + prisoner = no + } + } + has_character_flag = chinese_envoy_event_5 + } + } + random_courtier = { + limit = { + is_married = no + is_female = yes + is_adult = yes + NOT = { age = 40 } + NOT = { trait = incapable } + prisoner = no + } + character_event = { id = HL.5012 } + } + } + 30 = { # games of chance + modifier = { + factor = 0 + has_character_flag = chinese_envoy_event_6 + } + event_target:chinese_envoy = { character_event = { id = HL.5015 } } + } + 10 = { # resignation + modifier = { + factor = 0 + NOT = { had_character_flag = { flag = is_chinese_envoy days = 500 } } + } + modifier = { + factor = 0 + event_target:chinese_envoy = { + personal_opinion = { who = ROOT value = 20 } + } + } + modifier = { + factor = 4 + NOT = { + event_target:chinese_envoy = { + personal_opinion = { who = ROOT value = 0 } + } + } + } + modifier = { + factor = 4 + NOT = { + event_target:chinese_envoy = { + personal_opinion = { who = ROOT value = -20 } + } + } + } + modifier = { + factor = 4 + NOT = { + event_target:chinese_envoy = { + personal_opinion = { who = ROOT value = -50 } + } + } + } + event_target:chinese_envoy = { + character_event = { id = HL.5044 } + break = yes + } + } + } + repeat_event = { id = HL.5002 days = 1095 random = 1096 } + } +} + +# increase in trade +province_event = { + id = HL.5005 + desc = EVTDESC_HL_5005 + picture = GFX_evt_chinese_emissary + border = GFX_event_normal_frame_diplomacy + + is_triggered_only = yes + + option = { + name = EVTOPTA_HL_5005 + add_province_modifier = { + modifier = surge_of_traders + months = 60 + } + } +} + +# gemstones +character_event = { + id = HL.5006 + desc = EVTDESC_HL_5006 + picture = GFX_evt_chinese_emissary + border = GFX_event_normal_frame_diplomacy + + is_triggered_only = yes + + immediate = { + set_character_flag = chinese_envoy_event_1 + } + + option = { + name = EVTOPTA_HL_5006 + if = { + limit = { + NOT = { yearly_income = 200 } + } + wealth = 40 + } + if = { + limit = { + yearly_income = 200 + } + scaled_wealth = 0.2 + } + } + + option = { + name = EVTOPTB_HL_5006 + prestige = 90 + } + + option = { + name = EVTOPTC_HL_5006 + trigger = { + spouse = { always = yes } + } + spouse = { + opinion = { + who = ROOT + modifier = opinion_happy + months = 60 + } + } + } +} + +# stolen goods +character_event = { + id = HL.5007 + desc = EVTDESC_HL_5007 + picture = GFX_evt_chinese_emissary + border = GFX_event_normal_frame_diplomacy + + is_triggered_only = yes + + immediate = { + set_character_flag = chinese_envoy_event_2 + } + + option = { + name = EVTOPTA_HL_5007 + scaled_wealth = -0.75 + if = { + limit = { + NOR = { + trait = charitable + trait = greedy + } + } + random = { + chance = 25 + add_trait = charitable + hidden_tooltip = { + character_event = { id = 38273 } # Notify charitable + } + } + } + hidden_tooltip = { + set_character_flag = reimbursed_trader + character_event = { id = HL.5008 days = 7 } + } + } + + option = { + name = EVTOPTB_HL_5007 + any_vassal = { + limit = { is_republic = yes } + opinion = { + modifier = opinion_irritated + who = ROOT + months = 36 + } + } + hidden_tooltip = { + character_event = { id = HL.5008 days = 7 } + } + } +} + +character_event = { + id = HL.5008 + desc = EVTDESC_HL_5008 + picture = GFX_evt_chinese_emissary + border = GFX_event_normal_frame_diplomacy + + is_triggered_only = yes + + option = { + name = EVTOPTA_HL_5008 + if = { + limit = { + has_character_flag = reimbursed_trader + } + random = { + chance = 50 + add_trait = deceitful + hidden_tooltip = { + character_event = { id = 38255 } # notify deceitful + } + } + } + if = { + limit = { + NOT = { has_character_flag = reimbursed_trader } + } + add_trait = deceitful + } + scaled_wealth = 0.5 + clr_character_flag = reimbursed_trader + } + + option = { + name = EVTOPTB_HL_5008 + random = { + chance = 50 + add_trait = honest + hidden_tooltip = { + character_event = { id = 38262 } # Notify honest + } + } + clr_character_flag = reimbursed_trader + } +} + +character_event = { + id = HL.5009 + hide_window = yes + + is_triggered_only = yes + + immediate = { + event_target:chinese_envoy = { character_event = { id = HL.5010 } } + } +} + +character_event = { + id = HL.5010 + hide_window = yes + + is_triggered_only = yes + + immediate = { + FROMFROM = { character_event = { id = HL.5011 } } + } +} + +character_event = { + id = HL.5011 + picture = GFX_evt_chinese_emissary + border = GFX_event_normal_frame_diplomacy + + is_triggered_only = yes + + desc = { + trigger = { + FROMFROM = { character = ROOT } + } + text = EVTDESC_HL_5011SELF + } + + desc = { + trigger = { + NOT = { FROMFROM = { character = ROOT } } + } + text = EVTDESC_HL_5011OTHER + } + + immediate = { + set_character_flag = chinese_envoy_event_4 + } + + option = { + name = EVTOPTA_WOL_5011 + trigger = { + NOT = { FROMFROM = { character = ROOT } } + } + FROMFROM = { + opinion = { + who = ROOT + modifier = grievously_offended + months = 60 + } + } + } + + option = { + name = EVTOPTB_WOL_5011 + trigger = { + NOT = { FROMFROM = { character = ROOT } } + } + FROM = { + opinion = { + who = ROOT + modifier = grievously_offended + months = 60 + } + } + } + + option = { + name = EVTOPTC_WOL_5011_FAITHFUL + trigger = { + has_character_flag = dog_name_faithful + FROMFROM = { character = ROOT } + } + set_character_flag = hunting_dog_already_killed + remove_character_modifier = pet_hunting_dog + hidden_tooltip = { character_event = { id = WoL.5291 } } + opinion = { + who = FROM + modifier = grievously_offended + months = 60 + } + random = { + chance = 70 + add_trait = depressed + hidden_tooltip = { + character_event = { id = 38288 } + } + } + } + option = { + name = EVTOPTC_WOL_5011_HUNTER + trigger = { + has_character_flag = dog_name_hunter + FROMFROM = { character = ROOT } + } + set_character_flag = hunting_dog_already_killed + remove_character_modifier = pet_hunting_dog + hidden_tooltip = { character_event = { id = WoL.5291 } } + opinion = { + who = FROM + modifier = grievously_offended + months = 60 + } + random = { + chance = 70 + add_trait = depressed + hidden_tooltip = { + character_event = { id = 38288 } + } + } + } + option = { + name = EVTOPTC_WOL_5011_TRICKY + trigger = { + has_character_flag = dog_name_tricky + FROMFROM = { character = ROOT } + } + set_character_flag = hunting_dog_already_killed + remove_character_modifier = pet_hunting_dog + hidden_tooltip = { character_event = { id = WoL.5291 } } + opinion = { + who = FROM + modifier = grievously_offended + months = 60 + } + random = { + chance = 70 + add_trait = depressed + hidden_tooltip = { + character_event = { id = 38288 } + } + } + } + option = { + name = EVTOPTC_WOL_5011_LUCIFER + trigger = { + has_character_flag = dog_name_lucifer + FROMFROM = { character = ROOT } + } + set_character_flag = hunting_dog_already_killed + remove_character_modifier = pet_hunting_dog + hidden_tooltip = { character_event = { id = WoL.5291 } } + opinion = { + who = FROM + modifier = grievously_offended + months = 60 + } + random = { + chance = 70 + add_trait = depressed + hidden_tooltip = { + character_event = { id = 38288 } + } + } + } + option = { + name = EVTOPTC_WOL_5011_SHAYTAN + trigger = { + has_character_flag = dog_name_shaytan + FROMFROM = { character = ROOT } + } + set_character_flag = hunting_dog_already_killed + remove_character_modifier = pet_hunting_dog + hidden_tooltip = { character_event = { id = WoL.5291 } } + opinion = { + who = FROM + modifier = grievously_offended + months = 60 + } + random = { + chance = 70 + add_trait = depressed + hidden_tooltip = { + character_event = { id = 38288 } + } + } + } + option = { + name = EVTOPTC_WOL_5011_FENRIR + trigger = { + has_character_flag = dog_name_fenrir + FROMFROM = { character = ROOT } + } + set_character_flag = hunting_dog_already_killed + remove_character_modifier = pet_hunting_dog + hidden_tooltip = { character_event = { id = WoL.5291 } } + opinion = { + who = FROM + modifier = grievously_offended + months = 60 + } + random = { + chance = 70 + add_trait = depressed + hidden_tooltip = { + character_event = { id = 38288 } + } + } + } + option = { + name = EVTOPTC_WOL_5011_ERLIK + trigger = { + has_character_flag = dog_name_erlik + FROMFROM = { character = ROOT } + } + set_character_flag = hunting_dog_already_killed + remove_character_modifier = pet_hunting_dog + hidden_tooltip = { character_event = { id = WoL.5291 } } + opinion = { + who = FROM + modifier = grievously_offended + months = 60 + } + random = { + chance = 70 + add_trait = depressed + hidden_tooltip = { + character_event = { id = 38288 } + } + } + } + option = { + name = EVTOPTC_WOL_5011_VELNIAS + trigger = { + has_character_flag = dog_name_velnias + FROMFROM = { character = ROOT } + } + set_character_flag = hunting_dog_already_killed + remove_character_modifier = pet_hunting_dog + hidden_tooltip = { character_event = { id = WoL.5291 } } + opinion = { + who = FROM + modifier = grievously_offended + months = 60 + } + random = { + chance = 70 + add_trait = depressed + hidden_tooltip = { + character_event = { id = 38288 } + } + } + } + option = { + name = EVTOPTC_WOL_5011_TUONI + trigger = { + has_character_flag = dog_name_tuoni + FROMFROM = { character = ROOT } + } + set_character_flag = hunting_dog_already_killed + remove_character_modifier = pet_hunting_dog + hidden_tooltip = { character_event = { id = WoL.5291 } } + opinion = { + who = FROM + modifier = grievously_offended + months = 60 + } + random = { + chance = 70 + add_trait = depressed + hidden_tooltip = { + character_event = { id = 38288 } + } + } + } + option = { + name = EVTOPTC_WOL_5011_XOLOTL + trigger = { + has_character_flag = dog_name_xolotl + FROMFROM = { character = ROOT } + } + set_character_flag = hunting_dog_already_killed + remove_character_modifier = pet_hunting_dog + hidden_tooltip = { character_event = { id = WoL.5291 } } + opinion = { + who = FROM + modifier = grievously_offended + months = 60 + } + random = { + chance = 70 + add_trait = depressed + hidden_tooltip = { + character_event = { id = 38288 } + } + } + } + option = { + name = EVTOPTC_WOL_5011_VELES + trigger = { + has_character_flag = dog_name_veles + FROMFROM = { character = ROOT } + } + set_character_flag = hunting_dog_already_killed + remove_character_modifier = pet_hunting_dog + hidden_tooltip = { character_event = { id = WoL.5291 } } + opinion = { + who = FROM + modifier = grievously_offended + months = 60 + } + random = { + chance = 70 + add_trait = depressed + hidden_tooltip = { + character_event = { id = 38288 } + } + } + } + option = { + name = EVTOPTC_WOL_5011_GURUHI + trigger = { + has_character_flag = dog_name_guruhi + FROMFROM = { character = ROOT } + } + set_character_flag = hunting_dog_already_killed + remove_character_modifier = pet_hunting_dog + hidden_tooltip = { character_event = { id = WoL.5291 } } + opinion = { + who = FROM + modifier = grievously_offended + months = 60 + } + random = { + chance = 70 + add_trait = depressed + hidden_tooltip = { + character_event = { id = 38288 } + } + } + } + option = { + name = EVTOPTC_WOL_5011_DARKNESS + trigger = { + has_character_flag = dog_name_darkness + FROMFROM = { character = ROOT } + } + set_character_flag = hunting_dog_already_killed + remove_character_modifier = pet_hunting_dog + hidden_tooltip = { character_event = { id = WoL.5291 } } + opinion = { + who = FROM + modifier = grievously_offended + months = 60 + } + random = { + chance = 70 + add_trait = depressed + hidden_tooltip = { + character_event = { id = 38288 } + } + } + } + option = { + name = EVTOPTC_WOL_5011_AHRIMAN + trigger = { + has_character_flag = dog_name_ahriman + FROMFROM = { character = ROOT } + } + set_character_flag = hunting_dog_already_killed + remove_character_modifier = pet_hunting_dog + hidden_tooltip = { character_event = { id = WoL.5291 } } + opinion = { + who = FROM + modifier = grievously_offended + months = 60 + } + random = { + chance = 70 + add_trait = depressed + hidden_tooltip = { + character_event = { id = 38288 } + } + } + } + option = { + name = EVTOPTC_WOL_5011_SATAN + trigger = { + has_character_flag = dog_name_satan + FROMFROM = { character = ROOT } + } + set_character_flag = hunting_dog_already_killed + remove_character_modifier = pet_hunting_dog + hidden_tooltip = { character_event = { id = WoL.5291 } } + opinion = { + who = FROM + modifier = grievously_offended + months = 60 + } + random = { + chance = 70 + add_trait = depressed + hidden_tooltip = { + character_event = { id = 38288 } + } + } + } + option = { + name = EVTOPTC_WOL_5011_VINAYAKA + trigger = { + has_character_flag = dog_name_vinayaka + FROMFROM = { character = ROOT } + } + set_character_flag = hunting_dog_already_killed + remove_character_modifier = pet_hunting_dog + hidden_tooltip = { character_event = { id = WoL.5291 } } + opinion = { + who = FROM + modifier = grievously_offended + months = 60 + } + random = { + chance = 70 + add_trait = depressed + hidden_tooltip = { + character_event = { id = 38288 } + } + } + } + option = { + name = EVTOPTC_WOL_5011_MARA + trigger = { + has_character_flag = dog_name_mara + FROMFROM = { character = ROOT } + } + set_character_flag = hunting_dog_already_killed + remove_character_modifier = pet_hunting_dog + hidden_tooltip = { character_event = { id = WoL.5291 } } + opinion = { + who = FROM + modifier = grievously_offended + months = 60 + } + random = { + chance = 70 + add_trait = depressed + hidden_tooltip = { + character_event = { id = 38288 } + } + } + } + option = { + name = EVTOPTC_WOL_5011_PUNISHER + trigger = { + has_character_flag = dog_name_punisher + FROMFROM = { character = ROOT } + } + set_character_flag = hunting_dog_already_killed + remove_character_modifier = pet_hunting_dog + hidden_tooltip = { character_event = { id = WoL.5291 } } + opinion = { + who = FROM + modifier = grievously_offended + months = 60 + } + random = { + chance = 70 + add_trait = depressed + hidden_tooltip = { + character_event = { id = 38288 } + } + } + } + + option = { + name = EVTOPTD_WOL_5011 + trigger = { + FROMFROM = { character = ROOT } + } + event_target:chinese_envoy = { + death = { + death_reason = death_execution_beheading + killer = ROOT + } + } + remove_character_modifier = pet_hunting_dog + hidden_tooltip = { character_event = { id = WoL.5291 } } + hidden_tooltip = { + character_event = { id = HL.5049 } # flag-clearing + event_target:trade_province = { province_event = { id = HL.5047 } } # clear governor modifier + } + } +} + +# Requesting partner +character_event = { + id = HL.5012 + hide_window = yes + + is_triggered_only = yes + + immediate = { + event_target:chinese_envoy = { character_event = { id = HL.5013 } } + } +} + +character_event = { + id = HL.5013 + hide_window = yes + + is_triggered_only = yes + + immediate = { + event_target:host = { character_event = { id = HL.5014 } } + } +} + +character_event = { + id = HL.5014 + desc = EVTDESC_HL_5014 + picture = GFX_evt_chinese_emissary + border = GFX_event_normal_frame_diplomacy + + is_triggered_only = yes + + immediate = { + set_character_flag = chinese_envoy_event_5 + } + + option = { + name = EVTOPTA_HL_5014 + FROMFROM = { + event_target:chinese_envoy = { + add_spouse = PREV + opinion = { + modifier = opinion_very_disappointed + who = ROOT + months = 60 + } + } + } + } + + option = { + name = EVTOPTB_HL_5014 + event_target:chinese_envoy = { + clr_character_flag = is_chinese_envoy + banish = yes + } + event_target:trade_province = { + remove_province_modifier = trade_governor + } + } +} + +# Games of chance +character_event = { + id = HL.5015 + hide_window = yes + + is_triggered_only = yes + + immediate = { + event_target:host = { + character_event = { id = HL.5016 } + } + } +} + +character_event = { + id = HL.5016 + desc = EVTDESC_HL_5016 + picture = GFX_evt_chinese_emissary + border = GFX_event_normal_frame_diplomacy + + is_triggered_only = yes + + immediate = { + set_character_flag = chinese_envoy_event_6 + } + + option = { + name = EVTOPTA_HL_5016 + scaled_wealth = -0.7 + } + + option = { + name = EVTOPTB_HL_5016 + scaled_wealth = -0.7 + event_target:chinese_envoy = { + imprison = ROOT + } + } +} + +character_event = { + id = HL.5017 + desc = EVTDESC_HL_5017 + picture = GFX_evt_chinese_emissary + border = GFX_event_normal_frame_diplomacy + + is_triggered_only = yes + + immediate = { + set_character_flag = chinese_envoy_event_3 + } + + option = { + name = EVTOPTA_HL_5017 + random = { + chance = 5 + add_trait = wounded + if = { + limit = { + NOT = { + has_dlc = "Reapers" + } + } + add_trait = ill + } + if = { + limit = { + has_dlc = "Reapers" + } + add_symptom_effect = yes + } + hidden_tooltip = { + character_event = { id = 38290 } + } + } + event_target:chinese_envoy = { + opinion = { + who = ROOT + modifier = opinion_pleased + months = 24 + } + } + } + + option = { + name = EVTOPTB_HL_5017 + } + + option = { + name = EVTOPTC_HL_5017 + event_target:chinese_envoy = { + opinion = { + who = ROOT + modifier = opinion_shocked + months = 120 + } + } + set_character_flag = chinese_envoy_snake_ban + } +} + +character_event = { + id = HL.5018 + hide_window = yes + + is_triggered_only = yes + + immediate = { + FROM = { + character_event = { id = HL.5017 } + } + } +} + +character_event = { + id = HL.5043 + hide_window = yes + + is_triggered_only = yes + + immediate = { + death = { + death_reason = death_natural + } + } +} + +# resignation +character_event = { + id = HL.5044 + hide_window = yes + + is_triggered_only = yes + + immediate = { + event_target:host = { + character_event = { id = HL.5045 } + } + } +} + +character_event = { + id = HL.5045 + desc = EVTDESC_HL_5045 + picture = GFX_evt_chinese_emissary + border = GFX_event_normal_frame_diplomacy + + is_triggered_only = yes + + option = { + name = EVTOPTA_HL_5045 + event_target:chinese_envoy = { + opinion = { + modifier = opinion_hate + who = ROOT + months = 1200 + } + clr_character_flag = is_chinese_envoy + banish = yes + character_event = { id = HL.5043 days = 90 random = 20 } + } + event_target:trade_province = { + remove_province_modifier = trade_governor + } + hidden_tooltip = { + character_event = { id = HL.5049 } + } + } +} + +# Something happened to the chinese envoy +province_event = { + id = HL.5047 + hide_window = yes + + is_triggered_only = yes + + trigger = { + has_province_modifier = trade_governor + } + + immediate = { + if = { + limit = { + NOT = { + holder_scope = { + character = event_target:host + } + event_target:chinese_envoy = { + OR = { + liege = { character = event_target:host } + host = { character = event_target:host } + } + prisoner = no + } + } + } + event_target:chinese_envoy = { clr_character_flag = is_chinese_envoy } + remove_province_modifier = trade_governor + break = yes + } + repeat_event = { id = HL.5047 days = 30 } + } +} + +# Emperor upset +letter_event = { + id = HL.5048 + desc = EVTDESC_HL_5048 + + is_triggered_only = yes + + option = { + name = EVTOPTA_HL_5048 + event_target:trade_province = { + add_province_modifier = { + modifier = chinese_embargo + months = 60 + } + } + } +} + +# Flag-clearing +character_event = { + id = HL.5049 + hide_window = yes + + is_triggered_only = yes + + option = { + clr_character_flag = chinese_envoy_event_1 + clr_character_flag = chinese_envoy_event_2 + clr_character_flag = chinese_envoy_event_3 + clr_character_flag = chinese_envoy_event_4 + clr_character_flag = chinese_envoy_event_5 + clr_character_flag = chinese_envoy_event_6 + event_target:trade_province = { + remove_province_modifier = trade_governor + } + event_target:chinese_envoy = { clr_character_flag = is_chinese_envoy } + } +} + +### +# Raiders on the trade route +province_event = { + id = HL.5050 + desc = EVTDESC_HL_5050 + picture = GFX_evt_steppe_mercenaries + border = GFX_event_normal_frame_diplomacy + + trigger = { + has_trade_post = yes + trade_route = silk_road + #trade_route_active = silk_road + holder_scope = { + age = 16 + prisoner = no + NOR = { + trait = incapable + trait = infirm + has_character_flag = do_not_disturb + } + } + } + + mean_time_to_happen = { + years = 130 + modifier = { + factor = 2 + has_province_modifier = caravan_guards + } + modifier = { + factor = 0.8 + holder_scope = { + NOR = { + stewardship = 8 + diplomacy = 8 + } + } + } + modifier = { + factor = 0.75 + holder_scope = { + NOR = { + stewardship = 5 + diplomacy = 5 + } + } + } + modifier = { + factor = 0.8 + holder_scope = { + trait = greedy + } + } + modifier = { + factor = 0.85 + holder_scope = { + trait = arbitrary + } + } + modifier = { + factor = 0.85 + holder_scope = { + trait = cruel + } + } + modifier = { + factor = 1.15 + holder_scope = { + trait = just + } + } + modifier = { + factor = 1.1 + holder_scope = { + trait = kind + } + } + modifier = { + factor = 1.25 + holder_scope = { + trait = charitable + } + } + } + + immediate = { + remove_province_modifier = caravan_guards + save_event_target_as = target_province + } + + option = { + name = EVTOPTA_HL_5050 + add_province_modifier = { + modifier = caravan_raiders + months = 180 + } + holder_scope = { + add_trait = arbitrary + scaled_wealth = 0.5 + } + } + + option = { + name = EVTOPTB_HL_5050 + trigger = { + holder_scope = { + job_marshal = { + always = yes + } + } + } + add_province_modifier = { + modifier = caravan_raiders + months = 180 + } + holder_scope = { + job_marshal = { + if = { + limit = { + NOT = { combat_rating = 1 } + } + tooltip = { + random = { + chance = 20 + death = { + death_reason = death_battle + } + } + } + } + if = { + limit = { + combat_rating = 1 + } + tooltip = { + random = { + chance = 10 + death = { + death_reason = death_battle + } + } + } + } + if = { + limit = { + combat_rating = 3 + } + tooltip = { + random = { + chance = 2 + death = { + death_reason = death_battle + } + } + } + } + hidden_tooltip = { + character_event = { id = HL.5051 days = 7 } + } + } + } + } + + option = { + name = EVTOPTC_HL_5050 + add_province_modifier = { + modifier = caravan_raiders + months = 180 + } + hidden_tooltip = { + holder_scope = { + character_event = { id = HL.5056 days = 7 } + } + } + } +} + +character_event = { + id = HL.5051 + desc = EVTDESC_HL_5051 + picture = GFX_evt_steppe_mercenaries + border = GFX_event_normal_frame_diplomacy + + is_triggered_only = yes + + option = { + name = EVTOPTA_HL_5051 + ai_chance = { + factor = 30 + } + random_list = { + 20 = { + modifier = { + factor = 0.5 + combat_rating = 1 + } + modifier = { + factor = 0.2 + combat_rating = 3 + } + death = { + death_reason = death_battle + } + hidden_tooltip = { + liege = { + character_event = { id = HL.5053 } + } + } + } + 20 = { + if = { + limit = { + NOT = { is_maimed_trigger = yes } + } + add_trait = wounded + } + hidden_tooltip = { + liege = { + character_event = { id = HL.5055 days = 7 } + } + } + } + 60 = { + prestige = 100 + tooltip = { + event_target:target_province = { + remove_province_modifier = caravan_raiders + } + } + hidden_tooltip = { + liege = { + character_event = { id = HL.5052 days = 7 } + } + } + } + } + } + + option = { + name = EVTOPTB_HL_5051 + ai_chance = { + factor = 15 + modifier = { + factor = 5 + trait = craven + } + modifier = { + factor = 0 + trait = brave + } + } + reverse_opinion = { who = FROM modifier = opinion_refused_order months = 36 } + custom_tooltip = { text = "EVTTOOLTIP_HL_5051" } + hidden_tooltip = { + liege = { character_event = { id = HL.5054 days = 7 } } + } + } +} + +character_event = { + id = HL.5052 + desc = EVTDESC_HL_5052 + picture = GFX_evt_steppe_mercenaries + border = GFX_event_normal_frame_diplomacy + + is_triggered_only = yes + + option = { + name = EVTOPTA_HL_5052 + tooltip = { FROM = { prestige = 100 } } + event_target:target_province = { + remove_province_modifier = caravan_raiders + } + } +} + +character_event = { + id = HL.5053 + desc = EVTDESC_HL_5053 + picture = GFX_evt_steppe_mercenaries + border = GFX_event_normal_frame_diplomacy + + is_triggered_only = yes + + option = { + name = EVTOPTA_HL_5053 + tooltip = { + FROM = { + death = { death_reason = death_battle } + } + } + prestige = -10 + if = { + limit = { + NOR = { trait = brave trait = berserker } + } + random = { + chance = 40 + add_trait = craven + hidden_tooltip = { character_event = { id = 38257 } } # Notify craven + } + } + if = { + limit = { + trait = brave + } + remove_trait = brave + } + } + + option = { + name = EVTOPTB_HL_5053 + tooltip = { + FROM = { + death = { death_reason = death_battle } + } + } + character_event = { id = HL.5056 days = 7 } + } + + option = { + name = EVTOPTC_HL_5053 + tooltip = { + FROM = { + death = { death_reason = death_battle } + } + } + scaled_wealth = -0.5 + event_target:target_province = { + remove_province_modifier = caravan_raiders + add_province_modifier = { + modifier = caravan_guards + months = 120 + } + } + } +} + +character_event = { + id = HL.5054 + desc = EVTDESC_HL_5054 + picture = GFX_evt_steppe_mercenaries + border = GFX_event_normal_frame_diplomacy + + is_triggered_only = yes + + option = { + name = EVTOPTA_HL_5054 + job_marshal = { + imprison = ROOT + } + } + + option = { + name = EVTOPTB_HL_5054 + character_event = { id = HL.5056 days = 7 } + } + + option = { + name = EVTOPTC_HL_5054 + scaled_wealth = -0.5 + event_target:target_province = { + remove_province_modifier = caravan_raiders + add_province_modifier = { + modifier = caravan_guards + months = 120 + } + } + } +} + +character_event = { + id = HL.5055 + desc = EVTDESC_HL_5055 + picture = GFX_evt_steppe_mercenaries + border = GFX_event_normal_frame_diplomacy + + is_triggered_only = yes + + option = { + name = EVTOPTA_HL_5055 + + } +} + +character_event = { + id = HL.5056 + desc = EVTDESC_HL_5056 + picture = GFX_evt_steppe_mercenaries + border = GFX_event_normal_frame_diplomacy + + is_triggered_only = yes + + option = { + name = EVTOPTA_HL_5056 + hidden_tooltip = { + character_event = { id = HL.5057 } + } + } + + option = { + name = EVTOPTB_HL_5056 + hidden_tooltip = { + random_list = { + 50 = { + modifier = { + factor = 0.7 + intrigue = 7 + } + modifier = { + factor = 0.7 + intrigue = 10 + } + modifier = { + factor = 0.7 + intrigue = 13 + } + character_event = { id = HL.5060 } + } + 50 = { + character_event = { id = HL.5061 } + } + } + } + } +} + +character_event = { + id = HL.5057 + desc = EVTDESC_HL_5057 + picture = GFX_evt_steppe_mercenaries + border = GFX_event_normal_frame_diplomacy + + is_triggered_only = yes + + option = { + name = EVTOPTA_HL_5057 + random_list = { + 30 = { #success + modifier = { + factor = 1.5 + combat_rating = 2 + } + prestige = 75 + event_target:target_province = { + remove_province_modifier = caravan_raiders + } + } + 20 = { #wounded + modifier = { + factor = 0.5 + combat_rating = 2 + } + modifier = { + factor = 0 + is_maimed_trigger = yes + } + add_trait = wounded + hidden_tooltip = { character_event = { id = 38280 } } + } + 10 = { #maimed + modifier = { + factor = 0.5 + combat_rating = 2 + } + modifier = { + factor = 3 + is_maimed_trigger = yes + } + add_maimed_trait_effect = yes + } + } + } + + option = { + name = EVTOPTB_HL_5057 + scaled_wealth = -1.5 + event_target:target_province = { + remove_province_modifier = caravan_raiders + } + } + + option = { + name = EVTOPTC_HL_5057 + hidden_tooltip = { + character_event = { id = HL.5058 } + } + } +} + +character_event = { + id = HL.5058 + desc = EVTDESC_HL_5058 + picture = GFX_evt_steppe_mercenaries + border = GFX_event_normal_frame_diplomacy + + is_triggered_only = yes + + option = { + name = EVTOPTA_HL_5058 + character_event = { id = HL.5059 } + } +} + +character_event = { + id = HL.5059 + desc = EVTDESC_HL_5059 + picture = GFX_evt_steppe_mercenaries + border = GFX_event_normal_frame_diplomacy + + is_triggered_only = yes + + option = { + name = EVTOPTA_HL_5059 + scaled_wealth = -1 + prestige = -75 + } + + option = { + name = EVTOPTB_HL_5059 + prestige = -100 + add_character_modifier = { + modifier = publicly_humiliated + months = 36 + } + } +} + +character_event = { + id = HL.5060 + desc = EVTDESC_HL_5060 + picture = GFX_evt_steppe_mercenaries + border = GFX_event_normal_frame_diplomacy + + is_triggered_only = yes + + option = { + name = EVTOPTA_HL_5060 + ai_chance = { + factor = 1 + } + character_event = { id = HL.5059 } + } + + option = { + name = EVTOPTB_HL_5060 + ai_chance = { + factor = 0 + } + trigger = { + trait = duelist + } + tooltip_info = duelist + random_list = { + 80 = { + death = { death_reason = death_battle } + } + 20 = { + modifier = { + factor = 2 + combat_rating = 3 + } + modifier = { + factor = 2 + combat_rating = 5 + } + modifier = { + factor = 2 + combat_rating = 7 + } + modifier = { + factor = 0.1 + NOT = { combat_rating = -1 } + } + modifier = { + factor = 0.1 + NOT = { combat_rating = -4 } + } + prestige = 75 + event_target:target_province = { + remove_province_modifier = caravan_raiders + } + } + } + } + + option = { + name = EVTOPTB_HL_5060 + ai_chance = { + factor = 0 + } + trigger = { + trait = lunatic + } + tooltip_info = lunatic + random_list = { + 80 = { + death = { death_reason = death_battle } + } + 20 = { + modifier = { + factor = 2 + combat_rating = 3 + } + modifier = { + factor = 2 + combat_rating = 5 + } + modifier = { + factor = 2 + combat_rating = 7 + } + modifier = { + factor = 0.1 + NOT = { combat_rating = -1 } + } + modifier = { + factor = 0.1 + NOT = { combat_rating = -4 } + } + prestige = 75 + event_target:target_province = { + remove_province_modifier = caravan_raiders + } + } + } + } +} + +character_event = { + id = HL.5061 + desc = EVTDESC_HL_5061 + picture = GFX_evt_steppe_mercenaries + border = GFX_event_normal_frame_diplomacy + + is_triggered_only = yes + + option = { + name = EVTOPTA_HL_5061 + ai_chance = { + factor = 1 + } + event_target:target_province = { + remove_province_modifier = caravan_raiders + } + } + + option = { + name = EVTOPTB_HL_5061 + ai_chance = { + factor = 0 + } + random_list = { + 80 = { + death = { death_reason = death_battle } + } + 20 = { + modifier = { + factor = 2 + combat_rating = 3 + } + modifier = { + factor = 2 + combat_rating = 5 + } + modifier = { + factor = 2 + combat_rating = 7 + } + modifier = { + factor = 0.1 + NOT = { combat_rating = -1 } + } + modifier = { + factor = 0.1 + NOT = { combat_rating = -4 } + } + } + } + add_trait = cruel + event_target:target_province = { + remove_province_modifier = caravan_raiders + } + } +} \ No newline at end of file diff --git a/LCDA/events/indian_pilgrim_events.txt b/LCDA/events/indian_pilgrim_events.txt new file mode 100644 index 0000000..59ba711 --- /dev/null +++ b/LCDA/events/indian_pilgrim_events.txt @@ -0,0 +1,2432 @@ + +########################################### +# # +# Indian Pilgrimage Events # +# # +# ID MNM.8000-8093 # +# # +########################################### + +# Adopted to Dharmic Religions by Henrik Lohmander + +namespace = MNM + +# Confirm decision and check religion + +character_event = { + id = MNM.8000 + desc = EVTDESC_MNM_8000 + picture = GFX_evt_dharmic_pilgrims + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + option = { + name = EVTOPTA_MNM_8000 + piety = 20 + set_character_flag = preparing_indian_pilgrimage + clr_character_flag = activated_indian_pilgrimage + hidden_tooltip = { + if = { + limit = { + religion = buddhist + } + character_event = { id = MNM.8001 } #Buddhist sites + } + if = { + limit = { + religion = jain #Jain Sites + } + character_event = { id = MNM.8002 } + } + if = { + limit = { + religion = hindu #Hindu Sites + } + character_event = { id = MNM.8003 } + } + } + } +} + +# Choose destination as Buddhist +character_event = { + id = MNM.8001 + desc = EVTDESC_MNM_8001 + picture = GFX_evt_dharmic_pilgrims + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + option = { + name = EVTOPTA_MNM_8001 + trigger = { + NOT = { capital_scope = { province_id = 1163 } } + } + set_character_flag = pilgrimage_to_sarnath + hidden_tooltip = { + character_event = { id = MNM.8004 days = 30 } + } + if = { + limit = { ai = no } + chronicle = { + entry = CHRONICLE_PILGRIMAGE_TO_SARNATH + picture = GFX_evt_dharmic_pilgrims + } + } + } + + option = { + name = EVTOPTB_MNM_8001 #Bodh Gaya + trigger = { + NOT = { capital_scope = { province_id = 1276 } } + } + set_character_flag = pilgrimage_to_bodh_gaya + hidden_tooltip = { + character_event = { id = MNM.8005 days = 30 } + } + if = { + limit = { ai = no } + chronicle = { + entry = CHRONICLE_PILGRIMAGE_TO_BODH_GAYA + picture = GFX_evt_dharmic_pilgrims + } + } + } + option = { + name = EVTOPTC_MNM_8001 + trigger = { + NOT = { capital_scope = { province_id = 1170 } } + } + set_character_flag = pilgrimage_to_sanchi + hidden_tooltip = { + character_event = { id = MNM.8006 days = 30 } + } + if = { + limit = { ai = no } + chronicle = { + entry = CHRONICLE_PILGRIMAGE_TO_SANCHI + picture = GFX_evt_dharmic_pilgrims + } + } + } +} + +# Choose destination as Jain +character_event = { + id = MNM.8002 + desc = EVTDESC_MNM_8002 + picture = GFX_evt_dharmic_pilgrims + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + option = { + name = EVTOPTA_MNM_8002 + trigger = { + NOT = { capital_scope = { province_id = 1196 } } + } + set_character_flag = pilgrimage_to_shravanabeagola + hidden_tooltip = { + character_event = { id = MNM.8007 days = 30 } + } + if = { + limit = { ai = no } + chronicle = { + entry = CHRONICLE_PILGRIMAGE_TO_SHRAVANABELAGOLA + picture = GFX_evt_dharmic_pilgrims + } + } + } + + option = { + name = EVTOPTB_MNM_8002 + trigger = { + NOT = { capital_scope = { province_id = 1134 } } + } + set_character_flag = pilgrimage_to_girnar + hidden_tooltip = { + character_event = { id = MNM.8008 days = 30 } + } + if = { + limit = { ai = no } + chronicle = { + entry = CHRONICLE_PILGRIMAGE_TO_GIRNAR + picture = GFX_evt_dharmic_pilgrims + } + } + } + option = { + name = EVTOPTC_MNM_8002 + trigger = { + NOT = { capital_scope = { province_id = 1234 } } + } + set_character_flag = pilgrimage_to_shikarji + hidden_tooltip = { + character_event = { id = MNM.8009 days = 30 } + } + if = { + limit = { ai = no } + chronicle = { + entry = CHRONICLE_PILGRIMAGE_TO_SHIKARJI + picture = GFX_evt_dharmic_pilgrims + } + } + } +} + +# Choose destination as Hindu +character_event = { + id = MNM.8003 + desc = EVTDESC_MNM_8003 + picture = GFX_evt_dharmic_pilgrims + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + option = { + name = EVTOPTA_MNM_8003 + trigger = { + NOT = { capital_scope = { province_id = 1196 } } + } + set_character_flag = pilgrimage_to_varanasi + hidden_tooltip = { + character_event = { id = MNM.8011 days = 30 } + } + if = { + limit = { ai = no } + chronicle = { + entry = CHRONICLE_PILGRIMAGE_TO_VARANASI + picture = GFX_evt_dharmic_pilgrims + } + } + } + + option = { + name = EVTOPTB_MNM_8003 + trigger = { + NOT = { capital_scope = { province_id = 1134 } } + } + set_character_flag = pilgrimage_to_girnar + hidden_tooltip = { + character_event = { id = MNM.8008 days = 30 } + } + if = { + limit = { ai = no } + chronicle = { + entry = CHRONICLE_PILGRIMAGE_TO_GIRNAR + picture = GFX_evt_dharmic_pilgrims + } + } + } + option = { + name = EVTOPTC_MNM_8003 + trigger = { + NOT = { capital_scope = { province_id = 1234 } } + } + set_character_flag = pilgrimage_to_mathura + hidden_tooltip = { + character_event = { id = MNM.8010 days = 30 } + } + if = { + limit = { ai = no } + chronicle = { + entry = CHRONICLE_PILGRIMAGE_TO_MATHURA + picture = GFX_evt_dharmic_pilgrims + } + } + } +} + + +#Journey + +# Setting out for Sarnath +character_event = { + id = MNM.8004 + desc = EVTDESC_MNM_8004 + picture = GFX_evt_dharmic_pilgrims + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + option = { + name = EVTOPTA_MNM_8004 + clr_character_flag = preparing_indian_pilgrimage + hidden_tooltip = { + add_trait = on_indian_pilgrimage + set_character_flag = good_pilgrimage + narrative_event = { id = MNM.8050 days = 45 } #Arrival in Sarnath + } + hidden_tooltip = { + if = { + limit = { + location = { + distance = { + where = 1163 # Sarnath + value = 300 # Longer journey + } + } + } + random_list = { #Long Journey + 10 = { + modifier = { + factor = 0 + month = 6 + NOT = { month = 9 } + } + character_event = { id = MNM.8020 days = 15 random = 9 } + } #Monsoon Troubles + 10 = { + modifier = { + factor = 0 + NOT = { month = 4 } + } + character_event = { id = MNM.8021 days = 15 random = 9 } + } #Dry Season Troubles + 10 = { character_event = { id = MNM.8022 days = 15 random = 9 } } #Getting lost in the Jungle + 10 = { character_event = { id = MNM.8023 days = 15 random = 9 } } #Robbers on the road + 10 = { character_event = { id = MNM.8024 days = 15 random = 9 } } #Encounter in Dandakaranya + 10 = { character_event = { id = MNM.8037 days = 15 random = 9 } }#What's happening at home? + } + } + + random_list = { #Stuff that always happen + 10 = { character_event = { id = MNM.8025 days = 30 random = 7 } } #The poor villagers + 10 = { character_event = { id = MNM.8026 days = 30 random = 7 } } #Reflections about journey + 10 = { character_event = { id = MNM.8027 days = 30 random = 7 } } #Encounter with merchant + 10 = { character_event = { id = MNM.8028 days = 30 random = 7 } } #You get sick + 10 = { character_event = { id = MNM.8029 days = 30 random = 7 } } #Water tanks + 10 = { character_event = { id = MNM.8030 days = 30 random = 7 } } #Village Pipal Tree + 10 = { character_event = { id = MNM.8031 days = 30 random = 7 } } #Splendid City + } + } + } +} + +# Setting out for Bodh Gaya +character_event = { + id = MNM.8005 + desc = EVTDESC_MNM_8005 + picture = GFX_evt_dharmic_pilgrims + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + option = { + name = EVTOPTA_MNM_8005 + clr_character_flag = preparing_indian_pilgrimage + hidden_tooltip = { + add_trait = on_indian_pilgrimage + set_character_flag = good_pilgrimage + narrative_event = { id = MNM.8051 days = 45 } #Arrival in Bodh Gaya + } + hidden_tooltip = { + if = { + limit = { + location = { + distance = { + where = 1276 # Bodh Gaya + value = 300 # Longer journey + } + } + } + random_list = { #Long Journey + 10 = { + modifier = { + factor = 0 + month = 6 + NOT = { month = 9 } + } + character_event = { id = MNM.8020 days = 15 random = 9 } + } #Monsoon Troubles + 10 = { + modifier = { + factor = 0 + NOT = { month = 4 } + } + character_event = { id = MNM.8021 days = 15 random = 9 } + } #Dry Season Troubles + 10 = { character_event = { id = MNM.8022 days = 15 random = 9 } } #Getting lost in the Jungle + 10 = { character_event = { id = MNM.8023 days = 15 random = 9 } } #Robbers on the road + 10 = { character_event = { id = MNM.8024 days = 15 random = 9 } } #Encounter in Dandakaranya + 10 = { character_event = { id = MNM.8037 days = 15 random = 9 } }#What's happening at home? + } + } + + random_list = { #Stuff that always happen + 10 = { character_event = { id = MNM.8025 days = 30 random = 7 } } #The poor villagers + 10 = { character_event = { id = MNM.8026 days = 30 random = 7 } } #Reflections about journey + 10 = { character_event = { id = MNM.8027 days = 30 random = 7 } } #Encounter with merchant + 10 = { character_event = { id = MNM.8028 days = 30 random = 7 } } #You get sick + 10 = { character_event = { id = MNM.8029 days = 30 random = 7 } } #Water tanks + 10 = { character_event = { id = MNM.8030 days = 30 random = 7 } } #Village Pipal Tree + 10 = { character_event = { id = MNM.8031 days = 30 random = 7 } } #Splendid City + } + } + } +} + +# Setting out for Sanchi +character_event = { + id = MNM.8006 + desc = EVTDESC_MNM_8006 + picture = GFX_evt_dharmic_pilgrims + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + option = { + name = EVTOPTA_MNM_8006 + clr_character_flag = preparing_indian_pilgrimage + hidden_tooltip = { + add_trait = on_indian_pilgrimage + set_character_flag = good_pilgrimage + narrative_event = { id = MNM.8052 days = 45 } #Arrival in Sanchi + } + hidden_tooltip = { + if = { + limit = { + location = { + distance = { + where = 1170 # Sanchi + value = 300 # Longer journey + } + } + } + random_list = { #Long Journey + 10 = { + modifier = { + factor = 0 + month = 6 + NOT = { month = 9 } + } + character_event = { id = MNM.8020 days = 15 random = 9 } + } #Monsoon Troubles + 10 = { + modifier = { + factor = 0 + NOT = { month = 4 } + } + character_event = { id = MNM.8021 days = 15 random = 9 } + } #Dry Season Troubles + 10 = { character_event = { id = MNM.8022 days = 15 random = 9 } } #Getting lost in the Jungle + 10 = { character_event = { id = MNM.8023 days = 15 random = 9 } } #Robbers on the road + 10 = { character_event = { id = MNM.8024 days = 15 random = 9 } } #Encounter in Dandakaranya + 10 = { character_event = { id = MNM.8037 days = 15 random = 9 } }#What's happening at home? + } + } + + random_list = { #Stuff that always happen + 10 = { character_event = { id = MNM.8025 days = 30 random = 7 } } #The poor villagers + 10 = { character_event = { id = MNM.8026 days = 30 random = 7 } } #Reflections about journey + 10 = { character_event = { id = MNM.8027 days = 30 random = 7 } } #Encounter with merchant + 10 = { character_event = { id = MNM.8028 days = 30 random = 7 } } #You get sick + 10 = { character_event = { id = MNM.8029 days = 30 random = 7 } } #Water tanks + 10 = { character_event = { id = MNM.8030 days = 30 random = 7 } } #Village Pipal Tree + 10 = { character_event = { id = MNM.8031 days = 30 random = 7 } } #Splendid City + } + } + } +} + +# Setting out for Shravanabelagola +character_event = { + id = MNM.8007 + desc = EVTDESC_MNM_8007 + picture = GFX_evt_dharmic_pilgrims + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + option = { + name = EVTOPTA_MNM_8007 + clr_character_flag = preparing_indian_pilgrimage + hidden_tooltip = { + add_trait = on_indian_pilgrimage + set_character_flag = good_pilgrimage + narrative_event = { id = MNM.8053 days = 45 } #Arrival in Shravanabelagola + } + hidden_tooltip = { + if = { + limit = { + location = { + distance = { + where = 1196 # Shravanabelagola + value = 300 # Longer journey + } + } + } + random_list = { #Long Journey + 10 = { + modifier = { + factor = 0 + month = 6 + NOT = { month = 9 } + } + character_event = { id = MNM.8020 days = 15 random = 9 } + } #Monsoon Troubles + 10 = { + modifier = { + factor = 0 + NOT = { month = 4 } + } + character_event = { id = MNM.8021 days = 15 random = 9 } + } #Dry Season Troubles + 10 = { character_event = { id = MNM.8022 days = 15 random = 9 } } #Getting lost in the Jungle + 10 = { character_event = { id = MNM.8023 days = 15 random = 9 } } #Robbers on the road + 10 = { character_event = { id = MNM.8024 days = 15 random = 9 } } #Encounter in Dandakaranya + 10 = { character_event = { id = MNM.8037 days = 15 random = 9 } }#What's happening at home? + } + } + + random_list = { #Stuff that always happen + 10 = { character_event = { id = MNM.8025 days = 30 random = 7 } } #The poor villagers + 10 = { character_event = { id = MNM.8026 days = 30 random = 7 } } #Reflections about journey + 10 = { character_event = { id = MNM.8027 days = 30 random = 7 } } #Encounter with merchant + 10 = { character_event = { id = MNM.8028 days = 30 random = 7 } } #You get sick + 10 = { character_event = { id = MNM.8029 days = 30 random = 7 } } #Water tanks + 10 = { character_event = { id = MNM.8030 days = 30 random = 7 } } #Village Pipal Tree + 10 = { character_event = { id = MNM.8031 days = 30 random = 7 } } #Splendid City + } + } + } +} + +# Setting out for Girnar +character_event = { + id = MNM.8008 + desc = EVTDESC_MNM_8008 + picture = GFX_evt_dharmic_pilgrims + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + option = { + name = EVTOPTA_MNM_8008 + clr_character_flag = preparing_indian_pilgrimage + hidden_tooltip = { + add_trait = on_indian_pilgrimage + set_character_flag = good_pilgrimage + narrative_event = { id = MNM.8054 days = 45 } #Arrival in Girnar + } + hidden_tooltip = { + if = { + limit = { + location = { + distance = { + where = 1134 # Girnar + value = 300 # Longer journey + } + } + } + random_list = { #Long Journey + 10 = { + modifier = { + factor = 0 + month = 6 + NOT = { month = 9 } + } + character_event = { id = MNM.8020 days = 15 random = 9 } + } #Monsoon Troubles + 10 = { + modifier = { + factor = 0 + NOT = { month = 4 } + } + character_event = { id = MNM.8021 days = 15 random = 9 } + } #Dry Season Troubles + 10 = { character_event = { id = MNM.8022 days = 15 random = 9 } } #Getting lost in the Jungle + 10 = { character_event = { id = MNM.8023 days = 15 random = 9 } } #Robbers on the road + 10 = { character_event = { id = MNM.8024 days = 15 random = 9 } } #Encounter in Dandakaranya + 10 = { character_event = { id = MNM.8037 days = 15 random = 9 } }#What's happening at home? + } + } + + random_list = { #Stuff that always happen + 10 = { character_event = { id = MNM.8025 days = 30 random = 7 } } #The poor villagers + 10 = { character_event = { id = MNM.8026 days = 30 random = 7 } } #Reflections about journey + 10 = { character_event = { id = MNM.8027 days = 30 random = 7 } } #Encounter with merchant + 10 = { character_event = { id = MNM.8028 days = 30 random = 7 } } #You get sick + 10 = { character_event = { id = MNM.8029 days = 30 random = 7 } } #Water tanks + 10 = { character_event = { id = MNM.8030 days = 30 random = 7 } } #Village Pipal Tree + 10 = { character_event = { id = MNM.8031 days = 30 random = 7 } } #Splendid City + } + } + } +} + +# Setting out for Shikarji +character_event = { + id = MNM.8009 + desc = EVTDESC_MNM_8009 + picture = GFX_evt_dharmic_pilgrims + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + option = { + name = EVTOPTA_MNM_8009 + clr_character_flag = preparing_indian_pilgrimage + hidden_tooltip = { + add_trait = on_indian_pilgrimage + set_character_flag = good_pilgrimage + narrative_event = { id = MNM.8055 days = 45 } #Arrival in Shikarji + } + hidden_tooltip = { + if = { + limit = { + location = { + distance = { + where = 1234 # Shikarji + value = 300 # Longer journey + } + } + } + random_list = { #Long Journey + 10 = { + modifier = { + factor = 0 + month = 6 + NOT = { month = 9 } + } + character_event = { id = MNM.8020 days = 15 random = 9 } + } #Monsoon Troubles + 10 = { + modifier = { + factor = 0 + NOT = { month = 4 } + } + character_event = { id = MNM.8021 days = 15 random = 9 } + } #Dry Season Troubles + 10 = { character_event = { id = MNM.8022 days = 15 random = 9 } } #Getting lost in the Jungle + 10 = { character_event = { id = MNM.8023 days = 15 random = 9 } } #Robbers on the road + 10 = { character_event = { id = MNM.8024 days = 15 random = 9 } } #Encounter in Dandakaranya + 10 = { character_event = { id = MNM.8037 days = 15 random = 9 } }#What's happening at home? + } + } + + random_list = { #Stuff that always happen + 10 = { character_event = { id = MNM.8025 days = 30 random = 7 } } #The poor villagers + 10 = { character_event = { id = MNM.8026 days = 30 random = 7 } } #Reflections about journey + 10 = { character_event = { id = MNM.8027 days = 30 random = 7 } } #Encounter with merchant + 10 = { character_event = { id = MNM.8028 days = 30 random = 7 } } #You get sick + 10 = { character_event = { id = MNM.8029 days = 30 random = 7 } } #Water tanks + 10 = { character_event = { id = MNM.8030 days = 30 random = 7 } } #Village Pipal Tree + 10 = { character_event = { id = MNM.8031 days = 30 random = 7 } } #Splendid City + } + } + } +} + +# Setting out for Mathura +character_event = { + id = MNM.8010 + desc = EVTDESC_MNM_8010 + picture = GFX_evt_dharmic_pilgrims + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + option = { + name = EVTOPTA_MNM_8009 + clr_character_flag = preparing_indian_pilgrimage + hidden_tooltip = { + add_trait = on_indian_pilgrimage + set_character_flag = good_pilgrimage + narrative_event = { id = MNM.8056 days = 45 } #Arrival in Mathura + } + hidden_tooltip = { + if = { + limit = { + location = { + distance = { + where = 1359 # Mathura + value = 300 # Longer journey + } + } + } + random_list = { #Long Journey + 10 = { + modifier = { + factor = 0 + month = 6 + NOT = { month = 9 } + } + character_event = { id = MNM.8020 days = 15 random = 9 } + } #Monsoon Troubles + 10 = { + modifier = { + factor = 0 + NOT = { month = 4 } + } + character_event = { id = MNM.8021 days = 15 random = 9 } + } #Dry Season Troubles + 10 = { character_event = { id = MNM.8022 days = 15 random = 9 } } #Getting lost in the Jungle + 10 = { character_event = { id = MNM.8023 days = 15 random = 9 } } #Robbers on the road + 10 = { character_event = { id = MNM.8024 days = 15 random = 9 } } #Encounter in Dandakaranya + 10 = { character_event = { id = MNM.8037 days = 15 random = 9 } }#What's happening at home? + } + } + + random_list = { #Stuff that always happen + 10 = { character_event = { id = MNM.8025 days = 30 random = 7 } } #The poor villagers + 10 = { character_event = { id = MNM.8026 days = 30 random = 7 } } #Reflections about journey + 10 = { character_event = { id = MNM.8027 days = 30 random = 7 } } #Encounter with merchant + 10 = { character_event = { id = MNM.8028 days = 30 random = 7 } } #You get sick + 10 = { character_event = { id = MNM.8029 days = 30 random = 7 } } #Water tanks + 10 = { character_event = { id = MNM.8030 days = 30 random = 7 } } #Village Pipal Tree + 10 = { character_event = { id = MNM.8031 days = 30 random = 7 } } #Splendid City + } + } + } +} + +# Setting out for Varanasi +character_event = { + id = MNM.8011 + desc = EVTDESC_MNM_8011 + picture = GFX_evt_dharmic_pilgrims + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + option = { + name = EVTOPTA_MNM_8011 + clr_character_flag = preparing_indian_pilgrimage + hidden_tooltip = { + add_trait = on_indian_pilgrimage + set_character_flag = good_pilgrimage + narrative_event = { id = MNM.8057 days = 45 } #Arrival in Varanasi + } + hidden_tooltip = { + if = { + limit = { + location = { + distance = { + where = 1163 # Varanasi + value = 300 # Longer journey + } + } + } + random_list = { #Long Journey + 10 = { + modifier = { + factor = 0 + month = 6 + NOT = { month = 9 } + } + character_event = { id = MNM.8020 days = 15 random = 9 } + } #Monsoon Troubles + 10 = { + modifier = { + factor = 0 + NOT = { month = 4 } + } + character_event = { id = MNM.8021 days = 15 random = 9 } + } #Dry Season Troubles + 10 = { character_event = { id = MNM.8022 days = 15 random = 9 } } #Getting lost in the Jungle + 10 = { character_event = { id = MNM.8023 days = 15 random = 9 } } #Robbers on the road + 10 = { character_event = { id = MNM.8024 days = 15 random = 9 } } #Encounter in Dandakaranya + 10 = { character_event = { id = MNM.8037 days = 15 random = 9 } }#What's happening at home? + } + } + + random_list = { #Stuff that always happen + 10 = { character_event = { id = MNM.8025 days = 30 random = 7 } } #The poor villagers + 10 = { character_event = { id = MNM.8026 days = 30 random = 7 } } #Reflections about journey + 10 = { character_event = { id = MNM.8027 days = 30 random = 7 } } #Encounter with merchant + 10 = { character_event = { id = MNM.8028 days = 30 random = 7 } } #You get sick + 10 = { character_event = { id = MNM.8029 days = 30 random = 7 } } #Water tanks + 10 = { character_event = { id = MNM.8030 days = 30 random = 7 } } #Village Pipal Tree + 10 = { character_event = { id = MNM.8031 days = 30 random = 7 } } #Splendid City + } + } + } +} + +# Troublesome Monsoon +character_event = { + id = MNM.8020 + desc = EVTDESC_MNM_8020 + picture = GFX_evt_india_rural_scene + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + option = { + name = EVTOPTA_MNM_8020 + ai_chance = { + factor = 10 + } + piety = 50 + random_list = { + 10 = { + give_pneumonic_effect = yes + } + 30 = { + give_ill_effect = yes + } + 60 = { + } + } + } + option = { + name = EVTOPTB_MNM_8020 + ai_chance = { + factor = 90 + } + add_trait_cynical_effect = yes + random_list = { + 5 = { + give_pneumonic_effect = yes + } + 15 = { + give_ill_effect = yes + } + 80 = { + } + } + } +} + +# Dry Season Troubles +character_event = { + id = MNM.8021 + desc = EVTDESC_MNM_8021 + picture = GFX_evt_desert + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + option = { + name = EVTOPTA_MNM_8021 + ai_chance = { + factor = 50 + } + add_trait_charitable_effect = yes + piety = 15 + wealth = -25 + } + option = { + name = EVTOPTB_MNM_8021 + ai_chance = { + factor = 50 + } + add_trait_cynical_effect = yes + } +} + +# Getting Lost in the Jungle +character_event = { + id = MNM.8022 + desc = EVTDESC_MNM_8022 + picture = GFX_evt_tiger + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + option = { + name = EVTOPTA_MNM_8022 + ai_chance = { + factor = 50 + } + if = { + limit = { NOT = { trait = wroth } } + random = { + chance = 30 + add_trait_wroth_effect = yes + } + } + } + option = { + name = EVTOPTB_MNM_8022 + ai_chance = { + factor = 50 + } + if = { + limit = { NOT = { trait = patient } } + random = { + chance = 30 + add_trait_patient_effect = yes + } + } + } + option = { + name = EVTOPTC_MNM_8022 #May be hurt, may be brave, may get leader trait. Or nothing happens. + ai_chance = { + factor = 0 + } + if = { + limit = { NOT = { trait = jungle_terrain_leader } } + random = { + chance = 10 + add_trait = jungle_terrain_leader + } + } + if = { + limit = { NOT = { trait = wounded } } + random = { + chance = 10 + add_trait_wounded_effect = yes + } + } + if = { + limit = { NOT = { trait = brave } } + random = { + chance = 10 + add_trait_brave_effect = yes + } + } + } +} + +# Robber Barons of India +character_event = { + id = MNM.8023 + desc = EVTDESC_MNM_8023 + picture = GFX_evt_bandits + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + option = { + name = EVTOPTA_MNM_8023 + ai_chance = { + factor = 90 + } + wealth = -10 + } + option = { + name = EVTOPTB_MNM_8023 + tooltip_info = martial + trigger = { + martial = 10 + } + ai_chance = { + factor = 10 + } + if = { + limit = { NOT = { trait = brave } } + add_trait = brave + } + random = { + chance = 10 + add_trait = wounded + hidden_tooltip = { + character_event = { + id = 38280 #Notify Wounded + } + } + } + } +} + +# Dandakaranya +character_event = { + id = MNM.8024 + desc = EVTDESC_MNM_8024 + picture = GFX_evt_tiger + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + option = { + name = EVTOPTA_MNM_8024 + ai_chance = { + factor = 90 + } + add_trait_craven_effect = yes + } + option = { + name = EVTOPTB_MNM_8024 + tooltip_info = martial + trigger = { + martial = 10 + } + ai_chance = { + factor = 10 + } + if = { + limit = { NOT = { trait = brave } } + add_trait = brave + } + random = { + chance = 10 + add_trait = wounded + hidden_tooltip = { + character_event = { + id = 38280 #Notify Wounded + } + } + } + } +} + +# What's happening at home? +character_event = { + id = MNM.8037 + desc = EVTDESC_MNM_8037 + picture = GFX_evt_throne_room_indo_aryan_group + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + option = { + name = EVTOPTA_MNM_8037 + random_list = { + 25 = { add_trait_trusting_effect = yes } + 25 = { add_trait_brave_effect = yes } + 50 = { } + } + } + option = { + name = EVTOPTB_MNM_8037 + random_list = { + 25 = { add_trait_cynical_effect = yes } + 25 = { add_trait_paranoid_effect = yes } + 50 = { } + } + + } +} + + +# The poor villagers +character_event = { + id = MNM.8025 + desc = EVTDESC_MNM_8025 + picture = GFX_evt_market + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + option = { + name = EVTOPTA_MNM_8025 + ai_chance = { + factor = 90 + } + add_trait_temperate_effect = yes + if = { + limit = { + trait = gluttonous + } + remove_trait = gluttonous + } + } + option = { + name = EVTOPTB_MNM_8025 + ai_chance = { + factor = 10 + } + wealth = 25 + remove_trait_kind_effect = yes + add_trait_deceitful_effect = yes + } +} + +# Philosophical ponderings (very similar to Christian Pilgrimage) +character_event = { + id = MNM.8026 + desc = EVTDESC_MNM_8026 + picture = GFX_evt_bishop_indian_group + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + option = { + name = EVTOPTA_MNM_8026 + if = { + limit = { + NOR = { + lifestyle_traits = 1 + has_dlc = "Way of Life" + } + } + random_list = { + 10 = { + add_trait = scholar + } + 10 = { + add_trait = mystic + } + 10 = { + add_trait = poet + } + 10 = { + add_trait = zealous + } + 10 = { + add_trait = depressed + } + 50 = { + } + } + break = yes + } + if = { + limit = { + OR = { + lifestyle_traits = 1 + has_dlc = "Way of Life" + } + } + random_list = { + 20 = { + add_trait = poet + } + 20 = { + add_trait = zealous + } + 10 = { + add_trait = depressed + } + 50 = { + } + } + } + } + option = { + name = EVTOPTB_MNM_8026 + if = { + limit = { NOT = { trait = cynical } } + random = { + chance = 20 + add_trait_cynical_effect = yes + } + } + } +} + +# Fellow Travellers +character_event = { + id = MNM.8027 + desc = EVTDESC_MNM_8027 + picture = GFX_evt_throne_room_indo_aryan_group + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + option = { + name = EVTOPTA_MNM_8027 + ai_chance = { + factor = 50 + } + piety = 25 + } + option = { + name = EVTOPTB_MNM_8027 + ai_chance = { + factor = 50 + } + add_trait_proud_effect = yes + } +} + +# You get Sick +character_event = { + id = MNM.8028 + desc = EVTDESC_MNM_8028 + picture = GFX_evt_illness + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + option = { + name = EVTOPTA_MNM_8028 + ai_chance = { + factor = 50 + } + random = { + chance = 50 + if = { + limit = { + NOT = { + has_dlc = "Reapers" + } + } + add_trait = ill + } + if = { + limit = { + has_dlc = "Reapers" + } + add_symptom_effect = yes + } + } + } + option = { + name = EVTOPTB_MNM_8028 + ai_chance = { + factor = 50 + } + random = { + chance = 20 + if = { + limit = { + NOT = { + has_dlc = "Reapers" + } + } + add_trait = ill + } + if = { + limit = { + has_dlc = "Reapers" + } + add_symptom_effect = yes + } + } + if = { + limit = { NOT = { trait = cynical } } + random = { + chance = 50 + add_trait = cynical + hidden_tooltip = { + character_event = { + id = 38258 #Notify Cynical + } + } + } + } + } +} + +#Water Tanks +character_event = { + id = MNM.8029 + desc = EVTDESC_MNM_8029 + picture = GFX_evt_india_rural_scene + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + option = { + name = EVTOPTA_MNM_8029 + ai_chance = { + factor = 50 + } + random_list = { + 10 = { change_stewardship = 1 } + 40 = { economy_techpoints = 40 } + 50 = { } #Nothing + } + } + option = { + name = EVTOPTB_MNM_8029 + ai_chance = { + factor = 50 + } + prestige = 20 + if = { + limit = { NOT = { trait = proud } } + random = { + chance = 30 + add_trait = proud + hidden_tooltip = { + character_event = { + id = 38261 #Notify Proud + } + } + } + } + } +} + +# Village Pipal Tree +character_event = { + id = MNM.8030 + desc = EVTDESC_MNM_8030 + picture = GFX_evt_india_temple + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + option = { + name = EVTOPTA_MNM_8030 + piety = 50 + if = { + limit = { NOT = { trait = zealous } } + random = { + chance = 30 + add_trait = zealous + hidden_tooltip = { + character_event = { + id = 38269 #Notify Zealous + } + } + } + } + } + option = { + name = EVTOPTB_MNM_8030 + prestige = 50 + if = { + limit = { NOT = { trait = cynical } } + random = { + chance = 30 + add_trait = cynical + hidden_tooltip = { + character_event = { + id = 38258 #Notify Cynical + } + } + } + } + } +} + +# Splendid City +character_event = { + id = MNM.8031 + desc = EVTDESC_MNM_8031 #This city is loosely based on Chanderi as described by Babur + picture = GFX_evt_dharmic_pilgrims + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + option = { + name = EVTOPTA_MNM_8031 + custom_tooltip = { text = EVTOPTA_MNM_8031_TOOLTIP } + piety = -10 + hidden_tooltip = { + random_list = { + 15 = { character_event = { id = MNM.8034 } } # A new Friend + 15 = { + character_event = { id = MNM.8035 } + } # A new Enemy + 70 = { character_event = { id = MNM.8036 } } #A day wasted + } + } + } + option = { + name = EVTOPTB_MNM_8031 + piety = 25 + } +} + +# Splendid City - A new Friend +character_event = { + id = MNM.8034 + picture = GFX_evt_dharmic_pilgrims + border = GFX_event_normal_frame_religion + + desc = { + text = EVTDESC_MNM_8034_common_origin + trigger = { + event_target:new_friend_far_away_from_home = { + same_realm = ROOT + } + } + } + desc = { + text = EVTDESC_MNM_8034 + trigger = { + event_target:new_friend_far_away_from_home = { + NOT = { same_realm = ROOT } + } + } + } + + is_triggered_only = yes + + immediate = { + random_realm_character = { #Should almost always pick someone. + limit = { + NOT = { is_close_relative = ROOT } + is_adult = yes + is_landed = no + has_job_title = no + NOT = { is_friend = ROOT } + NOT = { is_rival = ROOT } + } + save_event_target_as = new_friend_far_away_from_home + } + random_vassal = { #This should often always overwrite the above + limit = { + any_character = { + is_heir = PREV + is_landed = no + NOT = { is_close_relative = ROOT } + NOT = { is_friend = ROOT } + NOT = { is_rival = ROOT } + is_adult = yes + ai = yes + } + } + capital_scope = { + save_event_target_as = home_of_new_friend + } + current_heir = { + if = { + limit = { + is_landed = no + NOT = { is_friend = ROOT } + NOT = { is_rival = ROOT } + NOT = { is_close_relative = ROOT } + is_adult = yes + ai = yes + } + save_event_target_as = new_friend_far_away_from_home + } + + } + } + random_independent_ruler = { #This should often overwrite the above + limit = { + primary_title = { + temporary = no + } + is_landed = yes + NOT = { is_close_relative = ROOT } + culture_group = ROOT + is_adult = yes + NOT = { is_friend = ROOT } + NOT = { is_rival = ROOT } + any_character = { + is_heir = PREV + is_landed = no + NOT = { is_close_relative = ROOT } + NOT = { is_friend = ROOT } + NOT = { is_rival = ROOT } + is_adult = yes + ai = yes + } + } + capital_scope = { + save_event_target_as = home_of_new_friend + } + current_heir = { + if = { + limit = { + is_landed = no + NOT = { is_close_relative = ROOT } + NOT = { is_friend = ROOT } + NOT = { is_rival = ROOT } + is_adult = yes + ai = yes + } + save_event_target_as = new_friend_far_away_from_home + } + } + } + } + + option = { + name = EVTOPTA_MNM_8034 + event_target:new_friend_far_away_from_home = { + add_friend = ROOT + } + } +} + +# Splendid City - A new Enemy +character_event = { + id = MNM.8035 + picture = GFX_evt_dharmic_pilgrims + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + desc = { + text = EVTDESC_MNM_8035_common_origin + trigger = { + event_target:new_friend_far_away_from_home = { + NOT = { same_realm = ROOT } + } + } + } + desc = { + text = EVTDESC_MNM_8035 + trigger = { + event_target:new_friend_far_away_from_home = { + same_realm = ROOT + } + } + } + + immediate = { + random_realm_character = { #Should almost always pick someone. + limit = { + NOT = { is_close_relative = ROOT } + is_adult = yes + is_landed = no + has_job_title = no + NOT = { is_friend = ROOT } + NOT = { is_rival = ROOT } + } + save_event_target_as = new_enemy_far_away_from_home + } + random_vassal = { #This should often always overwrite the above + limit = { + any_character = { + is_heir = PREV + is_landed = no + NOT = { is_close_relative = ROOT } + NOT = { is_friend = ROOT } + NOT = { is_rival = ROOT } + is_adult = yes + ai = yes + } + } + current_heir = { + if = { + limit = { + is_landed = no + NOT = { is_friend = ROOT } + NOT = { is_rival = ROOT } + NOT = { is_close_relative = ROOT } + is_adult = yes + ai = yes + } + save_event_target_as = new_enemy_far_away_from_home + } + + } + } + random_independent_ruler = { #This should often overwrite the above + limit = { + #culture_group = ROOT + primary_title = { + temporary = no + } + is_landed = yes + NOT = { is_close_relative = ROOT } + is_adult = yes + NOT = { is_friend = ROOT } + NOT = { is_rival = ROOT } + location = { + NOT = { + distance = { + who = ROOT + value = 400 + } + } + } + any_character = { + is_heir = PREV + is_landed = no + NOT = { is_close_relative = ROOT } + NOT = { is_friend = ROOT } + NOT = { is_rival = ROOT } + is_adult = yes + ai = yes + } + } + current_heir = { + if = { + limit = { + is_landed = no + NOT = { is_close_relative = ROOT } + NOT = { is_friend = ROOT } + NOT = { is_rival = ROOT } + is_adult = yes + ai = yes + } + save_event_target_as = new_enemy_far_away_from_home + } + } + } + } + + option = { + name = EVTOPTA_MNM_8035 + trigger = { + event_target:new_enemy_far_away_from_home = { + NOT = { same_realm = ROOT } + } + } + event_target:new_enemy_far_away_from_home = { + add_rival = ROOT + } + } + option = { + name = EVTOPTA_MNM_8035 + trigger = { + event_target:new_enemy_far_away_from_home = { + same_realm = ROOT + } + } + scaled_wealth = -0.1 + add_character_modifier = { + name = big_spender + years = 5 + } + } +} + +# Splendid City - A day wasted +character_event = { + id = MNM.8036 + desc = EVTDESC_MNM_8036 + picture = GFX_evt_dharmic_pilgrims + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + option = { + name = EVTOPTA_MNM_8036 + scaled_wealth = -0.1 + add_character_modifier = { + name = big_spender + years = 5 + } + } +} + +#Arrival at Pilgrimage + +#Arrival in Sarnath +narrative_event = { + id = MNM.8050 + title = EVTNAME_MNM_8050 + desc = EVTDESC_MNM_8050 + picture = GFX_evt_dharmic_pilgrims + border = GFX_event_narrative_frame_religion + + is_triggered_only = yes + + option = { + name = EVTOPTA_MNM_8050 + hidden_tooltip = { character_event = { id = MNM.8060 days = 15 } } + } +} + +#Arrival in Bodh Gaya +narrative_event = { + id = MNM.8051 + title = EVTNAME_MNM_8051 + desc = EVTDESC_MNM_8051 + picture = GFX_evt_dharmic_pilgrims + border = GFX_event_narrative_frame_religion + + is_triggered_only = yes + + option = { + name = EVTOPTA_MNM_8051 + hidden_tooltip = { character_event = { id = MNM.8060 days = 15 } } + } +} + +#Arrival in Sanchi +narrative_event = { + id = MNM.8052 + title = EVTNAME_MNM_8052 + desc = EVTDESC_MNM_8052 + picture = GFX_evt_dharmic_pilgrims + border = GFX_event_narrative_frame_religion + + is_triggered_only = yes + + option = { + name = EVTOPTA_MNM_8052 + hidden_tooltip = { character_event = { id = MNM.8060 days = 15 } } + } +} + +#Arrival in Shravanabeagola +narrative_event = { + id = MNM.8053 + title = EVTNAME_MNM_8053 + desc = EVTDESC_MNM_8053 + picture = GFX_evt_india_rural_scene + border = GFX_event_narrative_frame_religion + + is_triggered_only = yes + + option = { + name = EVTOPTA_MNM_8053 + hidden_tooltip = { character_event = { id = MNM.8060 days = 15 } } + } +} + +#Arrival in Girnar +narrative_event = { + id = MNM.8054 + title = EVTNAME_MNM_8054 + desc = EVTDESC_MNM_8054 + picture = GFX_evt_dharmic_pilgrims + border = GFX_event_narrative_frame_religion + + is_triggered_only = yes + + option = { + name = EVTOPTA_MNM_8054 + hidden_tooltip = { character_event = { id = MNM.8060 days = 15 } } + } +} + +#Arrival at Shikarji +narrative_event = { + id = MNM.8055 + title = EVTNAME_MNM_8055 + desc = EVTDESC_MNM_8055 + picture = GFX_evt_dharmic_pilgrims + border = GFX_event_narrative_frame_religion + + is_triggered_only = yes + + option = { + name = EVTOPTA_MNM_8055 + hidden_tooltip = { character_event = { id = MNM.8060 days = 15 } } + } +} + +#Arrival in Mathura +narrative_event = { + id = MNM.8056 + title = EVTNAME_MNM_8056 + desc = EVTDESC_MNM_8056 + picture = GFX_evt_dharmic_pilgrims + border = GFX_event_narrative_frame_religion + + is_triggered_only = yes + + option = { + name = EVTOPTA_MNM_8056 + hidden_tooltip = { character_event = { id = MNM.8060 days = 15 } } + } +} + +#Arrival in Varanasi +narrative_event = { + id = MNM.8057 + title = EVTNAME_MNM_8057 + desc = EVTDESC_MNM_8057 + picture = GFX_evt_dharmic_pilgrims + border = GFX_event_narrative_frame_religion + + is_triggered_only = yes + + option = { + name = EVTOPTA_MNM_8057 + hidden_tooltip = { character_event = { id = MNM.8060 days = 15 } } + } +} + +# Hidden event that selects what interesting things will happen at destination +# Very close to Christian Pilgrimage +character_event = { + id = MNM.8060 + + hide_window = yes + + is_triggered_only = yes + + immediate = { + random_list = { + 10 = { + if = { + limit = { NOT = { trait = cynical } } + character_event = { id = MNM.8061 } # Stimulated to learning + } + if = { + limit = { trait = cynical } + random_list = { + 20 = { character_event = { id = MNM.8062 } } # Strong religious experience + 10 = { character_event = { id = MNM.8063 } } # Disappointed in the place + 20 = { character_event = { id = MNM.8065 } } # Learns things of the world - cosmopolitan + 20 = { character_event = { id = MNM.8066 } } # Generally impressed + } + } + } + 10 = { + if = { + limit = { + OR = { + trait = mastermind_theologian + trait = scholarly_theologian + } + } + character_event = { id = MNM.8064 } # Mastermind theologian + } + if = { + limit = { + NOT = { trait = mastermind_theologian } + NOT = { trait = scholarly_theologian } + } + random_list = { + 20 = { character_event = { id = MNM.8062 } } # Strong religious experience + 10 = { character_event = { id = MNM.8063 } } # Disappointed in the place + 20 = { character_event = { id = MNM.8065 } } # Learns things of the world - cosmopolitan + 20 = { character_event = { id = MNM.8066 } } # Generally impressed + } + } + } + 10 = { + if = { + limit = { trait = lustful } + character_event = { id = MNM.8067 } # Lustful + } + if = { + limit = { NOT = { trait = lustful } } + random_list = { + 20 = { character_event = { id = MNM.8062 } } # Strong religious experience + 10 = { character_event = { id = MNM.8063 } } # Disappointed in the place + 20 = { character_event = { id = MNM.8065 } } # Learns things of the world - cosmopolitan + 20 = { character_event = { id = MNM.8066 } } # Generally impressed + } + } + } + 5 = { # Cured of Disease + if = { + limit = { + OR = { + is_ill = yes + trait = pneumonic + trait = syphilitic + has_disease_trigger = yes + AND = { + has_symptom_trigger = yes + has_character_flag = developing_illness + } + } + } + narrative_event = { id = MNM.8068 } + } + if = { + limit = { + NOT = { + OR = { + is_ill = yes + trait = pneumonic + trait = syphilitic + } + } + } + random_list = { + 20 = { character_event = { id = MNM.8062 } } # Strong religious experience + 10 = { character_event = { id = MNM.8063 } } # Disappointed in the place + 20 = { character_event = { id = MNM.8065 } } # Learns things of the world - cosmopolitan + 20 = { character_event = { id = MNM.8066 } } # Generally impressed + } + } + } + 10 = { + if = { + limit = { + OR = { + trait = lunatic + trait = possessed + } + } + character_event = { id = MNM.8070 } # Lunatic/possessed decides (s)he is God + } + if = { + limit = { + NOT = { + OR = { + trait = lunatic + trait = possessed + } + } + } + random_list = { + 20 = { character_event = { id = MNM.8062 } } # Strong religious experience + 10 = { character_event = { id = MNM.8063 } } # Disappointed in the place + 20 = { character_event = { id = MNM.8065 } } # Learns things of the world - cosmopolitan + 20 = { character_event = { id = MNM.8066 } } # Generally impressed + } + } + } + 10 = { + if = { + limit = { + OR = { + trait = drunkard + trait = hedonist + } + } + character_event = { id = MNM.8071 } # Drunkard/hedonist event + } + if = { + limit = { + NOT = { + OR = { + trait = drunkard + trait = hedonist + } + } + } + random_list = { + 20 = { character_event = { id = MNM.8062 } } # Strong religious experience + 10 = { character_event = { id = MNM.8063 } } # Disappointed in the place + 20 = { character_event = { id = MNM.8065 } } # Learns things of the world - cosmopolitan + 20 = { character_event = { id = MNM.8066 } } # Generally impressed + } + } + } + } + } +} + + +# Stimulated to theological learning +character_event = { + id = MNM.8061 + desc = EVTDESC_MNM_8061 + picture = GFX_evt_council + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + option = { + name = EVTOPTA_MNM_8061 + if = { + limit = { NOT = { lifestyle_traits = 1 } } + add_trait = scholar + } + if = { + limit = { NOT = { trait = zealous } } + random = { + chance = 20 + add_trait_zealous_effect = yes + } + } + hidden_tooltip = { character_event = { id = MNM.8090 days = 20 } } # Stay a little longer then go home + } + option = { + name = EVTOPTB_MNM_8061 + piety = 30 + hidden_tooltip = { character_event = { id = MNM.8090 days = 20 } } # Stay a little longer then go home + } +} + +# Strong religious experience +character_event = { + id = MNM.8062 + desc = EVTDESC_MNM_8062 + picture = GFX_evt_hindu_temple_interior + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + option = { + name = EVTOPTA_MNM_8062 + if = { + limit = { NOT = { trait = zealous } } + add_trait = zealous + } + hidden_tooltip = { character_event = { id = MNM.8090 days = 20 } } # Stay a little longer then go home + } +} + +# Disappointed in the place +character_event = { + id = MNM.8063 + desc = EVTDESC_MNM_8063 + picture = GFX_evt_dharmic_pilgrims + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + option = { + name = EVTOPTA_MNM_8063 + if = { + limit = { NOT = { trait = cynical } } + add_trait = cynical + } + clr_character_flag = good_pilgrimage + clr_character_flag = abominable_pilgrimage + set_character_flag = bad_pilgrimage + hidden_tooltip = { character_event = { id = MNM.8090 days = 20 } } # Stay a little longer then go home + } +} + +# Mastermind theologian impresses everyone +character_event = { + id = MNM.8064 + desc = EVTDESC_MNM_8064 + picture = GFX_evt_council + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + option = { + name = EVTOPTA_MNM_8064 + prestige = 30 + hidden_tooltip = { character_event = { id = MNM.8090 days = 20 } } # Stay a little longer then go home + } +} + +# Learns things of the big world - cosmopolitan experience +character_event = { + id = MNM.8065 + desc = EVTDESC_MNM_8065 + picture = GFX_evt_dharmic_pilgrims + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + option = { + name = EVTOPTA_MNM_8065 + random_list = { + 15 = { change_learning = 1 } + 15 = { change_intrigue = 1 } + 70 = {} + } + hidden_tooltip = { character_event = { id = MNM.8090 days = 20 } } # Stay a little longer then go home + } + option = { + name = EVTOPTB_MNM_8065 + if = { + limit = { NOT = { trait = gregarious } } + random = { + chance = 50 + add_trait_gregarious_effect = yes + } + } + if = { + limit = { trait = gregarious } + random = { + chance = 20 + change_diplomacy = 1 + } + } + hidden_tooltip = { character_event = { id = MNM.8090 days = 20 } } # Stay a little longer then go home + } +} + +# Generally impressed +character_event = { + id = MNM.8066 + desc = EVTDESC_MNM_8066 + picture = GFX_evt_ruler_riding_elephant + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + option = { + name = EVTOPTA_MNM_8066 + piety = 20 + hidden_tooltip = { character_event = { id = MNM.8090 days = 20 } } # Stay a little longer then go home + } +} + +# Lustful character enjoys freedom far from home +character_event = { + id = MNM.8067 + desc = EVTDESC_MNM_8067 + picture = GFX_evt_feast_indo_aryan_group + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + option = { + name = EVTOPTA_MNM_8067 # Let's go! + if = { + limit = { + is_female = yes + NOT = { trait = homosexual } + } + random = { + chance = 50 + custom_tooltip = { + text = becomes_pregnant_no_father + hidden_tooltip = { impregnate = 0 } + } + clr_character_flag = good_pilgrimage + clr_character_flag = abominable_pilgrimage + set_character_flag = bad_pilgrimage + } + } + if = { + limit = { NOT = { trait = syphilitic } } + random = { + chance = 5 + add_trait = syphilitic + clr_character_flag = good_pilgrimage + clr_character_flag = abominable_pilgrimage + set_character_flag = bad_pilgrimage + } + } + hidden_tooltip = { character_event = { id = MNM.8090 days = 20 } } # Stay a little longer then go home + } + option = { + name = EVTOPTB_MNM_8067 # Control yourself + piety = 10 + if = { + limit = { NOT = { trait = chaste } } + random = { + chance = 40 + add_trait_chaste_effect = yes + } + } + hidden_tooltip = { character_event = { id = MNM.8090 days = 20 } } # Stay a little longer then go home + } +} + +# Curing pilgrim of disease - pilgrim attributes it to divine influence +narrative_event = { + id = MNM.8068 + title = EVTNAME_MNM_8068 + picture = GFX_evt_bishop_indian_group + border = GFX_event_narrative_frame_religion + + desc = { + trigger = { + has_character_flag = pilgrimage_to_varanasi + } + text = EVTDESC_MNM_8068 + } + desc = { + trigger = { + NOT = { has_character_flag = pilgrimage_to_varanasi } + } + text = EVTDESC_MNM_8068_b + } + + is_triggered_only = yes + + option = { + name = EVTOPTA_MNM_8068 + ai_chance = { + factor = 70 + } + if = { + limit = { has_disease_trigger = no } + set_character_flag = pilgrim_blessing + add_character_modifier = { + name = blessing_of_health + duration = -1 + } + } + if = { + limit = { trait = wounded } + remove_trait = wounded + } + if = { + limit = { has_disease_trigger = yes } + remove_disease_trait_effect = yes + } + if = { + limit = { NOT = { trait = zealous } } + add_trait = zealous + } + hidden_tooltip = { character_event = { id = MNM.8090 days = 20 } } # Stay a little longer then go home + } + option = { + name = EVTOPTB_MNM_8068 + trigger = { NOT = { has_character_flag = pilgrimage_to_varanasi } } + ai_chance = { + factor = 20 + } + if = { + limit = { has_disease_trigger = no } + set_character_flag = pilgrim_blessing + add_character_modifier = { + name = blessing_of_health + duration = -1 + } + } + if = { + limit = { trait = wounded } + remove_trait = wounded + } + if = { + limit = { has_disease_trigger = yes } + remove_disease_trait_effect = yes + } + if = { + limit = { NOT = { trait = cynical } } + add_trait = cynical + } + hidden_tooltip = { character_event = { id = MNM.8090 days = 20 } } # Stay a little longer then go home + } + option = { + name = EVTOPTC_MNM_8068 + trigger = { + NOT = { lifestyle_traits = 1 } + NOT = { has_dlc = "Way of Life" } + } + ai_chance = { + factor = 10 + } + if = { + limit = { has_disease_trigger = no } + set_character_flag = pilgrim_blessing + add_character_modifier = { + name = blessing_of_health + duration = -1 + } + } + if = { + limit = { trait = wounded } + remove_trait = wounded + } + if = { + limit = { has_disease_trigger = yes } + remove_disease_trait_effect = yes + } + add_trait = mystic + hidden_tooltip = { character_event = { id = MNM.8090 days = 20 } } # Stay a little longer then go home + } +} + +# Blessing of health cures disease after having visited the monks +character_event = { + id = MNM.8069 + desc = EVTDESC_TOG_7015 # copied from Ancestor's blessing event + picture = GFX_evt_religious_exultation + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + trigger = { + has_disease_trigger = yes + } + + option = { + name = EVTOPTA_MNM_8068 + remove_disease_trait_effect = yes + remove_character_modifier = blessing_of_health + + if = { + limit = { trait = cynical } + remove_trait = cynical + } + clr_character_flag = pilgrim_blessing + } +} + +# Lunatic/possessed pilgrim decides (s)he is God +character_event = { + id = MNM.8070 + desc = EVTDESC_MNM_8070 + picture = GFX_evt_lunatic + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + option = { + name = EVTOPTA_MNM_8070 + ai_chance = { + factor = 10 + } + hidden_tooltip = { character_event = { id = MNM.8072 } } # Results of speaking to the masses + hidden_tooltip = { character_event = { id = MNM.8090 days = 20 } } # Stay a little longer then go home + } + option = { + name = EVTOPTB_MNM_8070 + ai_chance = { + factor = 90 + } + hidden_tooltip = { character_event = { id = MNM.8090 days = 20 } } # Stay a little longer then go home + } +} + +# Drunkard/hedonist at holy site +character_event = { + id = MNM.8071 + desc = EVTDESC_MNM_8071 + picture = GFX_evt_feast_indo_aryan_group + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + option = { + name = EVTOPTA_MNM_8071 + ai_chance = { + factor = 80 + } + if = { + limit = { + NOT = { lifestyle_traits = 1 } + NOT = { has_dlc = "Way of Life" } + } + random = { + chance = 30 + add_trait = hedonist + } + } + if = { + limit = { NOT = { trait = drunkard } } + random = { + chance = 30 + add_trait = drunkard + hidden_tooltip = { + character_event = { + id = 38286 #Notify Drunkard + } + } + } + } + add_character_modifier = { + name = good_times + days = 730 + } + hidden_tooltip = { character_event = { id = MNM.8090 days = 20 } } # Stay a little longer then go home + } + option = { + name = EVTOPTB_MNM_8071 + ai_chance = { + factor = 20 + } + piety = 10 + if = { + limit = { NOT = { trait = stressed } } + random = { + chance = 30 + add_trait = stressed + hidden_tooltip = { + character_event = { + id = 38282 #Notify Stressed + } + } + } + } + hidden_tooltip = { character_event = { id = MNM.8090 days = 20 } } # Stay a little longer then go home + } +} + +# Speaking to the masses +character_event = { + id = MNM.8072 + desc = EVTDESC_MNM_8072 + picture = GFX_evt_heretic + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + option = { + name = EVTOPTA_MNM_8072 + prestige = -10 + clr_character_flag = good_pilgrimage + clr_character_flag = bad_pilgrimage + set_character_flag = abominable_pilgrimage + if = { + limit = { NOT = { trait = lunatic } } + add_trait = lunatic + } + if = { + limit = { NOT = { trait = wroth } } + random = { + chance = 50 + add_trait_wroth_effect = yes + } + } + } +} + +#Homecoming +character_event = { + id = MNM.8090 + + hide_window = yes + + is_triggered_only = yes + + immediate = { + if = { + limit = { has_character_flag = good_pilgrimage } + character_event = { id = MNM.8091 } + } + if = { + limit = { has_character_flag = bad_pilgrimage } + character_event = { id = MNM.8092 } + } + if = { + limit = { has_character_flag = abominable_pilgrimage } + character_event = { id = MNM.8093 } + } + if = { + limit = { + has_quest = quest_indian_monastic_order_pilgrimage + } + character_event = { id = MNM.8099 days = 1 } + } + } +} + +# Good pilgrimage +character_event = { + id = MNM.8091 + desc = EVTDESC_MNM_8091 + picture = GFX_evt_throne_room_indo_aryan_group + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + option = { + name = EVTOPTA_MNM_8091 + clr_character_flag = pilgrimage_to_sarnath + clr_character_flag = pilgrimage_to_bodh_gaya + clr_character_flag = pilgrimage_to_sanchi + clr_character_flag = pilgrimage_to_shravanabeagola + clr_character_flag = pilgrimage_to_girnar + clr_character_flag = pilgrimage_to_shikarji + clr_character_flag = pilgrimage_to_varanasi + clr_character_flag = pilgrimage_to_mathura + clr_character_flag = good_pilgrimage + clr_character_flag = do_not_disturb + add_trait = indian_pilgrim + hidden_tooltip = { remove_trait = on_indian_pilgrimage } + piety = 30 + } +} + +# Disappointing pilgrimage +character_event = { + id = MNM.8092 + desc = EVTDESC_MNM_8092 + picture = GFX_evt_throne_room_indo_aryan_group + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + option = { + name = EVTOPTA_MNM_8092 + clr_character_flag = pilgrimage_to_sarnath + clr_character_flag = pilgrimage_to_bodh_gaya + clr_character_flag = pilgrimage_to_sanchi + clr_character_flag = pilgrimage_to_shravanabeagola + clr_character_flag = pilgrimage_to_girnar + clr_character_flag = pilgrimage_to_shikarji + clr_character_flag = pilgrimage_to_varanasi + clr_character_flag = pilgrimage_to_mathura + clr_character_flag = bad_pilgrimage + clr_character_flag = do_not_disturb + add_trait = indian_pilgrim + hidden_tooltip = { remove_trait = on_indian_pilgrimage } + piety = -10 + if = { + limit = { NOT = { trait = cynical } } + random = { + chance = 20 + add_trait = cynical + hidden_tooltip = { + character_event = { + id = 38258 #Notify Cynical + } + } + } + } + } +} + +# Abominable pilgrimage - very unusual outcome +character_event = { + id = MNM.8093 + desc = EVTDESC_MNM_8093 + picture = GFX_evt_lunatic + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + option = { + name = EVTOPTA_MNM_8093 + clr_character_flag = pilgrimage_to_sarnath + clr_character_flag = pilgrimage_to_bodh_gaya + clr_character_flag = pilgrimage_to_sanchi + clr_character_flag = pilgrimage_to_shravanabeagola + clr_character_flag = pilgrimage_to_girnar + clr_character_flag = pilgrimage_to_shikarji + clr_character_flag = pilgrimage_to_varanasi + clr_character_flag = pilgrimage_to_mathura + clr_character_flag = abominable_pilgrimage + clr_character_flag = do_not_disturb + add_trait = indian_pilgrim + hidden_tooltip = { remove_trait = on_indian_pilgrimage } + piety = -100 + } +} diff --git a/LCDA/events/interesting_muslims.txt b/LCDA/events/interesting_muslims.txt new file mode 100644 index 0000000..0b1d4e9 --- /dev/null +++ b/LCDA/events/interesting_muslims.txt @@ -0,0 +1,3665 @@ +################################### +# +# Events for Interesting Muslims +# +# Id 106000 - 106999 is reserved +# +# +################################### +# +# Written by Sara Wendel-Örtqvist + +### Al-Ghazali ### +province_event = { + id = 106000 + desc = EVTDESC106000 + picture = GFX_evt_emissary + + trigger = { + province_id = 632 #Tus + NOT = { + has_province_modifier = famous_muslim_timer + } + owner = { + religion_group = muslim + top_liege = { + in_command = no + age = 16 + NOT = { + trait = on_hajj + } + NOT = { + any_courtier = { + has_character_flag = al_ghazali_flag + } + } + NOT = { + any_vassal = { + has_character_flag = al_ghazali_flag + } + } + religion_group = muslim + NOT = { + has_character_modifier = muslim_famous_timer + } + } + } + } + + mean_time_to_happen = { + months = 1000 + } + + immediate = { + hidden_tooltip = { + add_province_modifier = { + name = famous_muslim_timer + duration = 1825 + hidden = yes + } + } + } + + option = { + name = EVTOPTA106000 + owner = { + top_liege = { + hidden_tooltip = { + add_character_modifier = { + name = muslim_famous_timer + duration = 1825 + hidden = yes + } + } + character_event = { + id = 106001 + days = 3 + random = 4 + tooltip = EVTTOOLTIP106001 + } + } + } + } +} + +#Liege get new character: Al-Ghazali +character_event = { + id = 106001 + desc = EVTDESC106001 + picture = GFX_evt_council + + is_triggered_only = yes + + option = { + name = EVTOPTA106001 + create_character = { + name = "Abu Hamid" + dynasty = 1031100 + attributes = { + learning = 8 + diplomacy = 13 + } + religion = ROOT + culture = persian + age = 27 + female = no + trait = mystic + trait = mastermind_theologian + trait = zealous + trait = just + trait = faqih + } + new_character = { + set_character_flag = al_ghazali_flag + } + } +} + +### Muhammad al-Idrisi ### +province_event = { + id = 106005 + desc = EVTDESC106005 + picture = GFX_evt_emissary + + trigger = { + province_id = 839 #Cebta + NOT = { + has_province_modifier = famous_muslim_timer + } + owner = { + religion_group = muslim + top_liege = { + in_command = no + age = 16 + NOT = { + trait = on_hajj + } + NOT = { + any_courtier = { + has_character_flag = muhammad_alidrisi_flag + } + } + NOT = { + any_vassal = { + has_character_flag = muhammad_alidrisi_flag + } + } + religion_group = muslim + NOT = { + has_character_modifier = muslim_famous_timer + } + } + } + } + + mean_time_to_happen = { + months = 1000 + } + + immediate = { + hidden_tooltip = { + add_province_modifier = { + name = famous_muslim_timer + duration = 1825 + hidden = yes + } + } + } + + option = { + name = EVTOPTA106005 + owner = { + top_liege = { + hidden_tooltip = { + add_character_modifier = { + name = muslim_famous_timer + duration = 1825 + hidden = yes + } + } + character_event = { + id = 106006 + days = 3 + random = 4 + tooltip = EVTTOOLTIP106006 + } + } + } + } +} + +#Liege get new character: Muhammad al-Idrisi +character_event = { + id = 106006 + desc = EVTDESC106006 + picture = GFX_evt_council + + is_triggered_only = yes + + option = { + name = EVTOPTA106001 + create_character = { + name = Muhammad + dynasty = 1031101 + attributes = { + learning = 15 + stewardship = 15 + } + religion = ROOT + culture = maghreb_arabic + age = 25 + female = no + trait = sayyid + trait = scholar + trait = charismatic_negotiator + trait = quick + } + new_character = { + set_character_flag = muhammad_alidrisi_flag + } + } +} + +### Ibn Khaldun ### +province_event = { + id = 106010 + desc = EVTDESC106010 + picture = GFX_evt_emissary + + trigger = { + province_id = 817 #Tunis + NOT = { + has_province_modifier = famous_muslim_timer + } + owner = { + religion_group = muslim + top_liege = { + in_command = no + age = 16 + NOT = { + trait = on_hajj + } + religion_group = muslim + NOT = { + any_courtier = { + has_character_flag = ibn_khaldun_flag + } + } + NOT = { + any_vassal = { + has_character_flag = ibn_khaldun_flag + } + } + NOT = { + has_character_modifier = muslim_famous_timer + } + } + } + } + + mean_time_to_happen = { + months = 1000 + } + + immediate = { + hidden_tooltip = { + add_province_modifier = { + name = famous_muslim_timer + duration = 1825 + hidden = yes + } + } + } + + option = { + name = EVTOPTA106010 + owner = { + top_liege = { + hidden_tooltip = { + add_character_modifier = { + name = muslim_famous_timer + duration = 1825 + hidden = yes + } + } + character_event = { + id = 106011 + days = 3 + random = 4 + tooltip = EVTTOOLTIP106011 + } + } + } + } +} + +#Liege get new character: Ibn Khaldun +character_event = { + id = 106011 + desc = EVTDESC106011 + picture = GFX_evt_council + + is_triggered_only = yes + + option = { + name = EVTOPTA106011 + create_character = { + name = Ibn + dynasty = 1031102 + attributes = { + learning = 15 + } + religion = ROOT + culture = maghreb_arabic + age = 30 + female = no + trait = sayyid + trait = scholar + trait = ambitious + trait = quick + trait = charismatic_negotiator + trait = gregarious + } + new_character = { + set_character_flag = ibn_khaldun_flag + } + } +} + +### Zakariya al-Qazwini ### +province_event = { + id = 106015 + desc = EVTDESC106015 + picture = GFX_evt_emissary + + trigger = { + province_id = 664 #Qazwin + NOT = { + has_province_modifier = famous_muslim_timer + } + owner = { + religion_group = muslim + top_liege = { + in_command = no + age = 16 + NOT = { + trait = on_hajj + } + religion_group = muslim + NOT = { + any_courtier = { + has_character_flag = zakariya_al_qazwini_flag + } + } + NOT = { + any_vassal = { + has_character_flag = zakariya_al_qazwini_flag + } + } + NOT = { + has_character_modifier = muslim_famous_timer + } + } + } + } + + mean_time_to_happen = { + months = 1000 + } + + immediate = { + hidden_tooltip = { + add_province_modifier = { + name = famous_muslim_timer + duration = 1825 + hidden = yes + } + } + } + + option = { + name = EVTOPTA106015 + owner = { + top_liege = { + hidden_tooltip = { + add_character_modifier = { + name = muslim_famous_timer + duration = 1825 + hidden = yes + } + } + character_event = { + id = 106016 + days = 3 + random = 4 + tooltip = EVTTOOLTIP106016 + } + } + } + } +} + +#Liege get new character: Zakariya al-Qazwini +character_event = { + id = 106016 + desc = EVTDESC106016 + picture = GFX_evt_council + + is_triggered_only = yes + + option = { + name = EVTOPTA106016 + create_character = { + name = Zakariya + dynasty = 1031103 + culture = persian + religion = sunni + attributes = { + learning = 15 + } + age = 35 + female = no + trait = diligent + trait = scholar + trait = fortune_builder + trait = quick + trait = gregarious + } + new_character = { + set_character_flag = zakariya_al_qazwini_flag + if = { + limit = { + ROOT = { + OR = { + tier = emperor + tier = king + } + NOT = { + any_courtier = { + has_minor_title = title_chief_qadi + } + } + NOT = { + any_vassal = { + has_minor_title = title_chief_qadi + } + } + } + } + give_minor_title = title_chief_qadi + } + } + } +} + +### Al-Juwayni ### +province_event = { + id = 106020 + desc = EVTDESC106020 + picture = GFX_evt_emissary + + trigger = { + OR = { + province_id = 719 #Mecca + province_id = 718 #Medina + } + NOT = { + has_province_modifier = famous_muslim_timer + } + owner = { + religion_group = muslim + top_liege = { + in_command = no + age = 16 + NOT = { + trait = on_hajj + } + religion_group = muslim + NOT = { + any_courtier = { + has_character_flag = al_juwayni_flag + } + } + NOT = { + any_vassal = { + has_character_flag = al_juwayni_flag + } + } + NOT = { + has_character_modifier = muslim_famous_timer + } + } + } + } + + mean_time_to_happen = { + months = 1000 + } + + immediate = { + hidden_tooltip = { + add_province_modifier = { + name = famous_muslim_timer + duration = 1825 + hidden = yes + } + } + } + + option = { + name = EVTOPTA106020 + owner = { + top_liege = { + hidden_tooltip = { + add_character_modifier = { + name = muslim_famous_timer + duration = 1825 + hidden = yes + } + } + character_event = { + id = 106021 + days = 3 + random = 4 + tooltip = EVTTOOLTIP106021 + } + } + } + } +} + +#Liege get new character: Al-Juwayni +character_event = { + id = 106021 + desc = EVTDESC106021 + picture = GFX_evt_council + + is_triggered_only = yes + + option = { + name = EVTOPTA106021 + create_character = { + name = Ibn + dynasty = 1031104 + culture = persian + religion = sunni + attributes = { + learning = 9 + } + age = 20 + female = no + trait = scholar + trait = mastermind_theologian + trait = just + } + new_character = { + set_character_flag = al_juwayni_flag + } + } +} + +### Kamal al-Din al-Farisi ### +province_event = { + id = 106025 + desc = EVTDESC106025 + picture = GFX_evt_emissary + + trigger = { + province_id = 667 #Tabriz + NOT = { + has_province_modifier = famous_muslim_timer + } + owner = { + religion_group = muslim + top_liege = { + in_command = no + age = 16 + NOT = { + trait = on_hajj + } + religion_group = muslim + NOT = { + any_courtier = { + has_character_flag = kamal_aldin_alfarisi_flag + } + } + NOT = { + any_vassal = { + has_character_flag = kamal_aldin_alfarisi_flag + } + } + NOT = { + has_character_modifier = muslim_famous_timer + } + } + } + } + + mean_time_to_happen = { + months = 1000 + } + + immediate = { + hidden_tooltip = { + add_province_modifier = { + name = famous_muslim_timer + duration = 1825 + hidden = yes + } + } + } + + option = { + name = EVTOPTA106025 + owner = { + top_liege = { + hidden_tooltip = { + add_character_modifier = { + name = muslim_famous_timer + duration = 1825 + hidden = yes + } + } + character_event = { + id = 106026 + days = 3 + random = 4 + tooltip = EVTTOOLTIP106026 + } + } + } + } +} + +#Liege get new character: Kamal al-Din al-Farisi +character_event = { + id = 106026 + desc = EVTDESC106026 + picture = GFX_evt_council + + is_triggered_only = yes + + option = { + name = EVTOPTA106026 + create_character = { + name = "Kamal al-Din" + dynasty = 1031105 + religion = ROOT + culture = persian + attributes = { + learning = 11 + } + age = 30 + female = no + trait = scholar + trait = quick + trait = scholarly_theologian + } + new_character = { + set_character_flag = kamal_aldin_alfarisi_flag + } + } +} + +### Rashid al-Din Tabib ### +province_event = { + id = 106030 + desc = EVTDESC106030 + picture = GFX_evt_emissary + + trigger = { + province_id = 658 #Hamadan + NOT = { + has_province_modifier = famous_muslim_timer + } + owner = { + religion_group = muslim + top_liege = { + in_command = no + age = 16 + NOT = { + trait = on_hajj + } + religion_group = muslim + NOT = { + any_courtier = { + has_character_flag = rashid_aldin_hamadani_flag + } + } + NOT = { + any_vassal = { + has_character_flag = rashid_aldin_hamadani_flag + } + } + NOT = { + has_character_modifier = muslim_famous_timer + } + } + } + } + + mean_time_to_happen = { + months = 1000 + } + + immediate = { + hidden_tooltip = { + add_province_modifier = { + name = famous_muslim_timer + duration = 1825 + hidden = yes + } + } + } + + option = { + name = EVTOPTA106030 + owner = { + top_liege = { + hidden_tooltip = { + add_character_modifier = { + name = muslim_famous_timer + duration = 1825 + hidden = yes + } + } + character_event = { + id = 106031 + days = 3 + random = 4 + tooltip = EVTTOOLTIP106031 + } + } + } + } +} + +#Liege get new character: Rashid al-Din Hamadani +character_event = { + id = 106031 + desc = EVTDESC106031 + picture = GFX_evt_council + + is_triggered_only = yes + + option = { + name = EVTOPTA106031 + create_character = { + name = "Rashid al-Din" + dynasty = 1031106 + religion = ROOT + culture = persian + attributes = { + learning = 11 + } + age = 55 + female = no + trait = ambitious + trait = scholar + trait = quick + trait = scholarly_theologian + } + new_character = { + set_character_flag = rashid_aldin_hamadani_flag + } + } +} + +### Ibn al-Nafis ### +province_event = { + id = 106035 + desc = EVTDESC106035 + picture = GFX_evt_emissary + + trigger = { + province_id = 728 #Damascus + NOT = { + has_province_modifier = famous_muslim_timer + } + owner = { + religion_group = muslim + top_liege = { + in_command = no + age = 16 + NOT = { + trait = on_hajj + } + religion_group = muslim + NOT = { + any_courtier = { + has_character_flag = ibn_alnafis_flag + } + } + NOT = { + any_vassal = { + has_character_flag = ibn_alnafis_flag + } + } + NOT = { + has_character_modifier = muslim_famous_timer + } + } + } + } + + mean_time_to_happen = { + months = 1000 + } + + immediate = { + hidden_tooltip = { + add_province_modifier = { + name = famous_muslim_timer + duration = 1825 + hidden = yes + } + } + } + + option = { + name = EVTOPTA106035 + owner = { + top_liege = { + hidden_tooltip = { + add_character_modifier = { + name = muslim_famous_timer + duration = 1825 + hidden = yes + } + } + character_event = { + id = 106036 + days = 3 + random = 4 + tooltip = EVTTOOLTIP106036 + } + } + } + } +} + +#Liege get new character: Ibn al-Nafis +character_event = { + id = 106036 + desc = EVTDESC106036 + picture = GFX_evt_council + + is_triggered_only = yes + + option = { + name = EVTOPTA106036 + create_character = { + name = Ibn + dynasty = 1031107 + attributes = { + learning = 11 + } + religion = ROOT + culture = levantine_arabic + age = 23 + female = no + trait = mystic + trait = quick + trait = charitable + trait = scholarly_theologian + } + new_character = { + set_character_flag = ibn_alnafis_flag + } + } +} + +### Abu'l-Barakat al-Baghdadi ### +province_event = { + id = 106040 + desc = EVTDESC106040 + picture = GFX_evt_emissary + + trigger = { + province_id = 693 #Baghdad + NOT = { + has_province_modifier = famous_muslim_timer + } + owner = { + religion_group = muslim + top_liege = { + in_command = no + age = 16 + NOT = { + trait = on_hajj + } + religion_group = muslim + NOT = { + any_courtier = { + has_character_flag = abul_barakat_albaghdadi_flag + } + } + NOT = { + any_vassal = { + has_character_flag = abul_barakat_albaghdadi_flag + } + } + NOT = { + has_character_modifier = muslim_famous_timer + } + } + } + } + + mean_time_to_happen = { + months = 1000 + } + + immediate = { + hidden_tooltip = { + add_province_modifier = { + name = famous_muslim_timer + duration = 1825 + hidden = yes + } + } + } + + option = { + name = EVTOPTA106040 + owner = { + top_liege = { + hidden_tooltip = { + add_character_modifier = { + name = muslim_famous_timer + duration = 1825 + hidden = yes + } + } + character_event = { + id = 106041 + days = 3 + random = 4 + tooltip = EVTTOOLTIP106041 + } + } + } + } +} + +#Liege get new character: Abu'l-Barakat al-Baghdadi +character_event = { + id = 106041 + desc = EVTDESC106041 + picture = GFX_evt_council + + is_triggered_only = yes + + option = { + name = EVTOPTA106041 + create_character = { + name = Abu'l-Barakat + dynasty = 1031108 + attributes = { + learning = 9 + } + religion = ROOT + culture = levantine_arabic + age = 55 + female = no + trait = genius + trait = scholar + trait = scholarly_theologian + trait = cynical + } + new_character = { + set_character_flag = abul_barakat_albaghdadi_flag + } + } +} + +### Avempace ### +province_event = { + id = 106045 + desc = EVTDESC106045 + picture = GFX_evt_emissary + + trigger = { + province_id = 202 #Zaragoza + NOT = { + has_province_modifier = famous_muslim_timer + } + owner = { + religion_group = muslim + top_liege = { + in_command = no + age = 16 + NOT = { + trait = on_hajj + } + religion_group = muslim + NOT = { + any_courtier = { + has_character_flag = avempace_flag + } + } + NOT = { + any_vassal = { + has_character_flag = avempace_flag + } + } + NOT = { + has_character_modifier = muslim_famous_timer + } + } + } + } + + mean_time_to_happen = { + months = 1000 + } + + immediate = { + hidden_tooltip = { + add_province_modifier = { + name = famous_muslim_timer + duration = 1825 + hidden = yes + } + } + } + + option = { + name = EVTOPTA106045 + owner = { + top_liege = { + hidden_tooltip = { + add_character_modifier = { + name = muslim_famous_timer + duration = 1825 + hidden = yes + } + } + character_event = { + id = 106046 + days = 3 + random = 4 + tooltip = EVTTOOLTIP106046 + } + } + } + } +} + +#Liege get new character: Avempace +character_event = { + id = 106046 + desc = EVTDESC106046 + picture = GFX_evt_council + + is_triggered_only = yes + + option = { + name = EVTOPTA106046 + create_character = { + name = Avempace + dynasty = 1031109 + attributes = { + learning = 9 + } + religion = ROOT + culture = andalusian_arabic + age = 55 + female = no + trait = scholar + trait = poet + trait = genius + trait = scholarly_theologian + } + new_character = { + set_character_flag = avempace_flag + } + } +} + +### Nizami Ganjavi ### +province_event = { + id = 106050 + desc = EVTDESC106050 + picture = GFX_evt_emissary + + trigger = { + province_id = 673 #Albania + NOT = { + has_province_modifier = famous_muslim_timer + } + owner = { + religion_group = muslim + top_liege = { + in_command = no + age = 16 + NOT = { + trait = on_hajj + } + religion_group = muslim + NOT = { + any_courtier = { + has_character_flag = nizami_ganjavi_flag + } + } + NOT = { + any_vassal = { + has_character_flag = nizami_ganjavi_flag + } + } + NOT = { + has_character_modifier = muslim_famous_timer + } + } + } + } + + mean_time_to_happen = { + months = 1000 + } + + immediate = { + hidden_tooltip = { + add_province_modifier = { + name = famous_muslim_timer + duration = 1825 + hidden = yes + } + } + } + + option = { + name = EVTOPTA106050 + owner = { + top_liege = { + hidden_tooltip = { + add_character_modifier = { + name = muslim_famous_timer + duration = 1825 + hidden = yes + } + } + character_event = { + id = 106051 + days = 3 + random = 4 + tooltip = EVTTOOLTIP106051 + } + } + } + } +} + +#Liege get new character: Nizami Ganjavi +character_event = { + id = 106051 + desc = EVTDESC106051 + picture = GFX_evt_council + + is_triggered_only = yes + + option = { + name = EVTOPTA106051 + create_character = { + name = Nizami + dynasty = 1031110 + attributes = { + learning = 9 + } + religion = sunni + culture = persian + age = 25 + female = no + trait = poet + trait = quick + trait = charismatic_negotiator + } + new_character = { + set_character_flag = nizami_ganjavi_flag + } + } +} + +### Muhammad ibn Mahmud Amuli ### +province_event = { + id = 106055 + desc = EVTDESC106055 + picture = GFX_evt_emissary + + trigger = { + province_id = 661 #Tabaristan (Amol) + NOT = { + has_province_modifier = famous_muslim_timer + } + owner = { + religion_group = muslim + top_liege = { + in_command = no + age = 16 + NOT = { + trait = on_hajj + } + religion_group = muslim + NOT = { + any_courtier = { + has_character_flag = muhammad_ibn_mahmud_amuli_flag + } + } + NOT = { + any_vassal = { + has_character_flag = muhammad_ibn_mahmud_amuli_flag + } + } + NOT = { + has_character_modifier = muslim_famous_timer + } + } + } + } + + mean_time_to_happen = { + months = 1000 + } + + immediate = { + hidden_tooltip = { + add_province_modifier = { + name = famous_muslim_timer + duration = 1825 + hidden = yes + } + } + } + + option = { + name = EVTOPTA106055 + owner = { + top_liege = { + hidden_tooltip = { + add_character_modifier = { + name = muslim_famous_timer + duration = 1825 + hidden = yes + } + } + character_event = { + id = 106056 + days = 3 + random = 4 + tooltip = EVTTOOLTIP106056 + } + } + } + } +} + +#Liege get new character: Muhammad ibn Mahmud Amuli +character_event = { + id = 106056 + desc = EVTDESC106056 + picture = GFX_evt_council + + is_triggered_only = yes + + option = { + name = EVTOPTA106056 + create_character = { + name = Muhammad + dynasty = 1031111 + attributes = { + learning = 7 + } + religion = ROOT + culture = persian + age = 25 + female = no + trait = scholar + trait = scholarly_theologian + } + new_character = { + set_character_flag = muhammad_ibn_mahmud_amuli_flag + } + } +} + +### Jalal ad-Din Muhammad Balkhi ### +province_event = { + id = 106060 + desc = EVTDESC106060 + picture = GFX_evt_emissary + + trigger = { + province_id = 904 #Balkh + NOT = { + has_province_modifier = famous_muslim_timer + } + owner = { + religion_group = muslim + top_liege = { + in_command = no + age = 16 + NOT = { + trait = on_hajj + } + religion_group = muslim + NOT = { + any_courtier = { + has_character_flag = rumi_flag + } + } + NOT = { + any_vassal = { + has_character_flag = rumi_flag + } + } + NOT = { + has_character_modifier = muslim_famous_timer + } + } + } + } + + mean_time_to_happen = { + months = 1000 + } + + immediate = { + hidden_tooltip = { + add_province_modifier = { + name = famous_muslim_timer + duration = 1825 + hidden = yes + } + } + } + + option = { + name = EVTOPTA106060 + owner = { + top_liege = { + hidden_tooltip = { + add_character_modifier = { + name = muslim_famous_timer + duration = 1825 + hidden = yes + } + } + character_event = { + id = 106061 + days = 3 + random = 4 + tooltip = EVTTOOLTIP106061 + } + } + } + } +} + +#Liege get new character: Jalal ad-Din Muhammad Balkhi +character_event = { + id = 106061 + desc = EVTDESC106061 + picture = GFX_evt_council + + is_triggered_only = yes + + option = { + name = EVTOPTA106061 + create_character = { + name = "Jalal ad-Din Muhammad" + dynasty = 1031112 + attributes = { + learning = 9 + } + religion = ROOT + culture = persian + age = 30 + female = no + trait = scholarly_theologian + trait = poet + trait = scholar + trait = mystic + } + new_character = { + set_character_flag = rumi_flag + } + } +} + +### Baha-ud-Din Naqshband Bukhari ### +province_event = { + id = 106065 + desc = EVTDESC106065 + picture = GFX_evt_emissary + + trigger = { + province_id = 628 #Bukhara + NOT = { + has_province_modifier = famous_muslim_timer + } + owner = { + religion_group = muslim + top_liege = { + in_command = no + age = 16 + NOT = { + trait = on_hajj + } + religion_group = muslim + NOT = { + any_courtier = { + has_character_flag = naqshband_bukhari_flag + } + } + NOT = { + any_vassal = { + has_character_flag = naqshband_bukhari_flag + } + } + NOT = { + has_character_modifier = muslim_famous_timer + } + } + } + } + + mean_time_to_happen = { + months = 1000 + } + + immediate = { + hidden_tooltip = { + add_province_modifier = { + name = famous_muslim_timer + duration = 1825 + hidden = yes + } + } + } + + option = { + name = EVTOPTA106065 + owner = { + top_liege = { + hidden_tooltip = { + add_character_modifier = { + name = muslim_famous_timer + duration = 1825 + hidden = yes + } + } + character_event = { + id = 106066 + days = 3 + random = 4 + tooltip = EVTTOOLTIP106066 + } + } + } + } +} + +#Liege get new character: Baha-ud-Din Naqshband Bukhari +character_event = { + id = 106066 + desc = EVTDESC106066 + picture = GFX_evt_council + + is_triggered_only = yes + + option = { + name = EVTOPTA106066 + create_character = { + name = "Baha-ud-Din Naqshband" + dynasty = 1031113 + attributes = { + learning = 9 + } + religion = ROOT + culture = persian + age = 25 + female = no + trait = mastermind_theologian + trait = mystic + trait = genius + } + new_character = { + set_character_flag = naqshband_bukhari_flag + } + } +} + +### Shahab al-Din Suhrawardi ### +province_event = { + id = 106070 + desc = EVTDESC106070 + picture = GFX_evt_emissary + + trigger = { + province_id = 665 #Dailam + NOT = { + has_province_modifier = famous_muslim_timer + } + owner = { + religion_group = muslim + top_liege = { + in_command = no + age = 16 + NOT = { + trait = on_hajj + } + religion_group = muslim + NOT = { + any_courtier = { + has_character_flag = shahab_flag + } + } + NOT = { + any_vassal = { + has_character_flag = shahab_flag + } + } + NOT = { + has_character_modifier = muslim_famous_timer + } + } + } + } + + mean_time_to_happen = { + months = 1000 + } + + immediate = { + hidden_tooltip = { + add_province_modifier = { + name = famous_muslim_timer + duration = 1825 + hidden = yes + } + } + } + + option = { + name = EVTOPTA106070 + owner = { + top_liege = { + hidden_tooltip = { + add_character_modifier = { + name = muslim_famous_timer + duration = 1825 + hidden = yes + } + } + character_event = { + id = 106071 + days = 3 + random = 4 + tooltip = EVTTOOLTIP106071 + } + } + } + } +} + +#Liege get new character: Shahab al-Din Suhrawardi +character_event = { + id = 106071 + desc = EVTDESC106071 + picture = GFX_evt_council + + is_triggered_only = yes + + option = { + name = EVTOPTA106071 + create_character = { + name = "Shahab al-Din" + dynasty = 1031114 + attributes = { + learning = 9 + } + religion = shiite + culture = persian + age = 25 + female = no + trait = mystic + trait = genius + trait = mastermind_theologian + } + new_character = { + set_character_flag = shahab_flag + } + } +} + +### Athir al-Din al-Abhari ### +province_event = { + id = 106075 + desc = EVTDESC106075 + picture = GFX_evt_emissary + + trigger = { + province_id = 697 #Mosul + NOT = { + has_province_modifier = famous_muslim_timer + } + owner = { + religion_group = muslim + top_liege = { + in_command = no + age = 16 + NOT = { + trait = on_hajj + } + religion_group = muslim + NOT = { + any_courtier = { + has_character_flag = athir_flag + } + } + NOT = { + any_vassal = { + has_character_flag = athir_flag + } + } + NOT = { + has_character_modifier = muslim_famous_timer + } + } + } + } + + mean_time_to_happen = { + months = 1000 + } + + immediate = { + hidden_tooltip = { + add_province_modifier = { + name = famous_muslim_timer + duration = 1825 + hidden = yes + } + } + } + + option = { + name = EVTOPTA106075 + owner = { + top_liege = { + hidden_tooltip = { + add_character_modifier = { + name = muslim_famous_timer + duration = 1825 + hidden = yes + } + } + character_event = { + id = 106076 + days = 3 + random = 4 + tooltip = EVTTOOLTIP106076 + } + } + } + } +} + +#Liege get new character: Athir al-Din al-Abhari +character_event = { + id = 106076 + desc = EVTDESC106076 + picture = GFX_evt_council + + is_triggered_only = yes + + option = { + name = EVTOPTA106076 + create_character = { + name = "Athir al-Din" + dynasty = 1031115 + attributes = { + learning = 8 + } + religion = shiite + culture = persian + age = 35 + is_female = no + trait = scholar + trait = genius + trait = scholarly_theologian + } + new_character = { + set_character_flag = athir_flag + } + } +} + +### Nasir al-Din al-Tusi ### +province_event = { + id = 106080 + desc = EVTDESC106080 + picture = GFX_evt_emissary + + trigger = { + province_id = 632 #Tus + NOT = { + has_province_modifier = famous_muslim_timer + } + owner = { + religion_group = muslim + top_liege = { + in_command = no + age = 16 + NOT = { + trait = on_hajj + } + religion_group = muslim + NOT = { + any_courtier = { + has_character_flag = nasir_flag + } + } + NOT = { + any_vassal = { + has_character_flag = nasir_flag + } + } + NOT = { + has_character_modifier = muslim_famous_timer + } + } + } + } + + mean_time_to_happen = { + months = 1000 + } + + immediate = { + hidden_tooltip = { + add_province_modifier = { + name = famous_muslim_timer + duration = 1825 + hidden = yes + } + } + } + + option = { + name = EVTOPTA106080 + owner = { + top_liege = { + hidden_tooltip = { + add_character_modifier = { + name = muslim_famous_timer + duration = 1825 + hidden = yes + } + } + character_event = { + id = 106081 + days = 3 + random = 4 + tooltip = EVTTOOLTIP106081 + } + } + } + } +} + +#Liege get new character: Nasir al-Din al-Tusi +character_event = { + id = 106081 + desc = EVTDESC106081 + picture = GFX_evt_council + + is_triggered_only = yes + + option = { + name = EVTOPTA106081 + create_character = { + name = "Nasir al-Din" + dynasty = 1031116 + attributes = { + learning = 11 + } + religion = shiite + culture = persian + age = 30 + female = no + trait = scholarly_theologian + trait = scholar + trait = diligent + } + new_character = { + set_character_flag = nasir_flag + } + } +} + +### Ibn Zuhr ### +province_event = { + id = 106085 + desc = EVTDESC106085 + picture = GFX_evt_emissary + + trigger = { + province_id = 182 #Sevilla + NOT = { + has_province_modifier = famous_muslim_timer + } + owner = { + religion_group = muslim + top_liege = { + in_command = no + age = 16 + NOT = { + trait = on_hajj + } + religion_group = muslim + NOT = { + any_courtier = { + has_character_flag = ibn_zuhr_flag + } + } + NOT = { + any_vassal = { + has_character_flag = ibn_zuhr_flag + } + } + NOT = { + has_character_modifier = muslim_famous_timer + } + } + } + } + + mean_time_to_happen = { + months = 1000 + } + + immediate = { + hidden_tooltip = { + add_province_modifier = { + name = famous_muslim_timer + duration = 1825 + hidden = yes + } + } + } + + option = { + name = EVTOPTA106085 + owner = { + top_liege = { + hidden_tooltip = { + add_character_modifier = { + name = muslim_famous_timer + duration = 1825 + hidden = yes + } + } + character_event = { + id = 106086 + days = 3 + random = 4 + tooltip = EVTTOOLTIP106086 + } + } + } + } +} + +#Liege get new character: Ibn Zuhr +character_event = { + id = 106086 + desc = EVTDESC106086 + picture = GFX_evt_council + + is_triggered_only = yes + + option = { + name = EVTOPTA106086 + create_character = { + name = Ibn + dynasty = 1031117 + attributes = { + learning = 9 + } + religion = sunni + culture = andalusian_arabic + age = 30 + female = no + trait = scholar + trait = scholarly_theologian + } + new_character = { + set_character_flag = ibn_zuhr_flag + } + } +} + +### Mir Sayyid Ali Hamadani ### +province_event = { + id = 106090 + desc = EVTDESC106090 + picture = GFX_evt_emissary + + trigger = { + province_id = 658 #Hamadan + NOT = { + has_province_modifier = famous_muslim_timer + } + owner = { + religion_group = muslim + top_liege = { + in_command = no + age = 16 + NOT = { + trait = on_hajj + } + religion_group = muslim + NOT = { + any_courtier = { + has_character_flag = mir_sayyid_flag + } + } + NOT = { + any_vassal = { + has_character_flag = mir_sayyid_flag + } + } + NOT = { + has_character_modifier = muslim_famous_timer + } + } + } + } + + mean_time_to_happen = { + months = 1000 + } + + immediate = { + hidden_tooltip = { + add_province_modifier = { + name = famous_muslim_timer + duration = 1825 + hidden = yes + } + } + } + + option = { + name = EVTOPTA106090 + owner = { + top_liege = { + hidden_tooltip = { + add_character_modifier = { + name = muslim_famous_timer + duration = 1825 + hidden = yes + } + } + character_event = { + id = 106091 + days = 3 + random = 4 + tooltip = EVTTOOLTIP106091 + } + } + } + } +} + +#Liege get new character: Mir Sayyid Ali Hamadani +character_event = { + id = 106091 + desc = EVTDESC106091 + picture = GFX_evt_council + + is_triggered_only = yes + + option = { + name = EVTOPTA106091 + create_character = { + name = "Mir Sayyid Ali" + dynasty = 1031118 + attributes = { + learning = 9 + } + religion = sunni + culture = persian + age = 40 + female = no + trait = hafiz + trait = hajjaj + trait = humble + trait = scholar + trait = mastermind_theologian + } + new_character = { + set_character_flag = mir_sayyid_flag + } + } +} + +### Qutb al-Din al-Shirazi ### +province_event = { + id = 106095 + desc = EVTDESC106095 + picture = GFX_evt_emissary + + trigger = { + province_id = 643 #Fars + NOT = { + has_province_modifier = famous_muslim_timer + } + owner = { + religion_group = muslim + top_liege = { + in_command = no + age = 16 + NOT = { + trait = on_hajj + } + religion_group = muslim + NOT = { + any_courtier = { + has_character_flag = qutb_shirazi_flag + } + } + NOT = { + any_vassal = { + has_character_flag = qutb_shirazi_flag + } + } + NOT = { + has_character_modifier = muslim_famous_timer + } + } + } + } + + mean_time_to_happen = { + months = 1000 + } + + immediate = { + hidden_tooltip = { + add_province_modifier = { + name = famous_muslim_timer + duration = 1825 + hidden = yes + } + } + } + + option = { + name = EVTOPTA106095 + owner = { + top_liege = { + hidden_tooltip = { + add_character_modifier = { + name = muslim_famous_timer + duration = 1825 + hidden = yes + } + } + character_event = { + id = 106096 + days = 3 + random = 4 + tooltip = EVTTOOLTIP106096 + } + } + } + } +} + +#Liege get new character: Qutb al-Din al-Shirazi +character_event = { + id = 106096 + desc = EVTDESC106096 + picture = GFX_evt_council + + is_triggered_only = yes + + option = { + name = EVTOPTA106096 + create_character = { + name = "Qutb al-Din" + dynasty = 1031119 + attributes = { + learning = 9 + } + religion = sunni + culture = persian + age = 35 + female = no + trait = mystic + trait = elusive_shadow + trait = scholarly_theologian + } + new_character = { + set_character_flag = qutb_shirazi_flag + } + } +} + +### Al-Dakhwar ### +province_event = { + id = 106100 + desc = EVTDESC106100 + picture = GFX_evt_emissary + + trigger = { + province_id = 728 #Damascus + NOT = { + has_province_modifier = famous_muslim_timer + } + owner = { + religion_group = muslim + top_liege = { + in_command = no + age = 16 + NOT = { + trait = on_hajj + } + religion_group = muslim + NOT = { + any_courtier = { + has_character_flag = al_dakhwar_flag + } + } + NOT = { + any_vassal = { + has_character_flag = al_dakhwar_flag + } + } + NOT = { + has_character_modifier = muslim_famous_timer + } + } + } + } + + mean_time_to_happen = { + months = 1000 + } + + immediate = { + hidden_tooltip = { + add_province_modifier = { + name = famous_muslim_timer + duration = 1825 + hidden = yes + } + } + } + + option = { + name = EVTOPTA106100 + owner = { + top_liege = { + hidden_tooltip = { + add_character_modifier = { + name = muslim_famous_timer + duration = 1825 + hidden = yes + } + } + character_event = { + id = 106101 + days = 3 + random = 4 + tooltip = EVTTOOLTIP106101 + } + } + } + } +} + +#Liege get new character: Al-Dakhwar +character_event = { + id = 106101 + desc = EVTDESC106101 + picture = GFX_evt_council + + is_triggered_only = yes + + option = { + name = EVTOPTA106101 + create_character = { + name = Muhadhdhabuddin + dynasty = 1031120 + attributes = { + learning = 9 + } + religion = ROOT + culture = levantine_arabic + age = 23 + female = no + trait = scholar + trait = quick + trait = scholarly_theologian + } + new_character = { + set_character_flag = al_dakhwar_flag + } + } + option = { + name = EVTOPTB106101 + prestige = -10 + } +} + +### Zayn al-Din Gorgani ### +province_event = { + id = 106105 + desc = EVTDESC106105 + picture = GFX_evt_emissary + + trigger = { + province_id = 633 #Gurgan + NOT = { + has_province_modifier = famous_muslim_timer + } + owner = { + religion_group = muslim + top_liege = { + in_command = no + age = 16 + NOT = { + trait = on_hajj + } + religion_group = muslim + NOT = { + any_courtier = { + has_character_flag = zayn_gorgani_flag + } + } + NOT = { + any_vassal = { + has_character_flag = zayn_gorgani_flag + } + } + NOT = { + has_character_modifier = muslim_famous_timer + } + } + } + } + + mean_time_to_happen = { + months = 1000 + } + + immediate = { + hidden_tooltip = { + add_province_modifier = { + name = famous_muslim_timer + duration = 1825 + hidden = yes + } + } + } + + option = { + name = EVTOPTA106105 + owner = { + top_liege = { + hidden_tooltip = { + add_character_modifier = { + name = muslim_famous_timer + duration = 1825 + hidden = yes + } + } + character_event = { + id = 106106 + days = 3 + random = 4 + tooltip = EVTTOOLTIP106106 + } + } + } + } +} + +#Liege get new character: Zayn al-Din Gorgani +character_event = { + id = 106106 + desc = EVTDESC106106 + picture = GFX_evt_council + + is_triggered_only = yes + + option = { + name = EVTOPTA106106 + create_character = { + name = "Zayn al-Din" + dynasty = 1031121 + attributes = { + learning = 9 + } + religion = ROOT + culture = persian + age = 45 + female = no + trait = scholar + trait = quick + trait = scholarly_theologian + } + new_character = { + set_character_flag = zayn_gorgani_flag + } + } +} + +### Rashidun al-Suri ### +province_event = { + id = 106110 + desc = EVTDESC106110 + picture = GFX_evt_emissary + + trigger = { + province_id = 774 #Jerusalem + NOT = { + has_province_modifier = famous_muslim_timer + } + owner = { + religion_group = muslim + top_liege = { + in_command = no + age = 16 + NOT = { + trait = on_hajj + } + religion_group = muslim + NOT = { + any_courtier = { + has_character_flag = rashidun_al_suri_flag + } + } + NOT = { + any_vassal = { + has_character_flag = rashidun_al_suri_flag + } + } + NOT = { + has_character_modifier = muslim_famous_timer + } + } + } + } + + mean_time_to_happen = { + months = 1000 + } + + immediate = { + hidden_tooltip = { + add_province_modifier = { + name = famous_muslim_timer + duration = 1825 + hidden = yes + } + } + } + + option = { + name = EVTOPTA106110 + owner = { + top_liege = { + hidden_tooltip = { + add_character_modifier = { + name = muslim_famous_timer + duration = 1825 + hidden = yes + } + } + character_event = { + id = 106111 + days = 3 + random = 4 + tooltip = EVTTOOLTIP106111 + } + } + } + } +} + +#Liege get new character: Rashidun al-Suri +character_event = { + id = 106111 + desc = EVTDESC106111 + picture = GFX_evt_council + + is_triggered_only = yes + + option = { + name = EVTOPTA106111 + create_character = { + name = Rashidun + dynasty = 1031122 + attributes = { + learning = 9 + } + religion = ROOT + culture = levantine_arabic + age = 30 + female = no + trait = gardener + trait = mystic + trait = scholarly_theologian + } + new_character = { + set_character_flag = rashidun_al_suri_flag + } + } +} + +### Ibn al-Baitar ### +province_event = { + id = 106115 + desc = EVTDESC106115 + picture = GFX_evt_emissary + + trigger = { + province_id = 167 #Malaga + NOT = { + has_province_modifier = famous_muslim_timer + } + owner = { + religion_group = muslim + top_liege = { + in_command = no + age = 16 + NOT = { + trait = on_hajj + } + religion_group = muslim + NOT = { + any_courtier = { + has_character_flag = ibn_baitar_flag + } + } + NOT = { + any_vassal = { + has_character_flag = ibn_baitar_flag + } + } + NOT = { + has_character_modifier = muslim_famous_timer + } + } + } + } + + mean_time_to_happen = { + months = 1000 + } + + immediate = { + hidden_tooltip = { + add_province_modifier = { + name = famous_muslim_timer + duration = 1825 + hidden = yes + } + } + } + + option = { + name = EVTOPTA106115 + owner = { + top_liege = { + hidden_tooltip = { + add_character_modifier = { + name = muslim_famous_timer + duration = 1825 + hidden = yes + } + } + character_event = { + id = 106116 + days = 3 + random = 4 + tooltip = EVTTOOLTIP106116 + } + } + } + } +} + +#Liege get new character: Ibn al-Baitar +character_event = { + id = 106116 + desc = EVTDESC106116 + picture = GFX_evt_council + + is_triggered_only = yes + + option = { + name = EVTOPTA106116 + create_character = { + name = Ibn + dynasty = 1031123 + attributes = { + learning = 9 + } + religion = ROOT + culture = andalusian_arabic + age = 30 + female = no + trait = gardener + trait = scholar + trait = scholarly_theologian + } + new_character = { + set_character_flag = ibn_baitar_flag + } + } +} + +### Hamdallah Mustawfi ### +province_event = { + id = 106120 + desc = EVTDESC106120 + picture = GFX_evt_emissary + + trigger = { + province_id = 664 #Qazwin + NOT = { + has_province_modifier = famous_muslim_timer + } + owner = { + religion_group = muslim + top_liege = { + in_command = no + age = 16 + NOT = { + trait = on_hajj + } + religion_group = muslim + NOT = { + any_courtier = { + has_character_flag = hamdallah_mustawfi_flag + } + } + NOT = { + any_vassal = { + has_character_flag = hamdallah_mustawfi_flag + } + } + NOT = { + has_character_modifier = muslim_famous_timer + } + } + } + } + + mean_time_to_happen = { + months = 1000 + } + + immediate = { + hidden_tooltip = { + add_province_modifier = { + name = famous_muslim_timer + duration = 1825 + hidden = yes + } + } + } + + option = { + name = EVTOPTA106120 + owner = { + top_liege = { + hidden_tooltip = { + add_character_modifier = { + name = muslim_famous_timer + duration = 1825 + hidden = yes + } + } + character_event = { + id = 106121 + days = 3 + random = 4 + tooltip = EVTTOOLTIP106121 + } + } + } + } +} + +#Liege get new character: Hamdallah Mustawfi +character_event = { + id = 106121 + desc = EVTDESC106121 + picture = GFX_evt_council + + is_triggered_only = yes + + option = { + name = EVTOPTA106121 + create_character = { + name = Hamdallah + dynasty = 1031124 + attributes = { + learning = 7 + } + religion = ROOT + culture = persian + age = 30 + female = no + trait = poet + trait = scholarly_theologian + } + new_character = { + set_character_flag = hamdallah_mustawfi_flag + } + } +} + +### Khwaja Abdullah Ansari ### +province_event = { + id = 106125 + desc = EVTDESC106125 + picture = GFX_evt_emissary + + trigger = { + province_id = 905 #Herat + NOT = { + has_province_modifier = famous_muslim_timer + } + owner = { + religion_group = muslim + top_liege = { + in_command = no + age = 16 + NOT = { + trait = on_hajj + } + religion_group = muslim + NOT = { + any_courtier = { + has_character_flag = khwaja_abdullah_ansari_flag + } + } + NOT = { + any_vassal = { + has_character_flag = khwaja_abdullah_ansari_flag + } + } + NOT = { + has_character_modifier = muslim_famous_timer + } + } + } + } + + mean_time_to_happen = { + months = 1000 + } + + immediate = { + hidden_tooltip = { + add_province_modifier = { + name = famous_muslim_timer + duration = 1825 + hidden = yes + } + } + } + + option = { + name = EVTOPTA106125 + owner = { + top_liege = { + hidden_tooltip = { + add_character_modifier = { + name = muslim_famous_timer + duration = 1825 + hidden = yes + } + } + character_event = { + id = 106126 + days = 3 + random = 4 + tooltip = EVTTOOLTIP106126 + } + } + } + } +} + +#Liege get new character: Khwaja Abdullah Ansari +character_event = { + id = 106126 + desc = EVTDESC106126 + picture = GFX_evt_council + + is_triggered_only = yes + + option = { + name = EVTOPTA106126 + create_character = { + name = "Khwaja Abdullah" + dynasty = 1031125 + attributes = { + learning = 9 + diplomacy = 10 + } + religion = ROOT + culture = persian + age = 30 + female = no + trait = mastermind_theologian + trait = poet + trait = gregarious + } + new_character = { + set_character_flag = khwaja_abdullah_ansari_flag + } + } +} + +### Jamshid al-Kashi ### +province_event = { + id = 106130 + desc = EVTDESC106130 + picture = GFX_evt_emissary + + trigger = { + province_id = 646 #Esfahan (Kashan) + NOT = { + has_province_modifier = famous_muslim_timer + } + owner = { + religion_group = muslim + top_liege = { + in_command = no + age = 16 + NOT = { + trait = on_hajj + } + religion_group = muslim + NOT = { + any_courtier = { + has_character_flag = jamshid_al_kashi_flag + } + } + NOT = { + any_vassal = { + has_character_flag = jamshid_al_kashi_flag + } + } + NOT = { + has_character_modifier = muslim_famous_timer + } + } + } + } + + mean_time_to_happen = { + months = 1000 + } + + immediate = { + hidden_tooltip = { + add_province_modifier = { + name = famous_muslim_timer + duration = 1825 + hidden = yes + } + } + } + + option = { + name = EVTOPTA106130 + owner = { + top_liege = { + hidden_tooltip = { + add_character_modifier = { + name = muslim_famous_timer + duration = 1825 + hidden = yes + } + } + character_event = { + id = 106131 + days = 3 + random = 4 + tooltip = EVTTOOLTIP106131 + } + } + } + } +} + +#Liege get new character: Jamshid al-Kashi +character_event = { + id = 106131 + desc = EVTDESC106131 + picture = GFX_evt_council + + is_triggered_only = yes + + option = { + name = EVTOPTA106131 + create_character = { + name = Jamshid + dynasty = 1031126 + attributes = { + learning = 9 + } + religion = ROOT + culture = persian + age = 35 + female = no + trait = scholar + trait = genius + trait = scholarly_theologian + } + new_character = { + set_character_flag = jamshid_al_kashi_flag + } + } +} + +### Najmuddin Kubra ### +province_event = { + id = 106135 + desc = EVTDESC106135 + picture = GFX_evt_emissary + + trigger = { + province_id = 623 #Khwarizm + NOT = { + has_province_modifier = famous_muslim_timer + } + owner = { + religion_group = muslim + top_liege = { + in_command = no + age = 16 + NOT = { + trait = on_hajj + } + religion_group = muslim + NOT = { + any_courtier = { + has_character_flag = najmuddin_kubra_flag + } + } + NOT = { + any_vassal = { + has_character_flag = najmuddin_kubra_flag + } + } + NOT = { + has_character_modifier = muslim_famous_timer + } + } + } + } + + mean_time_to_happen = { + months = 1000 + } + + immediate = { + hidden_tooltip = { + add_province_modifier = { + name = famous_muslim_timer + duration = 1825 + hidden = yes + } + } + } + + option = { + name = EVTOPTA106135 + owner = { + top_liege = { + hidden_tooltip = { + add_character_modifier = { + name = muslim_famous_timer + duration = 1825 + hidden = yes + } + } + character_event = { + id = 106136 + days = 3 + random = 4 + tooltip = EVTTOOLTIP106136 + } + } + } + } +} + +#Liege get new character: Najmuddin Kubra +character_event = { + id = 106136 + desc = EVTDESC106136 + picture = GFX_evt_council + + is_triggered_only = yes + + option = { + name = EVTOPTA106136 + create_character = { + name = Najmuddin + dynasty = 1031127 + attributes = { + learning = 9 + } + religion = ROOT + culture = persian + age = 30 + female = no + trait = scholar + trait = quick + trait = mastermind_theologian + } + new_character = { + set_character_flag = najmuddin_kubra_flag + } + } +} + +### Omar Khayyám ### +province_event = { + id = 106140 + desc = EVTDESC106140 + picture = GFX_evt_emissary + + trigger = { + province_id = 634 #Nishapur + NOT = { + has_province_modifier = famous_muslim_timer + } + owner = { + religion_group = muslim + top_liege = { + in_command = no + age = 16 + NOT = { + trait = on_hajj + } + religion_group = muslim + NOT = { + any_courtier = { + has_character_flag = omar_khayyam_flag + } + } + NOT = { + any_vassal = { + has_character_flag = omar_khayyam_flag + } + } + NOT = { + has_character_modifier = muslim_famous_timer + } + } + } + } + + mean_time_to_happen = { + months = 1000 + } + + immediate = { + hidden_tooltip = { + add_province_modifier = { + name = famous_muslim_timer + duration = 1825 + hidden = yes + } + } + } + + option = { + name = EVTOPTA106140 + owner = { + top_liege = { + hidden_tooltip = { + add_character_modifier = { + name = muslim_famous_timer + duration = 1825 + hidden = yes + } + } + character_event = { + id = 106141 + days = 3 + random = 4 + tooltip = EVTTOOLTIP106141 + } + } + } + } +} + +#Liege get new character: Omar Khayyám +character_event = { + id = 106141 + desc = EVTDESC106141 + picture = GFX_evt_council + + is_triggered_only = yes + + option = { + name = EVTOPTA106141 + create_character = { + name = Omar + dynasty = 1031128 + attributes = { + learning = 9 + } + religion = ROOT + culture = persian + age = 30 + female = no + trait = scholar + trait = hajjaj + trait = quick + trait = mastermind_theologian + } + new_character = { + set_character_flag = omar_khayyam_flag + } + } +} + +### Ibn Battuta ### +province_event = { + id = 106145 + desc = EVTDESC106145 + picture = GFX_evt_emissary + + trigger = { + province_id = 841 #Tangier + NOT = { + has_province_modifier = famous_muslim_timer + } + owner = { + religion_group = muslim + top_liege = { + in_command = no + age = 16 + NOT = { + trait = on_hajj + } + religion_group = muslim + NOT = { + any_courtier = { + has_character_flag = ibn_battuta_flag + } + } + NOT = { + any_vassal = { + has_character_flag = ibn_battuta_flag + } + } + NOT = { + has_character_modifier = muslim_famous_timer + } + } + } + } + + mean_time_to_happen = { + months = 1000 + } + + immediate = { + hidden_tooltip = { + add_province_modifier = { + name = famous_muslim_timer + duration = 1825 + hidden = yes + } + } + } + + option = { + name = EVTOPTA106145 + owner = { + top_liege = { + hidden_tooltip = { + add_character_modifier = { + name = muslim_famous_timer + duration = 1825 + hidden = yes + } + } + character_event = { + id = 106146 + days = 3 + random = 4 + tooltip = EVTTOOLTIP106146 + } + } + } + } +} + +#Liege get new character: Ibn Battuta +character_event = { + id = 106146 + desc = EVTDESC106146 + picture = GFX_evt_council + + is_triggered_only = yes + + option = { + name = EVTOPTA106146 + create_character = { + name = Ibn + dynasty = 1031129 + attributes = { + learning = 9 + } + religion = ROOT + culture = maghreb_arabic + age = 30 + female = no + trait = hajjaj + trait = ambitious + trait = poet + trait = charismatic_negotiator + } + new_character = { + set_character_flag = ibn_battuta_flag + } + } +} + +### Fakhr al-Din al-Razi ### +province_event = { + id = 106150 + desc = EVTDESC106150 + picture = GFX_evt_emissary + + trigger = { + province_id = 663 #Rayy + NOT = { + has_province_modifier = famous_muslim_timer + } + owner = { + religion_group = muslim + top_liege = { + in_command = no + age = 16 + NOT = { + trait = on_hajj + } + religion_group = muslim + NOT = { + any_courtier = { + has_character_flag = fakhr_razi_flag + } + } + NOT = { + any_vassal = { + has_character_flag = fakhr_razi_flag + } + } + NOT = { + has_character_modifier = muslim_famous_timer + } + } + } + } + + mean_time_to_happen = { + months = 1000 + } + + immediate = { + hidden_tooltip = { + add_province_modifier = { + name = famous_muslim_timer + duration = 1825 + hidden = yes + } + } + } + + option = { + name = EVTOPTA106150 + owner = { + top_liege = { + hidden_tooltip = { + add_character_modifier = { + name = muslim_famous_timer + duration = 1825 + hidden = yes + } + } + character_event = { + id = 106151 + days = 3 + random = 4 + tooltip = EVTTOOLTIP106151 + } + } + } + } +} + +#Liege get new character: Fakhr al-Din al-Razi +character_event = { + id = 106151 + desc = EVTDESC106151 + picture = GFX_evt_council + + is_triggered_only = yes + + option = { + name = EVTOPTA106151 + create_character = { + name = "Fakhr al-Din" + dynasty = 1031130 + attributes = { + learning = 9 + } + religion = ROOT + culture = persian + age = 30 + female = no + trait = ambitious + trait = scholarly_theologian + trait = scholar + } + new_character = { + set_character_flag = fakhr_razi_flag + } + } +} + +### Ibn al-Khatib ### +province_event = { + id = 106155 + desc = EVTDESC106155 + picture = GFX_evt_emissary + + trigger = { + province_id = 180 #Granada + NOT = { + has_province_modifier = famous_muslim_timer + } + owner = { + religion_group = muslim + top_liege = { + in_command = no + age = 16 + NOT = { + trait = on_hajj + } + religion_group = muslim + NOT = { + any_courtier = { + has_character_flag = ibn_al_khatib_flag + } + } + NOT = { + any_vassal = { + has_character_flag = ibn_al_khatib_flag + } + } + NOT = { + has_character_modifier = muslim_famous_timer + } + } + } + } + + mean_time_to_happen = { + months = 1000 + } + + immediate = { + hidden_tooltip = { + add_province_modifier = { + name = famous_muslim_timer + duration = 1825 + hidden = yes + } + } + } + + option = { + name = EVTOPTA106155 + owner = { + top_liege = { + hidden_tooltip = { + add_character_modifier = { + name = muslim_famous_timer + duration = 1825 + hidden = yes + } + } + character_event = { + id = 106156 + days = 3 + random = 4 + tooltip = EVTTOOLTIP106156 + } + } + } + } +} + +#Liege get new character: Ibn al-Khatib +character_event = { + id = 106156 + desc = EVTDESC106156 + picture = GFX_evt_council + + is_triggered_only = yes + + option = { + name = EVTOPTA106156 + create_character = { + name = Ibn + dynasty = 1031131 + attributes = { + learning = 9 + diplomacy = 11 + } + religion = ROOT + culture = andalusian_arabic + age = 30 + female = no + trait = poet + trait = ambitious + trait = charismatic_negotiator + trait = gregarious + } + new_character = { + set_character_flag = ibn_al_khatib_flag + add_ambition = obj_become_chancellor + } + } +} + +### Ibn Rushd ### +province_event = { + id = 106160 + desc = EVTDESC106160 + picture = GFX_evt_emissary + + trigger = { + province_id = 181 #Cordoba + NOT = { + has_province_modifier = famous_muslim_timer + } + owner = { + religion_group = muslim + top_liege = { + in_command = no + age = 16 + NOT = { + trait = on_hajj + } + religion_group = muslim + NOT = { + any_courtier = { + has_character_flag = ibn_rushd_flag + } + } + NOT = { + any_vassal = { + has_character_flag = ibn_rushd_flag + } + } + NOT = { + has_character_modifier = muslim_famous_timer + } + } + } + } + + mean_time_to_happen = { + months = 1000 + } + + immediate = { + hidden_tooltip = { + add_province_modifier = { + name = famous_muslim_timer + duration = 1825 + hidden = yes + } + } + } + + option = { + name = EVTOPTA106160 + owner = { + top_liege = { + hidden_tooltip = { + add_character_modifier = { + name = muslim_famous_timer + duration = 1825 + hidden = yes + } + } + character_event = { + id = 106161 + days = 3 + random = 4 + tooltip = EVTTOOLTIP106161 + } + } + } + } +} + +#Liege get new character: Ibn Rushd +character_event = { + id = 106161 + desc = EVTDESC106161 + picture = GFX_evt_council + + is_triggered_only = yes + + option = { + name = EVTOPTA106161 + create_character = { + name = Ibn + dynasty = 1031132 + attributes = { + learning = 9 + } + religion = ROOT + culture = andalusian_arabic + age = 30 + female = no + trait = ambitious + trait = scholar + trait = faqih + trait = scholarly_theologian + } + new_character = { + set_character_flag = ibn_rushd_flag + } + } +} + +### Ibn Sina ### +province_event = { + id = 106165 + desc = EVTDESC106165 + picture = GFX_evt_emissary + + trigger = { + province_id = 628 #Bukhara + NOT = { + has_province_modifier = famous_muslim_timer + } + owner = { + religion_group = muslim + top_liege = { + in_command = no + age = 16 + NOT = { + trait = on_hajj + } + religion_group = muslim + NOT = { + any_courtier = { + has_character_flag = avicenna_flag + } + } + NOT = { + any_vassal = { + has_character_flag = avicenna_flag + } + } + NOT = { + has_character_modifier = muslim_famous_timer + } + } + } + } + + mean_time_to_happen = { + months = 1000 + } + + immediate = { + hidden_tooltip = { + add_province_modifier = { + name = famous_muslim_timer + duration = 1825 + hidden = yes + } + } + } + + option = { + name = EVTOPTA106165 + owner = { + top_liege = { + hidden_tooltip = { + add_character_modifier = { + name = muslim_famous_timer + duration = 1825 + hidden = yes + } + } + character_event = { + id = 106166 + days = 3 + random = 4 + tooltip = EVTTOOLTIP106166 + } + } + } + } +} + +#Liege get new character: Ibn Sina +character_event = { + id = 106166 + desc = EVTDESC106166 + picture = GFX_evt_council + + is_triggered_only = yes + + option = { + name = EVTOPTA106166 + create_character = { + name = Ibn + dynasty = 1031133 + attributes = { + learning = 9 + } + religion = ROOT + culture = persian + age = 30 + female = no + trait = ambitious + trait = poet + trait = scholar + trait = scholarly_theologian + } + new_character = { + set_character_flag = avicenna_flag + } + } +} + +### Al-Jaldaki ### +province_event = { + id = 106170 + desc = EVTDESC106170 + picture = GFX_evt_emissary + + trigger = { + province_id = 635 #Qohistan + NOT = { + has_province_modifier = famous_muslim_timer + } + owner = { + religion_group = muslim + top_liege = { + in_command = no + age = 16 + NOT = { + trait = on_hajj + } + religion_group = muslim + NOT = { + any_courtier = { + has_character_flag = al_jaldaki_flag + } + } + NOT = { + any_vassal = { + has_character_flag = al_jaldaki_flag + } + } + NOT = { + has_character_modifier = muslim_famous_timer + } + } + } + } + + mean_time_to_happen = { + months = 1000 + } + + immediate = { + hidden_tooltip = { + add_province_modifier = { + name = famous_muslim_timer + duration = 1825 + hidden = yes + } + } + } + + option = { + name = EVTOPTA106170 + owner = { + top_liege = { + hidden_tooltip = { + add_character_modifier = { + name = muslim_famous_timer + duration = 1825 + hidden = yes + } + } + character_event = { + id = 106171 + days = 3 + random = 4 + tooltip = EVTTOOLTIP106171 + } + } + } + } +} + +#Liege get new character: Al-Jaldaki +character_event = { + id = 106171 + desc = EVTDESC106171 + picture = GFX_evt_council + + is_triggered_only = yes + + option = { + name = EVTOPTA106171 + create_character = { + name = "Izz al-Din Aydamir" + dynasty = 1031134 + attributes = { + learning = 9 + } + religion = ROOT + culture = persian + age = 30 + female = no + trait = mystic + trait = scholarly_theologian + trait = quick + } + new_character = { + set_character_flag = al_jaldaki_flag + } + } +} \ No newline at end of file diff --git a/LCDA/events/job_lord_spiritual.txt b/LCDA/events/job_lord_spiritual.txt new file mode 100644 index 0000000..40d62f4 --- /dev/null +++ b/LCDA/events/job_lord_spiritual.txt @@ -0,0 +1,2702 @@ +############################## +# LORD SPIRITUAL +# +# Job: action_inquisition +# 900: County Religion Converted +# 901: Subject Religion Converted +# 902: Heathens Attack the Lord Spiritual +# 903: Heretic Noble +# +# Job: action_improve_rel_relations +# 906: The Lord Spiritual attempts to improve relations with a priest +# 907: The Lord Spiritual attempts to sabotage the relations of a priest towards the official head of the religion +# +# Job: action_advance_cul_tech +# 926: A Great Inventor offers his help: Random Culture Tech increases +# 927: Lord Spiritual = heretic +# +############################## + + +############################## +# LORD SPIRITUAL +# JOB: action_inquisition +############################## + +# 900: The Lord Spiritual converts a province! +character_event = { + id = 900 + title = "EVTNAME900" + desc = "EVTDESC900" + picture = GFX_evt_heretic + border = GFX_event_normal_frame_religion + + min_age = 16 + capable_only = yes + prisoner = no + + trigger = { + has_job_action = action_inquisition + NOT = { has_character_modifier = in_seclusion } + NOT = { location = { religion = ROOT } } + location = { + owner = { same_realm = ROOT } + } + } + + mean_time_to_happen = { + months = 960 + + modifier = { + factor = 2.0 + liege = { + tier = count + ai = yes + } + } + modifier = { + factor = 0.75 + liege = { + has_artifact = finger_of_st_john + } + } + modifier = { + factor = 0.75 + location = { culture_group = ROOT } + } + modifier = { + factor = 0.75 + location = { culture = ROOT } + } + modifier = { + factor = 0.5 + location = { religion_group = ROOT } + } + modifier = { + factor = 0.75 + location = { has_province_modifier = depopulated_1 } + } + modifier = { + factor = 0.50 + location = { has_province_modifier = depopulated_2 } + } + modifier = { + factor = 0.25 + location = { has_province_modifier = depopulated_3 } + } + modifier = { + factor = 3.0 + location = { is_hard_to_convert = yes } + } + modifier = { + factor = 1.25 + NOT = { learning = 2 } + } + modifier = { + factor = 1.25 + NOT = { learning = 3 } + } + modifier = { + factor = 1.25 + NOT = { learning = 4 } + } + modifier = { + factor = 1.25 + NOT = { learning = 5 } + } + modifier = { + factor = 0.75 + learning = 10 + } + modifier = { + factor = 0.75 + learning = 11 + } + modifier = { + factor = 0.75 + learning = 12 + } + modifier = { + factor = 0.75 + learning = 13 + } + modifier = { + factor = 3.0 + NOT = { religion_authority = 0.1 } + } + modifier = { + factor = 2.0 + NOT = { religion_authority = 0.2 } + } + modifier = { + factor = 1.5 + NOT = { religion_authority = 0.3 } + } + modifier = { + factor = 1.5 + NOT = { religion_authority = 0.4 } + } + modifier = { + factor = 1.5 + NOT = { religion_authority = 0.5 } + } + modifier = { + factor = 0.75 + religion_authority = 0.6 + } + modifier = { + factor = 0.75 + religion_authority = 0.7 + } + modifier = { + factor = 0.75 + religion_authority = 0.8 + } + modifier = { + factor = 0.75 + religion_authority = 0.9 + } + modifier = { + factor = 0.75 + liege = { + society_member_of = monastic_order_dominican + society_rank >= 4 + } + } + + # Hindus and Buddhists have a hard time converting other Indian religions + modifier = { + factor = 3.0 + OR = { + religion = hindu + religion = buddhist + } + location = { + religion_group = indian_group + } + } + # Jains have a hard time converting ALL non-pagans + modifier = { + factor = 3.0 + religion = jain + location = { + NOT = { religion_group = pagan_group } + } + } + + modifier = { + factor = 3.0 + religion_group = pagan_group + is_reformed_religion = no + location = { + OR = { + NOT = { religion_group = pagan_group } + is_reformed_religion = yes + } + } + } + modifier = { + factor = 1.5 + location = { is_heresy_of = ROOT } + } + modifier = { + factor = 0.75 + location = { + has_province_modifier = force_converting + } + } + modifier = { + factor = 3.0 + location = { + has_province_modifier = heretic_stronghold + } + } + modifier = { + factor = 3 + has_game_rule = { + name = religious_conversion + value = slower + } + } + } + + option = { + name = "EVTOPTA900" + piety = 10 + location = { religion = ROOT } + hidden_tooltip = { + location = { + if = { + limit = { has_province_modifier = heretic_stronghold } + remove_province_modifier = heretic_stronghold + } + } + } + liege = { + letter_event = { id = 20000 tooltip = EVTTOOLTIP20000 } + hidden_tooltip = { + if = { + limit = { + top_liege = { + NOT = { character = PREV } + religion = ROOT + } + } + top_liege = { character_event = { id = 20001 } } + } + } + } + } +} + +# 20000: The Lord Spiritual informs his liege of the conversion +letter_event = { + id = 20000 + desc = "EVTDESC20000" + border = GFX_event_letter_frame_religion + + is_triggered_only = yes + + option = { + name = "EVTOPTA20000" + piety = 15 + if = { + limit = { + is_heretic = no + rightful_religious_head_scope = { + ROOT = { + NOT = { excommunicated_for = PREV } + } + } + } + religion_head = { + opinion = { + modifier = opinion_converted_province + who = ROOT + months = 24 + } + } + } + } +} + +# 20001: Informs top liege +character_event = { + id = 20001 + desc = EVTDESC20001 + picture = GFX_evt_heretic + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + notification = yes + + option = { + name = "EXCELLENT" + } +} + +# 901: The Lord Spiritual converts a subject character +character_event = { + id = 901 + title = "EVTNAME901" + desc = "EVTDESC901" + picture = GFX_evt_heretic + border = GFX_event_normal_frame_religion + + min_age = 16 + capable_only = yes + prisoner = no + + trigger = { + has_job_action = action_inquisition + NOT = { has_character_modifier = in_seclusion } + location = { + any_province_character = { + is_adult = yes + NOT = { character = ROOT } + NOT = { is_liege_of = ROOT } + NOT = { religion = ROOT } + OR = { + is_ruler = no + primary_title = { + controls_religion = no + mercenary = no + holy_order = no + } + } + same_realm = ROOT + } + } + } + + mean_time_to_happen = { + months = 120 + + modifier = { + factor = 1.25 + NOT = { learning = 2 } + } + modifier = { + factor = 1.25 + NOT = { learning = 3 } + } + modifier = { + factor = 1.25 + NOT = { learning = 4 } + } + modifier = { + factor = 1.25 + NOT = { learning = 5 } + } + modifier = { + factor = 0.75 + learning = 10 + } + modifier = { + factor = 0.75 + learning = 11 + } + modifier = { + factor = 0.75 + learning = 12 + } + modifier = { + factor = 0.75 + learning = 13 + } + modifier = { + factor = 2.0 + NOT = { religion_authority = 0.4 } + } + modifier = { + factor = 2.0 + NOT = { religion_authority = 0.2 } + } + modifier = { + factor = 0.75 + religion_authority = 0.6 + } + modifier = { + factor = 0.75 + religion_authority = 0.8 + } + modifier = { + factor = 3.0 + religion_group = pagan_group + is_reformed_religion = no + } + } + + option = { + name = "EVTOPTA901" + piety = 5 + location = { + random_province_character = { + limit = { + is_adult = yes + NOT = { character = ROOT } + NOT = { is_liege_of = ROOT } + NOT = { religion = ROOT } + OR = { + is_ruler = no + primary_title = { + controls_religion = no + mercenary = no + holy_order = no + } + } + same_realm = ROOT + } + letter_event = { id = 20010 tooltip = "EVTTOOLTIP20010" } + } + } + } +} + +# 20010: Inform the target character about this +letter_event = { + id = 20010 + desc = "EVTDESC20010" + border = GFX_event_letter_frame_religion + + is_triggered_only = yes + + option = { + name = "EVTOPTA20010" + + if = { + limit = { higher_tier_than = BARON } + religion_authority = { + modifier = ruler_converted_from + } + } + + religion = FROM + + if = { + limit = { higher_tier_than = BARON } + religion_authority = { + modifier = ruler_converted_to + } + } + + hidden_tooltip = { + FROM = { + liege = { letter_event = { id = 20011 } } + } + if = { + limit = { + liege = { + job_spiritual = { + NOT = { character = FROM } + } + } + } + liege = { letter_event = { id = 20012 } } + } + } + } +} + +# 20011: Inform Lord Spiritual's Liege about this +letter_event = { + id = 20011 + desc = "EVTDESC20011" + border = GFX_event_letter_frame_religion + + show_from_from = yes + + is_triggered_only = yes + + option = { + name = "EVTOPTA20011" + } +} + +# 20012: Inform character's Liege about this +letter_event = { + id = 20012 + desc = "EVTDESC20012" + border = GFX_event_letter_frame_religion + + is_triggered_only = yes + + option = { + name = "EVTOPTA20012" + trigger = { FROM = { religion = ROOT } } + } + option = { + name = "EVTOPTB20012" + trigger = { FROM = { NOT = { religion = ROOT } } } + } +} + + +# 902: The Lord Spiritual is attacked by heathens (Gets away, Is wounded, Is killed) +character_event = { + id = 902 + title = "EVTNAME902" + desc = "EVTDESC902" + picture = GFX_evt_peasants + border = GFX_event_normal_frame_religion + + min_age = 16 + capable_only = yes + prisoner = no + + trigger = { + has_job_action = action_inquisition + NOT = { has_character_modifier = in_seclusion } + location = { + NOT = { religion = ROOT } + owner = { same_realm = ROOT } + } + } + + mean_time_to_happen = { + months = 120 + + modifier = { + factor = 2.0 + liege = { + tier = count + ai = yes + } + } + + modifier = { + factor = 0.75 + NOT = { learning = 2 } + } + modifier = { + factor = 0.75 + NOT = { learning = 3 } + } + modifier = { + factor = 0.75 + NOT = { learning = 4 } + } + modifier = { + factor = 0.75 + NOT = { learning = 5 } + } + modifier = { + factor = 1.25 + learning = 10 + } + modifier = { + factor = 1.25 + learning = 11 + } + modifier = { + factor = 1.25 + learning = 12 + } + modifier = { + factor = 1.25 + learning = 13 + } + modifier = { + factor = 0.75 + NOT = { religion_authority = 0.4 } + } + modifier = { + factor =0.75 + NOT = { religion_authority = 0.2 } + } + modifier = { + factor = 2.0 + religion_authority = 0.6 + } + modifier = { + factor = 2.0 + religion_authority = 0.8 + } + } + + option = { + name = "EVTOPTA902" + random_list = { + 50 = { character_event = { id = 20020 tooltip = "EVTTOOLTIP20020" } } + 40 = { character_event = { id = 20021 tooltip = "EVTTOOLTIP20021" } } + 10 = { + hidden_tooltip = { + liege = { character_event = { id = 20023 } } + } + death = { + death_reason = death_rabble + } + } + } + } +} + +# 20020: Lord Spiritual gets away +character_event = { + id = 20020 + desc = "EVTDESC20020" + picture = GFX_evt_spymaster + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + option = { + name = "EVTOPTA20020" + prestige = -10 + } +} + +# 20021: Lord Spiritual gets wounded +character_event = { + id = 20021 + desc = "EVTDESC20021" + picture = GFX_evt_illness + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + immediate = { + location = { + save_event_target_as = wounded_location + } + } + + option = { + name = "EVTOPTA20021" + trigger = { + NOT = { + religion_group = muslim + } + NOT = { + trait = wroth + } + } + add_trait = wounded + liege = { letter_event = { id = 20022 tooltip = "EVTTOOLTIP20022" } } + } + option = { + name = "EVTOPTB20021" + tooltip_info = wroth + trigger = { + trait = wroth + NOT = { trait = humble} + } + add_trait = wounded + add_trait = zealous + liege = { letter_event = { id = 20022 tooltip = "EVTTOOLTIP20022" } } + } + option = { + name = "EVTOPTC20021" + trigger = { + religion_group = muslim + NOT = { + AND = { + trait = wroth + NOT = { trait = humble } + } + } + } + add_trait = wounded + liege = { letter_event = { id = 20022 tooltip = "EVTTOOLTIP20022" } } + } +} + +# 20022: Inform the Liege about wounding +character_event = { + id = 20022 + desc = EVTDESC20022 + picture = GFX_evt_peasants + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + notification = yes + + immediate = { + prestige = -10 + } + + option = { + name = EVTOPTA20022 + tooltip = { prestige = -10 } + } +} + +# 20023: Inform the Liege about death +character_event = { + id = 20023 + desc = "EVTDESC20023" + picture = GFX_evt_death + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + option = { + name = "EVTOPTA20023" + prestige = -15 + } +} + + +# 903: The Lord Spiritual suspects a subject character of heresy +character_event = { + id = 903 + title = "EVTNAME903" + desc = "EVTDESC903" + picture = GFX_evt_heretic + border = GFX_event_normal_frame_religion + + min_age = 16 + capable_only = yes + prisoner = no + + trigger = { + has_job_action = action_inquisition + NOT = { has_character_modifier = in_seclusion } + NOT = { religion_group = pagan_group } + NOT = { religion_group = indian_group } + trait = zealous + location = { + any_province_lord = { + trait = cynical + NOT = { is_liege_of = ROOT } + NOT = { has_character_flag = no_heretic } + NOT = { has_character_flag = branded_heretic } + NOT = { character = ROOT } + age = 20 + same_realm = ROOT + religion_group = ROOT + can_change_religion = yes + NOT = { piety = 100 } + } + } + } + + mean_time_to_happen = { + months = 240 + + modifier = { + factor = 1.25 + NOT = { learning = 2 } + } + modifier = { + factor = 1.25 + NOT = { learning = 3 } + } + modifier = { + factor = 1.25 + NOT = { learning = 4 } + } + modifier = { + factor = 1.25 + NOT = { learning = 5 } + } + modifier = { + factor = 0.75 + learning = 10 + } + modifier = { + factor = 0.75 + learning = 11 + } + modifier = { + factor = 0.75 + learning = 12 + } + modifier = { + factor = 0.75 + learning = 13 + } + modifier = { + factor = 2.0 + NOT = { religion_authority = 0.4 } + } + modifier = { + factor = 2.0 + NOT = { religion_authority = 0.2 } + } + modifier = { + factor = 0.75 + religion_authority = 0.6 + } + modifier = { + factor = 0.75 + religion_authority = 0.8 + } + } + + immediate = { + location = { + random_province_lord = { + limit = { + trait = cynical + NOT = { is_liege_of = ROOT } + NOT = { has_character_flag = no_heretic } + NOT = { has_character_flag = branded_heretic } + NOT = { character = ROOT } + age = 20 + same_realm = ROOT + religion_group = ROOT + can_change_religion = yes + NOT = { piety = 100 } + } + save_event_target_as = suspected_heretic + } + } + } + + option = { + name = "EVTOPTA903" + ai_chance = { factor = 75 } + location = { + event_target:suspected_heretic = { + character_event = { id = 20030 days = 7 tooltip = "EVTTOOLTIP20030" } + } + } + } +} + +# 20030: Noble reacts to the accusations +character_event = { + id = 20030 + desc = "EVTDESC20030" + picture = GFX_evt_spymaster + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + option = { + name = "EVTOPTA20030" + trigger = { + NOT = { + religion_group = muslim + } + } + FROM = { + liege = { letter_event = { id = 20032 tooltip = "EVTTOOLTIP20032" } } + } + } + option = { + name = "EVTOPTB20030" + trigger = { + religion_group = muslim + } + FROM = { + liege = { letter_event = { id = 20032 tooltip = "EVTTOOLTIP20032" } } + } + } +} + +# 20032: Liege: The noble complains +letter_event = { + id = 20032 + desc = "EVTDESC20032" + border = GFX_event_letter_frame_religion + + is_triggered_only = yes + + option = { + name = "EVTOPTA20032" #Noble = no heretic + ai_chance = { + factor = 50 + modifier = { + factor = 2.0 + opinion = { who = FROM value = 50 } + } + modifier = { + factor = 2.0 + opinion = { who = FROM value = 75 } + } + } + FROM = { + letter_event = { id = 20033 days = 7 tooltip = "EVTTOOLTIP20033" } + opinion = { + modifier = opinion_grateful + who = ROOT + years = 1 + } + set_character_flag = no_heretic + } + job_spiritual = { + letter_event = { id = 20034 days = 7 tooltip = "EVTTOOLTIP20034" } + opinion = { + modifier = opinion_chastised_by_liege + who = ROOT + years = 1 + } + } + } + option = { + name = "EVTOPTB20032" #Noble = heretic + ai_chance = { + factor = 50 + modifier = { + factor = 2.0 + NOT = { opinion = { who = FROM value = -25 } } + } + modifier = { + factor = 2.0 + NOT = { opinion = { who = FROM value = -50 } } + } + } + FROM = { + letter_event = { id = 20035 days = 7 tooltip = "EVTTOOLTIP20035" } + opinion = { + modifier = opinion_branded_heretic + who = ROOT + years = 5 + } + set_character_flag = branded_heretic + } + job_spiritual = { + letter_event = { id = 20036 days = 7 tooltip = "EVTTOOLTIP20036" } + } + } +} + +# 20033: Noble: Noble isn't heretic +letter_event = { + id = 20033 + desc = "EVTDESC20033" + border = GFX_event_letter_frame_religion + + is_triggered_only = yes + + option = { + name = "EVTOPTA20033" + trigger = { + NOT = { + religion_group = muslim + } + } + piety = 5 + } + option = { + name = "EVTOPTB20033" + trigger = { + religion_group = muslim + } + piety = 5 + } +} + +# 20034: Lord Spiritual: Noble isn't heretic +letter_event = { + id = 20034 + desc = "EVTDESC20034" + border = GFX_event_letter_frame_religion + + is_triggered_only = yes + + option = { + name = "EVTOPTA20034" + liege = { + reverse_opinion = { + modifier = opinion_disappointed + who = ROOT + years = 1 + } + } + } +} + +# 20035: Noble: Noble is heretic +letter_event = { + id = 20035 + desc = "EVTDESC20035" + border = GFX_event_letter_frame_religion + + is_triggered_only = yes + + option = { + name = "EVTOPTA20035" + FROM = { + opinion = { + modifier = opinion_branded_heretic + who = ROOT + years = 5 + } + } + piety = -50 + } +} + +# 20036: Lord Spiritual: Noble is heretic +letter_event = { + id = 20036 + desc = "EVTDESC20036" + border = GFX_event_letter_frame_religion + + is_triggered_only = yes + + option = { + name = "EVTOPTA20036" + piety = 10 + } +} + +# 20037: Increased revolt risk +character_event = { + id = 20037 + desc = "EVTDESC20037" + picture = GFX_evt_peasants + border = GFX_event_normal_frame_religion + + min_age = 16 + capable_only = yes + prisoner = no + + trigger = { + has_job_action = action_inquisition + NOT = { has_character_modifier = in_seclusion } + location = { + NOT = { religion = ROOT } + NOT = { has_province_modifier = religious_tension } + } + } + + mean_time_to_happen = { + months = 240 + + modifier = { + factor = 0.75 + NOT = { learning = 2 } + } + modifier = { + factor = 0.75 + NOT = { learning = 3 } + } + modifier = { + factor = 0.75 + NOT = { learning = 4 } + } + modifier = { + factor = 0.75 + NOT = { learning = 5 } + } + modifier = { + factor = 1.25 + learning = 10 + } + modifier = { + factor = 1.25 + learning = 11 + } + modifier = { + factor = 1.25 + learning = 12 + } + modifier = { + factor = 1.25 + learning = 13 + } + modifier = { + factor = 0.75 + NOT = { religion_authority = 0.4 } + } + modifier = { + factor =0.75 + NOT = { religion_authority = 0.2 } + } + modifier = { + factor = 2.0 + religion_authority = 0.6 + } + modifier = { + factor = 2.0 + religion_authority = 0.8 + } + } + + option = { + name = "EVTOPTA20037" + hidden_tooltip = { + location = { + # Inform barons about the rebels + owner = { + if = { + limit = { + is_liege_of = ROOT + } + set_character_flag = liege_informed + } + } + any_province_lord = { + limit = { + NOT = { has_character_flag = liege_informed } + ai = no + } + character_event = { id = 20038 days = 1 } + } + # Inform liege + ROOT = { + liege = { letter_event = { id = 20039 } } + clr_character_flag = liege_informed + } + } + } + } +} + +# 20038: Inform province lords +character_event = { + id = 20038 + desc = "EVTDESC20038" + picture = GFX_evt_peasants + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + option = { + name = "EVTOPTA20038" + } +} + +# 20039: Inform liege +letter_event = { + id = 20039 + desc = "EVTDESC20039" + border = GFX_event_letter_frame_religion + + is_triggered_only = yes + + option = { + name = "EVTOPTA20039" + FROM = { + location = { + # Increase revolt risk + add_province_modifier = { + name = religious_tension + duration = 365 + } + # Province barons + any_province_lord = { + limit = { + NOT = { character = ROOT } + NOT = { character = FROM } + } + opinion = { + who = ROOT + modifier = opinion_irritated + months = 12 + } + } + } + } + } +} + +# Chaplain arrives at Pagan capital +character_event = { + id = 39650 + desc = EVTDESC39650 + picture = GFX_evt_bishop + border = GFX_event_normal_frame_religion + + min_age = 16 + capable_only = yes + prisoner = no + + trigger = { + has_job_action = action_inquisition + NOT = { has_character_modifier = in_seclusion } + NOT = { has_character_flag = preacher_arrives } + location = { + owner = { + NOT = { character = ROOT } + NOT = { is_liege_of = ROOT } + NOT = { religion = ROOT } + religion_group = pagan_group + NOT = { same_realm = ROOT } + controls_religion = no + } + } + } + + mean_time_to_happen = { + days = 1 + } + + option = { + name = EVTOPTA39650 + set_character_flag = preacher_arrives + location = { + owner = { + character_event = { id = 39600 days = 4 tooltip = EVTTOOLTIP39600 } + } + } + } +} + +# Chaplain has a chance of converting the Pagan lord +character_event = { + id = 39651 + desc = EVTDESC39651 + picture = GFX_evt_bishop + border = GFX_event_normal_frame_religion + + min_age = 16 + capable_only = yes + prisoner = no + has_character_flag = preacher_arrives + + trigger = { + has_job_action = action_inquisition + NOT = { has_character_modifier = in_seclusion } + location = { + owner = { + is_adult = yes + NOT = { trait = incapable } + NOT = { character = ROOT } + NOT = { is_liege_of = ROOT } + NOT = { religion = ROOT } + religion_group = pagan_group + is_reformed_religion = no + NOT = { same_realm = ROOT } + controls_religion = no + # at_location = ROOT + } + } + } + + mean_time_to_happen = { + months = 120 + + modifier = { + factor = 1.25 + NOT = { learning = 2 } + } + modifier = { + factor = 1.25 + NOT = { learning = 3 } + } + modifier = { + factor = 1.25 + NOT = { learning = 4 } + } + modifier = { + factor = 1.25 + NOT = { learning = 5 } + } + modifier = { + factor = 0.75 + learning = 10 + } + modifier = { + factor = 0.75 + learning = 11 + } + modifier = { + factor = 0.75 + learning = 12 + } + modifier = { + factor = 0.75 + learning = 13 + } + modifier = { + factor = 2.0 + NOT = { religion_authority = 0.4 } + } + modifier = { + factor = 2.0 + NOT = { religion_authority = 0.2 } + } + modifier = { + factor = 0.75 + religion_authority = 0.6 + } + modifier = { + factor = 0.75 + religion_authority = 0.8 + } + # Local Pagan religion authority + modifier = { + factor = 0.75 + location = { + owner = { + NOT = { religion_authority = 0.2 } + } + } + } + modifier = { + factor = 0.75 + location = { + owner = { + NOT = { religion_authority = 0.4 } + } + } + } + modifier = { + factor = 2 + location = { + owner = { + religion_authority = 0.6 + } + } + } + modifier = { + factor = 2 + location = { + owner = { + religion_authority = 0.8 + } + } + } + } + + option = { + name = EVTOPTA39651 + hidden_tooltip = { + location = { + owner = { + character_event = { id = 39601 days = 1 } + } + } + } + } +} + +# Chaplain converts Pagan courtier +character_event = { + id = 39652 + desc = EVTDESC39652 + picture = GFX_evt_bishop + border = GFX_event_normal_frame_religion + + min_age = 16 + capable_only = yes + prisoner = no + has_character_flag = preacher_arrives + + trigger = { + has_job_action = action_inquisition + NOT = { has_character_modifier = in_seclusion } + location = { + owner = { + NOT = { character = ROOT } + NOT = { is_liege_of = ROOT } + NOT = { religion = ROOT } + religion_group = pagan_group + is_reformed_religion = no + NOT = { same_realm = ROOT } + } + } + } + + mean_time_to_happen = { + months = 120 + + modifier = { + factor = 1.25 + NOT = { learning = 2 } + } + modifier = { + factor = 1.25 + NOT = { learning = 3 } + } + modifier = { + factor = 1.25 + NOT = { learning = 4 } + } + modifier = { + factor = 1.25 + NOT = { learning = 5 } + } + modifier = { + factor = 0.75 + learning = 10 + } + modifier = { + factor = 0.75 + learning = 11 + } + modifier = { + factor = 0.75 + learning = 12 + } + modifier = { + factor = 0.75 + learning = 13 + } + modifier = { + factor = 2.0 + NOT = { religion_authority = 0.4 } + } + modifier = { + factor = 2.0 + NOT = { religion_authority = 0.2 } + } + modifier = { + factor = 0.75 + religion_authority = 0.6 + } + modifier = { + factor = 0.75 + religion_authority = 0.8 + } + } + + option = { + name = EVTOPTA39652 + hidden_tooltip = { + location = { + owner = { + random_courtier = { + limit = { + age = 10 + prisoner = no + at_location = ROOT + NOT = { trait = incapable } + ai = yes + religion_group = pagan_group + } + character_event = { id = 39610 days = 1 } + } + } + } + } + } +} + +# Chaplain squabbles with other chaplain +character_event = { + id = 39653 + desc = EVTDESC39653 + picture = GFX_evt_bishop + border = GFX_event_normal_frame_religion + + min_age = 16 + capable_only = yes + prisoner = no + has_character_flag = preacher_arrives + + trigger = { + has_job_action = action_inquisition + NOT = { has_character_modifier = in_seclusion } + location = { + owner = { + NOT = { character = ROOT } + NOT = { is_liege_of = ROOT } + NOT = { religion = ROOT } + religion_group = pagan_group + NOT = { same_realm = ROOT } + } + } + any_playable_ruler = { + any_courtier = { + has_job_action = action_inquisition + has_character_flag = preacher_arrives + at_location = ROOT + NOT = { character = ROOT } + NOT = { same_liege = ROOT } + } + } + } + + mean_time_to_happen = { + months = 120 + } + + option = { + name = EVTOPTA39653 + hidden_tooltip = { + random_playable_ruler = { + limit = { + any_courtier = { + has_job_action = action_inquisition + has_character_flag = preacher_arrives + at_location = ROOT + NOT = { character = ROOT } + NOT = { same_liege = ROOT } + } + } + random_courtier = { + limit = { + has_job_action = action_inquisition + has_character_flag = preacher_arrives + at_location = ROOT + NOT = { character = ROOT } + NOT = { same_liege = ROOT } + } + character_event = { id = 39611 days = 1 } + } + } + } + } +} + +# Clear preacher_arrives flag +character_event = { + id = 39654 + hide_window = yes + + min_age = 16 + capable_only = yes + prisoner = no + has_character_flag = preacher_arrives + + trigger = { + NOT = { has_job_action = action_inquisition } + } + + mean_time_to_happen = { + days = 1 + } + + immediate = { + clr_character_flag = preacher_arrives + } +} + + + +############################## +# LORD SPIRITUAL +# JOB: action_improve_rel_relations +############################## + +# 906: The Lord Spiritual improves relations between the liege and a bishop +character_event = { + id = 906 + title = "EVTNAME906" + desc = "EVTDESC906" + picture = GFX_evt_bishop + border = GFX_event_normal_frame_religion + + min_age = 16 + capable_only = yes + prisoner = no + + trigger = { + has_job_action = action_improve_rel_relations + NOT = { has_character_modifier = in_seclusion } + location = { + any_province_lord = { + NOT = { character = ROOT } + is_priest = yes + religion = ROOT + NOT = { is_liege_of = ROOT } + } + } + } + + mean_time_to_happen = { + months = 240 + + modifier = { + factor = 1.25 + NOT = { learning = 2 } + } + modifier = { + factor = 1.25 + NOT = { learning = 3 } + } + modifier = { + factor = 1.25 + NOT = { learning = 4 } + } + modifier = { + factor = 1.25 + NOT = { learning = 5 } + } + modifier = { + factor = 0.75 + learning = 10 + } + modifier = { + factor = 0.75 + learning = 11 + } + modifier = { + factor = 0.75 + learning = 12 + } + modifier = { + factor = 0.75 + learning = 13 + } + modifier = { + factor = 2.0 + NOT = { religion_authority = 0.4 } + } + modifier = { + factor = 2.0 + NOT = { religion_authority = 0.2 } + } + modifier = { + factor = 0.75 + religion_authority = 0.6 + } + modifier = { + factor = 0.75 + religion_authority = 0.8 + } + } + + option = { + name = "EVTOPTA906" + hidden_tooltip = { + location = { + random_province_lord = { + limit = { + is_priest = yes + religion = ROOT + NOT = { is_liege_of = ROOT } + } + character_event = { id = 20060 days = 7 } + } + } + } + } +} + +# 20060: Inform the bishop +character_event = { + id = 20060 + desc = "EVTDESC20060" + picture = GFX_evt_bishop + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + option = { + name = "EVTOPTA20060" + hidden_tooltip = { + FROM = { + liege = { letter_event = { id = 20061 } } + } + } + } +} + +# 20061: The liege is informed of the success +letter_event = { + id = 20061 + desc = "EVTDESC20061" + border = GFX_event_letter_frame_religion + + show_from_from = yes + + is_triggered_only = yes + + option = { + name = "EVTOPTA20061" + FROM = { + opinion = { + modifier = opinion_improved_relations + who = ROOT + years = 2 + } + } + } +} + + +# 907: The Lord Spiritual attempts to sabotage the relations of a subject priest towards the official head of the religion +character_event = { + id = 907 + title = "EVTNAME907" + desc = "EVTDESC907" + picture = GFX_evt_pope_feast + border = GFX_event_normal_frame_religion + + min_age = 16 + capable_only = yes + prisoner = no + + trigger = { + has_job_action = action_improve_rel_relations + NOT = { has_character_modifier = in_seclusion } + NOT = { religion_group = indian_group } + religion_head = { + NOT = { character = liege } + } + location = { + any_province_lord = { + NOT = { character = ROOT } + is_priest = yes + NOT = { is_liege_of = ROOT } + same_realm = ROOT + religion = ROOT + religion_head = { + NOT = { character = PREV } + } + } + } + } + + mean_time_to_happen = { + months = 240 + + modifier = { + factor = 1.25 + NOT = { learning = 2 } + } + modifier = { + factor = 1.25 + NOT = { learning = 3 } + } + modifier = { + factor = 1.25 + NOT = { learning = 4 } + } + modifier = { + factor = 1.25 + NOT = { learning = 5 } + } + modifier = { + factor = 0.75 + learning = 10 + } + modifier = { + factor = 0.75 + learning = 11 + } + modifier = { + factor = 0.75 + learning = 12 + } + modifier = { + factor = 0.75 + learning = 13 + } + } + + option = { + name = "EVTOPTA907" + hidden_tooltip = { + location = { + random_province_lord = { + limit = { + is_priest = yes + NOT = { is_liege_of = ROOT } + same_realm = ROOT + religion = ROOT + religion_head = { + NOT = { character = PREV } + } + } + character_event = { id = 20070 days = 7 } + } + } + } + } +} + +# 20070: Inform the bishop +character_event = { + id = 20070 + desc = "EVTDESC20070" + picture = GFX_evt_spymaster + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + option = { + name = "EVTOPTA20070" + hidden_tooltip = { + FROM = { + liege = { letter_event = { id = 20071 } } + } + } + } +} + +# 20071: The liege is informed of the success +letter_event = { + id = 20071 + desc = "EVTDESC20071" + border = GFX_event_letter_frame_religion + + show_from_from = yes + + is_triggered_only = yes + + option = { + name = "EVTOPTA20071" + FROM = { + religion_head = { + reverse_opinion = { + modifier = opinion_head_of_religion_negative + who = PREV + years = 2 + } + } + } + } +} + + +############################## +# LORD SPIRITUAL +# JOB: action_advance_cul_tech +############################## + +# 926: A Great Inventor offers his help: Random Culture Tech increases +character_event = { + id = 926 + title = "EVTNAME926" + desc = "EVTDESC926" + picture = GFX_evt_emissary + border = GFX_event_normal_frame_religion + + min_age = 16 + capable_only = yes + prisoner = no + + trigger = { + has_job_action = action_advance_cul_tech + NOT = { has_character_modifier = in_seclusion } + } + + mean_time_to_happen = { + months = 1000 + + modifier = { + factor = 0.5 + OR = { + has_focus = focus_scholarship + liege = { has_focus = focus_scholarship } + } + } + modifier = { + factor = 1.25 + NOT = { learning = 2 } + } + modifier = { + factor = 1.25 + NOT = { learning = 3 } + } + modifier = { + factor = 1.25 + NOT = { learning = 4 } + } + modifier = { + factor = 1.25 + NOT = { learning = 5 } + } + modifier = { + factor = 0.75 + learning = 10 + } + modifier = { + factor = 0.75 + learning = 11 + } + modifier = { + factor = 0.75 + learning = 12 + } + modifier = { + factor = 0.75 + learning = 13 + } + } + + option = { + name = "EVTOPTA926" + liege = { letter_event = { id = 20260 tooltip = "EVTTOOLTIP20260" } } + } +} + +# 20260: The liege is informed of the success +letter_event = { + id = 20260 + desc = "EVTDESC20260" + border = GFX_event_letter_frame_religion + + is_triggered_only = yes + + option = { + name = "EVTOPTA20260" + scaled_wealth = -0.5 + culture_techpoints = 50 + if = { + limit = { + has_dlc = "Reapers" + } + custom_tooltip = { + text = increase_prosperity_custom_tooltip + hidden_tooltip = { + FROM = { + location = { + change_variable = { which = prosperity_value value = 6 } + } + } + } + } + } + } + option = { + name = "EVTOPTB20260" + } +} + + +# 927: Lord Spiritual = heretic +character_event = { + id = 927 + title = "EVTNAME927" + desc = "EVTDESC927" + picture = GFX_evt_heretic + border = GFX_event_normal_frame_religion + + min_age = 16 + capable_only = yes + prisoner = no + + trigger = { + has_job_action = action_advance_cul_tech + NOT = { has_character_modifier = in_seclusion } + NOT = { religion_group = indian_group } + is_heretic = no + has_secret_religion = no + OR = { + religion_group = christian + religion_group = muslim + religion_group = jewish_group + } + liege = { + is_heretic = no + OR = { + religion_group = christian + religion_group = muslim + religion_group = jewish_group + } + } + NOT = { + religion_head = { character = ROOT } + } + } + + mean_time_to_happen = { + months = 1000 + + modifier = { + factor = 1.25 + NOT = { learning = 2 } + } + modifier = { + factor = 1.25 + NOT = { learning = 3 } + } + modifier = { + factor = 1.25 + NOT = { learning = 4 } + } + modifier = { + factor = 1.25 + NOT = { learning = 5 } + } + modifier = { + factor = 0.75 + learning = 10 + } + modifier = { + factor = 0.75 + learning = 11 + } + modifier = { + factor = 0.75 + learning = 12 + } + modifier = { + factor = 0.75 + learning = 13 + } + } + + option = { + name = "EVTOPTA927" + ai_chance = { factor = 80 } + become_heretic = yes + hidden_tooltip = { + liege = { letter_event = { id = 20270 } } + } + } + option = { + name = "EVTOPTB927" + ai_chance = { factor = 20 } + } +} + +# 20270: Liege get a letter +letter_event = { + id = 20270 + desc = "EVTDESC20270" + border = GFX_event_letter_frame_religion + + is_triggered_only = yes + + option = { + name = "EVTOPTA20270" + ai_chance = { factor = 100 } + FROM = { imprison = yes } + } + option = { + name = "EVTOPTC20270" + trigger = { + NOR = { + religion = FROM + has_secret_religion = yes + } + } + ai_chance = { factor = 0 } + set_secret_religion = { target_type = public target = FROM } + FROM = { letter_event = { id = 20271 } } + } + option = { + name = "EVTOPTB20270" + ai_chance = { factor = 0 } + religion = FROM + } +} + +letter_event = { + id = 20271 + desc = EVTDESC20271 + border = GFX_event_letter_frame_religion + + is_triggered_only = yes + + option = { + name = EVTOPTA20271 + religion = FROM + set_secret_religion = { target_type = true target = FROM } + hidden_tooltip = { + liege = { letter_event = { id = 20271 } } + } + + ai_chance = { factor = 10 } + } + option = { + name = EVTOPTB20271 + + ai_chance = { factor = 5 } + } +} + +############################## +# MUSLIM LORD SPIRITUAL (Mufti) +# JOB: action_charity +############################## + +# 20040: The Mufti improves relations between the liege and a vassal +character_event = { + id = 20040 + desc = "EVTDESC20040" + title = "EVTNAME20040" + picture = GFX_evt_bishop + border = GFX_event_normal_frame_religion + + min_age = 16 + capable_only = yes + prisoner = no + + trigger = { + has_job_action = action_charity + NOT = { has_character_modifier = in_seclusion } + location = { + any_province_lord = { + religion = ROOT + NOT = { is_liege_of = ROOT } + } + } + } + + mean_time_to_happen = { + months = 220 + + modifier = { + factor = 1.25 + NOT = { learning = 2 } + } + modifier = { + factor = 1.25 + NOT = { learning = 3 } + } + modifier = { + factor = 1.25 + NOT = { learning = 4 } + } + modifier = { + factor = 1.25 + NOT = { learning = 5 } + } + modifier = { + factor = 0.75 + learning = 10 + } + modifier = { + factor = 0.75 + learning = 11 + } + modifier = { + factor = 0.75 + learning = 12 + } + modifier = { + factor = 0.75 + learning = 13 + } + modifier = { + factor = 2.0 + NOT = { religion_authority = 0.4 } + } + modifier = { + factor = 2.0 + NOT = { religion_authority = 0.2 } + } + modifier = { + factor = 0.75 + religion_authority = 0.6 + } + modifier = { + factor = 0.75 + religion_authority = 0.8 + } + } + + option = { + name = "EVTOPTA20040" + hidden_tooltip = { + location = { + random_province_lord = { + limit = { + religion = ROOT + NOT = { is_liege_of = ROOT } + } + character_event = { id = 20041 days = 7 } + } + } + } + } +} + +# 20041: Inform the vassal +character_event = { + id = 20041 + desc = "EVTDESC20041" + picture = GFX_evt_bishop + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + option = { + name = "EVTOPTA20041" + hidden_tooltip = { + FROM = { + liege = { character_event = { id = 20042 days = 7 } } + } + } + } +} + +# 20042: The liege is informed of the success +character_event = { + id = 20042 + desc = "EVTDESC20042" + picture = GFX_evt_bishop + border = GFX_event_normal_frame_religion + + show_from_from = yes + + is_triggered_only = yes + + option = { + name = "EVTOPTA20042" + FROM = { + opinion = { + modifier = opinion_improved_relations + who = ROOT + years = 2 + } + } + } +} + +# 20043: The Mufti is trampled by a peasant mob (Gets away, Is wounded, Is killed) +character_event = { + id = 20043 + desc = "EVTDESC20043" + title = "EVTNAME20043" + picture = GFX_evt_peasants + border = GFX_event_normal_frame_religion + + min_age = 16 + capable_only = yes + prisoner = no + + trigger = { + has_job_action = action_charity + NOT = { has_character_modifier = in_seclusion } + location = { + religion = ROOT + owner = { same_realm = ROOT } + } + } + + mean_time_to_happen = { + months = 120 + + modifier = { + factor = 0.75 + NOT = { learning = 2 } + } + modifier = { + factor = 0.75 + NOT = { learning = 3 } + } + modifier = { + factor = 0.75 + NOT = { learning = 4 } + } + modifier = { + factor = 0.75 + NOT = { learning = 5 } + } + modifier = { + factor = 1.25 + learning = 10 + } + modifier = { + factor = 1.25 + learning = 11 + } + modifier = { + factor = 1.25 + learning = 12 + } + modifier = { + factor = 1.25 + learning = 13 + } + modifier = { + factor = 0.75 + NOT = { religion_authority = 0.4 } + } + modifier = { + factor =0.75 + NOT = { religion_authority = 0.2 } + } + modifier = { + factor = 2.0 + religion_authority = 0.6 + } + modifier = { + factor = 2.0 + religion_authority = 0.8 + } + } + + option = { + name = "EVTOPTA20043" + random_list = { + 50 = { character_event = { id = 20044 tooltip = "EVTTOOLTIP20020" } } + 40 = { character_event = { id = 20045 tooltip = "EVTTOOLTIP20021" } } + 10 = { + hidden_tooltip = { + liege = { character_event = { id = 20047 } } + } + death = { + death_reason = death_rabble + } + } + } + } +} + +# 20044: Mufti gets away +character_event = { + id = 20044 + desc = "EVTDESC20044" + picture = GFX_evt_peasants + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + option = { + name = "EVTOPTA20044" + prestige = -30 + } +} + +# 20045: Mufti gets wounded +character_event = { + id = 20045 + desc = "EVTDESC20045" + picture = GFX_evt_bloody_man + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + option = { + name = "EVTOPTA20045" + add_trait = wounded + hidden_tooltip = { + liege = { character_event = { id = 20046 days = 7 } } + } + } +} + +# 20046: Inform the Liege about wounding +character_event = { + id = 20046 + desc = "EVTDESC20046" + picture = GFX_evt_bloody_man + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + option = { + name = "EVTOPTA20046" + prestige = -10 + } +} + +# 20047: Inform the Liege about death +character_event = { + id = 20047 + desc = "EVTDESC20047" + picture = GFX_evt_death + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + option = { + name = "EVTOPTA20047" + prestige = -15 + } +} + +# 20048: The Mufti pockets money meant for the pooor +character_event = { + id = 20048 + desc = "EVTDESC20048" + title = "EVTNAME20048" + picture = GFX_evt_bishop + border = GFX_event_normal_frame_religion + + min_age = 16 + capable_only = yes + prisoner = no + + trigger = { + has_job_action = action_charity + NOT = { has_character_modifier = in_seclusion } + } + + mean_time_to_happen = { + months = 1000 + + modifier = { + factor = 1.5 + trait = charitable + } + modifier = { + factor = 1.25 + trait = just + } + modifier = { + factor = 0.50 + trait = greedy + } + modifier = { + factor = 0.75 + trait = envious + } + } + + option = { + name = "EVTOPTA20048" + ai_chance = { factor = 80 } + wealth = 35 + hidden_tooltip = { + liege = { character_event = { id = 20049 days = 2 } } + } + } + option = { + name = "EVTOPTB20048" + ai_chance = { factor = 20 } + piety = 30 + } +} + +# 20049: Liege informed about Mufti's theft +character_event = { + id = 20049 + desc = "EVTDESC20049" + picture = GFX_evt_bishop + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + option = { + name = "EVTOPTA20049" + wealth = 35 + decadence = 10 + } + option = { + name = "EVTOPTB20049" + FROM = { imprison = yes } + piety = 20 + } +} + +# 20050: Mullah gains piety for the liege +character_event = { + id = 20050 + desc = "EVTDESC20050" + title = "EVTNAME20050" + picture = GFX_evt_bishop + border = GFX_event_normal_frame_religion + + min_age = 16 + capable_only = yes + prisoner = no + + trigger = { + has_job_action = action_charity + NOT = { has_character_modifier = in_seclusion } + } + + mean_time_to_happen = { + months = 180 + + modifier = { + factor = 1.25 + NOT = { learning = 2 } + } + modifier = { + factor = 1.25 + NOT = { learning = 3 } + } + modifier = { + factor = 1.25 + NOT = { learning = 4 } + } + modifier = { + factor = 1.25 + NOT = { learning = 5 } + } + modifier = { + factor = 0.75 + learning = 10 + } + modifier = { + factor = 0.75 + learning = 11 + } + modifier = { + factor = 0.75 + learning = 12 + } + modifier = { + factor = 0.75 + learning = 13 + } + } + + option = { + name = "EVTOPTA20050" + liege = { character_event = { id = 20051 days = 2 tooltip = "EVTTOOLTIP20051" } } + } +} + +# 20051: Liege gains piety +character_event = { + id = 20051 + desc = "EVTDESC20051" + picture = GFX_evt_bishop + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + option = { + name = "EVTOPTA20051" + piety = 15 + } +} + +############################## +# COURT CHAPLAIN +# JOB: action_build_zeal +############################## + +# 20218: The Court Priest has managed to raise an eager force of holy warriors +character_event = { + id = 20218 + title = EVTNAME20218 + desc = EVTDESC20218 + picture = GFX_evt_battle + border = GFX_event_normal_frame_war + + min_age = 16 + capable_only = yes + prisoner = no + + trigger = { + has_job_action = action_build_zeal + NOT = { has_character_modifier = in_seclusion } + liege = { + is_adult = yes + prisoner = no + piety = 10 + NOT = { trait = incapable } + OR = { + NOT = { has_character_flag = tribal_build_zeal_troops } + had_character_flag = { flag = tribal_build_zeal_troops days = 1825 } + } + OR = { + war = no + any_war = { + OR = { + using_cb = crusade + using_cb = religious + using_cb = religious_revolt + using_cb = pagan_holy_war + using_cb = buddhist_holy_war + using_cb = muslim_invasion + using_cb = manifest_destiny_invasion + } + } + } + } + location = { + county = { + is_occupied = no + } + ROOT = { + liege = { + is_capital = PREVPREV + } + } + } + } + + mean_time_to_happen = { + months = 120 + + modifier = { + factor = 3.0 + liege = { + tier = count + } + } + + modifier = { + factor = 1.25 + NOT = { learning = 2 } + } + modifier = { + factor = 1.25 + NOT = { learning = 3 } + } + modifier = { + factor = 1.25 + NOT = { learning = 4 } + } + modifier = { + factor = 1.25 + NOT = { learning = 5 } + } + modifier = { + factor = 0.75 + learning = 9 + } + modifier = { + factor = 0.75 + learning = 10 + } + modifier = { + factor = 0.75 + learning = 11 + } + modifier = { + factor = 0.75 + learning = 12 + } + modifier = { + factor = 0.75 + learning = 13 + } + } + + option = { + name = EVTOPTA20218 + + piety = 25 + hidden_tooltip = { + liege = { character_event = { id = 20219 } } + } + } +} + +# 20219: The liege is informed +character_event = { + id = 20219 + desc = EVTDESC20219 + picture = GFX_evt_battle + border = GFX_event_normal_frame_war + + is_triggered_only = yes + + immediate = { + capital_scope = { + ROOT = { + spawn_unit = { + province = PREV + home = PREV + owner = THIS + #leader = none + match_character = THIS + match_mult = 0.075 + match_min = 100 + match_max = 3000 + attrition = 1.0 + earmark = tribal_build_zeal + disband_on_peace = yes + can_toggle_looting = no + } + spawn_unit = { + province = PREV + home = PREV + owner = THIS + #leader = none + match_character = THIS + match_mult = 0.075 + match_min = 100 + match_max = 3000 + attrition = 1.0 + earmark = tribal_build_zeal + disband_on_peace = yes + can_toggle_looting = no + } + spawn_unit = { + province = PREV + home = PREV + owner = THIS + #leader = none + match_character = THIS + match_mult = 0.075 + match_min = 100 + match_max = 3000 + attrition = 1.0 + earmark = tribal_build_zeal + disband_on_peace = yes + can_toggle_looting = no + } + } + } + + clr_character_flag = tribal_build_zeal_troops + set_character_flag = tribal_build_zeal_troops + + character_event = { id = 20220 days = 365 random = 90 } + } + + option = { + name = EVTOPTA20219 + opinion = { + who = FROM + modifier = opinion_grateful + months = 60 + } + } +} + +# 20220: The men are displeased and disband +character_event = { + id = 20220 + desc = EVTDESC20220 + picture = GFX_evt_battle + border = GFX_event_normal_frame_war + + is_triggered_only = yes + + trigger = { + has_earmarked_regiments = tribal_build_zeal + + NOT = { + any_war = { + OR = { + using_cb = crusade + using_cb = religious + using_cb = religious_revolt + using_cb = pagan_holy_war + using_cb = buddhist_holy_war + using_cb = muslim_invasion + using_cb = manifest_destiny_invasion + } + } + } + } + + option = { + name = EVTOPTA20220 + piety = -25 + clr_character_flag = tribal_build_zeal_troops + disband_event_forces = tribal_build_zeal + } +} diff --git a/LCDA/events/knights_of_st_john_events.txt b/LCDA/events/knights_of_st_john_events.txt new file mode 100644 index 0000000..7f245db --- /dev/null +++ b/LCDA/events/knights_of_st_john_events.txt @@ -0,0 +1,822 @@ +########################################### +# +# Holy Order Events +# +# ID 8500-8599 is reserved +# +########################################### + + +######################################## +# The Knights of St. John +######################################## + +### Krak des Chevaliers ### + +# Grand Master writes a letter +character_event = { + id = 8500 + desc = "EVTDESC8500" + picture = GFX_evt_council + border = GFX_event_normal_frame_religion + + only_playable = yes + only_independent = yes + prisoner = no + only_capable = yes + religion_group = christian + + trigger = { + # The Hospitallers exist + is_title_active = d_knights_hospitaler + primary_title = { + title = d_knights_hospitaler + } + + # The settlement has not been built yet + b_krakdeschevaliers = { + has_holder = no + } + + # Archa + 765 = { + owner = { + NOT = { character = ROOT } + religion = catholic + NOT = { has_character_flag = denied_krakdeschevaliers } + NOT = { has_character_flag = no_land_to_religious_orders } + top_liege = { NOT = { has_character_flag = no_land_to_religious_orders } } + } + NOT = { num_of_settlements = 7 } + } + } + + mean_time_to_happen = { + months = 12 + } + + option = { + name = "EVTOPTA8500" + 765 = { + owner = { letter_event = { id = 8501 days = 7 } } + } + } +} + +# Ask permission from the Count +letter_event = { + id = 8501 + desc = "EVTDESC8501" + border = GFX_event_letter_frame_religion + + is_triggered_only = yes + + option = { + name = "EVTOPTA8501" + piety = 100 + FROM = { + opinion = { + modifier = opinion_granted_barony_to_holy_order + who = ROOT + years = 100 + } + } + hidden_tooltip = { 765 = { province_event = { id = 8502 days = 1 } } } + } + option = { + name = "EVTOPTB8501" + piety = -10 + FROM = { + opinion = { + modifier = opinion_angry + who = ROOT + years = 10 + } + + } + religion_head = { + opinion = { + modifier = opinion_disappointed + who = ROOT + years = 5 + } + } + set_character_flag = denied_krakdeschevaliers + } + option = { + name = "EVTOPTC8501" + piety = -25 + set_character_flag = no_land_to_religious_orders + FROM = { + opinion = { + modifier = opinion_angry + who = ROOT + years = 20 + } + + } + religion_head = { + opinion = { + modifier = opinion_disappointed + who = ROOT + years = 10 + } + } + hidden_tooltip = { + # To the religious order + FROM = { letter_event = { id = 8800 days = 1 } } + } + } +} + +# Castle has been erected +province_event = { + id = 8502 + desc = "EVTDESC8502" + picture = "GFX_evt_castle_construction" + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + option = { + name = "EVTOPTA8502" + build_holding = { + title = b_krakdeschevaliers + type = castle + holder = FROMFROM + } + hidden_tooltip = { + owner = { + set_character_flag = event_8502 + narrative_event = { id = 8503 days = 7 } + } + any_player = { + limit = { + NOT = { character = FROM } + OR = { + religion_group = christian + war_with = FROM + capital_scope = { + NOT = { + distance = { + where = ROOT + value = 100 # Means we live fairly near the province where the castle is built + } + } + } + } + } + narrative_event = { id = 8503 days = 7 } + } + } + } +} + +# News spread about the new castle +narrative_event = { + id = 8503 + title = "EVTNAME8503" + desc = "EVTDESC8503" + picture = "GFX_evt_crusaders" + border = "GFX_event_narrative_frame_religion" + + is_triggered_only = yes + + option = { + name = "EVTOPTA8503" + trigger = { + has_character_flag = event_8502 + } + clr_character_flag = event_8502 + prestige = 100 + } + option = { + name = "EVTOPTB8503" + trigger = { + NOT = { has_character_flag = event_8502 } + religion = catholic + } + } + option = { + name = "EVTOPTC8503" + trigger = { + NOT = { religion_group = christian } + } + } + option = { + name = "EVTOPTD8503" + trigger = { + religion_group = christian + NOT = { religion = catholic } + } + } +} + + +### Margat ### + +# Grand Master writes a letter +character_event = { + id = 8505 + desc = "EVTDESC8505" + picture = GFX_evt_council + border = GFX_event_normal_frame_religion + + only_playable = yes + only_independent = yes + prisoner = no + only_capable = yes + religion_group = christian + + trigger = { + # The Hospitallers exist + is_title_active = d_knights_hospitaler + primary_title = { + title = d_knights_hospitaler + } + + # The settlement has not been built yet + b_margat = { + has_holder = no + } + + # Tortosa + 766 = { + owner = { + NOT = { character = ROOT } + religion = catholic + NOT = { has_character_flag = denied_margat } + NOT = { has_character_flag = no_land_to_religious_orders } + top_liege = { NOT = { has_character_flag = no_land_to_religious_orders } } + } + NOT = { num_of_settlements = 7 } + } + } + + mean_time_to_happen = { + months = 12 + } + + option = { + name = "EVTOPTA8500" + 766 = { + owner = { letter_event = { id = 8506 days = 7 } } + } + } +} + +# Ask permission from the Count +letter_event = { + id = 8506 + desc = "EVTDESC8506" + border = GFX_event_letter_frame_religion + + is_triggered_only = yes + + option = { + name = "EVTOPTA8501" + piety = 100 + FROM = { + opinion = { + modifier = opinion_granted_barony_to_holy_order + who = ROOT + years = 100 + } + } + hidden_tooltip = { 766 = { province_event = { id = 8507 days = 1 } } } + } + option = { + name = "EVTOPTB8501" + piety = -10 + FROM = { + opinion = { + modifier = opinion_angry + who = ROOT + years = 10 + } + + } + religion_head = { + opinion = { + modifier = opinion_disappointed + who = ROOT + years = 5 + } + } + set_character_flag = denied_margat + } + option = { + name = "EVTOPTC8501" + piety = -25 + set_character_flag = no_land_to_religious_orders + FROM = { + opinion = { + modifier = opinion_angry + who = ROOT + years = 20 + } + + } + religion_head = { + opinion = { + modifier = opinion_disappointed + who = ROOT + years = 10 + } + } + hidden_tooltip = { + # To the religious order + FROM = { letter_event = { id = 8800 days = 1 } } + } + } +} + +# Castle has been erected +province_event = { + id = 8507 + desc = "EVTDESC8507" + picture = "GFX_evt_castle_construction" + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + option = { + name = "EVTOPTA8502" + build_holding = { + title = b_margat + type = castle + holder = FROMFROM + } + hidden_tooltip = { + owner = { + set_character_flag = event_8507 + narrative_event = { id = 8508 days = 7 } + } + any_player = { + limit = { + NOT = { character = FROM } + OR = { + religion_group = christian + war_with = FROM + capital_scope = { + NOT = { + distance = { + where = ROOT + value = 100 # Means we live fairly near the province where the castle is built + } + } + } + } + } + narrative_event = { id = 8508 days = 7 } + } + } + } +} + +# News spread about the new castle +narrative_event = { + id = 8508 + title = "EVTNAME8508" + desc = "EVTDESC8508" + picture = "GFX_evt_crusaders" + border = "GFX_event_narrative_frame_religion" + + only_rulers = yes + + is_triggered_only = yes + + option = { + name = "EVTOPTA8503" + trigger = { + has_character_flag = event_8507 + } + clr_character_flag = event_8507 + prestige = 100 + } + option = { + name = "EVTOPTB8503" + trigger = { + NOT = { has_character_flag = event_8507 } + religion = catholic + } + } + option = { + name = "EVTOPTC8503" + trigger = { + NOT = { religion_group = christian } + } + } + option = { + name = "EVTOPTD8503" + trigger = { + religion_group = christian + NOT = { religion = catholic } + } + } +} + + +### Belvoir ### + +# Grand Master writes a letter +character_event = { + id = 8510 + desc = "EVTDESC8510" + picture = GFX_evt_council + border = GFX_event_normal_frame_religion + + only_playable = yes + only_independent = yes + prisoner = no + only_capable = yes + religion_group = christian + + trigger = { + + # The Hospitallers exist + is_title_active = d_knights_hospitaler + primary_title = { + title = d_knights_hospitaler + } + + # The settlement has not been built yet + b_belvoir = { + has_holder = no + } + + # Safed + 769 = { + owner = { + NOT = { character = ROOT } + religion = catholic + NOT = { has_character_flag = denied_belvoir } + NOT = { has_character_flag = no_land_to_religious_orders } + top_liege = { NOT = { has_character_flag = no_land_to_religious_orders } } + } + NOT = { num_of_settlements = 7 } + } + } + + mean_time_to_happen = { + months = 12 + } + + option = { + name = "EVTOPTA8500" + 769 = { + owner = { letter_event = { id = 8511 days = 7 } } + } + } +} + +# Ask permission from the Count +letter_event = { + id = 8511 + desc = "EVTDESC8511" + border = GFX_event_letter_frame_religion + + is_triggered_only = yes + + option = { + name = "EVTOPTA8501" + piety = 100 + FROM = { + opinion = { + modifier = opinion_granted_barony_to_holy_order + who = ROOT + years = 100 + } + } + hidden_tooltip = { 769 = { province_event = { id = 8512 days = 1 } } } + } + option = { + name = "EVTOPTB8501" + piety = -10 + FROM = { + opinion = { + modifier = opinion_angry + who = ROOT + years = 10 + } + + } + religion_head = { + opinion = { + modifier = opinion_disappointed + who = ROOT + years = 5 + } + } + set_character_flag = denied_belvoir + } + option = { + name = "EVTOPTC8501" + piety = -25 + set_character_flag = no_land_to_religious_orders + FROM = { + opinion = { + modifier = opinion_angry + who = ROOT + years = 20 + } + + } + religion_head = { + opinion = { + modifier = opinion_disappointed + who = ROOT + years = 10 + } + } + hidden_tooltip = { + # To the religious order + FROM = { letter_event = { id = 8800 days = 1 } } + } + } +} + +# Castle has been erected +province_event = { + id = 8512 + desc = "EVTDESC8512" + picture = "GFX_evt_castle_construction" + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + option = { + name = "EVTOPTA8502" + build_holding = { + title = b_belvoir + type = castle + holder = FROMFROM + } + hidden_tooltip = { + owner = { + set_character_flag = event_8512 + narrative_event = { id = 8513 days = 7 } + } + any_player = { + limit = { + NOT = { character = FROM } + OR = { + religion_group = christian + war_with = FROM + capital_scope = { + NOT = { + distance = { + where = ROOT + value = 100 # Means we live fairly near the province where the castle is built + } + } + } + } + } + narrative_event = { id = 8513 days = 7 } + } + } + } +} + +# News spread about the new castle +narrative_event = { + id = 8513 + title = "EVTNAME8513" + desc = "EVTDESC8513" + picture = "GFX_evt_crusaders" + border = "GFX_event_narrative_frame_religion" + + is_triggered_only = yes + + option = { + name = "EVTOPTA8503" + trigger = { + has_character_flag = event_8512 + } + clr_character_flag = event_8512 + prestige = 100 + } + option = { + name = "EVTOPTB8503" + trigger = { + NOT = { has_character_flag = event_8512 } + religion = catholic + } + } + option = { + name = "EVTOPTC8503" + trigger = { + NOT = { religion_group = christian } + } + } + option = { + name = "EVTOPTD8503" + trigger = { + religion_group = christian + NOT = { religion = catholic } + } + } +} + + +### Beth Gibelin ### + +# Grand Master writes a letter +character_event = { + id = 8515 + desc = "EVTDESC8515" + picture = GFX_evt_council + border = GFX_event_normal_frame_religion + + only_playable = yes + only_independent = yes + prisoner = no + only_capable = yes + religion_group = christian + + trigger = { + # The Hospitallers exist + is_title_active = d_knights_hospitaler + primary_title = { + title = d_knights_hospitaler + } + + # The settlement has not been built yet + b_bethgibelin = { + has_holder = no + } + + # Hebron + 776 = { + owner = { + NOT = { character = ROOT } + religion = catholic + NOT = { has_character_flag = denied_bethgibelin } + NOT = { has_character_flag = no_land_to_religious_orders } + top_liege = { NOT = { has_character_flag = no_land_to_religious_orders } } + } + NOT = { num_of_settlements = 7 } + } + } + + mean_time_to_happen = { + months = 12 + } + + option = { + name = "EVTOPTA8500" + 776 = { + owner = { letter_event = { id = 8516 days = 7 } } + } + } +} + +# Ask permission from the Count +letter_event = { + id = 8516 + desc = "EVTDESC8516" + border = GFX_event_letter_frame_religion + + is_triggered_only = yes + + option = { + name = "EVTOPTA8501" + piety = 100 + FROM = { + opinion = { + modifier = opinion_granted_barony_to_holy_order + who = ROOT + years = 100 + } + } + hidden_tooltip = { 776 = { province_event = { id = 8517 days = 1 } } } + } + option = { + name = "EVTOPTB8501" + piety = -10 + FROM = { + opinion = { + modifier = opinion_angry + who = ROOT + years = 10 + } + + } + religion_head = { + opinion = { + modifier = opinion_disappointed + who = ROOT + years = 5 + } + } + set_character_flag = denied_bethgibelin + } + option = { + name = "EVTOPTC8501" + piety = -25 + set_character_flag = no_land_to_religious_orders + FROM = { + opinion = { + modifier = opinion_angry + who = ROOT + years = 20 + } + + } + religion_head = { + opinion = { + modifier = opinion_disappointed + who = ROOT + years = 10 + } + } + hidden_tooltip = { + # To the religious order + FROM = { letter_event = { id = 8800 days = 1 } } + } + } +} + +# Castle has been erected +province_event = { + id = 8517 + desc = "EVTDESC8517" + picture = "GFX_evt_castle_construction" + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + option = { + name = "EVTOPTA8502" + build_holding = { + title = b_bethgibelin + type = castle + holder = FROMFROM + } + hidden_tooltip = { + owner = { + set_character_flag = event_8517 + narrative_event = { id = 8518 days = 7 } + } + any_player = { + limit = { + NOT = { character = FROM } + OR = { + religion_group = christian + war_with = FROM + capital_scope = { + NOT = { + distance = { + where = ROOT + value = 100 # Means we live fairly near the province where the castle is built + } + } + } + } + } + narrative_event = { id = 8518 days = 7 } + } + } + } +} + +# News spread about the new castle +narrative_event = { + id = 8518 + title = "EVTNAME8518" + desc = "EVTDESC8518" + picture = "GFX_evt_crusaders" + border = "GFX_event_narrative_frame_religion" + + is_triggered_only = yes + + option = { + name = "EVTOPTA8503" + trigger = { + has_character_flag = event_8517 + } + clr_character_flag = event_8517 + prestige = 100 + } + option = { + name = "EVTOPTB8503" + trigger = { + NOT = { has_character_flag = event_8517 } + religion = catholic + } + } + option = { + name = "EVTOPTC8503" + trigger = { + NOT = { religion_group = christian } + } + } + option = { + name = "EVTOPTD8503" + trigger = { + religion_group = christian + NOT = { religion = catholic } + } + } +} diff --git a/LCDA/events/knights_templar_events.txt b/LCDA/events/knights_templar_events.txt new file mode 100644 index 0000000..43b3162 --- /dev/null +++ b/LCDA/events/knights_templar_events.txt @@ -0,0 +1,819 @@ +########################################### +# +# Holy Order Events +# +# ID 8600-8699 is reserved +# +########################################### + + +######################################## +# The Knights Templar +######################################## + +### Beit Dejan ### + +# Grand Master writes a letter +character_event = { + id = 8600 + desc = "EVTDESC8600" + picture = GFX_evt_council + border = GFX_event_normal_frame_religion + + only_playable = yes + only_independent = yes + prisoner = no + only_capable = yes + religion_group = christian + + trigger = { + # The Templars exist + is_title_active = d_knights_templar + primary_title = { + title = d_knights_templar + } + + # The settlement has not been built yet + b_beitdejan = { + has_holder = no + } + + # Jaffa + 775 = { + owner = { + NOT = { character = ROOT } + religion = catholic + NOT = { has_character_flag = denied_beitdejan } + NOT = { has_character_flag = no_land_to_religious_orders } + top_liege = { NOT = { has_character_flag = no_land_to_religious_orders } } + } + NOT = { num_of_settlements = 7 } + } + } + + mean_time_to_happen = { + months = 12 + } + + option = { + name = "EVTOPTA8500" + 775 = { + owner = { letter_event = { id = 8601 days = 7 } } + } + } +} + +# Ask permission from the Count +letter_event = { + id = 8601 + desc = "EVTDESC8601" + border = GFX_event_letter_frame_religion + + is_triggered_only = yes + + option = { + name = "EVTOPTA8501" + piety = 100 + FROM = { + opinion = { + modifier = opinion_granted_barony_to_holy_order + who = ROOT + years = 100 + } + } + hidden_tooltip = { 775 = { province_event = { id = 8602 days = 1 } } } + } + option = { + name = "EVTOPTB8501" + piety = -10 + FROM = { + opinion = { + modifier = opinion_angry + who = ROOT + years = 10 + } + + } + religion_head = { + opinion = { + modifier = opinion_disappointed + who = ROOT + years = 5 + } + } + set_character_flag = denied_beitdejan + } + option = { + name = "EVTOPTC8501" + piety = -25 + set_character_flag = no_land_to_religious_orders + FROM = { + opinion = { + modifier = opinion_angry + who = ROOT + years = 20 + } + + } + religion_head = { + opinion = { + modifier = opinion_disappointed + who = ROOT + years = 10 + } + } + hidden_tooltip = { + # To the religious order + FROM = { letter_event = { id = 8800 days = 1 } } + } + } +} + +# Castle has been erected +province_event = { + id = 8602 + desc = "EVTDESC8602" + picture = "GFX_evt_castle_construction" + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + option = { + name = "EVTOPTA8502" + build_holding = { + title = b_beitdejan + type = castle + holder = FROMFROM + } + hidden_tooltip = { + owner = { + set_character_flag = event_8602 + narrative_event = { id = 8603 days = 7 } + } + any_player = { + limit = { + NOT = { character = FROM } + OR = { + religion_group = christian + war_with = FROM + capital_scope = { + NOT = { + distance = { + where = ROOT + value = 100 # Means we live fairly near the province where the castle is built + } + } + } + } + } + narrative_event = { id = 8603 days = 7 } + } + } + } +} + +# News spread about the new castle +narrative_event = { + id = 8603 + title = "EVTNAME8603" + desc = "EVTDESC8603" + picture = "GFX_evt_crusaders" + border = "GFX_event_narrative_frame_religion" + + is_triggered_only = yes + + option = { + name = "EVTOPTA8503" + trigger = { + has_character_flag = event_8602 + } + clr_character_flag = event_8602 + prestige = 100 + } + option = { + name = "EVTOPTB8503" + trigger = { + NOT = { has_character_flag = event_8602 } + religion = catholic + } + } + option = { + name = "EVTOPTC8503" + trigger = { + NOT = { religion_group = christian } + } + } + option = { + name = "EVTOPTD8503" + trigger = { + religion_group = christian + NOT = { religion = catholic } + } + } +} + + +### Belfort ### + +# Grand Master writes a letter +character_event = { + id = 8605 + desc = "EVTDESC8605" + picture = GFX_evt_council + border = GFX_event_normal_frame_religion + + only_playable = yes + only_independent = yes + prisoner = no + only_capable = yes + religion_group = christian + + trigger = { + # The Templars exist + is_title_active = d_knights_templar + primary_title = { + title = d_knights_templar + } + + # The settlement has not been built yet + b_syrbelfort = { + has_holder = no + } + + # Tyrus + 771 = { + owner = { + NOT = { character = ROOT } + religion = catholic + NOT = { has_character_flag = denied_belfort } + NOT = { has_character_flag = no_land_to_religious_orders } + top_liege = { NOT = { has_character_flag = no_land_to_religious_orders } } + } + NOT = { num_of_settlements = 7 } + } + } + + mean_time_to_happen = { + months = 12 + } + + option = { + name = "EVTOPTA8500" + 771 = { + owner = { letter_event = { id = 8606 days = 7 } } + } + } +} + +# Ask permission from the Count +letter_event = { + id = 8606 + desc = "EVTDESC8606" + border = GFX_event_letter_frame_religion + + is_triggered_only = yes + + option = { + name = "EVTOPTA8501" + piety = 100 + FROM = { + opinion = { + modifier = opinion_granted_barony_to_holy_order + who = ROOT + years = 100 + } + } + hidden_tooltip = { 771 = { province_event = { id = 8607 days = 1 } } } + } + option = { + name = "EVTOPTB8501" + piety = -10 + FROM = { + opinion = { + modifier = opinion_angry + who = ROOT + years = 10 + } + + } + religion_head = { + opinion = { + modifier = opinion_disappointed + who = ROOT + years = 5 + } + } + set_character_flag = denied_belfort + } + option = { + name = "EVTOPTC8501" + piety = -25 + set_character_flag = no_land_to_religious_orders + FROM = { + opinion = { + modifier = opinion_angry + who = ROOT + years = 20 + } + + } + religion_head = { + opinion = { + modifier = opinion_disappointed + who = ROOT + years = 10 + } + } + hidden_tooltip = { + # To the religious order + FROM = { letter_event = { id = 8800 days = 1 } } + } + } +} + +# Castle has been erected +province_event = { + id = 8607 + desc = "EVTDESC8607" + picture = "GFX_evt_castle_construction" + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + option = { + name = "EVTOPTA8502" + build_holding = { + title = b_syrbelfort + type = castle + holder = FROMFROM + } + hidden_tooltip = { + owner = { + set_character_flag = event_8607 + narrative_event = { id = 8608 days = 7 } + } + any_player = { + limit = { + NOT = { character = FROM } + OR = { + religion_group = christian + war_with = FROM + capital_scope = { + NOT = { + distance = { + where = ROOT + value = 100 # Means we live fairly near the province where the castle is built + } + } + } + } + } + narrative_event = { id = 8608 days = 7 } + } + } + } +} + +# News spread about the new castle +narrative_event = { + id = 8608 + title = "EVTNAME8608" + desc = "EVTDESC8608" + picture = "GFX_evt_crusaders" + border = "GFX_event_narrative_frame_religion" + + is_triggered_only = yes + + option = { + name = "EVTOPTA8503" + trigger = { + has_character_flag = event_8607 + } + clr_character_flag = event_8607 + prestige = 100 + } + option = { + name = "EVTOPTB8503" + trigger = { + NOT = { has_character_flag = event_8607 } + religion = catholic + } + } + option = { + name = "EVTOPTC8503" + trigger = { + NOT = { religion_group = christian } + } + } + option = { + name = "EVTOPTD8503" + trigger = { + religion_group = christian + NOT = { religion = catholic } + } + } +} + + +### Athlith ### + +# Grand Master writes a letter +character_event = { + id = 8610 + desc = "EVTDESC8610" + picture = GFX_evt_council + border = GFX_event_normal_frame_religion + + only_playable = yes + only_independent = yes + prisoner = no + only_capable = yes + religion_group = christian + + trigger = { + # The Templars exist + is_title_active = d_knights_templar + primary_title = { + title = d_knights_templar + } + + # The settlement has not been built yet + b_athlith = { + has_holder = no + } + + # Acre + 772 = { + owner = { + NOT = { character = ROOT } + religion = catholic + NOT = { has_character_flag = denied_athlith } + NOT = { has_character_flag = no_land_to_religious_orders } + top_liege = { NOT = { has_character_flag = no_land_to_religious_orders } } + } + NOT = { num_of_settlements = 7 } + } + } + + mean_time_to_happen = { + months = 12 + } + + option = { + name = "EVTOPTA8500" + 772 = { + owner = { letter_event = { id = 8611 days = 7 } } + } + } +} + +# Ask permission from the Count +letter_event = { + id = 8611 + desc = "EVTDESC8611" + border = GFX_event_letter_frame_religion + + is_triggered_only = yes + + option = { + name = "EVTOPTA8501" + piety = 100 + FROM = { + opinion = { + modifier = opinion_granted_barony_to_holy_order + who = ROOT + years = 100 + } + } + hidden_tooltip = { 772 = { province_event = { id = 8612 days = 1 } } } + } + option = { + name = "EVTOPTB8501" + piety = -10 + FROM = { + opinion = { + modifier = opinion_angry + who = ROOT + years = 10 + } + + } + religion_head = { + opinion = { + modifier = opinion_disappointed + who = ROOT + years = 5 + } + } + set_character_flag = denied_athlith + } + option = { + name = "EVTOPTC8501" + piety = -25 + set_character_flag = no_land_to_religious_orders + FROM = { + opinion = { + modifier = opinion_angry + who = ROOT + years = 20 + } + + } + religion_head = { + opinion = { + modifier = opinion_disappointed + who = ROOT + years = 10 + } + } + hidden_tooltip = { + # To the religious order + FROM = { letter_event = { id = 8800 days = 1 } } + } + } +} + +# Castle has been erected +province_event = { + id = 8612 + desc = "EVTDESC8612" + picture = "GFX_evt_castle_construction" + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + option = { + name = "EVTOPTA8502" + build_holding = { + title = b_athlith + type = castle + holder = FROMFROM + } + hidden_tooltip = { + owner = { + set_character_flag = event_8612 + narrative_event = { id = 8613 days = 7 } + } + any_player = { + limit = { + NOT = { character = FROM } + OR = { + religion_group = christian + war_with = FROM + capital_scope = { + NOT = { + distance = { + where = ROOT + value = 100 # Means we live fairly near the province where the castle is built + } + } + } + } + } + narrative_event = { id = 8613 days = 7 } + } + } + } +} + +# News spread about the new castle +narrative_event = { + id = 8613 + title = "EVTNAME8613" + desc = "EVTDESC8613" + picture = "GFX_evt_crusaders" + border = "GFX_event_narrative_frame_religion" + + is_triggered_only = yes + + option = { + name = "EVTOPTA8503" + trigger = { + has_character_flag = event_8612 + } + clr_character_flag = event_8612 + prestige = 100 + } + option = { + name = "EVTOPTB8503" + trigger = { + NOT = { has_character_flag = event_8612 } + religion = catholic + } + } + option = { + name = "EVTOPTC8503" + trigger = { + NOT = { religion_group = christian } + } + } + option = { + name = "EVTOPTD8503" + trigger = { + religion_group = christian + NOT = { religion = catholic } + } + } +} + + +### La Feve ### + +# Grand Master writes a letter +character_event = { + id = 8615 + desc = "EVTDESC8615" + picture = GFX_evt_council + border = GFX_event_normal_frame_religion + + only_playable = yes + only_independent = yes + prisoner = no + only_capable = yes + religion_group = christian + + trigger = { + # The Templars exist + is_title_active = d_knights_templar + primary_title = { + title = d_knights_templar + } + + # The settlement has not been built yet + b_lafeve = { + has_holder = no + } + + # Tiberias + 773 = { + owner = { + NOT = { character = ROOT } + religion = catholic + NOT = { has_character_flag = denied_lafeve } + NOT = { has_character_flag = no_land_to_religious_orders } + top_liege = { NOT = { has_character_flag = no_land_to_religious_orders } } + } + NOT = { num_of_settlements = 7 } + } + } + + mean_time_to_happen = { + months = 12 + } + + option = { + name = "EVTOPTA8500" + 773 = { + owner = { letter_event = { id = 8616 days = 7 } } + } + } +} + +# Ask permission from the Count +letter_event = { + id = 8616 + desc = "EVTDESC8616" + border = GFX_event_letter_frame_religion + + is_triggered_only = yes + + option = { + name = "EVTOPTA8501" + piety = 100 + FROM = { + opinion = { + modifier = opinion_granted_barony_to_holy_order + who = ROOT + years = 100 + } + } + hidden_tooltip = { 773 = { province_event = { id = 8617 days = 1 } } } + } + option = { + name = "EVTOPTB8501" + piety = -10 + FROM = { + opinion = { + modifier = opinion_angry + who = ROOT + years = 10 + } + + } + religion_head = { + opinion = { + modifier = opinion_disappointed + who = ROOT + years = 5 + } + } + set_character_flag = denied_lafeve + } + option = { + name = "EVTOPTC8501" + piety = -25 + set_character_flag = no_land_to_religious_orders + FROM = { + opinion = { + modifier = opinion_angry + who = ROOT + years = 20 + } + + } + religion_head = { + opinion = { + modifier = opinion_disappointed + who = ROOT + years = 10 + } + } + hidden_tooltip = { + # To the religious order + FROM = { letter_event = { id = 8800 days = 1 } } + } + } +} + +# Castle has been erected +province_event = { + id = 8617 + desc = "EVTDESC8617" + picture = "GFX_evt_castle_construction" + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + option = { + name = "EVTOPTA8502" + build_holding = { + title = b_lafeve + type = castle + holder = FROMFROM + } + hidden_tooltip = { + owner = { + set_character_flag = event_8617 + narrative_event = { id = 8618 days = 7 } + } + any_player = { + limit = { + NOT = { character = FROM } + OR = { + religion_group = christian + war_with = FROM + capital_scope = { + NOT = { + distance = { + where = ROOT + value = 100 # Means we live fairly near the province where the castle is built + } + } + } + } + } + narrative_event = { id = 8618 days = 7 } + } + } + } +} + +# News spread about the new castle +narrative_event = { + id = 8618 + title = "EVTNAME8618" + desc = "EVTDESC8618" + picture = "GFX_evt_crusaders" + border = "GFX_event_narrative_frame_religion" + + is_triggered_only = yes + + option = { + name = "EVTOPTA8503" + trigger = { + has_character_flag = event_8617 + } + clr_character_flag = event_8617 + prestige = 100 + } + option = { + name = "EVTOPTB8503" + trigger = { + NOT = { has_character_flag = event_8617 } + religion = catholic + } + } + option = { + name = "EVTOPTC8503" + trigger = { + NOT = { religion_group = christian } + } + } + option = { + name = "EVTOPTD8503" + trigger = { + religion_group = christian + NOT = { religion = catholic } + } + } +} diff --git a/LCDA/events/misc_old_gods_events.txt b/LCDA/events/misc_old_gods_events.txt new file mode 100644 index 0000000..1dfb84d --- /dev/null +++ b/LCDA/events/misc_old_gods_events.txt @@ -0,0 +1,1411 @@ +# v1.10: Old Gods Events: 62300 - 62999 + +# Written by Henrik Fåhraeus + +# Called from on_action: on_prepared_invasion_aborts +# The target character is in FROM +character_event = { + + id = 62300 + desc = EVTDESC62300 + + picture = GFX_evt_viking_battle_oldgods + border = GFX_event_normal_frame_war + + is_triggered_only = yes + + immediate = { + remove_opinion = { + who = FROM + modifier = preparing_to_invade + } + FROM = { + remove_opinion = { + who = ROOT + modifier = preparing_to_invade_me + } + } + disband_event_forces = prepared_invasion + } + + option = { + name = EVTOPTA62300 + } +} + +# Called from on_action: on_prepared_invasion_expires +# The target character is in FROM +character_event = { + + id = 62310 + desc = EVTDESC62310 + + picture = GFX_evt_viking_battle_oldgods + border = GFX_event_normal_frame_war + + is_triggered_only = yes + + immediate = { + remove_opinion = { + who = FROM + modifier = preparing_to_invade + } + FROM = { + remove_opinion = { + who = ROOT + modifier = preparing_to_invade_me + } + } + if = { + limit = { + NOT = { + any_war = { + any_attacker = { character = FROM } + } + } + } + disband_event_forces = prepared_invasion + } + } + + option = { + name = EVTOPTA62310 + if = { + limit = { + NOT = { + any_war = { + any_attacker = { character = FROM } + } + } + } + prestige = -200 + piety = -50 + any_realm_lord = { + limit = { + religion = ROOT + } + opinion = { + who = ROOT + modifier = opinion_failed_invasion + } + } + } + } +} + +# Troops flock to your banner +# Called from on_action: on_prepared_invasion_monthly +# The target character is in FROM +character_event = { + id = 62320 + desc = EVTDESC62320 + + picture = GFX_evt_vikings_arriving_oldgods + border = GFX_event_normal_frame_war + + is_triggered_only = yes + + # On_action, so BIG is MORE OFTEN! + weight_multiplier = { + days = 1 + modifier = { + factor = 1.25 + martial = 15 + } + modifier = { + factor = 1.25 + martial = 20 + } + modifier = { + factor = 1.25 + diplomacy = 15 + } + modifier = { + factor = 1.25 + diplomacy = 20 + } + modifier = { + factor = 1.25 + prestige = 1000 + } + modifier = { + factor = 0.75 + NOT = { martial = 10 } + } + modifier = { + factor = 0.5 + NOT = { martial = 7 } + } + modifier = { + factor = 0.75 + NOT = { diplomacy = 10 } + } + modifier = { + factor = 0.5 + NOT = { diplomacy = 7 } + } + modifier = { + factor = 0.5 + NOT = { prestige = 100 } + } + modifier = { + factor = 0.75 + lower_tier_than = DUKE + } + modifier = { + factor = 0 + relative_power = { + who = FROM + power = 4.0 + } + } + modifier = { + factor = 0.5 + relative_power = { + who = FROM + power = 2.0 + } + } + modifier = { + factor = 0.25 + relative_power = { + who = FROM + power = 3.0 + } + } + } + + option = { + name = EVTOPTA62320 + capital_scope = { + ROOT = { + spawn_unit = { + province = PREV + owner = ROOT + match_character = ROOT + match_mult = 0.1 + earmark = prepared_invasion + attrition = 1.0 + } + spawn_fleet = { + province = closest + owner = ROOT + match_character = ROOT + match_mult = 0.1 + match_min = 7 + earmark = prepared_invasion + } + } + } + } +} + +# A hero and his retinue appear in your court +# Called from on_action: on_prepared_invasion_monthly +# The target character is in FROM +character_event = { + id = 62321 + desc = EVTDESC62321 + + hide_from = yes + + picture = GFX_evt_vikings_arriving_oldgods + border = GFX_event_normal_frame_war + + is_triggered_only = yes + + # On_action, so BIG is MORE OFTEN + weight_multiplier = { + days = 1 + modifier = { + factor = 1.25 + martial = 15 + } + modifier = { + factor = 1.25 + martial = 20 + } + modifier = { + factor = 1.25 + diplomacy = 15 + } + modifier = { + factor = 1.25 + diplomacy = 20 + } + modifier = { + factor = 1.25 + prestige = 1000 + } + modifier = { + factor = 0.75 + NOT = { martial = 10 } + } + modifier = { + factor = 0.5 + NOT = { martial = 7 } + } + modifier = { + factor = 0.75 + NOT = { diplomacy = 10 } + } + modifier = { + factor = 0.5 + NOT = { diplomacy = 7 } + } + modifier = { + factor = 0.5 + NOT = { prestige = 100 } + } + modifier = { + factor = 0.75 + lower_tier_than = DUKE + } + modifier = { + factor = 0 + relative_power = { + who = FROM + power = 4.0 + } + } + modifier = { + factor = 0.5 + relative_power = { + who = FROM + power = 2.0 + } + } + modifier = { + factor = 0.25 + relative_power = { + who = FROM + power = 3.0 + } + } + } + + option = { + name = EVTOPTA62321 + capital_scope = { + create_character = { + random_traits = yes + dynasty = NONE + religion = ROOT + culture = ROOT + female = no + age = 30 + attributes = { + martial = 8 + } + trait = brave + trait = zealous + trait = brilliant_strategist + trait = holy_warrior + } + new_character = { + spawn_unit = { + province = PREV + owner = ROOT + match_character = ROOT + match_mult = 0.15 +# earmark = prepared_invasion + attrition = 1.0 + } + } + } + + spawn_fleet = { + province = closest + owner = ROOT + match_character = ROOT + match_mult = 0.15 + match_min = 10 + earmark = prepared_invasion + } + } +} + +# A smaller force arrives for the invasion +# Called from on_action: on_prepared_invasion_monthly +# The target character is in FROM +character_event = { + id = 62322 + desc = EVTDESC62320 + + picture = GFX_evt_vikings_arriving_oldgods + border = GFX_event_normal_frame_war + + is_triggered_only = yes + + # On_action, so BIG is MORE OFTEN + weight_multiplier = { + days = 1 + modifier = { + factor = 1.25 + martial = 15 + } + modifier = { + factor = 1.25 + martial = 20 + } + modifier = { + factor = 1.25 + diplomacy = 15 + } + modifier = { + factor = 1.25 + diplomacy = 20 + } + modifier = { + factor = 1.25 + prestige = 1000 + } + modifier = { + factor = 0.75 + NOT = { martial = 10 } + } + modifier = { + factor = 0.5 + NOT = { martial = 7 } + } + modifier = { + factor = 0.75 + NOT = { diplomacy = 10 } + } + modifier = { + factor = 0.5 + NOT = { diplomacy = 7 } + } + modifier = { + factor = 0.5 + NOT = { prestige = 100 } + } + modifier = { + factor = 0.75 + lower_tier_than = DUKE + } + modifier = { + factor = 0 + relative_power = { + who = FROM + power = 4.0 + } + } + modifier = { + factor = 0.5 + relative_power = { + who = FROM + power = 2.0 + } + } + modifier = { + factor = 0.25 + relative_power = { + who = FROM + power = 3.0 + } + } + } + + option = { + name = EVTOPTA62320 + capital_scope = { + ROOT = { + spawn_unit = { + province = PREV + owner = ROOT + match_character = ROOT + match_mult = 0.075 + earmark = prepared_invasion + attrition = 1.0 + } + spawn_fleet = { + province = closest + owner = ROOT + match_character = ROOT + match_mult = 0.075 + match_min = 5 + earmark = prepared_invasion + } + } + } + } +} + +# Notification from decision 'convert_to_attacker_religion' +letter_event = { + id = 62800 + desc = EVTDESC62800 + + border = GFX_event_letter_frame_religion + + is_triggered_only = yes + + option = { + name = EVTOPTA62800 + if = { + limit = { + FROM = { tier = COUNT } + } + piety = 50 + } + if = { + limit = { + FROM = { tier = DUKE } + } + piety = 100 + } + if = { + limit = { + FROM = { tier = KING } + } + piety = 300 + } + if = { + limit = { + FROM = { tier = EMPEROR } + } + piety = 1000 + } + } +} + +# Special event for Bagsecg of Jylland to invade Mercia with "the Great Summer Army" +character_event = { + id = 62900 + desc = EVTDESC62900 + + picture = GFX_evt_viking_battle_oldgods + border = GFX_event_normal_frame_war + + min_age = 16 + only_playable = yes + only_men = yes + only_capable = yes + prisoner = no + religion = norse_pagan + culture = norse + war = no + + trigger = { + character = 163113 # Bagsecg + NOT = { has_character_flag = bagsecgs_invasion } + d_hereford = { # Mercia + holder_scope = { + culture = saxon + } + } + } + + mean_time_to_happen = { + days = 30 + } + + immediate = { + set_character_flag = bagsecgs_invasion + } + + option = { + name = EVTOPTA62900 # Invade Mercia + + ai_chance = { + factor = 70 + } + + custom_tooltip = { + text = EVTOPTA62900_TT + # Prepare the invasion (these opinions control the mechanic) + hidden_tooltip = { + d_hereford = { # Mercia + holder_scope = { + reverse_opinion = { + who = ROOT + modifier = preparing_to_invade + } + opinion = { + who = ROOT + modifier = preparing_to_invade_me + } + letter_event = { id = 62901 } + } + } + add_character_modifier = { + name = launched_prepared_invasion + hidden = yes + days = -1 + } + } + } + + capital_scope = { + ROOT = { + spawn_unit = { + province = PREV + owner = ROOT + match_character = ROOT + match_mult = 0.75 + earmark = prepared_invasion + attrition = 1.0 + } + spawn_unit = { + province = PREV + owner = ROOT + match_character = ROOT + match_mult = 0.75 + earmark = prepared_invasion + attrition = 1.0 + } + spawn_unit = { + province = PREV + owner = ROOT + match_character = ROOT + match_mult = 0.75 + earmark = prepared_invasion + attrition = 1.0 + } + spawn_fleet = { + province = PREV + owner = ROOT + earmark = prepared_invasion + troops = + { + galleys = { 20 20 } + } + } + } + } + } + + option = { + name = EVTOPTB62900 # Invade Wessex + + trigger = { + d_somerset = { # Wessex + holder_scope = { + culture = saxon + } + } + } + + ai_chance = { + factor = 10 + } + + custom_tooltip = { + text = EVTOPTB62900_TT + # Prepare the invasion + hidden_tooltip = { + d_somerset = { # Wessex + holder_scope = { + reverse_opinion = { + who = ROOT + modifier = preparing_to_invade + } + opinion = { + who = ROOT + modifier = preparing_to_invade_me + } + letter_event = { id = 62901 } + } + } + add_character_modifier = { + name = launched_prepared_invasion + hidden = yes + days = -1 + } + } + } + + capital_scope = { + ROOT = { + spawn_unit = { + province = PREV + owner = ROOT + match_character = ROOT + match_mult = 0.5 + earmark = prepared_invasion + attrition = 1.0 + } + spawn_unit = { + province = PREV + owner = ROOT + match_character = ROOT + match_mult = 0.5 + earmark = prepared_invasion + attrition = 1.0 + } + spawn_unit = { + province = PREV + owner = ROOT + match_character = ROOT + match_mult = 0.5 + earmark = prepared_invasion + attrition = 1.0 + } + spawn_fleet = { + province = PREV + owner = ROOT + earmark = prepared_invasion + troops = + { + galleys = { 10 10 } + } + } + } + } + } + + option = { + name = EVTOPTC62900 # Invade Scotland + + trigger = { + k_scotland = { + holder_scope = { + culture = scottish + } + } + } + + ai_chance = { + factor = 10 + } + + custom_tooltip = { + text = EVTOPTC62900_TT + # Prepare the invasion + hidden_tooltip = { + k_scotland = { + holder_scope = { + reverse_opinion = { + who = ROOT + modifier = preparing_to_invade + } + opinion = { + who = ROOT + modifier = preparing_to_invade_me + } + letter_event = { id = 62901 } + } + } + add_character_modifier = { + name = launched_prepared_invasion + hidden = yes + days = -1 + } + } + } + + capital_scope = { + ROOT = { + spawn_unit = { + province = PREV + owner = ROOT + match_character = ROOT + match_mult = 0.5 + earmark = prepared_invasion + attrition = 1.0 + } + spawn_unit = { + province = PREV + owner = ROOT + match_character = ROOT + match_mult = 0.5 + earmark = prepared_invasion + attrition = 1.0 + } + spawn_unit = { + province = PREV + owner = ROOT + match_character = ROOT + match_mult = 0.5 + earmark = prepared_invasion + attrition = 1.0 + } + spawn_fleet = { + province = PREV + owner = ROOT + earmark = prepared_invasion + troops = + { + galleys = { 10 10 } + } + } + } + } + } + + option = { + name = EVTOPTD62900 + + ai_chance = { + factor = 10 + } + + prestige = -100 + } +} + +letter_event = { + id = 62901 + desc = EVTDESC62901 + + border = GFX_event_letter_frame_war + + is_triggered_only = yes + + option = { + name = EVTOPTA62901 + } +} + +# Special event for the Magyars to form Hungary +# Triggered by Decision: create_hungary +narrative_event = { + id = 62910 + title = EVTNAME62910 + desc = EVTDESC62910 + + picture = GFX_evt_council + border = GFX_event_narrative_frame_diplomacy + + is_triggered_only = yes + + + option = { + name = EVTOPTA62910 + } + + immediate = { + k_magyar = { + any_direct_de_jure_vassal_title = { + de_jure_liege = k_hungary + } + } + k_hungary = { + grant_title = ROOT + copy_title_laws = k_magyar + copy_title_history = k_magyar + set_name="" + adjective="" + } + k_magyar = { + destroy_landed_title = THIS + } + activate_title = { title = k_magyar status = no } + + if = { + limit = { + NOT = { has_landed_title = c_pest } + } + c_pest = { + usurp_title = ROOT + location = { + ROOT = { + capital = PREV + } + } + } + k_hungary = { + if = { + limit = { + NOT = { + has_dlc = "Zeus" + OR = { + has_law = crown_authority_0 + has_law = crown_authority_1 + has_law = crown_authority_2 + has_law = crown_authority_3 + has_law = crown_authority_4 + } + } + } + add_law = crown_authority_0 + } + } + } + + any_playable_ruler = { + limit = { + NOT = { has_landed_title = k_hungary } + ai = no + } + narrative_event = { id = 62911 } + } + + any_realm_province = { + limit = { + kingdom = { + title = k_hungary + } + } + culture = hungarian + religion = ROOT + } + + # The Hungarian culture in the Ukraine is lost + random_realm_province = { + limit = { + culture = hungarian + kingdom = { + OR = { + title = k_taurica + title = k_ruthenia + title = k_cuman + title = k_alania + } + } + any_neighbor_province = { + NOT = { culture = hungarian } + } + } + random_neighbor_province = { + limit = { + NOT = { culture = hungarian } + } + reverse_culture = PREV + reverse_religion = PREV + } + } + random_realm_province = { + limit = { + culture = hungarian + kingdom = { + OR = { + title = k_taurica + title = k_ruthenia + title = k_cuman + title = k_alania + } + } + any_neighbor_province = { + NOT = { culture = hungarian } + } + } + random_neighbor_province = { + limit = { + NOT = { culture = hungarian } + } + reverse_culture = PREV + reverse_religion = PREV + } + } + random_realm_province = { + limit = { + culture = hungarian + kingdom = { + OR = { + title = k_taurica + title = k_ruthenia + title = k_cuman + title = k_alania + } + } + any_neighbor_province = { + NOT = { culture = hungarian } + } + } + random_neighbor_province = { + limit = { + NOT = { culture = hungarian } + } + reverse_culture = PREV + reverse_religion = PREV + } + } + random_realm_province = { + limit = { + culture = hungarian + kingdom = { + OR = { + title = k_taurica + title = k_ruthenia + title = k_cuman + title = k_alania + } + } + any_neighbor_province = { + NOT = { culture = hungarian } + } + } + random_neighbor_province = { + limit = { + NOT = { culture = hungarian } + } + reverse_culture = PREV + reverse_religion = PREV + } + } + random_realm_province = { + limit = { + culture = hungarian + kingdom = { + OR = { + title = k_taurica + title = k_ruthenia + title = k_cuman + title = k_alania + } + } + any_neighbor_province = { + NOT = { culture = hungarian } + } + } + random_neighbor_province = { + limit = { + NOT = { culture = hungarian } + } + reverse_culture = PREV + reverse_religion = PREV + } + } + random_realm_province = { + limit = { + culture = hungarian + kingdom = { + OR = { + title = k_taurica + title = k_ruthenia + title = k_cuman + title = k_alania + } + } + any_neighbor_province = { + NOT = { culture = hungarian } + } + } + random_neighbor_province = { + limit = { + NOT = { culture = hungarian } + } + reverse_culture = PREV + reverse_religion = PREV + } + } + + # Lose control of the Ukraininan lands + any_realm_province = { + limit = { + OR = { + kingdom = { + OR = { + title = k_taurica + title = k_ruthenia + title = k_cuman + title = k_alania + } + } + duchy = { + title = d_moldau + } + } + owner = { + # Human vassals get to keep their stuff + OR = { + ai = yes + character = ROOT + } + } + } + county = { + create_character = { + random_traits = yes + dynasty = none + religion = PREV + culture = PREV + female = no + age = 25 + trait = peasant_leader + } + new_character = { + usurp_title_plus_barony_if_unlanded = PREV + set_defacto_liege = THIS + } + } + } + + any_claim = { + remove_claim = ROOT + } + } +} + +# Informed about the Creation of Hungary +narrative_event = { + id = 62911 + title = EVTNAME62911 + desc = EVTDESC62911 + + picture = GFX_evt_council + border = GFX_event_narrative_frame_diplomacy + + is_triggered_only = yes + + option = { + name = EVTOPTA62911 + } +} + +# Special event for Asturias to create León +# Triggered by Decision: create_leon +character_event = { + id = 62920 + title = EVTNAME62920 + desc = EVTDESC62920 + + picture = GFX_evt_council + border = GFX_event_normal_frame_diplomacy + + is_triggered_only = yes + + option = { + name = EVTOPTA62920 + } +} + +# Informed about the Creation of Leon +character_event = { + id = 62921 + title = EVTNAME62920 + desc = EVTDESC62921 + + picture = GFX_evt_council + border = GFX_event_normal_frame_diplomacy + + is_triggered_only = yes + + option = { + name = EVTOPTA62921 + } +} + +character_event = { + id = 62922 + title = EVTNAME62922 + desc = EVTDESC62922 + + picture = GFX_evt_council + border = GFX_event_normal_frame_diplomacy + + is_triggered_only = yes + + option = { + name = EVTOPTA62922 + } +} + +# Informed about the Creation of Castille +character_event = { + id = 62923 + title = EVTNAME62923 + desc = EVTDESC62923 + + picture = GFX_evt_council + border = GFX_event_normal_frame_diplomacy + + is_triggered_only = yes + + option = { + name = EVTOPTA62923 + } +} + +character_event = { + id = 62924 + title = EVTNAME62924 + desc = EVTDESC62924 + + picture = GFX_evt_council + border = GFX_event_normal_frame_diplomacy + + is_triggered_only = yes + + option = { + name = EVTOPTA62922 + } +} + +# Informed about the Creation of Portugal +character_event = { + id = 62925 + title = EVTNAME62925 + desc = EVTDESC62925 + + picture = GFX_evt_council + border = GFX_event_normal_frame_diplomacy + + is_triggered_only = yes + + option = { + name = EVTOPTA62923 + } +} + +character_event = { + id = 62926 + title = EVTNAME62926 + desc = EVTDESC62926 + + picture = GFX_evt_council + border = GFX_event_normal_frame_diplomacy + + is_triggered_only = yes + + option = { + name = EVTOPTA62922 + } +} + +# Informed about the Creation of Aragon +character_event = { + id = 62927 + title = EVTNAME62927 + desc = EVTDESC62927 + + picture = GFX_evt_council + border = GFX_event_normal_frame_diplomacy + + is_triggered_only = yes + + option = { + name = EVTOPTA62923 + } +} + + +# Special event for West Francia to be renamed to France +character_event = { + id = 62930 + title = EVTNAME62930 + desc = EVTDESC62930 + + picture = GFX_evt_council + border = GFX_event_normal_frame_diplomacy + + only_playable = yes + + trigger = { + has_landed_title = k_france + NOT = { dynasty = 25061 } # Karling dynasty + NOT = { has_global_flag = west_francia_renamed } + } + + mean_time_to_happen = { + days = 1 + } + + option = { + name = EVTOPTA62930 + set_global_flag = west_francia_renamed + k_france = { + set_name="" + adjective="" + } + } +} + +# Special event for East Francia to be renamed to Germany +character_event = { + id = 62931 + title = EVTNAME62931 + desc = EVTDESC62931 + + picture = GFX_evt_council + border = GFX_event_normal_frame_diplomacy + + only_playable = yes + + trigger = { + has_landed_title = k_germany + NOT = { dynasty = 25061 } # Karling dynasty + NOT = { has_global_flag = east_francia_renamed } + } + + mean_time_to_happen = { + days = 1 + } + + option = { + name = EVTOPTA62931 + set_global_flag = east_francia_renamed + k_germany = { + set_name="" + adjective="" + } + } +} + +# Special event for Middle Francia to be renamed to Austrasia - Since Lothair doesn't exist to name it Lotharingia +character_event = { + id = 62932 + title = EVTNAME62932 + desc = EVTDESC62932 + + picture = GFX_evt_council + border = GFX_event_normal_frame_diplomacy + + only_playable = yes + + trigger = { + has_landed_title = k_lotharingia + NOT = { dynasty = 25061 } # Karling dynasty + NOT = { has_global_flag = middle_francia_renamed } + } + + mean_time_to_happen = { + days = 1 + } + + option = { + name = EVTOPTA62931 + set_global_flag = middle_francia_renamed + k_lotharingia = { + set_name="AUSTRASIA" + adjective="AUSTRASIA_ADJ" + } + } +} + +# Event where the sons of Lodbrok exact their revenge on Aella +character_event = { + id = 62950 + hide_window = yes + + min_age = 16 + only_men = yes + prisoner = yes + culture = saxon + + trigger = { + character = 163103 # Aella + host = { + OR = { + character = 163108 # Björn Ironside + character = 163110 # Sigurd + character = 163111 # Ivar + character = 163112 # Halfdan + character = 163119 # Ubbe + } + } + NOT = { has_character_flag = aella_punished } + } + + mean_time_to_happen = { + days = 1 + } + + immediate = { + set_character_flag = aella_punished + host = { + character_event = { id = 62951 } + } + } +} + +character_event = { + id = 62951 + title = EVTNAME62951 + desc = EVTDESC62951 + + picture = GFX_evt_torture + border = GFX_event_normal_frame_war + + is_triggered_only = yes + + option = { + name = EVTOPTA62951 # Blood Eagle + ai_chance = { + factor = 100 + } + FROM = { + death = { + death_reason = death_execution_blood_eagle + killer = ROOT + } + } + prestige = 500 + } + option = { + name = EVTOPTB62951 # Sacrifice + ai_chance = { + factor = 0 + } + FROM = { + death = { + death_reason = death_sacrificed_norse + killer = ROOT + } + } + piety = 250 + } + option = { + name = EVTOPTC62951 # Blinding & Castration + trigger = { + NOT = { lifestyle_traits = 1 } + NOT = { has_dlc = "Way of Life" } + } + ai_chance = { + factor = 0 + } + + prestige = 500 + add_trait = impaler + + tooltip = { + FROM = { + add_trait = eunuch + if = { + limit = { + trait = one_eyed + } + remove_trait = one_eyed + } + add_trait = blinded + add_trait = wounded + } + } + hidden_tooltip = { + FROM = { + character_event = { id = 62952 } + } + } + } + option = { + name = EVTOPTD62951 # Other plans + ai_chance = { + factor = 0 + } + } +} + + +character_event = { + id = 62952 + title = EVTNAME62951 + desc = EVTDESC62952 + + picture = GFX_evt_torture + border = GFX_event_normal_frame_war + + is_triggered_only = yes + + option = { + name = EVTOPTA62952 + add_trait = eunuch + if = { + limit = { + trait = one_eyed + } + remove_trait = one_eyed + } + add_trait = blinded + add_trait = wounded + + hidden_tooltip = { + opinion = { + who = FROM + modifier = opinion_hate + years = 100 + } + } + } +} diff --git a/LCDA/events/mnm_artifacts_events.txt b/LCDA/events/mnm_artifacts_events.txt new file mode 100644 index 0000000..63933c1 --- /dev/null +++ b/LCDA/events/mnm_artifacts_events.txt @@ -0,0 +1,10257 @@ +########################################### +# # +# M&M Monastic Artifacts Events # +# # +# ID MNM.9000-MNM.9999 # +# # +########################################### + +#IDs: +#9000-9199 Mathilda +#9200-9399 Henrik / Milla +#9400-9599 David +#9600-9799 Drikus +#9800-9898 Axel +#9899-9999 Joel + +namespace = MNM + +#Sends rumors +character_event = { + id = MNM.9000 + hide_window = yes + + is_triggered_only = yes + has_dlc = "Mystics" + + min_age = 13 + only_playable = yes + only_capable = yes + prisoner = no + + trigger = { + any_courtier_or_vassal = { + NOT = { trait = incapable } + prisoner = no + opinion = { who = ROOT value = 20 } + is_councillor = yes + ai = yes + } + NOR = { + has_character_modifier = relic_rumor_major + has_character_modifier = relic_rumor_medium + has_character_modifier = relic_rumor_minor + } + NOR = { + religion = zun_pagan + religion = zun_pagan_reformed + religion = pagan + religion = hellenic_pagan + } + } + + immediate = { + random_courtier_or_vassal = { + limit = { + NOT = { trait = incapable } + prisoner = no + opinion = { who = ROOT value = 20 } + is_councillor = yes + ai = yes + } + save_event_target_as = rumor_councillor + } + save_event_target_as = relic_ruler + random_list = { + 10 = { #Epic rumor + modifier = { + factor = 0.7 + ai = yes + } + modifier = { + factor = 0 + AND = { + religion_group = christian + has_artifact = spear_of_destiny + has_artifact = bones_of_st_peter + has_artifact = staff_of_moses + has_artifact = davids_harp + } + } + modifier = { + factor = 0 + AND = { + religion_group = jewish_group + has_artifact = staff_of_moses + has_artifact = davids_harp + } + } + modifier = { + factor = 0 + AND = { + religion_group = muslim + has_artifact = staff_of_moses + has_artifact = davids_harp + has_artifact = seal_of_mohammad + has_artifact = holy_banner_of_mohammad + has_artifact = blessed_mantle + } + } + modifier = { + factor = 0 + AND = { + religion_group = zoroastrian_group + has_artifact = cup_of_jamshid + has_artifact = babr_e_bayan + } + } + modifier = { + factor = 0 + AND = { + religion_group = indian_group + has_artifact = buddhas_tooth + } + } + modifier = { + factor = 0 + AND = { + OR = { + religion = norse_pagan + religion = norse_pagan_reformed + } + has_artifact = mjolnir + has_artifact = andvaranaut + } + } + modifier = { + factor = 0 + AND = { + OR = { + religion = west_african_pagan + religion = west_african_pagan_reformed + } + has_artifact = fetish_of_souls + } + } + modifier = { + factor = 0 + AND = { + OR = { + religion = finnish_pagan + religion = finnish_pagan_reformed + } + has_artifact = sampo + } + } + modifier = { + factor = 0 + AND = { + OR = { + religion = slavic_pagan + religion = slavic_pagan_reformed + } + has_artifact = axe_of_perun + } + } + modifier = { + factor = 0 + AND = { + OR = { + religion = baltic_pagan + religion = baltic_pagan_reformed + } + has_artifact = axe_of_perkunas + } + } + modifier = { + factor = 0 + AND = { + OR = { + religion = tengri_pagan + religion = tengri_pagan_reformed + } + has_artifact = yada_tashy + } + } + event_target:rumor_councillor = { character_event = { id = MNM.9001 } } + } + 90 = { #Good rumor + modifier = { + factor = 0 + OR = { + religion = finnish_pagan + religion = finnish_pagan_reformed + religion = slavic_pagan + religion = slavic_pagan_reformed + religion = baltic_pagan + religion = baltic_pagan_reformed + religion = tengri_pagan + religion = tengri_pagan_reformed + } + } + modifier = { + factor = 0 + AND = { + religion_group = christian + has_artifact = crown_of_thorns + has_artifact = seamless_robe_of_jesus + has_artifact = fragment_of_true_cross + has_artifact = holy_foreskin + has_artifact = seal_of_solomon + has_artifact = image_of_edessa + } + } + modifier = { + factor = 0 + AND = { + religion_group = jewish_group + has_artifact = seal_of_solomon + has_artifact = tabernacle + } + } + modifier = { + factor = 0 + AND = { + religion_group = muslim + has_artifact = seal_of_solomon + has_artifact = sword_of_mohammad + has_artifact = letter_of_mohammad + has_artifact = blessed_sandals + has_artifact = cloak_of_mohammad + } + } + modifier = { + factor = 0 + AND = { + religion_group = zoroastrian_group + has_artifact = derafsh_kaviani + has_artifact = cyrus_cylinder + } + } + modifier = { + factor = 0 + AND = { + religion_group = indian_group + has_artifact = mountain_of_light_diamond + has_artifact = elaborate_danda + has_artifact = sarira + has_artifact = sariraka_actual_body_part + } + } + modifier = { + factor = 0 + AND = { + OR = { + religion = norse_pagan + religion = norse_pagan_reformed + } + has_artifact = gjallarhorn + } + } + event_target:rumor_councillor = { character_event = { id = MNM.9002 } } + } + 100 = { #Weak rumor + modifier = { + factor = 0 + AND = { + religion_group = pagan_group + has_artifact = famous_head + has_artifact = famous_tongue + has_artifact = infamous_tongue + has_artifact = famous_hand + has_artifact = famous_arm + has_artifact = famous_foot + has_artifact = famous_ancient_weapon + } + } + modifier = { + factor = 0 + AND = { + religion_group = christian + has_artifact = fingerbone_of_saint + has_artifact = famous_head + has_artifact = famous_tongue + has_artifact = infamous_tongue + has_artifact = famous_hand + has_artifact = famous_arm + has_artifact = famous_foot + has_artifact = famous_ancient_weapon + has_artifact = chains_of_st_peter + has_artifact = right_hand_st_demetrius + has_artifact = veil_of_veronica + has_artifact = remains_of_st_cessianus + has_artifact = weeping_statue + } + } + modifier = { + factor = 0 + AND = { + religion_group = jewish_group + has_artifact = famous_head + has_artifact = famous_tongue + has_artifact = infamous_tongue + has_artifact = famous_hand + has_artifact = famous_arm + has_artifact = famous_foot + has_artifact = famous_ancient_weapon + has_artifact = davids_sling + } + } + modifier = { + factor = 0 + AND = { + religion_group = muslim + has_artifact = mohammads_beard + OR = { + has_artifact = blessed_mantle #safeguard so you don't end up with two waters + has_artifact = water_of_blessed_mantle + } + has_artifact = famous_head + has_artifact = famous_tongue + has_artifact = infamous_tongue + has_artifact = famous_hand + has_artifact = famous_arm + has_artifact = famous_foot + has_artifact = famous_ancient_weapon + has_artifact = mohammads_bowl + has_artifact = tooth_of_mohammad + } + } + modifier = { + factor = 0 + AND = { + religion_group = zoroastrian_group + has_artifact = haoma_sapling + has_artifact = keshmar_cypress_branch + has_artifact = famous_head + has_artifact = famous_tongue + has_artifact = infamous_tongue + has_artifact = famous_hand + has_artifact = famous_arm + has_artifact = famous_foot + has_artifact = famous_ancient_weapon + } + } + modifier = { + factor = 0 + AND = { + religion_group = indian_group + has_artifact = famous_head + has_artifact = famous_tongue + has_artifact = infamous_tongue + has_artifact = famous_hand + has_artifact = famous_arm + has_artifact = famous_foot + has_artifact = famous_ancient_weapon + } + } + event_target:rumor_councillor = { character_event = { id = MNM.9003 } } + } + 9000 = { #AI is less likely to find artifacts + modifier = { factor = 0 ai = no } + } + } + } +} + +#Ping events for rumors +character_event = { + id = MNM.9001 + hide_window = yes + is_triggered_only = yes + has_dlc = "Mystics" + immediate = { event_target:relic_ruler = { character_event = { id = MNM.9004 } } } +} + +character_event = { + id = MNM.9002 + hide_window = yes + is_triggered_only = yes + has_dlc = "Mystics" + immediate = { event_target:relic_ruler = { character_event = { id = MNM.9005 } } } +} + +character_event = { + id = MNM.9003 + hide_window = yes + is_triggered_only = yes + has_dlc = "Mystics" + immediate = { event_target:relic_ruler = { character_event = { id = MNM.9006 } } } +} + +#Rumors +character_event = { + id = MNM.9004 + desc = EVTDESC_MNM_9004 + picture = GFX_evt_treasure_chamber + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + has_dlc = "Mystics" + + option = { + name = EVTOPTA_MNM_9004 + custom_tooltip = { text = EVTOPTA_MNM_9004_TT } + add_character_modifier = { + name = relic_rumor_major + years = 20 + } + add_artifact_search_payment_effect = yes + hidden_effect = { + #Start searching + FROM = { + set_character_flag = relic_hunter + save_event_target_as = relic_hunter + character_event = { id = MNM.9007 days = 1 } + } + } + ai_chance = { factor = 100 } + } + + option = { + name = EVTOPTB_MNM_9004 + custom_tooltip = { text = EVTOPTB_MNM_9004_TT } + add_character_modifier = { + name = relic_rumor_major + years = 20 + } + } + + after = { + hidden_effect = { set_variable = { which = relic_score value = 0 } } + opinion = { + who = FROM + modifier = opinion_grateful + years = 20 + } + } +} + +character_event = { + id = MNM.9005 + desc = EVTDESC_MNM_9005 + picture = "GFX_evt_treasure_chamber" + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + has_dlc = "Mystics" + + option = { + name = EVTOPTA_MNM_9005 + custom_tooltip = { text = EVTOPTA_MNM_9005_TT } + add_character_modifier = { + name = relic_rumor_medium + years = 20 + } + add_artifact_search_payment_effect = yes + hidden_effect = { + #Start searching + FROM = { + set_character_flag = relic_hunter + save_event_target_as = relic_hunter + character_event = { id = MNM.9007 days = 1 } + } + } + ai_chance = { factor = 100 } + } + + option = { + name = EVTOPTB_MNM_9005 + custom_tooltip = { text = EVTOPTB_MNM_9005_TT } + add_character_modifier = { + name = relic_rumor_medium + years = 20 + } + } + + after = { + hidden_effect = { set_variable = { which = relic_score value = 0 } } + opinion = { + who = FROM + modifier = opinion_grateful + years = 15 + } + } +} + +character_event = { + id = MNM.9006 + desc = EVTDESC_MNM_9006 + picture = "GFX_evt_gathering_of_minds" + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + has_dlc = "Mystics" + + option = { + name = EVTOPTA_MNM_9006 + custom_tooltip = { text = EVTOPTA_MNM_9006_TT } + add_character_modifier = { + name = relic_rumor_minor + years = 10 + } + add_artifact_search_payment_effect = yes + hidden_effect = { + #Start searching + FROM = { + set_character_flag = relic_hunter + save_event_target_as = relic_hunter + character_event = { id = MNM.9007 days = 1 } + } + } + ai_chance = { factor = 100 } + } + + option = { + name = EVTOPTB_MNM_9006 + custom_tooltip = { text = EVTOPTB_MNM_9006_TT } + add_character_modifier = { + name = relic_rumor_minor + years = 10 + } + } + + after = { + hidden_effect = { set_variable = { which = relic_score value = 0 } } + opinion = { + who = FROM + modifier = opinion_grateful + years = 10 + } + } +} + +#Person you sent out starts searching +character_event = { + id = MNM.9007 + hide_window = yes + + is_triggered_only = yes + has_dlc = "Mystics" + + immediate = { + if = { #Stop hunting for relics + limit = { + OR = { + is_alive = no + NOT = { has_character_flag = relic_hunter } + is_councillor = no + trait = incapable + prisoner = yes + liege = { NOT = { character = event_target:relic_ruler } } + liege = { + NOR = { + has_character_modifier = relic_rumor_major + has_character_modifier = relic_rumor_medium + has_character_modifier = relic_rumor_minor + } + } + } + } + if = { + limit = { has_character_flag = relic_hunter } + event_target:relic_ruler = { character_event = { id = MNM.9009 } } + } + if = { + limit = { NOT = { has_character_flag = relic_hunter } } + clr_artifact_searcher_effect = yes + } + break = yes + } + + #If relic is found... + if = { + limit = { + OR = { + AND = { + event_target:relic_ruler = { check_variable = { which = relic_score value = 15 } } + event_target:relic_ruler = { has_character_modifier = relic_rumor_minor } + } + AND = { + event_target:relic_ruler = { check_variable = { which = relic_score value = 25 } } + event_target:relic_ruler = { has_character_modifier = relic_rumor_medium } + } + AND = { + event_target:relic_ruler = { check_variable = { which = relic_score value = 40 } } + event_target:relic_ruler = { has_character_modifier = relic_rumor_major } + } + } + } + character_event = { id = MNM.9008 } #Relic tombola + } + #If relic isn't found... + if = { + limit = { + NOR = { + AND = { + event_target:relic_ruler = { check_variable = { which = relic_score value = 15 } } + event_target:relic_ruler = { has_character_modifier = relic_rumor_minor } + } + AND = { + event_target:relic_ruler = { check_variable = { which = relic_score value = 25 } } + event_target:relic_ruler = { has_character_modifier = relic_rumor_medium } + } + AND = { + event_target:relic_ruler = { check_variable = { which = relic_score value = 40 } } + event_target:relic_ruler = { has_character_modifier = relic_rumor_major } + } + } + } + + #Outcome of this search + random_list = { + 10 = { #Search through diplomacy + modifier = { factor = 5 has_job_title = job_chancellor } + modifier = { factor = 3 diplomacy = 10 } + random_list = { + 15 = { #Passive points gain + modifier = { factor = 1.5 has_job_title = job_chancellor } + modifier = { factor = 1.4 diplomacy = 12 } + modifier = { factor = 1.4 diplomacy = 15 } + modifier = { factor = 1.4 diplomacy = 18 } + modifier = { factor = 1.5 has_pleasant_personality_trigger = yes } + event_target:relic_ruler = { change_variable = { which = relic_score value = 1 } } + } + 2 = { #Ask for help + modifier = { factor = 1.5 has_job_title = job_chancellor } + modifier = { factor = 1.4 diplomacy = 12 } + modifier = { factor = 0 event_target:relic_ruler = { has_character_modifier = treasure_hunting_diplomats } } + event_target:relic_ruler = { character_event = { id = MNM.9020 } } + } + 10 = { #Setback + modifier = { factor = 1.25 event_target:relic_ruler = { has_character_modifier = relic_rumor_medium } } + modifier = { factor = 1.5 event_target:relic_ruler = { has_character_modifier = relic_rumor_major } } + modifier = { factor = 1.5 NOT = { has_job_title = job_chancellor } } + modifier = { factor = 1.5 is_dumb_trigger = yes } + modifier = { factor = 2.5 NOT = { diplomacy = 8 } } + event_target:relic_ruler = { change_variable = { which = relic_score value = -1 } } + } + 1 = { #Unfortunate accident + modifier = { factor = 1.5 NOT = { has_job_title = job_chancellor } } + modifier = { factor = 1.5 NOT = { diplomacy = 8 } } + modifier = { factor = 0 ai = no } + event_target:relic_ruler = { character_event = { id = MNM.9029 } } + } + } + } + 10 = { #Search through martial + modifier = { factor = 5 has_job_title = job_marshal } + modifier = { factor = 3 martial = 10 } + random_list = { + 15 = { #Passive points gain + modifier = { factor = 1.5 has_job_title = job_marshal } + modifier = { factor = 1.4 martial = 12 } + modifier = { factor = 1.4 martial = 15 } + modifier = { factor = 1.4 martial = 18 } + modifier = { factor = 1.4 trait = brave } + modifier = { factor = 1.4 combat_rating = 2 } + event_target:relic_ruler = { change_variable = { which = relic_score value = 1 } } + } + 2 = { #Ask for help + modifier = { factor = 1.5 has_job_title = job_marshal } + modifier = { factor = 1.4 martial = 12 } + modifier = { factor = 0 event_target:relic_ruler = { has_character_modifier = treasure_hunting_soldiers } } + event_target:relic_ruler = { character_event = { id = MNM.9021 } } + } + 10 = { #Setback + modifier = { factor = 1.25 event_target:relic_ruler = { has_character_modifier = relic_rumor_medium } } + modifier = { factor = 1.5 event_target:relic_ruler = { has_character_modifier = relic_rumor_major } } + modifier = { factor = 1.5 is_dumb_trigger = yes } + modifier = { factor = 1.5 NOT = { has_job_title = job_marshal } } + modifier = { factor = 2.5 NOT = { martial = 8 } } + event_target:relic_ruler = { change_variable = { which = relic_score value = -1 } } + } + 1 = { #Unfortunate accident + modifier = { factor = 1.5 NOT = { has_job_title = job_marshal } } + modifier = { factor = 1.5 NOT = { martial = 8 } } + modifier = { factor = 1.5 NOT = { combat_rating = 0 } } + modifier = { factor = 0 ai = no } + event_target:relic_ruler = { character_event = { id = MNM.9029 } } + } + } + } + 10 = { #Search through stewardship + modifier = { factor = 5 has_job_title = job_treasurer } + modifier = { factor = 3 stewardship = 10 } + random_list = { + 15 = { #Passive points gain + modifier = { factor = 1.5 has_job_title = job_treasurer } + modifier = { factor = 1.4 stewardship = 12 } + modifier = { factor = 1.4 stewardship = 15 } + modifier = { factor = 1.4 stewardship = 18 } + modifier = { factor = 1.4 monthly_income = 3 } + event_target:relic_ruler = { change_variable = { which = relic_score value = 1 } } + } + 2 = { #Ask for help + modifier = { factor = 1.5 has_job_title = job_treasurer } + modifier = { factor = 1.4 stewardship = 12 } + modifier = { factor = 0 event_target:relic_ruler = { has_character_modifier = treasure_hunting_stewards } } + event_target:relic_ruler = { character_event = { id = MNM.9022 } } + } + 10 = { #Setback + modifier = { factor = 1.25 event_target:relic_ruler = { has_character_modifier = relic_rumor_medium } } + modifier = { factor = 1.5 event_target:relic_ruler = { has_character_modifier = relic_rumor_major } } + modifier = { factor = 1.5 is_dumb_trigger = yes } + modifier = { factor = 1.5 NOT = { has_job_title = job_treasurer } } + modifier = { factor = 2.5 NOT = { stewardship = 8 } } + event_target:relic_ruler = { change_variable = { which = relic_score value = -1 } } + } + 1 = { #Unfortunate accident + modifier = { factor = 1.5 NOT = { has_job_title = job_treasurer } } + modifier = { factor = 1.5 NOT = { stewardship = 8 } } + modifier = { factor = 0 ai = no } + event_target:relic_ruler = { character_event = { id = MNM.9029 } } + } + } + } + 10 = { #Search through intrigue + modifier = { factor = 5 has_job_title = job_spymaster } + modifier = { factor = 3 intrigue = 10 } + random_list = { + 15 = { #Passive points gain + modifier = { factor = 1.5 has_job_title = job_spymaster } + modifier = { factor = 1.4 intrigue = 12 } + modifier = { factor = 1.4 intrigue = 15 } + modifier = { factor = 1.4 intrigue = 18 } + modifier = { factor = 1.4 has_unpleasant_personality_trigger = yes } + event_target:relic_ruler = { change_variable = { which = relic_score value = 1 } } + } + 2 = { #Ask for help + modifier = { factor = 1.5 has_job_title = job_spymaster } + modifier = { factor = 1.4 intrigue = 12 } + modifier = { factor = 0 event_target:relic_ruler = { has_character_modifier = treasure_hunting_spies } } + event_target:relic_ruler = { character_event = { id = MNM.9023 } } + } + 10 = { #Setback + modifier = { factor = 1.25 event_target:relic_ruler = { has_character_modifier = relic_rumor_medium } } + modifier = { factor = 1.5 event_target:relic_ruler = { has_character_modifier = relic_rumor_major } } + modifier = { factor = 1.5 is_dumb_trigger = yes } + modifier = { factor = 1.5 NOT = { has_job_title = job_spymaster } } + modifier = { factor = 2.5 NOT = { intrigue = 8 } } + event_target:relic_ruler = { change_variable = { which = relic_score value = -1 } } + } + 1 = { #Unfortunate accident + modifier = { factor = 1.5 NOT = { has_job_title = job_spymaster } } + modifier = { factor = 1.5 NOT = { intrigue = 8 } } + modifier = { factor = 0 ai = no } + event_target:relic_ruler = { character_event = { id = MNM.9029 } } + } + } + } + 10 = { #Search through learning + modifier = { factor = 5 has_job_title = job_spiritual } + modifier = { factor = 3 learning = 10 } + random_list = { + 15 = { #Passive points gain + modifier = { factor = 1.5 has_job_title = job_spiritual } + modifier = { factor = 1.4 learning = 12 } + modifier = { factor = 1.4 learning = 15 } + modifier = { factor = 1.4 learning = 18 } + modifier = { factor = 1.4 is_learned_trigger = yes } + event_target:relic_ruler = { change_variable = { which = relic_score value = 1 } } + } + 2 = { #Ask for help + modifier = { factor = 1.5 has_job_title = job_spiritual } + modifier = { factor = 1.4 learning = 12 } + modifier = { factor = 0 event_target:relic_ruler = { has_character_modifier = treasure_hunting_scholars } } + event_target:relic_ruler = { character_event = { id = MNM.9024 } } + } + 10 = { #Setback + modifier = { factor = 1.25 event_target:relic_ruler = { has_character_modifier = relic_rumor_medium } } + modifier = { factor = 1.5 event_target:relic_ruler = { has_character_modifier = relic_rumor_major } } + modifier = { factor = 1.5 NOT = { has_job_title = job_spiritual } } + modifier = { factor = 1.5 is_dumb_trigger = yes } + modifier = { factor = 2.5 NOT = { learning = 8 } } + event_target:relic_ruler = { change_variable = { which = relic_score value = -1 } } + } + 1 = { #Unfortunate accident + modifier = { factor = 1.5 NOT = { has_job_title = job_spiritual } } + modifier = { factor = 1.5 NOT = { learning = 8 } } + modifier = { factor = 0 ai = no } + event_target:relic_ruler = { character_event = { id = MNM.9029 } } + } + } + } + 5 = { #Ask for money + event_target:relic_ruler = { character_event = { id = MNM.9025 } } + } + 30 = { #Mess up badly + modifier = { factor = 0 event_target:relic_ruler = { check_variable = { which = relic_score value = 0 } } } + modifier = { factor = 0 reverse_has_opinion_modifier = { who = event_target:relic_ruler modifier = opinion_useless_moron } } + modifier = { factor = 1.5 is_dumb_trigger = yes } + event_target:relic_ruler = { character_event = { id = MNM.9027 } } + } + 1 = { #Encounter a better rumor + modifier = { factor = 0 NOT = { event_target:relic_ruler = { check_variable = { which = relic_score value = 5 } } } } + modifier = { factor = 0 event_target:relic_ruler = { has_character_modifier = relic_rumor_major } } + modifier = { factor = 1.5 is_smart_trigger = yes } + event_target:relic_ruler = { character_event = { id = MNM.9028 } } + } + 10 = { + #Nothing happens + } + } + character_event = { id = MNM.9007 days = 150 random = 30 } + } + } +} + +#Artifact is found +character_event = { + id = MNM.9008 + hide_window = yes + + is_triggered_only = yes + has_dlc = "Mystics" + + immediate = { + #Artifact tombola + event_target:relic_ruler = { + random_list = { + #Generic artifacts + 10 = { #Famous Head + modifier = { factor = 0 NOT = { has_character_modifier = relic_rumor_minor } } + modifier = { + factor = 0 + has_artifact = famous_head + } + character_event = { id = MNM.9835 } + } + 10 = { #Famous Tongue + modifier = { factor = 0 NOT = { has_character_modifier = relic_rumor_minor } } + modifier = { + factor = 0 + has_artifact = famous_tongue + } + character_event = { id = MNM.9836 } + } + 10 = { #Infamous Tongue + modifier = { factor = 0 NOT = { has_character_modifier = relic_rumor_minor } } + modifier = { + factor = 0 + has_artifact = infamous_tongue + } + character_event = { id = MNM.9837 } + } + 10 = { #Famous Hand + modifier = { factor = 0 NOT = { has_character_modifier = relic_rumor_minor } } + modifier = { + factor = 0 + has_artifact = famous_hand + } + character_event = { id = MNM.9838 } + } + 10 = { #Famous Arm + modifier = { factor = 0 NOT = { has_character_modifier = relic_rumor_minor } } + modifier = { + factor = 0 + has_artifact = famous_arm + } + character_event = { id = MNM.9839 } + } + 10 = { #Famous Foot + modifier = { factor = 0 NOT = { has_character_modifier = relic_rumor_minor } } + modifier = { + factor = 0 + has_artifact = famous_foot + } + character_event = { id = MNM.9840 } + } + 10 = { #Famous Ancient Rusty Weapon + modifier = { factor = 0 NOT = { has_character_modifier = relic_rumor_minor } } + modifier = { + factor = 0 + has_artifact = famous_ancient_weapon + } + character_event = { id = MNM.9841 } + } + + #Christian artifacts + 10 = { + modifier = { factor = 0 NOT = { religion_group = christian } } + modifier = { factor = 0 NOT = { has_character_modifier = relic_rumor_major } } + modifier = { + factor = 0 + has_artifact = bones_of_st_peter + } + #Insert artifact event here + narrative_event = { id = MNM.9804 } #Bones of St. Peter + } + + 10 = { + modifier = { factor = 0 NOT = { religion_group = christian } } + modifier = { factor = 0 NOT = { has_character_modifier = relic_rumor_medium } } + modifier = { + factor = 0 + has_artifact = seamless_robe_of_jesus + } + #Insert artifact event here + character_event = { id = MNM.9805 } #Seamless Robe of Jesus + } + 10 = { + modifier = { factor = 0 NOT = { religion_group = christian } } + modifier = { factor = 0 NOT = { has_character_modifier = relic_rumor_medium } } + modifier = { + factor = 0 + has_artifact = crown_of_thorns + } + #Insert artifact event here + character_event = { id = MNM.9806 } #Crown of Thorns + } + 20 = { + modifier = { factor = 0 NOT = { religion_group = christian } } + modifier = { factor = 0 NOT = { has_character_modifier = relic_rumor_medium } } + modifier = { + factor = 0 + has_artifact = fragment_of_true_cross + } + #Insert artifact event here + character_event = { id = MNM.9807 } #Fragment of the True Cross + } + 20 = { + modifier = { factor = 0 NOT = { religion_group = christian } } + modifier = { factor = 0 NOT = { has_character_modifier = relic_rumor_medium } } + modifier = { + factor = 0 + has_artifact = holy_foreskin + } + #Insert artifact event here + character_event = { id = MNM.9808 } #Holy Foreskin + } + + 20 = { + modifier = { + factor = 0 + NOT = { + religion_group = christian + } + } + modifier = { factor = 0 NOT = { has_character_modifier = relic_rumor_minor } } + modifier = { + factor = 0 + has_artifact = fingerbone_of_saint + } + #Insert artifact event here + character_event = { id = MNM.9809 } #Fingerbone of Saint + } + + 10 = { + modifier = { + factor = 0 + NOT = { + religion_group = christian + } + } + modifier = { factor = 0 NOT = { has_character_modifier = relic_rumor_minor } } + modifier = { + factor = 0 + has_artifact = chains_of_st_peter + } + #Insert artifact event here + character_event = { id = MNM.9842 } #Chains of St. Peter + } + + 10 = { + modifier = { + factor = 0 + NOT = { + religion_group = christian + } + } + modifier = { factor = 0 NOT = { has_character_modifier = relic_rumor_minor } } + modifier = { + factor = 0 + has_artifact = right_hand_st_demetrius + } + #Insert artifact event here + character_event = { id = MNM.9843 } #Right Hand of St. Demetrius + } + + 10 = { + modifier = { + factor = 0 + NOT = { + religion_group = christian + } + } + modifier = { factor = 0 NOT = { has_character_modifier = relic_rumor_minor } } + modifier = { + factor = 0 + has_artifact = veil_of_veronica + } + #Insert artifact event here + character_event = { id = MNM.9844 } #Veil of Veronica + } + + 10 = { + modifier = { + factor = 0 + NOT = { + religion_group = christian + } + } + modifier = { factor = 0 NOT = { has_character_modifier = relic_rumor_minor } } + modifier = { + factor = 0 + has_artifact = remains_of_st_cessianus + } + #Insert artifact event here + character_event = { id = MNM.9845 } #Remains of St. Cessianus + } + + 10 = { + modifier = { + factor = 0 + NOT = { + religion_group = christian + } + } + modifier = { factor = 0 NOT = { has_character_modifier = relic_rumor_minor } } + modifier = { + factor = 0 + has_artifact = weeping_statue + } + #Insert artifact event here + character_event = { id = MNM.9846 } #Weeping Statue + } + + 20 = { + modifier = { factor = 0 NOT = { religion_group = christian } } + modifier = { factor = 0 NOT = { has_character_modifier = relic_rumor_medium } } + modifier = { + factor = 0 + has_artifact = image_of_edessa + } + #Insert artifact event here + character_event = { id = MNM.9847 } #Image of Edessa + } + + #Jewish artifacts + 10 = { + modifier = { + factor = 0 + NOR = { + religion_group = jewish_group + religion_group = christian + religion_group = muslim + } + } + modifier = { factor = 0.5 NOT = { religion_group = jewish_group } } + modifier = { factor = 0 NOT = { has_character_modifier = relic_rumor_major } } + modifier = { + factor = 0 + has_artifact = staff_of_moses + } + #Insert artifact event here + narrative_event = { id = MNM.9810 } #Staff of Moses + } + 10 = { + modifier = { + factor = 0 + NOR = { + religion_group = jewish_group + religion_group = christian + religion_group = muslim + } + } + modifier = { factor = 0.5 NOT = { religion_group = jewish_group } } + modifier = { factor = 0 NOT = { has_character_modifier = relic_rumor_major } } + modifier = { + factor = 0 + has_artifact = davids_harp + } + #Insert artifact event here + narrative_event = { id = MNM.9811 } #David's Harp + } + 10 = { + modifier = { + factor = 0 + NOR = { + religion_group = jewish_group + religion_group = christian + religion_group = muslim + } + } + modifier = { factor = 0.5 NOT = { religion_group = jewish_group } } + modifier = { factor = 0 NOT = { has_character_modifier = relic_rumor_medium } } + modifier = { + factor = 0 + has_artifact = seal_of_solomon + } + #Insert artifact event here + character_event = { id = MNM.9814 } #Seal of Solomon + } + + 20 = { + modifier = { factor = 0 NOT = { religion_group = jewish_group } } + modifier = { factor = 0 NOT = { has_character_modifier = relic_rumor_medium } } + modifier = { + factor = 0 + has_artifact = tabernacle + } + #Insert artifact event here + character_event = { id = MNM.9853 } #The Tabernacle + } + + 10 = { + modifier = { + factor = 0 + NOT = { + religion_group = jewish_group + } + } + modifier = { factor = 0 NOT = { has_character_modifier = relic_rumor_minor } } + modifier = { + factor = 0 + has_artifact = davids_sling + } + #Insert artifact event here + character_event = { id = MNM.9854 } #King David's Sling + } + + #Muslim artifacts + 10 = { + modifier = { factor = 0 NOT = { religion_group = muslim } } + modifier = { factor = 0 NOT = { has_character_modifier = relic_rumor_major } } + modifier = { + factor = 0 + has_artifact = seal_of_mohammad + } + #Insert artifact event here + narrative_event = { id = MNM.9820 } #Seal of Mohammad + } + 10 = { + modifier = { factor = 0 NOT = { religion_group = muslim } } + modifier = { factor = 0 NOT = { has_character_modifier = relic_rumor_major } } + modifier = { + factor = 0 + has_artifact = holy_banner_of_mohammad + } + #Insert artifact event here + narrative_event = { id = MNM.9821 } #Holy Banner of Mohammad + } + 10 = { + modifier = { factor = 0 NOT = { religion_group = muslim } } + modifier = { factor = 0 NOT = { has_character_modifier = relic_rumor_major } } + modifier = { + factor = 0 + has_artifact = blessed_mantle + } + #Insert artifact event here + narrative_event = { id = MNM.9822 } #Blessed mantle + } + + 10 = { + modifier = { factor = 0 NOT = { religion_group = muslim } } + modifier = { factor = 0 NOT = { has_character_modifier = relic_rumor_medium } } + modifier = { + factor = 0 + has_artifact = sword_of_mohammad + } + #Insert artifact event here + character_event = { id = MNM.9823 } #Sword of Mohammad + } + 20 = { + modifier = { factor = 0 NOT = { religion_group = muslim } } + modifier = { factor = 0 NOT = { has_character_modifier = relic_rumor_medium } } + modifier = { + factor = 0 + has_artifact = letter_of_mohammad + } + #Insert artifact event here + character_event = { id = MNM.9824 } #Letter of Mohammad + } + + 10 = { + modifier = { factor = 0 NOT = { religion_group = muslim } } + modifier = { factor = 0 NOT = { has_character_modifier = relic_rumor_minor } } + modifier = { + factor = 0 + has_artifact = mohammads_beard + } + #Insert artifact event here + character_event = { id = MNM.9825 } #Mohammad's Beard + } + 20 = { + modifier = { factor = 0 NOT = { religion_group = muslim } } + modifier = { factor = 0 NOT = { has_character_modifier = relic_rumor_minor } } + modifier = { + factor = 0 + has_artifact = water_of_blessed_mantle + } + #Insert artifact event here + character_event = { id = MNM.9826 } #Water of the Blessed Mantle + } + + 20 = { + modifier = { factor = 0 NOT = { religion_group = muslim } } + modifier = { factor = 0 NOT = { has_character_modifier = relic_rumor_medium } } + modifier = { + factor = 0 + has_artifact = cloak_of_mohammad + } + #Insert artifact event here + character_event = { id = MNM.9848 } #Cloak of Mohammad + } + + 10 = { + modifier = { factor = 0 NOT = { religion_group = muslim } } + modifier = { factor = 0 NOT = { has_character_modifier = relic_rumor_minor } } + modifier = { + factor = 0 + has_artifact = tooth_of_mohammad + } + #Insert artifact event here + character_event = { id = MNM.9849 } #Tooth of Mohammad + } + + 10 = { + modifier = { factor = 0 NOT = { religion_group = muslim } } + modifier = { factor = 0 NOT = { has_character_modifier = relic_rumor_minor } } + modifier = { + factor = 0 + has_artifact = mohammads_bowl + } + #Insert artifact event here + character_event = { id = MNM.9850 } #Mohammad's Bowl + } + + 20 = { + modifier = { factor = 0 NOT = { religion_group = muslim } } + modifier = { factor = 0 NOT = { has_character_modifier = relic_rumor_medium } } + modifier = { + factor = 0 + has_artifact = blessed_sandals + } + #Insert artifact event here + character_event = { id = MNM.9851 } #Blessed Sandals + } + + #Zoroastrian artifacts + 10 = { + modifier = { factor = 0 NOT = { religion_group = zoroastrian_group } } + modifier = { factor = 0 NOT = { has_character_modifier = relic_rumor_major } } + modifier = { + factor = 0 + has_artifact = cup_of_jamshid + } + #Insert artifact event here + narrative_event = { id = MNM.9830 } #Cup of Jamshid + } + 10 = { + modifier = { + factor = 0 + NOR = { + religion_group = zoroastrian_group + culture_group = iranian + } + } + modifier = { factor = 0 NOT = { has_character_modifier = relic_rumor_major } } + modifier = { + factor = 0 + has_artifact = babr_e_bayan + } + #Insert artifact event here + narrative_event = { id = MNM.9831 } #Babr-e-Bayan + } + + 10 = { + modifier = { + factor = 0 + NOR = { + religion_group = zoroastrian_group + culture_group = iranian + has_landed_title = e_persia + has_landed_title = k_persia + } + } + modifier = { factor = 0 NOT = { has_character_modifier = relic_rumor_medium } } + modifier = { + factor = 0 + has_artifact = derafsh_kaviani + } + #Insert artifact event here + character_event = { id = MNM.9832 } #Derafsh Kaviani + } + + 10 = { + modifier = { factor = 0 NOT = { religion_group = zoroastrian_group } } + modifier = { factor = 0 NOT = { has_character_modifier = relic_rumor_minor } } + modifier = { + factor = 0 + has_artifact = haoma_sapling + } + #Insert artifact event here + character_event = { id = MNM.9833 } #Haoma Sapling + } + 20 = { + modifier = { factor = 0 NOT = { religion_group = zoroastrian_group } } + modifier = { factor = 0 NOT = { has_character_modifier = relic_rumor_minor } } + modifier = { + factor = 0 + has_artifact = keshmar_cypress_branch + } + #Insert artifact event here + character_event = { id = MNM.9834 } #Branch of the Keshmar Cypress + } + + 20 = { + modifier = { + factor = 0 + NOR = { + religion_group = zoroastrian_group + culture_group = iranian + } + } + modifier = { factor = 0 NOT = { has_character_modifier = relic_rumor_medium } } + modifier = { + factor = 0 + has_artifact = cyrus_cylinder + } + #Insert artifact event here + character_event = { id = MNM.9852 } #Cyrus Cylinder + } + + #Dharmic artifacts + 10 = { + modifier = { + factor = 0 + NOT = { + religion_group = indian_group + } + } + modifier = { + factor = 0 + NOT = { has_character_modifier = relic_rumor_major } + } + modifier = { + factor = 0 + has_artifact = buddhas_tooth + } + #Insert artifact event here + narrative_event = { id = MNM.9200 } #Buddhas Tooth + } + 20 = { + modifier = { + factor = 0 + NOT = { + religion_group = indian_group + } + } + modifier = { + factor = 0 + NOT = { has_character_modifier = relic_rumor_medium } + } + modifier = { + factor = 0 + has_artifact = elaborate_danda + } + #Insert artifact event here + character_event = { id = MNM.9201 } #Special Danda + } + 10 = { + modifier = { + factor = 0 + NOT = { + religion_group = indian_group + } + } + modifier = { + factor = 0 + NOT = { has_character_modifier = relic_rumor_major } + } + modifier = { + factor = 0 + has_artifact = mountain_of_light_diamond + } + #Insert artifact event here + narrative_event = { id = MNM.9202 } #Special Diamond (Koh - i - Noor?) + } + 10 = { + modifier = { + factor = 0 + NOT = { + religion_group = indian_group + } + } + modifier = { + factor = 0.5 + NOT = { + religion = buddhist + } + } + modifier = { + factor = 0 + NOT = { has_character_modifier = relic_rumor_minor } + } + modifier = { + factor = 0 + has_artifact = sarira + } + #Insert artifact event here + character_event = { id = MNM.9203 } #Looking for a Sarira + } + 20 = { + modifier = { + factor = 0 + NOT = { + religion_group = indian_group + } + } + modifier = { + factor = 0.5 + NOT = { + religion = buddhist + } + } + modifier = { + factor = 0 + NOT = { has_character_modifier = relic_rumor_medium } + } + modifier = { + factor = 0 + has_artifact = sariraka_actual_body_part + } + #Insert artifact event here + character_event = { id = MNM.9204 } #Looking for a Body part of Buddha + } + + + ##Pagan artifacts## + #Germanic artifacts + 20 = { + modifier = { + factor = 0 + NOR = { + religion = norse_pagan + religion = norse_pagan_reformed + } + } + modifier = { factor = 0 NOT = { has_character_modifier = relic_rumor_medium } } + modifier = { + factor = 0 + has_artifact = gjallarhorn + } + #Insert artifact event here + character_event = { id = MNM.9600 } #Gjallarhorn + } + + 10 = { + modifier = { + factor = 0 + NOR = { + religion = norse_pagan + religion = norse_pagan_reformed + } + } + modifier = { factor = 0 NOT = { has_character_modifier = relic_rumor_major } } + modifier = { + factor = 0 + has_artifact = andvaranaut + } + #Insert artifact event here + narrative_event = { id = MNM.9601 } #Andvaranaut/Andvari's Gift + } + + 10 = { + modifier = { + factor = 0 + NOR = { + religion = norse_pagan + religion = norse_pagan_reformed + } + } + modifier = { factor = 0 NOT = { has_character_modifier = relic_rumor_major } } + modifier = { + factor = 0 + has_artifact = mjolnir + } + #Insert artifact event here + narrative_event = { id = MNM.9602 } #Mjolnir + } + + #West African artifacts + 10 = { + modifier = { + factor = 0 + NOR = { + religion = west_african_pagan + religion = west_african_pagan_reformed + } + } + modifier = { factor = 0 NOT = { has_character_modifier = relic_rumor_major } } + modifier = { + factor = 0 + has_artifact = fetish_of_souls + } + #Insert artifact event here + narrative_event = { id = MNM.9603 } #Fetish of Souls + } + + #Finnish artifacts + 10 = { + modifier = { + factor = 0 + NOR = { + religion = finnish_pagan + religion = finnish_pagan_reformed + } + } + modifier = { factor = 0 NOT = { has_character_modifier = relic_rumor_major } } + modifier = { + factor = 0 + has_artifact = sampo + } + #Insert artifact event here + narrative_event = { id = MNM.9604 } #Sampo/Mill of Fortune + } + + #Slavic artifacts + 10 = { + modifier = { + factor = 0 + NOR = { + religion = slavic_pagan + religion = slavic_pagan_reformed + } + } + modifier = { factor = 0 NOT = { has_character_modifier = relic_rumor_major } } + modifier = { + factor = 0 + has_artifact = axe_of_perun + } + #Insert artifact event here + narrative_event = { id = MNM.9605 } #Axe of Perun + } + + #Romuvan artifacts + 10 = { + modifier = { + factor = 0 + NOR = { + religion = baltic_pagan + religion = baltic_pagan_reformed + } + } + modifier = { factor = 0 NOT = { has_character_modifier = relic_rumor_major } } + modifier = { + factor = 0 + has_artifact = axe_of_perkunas + } + #Insert artifact event here + narrative_event = { id = MNM.9606 } #Axe of Perkunas + } + + #Tengri artifacts + 10 = { + modifier = { + factor = 0 + NOR = { + religion = tengri_pagan + religion = tengri_pagan_reformed + } + } + modifier = { factor = 0 NOT = { has_character_modifier = relic_rumor_major } } + modifier = { + factor = 0 + has_artifact = yada_tashy + } + #Insert artifact event here + narrative_event = { id = MNM.9607 } #Yada Tashy/Rain Stone + } + + } + } + } +} + +#If the searcher can no longer fulfill their duties +character_event = { + id = MNM.9009 + picture = "GFX_evt_recieve_letter" + border = GFX_event_normal_frame_religion + + desc = { + trigger = { + NOR = { + has_character_modifier = relic_rumor_minor + has_character_modifier = relic_rumor_medium + has_character_modifier = relic_rumor_major + } + } + text = EVTDESC_MNM_9009_A + } + desc = { + trigger = { + OR = { + has_character_modifier = relic_rumor_minor + has_character_modifier = relic_rumor_medium + has_character_modifier = relic_rumor_major + } + } + text = EVTDESC_MNM_9009_B + } + + is_triggered_only = yes + + has_dlc = "Mystics" + + option = { + name = ALAS + + if = { + limit = { + NOR = { + has_character_modifier = relic_rumor_minor + has_character_modifier = relic_rumor_medium + has_character_modifier = relic_rumor_major + } + } + clr_artifact_flagsmodifiers_effect = yes + } + if = { + limit = { + OR = { + has_character_modifier = relic_rumor_minor + has_character_modifier = relic_rumor_medium + has_character_modifier = relic_rumor_major + } + } + clr_artifact_searcher_effect = yes + } + } +} + +#Asking for help, diplomacy +character_event = { + id = MNM.9020 + desc = EVTDESC_MNM_9020 + picture = "GFX_evt_state_diplomacy" + border = GFX_event_normal_frame_diplomacy + + is_triggered_only = yes + has_dlc = "Mystics" + + option = { + name = EVTOPTA_MNM_9020 + custom_tooltip = { text = EVTOPTA_MNM_9020_TT } + add_character_modifier = { + name = treasure_hunting_diplomats + years = 5 + } + hidden_effect = { change_variable = { which = relic_score value = 5 } } + } + + option = { + name = EVTOPTB_MNM_9020 + custom_tooltip = { text = EVTOPTB_MNM_9020_TT } + hidden_effect = { change_variable = { which = relic_score value = -1 } } + } +} + +#Asking for help, martial +character_event = { + id = MNM.9021 + desc = EVTDESC_MNM_9021 + picture = "GFX_evt_bandits" + border = GFX_event_normal_frame_war + + is_triggered_only = yes + has_dlc = "Mystics" + + option = { + name = EVTOPTA_MNM_9021 + custom_tooltip = { text = EVTOPTA_MNM_9020_TT } + add_character_modifier = { + name = treasure_hunting_soldiers + years = 5 + } + hidden_effect = { change_variable = { which = relic_score value = 5 } } + } + + option = { + name = EVTOPTB_MNM_9020 + custom_tooltip = { text = EVTOPTB_MNM_9020_TT } + hidden_effect = { change_variable = { which = relic_score value = -1 } } + } +} + +#Asking for help, stewardship +character_event = { + id = MNM.9022 + desc = EVTDESC_MNM_9022 + picture = GFX_evt_merchant_caravan + border = GFX_event_normal_frame_economy + + is_triggered_only = yes + has_dlc = "Mystics" + + option = { + name = EVTOPTA_MNM_9022 + custom_tooltip = { text = EVTOPTA_MNM_9020_TT } + add_character_modifier = { + name = treasure_hunting_stewards + years = 5 + } + hidden_effect = { change_variable = { which = relic_score value = 5 } } + } + + option = { + name = EVTOPTB_MNM_9022 + custom_tooltip = { text = EVTOPTB_MNM_9020_TT } + hidden_effect = { change_variable = { which = relic_score value = -1 } } + } +} + +#Asking for help, intrigue +character_event = { + id = MNM.9023 + desc = EVTDESC_MNM_9023 + picture = GFX_evt_shady_meeting + border = GFX_event_normal_frame_intrigue + + is_triggered_only = yes + has_dlc = "Mystics" + + immediate = { #For loc + random_independent_ruler = { + limit = { is_within_diplo_range = ROOT NOT = { character = ROOT } } + save_event_target_as = spy_target + random_vassal = { + limit = { higher_tier_than = BARON NOT = { character = ROOT } } + save_event_target_as = spy_target + } + event_target:spy_target = { primary_title = { save_event_target_as = spy_title } } + } + } + + option = { + name = EVTOPTA_MNM_9023 + custom_tooltip = { text = EVTOPTA_MNM_9020_TT } + add_character_modifier = { + name = treasure_hunting_spies + years = 5 + } + hidden_effect = { change_variable = { which = relic_score value = 5 } } + } + + option = { + name = EVTOPTB_MNM_9020 + custom_tooltip = { text = EVTOPTB_MNM_9020_TT } + hidden_effect = { change_variable = { which = relic_score value = -1 } } + } +} + +#Asking for help, learning +character_event = { + id = MNM.9024 + desc = EVTDESC_MNM_9024 + picture = GFX_evt_gathering_of_minds + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + has_dlc = "Mystics" + + immediate = { #for loc + primary_title = { save_event_target_as = primary_title } + } + + option = { + name = EVTOPTA_MNM_9024 + custom_tooltip = { text = EVTOPTA_MNM_9020_TT } + add_character_modifier = { + name = treasure_hunting_scholars + years = 5 + } + hidden_effect = { change_variable = { which = relic_score value = 5 } } + } + + option = { + name = EVTOPTB_MNM_9020 + custom_tooltip = { text = EVTOPTB_MNM_9020_TT } + hidden_effect = { change_variable = { which = relic_score value = -1 } } + } +} + + +#Ask for money +character_event = { + id = MNM.9025 + desc = EVTDESC_MNM_9025 + picture = GFX_evt_emissary + border = GFX_event_normal_frame_economy + + is_triggered_only = yes + has_dlc = "Mystics" + + option = { + name = EVTOPTA_MNM_9025 + custom_tooltip = { text = EVTOPTA_MNM_9020_TT } + scaled_wealth = { value = -0.5 min = -30 } + hidden_effect = { + random_list = { + 60 = { change_variable = { which = relic_score value = 3 } } + 20 = { #Nothing happens, they pocket money + modifier = { factor = 0 event_target:relic_hunter = { NOR = { trait = greedy trait = deceitful } } } + } + 20 = { #You discover that they pocketed the money + modifier = { factor = 0 event_target:relic_hunter = { NOR = { trait = greedy trait = deceitful } } } + modifier = { factor = 0 event_target:relic_hunter = { ai = no } } + character_event = { id = MNM.9026 days = 14 random = 14 } + } + } + } + } + + option = { + name = EVTOPTB_MNM_9024 + custom_tooltip = { text = EVTOPTB_MNM_9025_TT } + } +} + +#Stealing discovered +character_event = { + id = MNM.9026 + desc = EVTDESC_MNM_9026 + picture = GFX_evt_whispers + border = GFX_event_normal_frame_economy + + is_triggered_only = yes + has_dlc = "Mystics" + + option = { + name = EVTOPTA_MNM_9026 + custom_tooltip = { text = EVTOPTA_MNM_9026_TT } + + opinion = { + who = event_target:relic_hunter + modifier = opinion_thief + years = 10 + } + } + + option = { + name = EVTOPTB_MNM_9026 + custom_tooltip = { text = EVTOPTB_MNM_9026_TT } + hidden_effect = { change_variable = { which = relic_score value = 3 } } + } +} + +#Messed up big +character_event = { + id = MNM.9027 + desc = EVTDESC_MNM_9027 + picture = GFX_evt_quarrel + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + has_dlc = "Mystics" + + option = { + name = EVTOPTA_MNM_9027 + custom_tooltip = { text = EVTOPTA_MNM_9027_TT } + opinion = { + who = event_target:relic_hunter + modifier = opinion_useless_moron + years = 10 + } + hidden_effect = { change_variable = { which = relic_score value = -5 } } + } +} + +#Upgrade to bigger rumor +character_event = { + id = MNM.9028 + desc = EVTDESC_MNM_9028 + picture = GFX_evt_treasure_chamber + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + has_dlc = "Mystics" + + option = { + name = EVTOPTA_MNM_9028 + custom_tooltip = { text = EVTOPTA_MNM_9028_TT } + + if = { + limit = { has_character_modifier = relic_rumor_medium } + remove_character_modifier = relic_rumor_medium + add_character_modifier = { + name = relic_rumor_major + years = 15 + } + } + if = { + limit = { has_character_modifier = relic_rumor_minor } + remove_character_modifier = relic_rumor_minor + add_character_modifier = { + name = relic_rumor_medium + years = 10 + } + } + + hidden_effect = { multiply_variable = { which = relic_score value = 0.5 } } + } + option = { + name = EVTOPTB_MNM_9028 + } +} + +#Terrible accident +character_event = { + id = MNM.9029 + desc = EVTDESC_MNM_9029 + picture = GFX_evt_burning_house + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + has_dlc = "Mystics" + + option = { + name = EVTOPTA_MNM_9029 + + event_target:relic_hunter = { + random_accident_death_effect = yes + } + } +} + +### Return Event ### + +##Generic## + +#Famous Head +#Quality 1 +character_event = { + id = MNM.9835 + desc = EVTDESC_MNM_9835 + picture = GFX_evt_relic_box + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + has_dlc = "Mystics" + + option = { #it's their duty + name = EVTOPT_MINOR_ARTIFACT_DUTY + prestige = 10 + reverse_opinion = { + who = FROM + modifier = opinion_disappointed + years = 10 + } + add_artifact = famous_head + new_artifact = { + set_creation_date = 1.1.1 + } + } + + option = { #monetary reward + name = EVTOPT_MINOR_ARTIFACT_MONEY + + reverse_opinion = { + who = FROM + modifier = opinion_was_rewarded + years = 5 + } + opinion = { + who = FROM + modifier = opinion_found_minor_artifact + years = 5 + } + transfer_scaled_wealth = { + to = FROM + value = 0.25 + min = 20 + } + + add_artifact = famous_head + new_artifact = { + set_creation_date = 1.1.1 + } + } + + option = { #reward them with a favor + name = EVTOPT_MINOR_ARTIFACT_FAVOR + + reverse_opinion = { + who = FROM + modifier = opinion_was_rewarded + years = 5 + } + opinion = { + who = FROM + modifier = opinion_found_minor_artifact + years = 5 + } + reverse_add_favor = FROM + add_artifact = famous_head + new_artifact = { + set_creation_date = 1.1.1 + } + } + + option = { #praise them (prestige reward) + trigger = { + diplomacy = 15 + } + name = EVTOPT_MINOR_ARTIFACT_PRESTIGE + + reverse_opinion = { + who = FROM + modifier = opinion_was_praised + years = 5 + } + opinion = { + who = FROM + modifier = opinion_found_minor_artifact + years = 5 + } + FROM = { prestige = 25 } + random = { + chance = 20 + add_friend = FROM + } + add_artifact = famous_head + new_artifact = { + set_creation_date = 1.1.1 + } + } + after = { clr_artifact_flagsmodifiers_effect = yes } +} + +#Famous Tongue +#Quality 1 +character_event = { + id = MNM.9836 + desc = EVTDESC_MNM_9836 + picture = GFX_evt_relic_box + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + has_dlc = "Mystics" + + option = { #it's their duty + name = EVTOPT_MINOR_ARTIFACT_DUTY + prestige = 10 + reverse_opinion = { + who = FROM + modifier = opinion_disappointed + years = 10 + } + add_artifact = famous_tongue + new_artifact = { + set_creation_date = 1.1.1 + } + } + + option = { #monetary reward + name = EVTOPT_MINOR_ARTIFACT_MONEY + + reverse_opinion = { + who = FROM + modifier = opinion_was_rewarded + years = 5 + } + opinion = { + who = FROM + modifier = opinion_found_minor_artifact + years = 5 + } + transfer_scaled_wealth = { + to = FROM + value = 0.25 + min = 20 + } + + add_artifact = famous_tongue + new_artifact = { + set_creation_date = 1.1.1 + } + } + + option = { #reward them with a favor + name = EVTOPT_MINOR_ARTIFACT_FAVOR + + reverse_opinion = { + who = FROM + modifier = opinion_was_rewarded + years = 5 + } + opinion = { + who = FROM + modifier = opinion_found_minor_artifact + years = 5 + } + reverse_add_favor = FROM + add_artifact = famous_tongue + new_artifact = { + set_creation_date = 1.1.1 + } + } + + option = { #praise them (prestige reward) + trigger = { + diplomacy = 15 + } + name = EVTOPT_MINOR_ARTIFACT_PRESTIGE + + reverse_opinion = { + who = FROM + modifier = opinion_was_praised + years = 5 + } + opinion = { + who = FROM + modifier = opinion_found_minor_artifact + years = 5 + } + FROM = { prestige = 25 } + random = { + chance = 20 + add_friend = FROM + } + add_artifact = famous_tongue + new_artifact = { + set_creation_date = 1.1.1 + } + } + after = { clr_artifact_flagsmodifiers_effect = yes } +} + +#Infamous Tongue +#Quality 1 +character_event = { + id = MNM.9837 + desc = EVTDESC_MNM_9837 + picture = GFX_evt_relic_box + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + has_dlc = "Mystics" + + option = { #it's their duty + name = EVTOPT_MINOR_ARTIFACT_DUTY + prestige = 10 + reverse_opinion = { + who = FROM + modifier = opinion_disappointed + years = 10 + } + add_artifact = infamous_tongue + new_artifact = { + set_creation_date = 1.1.1 + } + } + + option = { #monetary reward + name = EVTOPT_MINOR_ARTIFACT_MONEY + + reverse_opinion = { + who = FROM + modifier = opinion_was_rewarded + years = 5 + } + opinion = { + who = FROM + modifier = opinion_found_minor_artifact + years = 5 + } + transfer_scaled_wealth = { + to = FROM + value = 0.25 + min = 20 + } + + add_artifact = infamous_tongue + new_artifact = { + set_creation_date = 1.1.1 + } + } + + option = { #reward them with a favor + name = EVTOPT_MINOR_ARTIFACT_FAVOR + + reverse_opinion = { + who = FROM + modifier = opinion_was_rewarded + years = 5 + } + opinion = { + who = FROM + modifier = opinion_found_minor_artifact + years = 5 + } + reverse_add_favor = FROM + add_artifact = infamous_tongue + new_artifact = { + set_creation_date = 1.1.1 + } + } + + option = { #praise them (prestige reward) + trigger = { + diplomacy = 15 + } + name = EVTOPT_MINOR_ARTIFACT_PRESTIGE + + reverse_opinion = { + who = FROM + modifier = opinion_was_praised + years = 5 + } + opinion = { + who = FROM + modifier = opinion_found_minor_artifact + years = 5 + } + FROM = { prestige = 25 } + random = { + chance = 20 + add_friend = FROM + } + add_artifact = infamous_tongue + new_artifact = { + set_creation_date = 1.1.1 + } + } + after = { clr_artifact_flagsmodifiers_effect = yes } +} + +#Famous Hand +#Quality 1 +character_event = { + id = MNM.9838 + desc = EVTDESC_MNM_9838 + picture = GFX_evt_relic_box + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + has_dlc = "Mystics" + + option = { #it's their duty + name = EVTOPT_MINOR_ARTIFACT_DUTY + prestige = 10 + reverse_opinion = { + who = FROM + modifier = opinion_disappointed + years = 10 + } + add_artifact = famous_hand + new_artifact = { + set_creation_date = 1.1.1 + } + } + + option = { #monetary reward + name = EVTOPT_MINOR_ARTIFACT_MONEY + + reverse_opinion = { + who = FROM + modifier = opinion_was_rewarded + years = 5 + } + opinion = { + who = FROM + modifier = opinion_found_minor_artifact + years = 5 + } + transfer_scaled_wealth = { + to = FROM + value = 0.25 + min = 20 + } + + add_artifact = famous_hand + new_artifact = { + set_creation_date = 1.1.1 + } + } + + option = { #reward them with a favor + name = EVTOPT_MINOR_ARTIFACT_FAVOR + + reverse_opinion = { + who = FROM + modifier = opinion_was_rewarded + years = 5 + } + opinion = { + who = FROM + modifier = opinion_found_minor_artifact + years = 5 + } + reverse_add_favor = FROM + add_artifact = famous_hand + new_artifact = { + set_creation_date = 1.1.1 + } + } + + option = { #praise them (prestige reward) + trigger = { + diplomacy = 15 + } + name = EVTOPT_MINOR_ARTIFACT_PRESTIGE + + reverse_opinion = { + who = FROM + modifier = opinion_was_praised + years = 5 + } + opinion = { + who = FROM + modifier = opinion_found_minor_artifact + years = 5 + } + FROM = { prestige = 25 } + random = { + chance = 20 + add_friend = FROM + } + add_artifact = famous_hand + new_artifact = { + set_creation_date = 1.1.1 + } + } + after = { clr_artifact_flagsmodifiers_effect = yes } +} + +#Famous Arm +#Quality 1 +character_event = { + id = MNM.9839 + desc = EVTDESC_MNM_9839 + picture = GFX_evt_relic_box + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + has_dlc = "Mystics" + + option = { #it's their duty + name = EVTOPT_MINOR_ARTIFACT_DUTY + prestige = 10 + reverse_opinion = { + who = FROM + modifier = opinion_disappointed + years = 10 + } + add_artifact = famous_arm + new_artifact = { + set_creation_date = 1.1.1 + } + } + + option = { #monetary reward + name = EVTOPT_MINOR_ARTIFACT_MONEY + + reverse_opinion = { + who = FROM + modifier = opinion_was_rewarded + years = 5 + } + opinion = { + who = FROM + modifier = opinion_found_minor_artifact + years = 5 + } + transfer_scaled_wealth = { + to = FROM + value = 0.25 + min = 20 + } + + add_artifact = famous_arm + new_artifact = { + set_creation_date = 1.1.1 + } + } + + option = { #reward them with a favor + name = EVTOPT_MINOR_ARTIFACT_FAVOR + + reverse_opinion = { + who = FROM + modifier = opinion_was_rewarded + years = 5 + } + opinion = { + who = FROM + modifier = opinion_found_minor_artifact + years = 5 + } + reverse_add_favor = FROM + add_artifact = famous_arm + new_artifact = { + set_creation_date = 1.1.1 + } + } + + option = { #praise them (prestige reward) + trigger = { + diplomacy = 15 + } + name = EVTOPT_MINOR_ARTIFACT_PRESTIGE + + reverse_opinion = { + who = FROM + modifier = opinion_was_praised + years = 5 + } + opinion = { + who = FROM + modifier = opinion_found_minor_artifact + years = 5 + } + FROM = { prestige = 25 } + random = { + chance = 20 + add_friend = FROM + } + add_artifact = famous_arm + new_artifact = { + set_creation_date = 1.1.1 + } + } + after = { clr_artifact_flagsmodifiers_effect = yes } +} + +#Famous Foot +#Quality 1 +character_event = { + id = MNM.9840 + desc = EVTDESC_MNM_9840 + picture = GFX_evt_relic_box + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + has_dlc = "Mystics" + + option = { #it's their duty + name = EVTOPT_MINOR_ARTIFACT_DUTY + prestige = 10 + reverse_opinion = { + who = FROM + modifier = opinion_disappointed + years = 10 + } + add_artifact = famous_foot + new_artifact = { + set_creation_date = 1.1.1 + } + } + + option = { #monetary reward + name = EVTOPT_MINOR_ARTIFACT_MONEY + + reverse_opinion = { + who = FROM + modifier = opinion_was_rewarded + years = 5 + } + opinion = { + who = FROM + modifier = opinion_found_minor_artifact + years = 5 + } + transfer_scaled_wealth = { + to = FROM + value = 0.25 + min = 20 + } + + add_artifact = famous_foot + new_artifact = { + set_creation_date = 1.1.1 + } + } + + option = { #reward them with a favor + name = EVTOPT_MINOR_ARTIFACT_FAVOR + + reverse_opinion = { + who = FROM + modifier = opinion_was_rewarded + years = 5 + } + opinion = { + who = FROM + modifier = opinion_found_minor_artifact + years = 5 + } + reverse_add_favor = FROM + add_artifact = famous_foot + new_artifact = { + set_creation_date = 1.1.1 + } + } + + option = { #praise them (prestige reward) + trigger = { + diplomacy = 15 + } + name = EVTOPT_MINOR_ARTIFACT_PRESTIGE + + reverse_opinion = { + who = FROM + modifier = opinion_was_praised + years = 5 + } + opinion = { + who = FROM + modifier = opinion_found_minor_artifact + years = 5 + } + FROM = { prestige = 25 } + random = { + chance = 20 + add_friend = FROM + } + add_artifact = famous_foot + new_artifact = { + set_creation_date = 1.1.1 + } + } + after = { clr_artifact_flagsmodifiers_effect = yes } +} + +#Famous Ancient Weapon +#Quality 1 +character_event = { + id = MNM.9841 + desc = EVTDESC_MNM_9841 + picture = GFX_evt_relic_box + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + has_dlc = "Mystics" + + option = { #it's their duty + name = EVTOPT_MINOR_ARTIFACT_DUTY + prestige = 10 + reverse_opinion = { + who = FROM + modifier = opinion_disappointed + years = 10 + } + add_artifact = famous_ancient_weapon + new_artifact = { + set_creation_date = 1.1.1 + } + } + + option = { #monetary reward + name = EVTOPT_MINOR_ARTIFACT_MONEY + + reverse_opinion = { + who = FROM + modifier = opinion_was_rewarded + years = 5 + } + opinion = { + who = FROM + modifier = opinion_found_minor_artifact + years = 5 + } + transfer_scaled_wealth = { + to = FROM + value = 0.25 + min = 20 + } + + add_artifact = famous_ancient_weapon + new_artifact = { + set_creation_date = 1.1.1 + } + } + + option = { #reward them with a favor + name = EVTOPT_MINOR_ARTIFACT_FAVOR + + reverse_opinion = { + who = FROM + modifier = opinion_was_rewarded + years = 5 + } + opinion = { + who = FROM + modifier = opinion_found_minor_artifact + years = 5 + } + reverse_add_favor = FROM + add_artifact = famous_ancient_weapon + new_artifact = { + set_creation_date = 1.1.1 + } + } + + option = { #praise them (prestige reward) + trigger = { + diplomacy = 15 + } + name = EVTOPT_MINOR_ARTIFACT_PRESTIGE + + reverse_opinion = { + who = FROM + modifier = opinion_was_praised + years = 5 + } + opinion = { + who = FROM + modifier = opinion_found_minor_artifact + years = 5 + } + FROM = { prestige = 25 } + random = { + chance = 20 + add_friend = FROM + } + add_artifact = famous_ancient_weapon + new_artifact = { + set_creation_date = 1.1.1 + } + } + after = { clr_artifact_flagsmodifiers_effect = yes } +} + +##Christian## + +#Bones of St. Peter +#Quality 5 +narrative_event = { + id = MNM.9804 + title = EVTNAME_MNM_9804 + desc = EVTDESC_MNM_9804 + picture = GFX_evt_relic_box + border = GFX_event_narrative_frame_religion + + is_triggered_only = yes + + has_dlc = "Mystics" + + option = { #it's their duty + name = EVTOPT_MAJOR_ARTIFACT_DUTY + prestige = 10 + reverse_opinion = { + who = FROM + modifier = opinion_extremely_disappointed + years = 20 + } + add_artifact = bones_of_st_peter + new_artifact = { + set_creation_date = 1.1.1 + } + } + + option = { #monetary reward + name = EVTOPT_MAJOR_ARTIFACT_MONEY + + reverse_opinion = { + who = FROM + modifier = opinion_was_rewarded + years = 15 + } + opinion = { + who = FROM + modifier = opinion_found_major_artifact + years = 5 + } + transfer_scaled_wealth = { + to = FROM + value = 1 + min = 50 + } + + add_artifact = bones_of_st_peter + new_artifact = { + set_creation_date = 1.1.1 + } + } + + option = { #reward them with a favor + name = EVTOPT_MAJOR_ARTIFACT_FAVOR + + reverse_opinion = { + who = FROM + modifier = opinion_was_rewarded + years = 15 + } + opinion = { + who = FROM + modifier = opinion_found_major_artifact + years = 5 + } + reverse_add_favor = FROM + add_artifact = bones_of_st_peter + new_artifact = { + set_creation_date = 1.1.1 + } + } + + option = { #praise them (prestige reward) + trigger = { + diplomacy = 15 + } + name = EVTOPT_MAJOR_ARTIFACT_PRESTIGE + + reverse_opinion = { + who = FROM + modifier = opinion_was_praised + years = 15 + } + opinion = { + who = FROM + modifier = opinion_found_major_artifact + years = 5 + } + FROM = { prestige = 100 } + random = { + chance = 20 + add_friend = FROM + } + add_artifact = bones_of_st_peter + new_artifact = { + set_creation_date = 1.1.1 + } + } + after = { clr_artifact_flagsmodifiers_effect = yes } +} + +#Seamless Robe of Jesus +#Quality 4 +character_event = { + id = MNM.9805 + desc = EVTDESC_MNM_9805 + picture = GFX_evt_relic_box + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + has_dlc = "Mystics" + + option = { #it's their duty + name = EVTOPT_MEDIUM_ARTIFACT_DUTY + prestige = 10 + reverse_opinion = { + who = FROM + modifier = opinion_very_disappointed + years = 15 + } + add_artifact = seamless_robe_of_jesus + new_artifact = { + set_creation_date = 1.1.1 + } + } + + option = { #monetary reward + name = EVTOPT_MEDIUM_ARTIFACT_MONEY + + reverse_opinion = { + who = FROM + modifier = opinion_was_rewarded + years = 10 + } + opinion = { + who = FROM + modifier = opinion_found_medium_artifact + years = 5 + } + transfer_scaled_wealth = { + to = FROM + value = 0.5 + min = 35 + } + + add_artifact = seamless_robe_of_jesus + new_artifact = { + set_creation_date = 1.1.1 + } + } + + option = { #reward them with a favor + name = EVTOPT_MEDIUM_ARTIFACT_FAVOR + + reverse_opinion = { + who = FROM + modifier = opinion_was_rewarded + years = 10 + } + opinion = { + who = FROM + modifier = opinion_found_medium_artifact + years = 5 + } + reverse_add_favor = FROM + add_artifact = seamless_robe_of_jesus + new_artifact = { + set_creation_date = 1.1.1 + } + } + + option = { #praise them (prestige reward) + trigger = { + diplomacy = 15 + } + name = EVTOPT_MEDIUM_ARTIFACT_PRESTIGE + + reverse_opinion = { + who = FROM + modifier = opinion_was_praised + years = 10 + } + opinion = { + who = FROM + modifier = opinion_found_medium_artifact + years = 5 + } + FROM = { prestige = 50 } + random = { + chance = 20 + add_friend = FROM + } + add_artifact = seamless_robe_of_jesus + new_artifact = { + set_creation_date = 1.1.1 + } + } + after = { clr_artifact_flagsmodifiers_effect = yes } +} + +#Crown of Thorns +#Quality 4 +character_event = { + id = MNM.9806 + desc = EVTDESC_MNM_9806 + picture = GFX_evt_relic_box + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + has_dlc = "Mystics" + + option = { #it's their duty + name = EVTOPT_MEDIUM_ARTIFACT_DUTY + prestige = 10 + reverse_opinion = { + who = FROM + modifier = opinion_very_disappointed + years = 15 + } + add_artifact = crown_of_thorns + new_artifact = { + set_creation_date = 1.1.1 + } + } + + option = { #monetary reward + name = EVTOPT_MEDIUM_ARTIFACT_MONEY + + reverse_opinion = { + who = FROM + modifier = opinion_was_rewarded + years = 10 + } + opinion = { + who = FROM + modifier = opinion_found_medium_artifact + years = 5 + } + transfer_scaled_wealth = { + to = FROM + value = 0.5 + min = 35 + } + + add_artifact = crown_of_thorns + new_artifact = { + set_creation_date = 1.1.1 + } + } + + option = { #reward them with a favor + name = EVTOPT_MEDIUM_ARTIFACT_FAVOR + + reverse_opinion = { + who = FROM + modifier = opinion_was_rewarded + years = 10 + } + opinion = { + who = FROM + modifier = opinion_found_medium_artifact + years = 5 + } + reverse_add_favor = FROM + add_artifact = crown_of_thorns + new_artifact = { + set_creation_date = 1.1.1 + } + } + + option = { #praise them (prestige reward) + trigger = { + diplomacy = 15 + } + name = EVTOPT_MEDIUM_ARTIFACT_PRESTIGE + + reverse_opinion = { + who = FROM + modifier = opinion_was_praised + years = 10 + } + opinion = { + who = FROM + modifier = opinion_found_medium_artifact + years = 5 + } + FROM = { prestige = 50 } + random = { + chance = 20 + add_friend = FROM + } + add_artifact = crown_of_thorns + new_artifact = { + set_creation_date = 1.1.1 + } + } + after = { clr_artifact_flagsmodifiers_effect = yes } +} + +#Fragment of the True Cross +#Quality 3 +character_event = { + id = MNM.9807 + desc = EVTDESC_MNM_9807 + picture = GFX_evt_relic_box + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + has_dlc = "Mystics" + + option = { #it's their duty + name = EVTOPT_MEDIUM_ARTIFACT_DUTY + prestige = 10 + reverse_opinion = { + who = FROM + modifier = opinion_very_disappointed + years = 15 + } + add_artifact = fragment_of_true_cross + new_artifact = { + set_creation_date = 1.1.1 + } + } + + option = { #monetary reward + name = EVTOPT_MEDIUM_ARTIFACT_MONEY + + reverse_opinion = { + who = FROM + modifier = opinion_was_rewarded + years = 10 + } + opinion = { + who = FROM + modifier = opinion_found_medium_artifact + years = 5 + } + transfer_scaled_wealth = { + to = FROM + value = 0.5 + min = 35 + } + + add_artifact = fragment_of_true_cross + new_artifact = { + set_creation_date = 1.1.1 + } + } + + option = { #reward them with a favor + name = EVTOPT_MEDIUM_ARTIFACT_FAVOR + + reverse_opinion = { + who = FROM + modifier = opinion_was_rewarded + years = 10 + } + opinion = { + who = FROM + modifier = opinion_found_medium_artifact + years = 5 + } + reverse_add_favor = FROM + add_artifact = fragment_of_true_cross + new_artifact = { + set_creation_date = 1.1.1 + } + } + + option = { #praise them (prestige reward) + trigger = { + diplomacy = 15 + } + name = EVTOPT_MEDIUM_ARTIFACT_PRESTIGE + + reverse_opinion = { + who = FROM + modifier = opinion_was_praised + years = 10 + } + opinion = { + who = FROM + modifier = opinion_found_medium_artifact + years = 5 + } + FROM = { prestige = 50 } + random = { + chance = 20 + add_friend = FROM + } + add_artifact = fragment_of_true_cross + new_artifact = { + set_creation_date = 1.1.1 + } + } + after = { clr_artifact_flagsmodifiers_effect = yes } +} + +#Holy Foreskin +#Quality 3 +character_event = { + id = MNM.9808 + desc = EVTDESC_MNM_9808 + picture = GFX_evt_relic_box + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + has_dlc = "Mystics" + + option = { #it's their duty + name = EVTOPT_MEDIUM_ARTIFACT_DUTY + prestige = 10 + reverse_opinion = { + who = FROM + modifier = opinion_very_disappointed + years = 15 + } + add_artifact = holy_foreskin + new_artifact = { + set_creation_date = 1.1.1 + } + } + + option = { #monetary reward + name = EVTOPT_MEDIUM_ARTIFACT_MONEY + + reverse_opinion = { + who = FROM + modifier = opinion_was_rewarded + years = 10 + } + opinion = { + who = FROM + modifier = opinion_found_medium_artifact + years = 5 + } + transfer_scaled_wealth = { + to = FROM + value = 0.5 + min = 35 + } + + add_artifact = holy_foreskin + new_artifact = { + set_creation_date = 1.1.1 + } + } + + option = { #reward them with a favor + name = EVTOPT_MEDIUM_ARTIFACT_FAVOR + + reverse_opinion = { + who = FROM + modifier = opinion_was_rewarded + years = 10 + } + opinion = { + who = FROM + modifier = opinion_found_medium_artifact + years = 5 + } + reverse_add_favor = FROM + add_artifact = holy_foreskin + new_artifact = { + set_creation_date = 1.1.1 + } + } + + option = { #praise them (prestige reward) + trigger = { + diplomacy = 15 + } + name = EVTOPT_MEDIUM_ARTIFACT_PRESTIGE + + reverse_opinion = { + who = FROM + modifier = opinion_was_praised + years = 10 + } + opinion = { + who = FROM + modifier = opinion_found_medium_artifact + years = 5 + } + FROM = { prestige = 50 } + random = { + chance = 20 + add_friend = FROM + } + add_artifact = holy_foreskin + new_artifact = { + set_creation_date = 1.1.1 + } + } + after = { clr_artifact_flagsmodifiers_effect = yes } +} + +#Fingerbone of Saint +#Quality 1 +character_event = { + id = MNM.9809 + desc = EVTDESC_MNM_9809 + picture = GFX_evt_relic_box + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + has_dlc = "Mystics" + + option = { #it's their duty + name = EVTOPT_MINOR_ARTIFACT_DUTY + prestige = 10 + reverse_opinion = { + who = FROM + modifier = opinion_disappointed + years = 10 + } + add_artifact = fingerbone_of_saint + new_artifact = { + set_creation_date = 1.1.1 + } + } + + option = { #monetary reward + name = EVTOPT_MINOR_ARTIFACT_MONEY + + reverse_opinion = { + who = FROM + modifier = opinion_was_rewarded + years = 5 + } + opinion = { + who = FROM + modifier = opinion_found_minor_artifact + years = 5 + } + transfer_scaled_wealth = { + to = FROM + value = 0.25 + min = 20 + } + + add_artifact = fingerbone_of_saint + new_artifact = { + set_creation_date = 1.1.1 + } + } + + option = { #reward them with a favor + name = EVTOPT_MINOR_ARTIFACT_FAVOR + + reverse_opinion = { + who = FROM + modifier = opinion_was_rewarded + years = 5 + } + opinion = { + who = FROM + modifier = opinion_found_minor_artifact + years = 5 + } + reverse_add_favor = FROM + add_artifact = fingerbone_of_saint + new_artifact = { + set_creation_date = 1.1.1 + } + } + + option = { #praise them (prestige reward) + trigger = { + diplomacy = 15 + } + name = EVTOPT_MINOR_ARTIFACT_PRESTIGE + + reverse_opinion = { + who = FROM + modifier = opinion_was_praised + years = 5 + } + opinion = { + who = FROM + modifier = opinion_found_minor_artifact + years = 5 + } + FROM = { prestige = 25 } + random = { + chance = 20 + add_friend = FROM + } + add_artifact = fingerbone_of_saint + new_artifact = { + set_creation_date = 1.1.1 + } + } + after = { clr_artifact_flagsmodifiers_effect = yes } +} + +#Chains of St. Peter +#Quality 2 +character_event = { + id = MNM.9842 + desc = EVTDESC_MNM_9842 + picture = GFX_evt_relic_box + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + has_dlc = "Mystics" + + option = { #it's their duty + name = EVTOPT_MINOR_ARTIFACT_DUTY + prestige = 10 + reverse_opinion = { + who = FROM + modifier = opinion_disappointed + years = 10 + } + add_artifact = chains_of_st_peter + new_artifact = { + set_creation_date = 1.1.1 + } + } + + option = { #monetary reward + name = EVTOPT_MINOR_ARTIFACT_MONEY + + reverse_opinion = { + who = FROM + modifier = opinion_was_rewarded + years = 5 + } + opinion = { + who = FROM + modifier = opinion_found_minor_artifact + years = 5 + } + transfer_scaled_wealth = { + to = FROM + value = 0.25 + min = 20 + } + + add_artifact = chains_of_st_peter + new_artifact = { + set_creation_date = 1.1.1 + } + } + + option = { #reward them with a favor + name = EVTOPT_MINOR_ARTIFACT_FAVOR + + reverse_opinion = { + who = FROM + modifier = opinion_was_rewarded + years = 5 + } + opinion = { + who = FROM + modifier = opinion_found_minor_artifact + years = 5 + } + reverse_add_favor = FROM + add_artifact = chains_of_st_peter + new_artifact = { + set_creation_date = 1.1.1 + } + } + + option = { #praise them (prestige reward) + trigger = { + diplomacy = 15 + } + name = EVTOPT_MINOR_ARTIFACT_PRESTIGE + + reverse_opinion = { + who = FROM + modifier = opinion_was_praised + years = 5 + } + opinion = { + who = FROM + modifier = opinion_found_minor_artifact + years = 5 + } + FROM = { prestige = 25 } + random = { + chance = 20 + add_friend = FROM + } + add_artifact = chains_of_st_peter + new_artifact = { + set_creation_date = 1.1.1 + } + } + after = { clr_artifact_flagsmodifiers_effect = yes } +} + +#Right Hand of St. Demetrius +#Quality 2 +character_event = { + id = MNM.9843 + desc = EVTDESC_MNM_9843 + picture = GFX_evt_relic_box + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + has_dlc = "Mystics" + + option = { #it's their duty + name = EVTOPT_MINOR_ARTIFACT_DUTY + prestige = 10 + reverse_opinion = { + who = FROM + modifier = opinion_disappointed + years = 10 + } + add_artifact = right_hand_st_demetrius + new_artifact = { + set_creation_date = 1.1.1 + } + } + + option = { #monetary reward + name = EVTOPT_MINOR_ARTIFACT_MONEY + + reverse_opinion = { + who = FROM + modifier = opinion_was_rewarded + years = 5 + } + opinion = { + who = FROM + modifier = opinion_found_minor_artifact + years = 5 + } + transfer_scaled_wealth = { + to = FROM + value = 0.25 + min = 20 + } + + add_artifact = right_hand_st_demetrius + new_artifact = { + set_creation_date = 1.1.1 + } + } + + option = { #reward them with a favor + name = EVTOPT_MINOR_ARTIFACT_FAVOR + + reverse_opinion = { + who = FROM + modifier = opinion_was_rewarded + years = 5 + } + opinion = { + who = FROM + modifier = opinion_found_minor_artifact + years = 5 + } + reverse_add_favor = FROM + add_artifact = right_hand_st_demetrius + new_artifact = { + set_creation_date = 1.1.1 + } + } + + option = { #praise them (prestige reward) + trigger = { + diplomacy = 15 + } + name = EVTOPT_MINOR_ARTIFACT_PRESTIGE + + reverse_opinion = { + who = FROM + modifier = opinion_was_praised + years = 5 + } + opinion = { + who = FROM + modifier = opinion_found_minor_artifact + years = 5 + } + FROM = { prestige = 25 } + random = { + chance = 20 + add_friend = FROM + } + add_artifact = right_hand_st_demetrius + new_artifact = { + set_creation_date = 1.1.1 + } + } + after = { clr_artifact_flagsmodifiers_effect = yes } +} + +#Veil of Veronica +#Quality 2 +character_event = { + id = MNM.9844 + desc = EVTDESC_MNM_9844 + picture = GFX_evt_relic_box + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + has_dlc = "Mystics" + + option = { #it's their duty + name = EVTOPT_MINOR_ARTIFACT_DUTY + prestige = 10 + reverse_opinion = { + who = FROM + modifier = opinion_disappointed + years = 10 + } + add_artifact = veil_of_veronica + new_artifact = { + set_creation_date = 1.1.1 + } + } + + option = { #monetary reward + name = EVTOPT_MINOR_ARTIFACT_MONEY + + reverse_opinion = { + who = FROM + modifier = opinion_was_rewarded + years = 5 + } + opinion = { + who = FROM + modifier = opinion_found_minor_artifact + years = 5 + } + transfer_scaled_wealth = { + to = FROM + value = 0.25 + min = 20 + } + + add_artifact = veil_of_veronica + new_artifact = { + set_creation_date = 1.1.1 + } + } + + option = { #reward them with a favor + name = EVTOPT_MINOR_ARTIFACT_FAVOR + + reverse_opinion = { + who = FROM + modifier = opinion_was_rewarded + years = 5 + } + opinion = { + who = FROM + modifier = opinion_found_minor_artifact + years = 5 + } + reverse_add_favor = FROM + add_artifact = veil_of_veronica + new_artifact = { + set_creation_date = 1.1.1 + } + } + + option = { #praise them (prestige reward) + trigger = { + diplomacy = 15 + } + name = EVTOPT_MINOR_ARTIFACT_PRESTIGE + + reverse_opinion = { + who = FROM + modifier = opinion_was_praised + years = 5 + } + opinion = { + who = FROM + modifier = opinion_found_minor_artifact + years = 5 + } + FROM = { prestige = 25 } + random = { + chance = 20 + add_friend = FROM + } + add_artifact = veil_of_veronica + new_artifact = { + set_creation_date = 1.1.1 + } + } + after = { clr_artifact_flagsmodifiers_effect = yes } +} + +#Remains of St. Cessianus +#Quality 2 +character_event = { + id = MNM.9845 + desc = EVTDESC_MNM_9845 + picture = GFX_evt_relic_box + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + has_dlc = "Mystics" + + option = { #it's their duty + name = EVTOPT_MINOR_ARTIFACT_DUTY + prestige = 10 + reverse_opinion = { + who = FROM + modifier = opinion_disappointed + years = 10 + } + add_artifact = remains_of_st_cessianus + new_artifact = { + set_creation_date = 1.1.1 + } + } + + option = { #monetary reward + name = EVTOPT_MINOR_ARTIFACT_MONEY + + reverse_opinion = { + who = FROM + modifier = opinion_was_rewarded + years = 5 + } + opinion = { + who = FROM + modifier = opinion_found_minor_artifact + years = 5 + } + transfer_scaled_wealth = { + to = FROM + value = 0.25 + min = 20 + } + + add_artifact = remains_of_st_cessianus + new_artifact = { + set_creation_date = 1.1.1 + } + } + + option = { #reward them with a favor + name = EVTOPT_MINOR_ARTIFACT_FAVOR + + reverse_opinion = { + who = FROM + modifier = opinion_was_rewarded + years = 5 + } + opinion = { + who = FROM + modifier = opinion_found_minor_artifact + years = 5 + } + reverse_add_favor = FROM + add_artifact = remains_of_st_cessianus + new_artifact = { + set_creation_date = 1.1.1 + } + } + + option = { #praise them (prestige reward) + trigger = { + diplomacy = 15 + } + name = EVTOPT_MINOR_ARTIFACT_PRESTIGE + + reverse_opinion = { + who = FROM + modifier = opinion_was_praised + years = 5 + } + opinion = { + who = FROM + modifier = opinion_found_minor_artifact + years = 5 + } + FROM = { prestige = 25 } + random = { + chance = 20 + add_friend = FROM + } + add_artifact = remains_of_st_cessianus + new_artifact = { + set_creation_date = 1.1.1 + } + } + after = { clr_artifact_flagsmodifiers_effect = yes } +} + +#Weeping Statue +#Quality 2 +character_event = { + id = MNM.9846 + desc = EVTDESC_MNM_9846 + picture = GFX_evt_relic_box + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + has_dlc = "Mystics" + + option = { #it's their duty + name = EVTOPT_MINOR_ARTIFACT_DUTY + prestige = 10 + reverse_opinion = { + who = FROM + modifier = opinion_disappointed + years = 10 + } + add_artifact = weeping_statue + new_artifact = { + set_creation_date = 1.1.1 + } + } + + option = { #monetary reward + name = EVTOPT_MINOR_ARTIFACT_MONEY + + reverse_opinion = { + who = FROM + modifier = opinion_was_rewarded + years = 5 + } + opinion = { + who = FROM + modifier = opinion_found_minor_artifact + years = 5 + } + transfer_scaled_wealth = { + to = FROM + value = 0.25 + min = 20 + } + + add_artifact = weeping_statue + new_artifact = { + set_creation_date = 1.1.1 + } + } + + option = { #reward them with a favor + name = EVTOPT_MINOR_ARTIFACT_FAVOR + + reverse_opinion = { + who = FROM + modifier = opinion_was_rewarded + years = 5 + } + opinion = { + who = FROM + modifier = opinion_found_minor_artifact + years = 5 + } + reverse_add_favor = FROM + add_artifact = weeping_statue + new_artifact = { + set_creation_date = 1.1.1 + } + } + + option = { #praise them (prestige reward) + trigger = { + diplomacy = 15 + } + name = EVTOPT_MINOR_ARTIFACT_PRESTIGE + + reverse_opinion = { + who = FROM + modifier = opinion_was_praised + years = 5 + } + opinion = { + who = FROM + modifier = opinion_found_minor_artifact + years = 5 + } + FROM = { prestige = 25 } + random = { + chance = 20 + add_friend = FROM + } + add_artifact = weeping_statue + new_artifact = { + set_creation_date = 1.1.1 + } + } + after = { clr_artifact_flagsmodifiers_effect = yes } +} + +#Image of Edessa +#Quality 3 +character_event = { + id = MNM.9847 + desc = EVTDESC_MNM_9847 + picture = GFX_evt_relic_box + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + has_dlc = "Mystics" + + option = { #it's their duty + name = EVTOPT_MEDIUM_ARTIFACT_DUTY + prestige = 10 + reverse_opinion = { + who = FROM + modifier = opinion_very_disappointed + years = 15 + } + add_artifact = image_of_edessa + new_artifact = { + set_creation_date = 1.1.1 + } + } + + option = { #monetary reward + name = EVTOPT_MEDIUM_ARTIFACT_MONEY + + reverse_opinion = { + who = FROM + modifier = opinion_was_rewarded + years = 10 + } + opinion = { + who = FROM + modifier = opinion_found_medium_artifact + years = 5 + } + transfer_scaled_wealth = { + to = FROM + value = 0.5 + min = 35 + } + + add_artifact = image_of_edessa + new_artifact = { + set_creation_date = 1.1.1 + } + } + + option = { #reward them with a favor + name = EVTOPT_MEDIUM_ARTIFACT_FAVOR + + reverse_opinion = { + who = FROM + modifier = opinion_was_rewarded + years = 10 + } + opinion = { + who = FROM + modifier = opinion_found_medium_artifact + years = 5 + } + reverse_add_favor = FROM + add_artifact = image_of_edessa + new_artifact = { + set_creation_date = 1.1.1 + } + } + + option = { #praise them (prestige reward) + trigger = { + diplomacy = 15 + } + name = EVTOPT_MEDIUM_ARTIFACT_PRESTIGE + + reverse_opinion = { + who = FROM + modifier = opinion_was_praised + years = 10 + } + opinion = { + who = FROM + modifier = opinion_found_medium_artifact + years = 5 + } + FROM = { prestige = 50 } + random = { + chance = 20 + add_friend = FROM + } + add_artifact = image_of_edessa + new_artifact = { + set_creation_date = 1.1.1 + } + } + after = { clr_artifact_flagsmodifiers_effect = yes } +} + +##Jewish## + +#Staff of Moses +#Quality 5 +narrative_event = { + id = MNM.9810 + title = EVTNAME_MNM_9810 + desc = EVTDESC_MNM_9810 + picture = GFX_evt_relic_box + border = GFX_event_narrative_frame_religion + + is_triggered_only = yes + + has_dlc = "Mystics" + + option = { #it's their duty + name = EVTOPT_MAJOR_ARTIFACT_DUTY + prestige = 10 + reverse_opinion = { + who = FROM + modifier = opinion_extremely_disappointed + years = 20 + } + add_artifact = staff_of_moses + new_artifact = { + set_creation_date = 1.1.1 + } + } + + option = { #monetary reward + name = EVTOPT_MAJOR_ARTIFACT_MONEY + + reverse_opinion = { + who = FROM + modifier = opinion_was_rewarded + years = 15 + } + opinion = { + who = FROM + modifier = opinion_found_major_artifact + years = 5 + } + transfer_scaled_wealth = { + to = FROM + value = 1 + min = 50 + } + + add_artifact = staff_of_moses + new_artifact = { + set_creation_date = 1.1.1 + } + } + + option = { #reward them with a favor + name = EVTOPT_MAJOR_ARTIFACT_FAVOR + + reverse_opinion = { + who = FROM + modifier = opinion_was_rewarded + years = 15 + } + opinion = { + who = FROM + modifier = opinion_found_major_artifact + years = 5 + } + reverse_add_favor = FROM + add_artifact = staff_of_moses + new_artifact = { + set_creation_date = 1.1.1 + } + } + + option = { #praise them (prestige reward) + trigger = { + diplomacy = 15 + } + name = EVTOPT_MAJOR_ARTIFACT_PRESTIGE + + reverse_opinion = { + who = FROM + modifier = opinion_was_praised + years = 15 + } + opinion = { + who = FROM + modifier = opinion_found_major_artifact + years = 5 + } + FROM = { prestige = 100 } + random = { + chance = 20 + add_friend = FROM + } + add_artifact = staff_of_moses + new_artifact = { + set_creation_date = 1.1.1 + } + } + after = { clr_artifact_flagsmodifiers_effect = yes } +} + +#David's Harp +#Quality 5 +narrative_event = { + id = MNM.9811 + title = EVTNAME_MNM_9811 + desc = EVTDESC_MNM_9811 + picture = GFX_evt_relic_box + border = GFX_event_narrative_frame_religion + + is_triggered_only = yes + + has_dlc = "Mystics" + + option = { #it's their duty + name = EVTOPT_MAJOR_ARTIFACT_DUTY + prestige = 10 + reverse_opinion = { + who = FROM + modifier = opinion_extremely_disappointed + years = 20 + } + add_artifact = davids_harp + new_artifact = { + set_creation_date = 1.1.1 + } + } + + option = { #monetary reward + name = EVTOPT_MAJOR_ARTIFACT_MONEY + + reverse_opinion = { + who = FROM + modifier = opinion_was_rewarded + years = 15 + } + opinion = { + who = FROM + modifier = opinion_found_major_artifact + years = 5 + } + transfer_scaled_wealth = { + to = FROM + value = 1 + min = 50 + } + + add_artifact = davids_harp + new_artifact = { + set_creation_date = 1.1.1 + } + } + + option = { #reward them with a favor + name = EVTOPT_MAJOR_ARTIFACT_FAVOR + + reverse_opinion = { + who = FROM + modifier = opinion_was_rewarded + years = 15 + } + opinion = { + who = FROM + modifier = opinion_found_major_artifact + years = 5 + } + reverse_add_favor = FROM + add_artifact = davids_harp + new_artifact = { + set_creation_date = 1.1.1 + } + } + + option = { #praise them (prestige reward) + trigger = { + diplomacy = 15 + } + name = EVTOPT_MAJOR_ARTIFACT_PRESTIGE + + reverse_opinion = { + who = FROM + modifier = opinion_was_praised + years = 15 + } + opinion = { + who = FROM + modifier = opinion_found_major_artifact + years = 5 + } + FROM = { prestige = 100 } + random = { + chance = 20 + add_friend = FROM + } + add_artifact = davids_harp + new_artifact = { + set_creation_date = 1.1.1 + } + } + after = { clr_artifact_flagsmodifiers_effect = yes } + +} + +#Seal of Solomon +#Quality 4 +character_event = { + id = MNM.9814 + desc = EVTDESC_MNM_9814 + picture = GFX_evt_relic_box + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + has_dlc = "Mystics" + + option = { #it's their duty + name = EVTOPT_MEDIUM_ARTIFACT_DUTY + prestige = 10 + reverse_opinion = { + who = FROM + modifier = opinion_very_disappointed + years = 15 + } + add_artifact = seal_of_solomon + new_artifact = { + set_creation_date = 1.1.1 + } + } + + option = { #monetary reward + name = EVTOPT_MEDIUM_ARTIFACT_MONEY + + reverse_opinion = { + who = FROM + modifier = opinion_was_rewarded + years = 10 + } + opinion = { + who = FROM + modifier = opinion_found_medium_artifact + years = 5 + } + transfer_scaled_wealth = { + to = FROM + value = 0.5 + min = 35 + } + + add_artifact = seal_of_solomon + new_artifact = { + set_creation_date = 1.1.1 + } + } + + option = { #reward them with a favor + name = EVTOPT_MEDIUM_ARTIFACT_FAVOR + + reverse_opinion = { + who = FROM + modifier = opinion_was_rewarded + years = 10 + } + opinion = { + who = FROM + modifier = opinion_found_medium_artifact + years = 5 + } + reverse_add_favor = FROM + add_artifact = seal_of_solomon + new_artifact = { + set_creation_date = 1.1.1 + } + } + + option = { #praise them (prestige reward) + trigger = { + diplomacy = 15 + } + name = EVTOPT_MEDIUM_ARTIFACT_PRESTIGE + + reverse_opinion = { + who = FROM + modifier = opinion_was_praised + years = 10 + } + opinion = { + who = FROM + modifier = opinion_found_medium_artifact + years = 5 + } + FROM = { prestige = 50 } + random = { + chance = 20 + add_friend = FROM + } + add_artifact = seal_of_solomon + new_artifact = { + set_creation_date = 1.1.1 + } + } + after = { clr_artifact_flagsmodifiers_effect = yes } +} + +#The tabernacle +#Quality 3 +character_event = { + id = MNM.9853 + desc = EVTDESC_MNM_9853 + picture = GFX_evt_relic_box + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + has_dlc = "Mystics" + + option = { #it's their duty + name = EVTOPT_MEDIUM_ARTIFACT_DUTY + prestige = 10 + reverse_opinion = { + who = FROM + modifier = opinion_very_disappointed + years = 15 + } + add_artifact = tabernacle + new_artifact = { + set_creation_date = 1.1.1 + } + } + + option = { #monetary reward + name = EVTOPT_MEDIUM_ARTIFACT_MONEY + + reverse_opinion = { + who = FROM + modifier = opinion_was_rewarded + years = 10 + } + opinion = { + who = FROM + modifier = opinion_found_medium_artifact + years = 5 + } + transfer_scaled_wealth = { + to = FROM + value = 0.5 + min = 35 + } + + add_artifact = tabernacle + new_artifact = { + set_creation_date = 1.1.1 + } + } + + option = { #reward them with a favor + name = EVTOPT_MEDIUM_ARTIFACT_FAVOR + + reverse_opinion = { + who = FROM + modifier = opinion_was_rewarded + years = 10 + } + opinion = { + who = FROM + modifier = opinion_found_medium_artifact + years = 5 + } + reverse_add_favor = FROM + add_artifact = tabernacle + new_artifact = { + set_creation_date = 1.1.1 + } + } + + option = { #praise them (prestige reward) + trigger = { + diplomacy = 15 + } + name = EVTOPT_MEDIUM_ARTIFACT_PRESTIGE + + reverse_opinion = { + who = FROM + modifier = opinion_was_praised + years = 10 + } + opinion = { + who = FROM + modifier = opinion_found_medium_artifact + years = 5 + } + FROM = { prestige = 50 } + random = { + chance = 20 + add_friend = FROM + } + add_artifact = tabernacle + new_artifact = { + set_creation_date = 1.1.1 + } + } + after = { clr_artifact_flagsmodifiers_effect = yes } +} + +#King David's Sling +#Quality 2 +character_event = { + id = MNM.9854 + desc = EVTDESC_MNM_9854 + picture = GFX_evt_relic_box + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + has_dlc = "Mystics" + + option = { #it's their duty + name = EVTOPT_MINOR_ARTIFACT_DUTY + prestige = 10 + reverse_opinion = { + who = FROM + modifier = opinion_disappointed + years = 10 + } + add_artifact = davids_sling + new_artifact = { + set_creation_date = 1.1.1 + } + } + + option = { #monetary reward + name = EVTOPT_MINOR_ARTIFACT_MONEY + + reverse_opinion = { + who = FROM + modifier = opinion_was_rewarded + years = 5 + } + opinion = { + who = FROM + modifier = opinion_found_minor_artifact + years = 5 + } + transfer_scaled_wealth = { + to = FROM + value = 0.25 + min = 20 + } + + add_artifact = davids_sling + new_artifact = { + set_creation_date = 1.1.1 + } + } + + option = { #reward them with a favor + name = EVTOPT_MINOR_ARTIFACT_FAVOR + + reverse_opinion = { + who = FROM + modifier = opinion_was_rewarded + years = 5 + } + opinion = { + who = FROM + modifier = opinion_found_minor_artifact + years = 5 + } + reverse_add_favor = FROM + add_artifact = davids_sling + new_artifact = { + set_creation_date = 1.1.1 + } + } + + option = { #praise them (prestige reward) + trigger = { + diplomacy = 15 + } + name = EVTOPT_MINOR_ARTIFACT_PRESTIGE + + reverse_opinion = { + who = FROM + modifier = opinion_was_praised + years = 5 + } + opinion = { + who = FROM + modifier = opinion_found_minor_artifact + years = 5 + } + FROM = { prestige = 25 } + random = { + chance = 20 + add_friend = FROM + } + add_artifact = davids_sling + new_artifact = { + set_creation_date = 1.1.1 + } + } + after = { clr_artifact_flagsmodifiers_effect = yes } +} + +##Muslim## + +#Seal of Mohammad +#Quality 5 +narrative_event = { + id = MNM.9820 + title = EVTNAME_MNM_9820 + desc = EVTDESC_MNM_9820 + picture = GFX_evt_relic_box + border = GFX_event_narrative_frame_religion + + is_triggered_only = yes + + has_dlc = "Mystics" + + option = { #it's their duty + name = EVTOPT_MAJOR_ARTIFACT_DUTY + prestige = 10 + reverse_opinion = { + who = FROM + modifier = opinion_extremely_disappointed + years = 20 + } + add_artifact = seal_of_mohammad + new_artifact = { + set_creation_date = 1.1.1 + } + } + + option = { #monetary reward + name = EVTOPT_MAJOR_ARTIFACT_MONEY + + reverse_opinion = { + who = FROM + modifier = opinion_was_rewarded + years = 15 + } + opinion = { + who = FROM + modifier = opinion_found_major_artifact + years = 5 + } + transfer_scaled_wealth = { + to = FROM + value = 1 + min = 50 + } + + add_artifact = seal_of_mohammad + new_artifact = { + set_creation_date = 1.1.1 + } + } + + option = { #reward them with a favor + name = EVTOPT_MAJOR_ARTIFACT_FAVOR + + reverse_opinion = { + who = FROM + modifier = opinion_was_rewarded + years = 15 + } + opinion = { + who = FROM + modifier = opinion_found_major_artifact + years = 5 + } + reverse_add_favor = FROM + add_artifact = seal_of_mohammad + new_artifact = { + set_creation_date = 1.1.1 + } + } + + option = { #praise them (prestige reward) + trigger = { + diplomacy = 15 + } + name = EVTOPT_MAJOR_ARTIFACT_PRESTIGE + + reverse_opinion = { + who = FROM + modifier = opinion_was_praised + years = 15 + } + opinion = { + who = FROM + modifier = opinion_found_major_artifact + years = 5 + } + FROM = { prestige = 100 } + random = { + chance = 20 + add_friend = FROM + } + add_artifact = seal_of_mohammad + new_artifact = { + set_creation_date = 1.1.1 + } + } + after = { clr_artifact_flagsmodifiers_effect = yes } +} + +#Holy Banner of Mohammad +#Quality 5 +narrative_event = { + id = MNM.9821 + title = EVTNAME_MNM_9821 + desc = EVTDESC_MNM_9821 + picture = GFX_evt_relic_box + border = GFX_event_narrative_frame_religion + + is_triggered_only = yes + + has_dlc = "Mystics" + + option = { #it's their duty + name = EVTOPT_MAJOR_ARTIFACT_DUTY + prestige = 10 + reverse_opinion = { + who = FROM + modifier = opinion_extremely_disappointed + years = 20 + } + add_artifact = holy_banner_of_mohammad + new_artifact = { + set_creation_date = 1.1.1 + } + } + + option = { #monetary reward + name = EVTOPT_MAJOR_ARTIFACT_MONEY + + reverse_opinion = { + who = FROM + modifier = opinion_was_rewarded + years = 15 + } + opinion = { + who = FROM + modifier = opinion_found_major_artifact + years = 5 + } + transfer_scaled_wealth = { + to = FROM + value = 1 + min = 50 + } + + add_artifact = holy_banner_of_mohammad + new_artifact = { + set_creation_date = 1.1.1 + } + } + + option = { #reward them with a favor + name = EVTOPT_MAJOR_ARTIFACT_FAVOR + + reverse_opinion = { + who = FROM + modifier = opinion_was_rewarded + years = 15 + } + opinion = { + who = FROM + modifier = opinion_found_major_artifact + years = 5 + } + reverse_add_favor = FROM + add_artifact = holy_banner_of_mohammad + new_artifact = { + set_creation_date = 1.1.1 + } + } + + option = { #praise them (prestige reward) + trigger = { + diplomacy = 15 + } + name = EVTOPT_MAJOR_ARTIFACT_PRESTIGE + + reverse_opinion = { + who = FROM + modifier = opinion_was_praised + years = 15 + } + opinion = { + who = FROM + modifier = opinion_found_major_artifact + years = 5 + } + FROM = { prestige = 100 } + random = { + chance = 20 + add_friend = FROM + } + add_artifact = holy_banner_of_mohammad + new_artifact = { + set_creation_date = 1.1.1 + } + } + after = { clr_artifact_flagsmodifiers_effect = yes } +} + +#Blessed mantle +#Quality 5 +narrative_event = { + id = MNM.9822 + title = EVTNAME_MNM_9822 + desc = EVTDESC_MNM_9822 + picture = GFX_evt_relic_box + border = GFX_event_narrative_frame_religion + + is_triggered_only = yes + + has_dlc = "Mystics" + + option = { #it's their duty + name = EVTOPT_MAJOR_ARTIFACT_DUTY + prestige = 10 + reverse_opinion = { + who = FROM + modifier = opinion_extremely_disappointed + years = 20 + } + add_artifact = blessed_mantle + new_artifact = { + set_creation_date = 1.1.1 + } + } + + option = { #monetary reward + name = EVTOPT_MAJOR_ARTIFACT_MONEY + + reverse_opinion = { + who = FROM + modifier = opinion_was_rewarded + years = 15 + } + opinion = { + who = FROM + modifier = opinion_found_major_artifact + years = 5 + } + transfer_scaled_wealth = { + to = FROM + value = 1 + min = 50 + } + + add_artifact = blessed_mantle + new_artifact = { + set_creation_date = 1.1.1 + } + } + + option = { #reward them with a favor + name = EVTOPT_MAJOR_ARTIFACT_FAVOR + + reverse_opinion = { + who = FROM + modifier = opinion_was_rewarded + years = 15 + } + opinion = { + who = FROM + modifier = opinion_found_major_artifact + years = 5 + } + reverse_add_favor = FROM + add_artifact = blessed_mantle + new_artifact = { + set_creation_date = 1.1.1 + } + } + + option = { #praise them (prestige reward) + trigger = { + diplomacy = 15 + } + name = EVTOPT_MAJOR_ARTIFACT_PRESTIGE + + reverse_opinion = { + who = FROM + modifier = opinion_was_praised + years = 15 + } + opinion = { + who = FROM + modifier = opinion_found_major_artifact + years = 5 + } + FROM = { prestige = 100 } + random = { + chance = 20 + add_friend = FROM + } + add_artifact = blessed_mantle + new_artifact = { + set_creation_date = 1.1.1 + } + } + after = { clr_artifact_flagsmodifiers_effect = yes } +} + +#Sword of Mohammad +#Quality 4 +character_event = { + id = MNM.9823 + desc = EVTDESC_MNM_9823 + picture = GFX_evt_relic_box + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + has_dlc = "Mystics" + + option = { #it's their duty + name = EVTOPT_MEDIUM_ARTIFACT_DUTY + prestige = 10 + reverse_opinion = { + who = FROM + modifier = opinion_very_disappointed + years = 15 + } + add_artifact = sword_of_mohammad + new_artifact = { + set_creation_date = 1.1.1 + } + } + + option = { #monetary reward + name = EVTOPT_MEDIUM_ARTIFACT_MONEY + + reverse_opinion = { + who = FROM + modifier = opinion_was_rewarded + years = 10 + } + opinion = { + who = FROM + modifier = opinion_found_medium_artifact + years = 5 + } + transfer_scaled_wealth = { + to = FROM + value = 0.5 + min = 35 + } + + add_artifact = sword_of_mohammad + new_artifact = { + set_creation_date = 1.1.1 + } + } + + option = { #reward them with a favor + name = EVTOPT_MEDIUM_ARTIFACT_FAVOR + + reverse_opinion = { + who = FROM + modifier = opinion_was_rewarded + years = 10 + } + opinion = { + who = FROM + modifier = opinion_found_medium_artifact + years = 5 + } + reverse_add_favor = FROM + add_artifact = sword_of_mohammad + new_artifact = { + set_creation_date = 1.1.1 + } + } + + option = { #praise them (prestige reward) + trigger = { + diplomacy = 15 + } + name = EVTOPT_MEDIUM_ARTIFACT_PRESTIGE + + reverse_opinion = { + who = FROM + modifier = opinion_was_praised + years = 10 + } + opinion = { + who = FROM + modifier = opinion_found_medium_artifact + years = 5 + } + FROM = { prestige = 50 } + random = { + chance = 20 + add_friend = FROM + } + add_artifact = sword_of_mohammad + new_artifact = { + set_creation_date = 1.1.1 + } + } + after = { clr_artifact_flagsmodifiers_effect = yes } +} + +#Letter of Mohammad +#Quality 3 +character_event = { + id = MNM.9824 + desc = EVTDESC_MNM_9824 + picture = GFX_evt_relic_box + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + has_dlc = "Mystics" + + option = { #it's their duty + name = EVTOPT_MEDIUM_ARTIFACT_DUTY + prestige = 10 + reverse_opinion = { + who = FROM + modifier = opinion_very_disappointed + years = 15 + } + add_artifact = letter_of_mohammad + new_artifact = { + set_creation_date = 1.1.1 + } + } + + option = { #monetary reward + name = EVTOPT_MEDIUM_ARTIFACT_MONEY + + reverse_opinion = { + who = FROM + modifier = opinion_was_rewarded + years = 10 + } + opinion = { + who = FROM + modifier = opinion_found_medium_artifact + years = 5 + } + transfer_scaled_wealth = { + to = FROM + value = 0.5 + min = 35 + } + + add_artifact = letter_of_mohammad + new_artifact = { + set_creation_date = 1.1.1 + } + } + + option = { #reward them with a favor + name = EVTOPT_MEDIUM_ARTIFACT_FAVOR + + reverse_opinion = { + who = FROM + modifier = opinion_was_rewarded + years = 10 + } + opinion = { + who = FROM + modifier = opinion_found_medium_artifact + years = 5 + } + reverse_add_favor = FROM + add_artifact = letter_of_mohammad + new_artifact = { + set_creation_date = 1.1.1 + } + } + + option = { #praise them (prestige reward) + trigger = { + diplomacy = 15 + } + name = EVTOPT_MEDIUM_ARTIFACT_PRESTIGE + + reverse_opinion = { + who = FROM + modifier = opinion_was_praised + years = 10 + } + opinion = { + who = FROM + modifier = opinion_found_medium_artifact + years = 5 + } + FROM = { prestige = 50 } + random = { + chance = 20 + add_friend = FROM + } + add_artifact = letter_of_mohammad + new_artifact = { + set_creation_date = 1.1.1 + } + } + after = { clr_artifact_flagsmodifiers_effect = yes } +} + +#Cloak of Mohammad +#Quality 3 +character_event = { + id = MNM.9848 + desc = EVTDESC_MNM_9848 + picture = GFX_evt_relic_box + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + has_dlc = "Mystics" + + option = { #it's their duty + name = EVTOPT_MEDIUM_ARTIFACT_DUTY + prestige = 10 + reverse_opinion = { + who = FROM + modifier = opinion_very_disappointed + years = 15 + } + add_artifact = cloak_of_mohammad + new_artifact = { + set_creation_date = 1.1.1 + } + } + + option = { #monetary reward + name = EVTOPT_MEDIUM_ARTIFACT_MONEY + + reverse_opinion = { + who = FROM + modifier = opinion_was_rewarded + years = 10 + } + opinion = { + who = FROM + modifier = opinion_found_medium_artifact + years = 5 + } + transfer_scaled_wealth = { + to = FROM + value = 0.5 + min = 35 + } + + add_artifact = cloak_of_mohammad + new_artifact = { + set_creation_date = 1.1.1 + } + } + + option = { #reward them with a favor + name = EVTOPT_MEDIUM_ARTIFACT_FAVOR + + reverse_opinion = { + who = FROM + modifier = opinion_was_rewarded + years = 10 + } + opinion = { + who = FROM + modifier = opinion_found_medium_artifact + years = 5 + } + reverse_add_favor = FROM + add_artifact = cloak_of_mohammad + new_artifact = { + set_creation_date = 1.1.1 + } + } + + option = { #praise them (prestige reward) + trigger = { + diplomacy = 15 + } + name = EVTOPT_MEDIUM_ARTIFACT_PRESTIGE + + reverse_opinion = { + who = FROM + modifier = opinion_was_praised + years = 10 + } + opinion = { + who = FROM + modifier = opinion_found_medium_artifact + years = 5 + } + FROM = { prestige = 50 } + random = { + chance = 20 + add_friend = FROM + } + add_artifact = cloak_of_mohammad + new_artifact = { + set_creation_date = 1.1.1 + } + } + after = { clr_artifact_flagsmodifiers_effect = yes } +} + +#Mohammad's Beard +#Quality 2 +character_event = { + id = MNM.9825 + desc = EVTDESC_MNM_9825 + picture = GFX_evt_relic_box + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + has_dlc = "Mystics" + + option = { #it's their duty + name = EVTOPT_MINOR_ARTIFACT_DUTY + prestige = 10 + reverse_opinion = { + who = FROM + modifier = opinion_disappointed + years = 10 + } + add_artifact = mohammads_beard + new_artifact = { + set_creation_date = 8.6.632 + } + } + + option = { #monetary reward + name = EVTOPT_MINOR_ARTIFACT_MONEY + + reverse_opinion = { + who = FROM + modifier = opinion_was_rewarded + years = 5 + } + opinion = { + who = FROM + modifier = opinion_found_minor_artifact + years = 5 + } + transfer_scaled_wealth = { + to = FROM + value = 0.25 + min = 20 + } + + add_artifact = mohammads_beard + new_artifact = { + set_creation_date = 8.6.632 + } + } + + option = { #reward them with a favor + name = EVTOPT_MINOR_ARTIFACT_FAVOR + + reverse_opinion = { + who = FROM + modifier = opinion_was_rewarded + years = 5 + } + opinion = { + who = FROM + modifier = opinion_found_minor_artifact + years = 5 + } + reverse_add_favor = FROM + add_artifact = mohammads_beard + new_artifact = { + set_creation_date = 8.6.632 + } + } + + option = { #praise them (prestige reward) + trigger = { + diplomacy = 15 + } + name = EVTOPT_MINOR_ARTIFACT_PRESTIGE + + reverse_opinion = { + who = FROM + modifier = opinion_was_praised + years = 5 + } + opinion = { + who = FROM + modifier = opinion_found_minor_artifact + years = 5 + } + FROM = { prestige = 25 } + random = { + chance = 20 + add_friend = FROM + } + add_artifact = mohammads_beard + new_artifact = { + set_creation_date = 8.6.632 + } + } + after = { clr_artifact_flagsmodifiers_effect = yes } +} + +#Tooth of Mohammad +#Quality 2 +character_event = { + id = MNM.9849 + desc = EVTDESC_MNM_9849 + picture = GFX_evt_relic_box + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + has_dlc = "Mystics" + + option = { #it's their duty + name = EVTOPT_MINOR_ARTIFACT_DUTY + prestige = 10 + reverse_opinion = { + who = FROM + modifier = opinion_disappointed + years = 10 + } + add_artifact = tooth_of_mohammad + new_artifact = { + set_creation_date = 625.03.23 + } + } + + option = { #monetary reward + name = EVTOPT_MINOR_ARTIFACT_MONEY + + reverse_opinion = { + who = FROM + modifier = opinion_was_rewarded + years = 5 + } + opinion = { + who = FROM + modifier = opinion_found_minor_artifact + years = 5 + } + transfer_scaled_wealth = { + to = FROM + value = 0.25 + min = 20 + } + + add_artifact = tooth_of_mohammad + new_artifact = { + set_creation_date = 625.03.23 + } + } + + option = { #reward them with a favor + name = EVTOPT_MINOR_ARTIFACT_FAVOR + + reverse_opinion = { + who = FROM + modifier = opinion_was_rewarded + years = 5 + } + opinion = { + who = FROM + modifier = opinion_found_minor_artifact + years = 5 + } + reverse_add_favor = FROM + add_artifact = tooth_of_mohammad + new_artifact = { + set_creation_date = 625.03.23 + } + } + + option = { #praise them (prestige reward) + trigger = { + diplomacy = 15 + } + name = EVTOPT_MINOR_ARTIFACT_PRESTIGE + + reverse_opinion = { + who = FROM + modifier = opinion_was_praised + years = 5 + } + opinion = { + who = FROM + modifier = opinion_found_minor_artifact + years = 5 + } + FROM = { prestige = 25 } + random = { + chance = 20 + add_friend = FROM + } + add_artifact = tooth_of_mohammad + new_artifact = { + set_creation_date = 625.03.23 + } + } + after = { clr_artifact_flagsmodifiers_effect = yes } +} + +#Water of the Blessed Mantle +#Quality 1 +character_event = { + id = MNM.9826 + desc = EVTDESC_MNM_9826 + picture = GFX_evt_relic_box + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + has_dlc = "Mystics" + + option = { #it's their duty + name = EVTOPT_MINOR_ARTIFACT_DUTY + prestige = 10 + reverse_opinion = { + who = FROM + modifier = opinion_disappointed + years = 10 + } + add_artifact = water_of_blessed_mantle + new_artifact = { + set_creation_date = 1.1.1 + } + } + + option = { #monetary reward + name = EVTOPT_MINOR_ARTIFACT_MONEY + + reverse_opinion = { + who = FROM + modifier = opinion_was_rewarded + years = 5 + } + opinion = { + who = FROM + modifier = opinion_found_minor_artifact + years = 5 + } + transfer_scaled_wealth = { + to = FROM + value = 0.25 + min = 20 + } + + add_artifact = water_of_blessed_mantle + new_artifact = { + set_creation_date = 1.1.1 + } + } + + option = { #reward them with a favor + name = EVTOPT_MINOR_ARTIFACT_FAVOR + + reverse_opinion = { + who = FROM + modifier = opinion_was_rewarded + years = 5 + } + opinion = { + who = FROM + modifier = opinion_found_minor_artifact + years = 5 + } + reverse_add_favor = FROM + add_artifact = water_of_blessed_mantle + new_artifact = { + set_creation_date = 1.1.1 + } + } + + option = { #praise them (prestige reward) + trigger = { + diplomacy = 15 + } + name = EVTOPT_MINOR_ARTIFACT_PRESTIGE + + reverse_opinion = { + who = FROM + modifier = opinion_was_praised + years = 5 + } + opinion = { + who = FROM + modifier = opinion_found_minor_artifact + years = 5 + } + FROM = { prestige = 25 } + random = { + chance = 20 + add_friend = FROM + } + add_artifact = water_of_blessed_mantle + new_artifact = { + set_creation_date = 1.1.1 + } + } + after = { clr_artifact_flagsmodifiers_effect = yes } +} + +#Mohammad's Bowl +#Quality 3 +character_event = { + id = MNM.9850 + desc = EVTDESC_MNM_9850 + picture = GFX_evt_relic_box + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + has_dlc = "Mystics" + + option = { #it's their duty + name = EVTOPT_MEDIUM_ARTIFACT_DUTY + prestige = 10 + reverse_opinion = { + who = FROM + modifier = opinion_very_disappointed + years = 15 + } + add_artifact = mohammads_bowl + new_artifact = { + set_creation_date = 1.1.1 + } + } + + option = { #monetary reward + name = EVTOPT_MEDIUM_ARTIFACT_MONEY + + reverse_opinion = { + who = FROM + modifier = opinion_was_rewarded + years = 10 + } + opinion = { + who = FROM + modifier = opinion_found_medium_artifact + years = 5 + } + transfer_scaled_wealth = { + to = FROM + value = 0.5 + min = 35 + } + + add_artifact = mohammads_bowl + new_artifact = { + set_creation_date = 1.1.1 + } + } + + option = { #reward them with a favor + name = EVTOPT_MEDIUM_ARTIFACT_FAVOR + + reverse_opinion = { + who = FROM + modifier = opinion_was_rewarded + years = 10 + } + opinion = { + who = FROM + modifier = opinion_found_medium_artifact + years = 5 + } + reverse_add_favor = FROM + add_artifact = mohammads_bowl + new_artifact = { + set_creation_date = 1.1.1 + } + } + + option = { #praise them (prestige reward) + trigger = { + diplomacy = 15 + } + name = EVTOPT_MEDIUM_ARTIFACT_PRESTIGE + + reverse_opinion = { + who = FROM + modifier = opinion_was_praised + years = 10 + } + opinion = { + who = FROM + modifier = opinion_found_medium_artifact + years = 5 + } + FROM = { prestige = 50 } + random = { + chance = 20 + add_friend = FROM + } + add_artifact = mohammads_bowl + new_artifact = { + set_creation_date = 1.1.1 + } + } + after = { clr_artifact_flagsmodifiers_effect = yes } +} + +#Blessed Sandals +#Quality 4 +character_event = { + id = MNM.9851 + desc = EVTDESC_MNM_9851 + picture = GFX_evt_relic_box + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + has_dlc = "Mystics" + + option = { #it's their duty + name = EVTOPT_MEDIUM_ARTIFACT_DUTY + prestige = 10 + reverse_opinion = { + who = FROM + modifier = opinion_very_disappointed + years = 15 + } + add_artifact = blessed_sandals + new_artifact = { + set_creation_date = 1.1.1 + } + } + + option = { #monetary reward + name = EVTOPT_MEDIUM_ARTIFACT_MONEY + + reverse_opinion = { + who = FROM + modifier = opinion_was_rewarded + years = 10 + } + opinion = { + who = FROM + modifier = opinion_found_medium_artifact + years = 5 + } + transfer_scaled_wealth = { + to = FROM + value = 0.5 + min = 35 + } + + add_artifact = blessed_sandals + new_artifact = { + set_creation_date = 1.1.1 + } + } + + option = { #reward them with a favor + name = EVTOPT_MEDIUM_ARTIFACT_FAVOR + + reverse_opinion = { + who = FROM + modifier = opinion_was_rewarded + years = 10 + } + opinion = { + who = FROM + modifier = opinion_found_medium_artifact + years = 5 + } + reverse_add_favor = FROM + add_artifact = blessed_sandals + new_artifact = { + set_creation_date = 1.1.1 + } + } + + option = { #praise them (prestige reward) + trigger = { + diplomacy = 15 + } + name = EVTOPT_MEDIUM_ARTIFACT_PRESTIGE + + reverse_opinion = { + who = FROM + modifier = opinion_was_praised + years = 10 + } + opinion = { + who = FROM + modifier = opinion_found_medium_artifact + years = 5 + } + FROM = { prestige = 50 } + random = { + chance = 20 + add_friend = FROM + } + add_artifact = blessed_sandals + new_artifact = { + set_creation_date = 1.1.1 + } + } + after = { clr_artifact_flagsmodifiers_effect = yes } +} + +##Zoroastrian## + +#Cup of Jamshid +#Quality 5 +narrative_event = { + id = MNM.9830 + title = EVTNAME_MNM_9830 + desc = EVTDESC_MNM_9830 + picture = GFX_evt_relic_box + border = GFX_event_narrative_frame_religion + + is_triggered_only = yes + + has_dlc = "Mystics" + + option = { #it's their duty + name = EVTOPT_MAJOR_ARTIFACT_DUTY + prestige = 10 + reverse_opinion = { + who = FROM + modifier = opinion_extremely_disappointed + years = 20 + } + add_artifact = cup_of_jamshid + new_artifact = { + set_creation_date = 1.1.1 + } + } + + option = { #monetary reward + name = EVTOPT_MAJOR_ARTIFACT_MONEY + + reverse_opinion = { + who = FROM + modifier = opinion_was_rewarded + years = 15 + } + opinion = { + who = FROM + modifier = opinion_found_major_artifact + years = 5 + } + transfer_scaled_wealth = { + to = FROM + value = 1 + min = 50 + } + + add_artifact = cup_of_jamshid + new_artifact = { + set_creation_date = 1.1.1 + } + } + + option = { #reward them with a favor + name = EVTOPT_MAJOR_ARTIFACT_FAVOR + + reverse_opinion = { + who = FROM + modifier = opinion_was_rewarded + years = 15 + } + opinion = { + who = FROM + modifier = opinion_found_major_artifact + years = 5 + } + reverse_add_favor = FROM + add_artifact = cup_of_jamshid + new_artifact = { + set_creation_date = 1.1.1 + } + } + + option = { #praise them (prestige reward) + trigger = { + diplomacy = 15 + } + name = EVTOPT_MAJOR_ARTIFACT_PRESTIGE + + reverse_opinion = { + who = FROM + modifier = opinion_was_praised + years = 15 + } + opinion = { + who = FROM + modifier = opinion_found_major_artifact + years = 5 + } + FROM = { prestige = 100 } + random = { + chance = 20 + add_friend = FROM + } + add_artifact = cup_of_jamshid + new_artifact = { + set_creation_date = 1.1.1 + } + } + after = { clr_artifact_flagsmodifiers_effect = yes } +} + +#Babr-e-Bayan +#Quality 5 +narrative_event = { + id = MNM.9831 + title = EVTNAME_MNM_9831 + desc = EVTDESC_MNM_9831 + picture = GFX_evt_relic_box + border = GFX_event_narrative_frame_religion + + is_triggered_only = yes + + has_dlc = "Mystics" + + option = { #it's their duty + name = EVTOPT_MAJOR_ARTIFACT_DUTY + prestige = 10 + reverse_opinion = { + who = FROM + modifier = opinion_extremely_disappointed + years = 20 + } + add_artifact = babr_e_bayan + new_artifact = { + set_creation_date = 1.1.1 + } + } + + option = { #monetary reward + name = EVTOPT_MAJOR_ARTIFACT_MONEY + + reverse_opinion = { + who = FROM + modifier = opinion_was_rewarded + years = 15 + } + opinion = { + who = FROM + modifier = opinion_found_major_artifact + years = 5 + } + transfer_scaled_wealth = { + to = FROM + value = 1 + min = 50 + } + + add_artifact = babr_e_bayan + new_artifact = { + set_creation_date = 1.1.1 + } + } + + option = { #reward them with a favor + name = EVTOPT_MAJOR_ARTIFACT_FAVOR + + reverse_opinion = { + who = FROM + modifier = opinion_was_rewarded + years = 15 + } + opinion = { + who = FROM + modifier = opinion_found_major_artifact + years = 5 + } + reverse_add_favor = FROM + add_artifact = babr_e_bayan + new_artifact = { + set_creation_date = 1.1.1 + } + } + + option = { #praise them (prestige reward) + trigger = { + diplomacy = 15 + } + name = EVTOPT_MAJOR_ARTIFACT_PRESTIGE + + reverse_opinion = { + who = FROM + modifier = opinion_was_praised + years = 15 + } + opinion = { + who = FROM + modifier = opinion_found_major_artifact + years = 5 + } + FROM = { prestige = 100 } + random = { + chance = 20 + add_friend = FROM + } + add_artifact = babr_e_bayan + new_artifact = { + set_creation_date = 1.1.1 + } + } + after = { clr_artifact_flagsmodifiers_effect = yes } +} + +#Derafsh Kaviani +#Quality 4 +character_event = { + id = MNM.9832 + desc = EVTDESC_MNM_9832 + picture = GFX_evt_relic_box + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + has_dlc = "Mystics" + + option = { #it's their duty + name = EVTOPT_MEDIUM_ARTIFACT_DUTY + prestige = 10 + reverse_opinion = { + who = FROM + modifier = opinion_very_disappointed + years = 15 + } + add_artifact = derafsh_kaviani + new_artifact = { + set_creation_date = 1.1.1 + } + } + + option = { #monetary reward + name = EVTOPT_MEDIUM_ARTIFACT_MONEY + + reverse_opinion = { + who = FROM + modifier = opinion_was_rewarded + years = 10 + } + opinion = { + who = FROM + modifier = opinion_found_medium_artifact + years = 5 + } + transfer_scaled_wealth = { + to = FROM + value = 0.5 + min = 35 + } + + add_artifact = derafsh_kaviani + new_artifact = { + set_creation_date = 1.1.1 + } + } + + option = { #reward them with a favor + name = EVTOPT_MEDIUM_ARTIFACT_FAVOR + + reverse_opinion = { + who = FROM + modifier = opinion_was_rewarded + years = 10 + } + opinion = { + who = FROM + modifier = opinion_found_medium_artifact + years = 5 + } + reverse_add_favor = FROM + add_artifact = derafsh_kaviani + new_artifact = { + set_creation_date = 1.1.1 + } + } + + option = { #praise them (prestige reward) + trigger = { + diplomacy = 15 + } + name = EVTOPT_MEDIUM_ARTIFACT_PRESTIGE + + reverse_opinion = { + who = FROM + modifier = opinion_was_praised + years = 10 + } + opinion = { + who = FROM + modifier = opinion_found_medium_artifact + years = 5 + } + FROM = { prestige = 50 } + random = { + chance = 20 + add_friend = FROM + } + add_artifact = derafsh_kaviani + new_artifact = { + set_creation_date = 1.1.1 + } + } + after = { clr_artifact_flagsmodifiers_effect = yes } +} + +#Haoma Sapling +#Quality 2 +character_event = { + id = MNM.9833 + desc = EVTDESC_MNM_9833 + picture = GFX_evt_relic_box + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + has_dlc = "Mystics" + + option = { #it's their duty + name = EVTOPT_MINOR_ARTIFACT_DUTY + prestige = 10 + reverse_opinion = { + who = FROM + modifier = opinion_disappointed + years = 10 + } + add_artifact = haoma_sapling + new_artifact = { + set_creation_date = 1.1.1 + } + } + + option = { #monetary reward + name = EVTOPT_MINOR_ARTIFACT_MONEY + + reverse_opinion = { + who = FROM + modifier = opinion_was_rewarded + years = 5 + } + opinion = { + who = FROM + modifier = opinion_found_minor_artifact + years = 5 + } + transfer_scaled_wealth = { + to = FROM + value = 0.25 + min = 20 + } + + add_artifact = haoma_sapling + new_artifact = { + set_creation_date = 1.1.1 + } + } + + option = { #reward them with a favor + name = EVTOPT_MINOR_ARTIFACT_FAVOR + + reverse_opinion = { + who = FROM + modifier = opinion_was_rewarded + years = 5 + } + opinion = { + who = FROM + modifier = opinion_found_minor_artifact + years = 5 + } + reverse_add_favor = FROM + add_artifact = haoma_sapling + new_artifact = { + set_creation_date = 1.1.1 + } + } + + option = { #praise them (prestige reward) + trigger = { + diplomacy = 15 + } + name = EVTOPT_MINOR_ARTIFACT_PRESTIGE + + reverse_opinion = { + who = FROM + modifier = opinion_was_praised + years = 5 + } + opinion = { + who = FROM + modifier = opinion_found_minor_artifact + years = 5 + } + FROM = { prestige = 25 } + random = { + chance = 20 + add_friend = FROM + } + add_artifact = haoma_sapling + new_artifact = { + set_creation_date = 1.1.1 + } + } + after = { clr_artifact_flagsmodifiers_effect = yes } +} + +#Branch of the Keshmar Cypress +#Quality 1 +character_event = { + id = MNM.9834 + desc = EVTDESC_MNM_9834 + picture = GFX_evt_relic_box + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + has_dlc = "Mystics" + + option = { #it's their duty + name = EVTOPT_MINOR_ARTIFACT_DUTY + prestige = 10 + reverse_opinion = { + who = FROM + modifier = opinion_disappointed + years = 10 + } + add_artifact = keshmar_cypress_branch + new_artifact = { + set_creation_date = 1.1.1 + } + } + + option = { #monetary reward + name = EVTOPT_MINOR_ARTIFACT_MONEY + + reverse_opinion = { + who = FROM + modifier = opinion_was_rewarded + years = 5 + } + opinion = { + who = FROM + modifier = opinion_found_minor_artifact + years = 5 + } + transfer_scaled_wealth = { + to = FROM + value = 0.25 + min = 20 + } + + add_artifact = keshmar_cypress_branch + new_artifact = { + set_creation_date = 1.1.1 + } + } + + option = { #reward them with a favor + name = EVTOPT_MINOR_ARTIFACT_FAVOR + + reverse_opinion = { + who = FROM + modifier = opinion_was_rewarded + years = 5 + } + opinion = { + who = FROM + modifier = opinion_found_minor_artifact + years = 5 + } + reverse_add_favor = FROM + add_artifact = keshmar_cypress_branch + new_artifact = { + set_creation_date = 1.1.1 + } + } + + option = { #praise them (prestige reward) + trigger = { + diplomacy = 15 + } + name = EVTOPT_MINOR_ARTIFACT_PRESTIGE + + reverse_opinion = { + who = FROM + modifier = opinion_was_praised + years = 5 + } + opinion = { + who = FROM + modifier = opinion_found_minor_artifact + years = 5 + } + FROM = { prestige = 25 } + random = { + chance = 20 + add_friend = FROM + } + add_artifact = keshmar_cypress_branch + new_artifact = { + set_creation_date = 1.1.1 + } + } + after = { clr_artifact_flagsmodifiers_effect = yes } +} + +#Cyrus Cylinder +#Quality 3 +character_event = { + id = MNM.9852 + desc = EVTDESC_MNM_9852 + picture = GFX_evt_relic_box + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + has_dlc = "Mystics" + + option = { #it's their duty + name = EVTOPT_MEDIUM_ARTIFACT_DUTY + prestige = 10 + reverse_opinion = { + who = FROM + modifier = opinion_very_disappointed + years = 15 + } + add_artifact = cyrus_cylinder + new_artifact = { + set_creation_date = 1.1.1 + } + } + + option = { #monetary reward + name = EVTOPT_MEDIUM_ARTIFACT_MONEY + + reverse_opinion = { + who = FROM + modifier = opinion_was_rewarded + years = 10 + } + opinion = { + who = FROM + modifier = opinion_found_medium_artifact + years = 5 + } + transfer_scaled_wealth = { + to = FROM + value = 0.5 + min = 35 + } + + add_artifact = cyrus_cylinder + new_artifact = { + set_creation_date = 1.1.1 + } + } + + option = { #reward them with a favor + name = EVTOPT_MEDIUM_ARTIFACT_FAVOR + + reverse_opinion = { + who = FROM + modifier = opinion_was_rewarded + years = 10 + } + opinion = { + who = FROM + modifier = opinion_found_medium_artifact + years = 5 + } + reverse_add_favor = FROM + add_artifact = cyrus_cylinder + new_artifact = { + set_creation_date = 1.1.1 + } + } + + option = { #praise them (prestige reward) + trigger = { + diplomacy = 15 + } + name = EVTOPT_MEDIUM_ARTIFACT_PRESTIGE + + reverse_opinion = { + who = FROM + modifier = opinion_was_praised + years = 10 + } + opinion = { + who = FROM + modifier = opinion_found_medium_artifact + years = 5 + } + FROM = { prestige = 50 } + random = { + chance = 20 + add_friend = FROM + } + add_artifact = cyrus_cylinder + new_artifact = { + set_creation_date = 1.1.1 + } + } + after = { clr_artifact_flagsmodifiers_effect = yes } +} + +#Dharmic + +narrative_event = { #Buddhas' Tooth (or atleast one of them) + id = MNM.9200 + title = EVTNAME_MNM_9200 + desc = EVTDESC_MNM_9200 + picture = GFX_evt_relic_box + border = GFX_event_narrative_frame_religion + + is_triggered_only = yes + + has_dlc = "Mystics" + + option = { #it's their duty + name = EVTOPT_MAJOR_ARTIFACT_DUTY + prestige = 10 + reverse_opinion = { + who = FROM + modifier = opinion_extremely_disappointed + years = 20 + } + add_artifact = buddhas_tooth + new_artifact = { + set_creation_date = 1.1.1 + } + } + + option = { #monetary reward + name = EVTOPT_MAJOR_ARTIFACT_MONEY + + reverse_opinion = { + who = FROM + modifier = opinion_was_rewarded + years = 15 + } + opinion = { + who = FROM + modifier = opinion_found_major_artifact + years = 5 + } + transfer_scaled_wealth = { + to = FROM + value = 1 + min = 50 + } + + add_artifact = buddhas_tooth + new_artifact = { + set_creation_date = 1.1.1 + } + } + + option = { #reward them with a favor + name = EVTOPT_MAJOR_ARTIFACT_FAVOR + + reverse_opinion = { + who = FROM + modifier = opinion_was_rewarded + years = 15 + } + opinion = { + who = FROM + modifier = opinion_found_major_artifact + years = 5 + } + reverse_add_favor = FROM + add_artifact = buddhas_tooth + new_artifact = { + set_creation_date = 1.1.1 + } + } + + option = { #praise them (prestige reward) + trigger = { + diplomacy = 15 + } + name = EVTOPT_MAJOR_ARTIFACT_PRESTIGE + + reverse_opinion = { + who = FROM + modifier = opinion_was_praised + years = 15 + } + opinion = { + who = FROM + modifier = opinion_found_medium_artifact + years = 5 + } + FROM = { prestige = 50 } + random = { + chance = 20 + add_friend = FROM + } + add_artifact = buddhas_tooth + new_artifact = { + set_creation_date = 1.1.1 + } + } + after = { clr_artifact_flagsmodifiers_effect = yes } +} + +narrative_event = { #Mountain of Light - Huge Diamond, possibly the historical Mountain of Light/ Koh-i-Nohr + id = MNM.9201 + title = EVTNAME_MNM_9201 + desc = EVTDESC_MNM_9201 + picture = GFX_evt_relic_box + border = GFX_event_narrative_frame_religion + + is_triggered_only = yes + + has_dlc = "Mystics" + + option = { #it's their duty + name = EVTOPT_MEDIUM_ARTIFACT_DUTY + prestige = 10 + reverse_opinion = { + who = FROM + modifier = opinion_very_disappointed + years = 15 + } + add_artifact = mountain_of_light_diamond + new_artifact = { + set_creation_date = 1.1.1 + } + } + + option = { #monetary reward + name = EVTOPT_MEDIUM_ARTIFACT_MONEY + + reverse_opinion = { + who = FROM + modifier = opinion_was_rewarded + years = 10 + } + opinion = { + who = FROM + modifier = opinion_found_major_artifact + years = 5 + } + transfer_scaled_wealth = { + to = FROM + value = 0.5 + min = 35 + } + + add_artifact = mountain_of_light_diamond + new_artifact = { + set_creation_date = 1.1.1 + } + } + + option = { #reward them with a favor + name = EVTOPT_MEDIUM_ARTIFACT_FAVOR + + reverse_opinion = { + who = FROM + modifier = opinion_was_rewarded + years = 10 + } + opinion = { + who = FROM + modifier = opinion_found_major_artifact + years = 5 + } + reverse_add_favor = FROM + add_artifact = mountain_of_light_diamond + new_artifact = { + set_creation_date = 1.1.1 + } + } + + option = { #praise them (prestige reward) + trigger = { + diplomacy = 15 + } + name = EVTOPT_MEDIUM_ARTIFACT_PRESTIGE + + reverse_opinion = { + who = FROM + modifier = opinion_was_praised + years = 10 + } + opinion = { + who = FROM + modifier = opinion_found_major_artifact + years = 5 + } + FROM = { prestige = 100 } + random = { + chance = 20 + add_friend = FROM + } + add_artifact = mountain_of_light_diamond + new_artifact = { + set_creation_date = 1.1.1 + } + } + after = { clr_artifact_flagsmodifiers_effect = yes } +} + +character_event = { + id = MNM.9202 + desc = EVTDESC_MNM_9202 + picture = GFX_evt_relic_box + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + has_dlc = "Mystics" + + option = { #it's their duty + name = EVTOPT_MEDIUM_ARTIFACT_DUTY + prestige = 10 + reverse_opinion = { + who = FROM + modifier = opinion_very_disappointed + years = 15 + } + add_artifact = elaborate_danda + new_artifact = { + set_creation_date = 1.1.1 + } + } + + option = { #monetary reward + name = EVTOPT_MEDIUM_ARTIFACT_MONEY + + reverse_opinion = { + who = FROM + modifier = opinion_was_rewarded + years = 10 + } + opinion = { + who = FROM + modifier = opinion_found_medium_artifact + years = 5 + } + transfer_scaled_wealth = { + to = FROM + value = 0.5 + min = 35 + } + + add_artifact = elaborate_danda + new_artifact = { + set_creation_date = 1.1.1 + } + } + + option = { #reward them with a favor + name = EVTOPT_MEDIUM_ARTIFACT_FAVOR + + reverse_opinion = { + who = FROM + modifier = opinion_was_rewarded + years = 10 + } + opinion = { + who = FROM + modifier = opinion_found_medium_artifact + years = 5 + } + reverse_add_favor = FROM + add_artifact = elaborate_danda + new_artifact = { + set_creation_date = 1.1.1 + } + } + + option = { #praise them (prestige reward) + trigger = { + diplomacy = 15 + } + name = EVTOPT_MEDIUM_ARTIFACT_PRESTIGE + + reverse_opinion = { + who = FROM + modifier = opinion_was_praised + years = 10 + } + opinion = { + who = FROM + modifier = opinion_found_medium_artifact + years = 5 + } + FROM = { prestige = 50 } + random = { + chance = 20 + add_friend = FROM + } + add_artifact = elaborate_danda + new_artifact = { + set_creation_date = 1.1.1 + } + } + after = { clr_artifact_flagsmodifiers_effect = yes } +} + +character_event = { + id = MNM.9203 + desc = EVTDESC_MNM_9203 + picture = GFX_evt_relic_box + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + has_dlc = "Mystics" + + option = { #it's their duty + name = EVTOPT_MEDIUM_ARTIFACT_DUTY + prestige = 10 + reverse_opinion = { + who = FROM + modifier = opinion_very_disappointed + years = 15 + } + add_artifact = sarira + new_artifact = { + set_creation_date = 1.1.1 + } + } + + option = { #monetary reward + name = EVTOPT_MEDIUM_ARTIFACT_MONEY + + reverse_opinion = { + who = FROM + modifier = opinion_was_rewarded + years = 10 + } + opinion = { + who = FROM + modifier = opinion_found_medium_artifact + years = 5 + } + transfer_scaled_wealth = { + to = FROM + value = 0.5 + min = 35 + } + + add_artifact = sarira + new_artifact = { + set_creation_date = 1.1.1 + } + } + + option = { #reward them with a favor + name = EVTOPT_MEDIUM_ARTIFACT_FAVOR + + reverse_opinion = { + who = FROM + modifier = opinion_was_rewarded + years = 10 + } + opinion = { + who = FROM + modifier = opinion_found_medium_artifact + years = 5 + } + reverse_add_favor = FROM + add_artifact = sarira + new_artifact = { + set_creation_date = 1.1.1 + } + } + + option = { #praise them (prestige reward) + trigger = { + diplomacy = 15 + } + name = EVTOPT_MEDIUM_ARTIFACT_PRESTIGE + + reverse_opinion = { + who = FROM + modifier = opinion_was_praised + years = 10 + } + opinion = { + who = FROM + modifier = opinion_found_medium_artifact + years = 5 + } + FROM = { prestige = 50 } + random = { + chance = 20 + add_friend = FROM + } + add_artifact = sarira + new_artifact = { + set_creation_date = 1.1.1 + } + } + after = { clr_artifact_flagsmodifiers_effect = yes } +} + +character_event = { + id = MNM.9204 + desc = EVTDESC_MNM_9204 + picture = GFX_evt_relic_box + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + has_dlc = "Mystics" + + option = { #it's their duty + name = EVTOPT_MEDIUM_ARTIFACT_DUTY + prestige = 10 + reverse_opinion = { + who = FROM + modifier = opinion_very_disappointed + years = 15 + } + add_artifact = sariraka_actual_body_part + new_artifact = { + set_creation_date = 1.1.1 + } + } + + option = { #monetary reward + name = EVTOPT_MEDIUM_ARTIFACT_MONEY + + reverse_opinion = { + who = FROM + modifier = opinion_was_rewarded + years = 10 + } + opinion = { + who = FROM + modifier = opinion_found_medium_artifact + years = 5 + } + transfer_scaled_wealth = { + to = FROM + value = 0.5 + min = 35 + } + + add_artifact = sariraka_actual_body_part + new_artifact = { + set_creation_date = 1.1.1 + } + } + + option = { #reward them with a favor + name = EVTOPT_MEDIUM_ARTIFACT_FAVOR + + reverse_opinion = { + who = FROM + modifier = opinion_was_rewarded + years = 10 + } + opinion = { + who = FROM + modifier = opinion_found_medium_artifact + years = 5 + } + reverse_add_favor = FROM + add_artifact = sariraka_actual_body_part + new_artifact = { + set_creation_date = 1.1.1 + } + } + + option = { #praise them (prestige reward) + trigger = { + diplomacy = 15 + } + name = EVTOPT_MEDIUM_ARTIFACT_PRESTIGE + + reverse_opinion = { + who = FROM + modifier = opinion_was_praised + years = 10 + } + opinion = { + who = FROM + modifier = opinion_found_medium_artifact + years = 5 + } + FROM = { prestige = 50 } + random = { + chance = 20 + add_friend = FROM + } + add_artifact = sariraka_actual_body_part + new_artifact = { + set_creation_date = 1.1.1 + } + } + after = { clr_artifact_flagsmodifiers_effect = yes } +} + +##PAGAN## +#Germanic# + +#Gjallarhorn +character_event = { + id = MNM.9600 + desc = EVTDESC_MNM_9600 + picture = GFX_evt_pagan_artifacts + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + has_dlc = "Mystics" + + option = { #it's their duty + name = EVTOPT_MEDIUM_ARTIFACT_DUTY + prestige = 10 + reverse_opinion = { + who = FROM + modifier = opinion_very_disappointed + years = 15 + } + add_artifact = gjallarhorn + new_artifact = { + set_creation_date = 1.1.1 + } + } + + option = { #monetary reward + name = EVTOPT_MEDIUM_ARTIFACT_MONEY + + reverse_opinion = { + who = FROM + modifier = opinion_was_rewarded + years = 10 + } + opinion = { + who = FROM + modifier = opinion_found_medium_artifact + years = 5 + } + transfer_scaled_wealth = { + to = FROM + value = 0.5 + min = 35 + } + + add_artifact = gjallarhorn + new_artifact = { + set_creation_date = 1.1.1 + } + } + + option = { #reward them with a favor + name = EVTOPT_MEDIUM_ARTIFACT_FAVOR + + reverse_opinion = { + who = FROM + modifier = opinion_was_rewarded + years = 10 + } + opinion = { + who = FROM + modifier = opinion_found_medium_artifact + years = 5 + } + reverse_add_favor = FROM + add_artifact = gjallarhorn + new_artifact = { + set_creation_date = 1.1.1 + } + } + + option = { #praise them (prestige reward) + trigger = { + diplomacy = 15 + } + name = EVTOPT_MEDIUM_ARTIFACT_PRESTIGE + + reverse_opinion = { + who = FROM + modifier = opinion_was_praised + years = 10 + } + opinion = { + who = FROM + modifier = opinion_found_medium_artifact + years = 5 + } + FROM = { prestige = 50 } + random = { + chance = 20 + add_friend = FROM + } + add_artifact = gjallarhorn + new_artifact = { + set_creation_date = 1.1.1 + } + } + after = { clr_artifact_flagsmodifiers_effect = yes } +} + +#Andvaranaut/Andvari's Gift +narrative_event = { + id = MNM.9601 + title = EVTNAME_MNM_9601 + desc = EVTDESC_MNM_9601 + picture = GFX_evt_pagan_artifacts + border = GFX_event_narrative_frame_religion + + is_triggered_only = yes + + has_dlc = "Mystics" + + option = { #it's their duty + name = EVTOPT_MAJOR_ARTIFACT_DUTY + prestige = 10 + reverse_opinion = { + who = FROM + modifier = opinion_extremely_disappointed + years = 20 + } + add_artifact = andvaranaut + new_artifact = { + set_creation_date = 1.1.1 + } + } + + option = { #monetary reward + name = EVTOPT_MAJOR_ARTIFACT_MONEY + + reverse_opinion = { + who = FROM + modifier = opinion_was_rewarded + years = 15 + } + opinion = { + who = FROM + modifier = opinion_found_major_artifact + years = 5 + } + transfer_scaled_wealth = { + to = FROM + value = 1 + min = 50 + } + + add_artifact = andvaranaut + new_artifact = { + set_creation_date = 1.1.1 + } + } + + option = { #reward them with a favor + name = EVTOPT_MAJOR_ARTIFACT_FAVOR + + reverse_opinion = { + who = FROM + modifier = opinion_was_rewarded + years = 15 + } + opinion = { + who = FROM + modifier = opinion_found_major_artifact + years = 5 + } + reverse_add_favor = FROM + add_artifact = andvaranaut + new_artifact = { + set_creation_date = 1.1.1 + } + } + + option = { #praise them (prestige reward) + trigger = { + diplomacy = 15 + } + name = EVTOPT_MAJOR_ARTIFACT_PRESTIGE + + reverse_opinion = { + who = FROM + modifier = opinion_was_praised + years = 15 + } + opinion = { + who = FROM + modifier = opinion_found_major_artifact + years = 5 + } + FROM = { prestige = 100 } + random = { + chance = 20 + add_friend = FROM + } + add_artifact = andvaranaut + new_artifact = { + set_creation_date = 1.1.1 + } + } + after = { clr_artifact_flagsmodifiers_effect = yes } +} + +#Mjolnir +narrative_event = { + id = MNM.9602 + title = EVTNAME_MNM_9602 + desc = EVTDESC_MNM_9602 + picture = GFX_evt_pagan_artifacts + border = GFX_event_narrative_frame_religion + + is_triggered_only = yes + + has_dlc = "Mystics" + + option = { #it's their duty + name = EVTOPT_MAJOR_ARTIFACT_DUTY + prestige = 10 + reverse_opinion = { + who = FROM + modifier = opinion_extremely_disappointed + years = 20 + } + add_artifact = mjolnir + new_artifact = { + set_creation_date = 1.1.1 + } + } + + option = { #monetary reward + name = EVTOPT_MAJOR_ARTIFACT_MONEY + + reverse_opinion = { + who = FROM + modifier = opinion_was_rewarded + years = 15 + } + opinion = { + who = FROM + modifier = opinion_found_major_artifact + years = 5 + } + transfer_scaled_wealth = { + to = FROM + value = 1 + min = 50 + } + + add_artifact = mjolnir + new_artifact = { + set_creation_date = 1.1.1 + } + } + + option = { #reward them with a favor + name = EVTOPT_MAJOR_ARTIFACT_FAVOR + + reverse_opinion = { + who = FROM + modifier = opinion_was_rewarded + years = 15 + } + opinion = { + who = FROM + modifier = opinion_found_major_artifact + years = 5 + } + reverse_add_favor = FROM + add_artifact = mjolnir + new_artifact = { + set_creation_date = 1.1.1 + } + } + + option = { #praise them (prestige reward) + trigger = { + diplomacy = 15 + } + name = EVTOPT_MAJOR_ARTIFACT_PRESTIGE + + reverse_opinion = { + who = FROM + modifier = opinion_was_praised + years = 15 + } + opinion = { + who = FROM + modifier = opinion_found_major_artifact + years = 5 + } + FROM = { prestige = 100 } + random = { + chance = 20 + add_friend = FROM + } + add_artifact = mjolnir + new_artifact = { + set_creation_date = 1.1.1 + } + } + after = { clr_artifact_flagsmodifiers_effect = yes } +} + +#West African# + +#Fetish of Souls +narrative_event = { + id = MNM.9603 + title = EVTNAME_MNM_9603 + desc = EVTDESC_MNM_9603 + picture = GFX_evt_pagan_artifacts + border = GFX_event_narrative_frame_religion + + is_triggered_only = yes + + has_dlc = "Mystics" + + option = { #it's their duty + name = EVTOPT_MAJOR_ARTIFACT_DUTY + prestige = 10 + reverse_opinion = { + who = FROM + modifier = opinion_extremely_disappointed + years = 20 + } + add_artifact = fetish_of_souls + new_artifact = { + set_creation_date = 1.1.1 + } + } + + option = { #monetary reward + name = EVTOPT_MAJOR_ARTIFACT_MONEY + + reverse_opinion = { + who = FROM + modifier = opinion_was_rewarded + years = 15 + } + opinion = { + who = FROM + modifier = opinion_found_major_artifact + years = 5 + } + transfer_scaled_wealth = { + to = FROM + value = 1 + min = 50 + } + + add_artifact = fetish_of_souls + new_artifact = { + set_creation_date = 1.1.1 + } + } + + option = { #reward them with a favor + name = EVTOPT_MAJOR_ARTIFACT_FAVOR + + reverse_opinion = { + who = FROM + modifier = opinion_was_rewarded + years = 15 + } + opinion = { + who = FROM + modifier = opinion_found_major_artifact + years = 5 + } + reverse_add_favor = FROM + add_artifact = fetish_of_souls + new_artifact = { + set_creation_date = 1.1.1 + } + } + + option = { #praise them (prestige reward) + trigger = { + diplomacy = 15 + } + name = EVTOPT_MAJOR_ARTIFACT_PRESTIGE + + reverse_opinion = { + who = FROM + modifier = opinion_was_praised + years = 15 + } + opinion = { + who = FROM + modifier = opinion_found_major_artifact + years = 5 + } + FROM = { prestige = 100 } + random = { + chance = 20 + add_friend = FROM + } + add_artifact = fetish_of_souls + new_artifact = { + set_creation_date = 1.1.1 + } + } + after = { clr_artifact_flagsmodifiers_effect = yes } +} + +#Finnish# + +#Sampo +narrative_event = { + id = MNM.9604 + title = EVTNAME_MNM_9604 + desc = EVTDESC_MNM_9604 + picture = GFX_evt_pagan_artifacts + border = GFX_event_narrative_frame_religion + + is_triggered_only = yes + + has_dlc = "Mystics" + + option = { #it's their duty + name = EVTOPT_MAJOR_ARTIFACT_DUTY + prestige = 10 + reverse_opinion = { + who = FROM + modifier = opinion_extremely_disappointed + years = 20 + } + add_artifact = sampo + new_artifact = { + set_creation_date = 1.1.1 + } + } + + option = { #monetary reward + name = EVTOPT_MAJOR_ARTIFACT_MONEY + + reverse_opinion = { + who = FROM + modifier = opinion_was_rewarded + years = 15 + } + opinion = { + who = FROM + modifier = opinion_found_major_artifact + years = 5 + } + transfer_scaled_wealth = { + to = FROM + value = 1 + min = 50 + } + + add_artifact = sampo + new_artifact = { + set_creation_date = 1.1.1 + } + } + + option = { #reward them with a favor + name = EVTOPT_MAJOR_ARTIFACT_FAVOR + + reverse_opinion = { + who = FROM + modifier = opinion_was_rewarded + years = 15 + } + opinion = { + who = FROM + modifier = opinion_found_major_artifact + years = 5 + } + reverse_add_favor = FROM + add_artifact = sampo + new_artifact = { + set_creation_date = 1.1.1 + } + } + + option = { #praise them (prestige reward) + trigger = { + diplomacy = 15 + } + name = EVTOPT_MAJOR_ARTIFACT_PRESTIGE + + reverse_opinion = { + who = FROM + modifier = opinion_was_praised + years = 15 + } + opinion = { + who = FROM + modifier = opinion_found_major_artifact + years = 5 + } + FROM = { prestige = 100 } + random = { + chance = 20 + add_friend = FROM + } + add_artifact = sampo + new_artifact = { + set_creation_date = 1.1.1 + } + } + after = { clr_artifact_flagsmodifiers_effect = yes } +} + +#Slavic# + +#Axe of Perun +narrative_event = { + id = MNM.9605 + title = EVTNAME_MNM_9605 + desc = EVTDESC_MNM_9605 + picture = GFX_evt_pagan_artifacts + border = GFX_event_narrative_frame_religion + + is_triggered_only = yes + + has_dlc = "Mystics" + + option = { #it's their duty + name = EVTOPT_MAJOR_ARTIFACT_DUTY + prestige = 10 + reverse_opinion = { + who = FROM + modifier = opinion_extremely_disappointed + years = 20 + } + add_artifact = axe_of_perun + new_artifact = { + set_creation_date = 1.1.1 + } + } + + option = { #monetary reward + name = EVTOPT_MAJOR_ARTIFACT_MONEY + + reverse_opinion = { + who = FROM + modifier = opinion_was_rewarded + years = 15 + } + opinion = { + who = FROM + modifier = opinion_found_major_artifact + years = 5 + } + transfer_scaled_wealth = { + to = FROM + value = 1 + min = 50 + } + + add_artifact = axe_of_perun + new_artifact = { + set_creation_date = 1.1.1 + } + } + + option = { #reward them with a favor + name = EVTOPT_MAJOR_ARTIFACT_FAVOR + + reverse_opinion = { + who = FROM + modifier = opinion_was_rewarded + years = 15 + } + opinion = { + who = FROM + modifier = opinion_found_major_artifact + years = 5 + } + reverse_add_favor = FROM + add_artifact = axe_of_perun + new_artifact = { + set_creation_date = 1.1.1 + } + } + + option = { #praise them (prestige reward) + trigger = { + diplomacy = 15 + } + name = EVTOPT_MAJOR_ARTIFACT_PRESTIGE + + reverse_opinion = { + who = FROM + modifier = opinion_was_praised + years = 15 + } + opinion = { + who = FROM + modifier = opinion_found_major_artifact + years = 5 + } + FROM = { prestige = 100 } + random = { + chance = 20 + add_friend = FROM + } + add_artifact = axe_of_perun + new_artifact = { + set_creation_date = 1.1.1 + } + } + after = { clr_artifact_flagsmodifiers_effect = yes } +} + +#Romuva# + +#Axe of Perkunas +narrative_event = { + id = MNM.9606 + title = EVTNAME_MNM_9606 + desc = EVTDESC_MNM_9606 + picture = GFX_evt_pagan_artifacts + border = GFX_event_narrative_frame_religion + + is_triggered_only = yes + + has_dlc = "Mystics" + + option = { #it's their duty + name = EVTOPT_MAJOR_ARTIFACT_DUTY + prestige = 10 + reverse_opinion = { + who = FROM + modifier = opinion_extremely_disappointed + years = 20 + } + add_artifact = axe_of_perkunas + new_artifact = { + set_creation_date = 1.1.1 + } + } + + option = { #monetary reward + name = EVTOPT_MAJOR_ARTIFACT_MONEY + + reverse_opinion = { + who = FROM + modifier = opinion_was_rewarded + years = 15 + } + opinion = { + who = FROM + modifier = opinion_found_major_artifact + years = 5 + } + transfer_scaled_wealth = { + to = FROM + value = 1 + min = 50 + } + + add_artifact = axe_of_perkunas + new_artifact = { + set_creation_date = 1.1.1 + } + } + + option = { #reward them with a favor + name = EVTOPT_MAJOR_ARTIFACT_FAVOR + + reverse_opinion = { + who = FROM + modifier = opinion_was_rewarded + years = 15 + } + opinion = { + who = FROM + modifier = opinion_found_major_artifact + years = 5 + } + reverse_add_favor = FROM + add_artifact = axe_of_perkunas + new_artifact = { + set_creation_date = 1.1.1 + } + } + + option = { #praise them (prestige reward) + trigger = { + diplomacy = 15 + } + name = EVTOPT_MAJOR_ARTIFACT_PRESTIGE + + reverse_opinion = { + who = FROM + modifier = opinion_was_praised + years = 15 + } + opinion = { + who = FROM + modifier = opinion_found_major_artifact + years = 5 + } + FROM = { prestige = 100 } + random = { + chance = 20 + add_friend = FROM + } + add_artifact = axe_of_perkunas + new_artifact = { + set_creation_date = 1.1.1 + } + } + after = { clr_artifact_flagsmodifiers_effect = yes } +} + +#Tengri# + +#Yada Tashy +narrative_event = { + id = MNM.9607 + title = EVTNAME_MNM_9607 + desc = EVTDESC_MNM_9607 + picture = GFX_evt_pagan_artifacts + border = GFX_event_narrative_frame_religion + + is_triggered_only = yes + + has_dlc = "Mystics" + + option = { #it's their duty + name = EVTOPT_MAJOR_ARTIFACT_DUTY + prestige = 10 + reverse_opinion = { + who = FROM + modifier = opinion_extremely_disappointed + years = 20 + } + add_artifact = yada_tashy + new_artifact = { + set_creation_date = 1.1.1 + } + } + + option = { #monetary reward + name = EVTOPT_MAJOR_ARTIFACT_MONEY + + reverse_opinion = { + who = FROM + modifier = opinion_was_rewarded + years = 15 + } + opinion = { + who = FROM + modifier = opinion_found_major_artifact + years = 5 + } + transfer_scaled_wealth = { + to = FROM + value = 1 + min = 50 + } + + add_artifact = yada_tashy + new_artifact = { + set_creation_date = 1.1.1 + } + } + + option = { #reward them with a favor + name = EVTOPT_MAJOR_ARTIFACT_FAVOR + + reverse_opinion = { + who = FROM + modifier = opinion_was_rewarded + years = 15 + } + opinion = { + who = FROM + modifier = opinion_found_major_artifact + years = 5 + } + reverse_add_favor = FROM + add_artifact = yada_tashy + new_artifact = { + set_creation_date = 1.1.1 + } + } + + option = { #praise them (prestige reward) + trigger = { + diplomacy = 15 + } + name = EVTOPT_MAJOR_ARTIFACT_PRESTIGE + + reverse_opinion = { + who = FROM + modifier = opinion_was_praised + years = 15 + } + opinion = { + who = FROM + modifier = opinion_found_major_artifact + years = 5 + } + FROM = { prestige = 100 } + random = { + chance = 20 + add_friend = FROM + } + add_artifact = yada_tashy + new_artifact = { + set_creation_date = 1.1.1 + } + } + after = { clr_artifact_flagsmodifiers_effect = yes } +} + +###Seal of Solomon removes possession### +character_event = { + id = MNM.9815 + desc = EVTDESC_MNM_9815 + picture = GFX_evt_secluded_in_prayer + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + has_dlc = "Mystics" + + trigger = { + trait = possessed + has_artifact = seal_of_solomon + } + + option = { #remove possession + name = EVTOPTA_MNM_9815 + remove_trait = possessed + } + option = { #nah I'm good + name = EVTOPTB_MNM_9815 + } +} + +###Blessed Mantle allows you to make Water of the Blessed Mantle### +character_event = { + id = MNM.9816 + desc = EVTDESC_MNM_9816 + picture = GFX_evt_charity + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + has_dlc = "Mystics" + + trigger = { + AND = { + has_artifact = blessed_mantle + NOT = { has_artifact = water_of_blessed_mantle } + } + } + + option = { #Make Water of the Blessed Mantle! + name = EVTOPTA_MNM_9816 + wealth = -250 + decadence = 10 + add_artifact = water_of_blessed_mantle + } + option = { #nah + name = EVTOPTB_MNM_9816 + } +} + +###Crown jewels events### +character_event = { + id = MNM.9100 + desc = EVTDESC_MNM_9100 + picture = GFX_evt_treasure_chamber + border = GFX_event_normal_frame_economy + + hide_from = yes + is_triggered_only = yes + + has_dlc = "Mystics" + + min_age = 16 + only_playable = yes + only_capable = yes + + trigger = { + NOT = { any_artifact = { has_artifact_flag = crown_jewel } } + OR = { + religion_group = christian + religion_group = jewish_group + religion_group = muslim + religion = west_african_pagan + religion = west_african_pagan_reformed + religion_group = indian_group + religion_group = zoroastrian_group + religion = zun_pagan + religion = zun_pagan_reformed + religion = norse_pagan + religion = norse_pagan_reformed + religion = tengri_pagan + religion = tengri_pagan_reformed + religion = slavic_pagan + religion = slavic_pagan_reformed + religion = baltic_pagan + religion = baltic_pagan_reformed + religion = finnish_pagan + religion = finnish_pagan_reformed + } + } + + immediate = { #Selecting gender of the goldsmith + hidden_effect = { + random_list = { + 15 = { #Woman + modifier = { factor = 0 NOT = { any_realm_character = { is_female = yes } } } + modifier = { factor = 2 primary_title = { has_law = status_of_women_2 } } + modifier = { factor = 2 primary_title = { has_law = status_of_women_3 } } + modifier = { factor = 2 primary_title = { has_law = status_of_women_3 } } + modifier = { factor = 6 has_game_rule = { name = gender value = all } } + + random_realm_character = { limit = { is_female = yes } save_event_target_as = goldsmith_gender } + } + 85 = { #Man + modifier = { factor = 0 NOT = { any_realm_character = { is_female = no } } } + random_realm_character = { limit = { is_female = no } save_event_target_as = goldsmith_gender } + } + } + } + } + + #Yes, invite them! + option = { + name = EVTOPTA_MNM_9100 + custom_tooltip = { text = EVTOPTA_MNM_9100_TT } + + hidden_effect = { + save_event_target_as = goldsmith_employer + if = { + limit = { event_target:goldsmith_gender = { is_female = yes } } + + create_character = { + age = 45 + random_traits = no + female = yes + dynasty = none + trait = fortune_builder + trait = diligent + trait = honest + trait = quick + trait = greedy + } + new_character = { + save_event_target_as = goldsmith + } + + } + if = { + limit = { event_target:goldsmith_gender = { is_female = no } } + + create_character = { + age = 45 + random_traits = no + female = no + dynasty = none + trait = fortune_builder + trait = diligent + trait = honest + trait = quick + trait = greedy + } + new_character = { + save_event_target_as = goldsmith + } + } + event_target:goldsmith = { + give_nickname = nick_the_goldsmith + character_event = { id = MNM.9101 days = 7 } + character_event = { id = MNM.9102 } #gives spouse + } + } + } + + #Don't invite them + option = { + name = EVTOPTB_MNM_9100 + custom_tooltip = { text = EVTOPTB_MNM_9100_TT } + } +} + +#Ping event for goldsmith +character_event = { + id = MNM.9101 + hide_window = yes + is_triggered_only = yes + + has_dlc = "Mystics" + immediate = { event_target:goldsmith_employer = { character_event = { id = MNM.9103 } } } +} + +character_event = { + id = MNM.9102 + hide_window = yes + is_triggered_only = yes + + has_dlc = "Mystics" + immediate = { + if = { + limit = { is_female = yes } + create_random_steward = { + age = 47 + dynasty = none + female = no + random_traits = yes + } + new_character = { + fertility = -10000 + add_spouse = event_target:goldsmith + } + } + if = { + limit = { is_female = no } + create_random_steward = { + age = 43 + dynasty = none + female = yes + random_traits = yes + } + new_character = { + fertility = -10000 + add_spouse = event_target:goldsmith + } + } + } +} + +character_event = { + id = MNM.9103 + desc = EVTDESC_MNM_9103 + picture = GFX_evt_emissary + border = GFX_event_normal_frame_economy + + is_triggered_only = yes + + has_dlc = "Mystics" + + immediate = { + + } + + #The best money can buy + option = { + name = EVTOPTA_MNM_9103 + custom_tooltip = { text = EVTOPTA_MNM_9103_TT } + + scaled_wealth = { value = -5 min = -300 } + + hidden_effect = { + event_target:goldsmith = { set_character_flag = expensive_jewels } + set_character_flag = expensive_jewels + character_event = { id = MNM.9111 days = 1 } + + random_list = { + 40 = { #Success + modifier = { factor = 1.1 capital_scope = { any_province_holding = { has_building = ct_marketplace_1 } } } + modifier = { factor = 1.2 capital_scope = { any_province_holding = { has_building = ct_marketplace_2 } } } + modifier = { factor = 1.5 capital_scope = { any_province_holding = { has_building = ct_marketplace_3 } } } + modifier = { factor = 2 capital_scope = { any_province_holding = { has_building = ct_marketplace_4 } } } + modifier = { factor = 3 capital_scope = { any_province_holding = { has_building = ct_marketplace_5 } } } + modifier = { factor = 4 capital_scope = { any_province_holding = { has_building = ct_marketplace_6 } } } + modifier = { factor = 1.3 any_demesne_province = { has_trade_post = yes } } + modifier = { factor = 1.1 realm_size = 25 } + modifier = { factor = 1.2 realm_size = 50 } + modifier = { factor = 1.3 realm_size = 100 } + modifier = { factor = 1.5 realm_size = 150 } + modifier = { factor = 2 realm_size = 200 } + modifier = { factor = 3 realm_size = 300 } + + FROM = { character_event = { id = MNM.9104 days = 600 random = 300 } } + } + 60 = { #Fail + FROM = { character_event = { id = MNM.9108 days = 200 random = 100 } } + } + } + + } + ai_chance = { + factor = 33 + modifier = { + tier = EMPEROR + factor = 10 + } + modifier = { + OR = { + tier = KING + tier = DUKE + } + factor = 3 + } + modifier = { + NOR = { + wealth = 200 + yearly_income = 50 + } + factor = 0 + } + } + } + + #Something nice + option = { + name = EVTOPTB_MNM_9103 + custom_tooltip = { text = EVTOPTB_MNM_9103_TT } + + scaled_wealth = { value = -2.5 min = -150 } + + hidden_effect = { + event_target:goldsmith = { set_character_flag = good_jewels } + set_character_flag = good_jewels + character_event = { id = MNM.9111 days = 1 } + + random_list = { + 60 = { #Success + modifier = { factor = 1.2 capital_scope = { any_province_holding = { has_building = ct_marketplace_1 } } } + modifier = { factor = 1.5 capital_scope = { any_province_holding = { has_building = ct_marketplace_2 } } } + modifier = { factor = 2 capital_scope = { any_province_holding = { has_building = ct_marketplace_3 } } } + modifier = { factor = 3 capital_scope = { any_province_holding = { has_building = ct_marketplace_4 } } } + modifier = { factor = 5 capital_scope = { any_province_holding = { has_building = ct_marketplace_5 } } } + modifier = { factor = 6 capital_scope = { any_province_holding = { has_building = ct_marketplace_6 } } } + modifier = { factor = 1.4 any_demesne_province = { has_trade_post = yes } } + modifier = { factor = 1.1 realm_size = 10 } + modifier = { factor = 1.2 realm_size = 25 } + modifier = { factor = 1.3 realm_size = 50 } + modifier = { factor = 1.5 realm_size = 100 } + modifier = { factor = 2 realm_size = 150 } + modifier = { factor = 5 realm_size = 200 } + modifier = { factor = 10 realm_size = 300 } + + FROM = { character_event = { id = MNM.9104 days = 600 random = 300 } } + } + 40 = { #Fail + FROM = { character_event = { id = MNM.9108 days = 200 random = 100 } } + } + } + + } + ai_chance = { + factor = 33 + modifier = { + OR = { + tier = KING + tier = DUKE + } + factor = 10 + } + modifier = { + lower_tier_than = DUKE + factor = 3 + } + modifier = { + tier = EMPEROR + factor = 3 + } + modifier = { + NOR = { + wealth = 150 + yearly_income = 25 + } + factor = 0 + } + } + } + + #I can't afford that much + option = { + name = EVTOPTC_MNM_9103 + custom_tooltip = { text = EVTOPTC_MNM_9103_TT } + + scaled_wealth = { value = -1 min = -50 } + + hidden_effect = { + event_target:goldsmith = { set_character_flag = cheap_jewels } + set_character_flag = cheap_jewels + character_event = { id = MNM.9111 days = 1 } + + FROM = { character_event = { id = MNM.9104 days = 600 random = 300 } } + } + + ai_chance = { + factor = 33 + modifier = { + tier = COUNT + factor = 10 + } + modifier = { + OR = { + tier = KING + tier = DUKE + } + factor = 3 + } + modifier = { + NOR = { + wealth = 25 + yearly_income = 5 + religion_group = pagan_group + } + factor = 0 + } + } + } + + #Actually, no + option = { + name = EVTOPTD_MNM_9103 + custom_tooltip = { text = EVTOPTD_MNM_9103_TT } + + hidden_effect = { FROM = { character_event = { id = MNM.9110 days = 30 } } } + + ai_chance = { factor = 15 } + } +} + +#Ping event for success +character_event = { + id = MNM.9104 + hide_window = yes + + is_triggered_only = yes + + has_dlc = "Mystics" + + immediate = { + if = { + limit = { NOT = { event_target:goldsmith_employer = { is_alive = yes } } } + liege = { save_event_target_as = goldsmith_employer } + } + + trigger_switch = { + on_trigger = has_character_flag + expensive_jewels = { event_target:goldsmith_employer = { character_event = { id = MNM.9105 } } } + good_jewels = { event_target:goldsmith_employer = { character_event = { id = MNM.9106 } } } + cheap_jewels = { event_target:goldsmith_employer = { character_event = { id = MNM.9107 } } } + } + } +} + +#Amazing crown jewels +character_event = { + id = MNM.9105 + picture = GFX_evt_treasure_chamber + border = GFX_event_normal_frame_economy + + desc = { + trigger = { religion_group = christian } + text = EVTDESC_MNM_9105 + picture = GFX_evt_holy_emperor + } + desc = { + trigger = { NOT = { religion_group = christian } } + text = EVTDESC_MNM_9105 + picture = GFX_evt_treasure_chamber + } + + is_triggered_only = yes + + has_dlc = "Mystics" + + option = { + name = EVTOPTA_MNM_9105 + + if = { + limit = { + OR = { + religion_group = christian + religion_group = jewish_group + } + } + add_artifact = crown_of_majesty + add_artifact = emerald_scepter + add_artifact = sword_of_heroes + } + + if = { + limit = { + OR = { + religion_group = muslim + religion = west_african_pagan + religion = west_african_pagan_reformed + } + } + add_artifact = dagger_of_glory + add_artifact = ruby_bracelets + } + + if = { + limit = { religion_group = indian_group } + add_artifact = dagger_of_glory + add_artifact = celestial_necklace + } + + if = { + limit = { + OR = { + religion_group = zoroastrian_group + religion = zun_pagan + religion = zun_pagan_reformed + } + } + add_artifact = circlet_of_the_heavens + add_artifact = staff_of_majesty + } + + if = { + limit = { + OR = { + religion = norse_pagan + religion = norse_pagan_reformed + } + } + add_artifact = crown_of_crows + add_artifact = sword_of_heroes + } + + if = { + limit = { + OR = { + religion = tengri_pagan + religion = tengri_pagan_reformed + religion = slavic_pagan + religion = slavic_pagan_reformed + religion = baltic_pagan + religion = baltic_pagan_reformed + religion = finnish_pagan + religion = finnish_pagan_reformed + } + } + add_artifact = heros_crown + add_artifact = axe_of_the_ancestors + } + + hidden_effect = { + event_target:goldsmith = { character_event = { id = MNM.9110 days = 30 } } + clear_delayed_event = { id = MNM.9111 } + clr_character_flag = expensive_jewels + clr_character_flag = good_jewels + clr_character_flag = cheap_jewels + } + } +} + + +#Good crown jewels +character_event = { + id = MNM.9106 + picture = GFX_evt_treasure_chamber + border = GFX_event_normal_frame_economy + + is_triggered_only = yes + + desc = { + trigger = { religion_group = christian } + text = EVTDESC_MNM_9106 + picture = GFX_evt_holy_emperor + } + desc = { + trigger = { NOT = { religion_group = christian } } + text = EVTDESC_MNM_9106 + picture = GFX_evt_treasure_chamber + } + + has_dlc = "Mystics" + + option = { + name = EVTOPTA_MNM_9106 + + if = { + limit = { + OR = { + religion_group = christian + religion_group = jewish_group + } + } + add_artifact = crown_of_pearls + add_artifact = ruby_scepter + add_artifact = golden_sword + } + + if = { + limit = { + OR = { + religion_group = muslim + religion = west_african_pagan + religion = west_african_pagan_reformed + } + } + add_artifact = bejeweled_dagger + add_artifact = golden_bracelets + } + + if = { + limit = { religion_group = indian_group } + add_artifact = bejeweled_dagger + add_artifact = necklace_of_radiance + } + + if = { + limit = { + OR = { + religion_group = zoroastrian_group + religion = zun_pagan + religion = zun_pagan_reformed + } + } + add_artifact = circlet_of_the_heavens + add_artifact = golden_staff + } + + if = { + limit = { + OR = { + religion = norse_pagan + religion = norse_pagan_reformed + } + } + add_artifact = crown_of_the_sea + add_artifact = golden_sword + } + + if = { + limit = { + OR = { + religion = tengri_pagan + religion = tengri_pagan_reformed + religion = slavic_pagan + religion = slavic_pagan_reformed + religion = baltic_pagan + religion = baltic_pagan_reformed + religion = finnish_pagan + religion = finnish_pagan_reformed + } + } + add_artifact = amber_crown + add_artifact = obsidian_axe + } + + hidden_effect = { + event_target:goldsmith = { character_event = { id = MNM.9110 days = 30 } } + clear_delayed_event = { id = MNM.9111 } + clr_character_flag = expensive_jewels + clr_character_flag = good_jewels + clr_character_flag = cheap_jewels + } + } +} + +#Okay crown jewels +character_event = { + id = MNM.9107 + desc = EVTDESC_MNM_9107 + picture = GFX_evt_weaponsmith + border = GFX_event_normal_frame_economy + + + is_triggered_only = yes + + has_dlc = "Mystics" + + option = { + name = EVTOPTA_MNM_9107 + + if = { + limit = { + OR = { + religion_group = christian + religion_group = jewish_group + } + } + add_artifact = the_lily_crown + add_artifact = noble_scepter + add_artifact = engraved_sword + } + + if = { + limit = { + OR = { + religion_group = muslim + religion = west_african_pagan + religion = west_african_pagan_reformed + } + } + add_artifact = engraved_dagger + add_artifact = silver_bracelets + } + + if = { + limit = { religion_group = indian_group } + add_artifact = engraved_dagger + add_artifact = collar_of_pearls + } + + if = { + limit = { + OR = { + religion_group = zoroastrian_group + religion = zun_pagan + religion = zun_pagan_reformed + } + } + add_artifact = circlet_of_twilight + add_artifact = silver_staff + } + + if = { + limit = { + OR = { + religion = norse_pagan + religion = norse_pagan_reformed + } + } + add_artifact = iron_crown + add_artifact = engraved_sword + } + + if = { + limit = { + OR = { + religion = tengri_pagan + religion = tengri_pagan_reformed + religion = slavic_pagan + religion = slavic_pagan_reformed + religion = baltic_pagan + religion = baltic_pagan_reformed + religion = finnish_pagan + religion = finnish_pagan_reformed + } + } + add_artifact = engraved_crown + add_artifact = ceremonial_axe + } + + hidden_effect = { + event_target:goldsmith = { character_event = { id = MNM.9110 days = 30 } } + clear_delayed_event = { id = MNM.9111 } + clr_character_flag = expensive_jewels + clr_character_flag = good_jewels + clr_character_flag = cheap_jewels + } + } +} + +#Ping event for problems +character_event = { + id = MNM.9108 + hide_window = yes + + is_triggered_only = yes + + has_dlc = "Mystics" + + immediate = { + if = { + limit = { NOT = { event_target:goldsmith_employer = { is_alive = yes } } } + liege = { save_event_target_as = goldsmith_employer } + } + + event_target:goldsmith_employer = { character_event = { id = MNM.9109 } } + } +} + +#Problems +character_event = { + id = MNM.9109 + desc = EVTDESC_MNM_9109 + picture = GFX_evt_merchant_caravan + border = GFX_event_normal_frame_economy + + is_triggered_only = yes + + has_dlc = "Mystics" + + #I want my expensive stuff + option = { + trigger = { FROM = { has_character_flag = expensive_jewels } } + name = EVTOPTA_MNM_9109 + custom_tooltip = { text = EVTOPTA_MNM_9109_TT } + + scaled_wealth = { value = -3 min = -150 } + } + + #Settle for less expensive stuff + option = { + trigger = { FROM = { has_character_flag = expensive_jewels } } + name = EVTOPTB_MNM_9109 + custom_tooltip = { text = EVTOPTB_MNM_9109_TT } + + hidden_effect = { + FROM = { + clr_character_flag = expensive_jewels + set_character_flag = good_jewels + } + } + } + + #I want my good stuff + option = { + trigger = { FROM = { has_character_flag = good_jewels } } + name = EVTOPTC_MNM_9109 + custom_tooltip = { text = EVTOPTC_MNM_9109_TT } + + scaled_wealth = { value = -1.5 min = -100 } + } + + #Settle for less good stuff + option = { + trigger = { FROM = { has_character_flag = good_jewels } } + name = EVTOPTD_MNM_9109 + custom_tooltip = { text = EVTOPTD_MNM_9109_TT } + + hidden_effect = { + FROM = { + clr_character_flag = good_jewels + set_character_flag = cheap_jewels + } + } + } + + after = { hidden_effect = { FROM = { character_event = { id = MNM.9104 days = 600 random = 300 } } } } +} + +character_event = { + id = MNM.9110 + hide_window = yes + + is_triggered_only = yes + has_dlc = "Mystics" + + trigger = { + is_landed = no + } + + immediate = { + any_spouse = { + limit = { + dynasty = none + } + leave_court_and_die_effect = yes + } + leave_court_and_die_effect = yes + } +} + +#Ping event for checking if Goldsmith died +character_event = { + id = MNM.9111 + hide_window = yes + + is_triggered_only = yes + + has_dlc = "Mystics" + + immediate = { + if = { + limit = { + event_target:goldsmith = { is_alive = yes } + OR = { + has_character_flag = expensive_jewels + has_character_flag = good_jewels + has_character_flag = cheap_jewels + } + } + character_event = { id = MNM.9111 days = 1 } + } + if = { + limit = { + event_target:goldsmith = { is_alive = no } + OR = { + has_character_flag = expensive_jewels + has_character_flag = good_jewels + has_character_flag = cheap_jewels + } + } + character_event = { id = MNM.9112 } + } + } +} + +#Goldsmith died +character_event = { + id = MNM.9112 + desc = EVTDESC_MNM_9112 + picture = GFX_evt_weaponsmith + border = GFX_event_normal_frame_economy + + hide_from = yes + is_triggered_only = yes + + has_dlc = "Mystics" + + #Returned leftover money + option = { + trigger = { has_character_flag = expensive_jewels } + name = EVTOPTA_MNM_9112 + + scaled_wealth = { value = 3 min = 180 } + } + + #Returned leftover money + option = { + trigger = { has_character_flag = good_jewels } + name = EVTOPTB_MNM_9112 + + scaled_wealth = { value = 1.5 min = 90 } + } + + #Returned leftover money + option = { + trigger = { has_character_flag = cheap_jewels } + name = EVTOPTC_MNM_9112 + + scaled_wealth = { value = 0.5 min = 25 } + } + after = { + clr_character_flag = expensive_jewels + clr_character_flag = good_jewels + clr_character_flag = cheap_jewels + } +} + +###WEAPON EVENTS### +character_event = { + id = MNM.9115 + desc = EVTDESC_MNM_9115 + picture = GFX_evt_weaponsmith + border = GFX_event_normal_frame_economy + + hide_from = yes + is_triggered_only = yes + + has_dlc = "Mystics" + + min_age = 16 + only_rulers = yes + only_capable = yes + + trigger = { + NOT = { any_artifact = { has_artifact_flag = combat_weapon } } + job_marshal = { always = yes } + } + + immediate = { #Selecting gender of the weapon smith + hidden_effect = { + random_list = { + 15 = { #Woman + modifier = { factor = 0 NOT = { any_realm_character = { is_female = yes } } } + modifier = { factor = 2 primary_title = { has_law = status_of_women_2 } } + modifier = { factor = 2 primary_title = { has_law = status_of_women_3 } } + modifier = { factor = 2 primary_title = { has_law = status_of_women_3 } } + modifier = { factor = 6 has_game_rule = { name = gender value = all } } + + random_realm_character = { limit = { is_female = yes } save_event_target_as = weaponsmith_gender } + } + 85 = { #Man + modifier = { factor = 0 NOT = { any_realm_character = { is_female = no } } } + random_realm_character = { limit = { is_female = no } save_event_target_as = weaponsmith_gender } + } + } + } + + #Province for loc + random_province = { + limit = { owner = { is_within_diplo_range = ROOT } } + save_event_target_as = neighbor_province + } + random_demesne_province = { + limit = { any_neighbor_province = { NOT = { owner = { character = ROOT } } } } + random_neighbor_province = { + limit = { NOT = { owner = { character = ROOT } } } + save_event_target_as = neighbor_province + } + } + } + + #Yes, invite them! + option = { + name = EVTOPTA_MNM_9115 + custom_tooltip = { text = EVTOPTA_MNM_9115_TT } + + hidden_effect = { + save_event_target_as = weaponsmith_employer + if = { + limit = { event_target:weaponsmith_gender = { is_female = yes } } + + create_character = { + age = 45 + random_traits = no + female = yes + dynasty = none + trait = fortune_builder + trait = diligent + trait = strong + trait = honest + trait = brave + } + new_character = { + save_event_target_as = weaponsmith + } + + } + if = { + limit = { event_target:weaponsmith_gender = { is_female = no } } + + create_character = { + age = 45 + random_traits = no + female = no + dynasty = none + trait = fortune_builder + trait = diligent + trait = strong + trait = honest + trait = brave + } + new_character = { + save_event_target_as = weaponsmith + } + } + event_target:weaponsmith = { + give_nickname = nick_the_weaponsmith + character_event = { id = MNM.9116 days = 7 } + character_event = { id = MNM.9117 } #gives spouse + } + } + } + + #Don't invite them + option = { + name = EVTOPTB_MNM_9115 + custom_tooltip = { text = EVTOPTB_MNM_9115_TT } + } +} + +#Ping event for weaponsmith +character_event = { + id = MNM.9116 + hide_window = yes + is_triggered_only = yes + + has_dlc = "Mystics" + immediate = { event_target:weaponsmith_employer = { character_event = { id = MNM.9118 } } } +} + +#Spouse for weaponsmith +character_event = { + id = MNM.9117 + hide_window = yes + is_triggered_only = yes + + has_dlc = "Mystics" + immediate = { + if = { + limit = { is_female = yes } + create_random_steward = { + age = 47 + dynasty = none + female = no + random_traits = yes + } + new_character = { + fertility = -10000 + add_spouse = event_target:weaponsmith + } + } + if = { + limit = { is_female = no } + create_random_steward = { + age = 43 + dynasty = none + female = yes + random_traits = yes + } + new_character = { + fertility = -10000 + add_spouse = event_target:weaponsmith + } + } + } +} + +#What kind of weapon would you like? +character_event = { + id = MNM.9118 + desc = EVTDESC_MNM_9118 + picture = GFX_evt_weaponsmith + border = GFX_event_normal_frame_economy + + is_triggered_only = yes + + has_dlc = "Mystics" + + #Sword + option = { + trigger = { NOT = { religion_group = muslim } } + name = EVTOPTA_MNM_9118 + custom_tooltip = { text = EVTOPTA_MNM_9118_TT } + hidden_tooltip = { FROM = { set_character_flag = weapon_sword } } + ai_chance = { factor = 2 } + } + + #Scimitar + option = { + trigger = { religion_group = muslim } + name = EVTOPTB_MNM_9118 + custom_tooltip = { text = EVTOPTB_MNM_9118_TT } + hidden_tooltip = { FROM = { set_character_flag = weapon_scimitar } } + ai_chance = { factor = 2 } + } + + #Lance + option = { + name = EVTOPTC_MNM_9118 + custom_tooltip = { text = EVTOPTC_MNM_9118_TT } + hidden_tooltip = { FROM = { set_character_flag = weapon_lance } } + ai_chance = { + factor = 1 + modifier = { is_nomadic = yes factor = 2 } + } + } + + #Axe + option = { + name = EVTOPTD_MNM_9118 + custom_tooltip = { text = EVTOPTD_MNM_9118_TT } + hidden_tooltip = { FROM = { set_character_flag = weapon_axe } } + ai_chance = { + factor = 1 + modifier = { is_tribal = yes factor = 3 } + } + } + + #Mace + option = { + trigger = { is_nomadic = no } + name = EVTOPTE_MNM_9118 + custom_tooltip = { text = EVTOPTE_MNM_9118_TT } + hidden_tooltip = { FROM = { set_character_flag = weapon_mace } } + ai_chance = { + factor = 1 + modifier = { religion = norse_pagan factor = 5 } + modifier = { religion = norse_pagan_reformed factor = 5 } + } + } + + #Bow + option = { + trigger = { is_nomadic = yes } + name = EVTOPTF_MNM_9118 + custom_tooltip = { text = EVTOPTF_MNM_9118_TT } + hidden_tooltip = { FROM = { set_character_flag = weapon_bow } } + ai_chance = { factor = 5 } + } + + after = { + hidden_effect = { FROM = { character_event = { id = MNM.9119 days = 7 } } } + } +} + + +#Ping event for weaponsmith +character_event = { + id = MNM.9119 + hide_window = yes + is_triggered_only = yes + + has_dlc = "Mystics" + immediate = { event_target:weaponsmith_employer = { character_event = { id = MNM.9120 } } } +} + + +#And how much are you willing to pay? +character_event = { + id = MNM.9120 + desc = EVTDESC_MNM_9120 + picture = GFX_evt_weaponsmith + border = GFX_event_normal_frame_economy + + is_triggered_only = yes + + has_dlc = "Mystics" + + #THe best money can buy + option = { + name = EVTOPTA_MNM_9120 + + if = { + limit = { FROM = { has_character_flag = weapon_sword } } + custom_tooltip = { text = EVTOPTA_MNM_9120_TT_SWORDSCIMITAR } + } + if = { + limit = { FROM = { has_character_flag = weapon_scimitar } } + custom_tooltip = { text = EVTOPTA_MNM_9120_TT_SWORDSCIMITAR } + } + if = { + limit = { FROM = { has_character_flag = weapon_lance } } + custom_tooltip = { text = EVTOPTA_MNM_9120_TT_LANCE } + } + if = { + limit = { FROM = { has_character_flag = weapon_axe } } + custom_tooltip = { text = EVTOPTA_MNM_9120_TT_AXE } + } + if = { + limit = { FROM = { has_character_flag = weapon_mace } } + custom_tooltip = { text = EVTOPTA_MNM_9120_TT_MACE } + } + if = { + limit = { FROM = { has_character_flag = weapon_bow } } + custom_tooltip = { text = EVTOPTA_MNM_9120_TT_BOW } + } + + scaled_wealth = { value = -6 min = -400 } + + hidden_effect = { + event_target:weaponsmith = { set_character_flag = expensive_weapons } + set_character_flag = expensive_weapons + character_event = { id = MNM.9125 days = 1 } + + FROM = { character_event = { id = MNM.9121 days = 400 random = 200 } } + } + ai_chance = { + factor = 33 + modifier = { + tier = EMPEROR + factor = 10 + } + modifier = { + OR = { + tier = KING + tier = DUKE + } + factor = 3 + } + modifier = { + NOR = { + wealth = 400 + yearly_income = 40 + } + factor = 0 + } + } + } + + #Something nice + option = { + name = EVTOPTB_MNM_9120 + if = { + limit = { FROM = { has_character_flag = weapon_sword } } + custom_tooltip = { text = EVTOPTB_MNM_9120_TT_SWORDSCIMITAR } + } + if = { + limit = { FROM = { has_character_flag = weapon_scimitar } } + custom_tooltip = { text = EVTOPTB_MNM_9120_TT_SWORDSCIMITAR } + } + if = { + limit = { FROM = { has_character_flag = weapon_lance } } + custom_tooltip = { text = EVTOPTB_MNM_9120_TT_LANCE } + } + if = { + limit = { FROM = { has_character_flag = weapon_axe } } + custom_tooltip = { text = EVTOPTB_MNM_9120_TT_AXE } + } + if = { + limit = { FROM = { has_character_flag = weapon_mace } } + custom_tooltip = { text = EVTOPTB_MNM_9120_TT_MACE } + } + if = { + limit = { FROM = { has_character_flag = weapon_bow } } + custom_tooltip = { text = EVTOPTB_MNM_9120_TT_BOW } + } + + scaled_wealth = { value = -3 min = -180 } + + hidden_effect = { + event_target:weaponsmith = { set_character_flag = good_weapons } + set_character_flag = good_weapons + character_event = { id = MNM.9125 days = 1 } + + FROM = { character_event = { id = MNM.9121 days = 400 random = 200 } } + } + ai_chance = { + factor = 33 + modifier = { + OR = { + tier = KING + tier = DUKE + } + factor = 10 + } + modifier = { + lower_tier_than = DUKE + factor = 3 + } + modifier = { + tier = EMPEROR + factor = 3 + } + modifier = { + NOR = { + wealth = 180 + yearly_income = 18 + } + factor = 0 + } + } + } + + #I can't afford that much + option = { + name = EVTOPTC_MNM_9120 + if = { + limit = { FROM = { NOT = { has_character_flag = weapon_bow } } } + custom_tooltip = { text = EVTOPTC_MNM_9120_TT_SWORDSCIMITAR } + } + if = { + limit = { FROM = { has_character_flag = weapon_bow } } + custom_tooltip = { text = EVTOPTC_MNM_9120_TT_BOW } + } + + scaled_wealth = { value = -1.5 min = -75 } + + hidden_effect = { + event_target:weaponsmith = { set_character_flag = cheap_weapons } + set_character_flag = cheap_weapons + character_event = { id = MNM.9125 days = 1 } + + FROM = { character_event = { id = MNM.9121 days = 400 random = 200 } } + } + + ai_chance = { + factor = 33 + modifier = { + tier = COUNT + factor = 10 + } + modifier = { + OR = { + tier = KING + tier = DUKE + } + factor = 3 + } + modifier = { + NOR = { + wealth = 75 + yearly_income = 7.5 + religion_group = pagan_group + } + factor = 0 + } + } + } + + #Actually, no + option = { + name = EVTOPTD_MNM_9120 + custom_tooltip = { text = EVTOPTD_MNM_9120_TT } + + ai_chance = { + factor = 15 + modifier = { + NOR = { + has_education_martial_trigger = yes + has_lifestyle_martial_trigger = yes + } + factor = 20 + } + } + + hidden_effect = { FROM = { character_event = { id = MNM.9110 days = 30 } } } + } +} + +#Ping event for success +character_event = { + id = MNM.9121 + hide_window = yes + + is_triggered_only = yes + + has_dlc = "Mystics" + + immediate = { + if = { + limit = { NOT = { event_target:weaponsmith_employer = { is_alive = yes } } } + liege = { save_event_target_as = weaponsmith_employer } + } + + trigger_switch = { + on_trigger = has_character_flag + expensive_weapons = { event_target:weaponsmith_employer = { character_event = { id = MNM.9122 } } } + good_weapons = { event_target:weaponsmith_employer = { character_event = { id = MNM.9123 } } } + cheap_weapons = { event_target:weaponsmith_employer = { character_event = { id = MNM.9124 } } } + } + + character_event = { id = MNM.9110 days = 30 } + } +} + +#Expensive weapon done +character_event = { + id = MNM.9122 + desc = EVTDESC_MNM_9122 + picture = GFX_evt_weaponsmith + border = GFX_event_normal_frame_economy + + is_triggered_only = yes + + has_dlc = "Mystics" + + option = { + name = { + text = EVTOPTA_MNM_9122_SWORD + trigger = { FROM = { has_character_flag = weapon_sword } } + } + name = { + text = EVTOPTA_MNM_9122_SCIMITAR + trigger = { FROM = { has_character_flag = weapon_scimitar } } + } + name = { + text = EVTOPTA_MNM_9122_LANCE + trigger = { FROM = { has_character_flag = weapon_lance } } + } + name = { + text = EVTOPTA_MNM_9122_AXE + trigger = { FROM = { has_character_flag = weapon_axe } } + } + name = { + text = EVTOPTA_MNM_9122_MACE + trigger = { FROM = { has_character_flag = weapon_mace } } + } + name = { + text = EVTOPTA_MNM_9122_BOW + trigger = { FROM = { has_character_flag = weapon_bow } } + } + + if = { + limit = { FROM = { has_character_flag = weapon_sword } } + add_artifact = sword_tier_3_heartseeker + } + if = { + limit = { FROM = { has_character_flag = weapon_scimitar } } + add_artifact = scimitar_tier_3_golden + } + if = { + limit = { FROM = { has_character_flag = weapon_lance } } + add_artifact = lance_tier_3_impaler + } + if = { + limit = { FROM = { has_character_flag = weapon_axe } } + add_artifact = axe_tier_3_cleaver + } + if = { + limit = { FROM = { has_character_flag = weapon_mace } } + add_artifact = mace_tier_3_foe_hammer + } + if = { + limit = { FROM = { has_character_flag = weapon_bow } } + add_artifact = bow_tier_3_silent_wind + } + } + + option = { + name = { + text = EVTOPTB_MNM_9122_SWORD + trigger = { FROM = { has_character_flag = weapon_sword } } + } + name = { + text = EVTOPTB_MNM_9122_SCIMITAR + trigger = { FROM = { has_character_flag = weapon_scimitar } } + } + name = { + text = EVTOPTB_MNM_9122_LANCE + trigger = { FROM = { has_character_flag = weapon_lance } } + } + name = { + text = EVTOPTB_MNM_9122_AXE + trigger = { FROM = { has_character_flag = weapon_axe } } + } + name = { + text = EVTOPTB_MNM_9122_MACE + trigger = { FROM = { has_character_flag = weapon_mace } } + } + name = { + text = EVTOPTB_MNM_9122_BOW + trigger = { FROM = { has_character_flag = weapon_bow } } + } + + if = { + limit = { FROM = { has_character_flag = weapon_sword } } + add_artifact = sword_tier_3_vengeance + } + if = { + limit = { FROM = { has_character_flag = weapon_scimitar } } + add_artifact = scimitar_tier_3_fortune + } + if = { + limit = { FROM = { has_character_flag = weapon_lance } } + add_artifact = lance_tier_3_trident + } + if = { + limit = { FROM = { has_character_flag = weapon_axe } } + add_artifact = axe_tier_3_ravager + } + if = { + limit = { FROM = { has_character_flag = weapon_mace } } + add_artifact = mace_tier_3_bone_breaker + } + if = { + limit = { FROM = { has_character_flag = weapon_bow } } + add_artifact = bow_tier_3_lightning + } + } + + option = { + name = { + text = EVTOPTC_MNM_9122_SWORD + trigger = { FROM = { has_character_flag = weapon_sword } } + } + name = { + text = EVTOPTC_MNM_9122_SCIMITAR + trigger = { FROM = { has_character_flag = weapon_scimitar } } + } + name = { + text = EVTOPTC_MNM_9122_LANCE + trigger = { FROM = { has_character_flag = weapon_lance } } + } + name = { + text = EVTOPTC_MNM_9122_AXE + trigger = { FROM = { has_character_flag = weapon_axe } } + } + name = { + text = EVTOPTC_MNM_9122_MACE + trigger = { FROM = { has_character_flag = weapon_mace } } + } + name = { + text = EVTOPTC_MNM_9122_BOW + trigger = { FROM = { has_character_flag = weapon_bow } } + } + + if = { + limit = { FROM = { has_character_flag = weapon_sword } } + add_artifact = sword_tier_3_fury + } + if = { + limit = { FROM = { has_character_flag = weapon_scimitar } } + add_artifact = scimitar_tier_3_conquest + } + if = { + limit = { FROM = { has_character_flag = weapon_lance } } + add_artifact = lance_tier_3_piercer + } + if = { + limit = { FROM = { has_character_flag = weapon_axe } } + add_artifact = axe_tier_3_marauder + } + if = { + limit = { FROM = { has_character_flag = weapon_mace } } + add_artifact = mace_tier_3_shatterer + } + if = { + limit = { FROM = { has_character_flag = weapon_bow } } + add_artifact = bow_tier_3_eagle + } + } + after = { + hidden_effect = { FROM = { character_event = { id = MNM.9127 days = 30 } } } + clear_delayed_event = { id = MNM.9125 } + clr_character_flag = expensive_weapons + clr_character_flag = good_weapons + clr_character_flag = cheap_weapons + } +} + +#Good weapon done +character_event = { + id = MNM.9123 + desc = EVTDESC_MNM_9123 + picture = GFX_evt_weaponsmith + border = GFX_event_normal_frame_economy + + is_triggered_only = yes + + has_dlc = "Mystics" + + option = { + name = EVTOPTA_MNM_9123 + + if = { + limit = { FROM = { has_character_flag = weapon_sword } } + add_artifact = sword_tier_2 + } + if = { + limit = { FROM = { has_character_flag = weapon_scimitar } } + add_artifact = scimitar_tier_2 + } + if = { + limit = { FROM = { has_character_flag = weapon_lance } } + add_artifact = lance_tier_2 + } + if = { + limit = { FROM = { has_character_flag = weapon_axe } } + add_artifact = axe_tier_2 + } + if = { + limit = { FROM = { has_character_flag = weapon_mace } } + add_artifact = mace_tier_2 + } + if = { + limit = { FROM = { has_character_flag = weapon_bow } } + add_artifact = bow_tier_2 + } + } + after = { + hidden_effect = { FROM = { character_event = { id = MNM.9127 days = 30 } } } + clear_delayed_event = { id = MNM.9125 } + clr_character_flag = expensive_weapons + clr_character_flag = good_weapons + clr_character_flag = cheap_weapons + } +} + + +#Cheap weapon done +character_event = { + id = MNM.9124 + desc = EVTDESC_MNM_9124 + picture = GFX_evt_weaponsmith + border = GFX_event_normal_frame_economy + + is_triggered_only = yes + + has_dlc = "Mystics" + + option = { + name = EVTOPTA_MNM_9124 + + if = { + limit = { FROM = { has_character_flag = weapon_sword } } + add_artifact = sword_tier_1 + } + if = { + limit = { FROM = { has_character_flag = weapon_scimitar } } + add_artifact = scimitar_tier_1 + } + if = { + limit = { FROM = { has_character_flag = weapon_lance } } + add_artifact = lance_tier_1 + } + if = { + limit = { FROM = { has_character_flag = weapon_axe } } + add_artifact = axe_tier_1 + } + if = { + limit = { FROM = { has_character_flag = weapon_mace } } + add_artifact = mace_tier_1 + } + if = { + limit = { FROM = { has_character_flag = weapon_bow } } + add_artifact = bow_tier_1 + } + } + after = { + hidden_effect = { FROM = { character_event = { id = MNM.9127 days = 30 } } } + clear_delayed_event = { id = MNM.9125 } + clr_character_flag = expensive_weapons + clr_character_flag = good_weapons + clr_character_flag = cheap_weapons + } +} + +#Ping event for checking if Weaponsmith died +character_event = { + id = MNM.9125 + hide_window = yes + + is_triggered_only = yes + + has_dlc = "Mystics" + + immediate = { + if = { + limit = { + event_target:weaponsmith = { is_alive = yes } + OR = { + has_character_flag = expensive_weapons + has_character_flag = good_weapons + has_character_flag = cheap_weapons + } + } + character_event = { id = MNM.9125 days = 1 } + } + if = { + limit = { + event_target:weaponsmith = { is_alive = no } + OR = { + has_character_flag = expensive_weapons + has_character_flag = good_weapons + has_character_flag = cheap_weapons + } + } + character_event = { id = MNM.9126 } + } + } +} + +#Weaponsmith died +character_event = { + id = MNM.9126 + desc = EVTDESC_MNM_9112 + picture = GFX_evt_weaponsmith + border = GFX_event_normal_frame_economy + + hide_from = yes + + is_triggered_only = yes + + has_dlc = "Mystics" + + #Returned leftover money + option = { + trigger = { has_character_flag = expensive_weapons } + name = EVTOPTA_MNM_9112 + + scaled_wealth = { value = 3.5 min = 230 } + } + + #Returned leftover money + option = { + trigger = { has_character_flag = good_weapons } + name = EVTOPTB_MNM_9112 + + scaled_wealth = { value = 1.8 min = 100 } + } + + #Returned leftover money + option = { + trigger = { has_character_flag = cheap_weapons } + name = EVTOPTC_MNM_9112 + + scaled_wealth = { value = 0.8 min = 40 } + } + after = { + clr_character_flag = expensive_weapons + clr_character_flag = good_weapons + clr_character_flag = cheap_weapons + } +} + +character_event = { + id = MNM.9127 + hide_window = yes + + is_triggered_only = yes + has_dlc = "Mystics" + + trigger = { + is_landed = no + } + + immediate = { + any_spouse = { + limit = { + dynasty = none + } + leave_court_and_die_effect = yes + } + leave_court_and_die_effect = yes + } +} + +character_event = { + id = MNM.9899 + hide_window = yes + + is_triggered_only = yes + has_dlc = "Mystics" + + immediate = { + set_character_flag = looted_by_raiding_holding + repeat_event = { id = MNM.9900 } + } +} + +character_event = { + id = MNM.9900 + hide_window = yes + + is_triggered_only = yes + has_dlc = "Mystics" + + immediate = { + save_event_target_as = looter + FROM = { + location = { + save_event_target_as = target_location + } + } + log = "Chance to lose an artifact on_action fired for the leader: [This.GetBestName] on the holding: [From.GetName]" + FROM = { + save_event_target_as = target_title + holder_scope = { + if = { + limit = { + OR = { + character = ROOT + is_liege_or_above = ROOT + } + } + break = yes + } + if = { + limit = { + capital_holding = { + title = PREVPREV # Sieged province is the capital of the owner. + } + } + #log = "Chance to lose an artifact on_action fired for the capital of [This.GetBestName]" + if = { + limit = { + num_of_artifacts = 1 + } + character_event = { id = MNM.9901 } # Chance to lose an artifact. + } + any_courtier = { + limit = { + num_of_artifacts = 1 + at_location = event_target:target_location + prisoner = no + } + character_event = { id = MNM.9901 } # Chance to lose an artifact. + } + } + } + } + } +} + +character_event = { + id = MNM.9901 + + hide_window = yes + + is_triggered_only = yes + + immediate = { + save_event_target_as = original_item_owner + random_list = { + 100 = { + modifier = { + factor = 0 + NOT = { + any_artifact = { + quality == 1 + NOT = { + artifact_type_owned_by = FROM + } + } + } + } + FROM = { + character_event = { id = MNM.9902 } + } + } + 70 = { + modifier = { + factor = 0 + NOT = { + any_artifact = { + quality == 2 + NOT = { + artifact_type_owned_by = FROM + } + } + } + } + FROM = { + character_event = { id = MNM.9904 } + } + } + 45 = { + modifier = { + factor = 0 + NOT = { + any_artifact = { + quality == 3 + } + } + } + FROM = { + character_event = { id = MNM.9906 } + } + } + 25 = { + modifier = { + factor = 0 + NOT = { + any_artifact = { + quality == 4 + } + } + } + FROM = { + character_event = { id = MNM.9908 } + } + } + 10 = { + modifier = { + factor = 0 + NOT = { + any_artifact = { + quality == 5 + } + } + } + FROM = { + character_event = { id = MNM.9910 } + } + } + + 6000 = { #chance of no artifact stealing + modifier = { + factor = 0.2 + FROM = { has_character_flag = looted_by_raiding_holding } + } + modifier = { + factor = 0.8 + num_of_artifacts = 3 + } + modifier = { + factor = 0.8 + num_of_artifacts = 4 + } + modifier = { + factor = 0.8 + num_of_artifacts = 5 + } + modifier = { + factor = 0.8 + num_of_artifacts = 6 + } + modifier = { + factor = 0.8 + num_of_artifacts = 7 + } + modifier = { + factor = 0.8 + num_of_artifacts = 8 + } + modifier = { + factor = 0.8 + num_of_artifacts = 9 + } + modifier = { + factor = 0.8 + num_of_artifacts = 10 + } + modifier = { + factor = 0.5 + NOT = { + any_artifact = { + quality == 1 + } + } + } + modifier = { + factor = 0.65 + NOT = { + any_artifact = { + quality == 2 + } + } + } + modifier = { + factor = 0.775 + NOT = { + any_artifact = { + quality == 3 + } + } + } + modifier = { + factor = 0.875 + NOT = { + any_artifact = { + quality == 4 + } + } + } + modifier = { + factor = 0.95 + NOT = { + any_artifact = { + quality == 5 + } + } + } + } + } + FROM = { + clr_character_flag = looted_by_raiding_holding + } + } +} + +character_event = { + id = MNM.9902 + desc = { + text = EVTDESC_MNM_9902_A + trigger = { + looting_artifact_event_religious_artifacts_trigger = no + } + } + desc = { + text = EVTDESC_MNM_9902_B + trigger = { + looting_artifact_event_religious_artifacts_trigger = yes + } + } + picture = GFX_evt_relic_box + border = GFX_event_normal_frame_war + + is_triggered_only = yes + + immediate = { + FROM = { + random_artifact = { + limit = { + quality == 1 + NOT = { + artifact_type_owned_by = ROOT + } + } + set_artifact_flag = looted_artifact_tooltip_1 + set_artifact_flag = looted_artifact_tooltip_2 + transfer_artifact = { + from = PREV + to = ROOT + } + } + character_event = { id = MNM.9903 } + } + } + + option = { + name = { + text = EVTOPTA_MNM_9902 + trigger = { + looting_artifact_event_religious_artifacts_trigger = no + } + } + name = { + text = EVTOPTB_MNM_9902 + trigger = { + looting_artifact_event_religious_artifacts_trigger = yes + } + } + tooltip = { + random_artifact = { + limit = { + has_artifact_flag = looted_artifact_tooltip_1 + } + transfer_artifact = { + from = FROM + to = ROOT + } + } + } + hidden_effect = { + random_artifact = { + limit = { + has_artifact_flag = looted_artifact_tooltip_1 + } + clr_artifact_flag = looted_artifact_tooltip_1 + } + } + } +} + +character_event = { + id = MNM.9903 + desc = EVTDESC_MNM_9903 + picture = GFX_evt_relic_box + border = GFX_event_normal_frame_war + + is_triggered_only = yes + + option = { + name = EVTOPTA_MNM_9903 + tooltip = { + FROM = { + random_artifact = { + limit = { + has_artifact_flag = looted_artifact_tooltip_2 + } + transfer_artifact = { + from = ROOT + to = THIS + } + } + } + } + hidden_effect = { + FROM = { + random_artifact = { + limit = { + has_artifact_flag = looted_artifact_tooltip_2 + } + clr_artifact_flag = looted_artifact_tooltip_2 + } + } + } + } +} + +character_event = { + id = MNM.9904 + desc = { + text = EVTDESC_MNM_9902_A + trigger = { + looting_artifact_event_religious_artifacts_trigger = no + } + } + desc = { + text = EVTDESC_MNM_9902_B + trigger = { + looting_artifact_event_religious_artifacts_trigger = yes + } + } + picture = GFX_evt_relic_box + border = GFX_event_normal_frame_war + + is_triggered_only = yes + + immediate = { + FROM = { + random_artifact = { + limit = { + quality == 2 + NOT = { + artifact_type_owned_by = ROOT + } + } + set_artifact_flag = looted_artifact_tooltip_1 + set_artifact_flag = looted_artifact_tooltip_2 + transfer_artifact = { + from = PREV + to = ROOT + } + } + character_event = { id = MNM.9903 } + } + } + + option = { + name = { + text = EVTOPTA_MNM_9902 + trigger = { + looting_artifact_event_religious_artifacts_trigger = no + } + } + name = { + text = EVTOPTB_MNM_9902 + trigger = { + looting_artifact_event_religious_artifacts_trigger = yes + } + } + tooltip = { + random_artifact = { + limit = { + has_artifact_flag = looted_artifact_tooltip_1 + } + transfer_artifact = { + from = FROM + to = ROOT + } + } + } + hidden_effect = { + random_artifact = { + limit = { + has_artifact_flag = looted_artifact_tooltip_1 + } + clr_artifact_flag = looted_artifact_tooltip_1 + } + } + } +} + +character_event = { + id = MNM.9905 + desc = EVTDESC_MNM_9903 + picture = GFX_evt_relic_box + border = GFX_event_normal_frame_war + + is_triggered_only = yes + + option = { + name = EVTOPTA_MNM_9903 + tooltip = { + FROM = { + random_artifact = { + limit = { + has_artifact_flag = looted_artifact_tooltip_2 + } + transfer_artifact = { + from = ROOT + to = THIS + } + } + } + } + hidden_effect = { + FROM = { + random_artifact = { + limit = { + has_artifact_flag = looted_artifact_tooltip_2 + } + clr_artifact_flag = looted_artifact_tooltip_2 + } + } + } + } +} + +character_event = { + id = MNM.9906 + desc = { + text = EVTDESC_MNM_9906_A + trigger = { + NOT = { has_character_flag = looted_artifact_destroy_duplicate } + looting_artifact_event_religious_artifacts_trigger = no + } + } + desc = { + text = EVTDESC_MNM_9906_B + trigger = { + has_character_flag = looted_artifact_destroy_duplicate + looting_artifact_event_religious_artifacts_trigger = no + } + } + desc = { + text = EVTDESC_MNM_9906_C + trigger = { + NOT = { has_character_flag = looted_artifact_destroy_duplicate } + looting_artifact_event_religious_artifacts_trigger = yes + } + } + desc = { + text = EVTDESC_MNM_9906_D + trigger = { + has_character_flag = looted_artifact_destroy_duplicate + looting_artifact_event_religious_artifacts_trigger = yes + } + } + picture = GFX_evt_relic_box + border = GFX_event_normal_frame_war + + is_triggered_only = yes + + immediate = { + FROM = { + random_artifact = { + limit = { + quality == 3 + NOT = { + artifact_type_owned_by = ROOT + } + } + set_artifact_flag = looted_artifact_tooltip_1 + set_artifact_flag = looted_artifact_tooltip_2 + transfer_artifact = { + from = PREV + to = ROOT + } + } + if = { + limit = { + ROOT = { + any_artifact = { + has_artifact_flag = looted_artifact_tooltip_1 + } + } + } + character_event = { id = MNM.9907 } + } + if = { + limit = { + NOT = { + ROOT = { + any_artifact = { + has_artifact_flag = looted_artifact_tooltip_1 + } + } + } + } + random_artifact = { + limit = { + quality == 3 + } + set_artifact_flag = looted_artifact_tooltip_1 + set_artifact_flag = looted_artifact_tooltip_2 + } + ROOT = { + set_character_flag = looted_artifact_destroy_duplicate + } + } + } + } + + option = { + name = { + text = EVTOPTA_MNM_9906 + trigger = { + looting_artifact_event_religious_artifacts_trigger = no + } + } + name = { + text = EVTOPTC_MNM_9906 + trigger = { + looting_artifact_event_religious_artifacts_trigger = yes + } + } + trigger = { + NOT = { has_character_flag = looted_artifact_destroy_duplicate } + } + + tooltip = { + random_artifact = { + limit = { + has_artifact_flag = looted_artifact_tooltip_1 + } + transfer_artifact = { + from = FROM + to = ROOT + } + } + } + hidden_effect = { + random_artifact = { + limit = { + has_artifact_flag = looted_artifact_tooltip_1 + } + clr_artifact_flag = looted_artifact_tooltip_1 + } + } + } + + option = { + name = { + text = EVTOPTB_MNM_9906 + trigger = { + looting_artifact_event_religious_artifacts_trigger = no + } + } + name = { + text = EVTOPTD_MNM_9906 + trigger = { + looting_artifact_event_religious_artifacts_trigger = yes + } + } + trigger = { + has_character_flag = looted_artifact_destroy_duplicate + } + tooltip = { + FROM = { + random_artifact = { + limit = { + has_artifact_flag = looted_artifact_tooltip_1 + } + destroy_artifact = yes + } + } + } + hidden_effect = { + random_artifact = { + limit = { + has_artifact_flag = looted_artifact_tooltip_1 + } + clr_artifact_flag = looted_artifact_tooltip_1 + } + FROM = { + character_event = { id = MNM.9907 } + } + } + } +} + +character_event = { + id = MNM.9907 + desc = { + text = EVTDESC_MNM_9907_A + trigger = { + FROM = { NOT = { has_character_flag = looted_artifact_destroy_duplicate } } + } + } + desc = { + text = EVTDESC_MNM_9907_B + trigger = { + FROM = { has_character_flag = looted_artifact_destroy_duplicate } + } + } + picture = GFX_evt_relic_box + border = GFX_event_normal_frame_war + + is_triggered_only = yes + + option = { + name = EVTOPTA_MNM_9907 + trigger = { + FROM = { NOT = { has_character_flag = looted_artifact_destroy_duplicate } } + } + + tooltip = { + FROM = { + random_artifact = { + limit = { + has_artifact_flag = looted_artifact_tooltip_2 + } + transfer_artifact = { + from = ROOT + to = THIS + } + } + } + } + hidden_effect = { + FROM = { + random_artifact = { + limit = { + has_artifact_flag = looted_artifact_tooltip_2 + } + clr_artifact_flag = looted_artifact_tooltip_2 + } + } + } + } + + option = { + name = EVTOPTB_MNM_9907 + trigger = { + FROM = { has_character_flag = looted_artifact_destroy_duplicate } + } + + random_artifact = { + limit = { + has_artifact_flag = looted_artifact_tooltip_2 + } + clr_artifact_flag = looted_artifact_tooltip_2 + destroy_artifact = yes + } + FROM = { + clr_character_flag = looted_artifact_destroy_duplicate + } + } +} + +character_event = { + id = MNM.9908 + desc = { + text = EVTDESC_MNM_9906_A + trigger = { + NOT = { has_character_flag = looted_artifact_destroy_duplicate } + looting_artifact_event_religious_artifacts_trigger = no + } + } + desc = { + text = EVTDESC_MNM_9906_B + trigger = { + has_character_flag = looted_artifact_destroy_duplicate + looting_artifact_event_religious_artifacts_trigger = no + } + } + desc = { + text = EVTDESC_MNM_9906_C + trigger = { + NOT = { has_character_flag = looted_artifact_destroy_duplicate } + looting_artifact_event_religious_artifacts_trigger = yes + } + } + desc = { + text = EVTDESC_MNM_9906_D + trigger = { + has_character_flag = looted_artifact_destroy_duplicate + looting_artifact_event_religious_artifacts_trigger = yes + } + } + picture = GFX_evt_relic_box + border = GFX_event_normal_frame_war + + is_triggered_only = yes + + immediate = { + FROM = { + random_artifact = { + limit = { + quality == 4 + NOT = { + artifact_type_owned_by = ROOT + } + } + set_artifact_flag = looted_artifact_tooltip_1 + set_artifact_flag = looted_artifact_tooltip_2 + transfer_artifact = { + from = PREV + to = ROOT + } + } + if = { + limit = { + ROOT = { + any_artifact = { + has_artifact_flag = looted_artifact_tooltip_1 + } + } + } + character_event = { id = MNM.9909 } + } + if = { + limit = { + NOT = { + ROOT = { + any_artifact = { + has_artifact_flag = looted_artifact_tooltip_1 + } + } + } + } + random_artifact = { + limit = { + quality == 4 + } + set_artifact_flag = looted_artifact_tooltip_1 + set_artifact_flag = looted_artifact_tooltip_2 + } + ROOT = { + set_character_flag = looted_artifact_destroy_duplicate + } + } + } + } + + option = { + name = { + text = EVTOPTA_MNM_9906 + trigger = { + looting_artifact_event_religious_artifacts_trigger = no + } + } + name = { + text = EVTOPTC_MNM_9906 + trigger = { + looting_artifact_event_religious_artifacts_trigger = yes + } + } + trigger = { + NOT = { has_character_flag = looted_artifact_destroy_duplicate } + } + + tooltip = { + random_artifact = { + limit = { + has_artifact_flag = looted_artifact_tooltip_1 + } + transfer_artifact = { + from = FROM + to = ROOT + } + } + } + hidden_effect = { + random_artifact = { + limit = { + has_artifact_flag = looted_artifact_tooltip_1 + } + clr_artifact_flag = looted_artifact_tooltip_1 + } + } + } + + option = { + name = { + text = EVTOPTB_MNM_9906 + trigger = { + looting_artifact_event_religious_artifacts_trigger = no + } + } + name = { + text = EVTOPTD_MNM_9906 + trigger = { + looting_artifact_event_religious_artifacts_trigger = yes + } + } + trigger = { + has_character_flag = looted_artifact_destroy_duplicate + } + tooltip = { + FROM = { + random_artifact = { + limit = { + has_artifact_flag = looted_artifact_tooltip_1 + } + destroy_artifact = yes + } + } + } + hidden_effect = { + random_artifact = { + limit = { + has_artifact_flag = looted_artifact_tooltip_1 + } + clr_artifact_flag = looted_artifact_tooltip_1 + } + FROM = { + character_event = { id = MNM.9909 } + } + } + } +} + +character_event = { + id = MNM.9909 + desc = { + text = EVTDESC_MNM_9907_A + trigger = { + FROM = { NOT = { has_character_flag = looted_artifact_destroy_duplicate } } + } + } + desc = { + text = EVTDESC_MNM_9907_B + trigger = { + FROM = { has_character_flag = looted_artifact_destroy_duplicate } + } + } + picture = GFX_evt_relic_box + border = GFX_event_normal_frame_war + + is_triggered_only = yes + + option = { + name = EVTOPTA_MNM_9907 + trigger = { + FROM = { NOT = { has_character_flag = looted_artifact_destroy_duplicate } } + } + + tooltip = { + FROM = { + random_artifact = { + limit = { + has_artifact_flag = looted_artifact_tooltip_2 + } + transfer_artifact = { + from = ROOT + to = THIS + } + } + } + } + hidden_effect = { + FROM = { + random_artifact = { + limit = { + has_artifact_flag = looted_artifact_tooltip_2 + } + clr_artifact_flag = looted_artifact_tooltip_2 + } + } + } + } + + option = { + name = EVTOPTB_MNM_9907 + trigger = { + FROM = { has_character_flag = looted_artifact_destroy_duplicate } + } + + random_artifact = { + limit = { + has_artifact_flag = looted_artifact_tooltip_2 + } + clr_artifact_flag = looted_artifact_tooltip_2 + destroy_artifact = yes + } + FROM = { + clr_character_flag = looted_artifact_destroy_duplicate + } + } +} + +character_event = { + id = MNM.9910 + desc = { + text = EVTDESC_MNM_9910_A + trigger = { + NOT = { has_character_flag = looted_artifact_destroy_duplicate } + looting_artifact_event_religious_artifacts_trigger = no + } + } + desc = { + text = EVTDESC_MNM_9910_B + trigger = { + has_character_flag = looted_artifact_destroy_duplicate + looting_artifact_event_religious_artifacts_trigger = no + } + } + desc = { + text = EVTDESC_MNM_9910_C + trigger = { + NOT = { has_character_flag = looted_artifact_destroy_duplicate } + looting_artifact_event_religious_artifacts_trigger = yes + } + } + desc = { + text = EVTDESC_MNM_9910_D + trigger = { + has_character_flag = looted_artifact_destroy_duplicate + looting_artifact_event_religious_artifacts_trigger = yes + } + } + picture = GFX_evt_relic_box + border = GFX_event_normal_frame_war + + is_triggered_only = yes + + immediate = { + FROM = { + random_artifact = { + limit = { + quality == 5 + NOT = { + artifact_type_owned_by = ROOT + } + } + set_artifact_flag = looted_artifact_tooltip_1 + set_artifact_flag = looted_artifact_tooltip_2 + transfer_artifact = { + from = PREV + to = ROOT + } + } + if = { + limit = { + ROOT = { + any_artifact = { + has_artifact_flag = looted_artifact_tooltip_1 + } + } + } + character_event = { id = MNM.9911 } + } + if = { + limit = { + NOT = { + ROOT = { + any_artifact = { + has_artifact_flag = looted_artifact_tooltip_1 + } + } + } + } + random_artifact = { + limit = { + quality == 5 + } + set_artifact_flag = looted_artifact_tooltip_1 + set_artifact_flag = looted_artifact_tooltip_2 + } + ROOT = { + set_character_flag = looted_artifact_destroy_duplicate + } + } + } + } + + option = { + name = { + text = EVTOPTA_MNM_9910 + trigger = { + looting_artifact_event_religious_artifacts_trigger = no + } + } + name = { + text = EVTOPTC_MNM_9910 + trigger = { + looting_artifact_event_religious_artifacts_trigger = yes + } + } + trigger = { + NOT = { has_character_flag = looted_artifact_destroy_duplicate } + } + + tooltip = { + random_artifact = { + limit = { + has_artifact_flag = looted_artifact_tooltip_1 + } + transfer_artifact = { + from = FROM + to = ROOT + } + } + } + hidden_effect = { + random_artifact = { + limit = { + has_artifact_flag = looted_artifact_tooltip_1 + } + clr_artifact_flag = looted_artifact_tooltip_1 + } + } + } + + option = { + name = { + text = EVTOPTB_MNM_9910 + trigger = { + looting_artifact_event_religious_artifacts_trigger = no + } + } + name = { + text = EVTOPTD_MNM_9910 + trigger = { + looting_artifact_event_religious_artifacts_trigger = yes + } + } + trigger = { + has_character_flag = looted_artifact_destroy_duplicate + } + tooltip = { + FROM = { + random_artifact = { + limit = { + has_artifact_flag = looted_artifact_tooltip_1 + } + destroy_artifact = yes + } + } + } + hidden_effect = { + random_artifact = { + limit = { + has_artifact_flag = looted_artifact_tooltip_1 + } + clr_artifact_flag = looted_artifact_tooltip_1 + } + FROM = { + character_event = { id = MNM.9911 } + } + } + } +} + +character_event = { + id = MNM.9911 + desc = { + text = EVTDESC_MNM_9911_A + trigger = { + FROM = { NOT = { has_character_flag = looted_artifact_destroy_duplicate } } + } + } + desc = { + text = EVTDESC_MNM_9911_B + trigger = { + FROM = { has_character_flag = looted_artifact_destroy_duplicate } + } + } + picture = GFX_evt_relic_box + border = GFX_event_normal_frame_war + + is_triggered_only = yes + + option = { + name = EVTOPTA_MNM_9911 + trigger = { + FROM = { NOT = { has_character_flag = looted_artifact_destroy_duplicate } } + } + + tooltip = { + FROM = { + random_artifact = { + limit = { + has_artifact_flag = looted_artifact_tooltip_2 + } + transfer_artifact = { + from = ROOT + to = THIS + } + } + } + } + hidden_effect = { + FROM = { + random_artifact = { + limit = { + has_artifact_flag = looted_artifact_tooltip_2 + } + clr_artifact_flag = looted_artifact_tooltip_2 + } + } + } + } + + option = { + name = EVTOPTB_MNM_9911 + trigger = { + FROM = { has_character_flag = looted_artifact_destroy_duplicate } + } + + random_artifact = { + limit = { + has_artifact_flag = looted_artifact_tooltip_2 + } + clr_artifact_flag = looted_artifact_tooltip_2 + destroy_artifact = yes + } + FROM = { + clr_character_flag = looted_artifact_destroy_duplicate + } + } +} \ No newline at end of file diff --git a/LCDA/events/mnm_hermetics_events.txt b/LCDA/events/mnm_hermetics_events.txt new file mode 100644 index 0000000..580cf48 --- /dev/null +++ b/LCDA/events/mnm_hermetics_events.txt @@ -0,0 +1,16500 @@ +########################################### +# # +# M&M Hermetics Society Events # +# # +# ID MNM.1000-MNM.1999 # +# # +########################################### + +#IDs: +#1000-1099 David +#1100-1199 Henrik +#1200-1399 Milla +#1400-1599 Mathilda +#1600-1799 Drikus +#1800-1899 Joel +#1900-1999 Emil + + +namespace = MNM + +###JOINING### + +#From on_character_ask_to_join_society +character_event = { + id = MNM.100 + hide_window = yes + is_triggered_only = yes + trigger = { + FROM = { leader = { society_member_of = hermetics } } + } + immediate = { + FROM = { leader = { character_event = { id = MNM.101 } } } + } +} + +#Ping event +character_event = { + id = MNM.101 + hide_window = yes + is_triggered_only = yes + immediate = { + FROM = { letter_event = { id = MNM.102 } } + } +} + +#Welcome letter +letter_event = { + id = MNM.102 + desc = EVTDESC_MNM_102 #Shamefully borrowing from the Pomandres + border = GFX_event_letter_frame_religion + + is_triggered_only = yes + + immediate = { set_character_flag = society_join_block } + + option = { + name = EVTOPTA_MNM_102 + + join_society = hermetics + + clr_character_flag = society_join_block + } +} + +#MISSIONS + +#Mission tombola +character_event = { + id = MNM.1000 + hide_window = yes + + is_triggered_only = yes + + is_in_society = yes + + trigger = { + society_member_of = hermetics + has_any_quest = no + NOT = { has_character_modifier = quest_cooldown_timer } + NOT = { is_inaccessible_trigger = yes } + prisoner = no + society = { + any_society_member = { + NOT = { character = ROOT } + prisoner = no + is_within_diplo_range = ROOT + opinion = { who = ROOT value = 0 } + } + } + } + + immediate = { + #Picks out mission giver + random_list = { + 20 = { #International society member + society = { + random_society_member = { + limit = { + NOT = { character = ROOT } + prisoner = no + is_within_diplo_range = ROOT + opinion = { who = ROOT value = 0 } + } + save_event_target_as = hermetic_collaborator + } + } + } + 40 = { #Realm society member + trigger = { + society = { + any_society_member = { + NOT = { character = ROOT } + prisoner = no + is_within_diplo_range = ROOT + opinion = { who = ROOT value = 0 } + same_realm = ROOT + } + } + } + society = { + random_society_member = { + limit = { + NOT = { character = ROOT } + prisoner = no + is_within_diplo_range = ROOT + opinion = { who = ROOT value = 0 } + same_realm = ROOT + } + save_event_target_as = hermetic_collaborator + } + } + } + 40 = { #Apprentice + trigger = { + any_courtier_or_vassal = { has_minor_title = title_hermetics_apprentice prisoner = no } + society_member_of = hermetics + } + random_courtier_or_vassal = { + limit = { has_minor_title = title_hermetics_apprentice } + save_event_target_as = hermetic_collaborator + } + } + } + + + #Randomizes mission + random_list = { + + 20 = { #Find an apprentice + trigger = { + NOT = { any_courtier_or_vassal = { has_minor_title = title_hermetics_apprentice } } + ai = no + } + event_target:hermetic_collaborator = { character_event = { id = MNM.1404 days = 7 random = 7 } } + } + + 20 = { #Build a laboratory + trigger = { + NOT = { has_character_flag = building_laboratory } + NOT = { has_character_flag = built_laboratory } + OR = { + ai = no + society_rank == 4 + } + is_landed = yes + } + event_target:hermetic_collaborator = { character_event = { id = MNM.1120 days = 7 random = 7 } } + } + 15 = { #Find a rare scroll/book/tablet + trigger = { + is_landed = yes + } + event_target:hermetic_collaborator = { character_event = { id = MNM.1417 days = 7 random = 7 } } + } + 20 = { #Acquire/gather ingredients + trigger = { + is_landed = yes + NOT = { + any_artifact = { + has_artifact_flag = ingredient + } + } + event_target:hermetic_collaborator = { ai = yes } + } + event_target:hermetic_collaborator = { character_event = { id = MNM.1801 days = 7 random = 7 } } + } + 10 = { #Infiltrate lab + trigger = { + society = { + any_society_member = { + is_within_diplo_range = ROOT + NOR = { + character = ROOT + character = event_target:hermetic_collaborator + reverse_opinion = { who = event_target:hermetic_collaborator value = 20 } + reverse_opinion = { who = ROOT value = 20 } + has_character_flag = infiltration_rival + has_character_flag = infiltration_mutual_dislike + has_character_flag = infiltration_rich + } + } + } + } + event_target:hermetic_collaborator = { character_event = { id = MNM.1430 days = 7 random = 7 } } + } + 10 = { #Observe stars + event_target:hermetic_collaborator = { character_event = { id = MNM.1828 days = 7 random = 7 } } + } + + 105 = { # AI bypasses missions at times + modifier = { + factor = 0 + ai = no + } + random_list = { + 70 = { + modifier = { + factor = 0.9 + society_influence >= 30 + } + modifier = { + factor = 0.9 + society_influence >= 40 + } + modifier = { + factor = 0.8 + society_influence >= 50 + } + modifier = { + factor = 0.7 + society_influence >= 70 + } + modifier = { + factor = 0.6 + society_influence >= 80 + } + modifier = { + factor = 0.5 + society_influence >= 90 + } + add_mission_succeed_influence_effect = yes + } + 30 = { + add_mission_fail_influence_effect = yes + } + } + } + + 175 = { + modifier = { + factor = 0 + ai = no + } + #Do nothing for AI + } + } + } +} + +#Mission: Building a Laboratory +#Flags: +#Temporary: +#building_laboratory (cleared at end) +#decided_on_glass (cleared at end) +#decided_on_crucibles (cleared at end) +#decided_on_tools (cleared at end) +#decided_on_books (cleared at end) +#Not Temporary: +#built_laboratory (not cleared -> set at end, marks this as done for this character) +#hidden_lab (not cleared -> to be used to weight stealing of secrets) +#very_hidden_lab (not cleared -> to be used to weight stealing of secrets) +character_event = { + id = MNM.1100 + desc = EVTDESC_MNM_1100 + picture = GFX_evt_castle_construction + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + option = { + name = EVTOPTA_MNM_1100 + hidden_tooltip = { + character_event = { id = MNM.1101 days = 7 } + set_variable = { which = laboratory_level value = 1 } + } + } + option = { + name = EVTOPTB_MNM_1100 + clr_character_flag = building_laboratory + wealth = 50 + } +} + +#Where should the Laboratory be built? +character_event = { + id = MNM.1101 + desc = EVTDESC_MNM_1101 + picture = GFX_evt_castle_construction + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + trigger = { + has_quest = quest_hermetics_build_laboratory + } + + option = { + name = EVTOPTA_MNM_1101 #In my Castle, hidden away + custom_tooltip = { + text = hidden_lab_tooltip + set_character_flag = hidden_lab + } + hidden_effect = { + change_variable = { which = laboratory_level value = 2 } + character_event = { id = MNM.1102 days = 30 } + } + } + option = { + name = EVTOPTB_MNM_1101 #In an accessible place + custom_tooltip = { + text = accessible_lab_tooltip + } + hidden_effect = { + change_variable = { which = laboratory_level value = 5 } + character_event = { id = MNM.1102 days = 30 } + } + } + option = { + name = EVTOPTC_MNM_1101 #On an island or other very remote place + trigger = { + OR = { + intrigue = 15 + trait = paranoid + } + capital_scope = { port = yes } + } + custom_tooltip = { + text = very_hidden_lab_tooltip + set_character_flag = very_hidden_lab + } + hidden_effect = { + change_variable = { which = laboratory_level value = 3 } + character_event = { id = MNM.1102 days = 30 } + } + } + option = { + name = EVTOPTD_MNM_1101 #On an island or other very remote place + trigger = { + OR = { + intrigue = 15 + trait = paranoid + } + capital_scope = { + port = no + } + } + custom_tooltip = { + text = very_hidden_lab_tooltip + set_character_flag = very_hidden_lab + } + hidden_effect = { + change_variable = { which = laboratory_level value = 3 } + character_event = { id = MNM.1102 days = 30 } + } + } +} + +#What kind of laboratory should we build? +character_event = { + id = MNM.1102 + desc = EVTDESC_MNM_1102 + picture = GFX_evt_weaponsmith + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + option = { + name = EVTOPTA_MNM_1102 # + custom_tooltip = { + text = cheap_laboratory_setup + } + hidden_effect = { + change_variable = { which = laboratory_level value = 1 } + set_variable = { which = lab_ambition value = 1 } + random_list = { + 25 = { + trigger = { NOT = { has_character_flag = decided_on_glass } } + character_event = { id = MNM.1103 days = 60 } + } + 25 = { + trigger = { NOT = { has_character_flag = decided_on_crucibles } } + character_event = { id = MNM.1104 days = 60 } + } + 25 = { + trigger = { NOT = { has_character_flag = decided_on_tools } } + character_event = { id = MNM.1105 days = 60 } + } + 25 = { + trigger = { NOT = { has_character_flag = decided_on_books } } + character_event = { id = MNM.1106 days = 60 } + } + } + random_list = { #Accidents + 25 = { } #Nothing Happens + 25 = { character_event = { id = MNM.1113 days = 30 } } + 25 = { character_event = { id = MNM.1114 days = 30 } } + 25 = { character_event = { id = MNM.1115 days = 30 } } + } + } + } + option = { + name = EVTOPTB_MNM_1102 # + wealth = -20 + custom_tooltip = { + text = efficient_laboratory_setup + } + hidden_effect = { + change_variable = { which = laboratory_level value = 3 } + set_variable = { which = lab_ambition value = 2 } + random_list = { + 25 = { + trigger = { NOT = { has_character_flag = decided_on_glass } } + character_event = { id = MNM.1103 days = 30 } + } + 25 = { + trigger = { NOT = { has_character_flag = decided_on_crucibles } } + character_event = { id = MNM.1104 days = 30 } + } + 25 = { + trigger = { NOT = { has_character_flag = decided_on_tools } } + character_event = { id = MNM.1105 days = 30 } + } + 25 = { + trigger = { NOT = { has_character_flag = decided_on_books } } + character_event = { id = MNM.1106 days = 30 } + } + } + random_list = { #Accidents + 25 = { } #Nothing Happens + 25 = { character_event = { id = MNM.1113 days = 45 } } + 25 = { character_event = { id = MNM.1114 days = 45 } } + 25 = { character_event = { id = MNM.1115 days = 45 } } + } + } + } + option = { + name = EVTOPTC_MNM_1102 #State of the Art. + trigger = { + OR = { + learning = 15 + AND = { #Both master and apprentice have acceptable learning + learning = 12 + any_courtier_or_vassal = { + has_minor_title = title_hermetics_apprentice + learning = 12 + } + } + } + } + wealth = -35 + custom_tooltip = { + text = large_laboratory_setup + } + hidden_effect = { + change_variable = { which = laboratory_level value = 5 } + set_variable = { which = lab_ambition value = 3 } + random_list = { + 25 = { + trigger = { NOT = { has_character_flag = decided_on_glass } } + character_event = { id = MNM.1103 days = 30 } + } + 25 = { + trigger = { NOT = { has_character_flag = decided_on_crucibles } } + character_event = { id = MNM.1104 days = 30 } + } + 25 = { + trigger = { NOT = { has_character_flag = decided_on_tools } } + character_event = { id = MNM.1105 days = 30 } + } + 25 = { + trigger = { NOT = { has_character_flag = decided_on_books } } + character_event = { id = MNM.1106 days = 30 } + } + } + random_list = { #Accidents + 25 = { } #Nothing Happens + 25 = { character_event = { id = MNM.1113 days = 45 } } + 25 = { character_event = { id = MNM.1114 days = 45 } } + 25 = { character_event = { id = MNM.1115 days = 45 } } + } + } + } + option = { + name = EVTOPTD_MNM_1102 #Experimental setup + trigger = { + OR = { + learning = 25 + AND = { #Both have good learning + learning = 15 + any_courtier_or_vassal = { + has_minor_title = title_hermetics_apprentice + learning = 15 + } + } + } + } + wealth = -50 + custom_tooltip = { + text = extravagant_laboratory_setup + } + hidden_effect = { + change_variable = { which = laboratory_level value = 8 } + set_variable = { which = lab_ambition value = 4 } + random_list = { + 25 = { + trigger = { NOT = { has_character_flag = decided_on_glass } } + character_event = { id = MNM.1103 days = 30 } + } + 25 = { + trigger = { NOT = { has_character_flag = decided_on_crucibles } } + character_event = { id = MNM.1104 days = 30 } + } + 25 = { + trigger = { NOT = { has_character_flag = decided_on_tools } } + character_event = { id = MNM.1105 days = 30 } + } + 25 = { + trigger = { NOT = { has_character_flag = decided_on_books } } + character_event = { id = MNM.1106 days = 30 } + } + } + random_list = { #Accidents + 25 = { } #Nothing Happens + 25 = { character_event = { id = MNM.1113 days = 45 } } + 25 = { character_event = { id = MNM.1114 days = 45 } } + 25 = { character_event = { id = MNM.1115 days = 45 } } + } + } + } +} + +#What kind of equipment do we need? +#Variant 1 - Flasks, Alembics, test tubes, etc +character_event = { + id = MNM.1103 + desc = EVTDESC_MNM_1103 + picture = GFX_evt_experiment + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + immediate = { + hidden_effect = { + set_character_flag = decided_on_glass + } + } + + option = { + name = EVTOPTA_MNM_1103 # + custom_tooltip = { + text = non_fancy_laboratory_glass_tooltip + } + hidden_effect = { + change_variable = { + which = laboratory_level value = 1 + } + change_variable = { which = lab_ambition value = -1 } + if = { + limit = { + check_variable = { + which = lab_ambition + value = 1 + } + } + random_list = { + 25 = { + trigger = { NOT = { has_character_flag = decided_on_glass } } + character_event = { id = MNM.1103 days = 30 } + } + 25 = { + trigger = { NOT = { has_character_flag = decided_on_crucibles } } + character_event = { id = MNM.1104 days = 30 } + } + 25 = { + trigger = { NOT = { has_character_flag = decided_on_tools } } + character_event = { id = MNM.1105 days = 30 } + } + 25 = { + trigger = { NOT = { has_character_flag = decided_on_books } } + character_event = { id = MNM.1106 days = 30 } + } + } + } + if = { + limit = { + NOT = { + check_variable = { + which = lab_ambition + value = 1 + } + } + } + character_event = { id = MNM.1107 days = 60 } + } + } + } + option = { + name = EVTOPTB_MNM_1103 # + wealth = -20 + custom_tooltip = { + text = fancy_laboratory_glass_tooltip + } + hidden_effect = { + change_variable = { which = laboratory_level value = 2 } + change_variable = { which = lab_ambition value = -1 } + if = { + limit = { + check_variable = { + which = lab_ambition + value = 1 + } + } + random_list = { + 25 = { + trigger = { NOT = { has_character_flag = decided_on_glass } } + character_event = { id = MNM.1103 days = 30 } + } + 25 = { + trigger = { NOT = { has_character_flag = decided_on_crucibles } } + character_event = { id = MNM.1104 days = 30 } + } + 25 = { + trigger = { NOT = { has_character_flag = decided_on_tools } } + character_event = { id = MNM.1105 days = 30 } + } + 25 = { + trigger = { NOT = { has_character_flag = decided_on_books } } + character_event = { id = MNM.1106 days = 30 } + } + } + } + if = { + limit = { + NOT = { + check_variable = { + which = lab_ambition + value = 1 + } + } + } + character_event = { id = MNM.1107 days = 60 } + } + } + } +} + +#Variant 2 - Crucibles +character_event = { + id = MNM.1104 + desc = EVTDESC_MNM_1104 + picture = GFX_evt_experiment + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + immediate = { + hidden_effect = { + set_character_flag = decided_on_crucibles + } + } + + option = { + name = EVTOPTA_MNM_1104 # + custom_tooltip = { + text = non_fancy_laboratory_crucibles_tooltip + } + hidden_effect = { + change_variable = { which = laboratory_level value = 1 } + change_variable = { which = lab_ambition value = -1 } + if = { + limit = { + check_variable = { + which = lab_ambition + value = 1 + } + } + random_list = { + 25 = { + trigger = { NOT = { has_character_flag = decided_on_glass } } + character_event = { id = MNM.1103 days = 30 } + } + 25 = { + trigger = { NOT = { has_character_flag = decided_on_crucibles } } + character_event = { id = MNM.1104 days = 30 } + } + 25 = { + trigger = { NOT = { has_character_flag = decided_on_tools } } + character_event = { id = MNM.1105 days = 30 } + } + 25 = { + trigger = { NOT = { has_character_flag = decided_on_books } } + character_event = { id = MNM.1106 days = 30 } + } + } + } + if = { + limit = { + NOT = { + check_variable = { + which = lab_ambition + value = 1 + } + } + } + character_event = { id = MNM.1107 days = 60 } + } + } + } + option = { + name = EVTOPTB_MNM_1104 # + wealth = -20 + custom_tooltip = { + text = fancy_laboratory_crucibles_tooltip + } + hidden_effect = { + change_variable = { which = laboratory_level value = 2 } + change_variable = { which = lab_ambition value = -1 } + if = { + limit = { + check_variable = { + which = lab_ambition + value = 1 + } + } + random_list = { + 25 = { + trigger = { NOT = { has_character_flag = decided_on_glass } } + character_event = { id = MNM.1103 days = 30 } + } + 25 = { + trigger = { NOT = { has_character_flag = decided_on_crucibles } } + character_event = { id = MNM.1104 days = 30 } + } + 25 = { + trigger = { NOT = { has_character_flag = decided_on_tools } } + character_event = { id = MNM.1105 days = 30 } + } + 25 = { + trigger = { NOT = { has_character_flag = decided_on_books } } + character_event = { id = MNM.1106 days = 30 } + } + } + } + if = { + limit = { + NOT = { + check_variable = { + which = lab_ambition + value = 1 + } + } + } + character_event = { id = MNM.1107 days = 60 } + } + } + } +} + +#Variant 3 - Iron Tools +character_event = { + id = MNM.1105 + desc = EVTDESC_MNM_1105 + picture = GFX_evt_weaponsmith + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + immediate = { + hidden_effect = { + set_character_flag = decided_on_tools + } + } + + option = { + name = EVTOPTA_MNM_1105 # + custom_tooltip = { + text = non_fancy_laboratory_tools_tooltip + } + hidden_effect = { + change_variable = { which = laboratory_level value = 1 } + change_variable = { which = lab_ambition value = -1 } + if = { + limit = { + check_variable = { + which = lab_ambition + value = 1 + } + } + random_list = { + 25 = { + trigger = { NOT = { has_character_flag = decided_on_glass } } + character_event = { id = MNM.1103 days = 30 } + } + 25 = { + trigger = { NOT = { has_character_flag = decided_on_crucibles } } + character_event = { id = MNM.1104 days = 30 } + } + 25 = { + trigger = { NOT = { has_character_flag = decided_on_tools } } + character_event = { id = MNM.1105 days = 30 } + } + 25 = { + trigger = { NOT = { has_character_flag = decided_on_books } } + character_event = { id = MNM.1106 days = 30 } + } + } + } + if = { + limit = { + NOT = { + check_variable = { + which = lab_ambition + value = 1 + } + } + } + character_event = { id = MNM.1107 days = 60 } + } + } + } + option = { + name = EVTOPTB_MNM_1105 # + wealth = -20 + custom_tooltip = { + text = fancy_laboratory_tools_tooltip + } + hidden_effect = { + change_variable = { which = laboratory_level value = 2 } + change_variable = { which = lab_ambition value = -1 } + if = { + limit = { + check_variable = { + which = lab_ambition + value = 1 + } + } + random_list = { + 25 = { + trigger = { NOT = { has_character_flag = decided_on_glass } } + character_event = { id = MNM.1103 days = 30 } + } + 25 = { + trigger = { NOT = { has_character_flag = decided_on_crucibles } } + character_event = { id = MNM.1104 days = 30 } + } + 25 = { + trigger = { NOT = { has_character_flag = decided_on_tools } } + character_event = { id = MNM.1105 days = 30 } + } + 25 = { + trigger = { NOT = { has_character_flag = decided_on_books } } + character_event = { id = MNM.1106 days = 30 } + } + } + } + if = { + limit = { + NOT = { + check_variable = { + which = lab_ambition + value = 1 + } + } + } + character_event = { id = MNM.1107 days = 60 } + } + } + } +} + +#Variant 4 - Books +#Herbals, Lapidarii, etc +character_event = { + id = MNM.1106 + desc = EVTDESC_MNM_1106 + picture = GFX_evt_book_carolingian_script + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + immediate = { + hidden_effect = { + set_character_flag = decided_on_books + } + } + + option = { + name = EVTOPTA_MNM_1106 # + custom_tooltip = { + text = non_fancy_laboratory_books_tooltip + } + hidden_effect = { + change_variable = { which = laboratory_level value = 1 } + change_variable = { which = lab_ambition value = -1 } + if = { + limit = { + check_variable = { + which = lab_ambition + value = 1 + } + } + random_list = { + 25 = { + trigger = { NOT = { has_character_flag = decided_on_glass } } + character_event = { id = MNM.1103 days = 30 } + } + 25 = { + trigger = { NOT = { has_character_flag = decided_on_crucibles } } + character_event = { id = MNM.1104 days = 30 } + } + 25 = { + trigger = { NOT = { has_character_flag = decided_on_tools } } + character_event = { id = MNM.1105 days = 30 } + } + 25 = { + trigger = { NOT = { has_character_flag = decided_on_books } } + character_event = { id = MNM.1106 days = 30 } + } + } + } + if = { + limit = { + NOT = { + check_variable = { + which = lab_ambition + value = 1 + } + } + } + character_event = { id = MNM.1107 days = 60 } + } + } + } + option = { + name = EVTOPTB_MNM_1106 # + wealth = -20 + custom_tooltip = { + text = fancy_laboratory_books_tooltip + } + hidden_effect = { + change_variable = { which = laboratory_level value = 2 } + change_variable = { which = lab_ambition value = -1 } + if = { + limit = { + check_variable = { + which = lab_ambition + value = 1 + } + } + random_list = { + 25 = { + trigger = { NOT = { has_character_flag = decided_on_glass } } + character_event = { id = MNM.1103 days = 30 } + } + 25 = { + trigger = { NOT = { has_character_flag = decided_on_crucibles } } + character_event = { id = MNM.1104 days = 30 } + } + 25 = { + trigger = { NOT = { has_character_flag = decided_on_tools } } + character_event = { id = MNM.1105 days = 30 } + } + 25 = { + trigger = { NOT = { has_character_flag = decided_on_books } } + character_event = { id = MNM.1106 days = 30 } + } + } + } + if = { + limit = { + NOT = { + check_variable = { + which = lab_ambition + value = 1 + } + } + } + character_event = { id = MNM.1107 days = 60 } + } + } + } +} + +#Work is done +character_event = { + id = MNM.1107 + picture = GFX_evt_experiment + border = GFX_event_normal_frame_religion + + hide_window = yes + is_triggered_only = yes + + immediate = { + hidden_effect = { + set_character_flag = built_laboratory + clr_character_flag = building_laboratory + clr_character_flag = decided_on_glass + clr_character_flag = decided_on_crucibles + clr_character_flag = decided_on_tools + clr_character_flag = decided_on_books + if = { + limit = { + NOT = { + check_variable = { + which = laboratory_level + value = 6 + } + } + } + character_event = { id = MNM.1108 } # Cheap Laboratory + } + if = { + limit = { + check_variable = { + which = laboratory_level + value = 6 + } + NOT = { + check_variable = { + which = laboratory_level + value = 12 + } + } + } + character_event = { id = MNM.1109 } # Normal Laboratory + } + if = { + limit = { + check_variable = { + which = laboratory_level + value = 12 + } + NOT = { + check_variable = { + which = laboratory_level + value = 18 + } + } + } + character_event = { id = MNM.1110 } # Good Laboratory + } + if = { + limit = { + check_variable = { + which = laboratory_level + value = 18 + } + NOT = { + check_variable = { + which = laboratory_level + value = 23 + } + } + } + narrative_event = { id = MNM.1111 } # Great Laboratory + } + if = { + limit = { + check_variable = { + which = laboratory_level + value = 23 + } + } + narrative_event = { id = MNM.1112 } # Best Laboratory + } + } + } +} + +#Finished Cheap Lab +character_event = { + id = MNM.1108 + desc = EVTDESC_MNM_1108 + picture = GFX_evt_experiment + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + option = { + name = EVTOPTA_MNM_1108 # + add_character_modifier = { + name = "cheap_laboratory" + duration = -1 + } + hidden_effect = { + character_event = { id = MNM.1122 } + } + } +} + +#Finished Normal Lab +character_event = { + id = MNM.1109 + desc = EVTDESC_MNM_1109 + picture = GFX_evt_experiment + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + option = { + name = EVTOPTA_MNM_1109 # + economy_techpoints = 5 + add_character_modifier = { + name = "normal_laboratory" + duration = -1 + } + hidden_effect = { + character_event = { id = MNM.1122 } + } + } +} + +#Finished Good Lab +character_event = { + id = MNM.1110 + desc = EVTDESC_MNM_1110 + picture = GFX_evt_experiment + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + option = { + name = EVTOPTA_MNM_1110 # + economy_techpoints = 15 + add_character_modifier = { + name = "good_laboratory" + duration = -1 + } + hidden_effect = { + character_event = { id = MNM.1122 } + } + } +} + +#Finished Great Lab +narrative_event = { + id = MNM.1111 + title = EVTNAME_MNM_1111 + desc = EVTDESC_MNM_1111 + picture = GFX_evt_experiment + border = GFX_event_narrative_frame_religion + + is_triggered_only = yes + + option = { + name = EVTOPTA_MNM_1111 # + economy_techpoints = 30 + add_character_modifier = { + name = "great_laboratory" + duration = -1 + } + hidden_effect = { + character_event = { id = MNM.1122 } + } + } +} + +#Finished Best Lab +narrative_event = { + id = MNM.1112 + title = EVTNAME_MNM_1112 + desc = EVTDESC_MNM_1112 + picture = GFX_evt_experiment + border = GFX_event_narrative_frame_religion + + is_triggered_only = yes + + option = { + name = EVTOPTA_MNM_1112 # + economy_techpoints = 50 + add_character_modifier = { + name = "best_laboratory" + duration = -1 + } + hidden_effect = { + character_event = { id = MNM.1122 } + } + } +} + +#Laboratory Accidents + +character_event = { + id = MNM.1113 + desc = EVTDESC_MNM_1113 + picture = GFX_evt_burning_house_arabic + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + immediate = { + hidden_effect = { + random_courtier = { + save_event_target_as = sacrifice_for_science + } + } + } + + option = { + name = EVTOPTA_MNM_1113 # + hidden_effect = { + change_variable = { which = laboratory_level value = -2 } + } + if = { + limit = { has_character_flag = hidden_lab } #Lab built in castle + event_target:sacrifice_for_science = { + add_maimed_trait_effect = yes + if = { + limit = { + is_close_relative = ROOT + NOT = { trait = cruel } + } + random_list = { + 80 = { } + 20 = { ROOT = { add_trait_depressed_effect = yes } } + } + } + } + } + } + option = { + name = EVTOPTB_MNM_1113 # + custom_tooltip = { + text = efforts_to_improve_lab_security_tooltip + } + hidden_effect = { + change_variable = { which = laboratory_level value = -1 } + } + wealth = -10 + if = { + limit = { has_character_flag = hidden_lab } #Lab built in castle + event_target:sacrifice_for_science = { + add_maimed_trait_effect = yes + if = { + limit = { + is_close_relative = ROOT + NOT = { trait = cruel } + } + random_list = { + 80 = { } + 20 = { ROOT = { add_trait_depressed_effect = yes } } + } + } + } + } + } + + after = { + #destroy ingredients + if = { + limit = { + any_artifact = { + has_artifact_flag = ingredient + } + } + destroy_random_ingredients_effect = yes + } + } +} + +# Locals are gossiping +character_event = { + id = MNM.1114 + desc = EVTDESC_MNM_1114 + picture = GFX_evt_riots_byzantine + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + option = { + name = EVTOPTA_MNM_1114 # + custom_tooltip = { + text = accomodate_gossipers_tooltip + } + hidden_effect = { + change_variable = { which = laboratory_level value = -2 } + } + + } + option = { + name = EVTOPTB_MNM_1114 # + prestige = -50 + } +} + +#Rotting Ingredients +character_event = { + id = MNM.1115 + desc = EVTDESC_MNM_1115 + picture = GFX_evt_experiment + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + option = { + name = EVTOPTA_MNM_1115 # + hidden_effect = { + change_variable = { which = laboratory_level value = -1 } + } + } + option = { + name = EVTOPTB_MNM_1115 # + wealth = -25 + hidden_effect = { + change_variable = { which = laboratory_level value = 1 } + } + } + + after = { + #destroy ingredients + if = { + limit = { + OR = { + has_a_herb_ingredient_trigger = yes + has_an_animal_part_ingredient_trigger = yes + } + } + custom_tooltip = { + text = random_ingredients_are_destroyed_tt + destroy_random_herb_or_animal_part_ingredients_effect = yes + } + } + } +} + +#Mission: Build a Laboratory +character_event = { + id = MNM.1120 + hide_window = yes + is_triggered_only = yes + immediate = { + FROM = { + society_quest_event = { id = MNM.1121 days = 7 random = 7 } + } + } +} + +#Letter from quest giver +society_quest_event = { + id = MNM.1121 + + desc = { + text = EVTDESC_MNM_1121 + trigger = { + event_target:hermetic_collaborator = { + NOT = { has_minor_title = title_hermetics_apprentice } + } + } + } + desc = { + text = EVTDESC_MNM_1121_apprentice + trigger = { + event_target:hermetic_collaborator = { + has_minor_title = title_hermetics_apprentice + } + } + } + + is_triggered_only = yes + + option = { + name = ACCEPT + ai_chance = { factor = 100 } + set_quest = quest_hermetics_build_laboratory + } + + option = { + name = DECLINE + ai_chance = { factor = 0 } + custom_tooltip = { text = decline_quest_tooltip } + add_character_modifier = { + name = quest_cooldown_timer + hidden = yes + days = 1000 + } + } +} + +#Quest Completed +character_event = { + id = MNM.1122 + picture = GFX_evt_experiment + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + desc = { + text = EVTDESC_MNM_1122_normal + trigger = { + FROM = { + NOT = { has_character_modifier = good_laboratory } + NOT = { has_character_modifier = great_laboratory } + NOT = { has_character_modifier = best_laboratory } + } + } + } + + desc = { + text = EVTDESC_MNM_1122_rich + trigger = { + FROM = { + OR = { + has_character_modifier = good_laboratory + has_character_modifier = great_laboratory + has_character_modifier = best_laboratory + } + } + } + } + + trigger = { has_quest = quest_hermetics_build_laboratory } + + option = { + name = EVTOPTA_MNM_1122 + + clr_quest = quest_hermetics_find_apprentice + sound_effect = hermetic_society_perform_experiment + + if = { + limit = { + FROM = { + NOT = { has_character_modifier = good_laboratory } + NOT = { has_character_modifier = great_laboratory } + NOT = { has_character_modifier = best_laboratory } + } + } + add_society_currency_minor_effect = yes + } + if = { + limit = { + FROM = { + OR = { + has_character_modifier = good_laboratory + has_character_modifier = great_laboratory + } + } + } + add_society_currency_medium_effect = yes + } + if = { + limit = { FROM = { has_character_modifier = best_laboratory } } + add_society_currency_major_effect = yes + } + } +} + + +#Mission: Find an apprentice +character_event = { + id = MNM.1404 + hide_window = yes + is_triggered_only = yes + immediate = { FROM = { society_quest_event = { id = MNM.1405 days = 7 random = 7 } } } +} + +society_quest_event = { + id = MNM.1405 + desc = EVTDESC_MNM_1405 + + is_triggered_only = yes + + option = { + name = ACCEPT + + set_quest = quest_hermetics_find_apprentice + + hidden_effect = { character_event = { id = MNM.1406 days = 150 random = 50 } } + } + + option = { + name = DECLINE + custom_tooltip = { text = decline_quest_tooltip } + + add_character_modifier = { + name = quest_cooldown_timer + hidden = yes + days = 1000 + } + + ai_chance = { factor = 0 } + } +} + +#Still no apprentice? Make one +character_event = { + id = MNM.1406 + hide_window = yes + is_triggered_only = yes + trigger = { has_quest = quest_hermetics_find_apprentice } + immediate = { + random_list = { + 50 = { + modifier = { + is_female = no + factor = 1.5 + } + create_random_priest = { + random_traits = yes + dynasty = none + female = yes + age = 28 + } + new_character = { + save_event_target_as = apprentice_candidate + } + } + 50 = { + modifier = { + is_female = yes + factor = 1.5 + } + create_random_priest = { + random_traits = yes + dynasty = none + female = no + age = 28 + } + new_character = { + save_event_target_as = apprentice_candidate + } + } + } + + event_target:apprentice_candidate = { + remove_trait = slow + remove_trait = imbecile + remove_trait = inbred + remove_trait = dull + remove_trait = zealous + remove_trait = cynical + remove_trait = genius + remove_trait = quick + remove_trait = shrewd + remove_trait = slothful + + #Add great trait + random_list = { + 10 = { add_trait = genius } + 10 = { add_trait = quick } + 10 = { add_trait = shrewd } + 10 = { trigger = { NOT = { religion_group = muslim } } add_trait = scholar } + 10 = { trigger = { religion_group = muslim } add_trait = faqih } + 10 = { add_trait = mystic } + 10 = { add_trait = gardener } + 10 = { trigger = { has_dlc = Reapers} add_trait = physician } + 40 = { } #Nothing + } + + #Add good trait + random_list = { + 10 = { add_trait = erudite } + 10 = { add_trait = diligent } + 10 = { + add_trait = patient + remove_trait = wroth + } + 10 = { + add_trait = chaste + remove_trait = lustful + } + 30 = { + add_trait = ambitious + remove_trait = content + } + } + + while = { + limit = { NOT = { learning = 10 } } + change_learning = 1 + } + + character_event = { id = MNM.1407 } + } + } +} + +character_event = { + id = MNM.1407 + hide_window = yes + is_triggered_only = yes + immediate = { FROM = { character_event = { id = MNM.1408 } } } +} + +#What about this servant? +character_event = { + id = MNM.1408 + desc = EVTDESC_MNM_1408 + picture = GFX_evt_experiment + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + immediate = { + + } + + option = { + name = EVTOPTA_MNM_1408 + + FROM = { give_minor_title = title_hermetics_apprentice } + + clr_quest = quest_hermetics_find_apprentice + sound_effect = hermetic_society_perform_experiment + add_society_currency_minor_effect = yes + } + + option = { + name = EVTOPTB_MNM_1408 + custom_tooltip = { text = EVTOPTB_MNM_1408_TT } + } +} + +#You completed the quest by assigning someone the title +character_event = { + id = MNM.1409 + desc = EVTDESC_MNM_1409 + picture = GFX_evt_experiment + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + option = { + name = EVTOPTA_MNM_1409 + + clr_quest = quest_hermetics_find_apprentice + sound_effect = hermetic_society_perform_experiment + + if = { + limit = { FROM = { NOT = { learning = 12 } } } + add_society_currency_minor_effect = yes + } + if = { + limit = { FROM = { learning = 12 } } + add_society_currency_medium_effect = yes + } + } +} + + +#Mission: Find rare scroll/tome/tablet +character_event = { + id = MNM.1417 + hide_window = yes + is_triggered_only = yes + immediate = { FROM = { character_event = { id = MNM.1418 } } } +} + + +society_quest_event = { + id = MNM.1418 + desc = EVTDESC_MNM_1418 + + is_triggered_only = yes + + option = { + name = ACCEPT + + FROM = { + set_quest_target = { + id = quest_hermetics_find_text + holder = ROOT + } + } + + hidden_effect = { FROM = { character_event = { id = MNM.1419 days = 5 } } } + } + + option = { + name = DECLINE + custom_tooltip = { text = decline_quest_tooltip } + + add_character_modifier = { + name = quest_cooldown_timer + hidden = yes + days = 1000 + } + + ai_chance = { factor = 0 } + } +} + +#Ping event +character_event = { + id = MNM.1419 + hide_window = yes + is_triggered_only = yes + immediate = { FROM = { letter_event = { id = MNM.1420 } } } +} + +#Where should we go looking? +letter_event = { + id = MNM.1420 + border = GFX_event_letter_frame_religion + + is_triggered_only = yes + + trigger = { has_quest = quest_hermetics_find_text } + + desc = { + trigger = { + OR = { + NOT = { FROM = { has_character_flag = alexandria } } + has_artifact = emerald_tablet + } + } + text = EVTDESC_MNM_1420_A + } + desc = { + trigger = { + FROM = { has_character_flag = alexandria } + NOT = { has_artifact = emerald_tablet } + } + text = EVTDESC_MNM_1420_B + } + + immediate = { + set_character_flag = do_not_disturb + + FROM = { #Chance of having Alexandria as an option + random = { + chance = 10 + modifier = { + learning = 12 + factor = 1.2 + } + modifier = { + learning = 14 + factor = 1.2 + } + modifier = { + learning = 16 + factor = 1.2 + } + modifier = { + learning = 18 + factor = 1.2 + } + modifier = { + learning = 20 + factor = 1.2 + } + set_character_flag = alexandria + } + } + + #Locations + random_independent_ruler = { + limit = { + is_within_diplo_range = ROOT + NOT = { same_realm = ROOT } + any_realm_province = { is_capital = no } + } + random_realm_province = { + limit = { is_capital = no } + save_event_target_as = ruin_site + owner = { top_liege = { save_event_target_as = ruin_site_top_liege } } + } + } + if = { + limit = { ai = no } + random_independent_ruler = { + limit = { + is_within_diplo_range = ROOT + NOT = { same_realm = ROOT } + any_realm_title = { + tier = DUCHY + OR = { + title = d_alexandria + title = d_damietta + title = d_cairo + title = d_aswan + title = d_nobatia + region = world_middle_east_jerusalem + region = world_europe_south_east + region = world_asia_minor + } + } + } + random_realm_province = { + save_event_target_as = ruin_site + owner = { top_liege = { save_event_target_as = ruin_site_top_liege } } + } + } + } + random_realm_province = { + save_event_target_as = temple_site + } + random_realm_province = { + limit = { + any_province_holding = { holding_type = temple } + is_capital = no + } + save_event_target_as = temple_site + } + } + + #Go to Alexandria! + option = { + trigger = { + FROM = { has_character_flag = alexandria } + NOT = { has_artifact = emerald_tablet } + OR = { + ai = no + scaled_wealth = 1 + wealth = 200 + } + } + name = EVTOPTA_MNM_1420 + custom_tooltip = { text = EVTOPTA_MNM_1420_TT } + + scaled_wealth = { value = -1 min = -200 } + + random_list = { + 20 = { + modifier = { learning = 8 factor = 1.2 } + modifier = { learning = 11 factor = 1.2 } + modifier = { learning = 14 factor = 1.2 } + modifier = { learning = 17 factor = 1.2 } + modifier = { learning = 20 factor = 1.2 } + modifier = { FROM = { learning = 8 } factor = 1.2 } + modifier = { FROM = { learning = 11 } factor = 1.2 } + modifier = { FROM = { learning = 14 } factor = 1.2 } + modifier = { FROM = { learning = 17 } factor = 1.2 } + modifier = { FROM = { learning = 20 } factor = 1.2 } + custom_tooltip = { + text = EVTOPTX_MNM_1420_SUCCESS + FROM = { + set_character_flag = A_SUCCESS + character_event = { id = MNM.1421 days = 300 random = 150 } + } + } + tooltip = { add_society_currency_massive_effect = yes } + } + 80 = { + tooltip = { clr_quest = { id = quest_hermetics_find_text failure = yes } } + hidden_effect = { + FROM = { + set_character_flag = A_FAIL + character_event = { id = MNM.1421 days = 300 random = 150 } + } + } + } + } + } + + #Search foreign ruin + option = { + trigger = { + OR = { + ai = no + scaled_wealth = 0.5 + wealth = 100 + } + } + name = EVTOPTB_MNM_1420 + custom_tooltip = { text = EVTOPTB_MNM_1420_TT } + + scaled_wealth = { value = -0.5 min = -100 } + + random_list = { + 35 = { + modifier = { learning = 8 factor = 1.2 } + modifier = { learning = 11 factor = 1.2 } + modifier = { learning = 14 factor = 1.2 } + modifier = { learning = 17 factor = 1.2 } + modifier = { learning = 20 factor = 1.2 } + modifier = { FROM = { learning = 8 } factor = 1.2 } + modifier = { FROM = { learning = 11 } factor = 1.2 } + modifier = { FROM = { learning = 14 } factor = 1.2 } + modifier = { FROM = { learning = 17 } factor = 1.2 } + modifier = { FROM = { learning = 20 } factor = 1.2 } + custom_tooltip = { + text = EVTOPTX_MNM_1420_SUCCESS + FROM = { + set_character_flag = B_SUCCESS + character_event = { id = MNM.1421 days = 150 random = 75 } + } + } + tooltip = { add_society_currency_major_effect = yes } + } + 65 = { + tooltip = { clr_quest = { id = quest_hermetics_find_text failure = yes } } + hidden_effect = { + FROM = { + set_character_flag = B_FAIL + character_event = { id = MNM.1421 days = 150 random = 75 } + } + } + } + } + } + + #Search local ruin + option = { + trigger = { + OR = { + ai = no + scaled_wealth = 0.2 + wealth = 40 + } + } + name = EVTOPTC_MNM_1420 + custom_tooltip = { text = EVTOPTC_MNM_1420_TT } + + scaled_wealth = { value = -0.2 min = -40 } + + random_list = { + 55 = { + modifier = { learning = 8 factor = 1.2 } + modifier = { learning = 11 factor = 1.2 } + modifier = { learning = 14 factor = 1.2 } + modifier = { learning = 17 factor = 1.2 } + modifier = { learning = 20 factor = 1.2 } + modifier = { FROM = { learning = 8 } factor = 1.2 } + modifier = { FROM = { learning = 11 } factor = 1.2 } + modifier = { FROM = { learning = 14 } factor = 1.2 } + modifier = { FROM = { learning = 17 } factor = 1.2 } + modifier = { FROM = { learning = 20 } factor = 1.2 } + custom_tooltip = { + text = EVTOPTX_MNM_1420_SUCCESS + FROM = { + set_character_flag = C_SUCCESS + character_event = { id = MNM.1421 days = 100 random = 50 } + } + } + tooltip = { add_society_currency_medium_effect = yes } + } + 45 = { + tooltip = { clr_quest = { id = quest_hermetics_find_text failure = yes } } + hidden_effect = { + FROM = { + set_character_flag = C_FAIL + character_event = { id = MNM.1421 days = 100 random = 50 } + } + } + } + } + } + + #Local antiquarian + option = { + name = EVTOPTD_MNM_1420 + custom_tooltip = { text = EVTOPTD_MNM_1420_TT } + + scaled_wealth = { value = -0.05 min = -10 } + + random_list = { + 70 = { + modifier = { learning = 8 factor = 1.2 } + modifier = { learning = 11 factor = 1.2 } + modifier = { learning = 14 factor = 1.2 } + modifier = { learning = 17 factor = 1.2 } + modifier = { learning = 20 factor = 1.2 } + modifier = { FROM = { learning = 8 } factor = 1.2 } + modifier = { FROM = { learning = 11 } factor = 1.2 } + modifier = { FROM = { learning = 14 } factor = 1.2 } + modifier = { FROM = { learning = 17 } factor = 1.2 } + modifier = { FROM = { learning = 20 } factor = 1.2 } + custom_tooltip = { + text = EVTOPTX_MNM_1420_SUCCESS + FROM = { + set_character_flag = D_SUCCESS + character_event = { id = MNM.1421 days = 30 random = 10 } + } + } + tooltip = { add_society_currency_minor_effect = yes } + } + 30 = { + tooltip = { clr_quest = { id = quest_hermetics_find_text failure = yes } } + hidden_effect = { + FROM = { + set_character_flag = D_FAIL + character_event = { id = MNM.1421 days = 30 random = 10 } + } + } + } + } + } + #after = { hidden_effect = { character_event = { id = MNM.1427 days = 450 } } } +} + +#Ping event for outcome in book search +character_event = { + id = MNM.1421 + hide_window = yes + is_triggered_only = yes + + immediate = { + if = { + limit = { FROM = { has_quest = quest_hermetics_find_text } } + trigger_switch = { + on_trigger = has_character_flag + A_SUCCESS = { FROM = { narrative_event = { id = MNM.1422 } } } + B_SUCCESS = { FROM = { character_event = { id = MNM.1423 } } } + C_SUCCESS = { FROM = { character_event = { id = MNM.1424 } } } + D_SUCCESS = { FROM = { character_event = { id = MNM.1425 } } } + A_FAIL = { FROM = { character_event = { id = MNM.1426 } } } + B_FAIL = { FROM = { character_event = { id = MNM.1426 } } } + C_FAIL = { FROM = { character_event = { id = MNM.1426 } } } + D_FAIL = { FROM = { character_event = { id = MNM.1426 } } } + } + } + if = { + limit = { NOT = { FROM = { has_quest = quest_hermetics_find_text } } } + clr_character_flag = A_FAIL + clr_character_flag = B_FAIL + clr_character_flag = C_FAIL + clr_character_flag = D_FAIL + } + clr_character_flag = A_SUCCESS + clr_character_flag = B_SUCCESS + clr_character_flag = C_SUCCESS + clr_character_flag = D_SUCCESS + clr_character_flag = alexandria + + FROM = { clr_character_flag = do_not_disturb } + } +} + +#Emerald tablet in library of Alexandria +narrative_event = { + id = MNM.1422 + title = EVTTITLE_MNM_1422 + desc = EVTDESC_MNM_1422 + picture = GFX_evt_religious_exultation + border = GFX_event_narrative_frame_religion + + is_triggered_only = yes + + option = { + name = EVTOPTA_MNM_1422 + + add_artifact = emerald_tablet + + clr_quest = quest_hermetics_find_text + sound_effect = hermetic_society_recover_scroll + add_society_currency_massive_effect = yes + + hidden_effect = { + opinion = { + who = FROM + modifier = epic_adventure + years = 30 + } + } + reverse_opinion = { + who = FROM + modifier = epic_adventure + years = 30 + } + } +} + +#You found tablet in old ruin +character_event = { + id = MNM.1423 + desc = EVTDESC_MNM_1423 + picture = GFX_evt_pagan + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + option = { + name = EVTOPTA_MNM_1423 + + clr_quest = quest_hermetics_find_text + sound_effect = hermetic_society_recover_scroll + add_society_currency_major_effect = yes + + hidden_effect = { + opinion = { + who = FROM + modifier = great_adventure + years = 30 + } + } + reverse_opinion = { + who = FROM + modifier = great_adventure + years = 30 + } + } +} + +#You found old scroll in temple +character_event = { + id = MNM.1424 + desc = EVTDESC_MNM_1424 + picture = GFX_evt_bishop + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + option = { + name = EVTOPTA_MNM_1424 + + clr_quest = quest_hermetics_find_text + sound_effect = hermetic_society_recover_scroll + add_society_currency_medium_effect = yes + + hidden_effect = { + opinion = { + who = FROM + modifier = nice_adventure + years = 30 + } + } + reverse_opinion = { + who = FROM + modifier = nice_adventure + years = 30 + } + } +} + +#You found tome in library +character_event = { + id = MNM.1425 + desc = EVTDESC_MNM_1425 + picture = GFX_evt_library + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + option = { + name = EVTOPTA_MNM_1425 + + clr_quest = quest_hermetics_find_text + sound_effect = hermetic_society_recover_scroll + add_society_currency_minor_effect = yes + } +} + +#Failure +character_event = { + id = MNM.1426 + picture = GFX_evt_desert + border = GFX_event_normal_frame_religion + + desc = { + trigger = { FROM = { has_character_flag = A_FAIL } } + text = EVTDESC_MNM_1426_A + picture = GFX_evt_desert + } + desc = { + trigger = { FROM = { has_character_flag = B_FAIL } } + text = EVTDESC_MNM_1426_B + picture = GFX_evt_pagan + } + desc = { + trigger = { FROM = { has_character_flag = C_FAIL } } + text = EVTDESC_MNM_1426_C + picture = GFX_evt_bishop + } + desc = { + trigger = { FROM = { has_character_flag = D_FAIL } } + text = EVTDESC_MNM_1426_D + picture = GFX_evt_market + } + + is_triggered_only = yes + + option = { + name = CURSES + + clr_quest = { id = quest_hermetics_find_text failure = yes } + + if = { + limit = { FROM = { has_character_flag = A_FAIL } } + add_rival = FROM + } + + FROM = { + clr_character_flag = A_FAIL + clr_character_flag = B_FAIL + clr_character_flag = C_FAIL + clr_character_flag = D_FAIL + } + } +} + + + +##Clearing of flag +#character_event = { +# id = MNM.1427 +# hide_window = yes +# is_triggered_only = yes +# immediate = { clr_character_flag = do_not_disturb } +#} + + +#Mission: Infiltrate laboratory +character_event = { + id = MNM.1430 + hide_window = yes + is_triggered_only = yes + immediate = { + FROM = { society_quest_event = { id = MNM.1431 days = 7 random = 7 } } + } +} + +society_quest_event = { + id = MNM.1431 + + desc = { + trigger = { event_target:infiltration_target = { has_character_flag = infiltration_rival } } + text = EVTDESC_MNM_1431_A + } + desc = { + trigger = { event_target:infiltration_target = { has_character_flag = infiltration_mutual_dislike } } + text = EVTDESC_MNM_1431_B + } + desc = { + trigger = { event_target:infiltration_target = { has_character_flag = infiltration_rich } } + text = EVTDESC_MNM_1431_C + } + + is_triggered_only = yes + + quest_target = event_target:infiltration_target + + immediate = { + random_list = { + 30 = { #Their nemesis + trigger = { + society = { + any_society_member = { + is_within_diplo_range = ROOT + NOR = { + has_character_flag = infiltration_rival + has_character_flag = infiltration_mutual_dislike + has_character_flag = infiltration_rich + } + is_rival = FROM + NOT = { reverse_opinion = { who = ROOT value = 20 } } + } + } + } + society = { + random_society_member = { + limit = { + is_within_diplo_range = ROOT + NOR = { + has_character_flag = infiltration_rival + has_character_flag = infiltration_mutual_dislike + has_character_flag = infiltration_rich + } + is_rival = FROM + NOT = { reverse_opinion = { who = ROOT value = 20 } } + } + save_event_target_as = infiltration_target + set_character_flag = infiltration_rival + } + } + } + 10 = { #Shared dislike + trigger = { + society = { + any_society_member = { + is_within_diplo_range = ROOT + NOR = { + has_character_flag = infiltration_rival + has_character_flag = infiltration_mutual_dislike + has_character_flag = infiltration_rich + } + NOT = { reverse_opinion = { who = ROOT value = 0 } } + NOT = { reverse_opinion = { who = FROM value = 0 } } + } + } + } + society = { + random_society_member = { + limit = { + is_within_diplo_range = ROOT + NOR = { + has_character_flag = infiltration_rival + has_character_flag = infiltration_mutual_dislike + has_character_flag = infiltration_rich + } + NOT = { reverse_opinion = { who = ROOT value = 0 } } + NOT = { reverse_opinion = { who = FROM value = 0 } } + } + save_event_target_as = infiltration_target + set_character_flag = infiltration_mutual_dislike + } + } + } + 10 = { #Rich target + trigger = { + society = { + any_society_member = { + is_within_diplo_range = ROOT + NOR = { + has_character_flag = infiltration_rival + has_character_flag = infiltration_mutual_dislike + has_character_flag = infiltration_rich + } + NOT = { reverse_opinion = { who = ROOT value = 20 } } + NOT = { reverse_opinion = { who = FROM value = 20 } } + OR = { + any_artifact = { has_artifact_flag = hermetic } + wealth = 200 + has_character_modifier = best_laboratory + has_character_modifier = great_laboratory + } + } + } + } + modifier = { + OR = { + trait = greedy + trait = ambitious + } + factor = 2 + } + society = { + random_society_member = { + limit = { + is_within_diplo_range = ROOT + NOR = { + has_character_flag = infiltration_rival + has_character_flag = infiltration_mutual_dislike + has_character_flag = infiltration_rich + } + NOT = { reverse_opinion = { who = ROOT value = 20 } } + NOT = { reverse_opinion = { who = FROM value = 20 } } + OR = { + any_artifact = { + has_artifact_flag = hermetic + has_artifact_flag = text + } + wealth = 200 + has_character_modifier = best_laboratory + has_character_modifier = great_laboratory + } + } + save_event_target_as = infiltration_target + set_character_flag = infiltration_rich + } + } + } + 1 = { #Fallback + society = { + random_society_member = { + limit = { + is_within_diplo_range = ROOT + NOR = { + reverse_opinion = { who = FROM value = 20 } + reverse_opinion = { who = ROOT value = 20 } + has_character_flag = infiltration_rival + has_character_flag = infiltration_mutual_dislike + has_character_flag = infiltration_rich + } + } + save_event_target_as = infiltration_target + set_character_flag = infiltration_rich + } + } + } + } + } + + option = { + name = ACCEPT + ai_chance = { factor = 100 } + + event_target:infiltration_target = { + set_quest_target = { + id = quest_hermetics_infiltrate_laboratory + holder = ROOT + } + } + + hidden_effect = { + FROM = { + save_event_target_as = infiltration_companion + character_event = { id = MNM.1432 days = 14 } + } + event_target:infiltration_target = { character_event = { id = MNM.1456 days = 150 } } + } + } + + option = { + name = DECLINE + ai_chance = { factor = 0 } + custom_tooltip = { text = decline_quest_tooltip } + add_character_modifier = { + name = quest_cooldown_timer + hidden = yes + days = 1000 + } + hidden_effect = { event_target:infiltration_target = { character_event = { id = MNM.1456 } } } + } +} + +#Search for lab or skip to security, done by collaborator +character_event = { + id = MNM.1432 + hide_window = yes + is_triggered_only = yes + immediate = { + + if = { + limit = { + event_target:infiltration_target = { + OR = { + has_character_flag = hidden_lab + has_character_flag = very_hidden_lab + } + } + } + FROM = { letter_event = { id = MNM.1433 } } + } + if = { + limit = { + event_target:infiltration_target = { + NOR = { + has_character_flag = hidden_lab + has_character_flag = very_hidden_lab + } + } + } + FROM = { character_event = { id = MNM.1435 } } + } + } +} + +#Find out where the laboratory is hid +letter_event = { + id = MNM.1433 + desc = EVTDESC_MNM_1433 + border = GFX_event_letter_frame_intrigue + + is_triggered_only = yes + + + option = { + name = EVTOPTA_MNM_1433 + custom_tooltip = { text = EVTOPTA_MNM_1433_TT } + + hidden_effect = { + random_list = { + 33 = { #It goes fast + modifier = { FROM = { intrigue = 12 } factor = 1.2 } + modifier = { FROM = { intrigue = 14 } factor = 1.2 } + modifier = { FROM = { intrigue = 16 } factor = 1.2 } + modifier = { FROM = { intrigue = 18 } factor = 1.2 } + FROM = { character_event = { id = MNM.1434 days = 15 random = 10 } } + + } + 33 = { #It goes slowly + modifier = { event_target:infiltration_target = { has_character_flag = hidden_lab } factor = 1.5 } + modifier = { FROM = { intrigue = 12 } factor = 1.1 } + modifier = { FROM = { intrigue = 14 } factor = 1.1 } + modifier = { FROM = { intrigue = 16 } factor = 1.1 } + modifier = { FROM = { intrigue = 18 } factor = 1.1 } + FROM = { character_event = { id = MNM.1434 days = 45 random = 30 } } + } + 33 = { #It goes super slow + modifier = { event_target:infiltration_target = { has_character_flag = very_hidden_lab } factor = 2 } + FROM = { character_event = { id = MNM.1434 days = 90 random = 45 } } + } + } + } + } +} + + +character_event = { + id = MNM.1434 + hide_window = yes + is_triggered_only = yes + + trigger = { FROM = { has_quest = quest_hermetics_infiltrate_laboratory } } + + immediate = { FROM = { character_event = { id = MNM.1435 } } } +} + + +#Get past the guards +character_event = { + id = MNM.1435 + picture = GFX_evt_eavesdropping + border = GFX_event_normal_frame_intrigue + + trigger = { has_quest = quest_hermetics_infiltrate_laboratory } + + immediate = { + # Will select two ingredients, by prioritizing from the top, until it hits two available ones... + select_random_hermetic_ingredient_herb_effect = yes + select_random_hermetic_ingredient_animal_part_effect = yes + select_random_hermetic_ingredient_powder_effect = yes + select_random_hermetic_ingredient_liquid_effect = yes + select_random_hermetic_ingredient_herb_effect = yes + select_random_hermetic_ingredient_powder_effect = yes + select_random_hermetic_ingredient_animal_part_effect = yes + select_random_hermetic_ingredient_liquid_effect = yes + } + + desc = { + trigger = { event_target:infiltration_target = { has_character_flag = very_hidden_lab } } + text = EVTDESC_MNM_1435_A + } + desc = { + trigger = { event_target:infiltration_target = { has_character_flag = hidden_lab } } + text = EVTDESC_MNM_1435_B + } + desc = { + trigger = { + event_target:infiltration_target = { + NOR = { + has_character_flag = very_hidden_lab + has_character_flag = hidden_lab + } + } + } + text = EVTDESC_MNM_1435_C + } + + is_triggered_only = yes + + #Bribe + option = { + trigger = { + OR = { + ai = no + scaled_wealth = 0.5 + } + diplomacy = 12 + } + name = EVTOPTA_MNM_1435 + custom_tooltip = { text = EVTOPTA_MNM_1435_TT } + tooltip_info = diplomacy + + if = { + limit = { event_target:infiltration_target = { has_character_flag = very_hidden_lab } } + scaled_wealth = { value = -0.75 min = -75 } + } + if = { + limit = { event_target:infiltration_target = { has_character_flag = hidden_lab } } + scaled_wealth = { value = -0.5 min = -50 } + } + if = { + limit = { + NOR = { + event_target:infiltration_target = { has_character_flag = very_hidden_lab } + event_target:infiltration_target = { has_character_flag = hidden_lab } + } + } + scaled_wealth = { value = -0.3 min = -30 } + } + + set_character_flag = bribed_guards + character_event = { id = MNM.1436 days = 7 } + } + + #Make a sleeping potion (potentially great effect) + option = { + tooltip_info = yes + name = EVTOPTB_MNM_1435 + custom_tooltip = { text = multiple_ingredient_option_available_tt } + custom_tooltip = { text = EVTOPTB_MNM_1435_TT } + + random_list = { + 60 = { + modifier = { learning = 10 factor = 1.2 } + modifier = { learning = 12 factor = 1.2 } + modifier = { learning = 14 factor = 1.2 } + modifier = { learning = 16 factor = 1.2 } + modifier = { learning = 18 factor = 1.2 } + modifier = { + factor = 1.1 + has_selected_herb_ingredient_1_trigger = yes + } + modifier = { + factor = 1.1 + has_selected_herb_ingredient_2_trigger = yes + } + modifier = { + factor = 1.1 + has_selected_animal_part_ingredient_1_trigger = yes + } + modifier = { + factor = 1.1 + has_selected_animal_part_ingredient_2_trigger = yes + } + modifier = { + factor = 1.5 + selected_ingredient_is_sleep_inducing_trigger = yes + } + custom_tooltip = { text = EVTOPTX_MNM_1435_SUCCESS_TT character_event = { id = MNM.1436 days = 7 } } + } + 40 = { + modifier = { event_target:infiltration_target = { has_character_flag = hidden_lab } factor = 1.2 } + modifier = { event_target:infiltration_target = { has_character_flag = very_hidden_lab } factor = 1.5 } + custom_tooltip = { + text = EVTOPTX_MNM_1435_FAIL_TT + hidden_effect = { + random_list = { + 50 = { + character_event = { id = MNM.1436 days = 7 } #You get deteced later, but continue for now + set_character_flag = guards_wake_up + } + 50 = { + character_event = { id = MNM.1437 days = 7 } #Hard fail + } + } + } + } + } + } + + destroy_selected_ingredient_1_and_2_effect = yes + + trigger = { + any_artifact = { + count = 2 + has_artifact_flag = ingredient + } + } + } + + #Make a sleeping potion (mild effect) + option = { + tooltip_info = yes + name = EVTOPTB_MNM_1435_single_ingredient + custom_tooltip = { text = ingredient_option_available_tt } + custom_tooltip = { text = EVTOPTB_MNM_1435_TT } + + random_list = { + 50 = { + modifier = { learning = 10 factor = 1.2 } + modifier = { learning = 12 factor = 1.2 } + modifier = { learning = 14 factor = 1.2 } + modifier = { learning = 16 factor = 1.2 } + modifier = { learning = 18 factor = 1.2 } + modifier = { + factor = 1.2 + selected_ingredient_is_sleep_inducing_trigger = yes + } + custom_tooltip = { text = EVTOPTX_MNM_1435_SUCCESS_TT character_event = { id = MNM.1436 days = 7 } } + } + 50 = { + modifier = { event_target:infiltration_target = { has_character_flag = hidden_lab } factor = 1.2 } + modifier = { event_target:infiltration_target = { has_character_flag = very_hidden_lab } factor = 1.5 } + custom_tooltip = { + text = EVTOPTX_MNM_1435_FAIL_TT + hidden_effect = { + random_list = { + 50 = { + character_event = { id = MNM.1436 days = 7 } #You get deteced later, but continue for now + set_character_flag = guards_wake_up + } + 50 = { + character_event = { id = MNM.1437 days = 7 } #Hard fail + } + } + } + } + } + } + + destroy_selected_ingredient_1_effect = yes + + trigger = { + any_artifact = { + has_artifact_flag = ingredient + } + } + } + + #Distraction + option = { + name = EVTOPTC_MNM_1435 + custom_tooltip = { text = EVTOPTC_MNM_1435_TT } + + random_list = { + 60 = { + modifier = { FROM = { intrigue = 10 } factor = 1.2 } + modifier = { FROM = { intrigue = 12 } factor = 1.2 } + modifier = { FROM = { intrigue = 14 } factor = 1.2 } + modifier = { FROM = { intrigue = 16 } factor = 1.2 } + modifier = { FROM = { intrigue = 18 } factor = 1.2 } + custom_tooltip = { text = EVTOPTX_MNM_1435_SUCCESS_TT character_event = { id = MNM.1438 days = 7 } } + } + 40 = { + modifier = { event_target:infiltration_target = { has_character_flag = hidden_lab } factor = 1.2 } + modifier = { event_target:infiltration_target = { has_character_flag = very_hidden_lab } factor = 1.5 } + custom_tooltip = { + text = EVTOPTX_MNM_1435_FAIL_TT + hidden_effect = { + random_list = { + 50 = { + character_event = { id = MNM.1438 days = 7 } #You get deteced later, but continue for now + set_character_flag = distraction_failed + } + 50 = { + character_event = { id = MNM.1439 days = 7 } #Hard fail + } + } + } + } + } + } + } + + #Bad idea + option = { + name = EVTOPTD_MNM_1435 + custom_tooltip = { text = EVTOPTD_MNM_1435_TT } + clr_quest = { id = quest_hermetics_infiltrate_laboratory failure = yes } + reverse_opinion = { + who = FROM + modifier = opinion_very_disappointed + years = 10 + } + } + + after = { + remove_selection_of_ingredients_effect = yes + } +} + +#The sleeping potion worked/you bribed the guards +character_event = { + id = MNM.1436 + picture = GFX_evt_drunk + border = GFX_event_normal_frame_intrigue + + trigger = { has_quest = quest_hermetics_infiltrate_laboratory } + + desc = { + trigger = { has_character_flag = bribed_guards } + text = EVTDESC_MNM_1436_A + picture = GFX_evt_shady_meeting + } + desc = { + trigger = { NOT = { has_character_flag = bribed_guards } } + text = EVTDESC_MNM_1436_B + picture = GFX_evt_drunk + } + + is_triggered_only = yes + + #You destroy, I will steal + option = { + name = EVTOPTA_MNM_1436 + custom_tooltip = { text = EVTOPTA_MNM_1436_TT } + + hidden_effect = { + if = { + limit = { + OR = { + has_character_flag = guards_wake_up + has_character_flag = distraction_failed + } + } + set_character_flag = caught_stealing + character_event = { id = MNM.1440 days = 25 } #Guards catch you stealing + } + if = { + limit = { + NOR = { + has_character_flag = guards_wake_up + has_character_flag = distraction_failed + } + } + character_event = { id = MNM.1441 days = 25 } #You steal + event_target:infiltration_companion = { character_event = { id = MNM.1445 days = 14 } } + } + } + } + + #I destroy, you steal + option = { + name = EVTOPTB_MNM_1436 + custom_tooltip = { text = EVTOPTA_MNM_1436_TT } + + hidden_effect = { + if = { + limit = { + OR = { + has_character_flag = guards_wake_up + has_character_flag = distraction_failed + } + } + set_character_flag = caught_destroying + character_event = { id = MNM.1440 days = 25 } #Guards catch you destroying + } + if = { + limit = { + NOR = { + has_character_flag = guards_wake_up + has_character_flag = distraction_failed + } + } + character_event = { id = MNM.1443 days = 25 } #You destroy + event_target:infiltration_companion = { character_event = { id = MNM.1447 days = 14 } } + } + } + } + + #We steal + option = { + name = EVTOPTC_MNM_1436 + custom_tooltip = { text = EVTOPTC_MNM_1436_TT } + + hidden_effect = { + if = { + limit = { + OR = { + has_character_flag = guards_wake_up + has_character_flag = distraction_failed + } + } + set_character_flag = caught_stealing + character_event = { id = MNM.1440 days = 25 } #Guards catch you stealing + } + if = { + limit = { + NOR = { + has_character_flag = guards_wake_up + has_character_flag = distraction_failed + } + } + character_event = { id = MNM.1441 days = 25 } #You steal + } + } + } + + #We destroy + option = { + name = EVTOPTD_MNM_1436 + custom_tooltip = { text = EVTOPTC_MNM_1436_TT } + + hidden_effect = { + if = { + limit = { + OR = { + has_character_flag = guards_wake_up + has_character_flag = distraction_failed + } + } + set_character_flag = caught_destroying + character_event = { id = MNM.1440 days = 25 } #Guards catch you destroying + } + if = { + limit = { + NOR = { + has_character_flag = guards_wake_up + has_character_flag = distraction_failed + } + } + character_event = { id = MNM.1443 days = 25 } #You destroy + } + } + } + + after = { hidden_effect = { clr_character_flag = bribed_guards } } +} + +#You fail to make a sleeping potion +character_event = { + id = MNM.1437 + desc = EVTDESC_MNM_1437 + picture = GFX_evt_quarrel + border = GFX_event_normal_frame_intrigue + + is_triggered_only = yes + + trigger = { has_quest = quest_hermetics_infiltrate_laboratory } + + option = { + name = EVTOPTA_MNM_1437 + + clr_quest = { id = quest_hermetics_infiltrate_laboratory failure = yes } + reverse_opinion = { + who = event_target:infiltration_companion + modifier = opinion_very_disappointed + years = 10 + } + } +} + +#The distraction is successful +character_event = { + id = MNM.1438 + desc = EVTDESC_MNM_1438 + picture = GFX_evt_shadowy_cabal + border = GFX_event_normal_frame_intrigue + + is_triggered_only = yes + + trigger = { has_quest = quest_hermetics_infiltrate_laboratory } + + #Steal + option = { + name = EVTOPTA_MNM_1438 + + hidden_effect = { + if = { + limit = { + OR = { + has_character_flag = guards_wake_up + has_character_flag = distraction_failed + } + } + set_character_flag = caught_stealing + character_event = { id = MNM.1440 days = 25 } #Guards catch you stealing + } + if = { + limit = { + NOR = { + has_character_flag = guards_wake_up + has_character_flag = distraction_failed + } + } + character_event = { id = MNM.1441 days = 25 } #You steal + } + } + } + + #Destroy + option = { + name = EVTOPTB_MNM_1438 + + hidden_effect = { + if = { + limit = { + OR = { + has_character_flag = guards_wake_up + has_character_flag = distraction_failed + } + } + set_character_flag = caught_destroying + character_event = { id = MNM.1440 days = 25 } #Guards catch you destroying + } + if = { + limit = { + NOR = { + has_character_flag = guards_wake_up + has_character_flag = distraction_failed + } + } + character_event = { id = MNM.1443 days = 25 } #You destroy + } + } + } +} + +#The diversion fails +character_event = { + id = MNM.1439 + desc = EVTDESC_MNM_1439 + picture = GFX_evt_quarrel + border = GFX_event_normal_frame_intrigue + + trigger = { has_quest = quest_hermetics_infiltrate_laboratory } + + is_triggered_only = yes + + option = { + name = EVTOPTA_MNM_1439 + + clr_quest = { id = quest_hermetics_infiltrate_laboratory failure = yes } + } +} + +#You get caught +character_event = { + id = MNM.1440 + picture = GFX_evt_into_the_dungeon + border = GFX_event_normal_frame_intrigue + + trigger = { has_quest = quest_hermetics_infiltrate_laboratory } + + desc = { + trigger = { + has_character_flag = guards_wake_up + has_character_flag = caught_destroying + } + text = EVTDESC_MNM_1440_A + } + desc = { + trigger = { + OR = { + AND = { + has_character_flag = distraction_failed + has_character_flag = caught_destroying + } + FROM = { has_character_flag = bad_theft } + } + } + text = EVTDESC_MNM_1440_B + } + desc = { + trigger = { + has_character_flag = guards_wake_up + has_character_flag = caught_stealing + } + text = EVTDESC_MNM_1440_C + } + desc = { + trigger = { + has_character_flag = distraction_failed + has_character_flag = caught_stealing + } + text = EVTDESC_MNM_1440_D + } + + is_triggered_only = yes + + option = { + name = EVTOPTA_MNM_1440 + + + event_target:infiltration_target = { + if = { + limit = { is_landed = yes } + ROOT = { imprison = PREV } + if = { + limit = { event_target:infiltration_companion = { ai = yes } } + event_target:infiltration_companion = { imprison = PREV } + } + } + + if = { + limit = { is_landed = no } + host = { + ROOT = { imprison = PREV } + if = { + limit = { event_target:infiltration_companion = { ai = yes } } + event_target:infiltration_companion = { imprison = PREV } + } + } + } + } + + reverse_opinion = { + who = event_target:infiltration_target + modifier = opinion_thief + years = 20 + } + hidden_effect = { + event_target:infiltration_companion = { + reverse_opinion = { + who = event_target:infiltration_target + modifier = opinion_thief + years = 20 + } + } + } + + hidden_effect = { + clr_character_flag = distraction_failed + clr_character_flag = guards_wake_up + clr_character_flag = caught_stealing + clr_character_flag = caught_destroying + FROM = { clr_character_flag = bad_theft } + } + clr_quest = { id = quest_hermetics_infiltrate_laboratory failure = yes } + hidden_effect = { + event_target:infiltration_target = { character_event = { id = MNM.1451 days = 7 } } + } + } +} + +#The captor decides what to do with you +character_event = { + id = MNM.1451 + desc = EVTDESC_MNM_1451 + picture = GFX_evt_catching_heretic + border = GFX_event_normal_frame_intrigue + + is_triggered_only = yes + + #Trade secrets for freedom + option = { + trigger = { + FROM = { + has_society_currency_medium_trigger = yes + prisoner = yes + } + } + name = EVTOPTA_MNM_1451 + + tooltip = { + random_list = { + 60 = { + modifier = { trait = craven factor = 1.5 } + add_society_currency_major_effect = yes + } + 40 = { + modifier = { + OR = { + trait = greedy + trait = ambitious + trait = wroth + trait = paranoid + } + factor = 2 + } + custom_tooltip = { text = EVTOPTA_MNM_1451_FAIL_TT } + } + + } + } + + hidden_effect = { FROM = { character_event = { id = MNM.1452 } } } + + ai_chance = { + factor = 60 + modifier = { + OR = { + trait = greedy + trait = ambitious + learning = 14 + } + factor = 2 + } + } + } + + #Let them rot + option = { + name = EVTOPTB_MNM_1451 + + if = { + limit = { NOT = { is_rival = FROM } } + tooltip = { add_rival = FROM } + } + if = { + limit = { NOT = { is_rival = event_target:infiltration_companion } } + tooltip = { add_rival = event_target:infiltration_companion } + } + + hidden_effect = { FROM = { character_event = { id = MNM.1455 } } } + + ai_chance = { + factor = 40 + modifier = { + is_rival = FROM + factor = 2 + } + } + } +} + +#Give me secrets, I will let you out +character_event = { + id = MNM.1452 + desc = EVTDESC_MNM_1452 + picture = GFX_evt_catching_heretic + border = GFX_event_normal_frame_intrigue + + is_triggered_only = yes + + trigger = { prisoner = yes } + + #Alright... + option = { + name = EVTOPTA_MNM_1452 + + detract_society_currency_medium_effect = yes + + tooltip = { imprison = no } + + hidden_effect = { FROM = { character_event = { id = MNM.1453 days = 3 } } } + + ai_chance = { + modifier = { trait = craven factor = 1.5 } + factor = 60 + } + } + + #Never! + option = { + name = EVTOPTB_MNM_1452 + custom_tooltip = { text = EVTOPTB_MNM_1452_TT } + + if = { + limit = { NOT = { is_rival = FROM } } + tooltip = { add_rival = FROM } + } + + hidden_effect = { FROM = { character_event = { id = MNM.1454 days = 3 } } } + + ai_chance = { + modifier = { + OR = { + trait = greedy + trait = ambitious + trait = wroth + trait = paranoid + } + factor = 2 + } + factor = 40 + } + } +} + +#Infiltration target get their secrets +character_event = { + id = MNM.1453 + desc = EVTDESC_MNM_1453 + picture = GFX_evt_dark_prayer + border = GFX_event_normal_frame_intrigue + + is_triggered_only = yes + + option = { + name = EVTOPTA_MNM_1453 + + add_society_currency_major_effect = yes + + FROM = { imprison = no } + } +} + +#Infiltration target is denied +character_event = { + id = MNM.1454 + desc = EVTDESC_MNM_1454 + picture = GFX_evt_into_the_dungeon + border = GFX_event_normal_frame_intrigue + + is_triggered_only = yes + + option = { + name = EVTOPTA_MNM_1454 + + if = { + limit = { NOT = { is_rival = FROM } } + add_rival = FROM + } + } +} + +#Infiltration target wants you to rot +character_event = { + id = MNM.1455 + desc = EVTDESC_MNM_1455 + picture = GFX_evt_catching_heretic + border = GFX_event_normal_frame_intrigue + + is_triggered_only = yes + + option = { + name = EVTOPTA_MNM_1455 + + if = { + limit = { NOT = { is_rival = FROM } } + add_rival = FROM + } + } +} + +#You steal +character_event = { + id = MNM.1441 + picture = GFX_evt_library + border = GFX_event_normal_frame_intrigue + + desc = { + trigger = { has_character_flag = great_theft } + text = EVTDESC_MNM_1441_A + } + desc = { + trigger = { has_character_flag = good_theft } + text = EVTDESC_MNM_1441_B + } + desc = { + trigger = { has_character_flag = ok_theft } + text = EVTDESC_MNM_1441_C + } + + is_triggered_only = yes + hide_from = yes + + trigger = { has_quest = quest_hermetics_infiltrate_laboratory } + + immediate = { + random_list = { + 33 = { #Great theft + trigger = { + event_target:infiltration_target = { + any_artifact = { + has_artifact_flag = hermetics + has_artifact_flag = text + } + } + } + modifier = { learning = 12 factor = 1.2 } + modifier = { learning = 13 factor = 1.2 } + modifier = { learning = 16 factor = 1.2 } + modifier = { learning = 18 factor = 1.2 } + modifier = { event_target:infiltration_target = { ai = no } factor = 0.5 } + set_character_flag = great_theft + } + 33 = { #Good theft + trigger = { + event_target:infiltration_target = { + any_artifact = { + has_artifact_flag = hermetics + has_artifact_flag = ingredient + } + } + } + modifier = { learning = 10 factor = 1.2 } + modifier = { learning = 12 factor = 1.1 } + modifier = { learning = 13 factor = 1.1 } + modifier = { learning = 16 factor = 1.1 } + modifier = { learning = 18 factor = 1.1 } + set_character_flag = good_theft + } + 33 = { #Ok theft + modifier = { event_target:infiltration_target = { has_character_flag = hidden_lab } factor = 1.2 } + modifier = { event_target:infiltration_target = { has_character_flag = very_hidden_lab } factor = 1.5 } + set_character_flag = ok_theft + } + } + } + + #Great theft + option = { + trigger = { has_character_flag = great_theft } + name = EVTOPTA_MNM_1441 + + custom_tooltip = { text = EVTOPTA_MNM_1441_steal_text } + + if = { + limit = { + event_target:infiltration_target = { + any_artifact = { + has_artifact_flag = hermetics + has_artifact_flag = ingredient + } + } + } + custom_tooltip = { text = EVTOPTA_MNM_1441_steal_ingredient } + } + + #Money and knowledge + transfer_scaled_wealth = { from = event_target:infiltration_target value = 0.5 min = 50 } + add_society_currency_massive_effect = yes + } + + #Good theft + option = { + trigger = { has_character_flag = good_theft } + name = EVTOPTA_MNM_1441 + + #You get artifacts + custom_tooltip = { text = EVTOPTA_MNM_1441_steal_ingredient } + + #Money and knowledge + transfer_scaled_wealth = { from = event_target:infiltration_target value = 0.25 min = 25 } + add_society_currency_major_effect = yes + } + + option = { + trigger = { has_character_flag = ok_theft } + name = EVTOPTC_MNM_1441 + + #Money and knowledge + transfer_scaled_wealth = { from = event_target:infiltration_target value = 0.1 min = 10 } + add_society_currency_medium_effect = yes + } + + after = { + hidden_effect = { + event_target:infiltration_target = { character_event = { id = MNM.1442 } } + character_event = { id = MNM.1450 days = 40 } + } + } +} + +#Person who gets stolen from gets notified +character_event = { + id = MNM.1442 + picture = GFX_evt_burning_house + border = GFX_event_normal_frame_intrigue + + desc = { + trigger = { FROM = { has_character_flag = great_theft } } + text = EVTDESC_MNM_1442_A + } + desc = { + trigger = { FROM = { has_character_flag = good_theft } } + text = EVTDESC_MNM_1442_B + } + desc = { + trigger = { FROM = { has_character_flag = ok_theft } } + text = EVTDESC_MNM_1442_C + } + + hide_from = yes + is_triggered_only = yes + + + option = { + name = CURSES + + #Artifacts get stolen + if = { + limit = { FROM = { has_character_flag = great_theft } } + random_artifact = { + limit = { + has_artifact_flag = hermetics + has_artifact_flag = text + } + + tooltip = { destroy_artifact = yes } + hidden_effect = { + transfer_artifact = { + from = ROOT + to = FROM + } + } + } + } + + if = { + limit = { + FROM = { + OR = { + has_character_flag = great_theft + has_character_flag = good_theft + } + } + } + if = { + limit = { + any_artifact = { + has_artifact_flag = hermetics + has_artifact_flag = ingredient + } + } + random_artifact = { + limit = { + has_artifact_flag = hermetics + has_artifact_flag = ingredient + } + tooltip = { destroy_artifact = yes } + hidden_effect = { + transfer_artifact = { + from = ROOT + to = FROM + } + } + } + } + } + + #Money + if = { + limit = { FROM = { has_character_flag = great_theft } } + tooltip = { scaled_wealth = { value = -0.5 min = -50 } } + } + if = { + limit = { FROM = { has_character_flag = good_theft } } + tooltip = { scaled_wealth = { value = -0.25 min = -25 } } + } + if = { + limit = { FROM = { has_character_flag = ok_theft } } + tooltip = { scaled_wealth = { value = -0.1 min = -10 } } + } + + hidden_effect = { + FROM = { + clr_character_flag = great_theft + clr_character_flag = good_theft + clr_character_flag = ok_theft + } + } + } +} + +#You destroy +character_event = { + id = MNM.1443 + picture = GFX_evt_burning_house + border = GFX_event_normal_frame_intrigue + + is_triggered_only = yes + hide_from = yes + + desc = { + trigger = { has_character_flag = lab_destruction } + text = EVTDESC_MNM_1443_A + } + desc = { + trigger = { has_character_flag = lab_damage } + text = EVTDESC_MNM_1443_B + } + desc = { + trigger = { has_character_flag = lab_explosion_death } + text = EVTDESC_MNM_1443_C + } + + trigger = { has_quest = quest_hermetics_infiltrate_laboratory } + + immediate = { + random_list = { + 40 = { #Total destruction + trigger = { event_target:infiltration_target = { has_character_flag = built_laboratory } } + modifier = { learning = 12 factor = 1.2 } + modifier = { learning = 13 factor = 1.2 } + modifier = { learning = 16 factor = 1.2 } + modifier = { learning = 18 factor = 1.2 } + set_character_flag = lab_destruction + } + 55 = { #Major damage + modifier = { learning = 10 factor = 1.2 } + modifier = { learning = 12 factor = 1.1 } + modifier = { learning = 13 factor = 1.1 } + modifier = { learning = 16 factor = 1.1 } + modifier = { learning = 18 factor = 1.1 } + set_character_flag = lab_damage + } + 5 = { #You die in an accident + modifier = { event_target:infiltration_target = { has_character_flag = hidden_lab } factor = 1.2 } + modifier = { event_target:infiltration_target = { has_character_flag = very_hidden_lab } factor = 1.5 } + trigger = { event_target:infiltration_target = { has_character_flag = built_laboratory } } + modifier = { NOT = { learning = 10 } factor = 1.5 } + modifier = { NOT = { learning = 8 } factor = 2 } + modifier = { NOT = { learning = 6 } factor = 2 } + set_character_flag = lab_explosion_death + } + } + } + + option = { + trigger = { has_character_flag = lab_destruction } + name = EVTOPTA_MNM_1443 + + event_target:infiltration_target = { + tooltip = { + trigger_switch = { + on_trigger = has_character_modifier + cheap_laboratory = { remove_character_modifier = cheap_laboratory } + normal_laboratory = { remove_character_modifier = normal_laboratory } + good_laboratory = { remove_character_modifier = good_laboratory } + great_laboratory = { remove_character_modifier = great_laboratory } + best_laboratory = { remove_character_modifier = best_laboratory } + } + destroy_all_ingredients_effect = yes + } + } + + add_society_currency_major_effect = yes + } + + option = { + trigger = { has_character_flag = lab_damage } + name = EVTOPTA_MNM_1443 + + tooltip = { + event_target:infiltration_target = { + scaled_wealth = { value = -0.3 min = -30 } + destroy_random_ingredients_effect = yes + } + } + + add_society_currency_medium_effect = yes + } + + option = { + trigger = { has_character_flag = lab_explosion_death } + name = EVTOPTC_MNM_1443 + death = { death_reason = death_accident } + } + + after = { + hidden_effect = { + event_target:infiltration_target = { character_event = { id = MNM.1444 } } + character_event = { id = MNM.1450 days = 40 } + } + } +} + +#Infiltration target gets notified of destroyed lab +character_event = { + id = MNM.1444 + picture = GFX_evt_burning_house + border = GFX_event_normal_frame_intrigue + + desc = { + trigger = { FROM = { has_character_flag = lab_destruction } } + text = EVTDESC_MNM_1444_A + } + desc = { + trigger = { FROM = { has_character_flag = lab_damage } } + text = EVTDESC_MNM_1444_B + } + desc = { + trigger = { + FROM = { + NOR = { + has_character_flag = lab_destruction + has_character_flag = lab_damage + } + } + } + text = EVTDESC_MNM_1444_C + } + + hide_from = yes + + is_triggered_only = yes + + option = { + trigger = { + FROM = { + OR = { + has_character_flag = lab_destruction + has_character_flag = lab_damage + } + } + } + name = CURSES + + if = { + limit = { FROM = { has_character_flag = lab_destruction } } + destroy_all_ingredients_effect = yes + trigger_switch = { + on_trigger = has_character_modifier + cheap_laboratory = { remove_character_modifier = cheap_laboratory } + normal_laboratory = { remove_character_modifier = normal_laboratory } + good_laboratory = { remove_character_modifier = good_laboratory } + great_laboratory = { remove_character_modifier = great_laboratory } + best_laboratory = { remove_character_modifier = best_laboratory } + } + hidden_effect = { + clr_character_flag = built_laboratory + clr_character_flag = hidden_lab + clr_character_flag = very_hidden_lab + } + } + + if = { + limit = { FROM = { has_character_flag = lab_damage } } + scaled_wealth = { value = -0.3 min = -30 } + destroy_random_ingredients_effect = yes + } + } + + option = { + trigger = { + FROM = { + NOR = { + has_character_flag = lab_destruction + has_character_flag = lab_damage + } + } + } + name = EVTOPTB_MNM_1444 + FROM = { clr_character_flag = lab_explosion_death } + } + + after = { + hidden_effect = { + FROM = { + clr_character_flag = lab_destruction + clr_character_flag = lab_damage + } + } + } +} + +#Companion attempts to steal +character_event = { + id = MNM.1445 + hide_window = yes + is_triggered_only = yes + + trigger = { FROM = { has_quest = quest_hermetics_infiltrate_laboratory } } + + immediate = { + random_list = { + 40 = { #Good theft + trigger = { + any_artifact = { + has_artifact_flag = hermetics + has_artifact_flag = ingredient + } + } + modifier = { learning = 10 factor = 1.2 } + modifier = { learning = 12 factor = 1.1 } + modifier = { learning = 13 factor = 1.1 } + modifier = { learning = 16 factor = 1.1 } + modifier = { learning = 18 factor = 1.1 } + set_character_flag = good_theft + FROM = { character_event = { id = MNM.1446 days = 20 } } + } + 40 = { #Ok theft + set_character_flag = ok_theft + FROM = { character_event = { id = MNM.1446 days = 20 } } + } + 20 = { #Bad theft + modifier = { event_target:infiltration_target = { has_character_flag = hidden_lab } factor = 1.2 } + modifier = { event_target:infiltration_target = { has_character_flag = very_hidden_lab } factor = 1.5 } + modifier = { NOT = { learning = 10 } factor = 1.5 } + modifier = { NOT = { learning = 8 } factor = 2 } + modifier = { NOT = { intrigue = 10 } factor = 1.5 } + modifier = { NOT = { intrigue = 8 } factor = 2 } + set_character_flag = bad_theft + FROM = { character_event = { id = MNM.1440 } } #todo does this work, correct flags to display the text? + } + } + } +} + +#Companion steal attempt good/ok outcome +character_event = { + id = MNM.1446 + picture = GFX_evt_library + border = GFX_event_normal_frame_intrigue + + desc = { + trigger = { FROM = { has_character_flag = good_theft } } + text = EVTDESC_MNM_1446_A + } + desc = { + trigger = { FROM = { has_character_flag = ok_theft } } + text = EVTDESC_MNM_1446_B + } + + is_triggered_only = yes + + trigger = { has_quest = quest_hermetics_infiltrate_laboratory } + + option = { + trigger = { FROM = { has_character_flag = good_theft } } + name = EVTOPTA_MNM_1446 + + add_artifact = ingredient_metal_exotic5 + add_society_currency_minor_effect = yes + + hidden_effect = { FROM = { clr_character_flag = good_theft } } + } + + option = { + trigger = { FROM = { has_character_flag = ok_theft } } + name = EVTOPTA_MNM_1446 + + add_society_currency_minor_effect = yes + hidden_effect = { FROM = { clr_character_flag = ok_theft } } + } +} + +#Companion attempts to destroy +character_event = { + id = MNM.1447 + hide_window = yes + is_triggered_only = yes + + trigger = { FROM = { has_quest = quest_hermetics_infiltrate_laboratory } } + + immediate = { + random_list = { + 90 = { #Lab damage + modifier = { learning = 10 factor = 1.2 } + modifier = { learning = 12 factor = 1.1 } + modifier = { learning = 13 factor = 1.1 } + modifier = { learning = 16 factor = 1.1 } + modifier = { learning = 18 factor = 1.1 } + FROM = { character_event = { id = MNM.1448 days = 20 } } + } + 10 = { #They die + modifier = { event_target:infiltration_target = { has_character_flag = hidden_lab } factor = 1.2 } + modifier = { event_target:infiltration_target = { has_character_flag = very_hidden_lab } factor = 1.5 } + modifier = { NOT = { learning = 10 } factor = 1.5 } + modifier = { NOT = { learning = 8 } factor = 2 } + modifier = { NOT = { intrigue = 10 } factor = 1.5 } + modifier = { NOT = { intrigue = 8 } factor = 2 } + FROM = { character_event = { id = MNM.1449 } } + } + } + } +} + +#Companion manages to damage lab +character_event = { + id = MNM.1448 + desc = EVTDESC_MNM_1448 + picture = GFX_evt_burning_house + border = GFX_event_normal_frame_intrigue + + is_triggered_only = yes + + trigger = { has_quest = quest_hermetics_infiltrate_laboratory } + + option = { + name = EVTOPTA_MNM_1448 + + add_society_currency_minor_effect = yes + } +} + +#Companion dies in an explotion +character_event = { + id = MNM.1449 + desc = EVTDESC_MNM_1449 + picture = GFX_evt_burning_house + border = GFX_event_normal_frame_intrigue + + is_triggered_only = yes + + trigger = { has_quest = quest_hermetics_infiltrate_laboratory } + + option = { + name = EVTOPTA_MNM_1449 + + FROM = { death = { death_reason = death_accident } } + + clr_quest = { id = quest_hermetics_infiltrate_laboratory failure = yes } + } +} + +#You escape and mission is complete +character_event = { + id = MNM.1450 + desc = EVTDESC_MNM_1450 + picture = GFX_evt_burning_house + border = GFX_event_normal_frame_intrigue + + is_triggered_only = yes + + trigger = { has_quest = quest_hermetics_infiltrate_laboratory } + + option = { + name = EVTOPTA_MNM_1450 + + clr_quest = quest_hermetics_infiltrate_laboratory + sound_effect = hermetic_society_perform_experiment + + if = { + limit = { + opinion = { who = event_target:infiltration_companion value = 40 } + reverse_opinion = { who = event_target:infiltration_companion value = 40 } + NOT = { is_friend = event_target:infiltration_companion } + } + add_friend = event_target:infiltration_companion + break = yes + } + reverse_opinion = { + who = event_target:infiltration_companion + modifier = opinion_accomplice + years = 10 + } + hidden_effect = { + opinion = { + who = event_target:infiltration_companion + modifier = opinion_accomplice + years = 10 + } + } + } +} + +#Clears flags from infiltration target +character_event = { + id = MNM.1456 + hide_window = yes + is_triggered_only = yes + immediate = { + clr_character_flag = infiltration_rival + clr_character_flag = infiltration_mutual_dislike + clr_character_flag = infiltration_rich + } +} + +############ +# POWERS +############ +####################### Start of Scrying events ####################### +######## Power: Perform Scrying - what do you want to look for? ####### +character_event = { + id = MNM.1200 + picture = GFX_evt_dark_prayer + border = GFX_event_normal_frame_religion + is_triggered_only = yes + + trigger = { + has_dlc = "Mystics" + has_an_omen_modifier_trigger = no + } + + desc = { + text = EVTDESC_MNM_1200_A + trigger = { NOT = { any_artifact = { has_artifact_flag = ingredient } } } + } + desc = { + text = EVTDESC_MNM_1200_B + trigger = { any_artifact = { has_artifact_flag = ingredient } } + } + + immediate = { + if = { + limit = { + any_artifact = { + has_artifact_flag = ingredient + } + } + select_random_hermetic_ingredient_effect = yes + } + } + + option = { # I want to know about battles to come + name = EVTOPTA_MNM_1200 + set_character_flag = battle_focused_scrying_flag + } + option = { # I want to know where my relationships will lead + name = EVTOPTB_MNM_1200 + set_character_flag = relationship_focused_scrying_flag + } + option = { # I want to find out how to increase my power + name = EVTOPTC_MNM_1200 + set_character_flag = power_hungry_scrying_flag + } + + option = { # I am gonna throw some ingredients into the water... + tooltip_info = yes + + custom_tooltip = { text = ingredient_option_available_tt } + custom_tooltip = { text = EVTOPTD_MNM_1200_tt } + name = { + text = EVTOPTD_MNM_1200_herb + trigger = { + any_artifact = { + has_artifact_flag = selected_ingredient + is_ingredient_herb_trigger = yes + } + } + } + name = { + text = EVTOPTD_MNM_1200_animal_part + trigger = { + any_artifact = { + has_artifact_flag = selected_ingredient + is_ingredient_animal_part_trigger = yes + } + } + } + name = { + text = EVTOPTD_MNM_1200_powder + trigger = { + any_artifact = { + has_artifact_flag = selected_ingredient + is_ingredient_powder_trigger = yes + } + } + } + name = { + text = EVTOPTD_MNM_1200_liquid + trigger = { + any_artifact = { + has_artifact_flag = selected_ingredient + is_ingredient_liquid_trigger = yes + } + } + } + hidden_effect = { + random_list = { + 10 = { + set_character_flag = battle_focused_scrying_flag + } + 10 = { + set_character_flag = relationship_focused_scrying_flag + } + 10 = { + set_character_flag = power_hungry_scrying_flag + } + } + set_character_flag = used_ingredient_flag + } + destroy_selected_ingredient_1_effect = yes + + ai_chance = { #AI should use ingredients if they can + factor = 100 + modifier = { + factor = 50 + trait = ambitious + } + } + + trigger = { + any_artifact = { has_artifact_flag = ingredient } + } + } + + after = { + hidden_effect = { + character_event = { id = MNM.1201 days = 5 random = 1 } + remove_selection_of_ingredients_effect = yes + } + } +} + +character_event = { # You see something in the water and react well or poorly to it + id = MNM.1201 + picture = GFX_evt_dark_prayer + border = GFX_event_normal_frame_religion + is_triggered_only = yes + + trigger = { + has_dlc = "Mystics" + has_an_omen_modifier_trigger = no + society_member_of = hermetics + } + + desc = { + trigger = { has_character_flag = battle_focused_scrying_flag has_character_flag = desc_variation_A_flag } + text = EVTDESC_MNM_1201_BATTLE_A + } + desc = { + trigger = { has_character_flag = battle_focused_scrying_flag has_character_flag = desc_variation_B_flag } + text = EVTDESC_MNM_1201_BATTLE_B + } + desc = { + trigger = { has_character_flag = battle_focused_scrying_flag has_character_flag = desc_variation_C_flag } + text = EVTDESC_MNM_1201_BATTLE_C + } + + desc = { + trigger = { has_character_flag = relationship_focused_scrying_flag has_character_flag = desc_variation_A_flag } + text = EVTDESC_MNM_1201_RELATIONSHIP_A + } + desc = { + trigger = { has_character_flag = relationship_focused_scrying_flag has_character_flag = desc_variation_B_flag } + text = EVTDESC_MNM_1201_RELATIONSHIP_B + } + desc = { + trigger = { has_character_flag = relationship_focused_scrying_flag has_character_flag = desc_variation_C_flag } + text = EVTDESC_MNM_1201_RELATIONSHIP_C + } + + desc = { + trigger = { has_character_flag = power_hungry_scrying_flag has_character_flag = desc_variation_A_flag } + text = EVTDESC_MNM_1201_POWER_A + } + desc = { + trigger = { has_character_flag = power_hungry_scrying_flag has_character_flag = desc_variation_B_flag } + text = EVTDESC_MNM_1201_POWER_B + } + desc = { + trigger = { has_character_flag = power_hungry_scrying_flag has_character_flag = desc_variation_C_flag } + text = EVTDESC_MNM_1201_POWER_C + } + + immediate = { + random_list = { + 10 = { set_character_flag = desc_variation_A_flag } + 10 = { set_character_flag = desc_variation_B_flag } + 10 = { set_character_flag = desc_variation_C_flag } + } + random_list = { + 30 = { + modifier = { + factor = 1.5 + has_character_flag = used_ingredient_flag + } + set_character_flag = positive_reaction_to_scrying_flag + } + 30 = { + set_character_flag = negative_reaction_to_scrying_flag + } + } + } + option = { + name = EVTOPTA_MNM_1201 + + if = { limit = { has_character_flag = battle_focused_scrying_flag } + add_character_modifier = { + name = good_battle_omen + duration = -1 + } + + } + if = { limit = { has_character_flag = relationship_focused_scrying_flag } + add_character_modifier = { + name = good_relationship_omen + duration = -1 + } + } + if = { limit = { has_character_flag = power_hungry_scrying_flag } + add_character_modifier = { + name = good_power_omen + duration = -1 + } + } + + trigger = { + has_character_flag = positive_reaction_to_scrying_flag + } + } + option = { + name = EVTOPTB_MNM_1201 + + if = { limit = { has_character_flag = battle_focused_scrying_flag } + add_character_modifier = { + name = bad_battle_omen + duration = -1 + } + } + if = { limit = { has_character_flag = relationship_focused_scrying_flag } + add_character_modifier = { + name = bad_relationship_omen + duration = -1 + } + } + if = { limit = { has_character_flag = power_hungry_scrying_flag } + add_character_modifier = { + name = bad_power_omen + duration = -1 + } + } + + trigger = { + has_character_flag = negative_reaction_to_scrying_flag + } + } + after = { + hidden_effect = { + random_list = { # For sending fallbacks, in case nothing else triggers from the omen-modifiers during the next few years + 10 = { + character_event = { id = MNM.1225 days = 1500 random = 300 } + } + 10 = { + character_event = { id = MNM.1226 days = 1500 random = 300 } + } + 10 = { + character_event = { id = MNM.1227 days = 1500 random = 300 } + } + } + } + clr_character_flag = desc_variation_A_flag + clr_character_flag = desc_variation_B_flag + clr_character_flag = desc_variation_C_flag + clr_character_flag = battle_focused_scrying_flag + clr_character_flag = relationship_focused_scrying_flag + clr_character_flag = power_hungry_scrying_flag + clr_character_flag = used_ingredient_flag + } +} + +character_event = { # Gain a leadership trait (fired from on_combat_pulse) + id = MNM.1202 + picture = GFX_evt_battle + border = GFX_event_normal_frame_war + is_triggered_only = yes + + trigger = { + has_dlc = "Mystics" + is_alive = yes + can_have_more_leadership_traits = yes + OR = { + NOT = { trait = experimenter } + NOT = { trait = unyielding_leader } + NOT = { trait = inspiring_leader } + } + has_battle_omen_modifier_trigger = yes + } + + weight_multiplier = { + days = 1 + modifier = { + factor = 2.5 + has_character_modifier = good_battle_omen + } + modifier = { + factor = 1.5 + trait = brave + } + modifier = { + factor = 0.5 + trait = craven + } + modifier = { + trait = genius + factor = 1.5 + } + modifier = { + OR = { + trait = quick + trait = shrewd + } + factor = 1.2 + } + modifier = { + factor = 0.9 + has_character_modifier = bad_battle_omen + } + } + + desc = { + trigger = { has_character_modifier = good_battle_omen } + text = EVTDESC_MNM_1202_A + } + desc = { + trigger = { has_character_modifier = bad_battle_omen } + text = EVTDESC_MNM_1202_B + } + + immediate = { + random_list = { + 10 = { + trigger = { NOT = { trait = experimenter } } + set_character_flag = gain_direct_leader + } + 10 = { + trigger = { NOT = { trait = unyielding_leader } } + set_character_flag = gain_unyielding_leader + } + 10 = { + trigger = { NOT = { trait = inspiring_leader } } + set_character_flag = gain_inspiring_leader + } + } + } + + option = { # Gain Direct Leader + name = EVTOPTA_MNM_1202 + trigger = { has_character_flag = gain_direct_leader } + add_trait = experimenter + } + option = { # Gain Unyielding + name = EVTOPTB_MNM_1202 + trigger = { has_character_flag = gain_unyielding_leader } + add_trait = unyielding_leader + } + option = { # Gain Inspiring Leader + name = EVTOPTC_MNM_1202 + trigger = { has_character_flag = gain_inspiring_leader } + add_trait = inspiring_leader + } + after = { + if = { + limit = { has_character_modifier = good_battle_omen } + upgrade_seer_modifier_effect = yes + } + if = { + limit = { has_character_modifier = bad_battle_omen } + downgrade_seer_modifier_effect = yes + } + remove_scrying_omen_modifiers_effect = yes + clr_character_flag = gain_direct_leader + clr_character_flag = gain_unyielding_leader + clr_character_flag = gain_inspiring_leader + } +} + +character_event = { # Fight goes badly (fired from on_combat_pulse) + id = MNM.1203 + picture = GFX_evt_battle + border = GFX_event_normal_frame_war + is_triggered_only = yes + + trigger = { + has_dlc = "Mystics" + is_alive = yes + has_battle_omen_modifier_trigger = yes + } + + weight_multiplier = { + days = 1 + modifier = { + factor = 2 + has_character_modifier = bad_battle_omen + } + modifier = { + factor = 0.9 + has_character_modifier = good_battle_omen + } + } + + desc = { + trigger = { has_character_modifier = bad_battle_omen } + text = EVTDESC_MNM_1203_A + } + desc = { + trigger = { has_character_modifier = good_battle_omen } + text = EVTDESC_MNM_1203_B + } + + option = { # At least I was right + name = EVTOPTA_MNM_1203 + upgrade_seer_modifier_effect = yes + + trigger = { has_character_modifier = bad_battle_omen } + } + option = { # Curses! Where's the glory in this?! + name = EVTOPTB_MNM_1203 + downgrade_seer_modifier_effect = yes + + trigger = { has_character_modifier = good_battle_omen } + } + + after = { + random_list = { + 40 = { + add_trait_wounded_effect = yes + } + 40 = { + modifier = { + factor = 0 + OR = { + trait = one_legged + NOT = { has_dlc = "Reapers" } + } + } + add_trait = one_legged + + character_event = { id = RIP.11503 } # Notify one-legged + if = { + limit = { + AND = { + has_dlc = "Reapers" + NOT = { trait = severely_injured } + } + } + add_trait = severely_injured + resolve_severely_injured_effect = yes + } + } + 5 = { + death = { death_reason = death_battle } + } + } + remove_scrying_omen_modifiers_effect = yes + } +} + +character_event = { # A Child is born - you have a good feeling about the kid! (fired from on_birth) + id = MNM.1204 + picture = GFX_evt_state_diplomacy + border = GFX_event_normal_frame_religion + is_triggered_only = yes + + trigger = { + has_dlc = "Mystics" + is_alive = yes + + FROM = { + is_alive = yes + OR = { + is_smart_trigger = yes + is_strong_trigger = yes + } + NOT = { has_negative_congenital_trigger = yes } + } + has_relationship_omen_modifier_trigger = yes + } + + weight_multiplier = { + days = 1 + modifier = { + factor = 5 + has_character_modifier = good_relationship_omen + } + modifier = { + factor = 0.5 + has_character_modifier = bad_relationship_omen + } + } + + immediate = { + if = { limit = { has_character_modifier = good_relationship_omen } set_character_flag = omen_opt1 } + if = { limit = { has_character_modifier = bad_relationship_omen } set_character_flag = omen_opt2 } + remove_scrying_omen_modifiers_effect = yes + } + + desc = { + trigger = { has_character_modifier = good_relationship_omen } + text = EVTDESC_MNM_1204_A + } + desc = { + trigger = { has_character_modifier = bad_relationship_omen } + text = EVTDESC_MNM_1204_B + } + + option = { # I knew something great would happen! + name = EVTOPTA_MNM_1204 + tooltip = { + remove_character_modifier = good_relationship_omen + } + upgrade_seer_modifier_effect = yes + + trigger = { has_character_flag = omen_opt1 } + } + option = { # I am not sure I interpreted the omen correctly... + name = EVTOPTB_MNM_1204 + tooltip = { + remove_character_modifier = bad_relationship_omen + } + downgrade_seer_modifier_effect = yes + + trigger = { has_character_flag = omen_opt2 } + } + + after = { + clr_character_flag = omen_opt1 + clr_character_flag = omen_opt2 + } +} + +character_event = { # A Child is born - you're not impressed (fired from on_birth) + id = MNM.1205 + picture = GFX_evt_secluded_in_prayer + border = GFX_event_normal_frame_religion + is_triggered_only = yes + + trigger = { + has_dlc = "Mystics" + is_alive = yes + + FROM = { + is_alive = yes + has_negative_congenital_trigger = yes + NOT = { is_smart_trigger = yes } + NOT = { is_strong_trigger = yes } + } + + OR = { + has_character_modifier = good_relationship_omen + has_character_modifier = bad_relationship_omen + } + } + + weight_multiplier = { + days = 1 + modifier = { + factor = 5 + has_character_modifier = bad_relationship_omen + } + modifier = { + factor = 0.5 + has_character_modifier = good_relationship_omen + } + } + + immediate = { + if = { limit = { has_character_modifier = bad_relationship_omen } set_character_flag = omen_opt1 } + if = { limit = { has_character_modifier = good_relationship_omen } set_character_flag = omen_opt2 } + remove_scrying_omen_modifiers_effect = yes + } + + desc = { + trigger = { has_character_modifier = bad_relationship_omen } + text = EVTDESC_MNM_1205_A + } + desc = { + trigger = { has_character_modifier = good_relationship_omen } + text = EVTDESC_MNM_1205_B + } + + + option = { # I knew something bad would happen! + name = EVTOPTA_MNM_1205 + tooltip = { + remove_character_modifier = bad_relationship_omen + } + upgrade_seer_modifier_effect = yes + + trigger = { has_character_flag = omen_opt1 } + } + option = { # I am not sure I interpreted the omen correctly... + name = EVTOPTB_MNM_1205 + tooltip = { + remove_character_modifier = good_relationship_omen + } + downgrade_seer_modifier_effect = yes + + trigger = { has_character_flag = omen_opt2 } + } + + after = { + clr_character_flag = omen_opt1 + clr_character_flag = omen_opt2 + } +} + +character_event = { #newborn sends event to parents + id = MNM.1206 + is_triggered_only = yes + hide_window = yes + + weight_multiplier = { + days = 1 + modifier = { + factor = 5 + OR = { + has_character_modifier = bad_relationship_omen + has_character_modifier = good_relationship_omen + } + } + } + + immediate = { + father = { + character_event = { id = MNM.1204 days = 15 } + character_event = { id = MNM.1205 days = 15 } + } + mother = { + character_event = { id = MNM.1204 days = 15 } + character_event = { id = MNM.1205 days = 15 } + } + } +} + +character_event = { # PING/Set-up event: Someone dies - is this what you foretold? (fired from on_death) + id = MNM.1207 + hide_window = yes + is_triggered_only = yes + + trigger = { + OR = { + any_lover = { + is_alive = yes + has_relationship_omen_modifier_trigger = yes + } + any_friend = { + is_alive = yes + has_relationship_omen_modifier_trigger = yes + } + + AND = { + is_adult = yes + any_rival = { + is_alive = yes + has_relationship_omen_modifier_trigger = yes + } + } + any_child = { + is_alive = yes + is_adult = yes + has_relationship_omen_modifier_trigger = yes + } + mother = { + is_alive = yes + has_relationship_omen_modifier_trigger = yes + } + father = { + is_alive = yes + has_relationship_omen_modifier_trigger = yes + } + } + NOT = { death_reason = death_missing } + } + + option = { + save_event_target_as = mnm_scrying_dead + + spouse = { save_event_target_as = mnm_scrying_widow } + + #Lover gets event + random_lover = { + limit = { + NOT = { trait = incapable } + has_relationship_omen_modifier_trigger = yes + } + character_event = { id = MNM.1208 days = 20 } + } + + #Friend gets event + random_friend = { + limit = { + NOT = { trait = incapable } + has_relationship_omen_modifier_trigger = yes + } + save_event_target_as = mnm_scrying_friend + character_event = { id = MNM.1209 days = 30 } + } + + #Rival gets event + random_rival = { + limit = { + NOT = { trait = incapable } + has_relationship_omen_modifier_trigger = yes + } + save_event_target_as = mnm_scrying_enemy + character_event = { id = MNM.1210 days = 30 } + } + + # Adult child gets event + random_child = { + limit = { + is_adult = yes + NOT = { trait = incapable } + has_relationship_omen_modifier_trigger = yes + } + save_event_target_as = mnm_scrying_child + character_event = { id = MNM.1211 days = 30 } + } + # Parent + if = { + limit = { + mother = { + NOT = { trait = incapable } + has_relationship_omen_modifier_trigger = yes + } + } + mother = { + save_event_target_as = mnm_scrying_parent + character_event = { id = MNM.1212 days = 30 } + } + } + + if = { + limit = { + father = { + NOT = { trait = incapable } + has_relationship_omen_modifier_trigger = yes + } + } + father = { + save_event_target_as = mnm_scrying_parent + character_event = { id = MNM.1212 days = 30 } + } + } + } +} + +character_event = { # scrying vision result: the passing of a lover + id = MNM.1208 + picture = GFX_evt_secluded_in_prayer + border = GFX_event_normal_frame_religion + is_triggered_only = yes + + trigger = { + has_relationship_omen_modifier_trigger = yes + NOT = { trait = incapable } + } + + desc = { + trigger = { has_character_modifier = bad_relationship_omen } + text = EVTDESC_MNM_1208_A + } + desc = { + trigger = { has_character_modifier = good_relationship_omen } + text = EVTDESC_MNM_1208_B + } + + option = { + name = EVTOPTA_MNM_1208 + upgrade_seer_modifier_effect = yes + + trigger = { has_character_modifier = bad_relationship_omen } + } + option = { + name = EVTOPTB_MNM_1208 + downgrade_seer_modifier_effect = yes + + trigger = { has_character_modifier = good_relationship_omen } + } + + after = { + remove_scrying_omen_modifiers_effect = yes + } +} + +character_event = { # scrying vision result: the passing of a friend + id = MNM.1209 + picture = GFX_evt_secluded_in_prayer + border = GFX_event_normal_frame_religion + is_triggered_only = yes + + trigger = { + has_relationship_omen_modifier_trigger = yes + NOT = { trait = incapable } + } + + desc = { + trigger = { has_character_modifier = bad_relationship_omen } + text = EVTDESC_MNM_1209_A + } + desc = { + trigger = { has_character_modifier = good_relationship_omen } + text = EVTDESC_MNM_1209_B + } + + option = { + name = EVTOPTA_MNM_1209 + upgrade_seer_modifier_effect = yes + + trigger = { has_character_modifier = bad_relationship_omen } + } + option = { + name = EVTOPTB_MNM_1209 + downgrade_seer_modifier_effect = yes + + trigger = { has_character_modifier = good_relationship_omen } + } + + after = { + remove_scrying_omen_modifiers_effect = yes + } +} + +character_event = { # scrying vision result: the passing of a rival + id = MNM.1210 + picture = GFX_evt_state_diplomacy + border = GFX_event_normal_frame_religion + is_triggered_only = yes + + trigger = { + has_relationship_omen_modifier_trigger = yes + NOT = { trait = incapable } + } + + desc = { + trigger = { has_character_modifier = bad_relationship_omen } + text = EVTDESC_MNM_1210_A + } + desc = { + trigger = { has_character_modifier = good_relationship_omen } + text = EVTDESC_MNM_1210_B + } + + option = { + name = EVTOPTA_MNM_1210 + upgrade_seer_modifier_effect = yes + + trigger = { has_character_modifier = good_relationship_omen } + } + option = { + name = EVTOPTB_MNM_1210 + downgrade_seer_modifier_effect = yes + + trigger = { has_character_modifier = bad_relationship_omen } + } + + after = { + remove_scrying_omen_modifiers_effect = yes + } +} + +character_event = { # scrying vision result: the passing of a parent + id = MNM.1211 + picture = GFX_evt_secluded_in_prayer + border = GFX_event_normal_frame_religion + is_triggered_only = yes + + trigger = { + has_relationship_omen_modifier_trigger = yes + NOT = { trait = incapable } + } + + desc = { + trigger = { has_character_modifier = bad_relationship_omen } + text = EVTDESC_MNM_1211_A + } + desc = { + trigger = { has_character_modifier = good_relationship_omen } + text = EVTDESC_MNM_1211_B + } + + option = { + name = EVTOPTA_MNM_1211 + upgrade_seer_modifier_effect = yes + + trigger = { has_character_modifier = bad_relationship_omen } + } + option = { + name = EVTOPTB_MNM_1211 + downgrade_seer_modifier_effect = yes + + trigger = { has_character_modifier = good_relationship_omen } + } + + after = { + remove_scrying_omen_modifiers_effect = yes + } +} + +character_event = { # scrying vision result: the passing of a child + id = MNM.1212 + picture = GFX_evt_secluded_in_prayer + border = GFX_event_normal_frame_religion + is_triggered_only = yes + + trigger = { + has_relationship_omen_modifier_trigger = yes + NOT = { trait = incapable } + } + + desc = { + trigger = { has_character_modifier = bad_relationship_omen } + text = EVTDESC_MNM_1212_A + } + desc = { + trigger = { has_character_modifier = good_relationship_omen } + text = EVTDESC_MNM_1212_B + } + + option = { + name = EVTOPTA_MNM_1212 + upgrade_seer_modifier_effect = yes + + trigger = { has_character_modifier = bad_relationship_omen } + } + option = { + name = EVTOPTB_MNM_1212 + downgrade_seer_modifier_effect = yes + + trigger = { has_character_modifier = good_relationship_omen } + } + + after = { + remove_scrying_omen_modifiers_effect = yes + } +} + +character_event = { # Ping event for pets + id = MNM.1213 + is_triggered_only = yes + hide_window = yes + + trigger = { + OR = { + has_character_flag = cat_death_omen + has_character_flag = dog_death_omen + } + } + + immediate = { + if = { + limit = { + has_relationship_omen_modifier_trigger = yes + NOT = { trait = incapable } + } + character_event = { id = MNM.1214 } + } + if = { + limit = { trait = incapable } + clr_character_flag = cat_death_omen + clr_character_flag = dog_death_omen + } + } +} + +character_event = { # scrying vision result: Cat/Dog death + id = MNM.1214 + picture = GFX_evt_secluded_in_prayer + border = GFX_event_normal_frame_religion + is_triggered_only = yes + + trigger = { + has_relationship_omen_modifier_trigger = yes + OR = { + has_character_flag = cat_death_omen + has_character_flag = dog_death_omen + } + NOT = { trait = incapable } + } + + desc = { + trigger = { has_character_modifier = bad_relationship_omen NOT = { trait = lunatic } } + text = EVTDESC_MNM_1214_A + } + desc = { + trigger = { has_character_modifier = good_relationship_omen NOT = { trait = lunatic } } + text = EVTDESC_MNM_1214_B + } + desc = { + trigger = { has_character_modifier = bad_relationship_omen trait = lunatic } + text = EVTDESC_MNM_1214_A_lunatic + } + desc = { + trigger = { has_character_modifier = good_relationship_omen trait = lunatic } + text = EVTDESC_MNM_1214_B_lunatic + } + + option = { + name = { + text = EVTOPTA_MNM_1214_cat + trigger = { has_character_flag = cat_death_omen } + } + name = { + text = EVTOPTA_MNM_1214_dog + trigger = { has_character_flag = dog_death_omen } + } + + upgrade_seer_modifier_effect = yes + + trigger = { has_character_modifier = bad_relationship_omen } + } + option = { + name = { + text = EVTOPTB_MNM_1214_cat + trigger = { has_character_flag = cat_death_omen } + } + name = { + text = EVTOPTB_MNM_1214_dog + trigger = { has_character_flag = dog_death_omen } + } + + downgrade_seer_modifier_effect = yes + + trigger = { has_character_modifier = good_relationship_omen } + } + + after = { + clr_character_flag = cat_death_omen + clr_character_flag = dog_death_omen + remove_scrying_omen_modifiers_effect = yes + } +} + +character_event = { # Scrying vision result: gaining a new title + id = MNM.1215 + picture = GFX_evt_gathering_of_minds + border = GFX_event_normal_frame_religion + is_triggered_only = yes + + trigger = { + has_power_omen_modifier_trigger = yes + NOT = { trait = incapable } + } + + immediate = { + if = { limit = { has_character_modifier = good_power_omen } set_character_flag = omen_opt1 } + if = { limit = { has_character_modifier = bad_power_omen } set_character_flag = omen_opt2 } + remove_scrying_omen_modifiers_effect = yes + } + + desc = { + trigger = { has_character_flag = omen_opt1 } + text = EVTDESC_MNM_1215_A + } + desc = { + trigger = { has_character_flag = omen_opt2 } + text = EVTDESC_MNM_1215_B + } + + option = { + name = EVTOPTA_MNM_1215 + tooltip = { + remove_character_modifier = good_power_omen + } + upgrade_seer_modifier_effect = yes + + trigger = { has_character_flag = omen_opt1 } + } + option = { + name = EVTOPTB_MNM_1215 + tooltip = { + remove_character_modifier = bad_power_omen + } + downgrade_seer_modifier_effect = yes + + trigger = { has_character_flag = omen_opt2 } + } + + after = { + clr_character_flag = omen_opt1 + clr_character_flag = omen_opt2 + } +} + +### To handle loss of titles: +character_event = { # 1. new holder of title (ROOT) sends event to old holder (FROMFROM), if they are still alive (sent from on_new_holder, on_new_holder_inheritance and on_new_holder_usurpation) + id = MNM.1216 + is_triggered_only = yes + hide_window = yes + + trigger = { + FROMFROM = { is_alive = yes } + } + + immediate = { + save_event_target_as = new_holder_target + FROMFROM = { save_event_target_as = old_holder_target } + character_event = { id = MNM.1218 days = 1 } + } +} + +diploresponse_event = { # 1.B: new holder of title gets exception flag, if the title was granted voluntarily (sent from GRANT_LANDED_TITLE_INTERACTION_ACCEPT_EVENT) + id = MNM.1217 + is_triggered_only = yes + hide_window = yes + + immediate = { + FROM = { set_character_flag = was_granted_title_voluntarily } + } +} + +character_event = { # 2: gating event, to send event or clearing flag for the new holder + id = MNM.1218 + is_triggered_only = yes + hide_window = yes + + immediate = { + if = { + limit = { NOT = { has_character_flag = was_granted_title_voluntarily } } + event_target:old_holder_target = { character_event = { id = MNM.1219 days = 3 } } + } + if = { + limit = { has_character_flag = was_granted_title_voluntarily } + clr_character_flag = was_granted_title_voluntarily + } + } +} + +character_event = { # 3: Scrying vision result: losing a title (not sent if given away freely via targeted decision) + id = MNM.1219 + picture = GFX_evt_gathering_of_minds + border = GFX_event_normal_frame_religion + is_triggered_only = yes + + trigger = { + event_target:new_holder_target = { NOT = { has_character_flag = was_granted_title_voluntarily } } + has_power_omen_modifier_trigger = yes + NOT = { trait = incapable } + } + + immediate = { + if = { limit = { has_character_modifier = bad_power_omen } set_character_flag = omen_opt1 } + if = { limit = { has_character_modifier = good_power_omen } set_character_flag = omen_opt2 } + remove_scrying_omen_modifiers_effect = yes + } + + desc = { + trigger = { has_character_flag = omen_opt1 } + text = EVTDESC_MNM_1219_A + } + desc = { + trigger = { has_character_flag = omen_opt2 } + text = EVTDESC_MNM_1219_B + } + + option = { + name = EVTOPTA_MNM_1219 + tooltip = { + remove_character_modifier = bad_power_omen + } + upgrade_seer_modifier_effect = yes + + trigger = { has_character_flag = omen_opt1 } + } + option = { + name = EVTOPTB_MNM_1219 + tooltip = { + remove_character_modifier = good_power_omen + } + downgrade_seer_modifier_effect = yes + + trigger = { has_character_flag = omen_opt2 } + } + + after = { + clr_character_flag = omen_opt1 + clr_character_flag = omen_opt2 + } +} + +character_event = { # Scrying vision result: you are sick + id = MNM.1220 + picture = GFX_evt_recovery + border = GFX_event_normal_frame_religion + is_triggered_only = yes + + trigger = { + has_power_omen_modifier_trigger = yes + } + + immediate = { + if = { limit = { has_character_modifier = bad_power_omen } set_character_flag = omen_opt1 } + if = { limit = { has_character_modifier = good_power_omen } set_character_flag = omen_opt2 } + remove_scrying_omen_modifiers_effect = yes + } + + desc = { + trigger = { has_character_flag = omen_opt1 } + text = EVTDESC_MNM_1220_A + } + desc = { + trigger = { has_character_flag = omen_opt2 } + text = EVTDESC_MNM_1220_B + } + + option = { + name = EVTOPTA_MNM_1220 + tooltip = { + remove_character_modifier = bad_power_omen + } + upgrade_seer_modifier_effect = yes + + trigger = { has_character_flag = omen_opt1 } + } + option = { + name = EVTOPTB_MNM_1220 + tooltip = { + remove_character_modifier = good_power_omen + } + downgrade_seer_modifier_effect = yes + + trigger = { has_character_flag = omen_opt2 } + } + + after = { + clr_character_flag = omen_opt1 + clr_character_flag = omen_opt2 + } +} +character_event = { # Scrying vision result: FROM is sick + id = MNM.1221 + picture = GFX_evt_recovery + border = GFX_event_normal_frame_religion + is_triggered_only = yes + + trigger = { + FROM = { is_alive = yes } + OR = { + has_character_modifier = good_relationship_omen + has_character_modifier = bad_relationship_omen + } + } + + immediate = { + if = { limit = { has_character_modifier = bad_relationship_omen } set_character_flag = omen_opt1 } + if = { limit = { has_character_modifier = good_relationship_omen } set_character_flag = omen_opt2 } + remove_scrying_omen_modifiers_effect = yes + } + + desc = { + trigger = { has_character_flag = omen_opt1 } + text = EVTDESC_MNM_1221_A + } + desc = { + trigger = { has_character_flag = omen_opt2 } + text = EVTDESC_MNM_1221_B + } + + option = { + name = EVTOPTA_MNM_1221 + tooltip = { + remove_character_modifier = bad_relationship_omen + } + upgrade_seer_modifier_effect = yes + + trigger = { has_character_flag = omen_opt1 } + } + option = { + name = EVTOPTB_MNM_1221 + tooltip = { + remove_character_modifier = good_relationship_omen + } + downgrade_seer_modifier_effect = yes + + trigger = { has_character_flag = omen_opt2 } + } + + after = { + clr_character_flag = omen_opt1 + clr_character_flag = omen_opt2 + } +} + +character_event = { # Scrying vision result: you are healthy! + id = MNM.1222 + picture = GFX_evt_recovery + border = GFX_event_normal_frame_religion + is_triggered_only = yes + + trigger = { + has_power_omen_modifier_trigger = yes + } + + immediate = { + if = { limit = { has_character_modifier = good_power_omen } set_character_flag = omen_opt1 } + if = { limit = { has_character_modifier = bad_power_omen } set_character_flag = omen_opt2 } + remove_scrying_omen_modifiers_effect = yes + } + + desc = { + trigger = { has_character_flag = omen_opt1 } + text = EVTDESC_MNM_1222_A + } + desc = { + trigger = { has_character_flag = omen_opt2 } + text = EVTDESC_MNM_1222_B + } + + option = { + name = EVTOPTA_MNM_1222 + tooltip = { + remove_character_modifier = good_power_omen + } + upgrade_seer_modifier_effect = yes + + trigger = { has_character_flag = omen_opt1 } + } + option = { + name = EVTOPTB_MNM_1222 + tooltip = { + remove_character_modifier = bad_power_omen + } + downgrade_seer_modifier_effect = yes + + trigger = { has_character_flag = omen_opt2 } + } + + after = { + clr_character_flag = omen_opt1 + clr_character_flag = omen_opt2 + } +} + +character_event = { # Scrying vision result: FROM is healthy! + id = MNM.1223 + picture = GFX_evt_recovery + border = GFX_event_normal_frame_religion + is_triggered_only = yes + + trigger = { + FROM = { is_alive = yes } + OR = { + has_character_modifier = good_relationship_omen + has_character_modifier = bad_relationship_omen + } + } + + immediate = { + if = { limit = { has_character_modifier = good_relationship_omen } set_character_flag = omen_opt1 } + if = { limit = { has_character_modifier = bad_relationship_omen } set_character_flag = omen_opt2 } + remove_scrying_omen_modifiers_effect = yes + } + + desc = { + trigger = { has_character_flag = omen_opt1 } + text = EVTDESC_MNM_1223_A + } + desc = { + trigger = { has_character_flag = omen_opt2 } + text = EVTDESC_MNM_1223_B + } + + option = { + name = EVTOPTA_MNM_1223 + tooltip = { + remove_character_modifier = good_relationship_omen + } + upgrade_seer_modifier_effect = yes + + trigger = { has_character_flag = omen_opt1 } + } + option = { + name = EVTOPTB_MNM_1223 + tooltip = { + remove_character_modifier = bad_relationship_omen + } + downgrade_seer_modifier_effect = yes + + trigger = { has_character_flag = omen_opt2 } + } + + after = { + clr_character_flag = omen_opt1 + clr_character_flag = omen_opt2 + } +} + +character_event = { # FALLBACK (delayed event): Something good happens + id = MNM.1225 + border = GFX_event_normal_frame_religion + is_triggered_only = yes + picture = GFX_evt_state_diplomacy + trigger = { + has_an_omen_modifier_trigger = yes + } + + immediate = { + if = { + limit = { + has_character_modifier = good_battle_omen + } + set_character_flag = omen_opt_good_battle + } + if = { + limit = { + has_character_modifier = bad_battle_omen + } + set_character_flag = omen_opt_bad_battle + } + if = { + limit = { + has_character_modifier = good_relationship_omen + } + hidden_effect = { + #... Find a friend + if = { + limit = { any_courtier = { NOR = { is_friend = ROOT is_rival = ROOT is_lover = ROOT } is_adult = yes } } + + random_courtier = { + limit = { NOR = { is_friend = ROOT is_rival = ROOT is_lover = ROOT } is_adult = yes } + save_event_target_as = envisioned_friend + } + } + #... Or create a new one + if = { + limit = { NOT = { any_courtier = { NOR = { is_friend = ROOT is_rival = ROOT is_lover = ROOT } is_adult = yes } } } + + create_character = { + random_traits = yes + dynasty = random + } + new_character = { + save_event_target_as = envisioned_friend + } + } + } + set_character_flag = omen_opt_good_relationship + } + if = { + limit = { + has_character_modifier = bad_relationship_omen + } + hidden_effect = { + #... Find a friend + if = { + limit = { any_courtier = { NOR = { is_friend = ROOT is_rival = ROOT is_lover = ROOT } is_adult = yes } } + + random_courtier = { + limit = { NOR = { is_friend = ROOT is_rival = ROOT is_lover = ROOT } is_adult = yes } + save_event_target_as = envisioned_friend + } + } + #... Or create a new one + if = { + limit = { NOT = { any_courtier = { NOR = { is_friend = ROOT is_rival = ROOT is_lover = ROOT } is_adult = yes } } } + + create_character = { + random_traits = yes + dynasty = random + } + new_character = { + save_event_target_as = envisioned_friend + } + } + } + set_character_flag = omen_opt_bad_relationship + } + if = { + limit = { + has_character_modifier = good_power_omen + } + set_character_flag = omen_opt_good_power + } + if = { + limit = { + has_character_modifier = bad_power_omen + } + set_character_flag = omen_opt_bad_power + } + remove_scrying_omen_modifiers_effect = yes + } + + desc = { + trigger = { has_character_flag = omen_opt_good_battle } + picture = GFX_evt_hunt + text = EVTDESC_MNM_1225_A + } + desc = { + trigger = { has_character_flag = omen_opt_bad_battle } + picture = GFX_evt_hunt + text = EVTDESC_MNM_1225_B + } + desc = { + trigger = { has_character_flag = omen_opt_good_relationship } + picture = GFX_evt_state_diplomacy + text = EVTDESC_MNM_1225_C + } + desc = { + trigger = { has_character_flag = omen_opt_bad_relationship } + picture = GFX_evt_state_diplomacy + text = EVTDESC_MNM_1225_D + } + desc = { + trigger = { has_character_flag = omen_opt_good_power } + picture = GFX_evt_prospering_province + text = EVTDESC_MNM_1225_E + } + desc = { + trigger = { has_character_flag = omen_opt_bad_power } + picture = GFX_evt_prospering_province + text = EVTDESC_MNM_1225_F + } + + option = { + name = { + text = EVTOPTA_MNM_1225_battle + trigger = { has_character_flag = omen_opt_good_battle } + } + name = { + text = EVTOPTA_MNM_1225_relationship + trigger = { has_character_flag = omen_opt_good_relationship } + } + name = { + text = EVTOPTA_MNM_1225_power + trigger = { has_character_flag = omen_opt_good_power } + } + if = { limit = { has_character_flag = omen_opt_good_battle } + tooltip = { + remove_character_modifier = good_battle_omen + } + capital_scope = { + add_province_modifier = { + name = proud_hunters_spirit + duration = 2920 + } + } + } + if = { limit = { has_character_flag = omen_opt_good_relationship } + tooltip = { + remove_character_modifier = good_relationship_omen + } + add_friend = event_target:envisioned_friend + } + if = { limit = { has_character_flag = omen_opt_good_power } + tooltip = { + remove_character_modifier = good_power_omen + } + add_pet_owl_effect = yes + } + upgrade_seer_modifier_effect = yes + + trigger = { + OR = { + has_character_flag = omen_opt_good_battle + has_character_flag = omen_opt_good_relationship + has_character_flag = omen_opt_good_power + } + } + } + option = { + name = { + text = EVTOPTB_MNM_1225_battle + trigger = { has_character_flag = omen_opt_bad_battle } + } + name = { + text = EVTOPTB_MNM_1225_relationship + trigger = { has_character_flag = omen_opt_bad_relationship } + } + name = { + text = EVTOPTB_MNM_1225_power + trigger = { has_character_flag = omen_opt_bad_power } + } + if = { limit = { has_character_flag = omen_opt_bad_battle } + tooltip = { + remove_character_modifier = bad_battle_omen + } + capital_scope = { + add_province_modifier = { + name = proud_hunters_spirit + duration = 2920 + } + } + } + if = { limit = { has_character_flag = omen_opt_bad_relationship } + tooltip = { + remove_character_modifier = bad_relationship_omen + } + add_friend = event_target:envisioned_friend + } + if = { limit = { has_character_flag = omen_opt_bad_power } + tooltip = { + remove_character_modifier = bad_power_omen + } + add_pet_owl_effect = yes + } + downgrade_seer_modifier_effect = yes + + trigger = { + OR = { + has_character_flag = omen_opt_bad_battle + has_character_flag = omen_opt_bad_relationship + has_character_flag = omen_opt_bad_power + } + } + } + + after = { + clr_character_flag = omen_opt_good_battle + clr_character_flag = omen_opt_bad_battle + clr_character_flag = omen_opt_good_relationship + clr_character_flag = omen_opt_bad_relationship + clr_character_flag = omen_opt_good_power + clr_character_flag = omen_opt_bad_power + } +} + + +character_event = { # FALLBACK (delayed event): Something bad happens + id = MNM.1226 + border = GFX_event_normal_frame_religion + picture = GFX_evt_gathering_of_minds + is_triggered_only = yes + trigger = { + has_an_omen_modifier_trigger = yes + } + + immediate = { + if = { + limit = { + has_character_modifier = good_battle_omen + } + set_character_flag = omen_opt_good_battle + } + if = { + limit = { + has_character_modifier = bad_battle_omen + } + set_character_flag = omen_opt_bad_battle + } + if = { + limit = { + has_character_modifier = good_relationship_omen + } + hidden_effect = { + #... Find a rival + if = { + limit = { any_courtier = { NOR = { is_friend = ROOT is_rival = ROOT is_lover = ROOT } is_adult = yes } } + + random_courtier = { + limit = { NOR = { is_friend = ROOT is_rival = ROOT is_lover = ROOT } is_adult = yes } + save_event_target_as = envisioned_rival + } + } + + #... Or create a new one + if = { + limit = { NOT = { any_courtier = { NOR = { is_friend = ROOT is_rival = ROOT is_lover = ROOT } is_adult = yes } } } + + create_character = { + random_traits = yes + dynasty = random + } + new_character = { + save_event_target_as = envisioned_rival + } + } + } + set_character_flag = omen_opt_good_relationship + } + if = { + limit = { + has_character_modifier = bad_relationship_omen + } + hidden_effect = { + #... Find a rival + if = { + limit = { any_courtier = { NOR = { is_friend = ROOT is_rival = ROOT is_lover = ROOT } is_adult = yes } } + + random_courtier = { + limit = { NOR = { is_friend = ROOT is_rival = ROOT is_lover = ROOT } is_adult = yes } + save_event_target_as = envisioned_rival + } + } + + #... Or create a new one + if = { + limit = { NOT = { any_courtier = { NOR = { is_friend = ROOT is_rival = ROOT is_lover = ROOT } is_adult = yes } } } + + create_character = { + random_traits = yes + dynasty = random + } + new_character = { + save_event_target_as = envisioned_rival + } + } + } + set_character_flag = omen_opt_bad_relationship + } + if = { + limit = { + has_character_modifier = good_power_omen + } + set_character_flag = omen_opt_good_power + } + if = { + limit = { + has_character_modifier = bad_power_omen + } + set_character_flag = omen_opt_bad_power + } + remove_scrying_omen_modifiers_effect = yes + } + + desc = { + trigger = { has_character_flag = omen_opt_bad_battle } + picture = GFX_evt_hunt + text = EVTDESC_MNM_1226_A + } + desc = { + trigger = { has_character_flag = omen_opt_good_battle } + picture = GFX_evt_hunt + text = EVTDESC_MNM_1226_B + } + desc = { + trigger = { has_character_flag = omen_opt_bad_relationship } + picture = GFX_evt_gathering_of_minds + text = EVTDESC_MNM_1226_C + } + desc = { + trigger = { has_character_flag = omen_opt_good_relationship } + picture = GFX_evt_gathering_of_minds + text = EVTDESC_MNM_1226_D + } + desc = { + trigger = { has_character_flag = omen_opt_bad_power } + picture = GFX_evt_prospering_province + text = EVTDESC_MNM_1226_E + } + desc = { + trigger = { has_character_flag = omen_opt_good_power } + picture = GFX_evt_prospering_province + text = EVTDESC_MNM_1226_F + } + + option = { + name = { + text = EVTOPTA_MNM_1226_battle + trigger = { has_character_flag = omen_opt_bad_battle } + } + name = { + text = EVTOPTA_MNM_1226_relationship + trigger = { has_character_flag = omen_opt_bad_relationship } + } + name = { + text = EVTOPTA_MNM_1226_power + trigger = { has_character_flag = omen_opt_bad_power } + } + + if = { limit = { has_character_flag = omen_opt_bad_battle } + tooltip = { + remove_character_modifier = bad_battle_omen + } + add_maimed_trait_effect = yes + } + if = { limit = { has_character_flag = omen_opt_bad_relationship } + tooltip = { + remove_character_modifier = bad_relationship_omen + } + add_rival = event_target:envisioned_rival + } + if = { limit = { has_character_flag = omen_opt_bad_power } + tooltip = { + remove_character_modifier = bad_power_omen + } + } + upgrade_seer_modifier_effect = yes + + trigger = { + OR = { + has_character_flag = omen_opt_bad_battle + has_character_flag = omen_opt_bad_relationship + has_character_flag = omen_opt_bad_power + } + } + } + option = { + name = { + text = EVTOPTB_MNM_1226_battle + trigger = { has_character_flag = omen_opt_good_battle } + } + name = { + text = EVTOPTB_MNM_1226_relationship + trigger = { has_character_flag = omen_opt_good_relationship } + } + name = { + text = EVTOPTB_MNM_1226_power + trigger = { has_character_flag = omen_opt_good_power } + } + + if = { limit = { has_character_flag = omen_opt_good_battle } + tooltip = { + remove_character_modifier = good_battle_omen + } + add_maimed_trait_effect = yes + } + if = { limit = { has_character_flag = omen_opt_good_relationship } + tooltip = { + remove_character_modifier = good_relationship_omen + } + add_rival = event_target:envisioned_rival + } + if = { limit = { has_character_flag = omen_opt_good_power } + tooltip = { + remove_character_modifier = good_power_omen + } + } + downgrade_seer_modifier_effect = yes + + trigger = { + OR = { + has_character_flag = omen_opt_good_battle + has_character_flag = omen_opt_good_relationship + has_character_flag = omen_opt_good_power + } + } + } + + after = { + clr_character_flag = omen_opt_good_battle + clr_character_flag = omen_opt_bad_battle + clr_character_flag = omen_opt_good_relationship + clr_character_flag = omen_opt_bad_relationship + clr_character_flag = omen_opt_good_power + clr_character_flag = omen_opt_bad_power + } +} + +character_event = { # Scrying result fallback: Nothing happened, after all this time + id = MNM.1227 + desc = EVTDESC_MNM_1227 + picture = GFX_evt_secluded_in_prayer + border = GFX_event_normal_frame_religion + is_triggered_only = yes + trigger = { + has_an_omen_modifier_trigger = yes + } + + immediate = { + if = { + limit = { + has_character_modifier = good_battle_omen + } + set_character_flag = omen_opt_good_battle + } + if = { + limit = { + has_character_modifier = bad_battle_omen + } + set_character_flag = omen_opt_bad_battle + } + if = { + limit = { + has_character_modifier = good_relationship_omen + } + set_character_flag = omen_opt_good_relationship + } + if = { + limit = { + has_character_modifier = bad_relationship_omen + } + set_character_flag = omen_opt_bad_relationship + } + if = { + limit = { + has_character_modifier = good_power_omen + } + set_character_flag = omen_opt_good_power + } + if = { + limit = { + has_character_modifier = bad_power_omen + } + set_character_flag = omen_opt_bad_power + } + remove_scrying_omen_modifiers_effect = yes + } + + option = { + name = EVTOPTA_MNM_1227 + custom_tooltip = { text = EVTOPTA_MNM_1227_TT } + + if = { limit = { has_character_flag = omen_opt_good_battle } + tooltip = { + remove_character_modifier = good_battle_omen + } + } + if = { limit = { has_character_flag = omen_opt_good_relationship } + tooltip = { + remove_character_modifier = good_relationship_omen + } + } + if = { limit = { has_character_flag = omen_opt_good_power } + tooltip = { + remove_character_modifier = good_power_omen + } + } + if = { limit = { has_character_flag = omen_opt_bad_battle } + tooltip = { + remove_character_modifier = bad_battle_omen + } + } + if = { limit = { has_character_flag = omen_opt_bad_relationship } + tooltip = { + remove_character_modifier = bad_relationship_omen + } + } + if = { limit = { has_character_flag = omen_opt_bad_power } + tooltip = { + remove_character_modifier = bad_power_omen + } + } + + clr_character_flag = omen_opt_good_battle + clr_character_flag = omen_opt_bad_battle + clr_character_flag = omen_opt_good_relationship + clr_character_flag = omen_opt_bad_relationship + clr_character_flag = omen_opt_good_power + clr_character_flag = omen_opt_bad_power + } +} +######################## /end of Scrying events ######################## + +### POWER: Make Horoscope #### +character_event = { # You prepare the horoscope (for horoscope_maker) + id = MNM.1250 + desc = EVTDESC_MNM_1250 + picture = GFX_evt_secluded_in_prayer + border = GFX_event_normal_frame_religion + is_triggered_only = yes + + trigger = { + has_dlc = "Mystics" + } + + immediate = { + save_event_target_as = horoscope_maker + event_target:horoscope_child = { + set_character_flag = horoscope_path_1 #they are destined for grandeur + } + } + + option = { # "Come what may" + name = EVTOPTA_MNM_1250 + custom_tooltip = { text = EVTOPTA_MNM_1250_TT } + } + + after = { + hidden_effect = { + event_target:horoscope_child = { + set_variable = { which = horoscope_destiny_points value = 0 } # to track truthfulness of horoscope + set_character_flag = horoscope_destiny_revealed # to track and handle horoscope_maker dying + character_event = { id = MNM.1297 days = 5 } # Gating event + } + } + } +} + +character_event = { #Child is destined for grandeur (for horoscope_maker) + id = MNM.1251 + picture = GFX_evt_secluded_in_prayer + border = GFX_event_normal_frame_religion + is_triggered_only = yes + + trigger = { + has_dlc = "Mystics" + } + + immediate = { + hidden_effect = { + event_target:horoscope_child = { + random_list = { + 10 = { + set_character_flag = destined_steward + } + 10 = { + set_character_flag = destined_fighter + } + 10 = { + set_character_flag = destined_diplomat + } + 10 = { + set_character_flag = destined_schemer + } + 10 = { + set_character_flag = destined_scholar + } + } + } + } + } + + desc = { + trigger = { event_target:horoscope_child = { has_character_flag = destined_steward } } + text = EVTDESC_MNM_1251_steward + } + desc = { + trigger = { event_target:horoscope_child = { has_character_flag = destined_fighter } } + text = EVTDESC_MNM_1251_fighter + } + desc = { + trigger = { event_target:horoscope_child = { has_character_flag = destined_diplomat } } + text = EVTDESC_MNM_1251_diplomat + } + desc = { + trigger = { event_target:horoscope_child = { has_character_flag = destined_schemer } } + text = EVTDESC_MNM_1251_schemer + } + desc = { + trigger = { event_target:horoscope_child = { has_character_flag = destined_scholar } } + text = EVTDESC_MNM_1251_scholar + } + + option = { # This is exactly what I want for them + name = EVTOPTA_MNM_1251 + custom_tooltip = { text = EVTOPTA_MNM_1251_TT } + event_target:horoscope_child = { + set_character_flag = encouraged_horoscope_pattern + } + hidden_effect = { event_target:horoscope_child = { change_variable = { which = horoscope_destiny_points value = 5 } } } # increase likelyhood of fulfilling horoscope... + } + option = { # We need to discourage these tendencies + name = EVTOPTB_MNM_1251 + custom_tooltip = { text = EVTOPTB_MNM_1251_TT } + event_target:horoscope_child = { + set_character_flag = discouraged_horoscope_pattern + } + hidden_effect = { event_target:horoscope_child = { change_variable = { which = horoscope_destiny_points value = -5 } } } # decrease likelyhood of fulfilling horoscope... + } + + after = { + hidden_effect = { + event_target:horoscope_child = { + if = { limit = { ROOT = { is_female = yes } } + set_character_flag = horoscope_maker_is_mother + } + if = { limit = { ROOT = { is_female = no } } + set_character_flag = horoscope_maker_is_father + } + + set_character_flag = horoscope_child_receives_horoscope + character_event = { id = MNM.1297 days = 60 } #gating event, then notify child of this + } + } + } +} + +character_event = { # Child receives horoscope (for horoscope_child) + id = MNM.1252 + picture = GFX_evt_gathering_of_minds + border = GFX_event_normal_frame_religion + is_triggered_only = yes + + trigger = { + has_dlc = "Mystics" + } + + desc = { + trigger = { + has_character_flag = encouraged_horoscope_pattern + NOT = { has_character_flag = horoscope_maker_died } + } + text = EVTDESC_MNM_1252_A + } + desc = { + trigger = { + has_character_flag = discouraged_horoscope_pattern + NOT = { has_character_flag = horoscope_maker_died } + } + text = EVTDESC_MNM_1252_B + } + desc = { + trigger = { + has_character_flag = encouraged_horoscope_pattern + has_character_flag = horoscope_maker_died + } + text = EVTDESC_MNM_1252_C + } + desc = { + trigger = { + has_character_flag = discouraged_horoscope_pattern + has_character_flag = horoscope_maker_died + } + text = EVTDESC_MNM_1252_D + } + + option = { # chain continues (if horoscope_maker lives) + name = { + text = EVTOPTA_MNM_1252_1 # I wouldn't mind being great at something + trigger = { has_character_flag = encouraged_horoscope_pattern } + } + name = { + text = EVTOPTA_MNM_1252_2 # I hope I didn't do anything wrong + trigger = { has_character_flag = discouraged_horoscope_pattern } + } + custom_tooltip = { text = EVTOPTA_MNM_1252_TT } #You try to put it out of your mind + + hidden_effect = { character_event = { id = MNM.1297 days = 10 } } #send gating event before next step... + set_horoscope_modifier_effect = yes + + trigger = { NOT = { has_character_flag = horoscope_maker_died } } + } + option = { # - END (if horoscope_maker is dead) + name = { + text = EVTOPTB_MNM_1252_1 #I wonder what they saw + trigger = { has_character_flag = encouraged_horoscope_pattern } + } + name = { + text = EVTOPTB_MNM_1252_2 # that certainly takes the pressure off! + trigger = { has_character_flag = discouraged_horoscope_pattern } + } + custom_tooltip = { text = EVTOPTA_MNM_1252_TT } #You try to put it out of your mind + hidden_effect = { clean_up_horoscope_effect = yes } + trigger = { has_character_flag = horoscope_maker_died } + } +} + +character_event = { # You receive update (for horoscope_maker, kid has to be over 6 years old?) + id = MNM.1253 + picture = GFX_evt_gathering_of_minds + border = GFX_event_normal_frame_religion + is_triggered_only = yes + + trigger = { + event_target:horoscope_child = { is_alive = yes } + society_member_of = hermetics + } + + desc = { + trigger = { event_target:horoscope_child = { has_character_flag = destined_steward } } + text = EVTDESC_MNM_1253_steward + } + desc = { + trigger = { event_target:horoscope_child = { has_character_flag = destined_fighter } } + text = EVTDESC_MNM_1253_fighter + } + desc = { + trigger = { event_target:horoscope_child = { has_character_flag = destined_diplomat } } + text = EVTDESC_MNM_1253_diplomat + } + desc = { + trigger = { event_target:horoscope_child = { has_character_flag = destined_schemer } } + text = EVTDESC_MNM_1253_schemer + } + desc = { + trigger = { event_target:horoscope_child = { has_character_flag = destined_scholar } } + text = EVTDESC_MNM_1253_scholar + } + + option = { + name = EVTOPTA_MNM_1253 #This is great! Just as the stars predicted... + custom_tooltip = { text = EVTOPTA_MNM_1253_TT } + hidden_effect = { event_target:horoscope_child = { change_variable = { which = horoscope_destiny_points value = 3 } } } # increase likelyhood of fulfilling horoscope... + + trigger = { event_target:horoscope_child = { has_character_flag = encouraged_horoscope_pattern } } + } + option = { + name = EVTOPTB_MNM_1253 # This is not so great. This is not a path I want for them... + custom_tooltip = { text = EVTOPTB_MNM_1253_TT } + hidden_effect = { event_target:horoscope_child = { change_variable = { which = horoscope_destiny_points value = -7 } } } # decrease likelyhood of fulfilling horoscope... + + trigger = { event_target:horoscope_child = { has_character_flag = encouraged_horoscope_pattern } } + } + option = { + name = EVTOPTC_MNM_1253 #This is not so terrible, I guess. In spite of my doubts... + custom_tooltip = { text = EVTOPTC_MNM_1253_TT } + hidden_effect = { event_target:horoscope_child = { change_variable = { which = horoscope_destiny_points value = 3 } } } # increase likelyhood of fulfilling horoscope... + + trigger = { event_target:horoscope_child = { has_character_flag = discouraged_horoscope_pattern } } + } + option = { + name = EVTOPTD_MNM_1253 #This is terrible! Still not at ALL what I want for them...! + custom_tooltip = { text = EVTOPTD_MNM_1253_TT } + hidden_effect = { event_target:horoscope_child = { change_variable = { which = horoscope_destiny_points value = -7 } } } # decrease likelyhood of fulfilling horoscope... + + trigger = { event_target:horoscope_child = { has_character_flag = discouraged_horoscope_pattern } } + } + after = { + hidden_effect = { + event_target:horoscope_child = { character_event = { id = MNM.1297 days = 10 } } + } + } +} + +character_event = { # Child contemplates their destiny - is this what they want? (for horoscope_child) + id = MNM.1254 + picture = GFX_evt_ritual_scroll + border = GFX_event_normal_frame_religion + is_triggered_only = yes + + trigger = { + is_alive = yes + any_courtier = { + is_adult = yes + prisoner = no + } + } + + immediate = { + random_courtier = { + limit = { is_adult = yes prisoner = no } + save_event_target_as = inspiring_adult + } + if = { limit = { has_guardian = yes } + trigger_switch = { # finds an appropriate inspiring adult... + on_trigger = has_character_flag + destined_steward = { + random_courtier = { + limit = { is_adult = yes prisoner = no is_guardian = ROOT } + save_event_target_as = inspiring_adult + } + random_courtier = { + limit = { is_adult = yes prisoner = no stewardship = 15 is_guardian = ROOT } + save_event_target_as = inspiring_adult + } + random_courtier = { + limit = { is_adult = yes prisoner = no stewardship = 15 has_education_stewardship_trigger = yes } + save_event_target_as = inspiring_adult + } + random_courtier = { + limit = { is_adult = yes prisoner = no stewardship = 15 has_education_stewardship_trigger = yes has_top_tier_education_trait_trigger = yes } + save_event_target_as = inspiring_adult + } + } + destined_fighter = { + random_courtier = { + limit = { is_adult = yes prisoner = no is_guardian = ROOT } + save_event_target_as = inspiring_adult + } + random_courtier = { + limit = { is_adult = yes prisoner = no martial = 15 is_guardian = ROOT } + save_event_target_as = inspiring_adult + } + random_courtier = { + limit = { is_adult = yes prisoner = no martial = 15 has_education_martial_trigger = yes } + save_event_target_as = inspiring_adult + } + random_courtier = { + limit = { is_adult = yes prisoner = no martial = 15 has_education_martial_trigger = yes has_top_tier_education_trait_trigger = yes } + save_event_target_as = inspiring_adult + } + } + destined_diplomat = { + random_courtier = { + limit = { is_adult = yes prisoner = no is_guardian = ROOT } + save_event_target_as = inspiring_adult + } + random_courtier = { + limit = { is_adult = yes prisoner = no diplomacy = 15 is_guardian = ROOT } + save_event_target_as = inspiring_adult + } + random_courtier = { + limit = { is_adult = yes prisoner = no diplomacy = 15 has_education_diplomacy_trigger = yes } + save_event_target_as = inspiring_adult + } + random_courtier = { + limit = { is_adult = yes prisoner = no diplomacy = 15 has_education_diplomacy_trigger = yes has_top_tier_education_trait_trigger = yes } + save_event_target_as = inspiring_adult + } + } + destined_schemer = { + random_courtier = { + limit = { is_adult = yes prisoner = no is_guardian = ROOT } + save_event_target_as = inspiring_adult + } + random_courtier = { + limit = { is_adult = yes prisoner = no intrigue = 15 is_guardian = ROOT } + save_event_target_as = inspiring_adult + } + random_courtier = { + limit = { is_adult = yes prisoner = no intrigue = 15 has_education_intrigue_trigger = yes } + save_event_target_as = inspiring_adult + } + random_courtier = { + limit = { is_adult = yes prisoner = no intrigue = 15 has_education_intrigue_trigger = yes has_top_tier_education_trait_trigger = yes } + save_event_target_as = inspiring_adult + } + } + destined_scholar = { + random_courtier = { + limit = { is_adult = yes prisoner = no is_guardian = ROOT } + save_event_target_as = inspiring_adult + } + random_courtier = { + limit = { is_adult = yes prisoner = no learning = 15 is_guardian = ROOT } + save_event_target_as = inspiring_adult + } + random_courtier = { + limit = { is_adult = yes prisoner = no learning = 15 has_education_learning_trigger = yes } + save_event_target_as = inspiring_adult + } + random_courtier = { + limit = { is_adult = yes prisoner = no learning = 15 has_education_learning_trigger = yes has_top_tier_education_trait_trigger = yes } + save_event_target_as = inspiring_adult + } + } + } + } + if = { limit = { has_guardian = no } + trigger_switch = { # finds an appropriate inspiring adult... + on_trigger = has_character_flag + destined_steward = { + random_courtier = { + limit = { is_adult = yes prisoner = no } + save_event_target_as = inspiring_adult + } + random_courtier = { + limit = { is_adult = yes prisoner = no stewardship = 15 } + save_event_target_as = inspiring_adult + } + random_courtier = { + limit = { is_adult = yes prisoner = no stewardship = 15 has_education_stewardship_trigger = yes } + save_event_target_as = inspiring_adult + } + random_courtier = { + limit = { is_adult = yes prisoner = no stewardship = 15 has_education_stewardship_trigger = yes has_top_tier_education_trait_trigger = yes } + save_event_target_as = inspiring_adult + } + } + destined_fighter = { + random_courtier = { + limit = { is_adult = yes prisoner = no } + save_event_target_as = inspiring_adult + } + random_courtier = { + limit = { is_adult = yes prisoner = no martial = 15 } + save_event_target_as = inspiring_adult + } + random_courtier = { + limit = { is_adult = yes prisoner = no martial = 15 has_education_martial_trigger = yes } + save_event_target_as = inspiring_adult + } + random_courtier = { + limit = { is_adult = yes prisoner = no martial = 15 has_education_martial_trigger = yes has_top_tier_education_trait_trigger = yes } + save_event_target_as = inspiring_adult + } + } + destined_diplomat = { + random_courtier = { + limit = { is_adult = yes prisoner = no } + save_event_target_as = inspiring_adult + } + random_courtier = { + limit = { is_adult = yes prisoner = no diplomacy = 15 } + save_event_target_as = inspiring_adult + } + random_courtier = { + limit = { is_adult = yes prisoner = no diplomacy = 15 has_education_diplomacy_trigger = yes } + save_event_target_as = inspiring_adult + } + random_courtier = { + limit = { is_adult = yes prisoner = no diplomacy = 15 has_education_diplomacy_trigger = yes has_top_tier_education_trait_trigger = yes } + save_event_target_as = inspiring_adult + } + } + destined_schemer = { + random_courtier = { + limit = { is_adult = yes prisoner = no } + save_event_target_as = inspiring_adult + } + random_courtier = { + limit = { is_adult = yes prisoner = no intrigue = 15 } + save_event_target_as = inspiring_adult + } + random_courtier = { + limit = { is_adult = yes prisoner = no intrigue = 15 has_education_intrigue_trigger = yes } + save_event_target_as = inspiring_adult + } + random_courtier = { + limit = { is_adult = yes prisoner = no intrigue = 15 has_education_intrigue_trigger = yes has_top_tier_education_trait_trigger = yes } + save_event_target_as = inspiring_adult + } + } + destined_scholar = { + random_courtier = { + limit = { is_adult = yes prisoner = no } + save_event_target_as = inspiring_adult + } + random_courtier = { + limit = { is_adult = yes prisoner = no learning = 15 } + save_event_target_as = inspiring_adult + } + random_courtier = { + limit = { is_adult = yes prisoner = no learning = 15 has_education_learning_trigger = yes } + save_event_target_as = inspiring_adult + } + random_courtier = { + limit = { is_adult = yes prisoner = no learning = 15 has_education_learning_trigger = yes has_top_tier_education_trait_trigger = yes } + save_event_target_as = inspiring_adult + } + } + } + } + } + + desc = { + trigger = { event_target:horoscope_child = { has_character_flag = destined_steward } } + text = EVTDESC_MNM_1254_steward + } + desc = { + trigger = { event_target:horoscope_child = { has_character_flag = destined_fighter } } + text = EVTDESC_MNM_1254_fighter + } + desc = { + trigger = { event_target:horoscope_child = { has_character_flag = destined_diplomat } } + text = EVTDESC_MNM_1254_diplomat + } + desc = { + trigger = { event_target:horoscope_child = { has_character_flag = destined_schemer } } + text = EVTDESC_MNM_1254_schemer + } + desc = { + trigger = { event_target:horoscope_child = { has_character_flag = destined_scholar } } + text = EVTDESC_MNM_1254_scholar + } + + option = { + name = EVTOPTA_MNM_1254 # I feel like this is what I am MEANT to be doing. Just as [parent's] horoscope predicted... + hidden_effect = { change_variable = { which = horoscope_destiny_points value = 5 } } + set_character_flag = embraced_destiny + + event_target:inspiring_adult = { + opinion = { + modifier = opinion_delighted + who = ROOT + years = 10 + } + } + + ai_chance = { #If ai is already on the right track... + factor = 50 + modifier = { + factor = 1.5 + OR = { + AND = { + has_character_flag = destined_steward + OR = { trait = conscientious trait = fussy trait = curious } + } + AND = { + has_character_flag = destined_fighter + OR = { trait = rowdy trait = haughty } + } + AND = { + has_character_flag = destined_diplomat + OR = { trait = playful trait = affectionate } + } + AND = { + has_character_flag = destined_schemer + OR = { trait = willful trait = brooding trait = indolent } + } + AND = { + has_character_flag = destined_scholar + OR = { trait = idolizer trait = timid } + } + } + } + modifier = { + factor = 1.5 + OR = { + AND = { stewardship = 5 has_character_flag = destined_steward } + AND = { martial = 5 has_character_flag = destined_fighter } + AND = { diplomacy = 5 has_character_flag = destined_diplomat } + AND = { intrigue = 5 has_character_flag = destined_schemer } + AND = { learning = 5 has_character_flag = destined_scholar } + } + } + modifier = { + factor = 1.5 + OR = { + AND = { stewardship = 7 has_character_flag = destined_steward } + AND = { martial = 7 has_character_flag = destined_fighter } + AND = { diplomacy = 7 has_character_flag = destined_diplomat } + AND = { intrigue = 7 has_character_flag = destined_schemer } + AND = { learning = 7 has_character_flag = destined_scholar } + } + } + modifier = { + factor = 1.5 + OR = { + AND = { stewardship = 9 has_character_flag = destined_steward } + AND = { martial = 9 has_character_flag = destined_fighter } + AND = { diplomacy = 9 has_character_flag = destined_diplomat } + AND = { intrigue = 9 has_character_flag = destined_schemer } + AND = { learning = 9 has_character_flag = destined_scholar } + } + } + } + } + option = { + name = EVTOPTB_MNM_1254 # I don't think this is my path... + + ai_chance = { # AI shouldn't pick this... + factor = 30 + } + + random = { + chance = 50 + add_trait = stressed + hidden_tooltip = { + character_event = { + id = 38282 #Notify Stressed + } + } + } + + hidden_effect = { change_variable = { which = horoscope_destiny_points value = -5 } } + set_character_flag = refused_destiny + } + + after = { + hidden_effect = { + character_event = { id = MNM.1297 days = 100 } + } + } +} + +character_event = { # Parent receives update about how the child is taking to their destiny (for horoscope_maker) + id = MNM.1255 + picture = GFX_evt_gathering_of_minds + border = GFX_event_normal_frame_religion + is_triggered_only = yes + + trigger = { + event_target:horoscope_child = { is_alive = yes } + society_member_of = hermetics + } + + desc = { + text = EVTDESC_MNM_1255_A + trigger = { event_target:horoscope_child = { has_character_flag = encouraged_horoscope_pattern has_character_flag = embraced_destiny } } + } + desc = { + text = EVTDESC_MNM_1255_B + trigger = { event_target:horoscope_child = { has_character_flag = discouraged_horoscope_pattern has_character_flag = embraced_destiny } } + } + desc = { + text = EVTDESC_MNM_1255_C + trigger = { event_target:horoscope_child = { has_character_flag = encouraged_horoscope_pattern has_character_flag = refused_destiny } } + } + desc = { + text = EVTDESC_MNM_1255_D + trigger = { event_target:horoscope_child = { has_character_flag = discouraged_horoscope_pattern has_character_flag = refused_destiny } } + } + + option = { + name = EVTOPTA_MNM_1255 # Good! I believe the heavens have a plan for [horoscope_child.GetTitledFirstName] + custom_tooltip = { text = EVTOPTA_MNM_1255_TT } + hidden_effect = { + event_target:horoscope_child = { + change_variable = { which = horoscope_destiny_points value = 2 } + character_event = { id = MNM.1297 days = 30 } + } + } + } + option = { + name = EVTOPTB_MNM_1255 # Actually, I think the stars have something else in store for my [horoscope_child.GetDaugtherSon]. + custom_tooltip = { text = EVTOPTB_MNM_1255_TT } + hidden_effect = { + event_target:horoscope_child = { + change_variable = { which = horoscope_destiny_points value = -2 } + character_event = { id = MNM.1297 days = 30 } + } + } + } +} + +character_event = { # Upgrade modifiers (for horoscope_child, fired from on_adulthood) + id = MNM.1269 + hide_window = yes + is_triggered_only = yes + + trigger = { + has_dlc = "Mystics" + has_childhood_horoscope_modifier_trigger = yes + NOT = { has_character_flag = avoided_destiny } + } + option = { + set_horoscope_modifier_effect = yes + } +} + +character_event = { # Destiny fulfilled (for horoscope_child) + id = MNM.1270 + picture = GFX_evt_state_diplomacy + border = GFX_event_normal_frame_religion + is_triggered_only = yes + + desc = { + trigger = { event_target:horoscope_child = { has_character_flag = encouraged_horoscope_pattern has_character_flag = embraced_destiny } } + text = EVTDESC_MNM_1270_A + } + desc = { + trigger = { event_target:horoscope_child = { has_character_flag = discouraged_horoscope_pattern has_character_flag = embraced_destiny } } + text = EVTDESC_MNM_1270_B + } + desc = { + trigger = { event_target:horoscope_child = { has_character_flag = encouraged_horoscope_pattern has_character_flag = refused_destiny } } + text = EVTDESC_MNM_1270_C + } + desc = { + trigger = { event_target:horoscope_child = { has_character_flag = discouraged_horoscope_pattern has_character_flag = refused_destiny } } + text = EVTDESC_MNM_1270_D + } + + option = { + name = EVTOPTA_MNM_1270 # Destiny fulfilled + + trigger_switch = { + on_trigger = has_character_flag + destined_steward = { + if = { limit = { has_education_stewardship_trigger = yes } + upgrade_education_effect = yes + } + if = { limit = { has_education_stewardship_trigger = no } + change_stewardship = 1 + } + } + destined_fighter = { + if = { limit = { has_education_martial_trigger = yes } + upgrade_education_effect = yes + } + if = { limit = { has_education_martial_trigger = no } + change_martial = 1 + } + } + destined_diplomat = { + if = { limit = { has_education_diplomacy_trigger = yes } + upgrade_education_effect = yes + } + if = { limit = { has_education_diplomacy_trigger = no } + change_diplomacy = 1 + } + } + destined_schemer = { + if = { limit = { has_education_intrigue_trigger = yes } + upgrade_education_effect = yes + } + if = { limit = { has_education_intrigue_trigger = no } + change_intrigue = 1 + } + } + destined_scholar = { + if = { limit = { has_education_learning_trigger = yes } + upgrade_education_effect = yes + } + if = { limit = { has_education_learning_trigger = no } + change_learning = 1 + } + } + } + trigger = { has_top_tier_education_trait_trigger = no } + } + option = { + name = EVTOPTB_MNM_1270 # Destiny fulfilled (already maxed "correct" education) + trigger_switch = { + on_trigger = has_character_flag + destined_steward = { + if = { limit = { has_education_stewardship_trigger = yes } + change_stewardship = 2 + } + if = { limit = { has_education_stewardship_trigger = no } + change_stewardship = 1 + } + } + destined_fighter = { + if = { limit = { has_education_martial_trigger = yes } + change_martial = 2 + } + if = { limit = { has_education_martial_trigger = no } + change_martial = 1 + } + } + destined_diplomat = { + if = { limit = { has_education_diplomacy_trigger = yes } + change_diplomacy = 2 + } + if = { limit = { has_education_diplomacy_trigger = no } + change_diplomacy = 1 + } + } + destined_schemer = { + if = { limit = { has_education_intrigue_trigger = yes } + change_intrigue = 2 + } + if = { limit = { has_education_intrigue_trigger = no } + change_intrigue = 1 + } + } + destined_scholar = { + if = { limit = { has_education_learning_trigger = yes } + change_learning = 2 + } + if = { limit = { has_education_learning_trigger = no } + change_learning = 1 + } + } + } + trigger = { has_top_tier_education_trait_trigger = yes } + } + after = { + hidden_effect = { + event_target:horoscope_maker = { + set_character_flag = child_fulfilled_destiny_flag + character_event = { id = MNM.1265 } + } + clean_up_horoscope_effect = yes + } + } +} + +character_event = { #Destiny avoided/backfired (for horoscope_child) + id = MNM.1271 + picture = GFX_evt_secluded_in_prayer + border = GFX_event_normal_frame_religion + is_triggered_only = yes + + trigger = { + has_dlc = "Mystics" + } + + immediate = { + set_character_flag = avoided_destiny + } + + desc = { + trigger = { has_character_flag = horoscope_maker_died } + text = EVTDESC_MNM_1271_A + } + desc = { + trigger = { NOT = { has_character_flag = horoscope_maker_died } } + text = EVTDESC_MNM_1271_B + } + + option = { + name = EVTOPTA_MNM_1271 # I always had mixed feelings about this + set_horoscope_modifier_effect = yes + + } + after = { + hidden_effect = { + event_target:horoscope_maker = { + set_character_flag = child_avoided_destiny_flag + character_event = { id = MNM.1265 } + } + clean_up_horoscope_effect = yes + } + } +} + +character_event = { #Final follow-up for parent + id = MNM.1265 + picture = GFX_evt_state_diplomacy + border = GFX_event_normal_frame_religion + is_triggered_only = yes + + trigger = { + society_member_of = hermetics + } + + desc = { + trigger = { has_character_flag = child_avoided_destiny_flag } + text = final_horoscope_outcome_for_parent_desc_1 + } + desc = { + trigger = { has_character_flag = child_fulfilled_destiny_flag } + text = final_horoscope_outcome_for_parent_desc_2 + } + + option = { + name = fina_horoscope_outcome_for_parent_opt + clr_character_flag = child_fulfilled_destiny_flag + clr_character_flag = child_avoided_destiny_flag + } +} + +character_event = { # gating event for the horoscope_child (to check status of horoscope_maker - alive or no?) + id = MNM.1297 + hide_window = yes + is_triggered_only = yes + + trigger = { is_alive = yes } + + immediate = { + # If horoscope maker remains alive... + if = { + limit = { event_target:horoscope_maker = { is_alive = yes } } + trigger_switch = { + on_trigger = has_character_flag # to determine which stage is on-going + horoscope_destiny_revealed = { + clr_character_flag = horoscope_destiny_revealed + set_character_flag = horoscope_child_receives_horoscope + event_target:horoscope_maker = { character_event = { id = MNM.1251 } } # for maker: the child is destined for grandeur within [horoscope_child.GetHermeticsDestinedExpertise] + } + horoscope_child_receives_horoscope = { + if = { limit = { age = 4 } + clr_character_flag = horoscope_child_receives_horoscope + set_character_flag = horoscope_maker_receives_update + character_event = { id = MNM.1252 } # for child: child learns of their destiny + } + if = { limit = { NOT = { age = 4 } } + character_event = { id = MNM.1297 days = 365 } # for child: loops this to check back when old enough + } + } + horoscope_maker_receives_update = { + if = { limit = { age = 6 } + clr_character_flag = horoscope_maker_receives_update + set_character_flag = horoscope_child_contemplates_their_destiny + event_target:horoscope_maker = { character_event = { id = MNM.1253 } } # for maker: the child is showing signs of talent + } + if = { limit = { NOT = { age = 6 } } + character_event = { id = MNM.1297 days = 365 } # for child: loops this to check back when old enough + } + } + horoscope_child_contemplates_their_destiny = { + if = { limit = { age = 13 } + clr_character_flag = horoscope_child_contemplates_their_destiny + set_character_flag = horoscope_parent_is_informed + character_event = { id = MNM.1254 } # for child: the child contemplates their "destiny" + } + if = { limit = { NOT = { age = 13 } } + character_event = { id = MNM.1297 days = 365 } # for child: loops this to check back when old enough + } + } + horoscope_parent_is_informed = { + clr_character_flag = horoscope_parent_is_informed + set_character_flag = horoscope_child_evaluate + event_target:horoscope_maker = { character_event = { id = MNM.1255 } } # for maker: the child is embracing/or not their destiny + } + horoscope_child_evaluate = { + character_event = { id = MNM.1298 } # for child: begin evaluating + } + } + break = yes + } + + # If horoscope maker died along the chain... + + set_character_flag = horoscope_maker_died + + trigger_switch = { + on_trigger = has_character_flag # to determine which horoscope is on-going + + horoscope_destiny_revealed = { #nothing happens + clr_character_flag = horoscope_destiny_revealed + clean_up_horoscope_effect = yes + } + horoscope_child_receives_horoscope = { + clr_character_flag = horoscope_child_receives_horoscope + character_event = { id = MNM.1252 } # for child: child learns of their destiny (chain ENDS) + } + horoscope_maker_receives_update = { + clr_character_flag = horoscope_maker_receives_update + set_character_flag = horoscope_child_contemplates_their_destiny + character_event = { id = MNM.1297 days = 365 } # for child: skips ahead to next step + } + horoscope_child_contemplates_their_destiny = { + clr_character_flag = horoscope_child_contemplates_their_destiny + if = { limit = { age = 13 } + clr_character_flag = horoscope_child_contemplates_their_destiny + set_character_flag = horoscope_parent_is_informed + character_event = { id = MNM.1254 } # for child: the child contemplates their "destiny" + } + if = { limit = { NOT = { age = 13 } } + character_event = { id = MNM.1297 days = 365 } # for child: loops this to check back when old enough + } + } + horoscope_parent_is_informed = { + clr_character_flag = horoscope_parent_is_informed + set_character_flag = horoscope_child_evaluate + character_event = { id = MNM.1297 days = 365 } # for child: skips ahead to next step + } + horoscope_child_evaluate = { + character_event = { id = MNM.1298 } # for child: begin evaluating + } + } + } +} + +character_event = { # evaluate outcome (for horoscope_child, sends itself again if not fulfilled) + id = MNM.1298 + hide_window = yes + is_triggered_only = yes + + trigger = { + has_dlc = "Mystics" + } + + immediate = { + if = { + limit = { + age = 17 + OR = { + check_variable = { which = horoscope_destiny_points value = 10 } + NOT = { check_variable = { which = horoscope_destiny_points value = -10 } } + } + } + character_event = { id = MNM.1299 } #Destiny fulfilled/avoided + } + + if = { + limit = { + OR = { + NOT = { age = 17 } + NOR = { + check_variable = { which = horoscope_destiny_points value = 10 } + NOT = { check_variable = { which = horoscope_destiny_points value = -10 } } + } + } + } + + if = { + limit = { is_dumb_trigger = no } + change_variable = { which = horoscope_destiny_points value = 1 } #slowly ticking upwards + } + if = { + limit = { is_dumb_trigger = yes } + subtract_variable = { which = horoscope_destiny_points value = 1 } #slowly ticking downwards + } + + character_event = { id = MNM.1297 days = 365 random = 100 } #Destiny NOT fulfilled/avoided (send gating event again...) + } + } +} + +#Fulfilling/Avoiding Horoscope Destiny +character_event = { + id = MNM.1299 + hide_window = yes + + is_triggered_only = yes + + immediate = { + if = { + limit = { check_variable = { which = horoscope_destiny_points value = 10 } } + character_event = { id = MNM.1270 } # fulfilled destiny + } + if = { + limit = { NOT = { check_variable = { which = horoscope_destiny_points value = -10 } } } + character_event = { id = MNM.1271 } # avoided destiny + } + } +} + +###Power: Happiness potion +#Gating event to check amount of/which ingredients used +character_event = { + id = MNM.5115 + picture = GFX_evt_experiment + border = GFX_event_normal_frame_religion + is_triggered_only = yes + + desc = { + text = EVTDESC_MNM_5115_self + trigger = { has_character_flag = potion_target_is_self } + } + desc = { + text = EVTDESC_MNM_5115_other + trigger = { NOT = { has_character_flag = potion_target_is_self } } + } + + immediate = { + #Selects two ingredients... + select_random_hermetic_ingredient_effect = yes + select_random_hermetic_ingredient_effect = yes + } + + option = { # I will use ingredient 1 + name = { + text = EVTOPTA_MNM_5115_herb + trigger = { has_selected_herb_ingredient_1_trigger = yes } + } + name = { + text = EVTOPTA_MNM_5115_animal_part + trigger = { has_selected_animal_part_ingredient_1_trigger = yes } + } + name = { + text = EVTOPTA_MNM_5115_powder + trigger = { has_selected_powder_ingredient_1_trigger = yes } + } + name = { + text = EVTOPTA_MNM_5115_liquid + trigger = { has_selected_liquid_ingredient_1_trigger = yes } + } + calculate_health_level_of_ingredient_1_effect = yes + destroy_selected_ingredient_1_effect = yes + + ai_chance = { factor = 0 } + + trigger = { + selected_ingredient_1_and_2_are_same = no + } + } + + option = { # I will use ingredient 2 + name = { + text = EVTOPTB_MNM_5115_herb + trigger = { has_selected_herb_ingredient_2_trigger = yes } + } + name = { + text = EVTOPTB_MNM_5115_animal_part + trigger = { has_selected_animal_part_ingredient_2_trigger = yes } + } + name = { + text = EVTOPTB_MNM_5115_powder + trigger = { has_selected_powder_ingredient_2_trigger = yes } + } + name = { + text = EVTOPTB_MNM_5115_liquid + trigger = { has_selected_liquid_ingredient_2_trigger = yes } + } + calculate_health_level_of_ingredient_2_effect = yes + destroy_selected_ingredient_2_effect = yes + + ai_chance = { factor = 0 } + + trigger = { + has_selected_ingredient_2_trigger = yes + selected_ingredient_1_and_2_are_same = no + } + } + + option = { # I will only use one (IF DUPLICATE SELECTIONS) + name = { + text = EVTOPTC_MNM_5115_herb + trigger = { has_selected_herb_ingredient_1_trigger = yes } + } + name = { + text = EVTOPTC_MNM_5115_animal_part + trigger = { has_selected_animal_part_ingredient_1_trigger = yes } + } + name = { + text = EVTOPTC_MNM_5115_powder + trigger = { has_selected_powder_ingredient_1_trigger = yes } + } + name = { + text = EVTOPTC_MNM_5115_liquid + trigger = { has_selected_liquid_ingredient_1_trigger = yes } + } + calculate_health_level_of_ingredient_1_effect = yes + destroy_selected_ingredient_1_effect = yes + + ai_chance = { factor = 0 } + + trigger = { + has_selected_ingredient_2_trigger = yes + selected_ingredient_1_and_2_are_same = yes + } + } + + option = { #I will use ingredient 1 and 2 + name = { + text = EVTOPTD_MNM_5115 + trigger = { selected_ingredient_1_and_2_are_same = no } + } + name = { + text = EVTOPTD_MNM_5115_duplicate + trigger = { selected_ingredient_1_and_2_are_same = yes } + } + + calculate_health_level_of_ingredient_1_and_2_effect = yes + + destroy_selected_ingredient_1_and_2_effect = yes + + ai_chance = { factor = 25 } + + trigger = { + has_selected_ingredient_2_trigger = yes + } + } + + option = { #I'll throw a bit of everything in there! + name = EVTOPTE_MNM_5115 + custom_tooltip = { text = EVTOPTE_MNM_5115_tt } + + calculate_health_level_of_all_ingredients_effect = yes + + destroy_all_ingredients_effect = yes + + ai_chance = { factor = 100 } + + trigger = { + any_artifact = { + count = 4 + has_artifact_flag = ingredient + } + } + } + + after = { + remove_selection_of_ingredients_effect = yes + + hidden_effect = { + if = { + limit = { has_character_flag = potion_target_is_self } + character_event = { id = MNM.1400 days = 15 } + } + if = { + limit = { NOT = { has_character_flag = potion_target_is_self } } + clr_character_flag = preparing_potion + event_target:potion_target = { character_event = { id = MNM.1401 days = 10 } } + } + clr_character_flag = potion_target_is_self + } + } +} + +#Giving the potion to yourself +character_event = { + id = MNM.1400 + desc = EVTDESC_MNM_1400 + picture = GFX_evt_experiment + border = GFX_event_normal_frame_religion + + hide_from = yes + + is_triggered_only = yes + + option = { + name = EVTOPTA_MNM_1400 + + if = { + limit = { trait = stressed } + remove_trait = stressed + } + if = { + limit = { trait = depressed } + remove_trait = depressed + } + if = { + limit = { has_character_modifier = apathetic } + remove_character_modifier = apathetic + } + + hidden_effect = { + clr_character_flag = preparing_potion + random = { + chance = 40 + modifier = { + factor = 0.5 + check_variable = { which = current_potion_quality value = 1 } + } + modifier = { + factor = 0.5 + check_variable = { which = current_potion_quality value = 2 } + } + modifier = { + factor = 0.5 + check_variable = { which = current_potion_quality value = 4 } + } + modifier = { + factor = 0.5 + check_variable = { which = current_potion_quality value = 6 } + } + modifier = { + factor = 1.1 + NOT = { check_variable = { which = current_potion_quality value = -1 } } + } + modifier = { + factor = 1.2 + NOT = { check_variable = { which = current_potion_quality value = -2 } } + } + modifier = { + factor = 1.3 + NOT = { check_variable = { which = current_potion_quality value = -4 } } + } + modifier = { + factor = 1.4 + NOT = { check_variable = { which = current_potion_quality value = -6 } } + } + character_event = { id = MNM.1403 days = 150 random = 600 } + } + + set_variable = { # Reset potion quality + which = current_potion_quality + value = 0 + } + } + } +} + +#The other person gets offered a potion +character_event = { + id = MNM.1401 + desc = EVTDESC_MNM_1401 + picture = GFX_evt_experiment + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + option = { + name = EVTOPTA_MNM_1401 + custom_tooltip = { text = EVTOPTA_MNM_1401_TT } + + tooltip = { + if = { + limit = { trait = stressed } + remove_trait = stressed + } + if = { + limit = { trait = depressed } + remove_trait = depressed + } + if = { + limit = { has_character_modifier = apathetic } + remove_character_modifier = apathetic + } + } + + hidden_effect = { FROMFROM = { character_event = { id = MNM.1402 } } } + + ai_chance = { + factor = 50 + modifier = { + society_member_of = hermetics + factor = 3 + } + } + } + + option = { + name = EVTOPTB_MNM_1401 + custom_tooltip = { text = EVTOPTB_MNM_1401_TT } + + reverse_opinion = { + who = FROMFROM + modifier = opinion_ungrateful + } + #Does not give follow-up because if a player recieves this, the sender is a courtier + + ai_chance = { + factor = 50 + modifier = { + trait = zealous + factor = 3 + } + modifier = { + liege = { character = FROMFROM } #A player will always get a yes + factor = 0 + } + } + } +} + + +#Giving the potion to someone else +character_event = { + id = MNM.1402 + desc = EVTDESC_MNM_1402 + picture = GFX_evt_experiment + border = GFX_event_normal_frame_religion + + hide_from = yes + + is_triggered_only = yes + + option = { + name = EVTOPTA_MNM_1402 + + + FROM = { + if = { + limit = { trait = stressed } + remove_trait = stressed + } + if = { + limit = { trait = depressed } + remove_trait = depressed + } + if = { + limit = { has_character_modifier = apathetic } + remove_character_modifier = apathetic + } + + hidden_effect = { + random = { + chance = 20 + modifier = { + factor = 0.5 + ROOT = { check_variable = { which = current_potion_quality value = 1 } } + } + modifier = { + factor = 0.5 + ROOT = { check_variable = { which = current_potion_quality value = 2 } } + } + modifier = { + factor = 0.5 + ROOT = { check_variable = { which = current_potion_quality value = 4 } } + } + modifier = { + factor = 0.5 + ROOT = { check_variable = { which = current_potion_quality value = 6 } } + } + modifier = { + factor = 1.1 + ROOT = { NOT = { check_variable = { which = current_potion_quality value = -1 } } } + } + modifier = { + factor = 1.2 + ROOT = { NOT = { check_variable = { which = current_potion_quality value = -2 } } } + } + modifier = { + factor = 1.3 + ROOT = { NOT = { check_variable = { which = current_potion_quality value = -4 } } } + } + modifier = { + factor = 1.4 + ROOT = { NOT = { check_variable = { which = current_potion_quality value = -6 } } } + } + character_event = { id = MNM.1403 days = 150 random = 600 } + } + } + } + hidden_effect = { + set_variable = { # Reset potion quality + which = current_potion_quality + value = 0 + } + } + + reverse_opinion = { + who = FROM + modifier = opinion_grateful + } + + } +} + +#The good effect didn't last +character_event = { + id = MNM.1403 + desc = EVTDESC_MNM_1403 + picture = GFX_evt_illness + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + trigger = { NOT = { trait = depressed } } + + option = { + name = EVTOPTA_MNM_1403 + + add_trait = depressed + + add_character_modifier = { + name = apathetic + years = 5 + } + } +} + +#################################################### +# MAGUS: POWER - Choose Hermetic Art/Lifestyle trait +#################################################### +# No Previous Lifestyle trait - Choose one +character_event = { + id = MNM.1900 + desc = EVTDESC_MNM_1900 + picture = GFX_evt_experiment + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + option = { # Choose Astrology/Scholar + name = EVTOPTA_MNM_1900 + + custom_tooltip = { + text = EVTOPTA_MNM_1900_TOOLTIP + character_event = { id = MNM.1902 days = 10 random = 20 } + } + + ai_chance = { + factor = 1 + modifier = { + factor = 5 + trait = cynical + } + modifier = { + factor = 3 + trait = erudite + } + } + } + + option = { # Choose Alchemy/Mystic + name = EVTOPTB_MNM_1900 + + custom_tooltip = { + text = EVTOPTB_MNM_1900_TOOLTIP + character_event = { id = MNM.1904 days = 10 random = 20 } + } + + ai_chance = { + factor = 1 + modifier = { + factor = 5 + trait = cynical + } + } + } + + option = { # Choose Theurgy/Theologian + name = EVTOPTC_MNM_1900 + + custom_tooltip = { + text = EVTOPTC_MNM_1900_TOOLTIP + character_event = { id = MNM.1906 days = 10 random = 20 } + } + + ai_chance = { + factor = 1 + modifier = { + factor = 5 + trait = zealous + } + } + } + + option = { # Change your mind + name = EVTOPTD_MNM_1900 + + add_society_currency_minor_effect = yes + clr_character_flag = choosing_hermetic_art + } +} + +# Has either Scholar, Mystic, or Theologian already - Replace the existing trait +character_event = { + id = MNM.1901 + picture = GFX_evt_experiment + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + desc = { + trigger = { trait = scholar } + picture = GFX_evt_comet + text = EVTDESCA_MNM_1901 + } + + desc = { + trigger = { trait = mystic } + picture = GFX_evt_experiment + text = EVTDESCB_MNM_1901 + } + + desc = { + trigger = { trait = theologian } + picture = GFX_evt_secluded_in_prayer + text = EVTDESCC_MNM_1901 + } + + option = { # Change to Astrology/Scholar + name = EVTOPTA_MNM_1901 + + trigger = { + NOT = { trait = scholar } + } + + if = { + limit = { trait = mystic } + remove_trait = mystic + } + if = { + limit = { trait = theologian } + remove_trait = theologian + } + add_trait = scholar + clr_character_flag = choosing_hermetic_art + } + + option = { # Change to Alchemy/Mystic + name = EVTOPTB_MNM_1901 + + trigger = { + NOT = { trait = mystic } + } + + if = { + limit = { trait = scholar } + remove_trait = scholar + } + if = { + limit = { trait = theologian } + remove_trait = theologian + } + add_trait = mystic + clr_character_flag = choosing_hermetic_art + } + + option = { # Change to Theurgy/Theologian + name = EVTOPTC_MNM_1901 + + trigger = { + NOT = { trait = theologian } + } + + if = { + limit = { trait = scholar } + remove_trait = scholar + } + if = { + limit = { trait = mystic } + remove_trait = mystic + } + add_trait = theologian + clr_character_flag = choosing_hermetic_art + } + + option = { # Change your mind + name = EVTOPTD_MNM_1901 + + add_society_currency_minor_effect = yes + clr_character_flag = choosing_hermetic_art + } +} + +# Become Scholar +character_event = { + id = MNM.1902 + desc = EVTDESC_MNM_1902 + picture = GFX_evt_comet + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + option = { + name = EVTOPTA_MNM_1902 + + if = { + limit = { + has_character_flag = owns_observatory_equipment + } + custom_tooltip = { + text = CUSTOM_TOOLTIP_OWNS_OBSERVATORY_EQUIPMENT + } + if = { + limit = { + NOT = { trait = diligent } + NOT = { trait = slothful } + } + add_trait = diligent + } + if = { + limit = { + trait = slothful + } + remove_trait = slothful + } + prestige = 25 + add_character_modifier = { + modifier = stargazer + duration = 3650 + } + } + if = { + limit = { + NOT = { has_character_flag = owns_observatory_equipment } + } + custom_tooltip = { + text = CUSTOM_TOOLTIP_BUY_OBSERVATORY_EQUIPMENT + } + set_character_flag = owns_observatory_equipment + scaled_wealth = { value = -0.4 min = -40 } + if = { + limit = { + NOT = { trait = diligent } + NOT = { trait = slothful } + } + add_trait = diligent + } + if = { + limit = { + trait = slothful + } + remove_trait = slothful + } + add_character_modifier = { + modifier = stargazer + duration = 3650 + } + } + character_event = { id = MNM.1903 days = 60 random = 30 } + + ai_chance = { + factor = 1 + } + } + + option = { + name = EVTOPTB_MNM_1902 + + random_list = { + 50 = { change_learning = 1 } + 40 = { + modifier = { + factor = 0 + trait = erudite + } + add_trait = erudite + } + 10 = { + modifier = { + factor = 0 + OR = { + trait = shrewd + trait = dull + } + } + add_trait = shrewd + } + } + character_event = { id = MNM.1903 days = 60 random = 30 } + + ai_chance = { + factor = 1 + modifier = { + factor = 2 + trait = erudite + } + } + } +} + +character_event = { + id = MNM.1903 + desc = EVTDESC_MNM_1903 + picture = GFX_evt_comet + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + desc = { + trigger = { } + text = EVTDESC_MNM_1903 + } + desc = { + trigger = { } + text = EVTDESC_MNM_1903 + } + option = { + name = EVTOPTA_MNM_1903 + + add_trait = scholar + clr_character_flag = choosing_hermetic_art + } +} + +# Become Mystic +character_event = { + id = MNM.1904 + desc = EVTDESC_MNM_1904 + picture = GFX_evt_experiment + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + option = { + name = EVTOPTA_MNM_1904 + + if = { + limit = { + NOT = { trait = diligent } + NOT = { trait = slothful } + } + add_trait = diligent + } + if = { + limit = { + trait = slothful + } + remove_trait = slothful + } + add_character_modifier = { + modifier = experimenting_alchemist + duration = 3650 + } + character_event = { id = MNM.1905 days = 60 random = 30 } + + ai_chance = { + factor = 1 + modifier = { + factor = 4 + trait = brave + } + modifier = { + factor = 3 + trait = ambitious + } + } + } + + option = { + name = EVTOPTB_MNM_1904 + + if = { + limit = { + NOT = { trait = patient } + NOT = { trait = wroth } + } + add_trait = patient + } + if = { + limit = { + trait = wroth + } + remove_trait = wroth + } + add_character_modifier = { + modifier = theoretical_alchemist + duration = 3650 + } + character_event = { id = MNM.1905 days = 60 random = 30 } + + ai_chance = { + factor = 1 + modifier = { + factor = 4 + trait = craven + } + modifier = { + factor = 3 + trait = erudite + } + } + } +} + +character_event = { + id = MNM.1905 + desc = EVTDESC_MNM_1905 + picture = GFX_evt_experiment + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + option = { + name = EVTOPTA_MNM_1905 + + add_trait = mystic + clr_character_flag = choosing_hermetic_art + } +} + +# Become Theologian +character_event = { + id = MNM.1906 + desc = EVTDESC_MNM_1906 + picture = GFX_evt_secluded_in_prayer + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + option = { + name = EVTOPTA_MNM_1906 + + add_character_modifier = { + modifier = divine_spirit_alliance + duration = 3650 + } + character_event = { id = MNM.1907 days = 60 random = 30 } + + ai_chance = { + factor = 1 + modifier = { + factor = 4 + trait = zealous + } + modifier = { + factor = 4 + trait = honest + } + } + } + + option = { + name = EVTOPTB_MNM_1906 + + add_character_modifier = { + modifier = demon_alliance + duration = 3650 + } + character_event = { id = MNM.1907 days = 60 random = 30 } + + ai_chance = { + factor = 1 + modifier = { + factor = 5 + trait = deceitful + } + modifier = { + factor = 3 + trait = cynical + } + } + } +} + +character_event = { + id = MNM.1907 + desc = EVTDESC_MNM_1907 + picture = GFX_evt_secluded_in_prayer + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + option = { + name = EVTOPTA_MNM_1907 + + add_trait = theologian + clr_character_flag = choosing_hermetic_art + } +} +################ +# INTERACTIONS +################ +#The flags hidden_lab and very_hidden_lab can be used for events about stealing secrets from others/having your secrets stolen. + +#Interaction: Gathering of the Great Minds +character_event = { + id = MNM.1460 + desc = EVTDESC_MNM_1460 + picture = GFX_evt_gathering_of_minds + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + trigger = { + society_member_of = hermetics + society_rank >= 2 + learning = 10 + OR = { + martial = 8 + stewardship = 8 + } + is_landed = yes + has_character_flag = built_laboratory + war = no + block_general_event_trigger = no + NOT = { has_character_flag = gathering_of_the_minds } + any_society_member = { + count = 4 + opinion = { who = ROOT value = 15 } + reverse_opinion = { who = ROOT value = 15 } + } + } + + option = { + name = EVTOPTA_MNM_1460 + custom_tooltip = { text = EVTOPTA_MNM_1460_TT } + scaled_wealth = { value = -0.5 min = -20 } + hidden_effect = { + character_event = { id = MNM.1461 days = 7 } + set_character_flag = gathering_of_the_minds + } + } + + option = { + name = EVTOPTB_MNM_1460 + } +} + +#Send out letters +character_event = { + id = MNM.1461 + desc = EVTDESC_MNM_1461 + picture = GFX_evt_recieve_letter + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + hide_from = yes + + trigger = { has_character_flag = gathering_of_the_minds } + + immediate = { + hidden_effect = { + #Guest of honor (1) + random_list = { + 50 = { + trigger = { society = { any_society_member = { is_friend = ROOT ai = yes } } } + society = { random_society_member = { limit = { is_friend = ROOT ai = yes } save_event_target_as = great_minds_guest_1 } } + } + 50 = { + trigger = { + society = { + any_society_member = { + ai = yes + OR = { + learning = 16 + society_rank == 4 + } + is_within_diplo_range = ROOT + opinion = { who = ROOT value = 20 } + reverse_opinion = { who = ROOT value = 20 } + } + } + } + society = { + random_society_member = { + limit = { + ai = yes + OR = { + learning = 16 + society_rank == 4 + } + is_within_diplo_range = ROOT + opinion = { who = ROOT value = 20 } + reverse_opinion = { who = ROOT value = 20 } + } + save_event_target_as = great_minds_guest_1 + } + } + } + 1 = { + society = { + random_society_member = { + limit = { + ai = yes + opinion = { who = ROOT value = 15 } + reverse_opinion = { who = ROOT value = 15 } + } + save_event_target_as = great_minds_guest_1 + } + } + } + } + } + + #Guest 2 + society = { + random_society_member = { + limit = { + ai = yes + NOT = { character = event_target:great_minds_guest_1 } + opinion = { who = ROOT value = 15 } + reverse_opinion = { who = ROOT value = 15 } + } + save_event_target_as = great_minds_guest_2 + } + } + + #Guest 3 and 4 + random_list = { + 70 = { #Your rival gets invited + trigger = { society = { any_society_member = { ai = yes NOT = { reverse_opinion = { who = ROOT value = -30 } } } } } + set_character_flag = disliked_hermetic_colleague + + society = { + random_society_member = { + limit = { ai = yes NOT = { reverse_opinion = { who = ROOT value = -30 } } } + save_event_target_as = great_minds_guest_4 + } + + random_society_member = { + limit = { + ai = yes + opinion = { who = event_target:great_minds_guest_4 value = 20 } + reverse_opinion = { who = ROOT value = 15 } + NOR = { + character = event_target:great_minds_guest_1 + character = event_target:great_minds_guest_2 + } + } + save_event_target_as = great_minds_guest_3 + } + } + if = { + limit = { NOT = { event_target:great_minds_guest_3 = { always = yes } } } + society = { + random_society_member = { + limit = { + ai = yes + NOR = { + character = event_target:great_minds_guest_1 + character = event_target:great_minds_guest_2 + } + opinion = { who = ROOT value = 15 } + reverse_opinion = { who = ROOT value = 15 } + } + save_event_target_as = great_minds_guest_3 + } + } + } + } + 30 = { #Nothing special + society = { + random_society_member = { + limit = { + ai = yes + NOR = { + character = event_target:great_minds_guest_1 + character = event_target:great_minds_guest_2 + } + opinion = { who = ROOT value = 15 } + reverse_opinion = { who = ROOT value = 15 } + } + save_event_target_as = great_minds_guest_3 + } + } + society = { + random_society_member = { + limit = { + ai = yes + NOR = { + character = event_target:great_minds_guest_1 + character = event_target:great_minds_guest_2 + character = event_target:great_minds_guest_3 + } + opinion = { who = ROOT value = 15 } + reverse_opinion = { who = ROOT value = 15 } + } + save_event_target_as = great_minds_guest_4 + } + } + } + } + } + + option = { + name = EVTOPTA_MNM_1461 + + reverse_opinion = { who = event_target:great_minds_guest_1 modifier = opinion_grateful_invitation months = 3 } + reverse_opinion = { who = event_target:great_minds_guest_2 modifier = opinion_grateful_invitation months = 3 } + reverse_opinion = { who = event_target:great_minds_guest_3 modifier = opinion_grateful_invitation months = 3 } + if = { + limit = { NOT = { has_character_flag = disliked_hermetic_colleague } } + reverse_opinion = { who = event_target:great_minds_guest_4 modifier = opinion_grateful_invitation months = 3 } + } + hidden_effect = { + if = { + limit = { has_character_flag = disliked_hermetic_colleague } + event_target:great_minds_guest_3 = { character_event = { id = MNM.1462 days = 10 } } + clr_character_flag = disliked_hermetic_colleague + break = yes + } + character_event = { id = MNM.1464 days = 30 } + } + } +} + +#Ping to rival inviter +character_event = { + id = MNM.1462 + hide_window = yes + is_triggered_only = yes + immediate = { FROM = { letter_event = { id = MNM.1463 } } } +} + +#Another guests wants rival to come +letter_event = { + id = MNM.1463 + desc = EVTDESC_MNM_1463 + border = GFX_event_letter_frame_religion + + is_triggered_only = yes + + trigger = { has_character_flag = gathering_of_the_minds } + + #Diplomatic excuse + option = { + trigger = { diplomacy = 12 } + tooltip_info = diplomacy + name = EVTOPTD_MNM_1463 + custom_tooltip = { text = EVTOPTD_MNM_1463_TT } + + clear_event_target = great_minds_guest_4 + + } + + #I guess they can come + option = { + name = EVTOPTA_MNM_1463 + custom_tooltip = { text = EVTOPTA_MNM_1463_TT } + + event_target:great_minds_guest_4 = { + set_character_flag = show_in_option + clr_character_flag = show_in_option + } + + reverse_opinion = { who = FROM modifier = opinion_grateful years = 3 } + } + + #I don't want them here + option = { + name = EVTOPTB_MNM_1463 + custom_tooltip = { text = EVTOPTB_MNM_1463_TT } + + clear_event_target = great_minds_guest_4 + + hidden_effect = { character_event = { id = MNM.1480 } } #Handles scandals + + reverse_opinion = { who = FROM modifier = opinion_very_disappointed years = 3 } + } + + #Neither are invited! + option = { + name = EVTOPTC_MNM_1463 + custom_tooltip = { text = EVTOPTC_MNM_1463_TT } + + clear_event_target = great_minds_guest_3 + clear_event_target = great_minds_guest_4 + + set_character_flag = hermetics_minor_scandal #Will be upgraded to major in 1480 + hidden_effect = { character_event = { id = MNM.1480 } } #Handles scandals + + reverse_opinion = { who = FROM modifier = opinion_offended years = 10 } + } + + after = { + hidden_effect = { character_event = { id = MNM.1464 days = 20 } } + } +} + +#You suggest what you make +character_event = { + id = MNM.1464 + desc = EVTDESC_MNM_1464 + picture = GFX_evt_gathering_of_minds + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + hide_from = yes + + trigger = { has_character_flag = gathering_of_the_minds } + + #Something for war (handgun, giant crossbow, plate armor) + option = { + trigger = { martial = 8 } + tooltip_info = martial + name = EVTOPTA_MNM_1464 + custom_tooltip = { text = EVTOPTA_MNM_1464_TT } + set_character_flag = war_invention + } + + #Something for prosperity (mill, compass, blast furnace) + option = { + trigger = { stewardship = 8 } + tooltip_info = stewardship + name = EVTOPTB_MNM_1464 + custom_tooltip = { text = EVTOPTB_MNM_1464_TT } + set_character_flag = prosperity_invention + } + + #Something for learning (glassess, cross staff, cipher disc) + option = { + tooltip_info = learning + name = EVTOPTD_MNM_1464 + custom_tooltip = { text = EVTOPTD_MNM_1464_TT } + set_character_flag = knowledge_invention + } + + after = { + hidden_effect = { + random_list = { + 50 = { + trigger = { + always = yes + OR = { + event_target:great_minds_guest_1 = { NOT = { opinion = { who = ROOT value = 10 } } } + event_target:great_minds_guest_1 = { is_dumb_trigger = yes } + event_target:great_minds_guest_1 = { trait = ambitious } + } + } + modifier = { is_rival = event_target:great_minds_guest_1 factor = 3 } + event_target:great_minds_guest_1 = { character_event = { id = MNM.1465 days = 3 } } + } + 50 = { + trigger = { + always = yes + OR = { + event_target:great_minds_guest_2 = { NOT = { opinion = { who = ROOT value = 10 } } } + event_target:great_minds_guest_2 = { is_dumb_trigger = yes } + event_target:great_minds_guest_2 = { trait = ambitious } + } + } + modifier = { is_rival = event_target:great_minds_guest_2 factor = 3 } + event_target:great_minds_guest_2 = { character_event = { id = MNM.1465 days = 3 } } + } + 50 = { + trigger = { + always = yes + OR = { + event_target:great_minds_guest_3 = { NOT = { opinion = { who = ROOT value = 10 } } } + event_target:great_minds_guest_3 = { is_dumb_trigger = yes } + event_target:great_minds_guest_3 = { trait = ambitious } + } + } + modifier = { is_rival = event_target:great_minds_guest_3 factor = 3 } + event_target:great_minds_guest_3 = { character_event = { id = MNM.1465 days = 3 } } + } + 50 = { + trigger = { + always = yes + OR = { + event_target:great_minds_guest_4 = { NOT = { opinion = { who = ROOT value = 10 } } } + event_target:great_minds_guest_4 = { is_dumb_trigger = yes } + event_target:great_minds_guest_4 = { trait = ambitious } + } + } + modifier = { is_rival = event_target:great_minds_guest_4 factor = 3 } + event_target:great_minds_guest_4 = { character_event = { id = MNM.1465 days = 3 } } + } + 50 = { #They agree + character_event = { id = MNM.1467 days = 3 } + } + } + } + } +} + + +#Someone protests (ping) +character_event = { + id = MNM.1465 + hide_window = yes + is_triggered_only = yes + immediate = { FROM = { character_event = { id = MNM.1466 } } } +} + +#Someone protests and has their own suggestion +character_event = { + id = MNM.1466 + desc = EVTDESC_MNM_1466 + picture = GFX_evt_quarrel + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + trigger = { has_character_flag = gathering_of_the_minds } + + immediate = { + FROM = { + random_list = { + 33 = { + trigger = { NOT = { ROOT = { has_character_flag = war_invention } } } + modifier = { has_education_martial_trigger = yes factor = 1.5 } + modifier = { has_lifestyle_martial_trigger = yes factor = 1.5 } + set_character_flag = war_invention + } + 33 = { + trigger = { NOT = { ROOT = { has_character_flag = prosperity_invention } } } + modifier = { has_education_stewardship_trigger = yes factor = 1.5 } + modifier = { has_lifestyle_stewardship_trigger = yes factor = 1.5 } + set_character_flag = prosperity_invention + } + 33 = { + trigger = { NOT = { ROOT = { has_character_flag = knowledge_invention } } } + modifier = { has_education_learning_trigger = yes factor = 1.5 } + modifier = { has_lifestyle_learning_trigger = yes factor = 1.5 } + set_character_flag = knowledge_invention + } + } + } + } + + #Debate them + option = { + trigger = { learning = 12 } + name = EVTOPTA_MNM_1466 + custom_tooltip = { text = EVTOPTA_MNM_1466_TT } + + random_list = { + 50 = { #You win + modifier = { learning = 8 factor = 1.2 } + modifier = { learning = 10 factor = 1.2 } + modifier = { learning = 12 factor = 1.2 } + modifier = { learning = 14 factor = 1.2 } + modifier = { learning = 16 factor = 1.2 } + modifier = { learning = 18 factor = 1.2 } + modifier = { learning = 20 factor = 1.2 } + custom_tooltip = { text = EVTOPTA_MNM_1466_SUCCESS_TT } + hidden_effect = { character_event = { id = MNM.1468 days = 7 } } + } + 50 = { #They win + modifier = { FROM = { learning = 8 } factor = 1.2 } + modifier = { FROM = { learning = 10 } factor = 1.2 } + modifier = { FROM = { learning = 12 } factor = 1.2 } + modifier = { FROM = { learning = 14 } factor = 1.2 } + modifier = { FROM = { learning = 16 } factor = 1.2 } + modifier = { FROM = { learning = 18 } factor = 1.2 } + modifier = { FROM = { learning = 20 } factor = 1.2 } + custom_tooltip = { text = EVTOPTA_MNM_1466_FAILURE_TT } + hidden_effect = { character_event = { id = MNM.1469 days = 7 } } + } + } + } + + #Agree, it begins + option = { + name = EVTOPTB_MNM_1466 + custom_tooltip = { text = EVTOPTB_MNM_1466_TT } + + hidden_effect = { + clr_character_flag = war_invention + clr_character_flag = prosperity_invention + clr_character_flag = knowledge_invention + + if = { + limit = { FROM = { has_character_flag = war_invention } } + FROM = { clr_character_flag = war_invention } + set_character_flag = war_invention + } + if = { + limit = { FROM = { has_character_flag = prosperity_invention } } + FROM = { clr_character_flag = prosperity_invention } + set_character_flag = prosperity_invention + } + if = { + limit = { FROM = { has_character_flag = knowledge_invention } } + FROM = { clr_character_flag = knowledge_invention } + set_character_flag = knowledge_invention + } + } + hidden_effect = { character_event = { id = MNM.1470 days = 30 } } + } + + #Forbid, it begins + option = { + name = EVTOPTC_MNM_1466 + custom_tooltip = { text = EVTOPTC_MNM_1466_TT } + + reverse_opinion = { who = event_target:great_minds_guest_1 modifier = opinion_unreasonable years = 5 } + reverse_opinion = { who = event_target:great_minds_guest_2 modifier = opinion_unreasonable years = 5 } + if = { + limit = { event_target:great_minds_guest_3 = { always = yes } } + reverse_opinion = { who = event_target:great_minds_guest_3 modifier = opinion_unreasonable years = 5 } + } + if = { + limit = { event_target:great_minds_guest_4 = { always = yes } } + reverse_opinion = { who = event_target:great_minds_guest_4 modifier = opinion_unreasonable years = 5 } + } + hidden_effect = { + character_event = { id = MNM.1480 } + character_event = { id = MNM.1470 days = 30 } + } + FROM = { + clr_character_flag = war_invention + clr_character_flag = prosperity_invention + clr_character_flag = knowledge_invention + } + } +} + +#They agreed, it begins +character_event = { + id = MNM.1467 + desc = EVTDESC_MNM_1467 + picture = GFX_evt_gathering_of_minds + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + option = { + name = EVTOPTA_MNM_1467 + custom_tooltip = { text = EVTOPTA_MNM_1467_TT } + + hidden_effect = { character_event = { id = MNM.1470 days = 30 } } + } +} + +#You won debate +character_event = { + id = MNM.1468 + desc = EVTDESC_MNM_1468 + picture = GFX_evt_religious_exultation + border = GFX_event_normal_frame_religion + + trigger = { has_character_flag = gathering_of_the_minds } + + is_triggered_only = yes + + option = { + name = EVTOPTA_MNM_1468 + custom_tooltip = { text = EVTOPTA_MNM_1467_TT } + + add_society_currency_minor_effect = yes + + hidden_effect = { character_event = { id = MNM.1470 days = 30 } } + + FROMFROM = { + clr_character_flag = war_invention + clr_character_flag = prosperity_invention + clr_character_flag = knowledge_invention + } + } +} + +#You lost debate +character_event = { + id = MNM.1469 + desc = EVTDESC_MNM_1469 + picture = GFX_evt_rival_rulers + border = GFX_event_normal_frame_religion + + trigger = { has_character_flag = gathering_of_the_minds } + + is_triggered_only = yes + + option = { + name = EVTOPTA_MNM_1469 + custom_tooltip = { text = EVTOPTA_MNM_1469_TT } + + prestige = -50 + + hidden_effect = { + clr_character_flag = war_invention + clr_character_flag = prosperity_invention + clr_character_flag = knowledge_invention + + if = { + limit = { FROMFROM = { has_character_flag = war_invention } } + FROMFROM = { clr_character_flag = war_invention } + set_character_flag = war_invention + } + if = { + limit = { FROMFROM = { has_character_flag = prosperity_invention } } + FROMFROM = { clr_character_flag = prosperity_invention } + set_character_flag = prosperity_invention + } + if = { + limit = { FROMFROM = { has_character_flag = knowledge_invention } } + FROMFROM = { clr_character_flag = knowledge_invention } + set_character_flag = knowledge_invention + } + } + + hidden_effect = { character_event = { id = MNM.1470 days = 30 } } + } +} + +#Risky or safe project +character_event = { + id = MNM.1470 + desc = EVTDESC_MNM_1470 + picture = GFX_evt_rival_rulers + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + hide_from = yes + + trigger = { has_character_flag = gathering_of_the_minds } + + #The safer + option = { + name = EVTOPTA_MNM_1470 + custom_tooltip = { text = EVTOPTA_MNM_1470_TT } + + reverse_opinion = { who = event_target:great_minds_guest_2 modifier = opinion_grateful years = 5 } + reverse_opinion = { who = event_target:great_minds_guest_1 modifier = opinion_disappointed years = 5 } + + hidden_effect = { set_character_flag = safe_invention } + } + + #The riskier + option = { + name = EVTOPTB_MNM_1470 + custom_tooltip = { text = EVTOPTB_MNM_1470_TT } + + reverse_opinion = { who = event_target:great_minds_guest_1 modifier = opinion_grateful years = 5 } + reverse_opinion = { who = event_target:great_minds_guest_2 modifier = opinion_disappointed years = 5 } + + hidden_effect = { set_character_flag = risky_invention } + } + + after = { + hidden_effect = { + event_target:great_minds_guest_1 = { + opinion = { who = event_target:great_minds_guest_1 modifier = opinion_argued years = 5 } + reverse_opinion = { who = event_target:great_minds_guest_1 modifier = opinion_argued years = 5 } + } + + #Things that might happen + random_list = { + 40 = { #People fight + trigger = { + society = { + any_society_member = { + OR = { + character = event_target:great_minds_guest_1 + character = event_target:great_minds_guest_2 + character = event_target:great_minds_guest_3 + character = event_target:great_minds_guest_4 + } + society = { + any_society_member = { + OR = { + character = event_target:great_minds_guest_1 + character = event_target:great_minds_guest_2 + character = event_target:great_minds_guest_3 + character = event_target:great_minds_guest_4 + } + NOT = { opinion = { who = PREVPREV value = 10 } } + } + } + } + } + } + society = { + random_society_member = { + limit = { + OR = { + character = event_target:great_minds_guest_1 + character = event_target:great_minds_guest_2 + character = event_target:great_minds_guest_3 + character = event_target:great_minds_guest_4 + } + society = { + any_society_member = { + OR = { + character = event_target:great_minds_guest_1 + character = event_target:great_minds_guest_2 + character = event_target:great_minds_guest_3 + character = event_target:great_minds_guest_4 + } + NOT = { opinion = { who = PREVPREV value = 10 } } + } + } + } + save_event_target_as = arguer_2 + society = { + random_society_member = { + limit = { + OR = { + character = event_target:great_minds_guest_1 + character = event_target:great_minds_guest_2 + character = event_target:great_minds_guest_3 + character = event_target:great_minds_guest_4 + } + NOT = { opinion = { who = PREVPREV value = 10 } } + } + save_event_target_as = arguer_1 + } + } + } + } + character_event = { id = MNM.1471 days = 20 random = 10 } + } + 35 = { #You agree with someone + trigger = { + OR = { + opinion = { who = event_target:great_minds_guest_1 value = 20 } + opinion = { who = event_target:great_minds_guest_2 value = 20 } + opinion = { who = event_target:great_minds_guest_3 value = 20 } + opinion = { who = event_target:great_minds_guest_4 value = 20 } + } + } + society = { + random_society_member = { + limit = { + OR = { + character = event_target:great_minds_guest_1 + character = event_target:great_minds_guest_2 + character = event_target:great_minds_guest_3 + character = event_target:great_minds_guest_4 + } + reverse_opinion = { who = ROOT value = 20 } + } + character_event = { id = MNM.1474 days = 20 random = 10 } + } + } + } + 25 = { #You have a brilliant insight + trigger = { learning = 12 } + modifier = { learning = 14 factor = 1.2 } + modifier = { learning = 16 factor = 1.2 } + modifier = { learning = 18 factor = 1.2 } + modifier = { has_character_modifier = divine_summoning_succeeded factor = 1.5 } + character_event = { id = MNM.1476 days = 20 random = 10 } + } + } + } + } +} + + +#Two people are arguing +character_event = { + id = MNM.1471 + desc = EVTDESC_MNM_1471 + picture = GFX_evt_quarrel + border = GFX_event_normal_frame_war + + is_triggered_only = yes + hide_from = yes + + trigger = { has_character_flag = gathering_of_the_minds } + + #Try to meddle + option = { + name = EVTOPTA_MNM_1471 + custom_tooltip = { text = EVTOPTA_MNM_1471_TT } + + random_list = { + 50 = { #It works + modifier = { society_rank >= 3 factor = 1.2 } + modifier = { + reverse_opinion = { who = event_target:arguer_1 value = 25 } + reverse_opinion = { who = event_target:arguer_2 value = 25 } + factor = 1.4 + } + modifier = { diplomacy = 12 factor = 1.2 } + modifier = { diplomacy = 14 factor = 1.2 } + modifier = { diplomacy = 16 factor = 1.2 } + custom_tooltip = { text = EVTOPTA_MNM_1471_SUCCESS_TT } + hidden_effect = { character_event = { id = MNM.1472 days = 5 } } + } + 50 = { #It didn't work + modifier = { NOT = { diplomacy = 10 } factor = 1.2 } + modifier = { has_unpleasant_personality_trigger = yes factor = 1.3 } + custom_tooltip = { text = EVTOPTA_MNM_1471_FAIL_TT } + hidden_effect = { character_event = { id = MNM.1473 days = 5 } } + } + } + } + + #Person 1 goes + option = { + name = EVTOPTB_MNM_1471 + custom_tooltip = { text = EVTOPTB_MNM_1471_TT } + + hidden_effect = { + if = { + limit = { event_target:arguer_1 = { character = event_target:great_minds_guest_1 } } + clear_event_target = event_target:great_minds_guest_1 + } + if = { + limit = { event_target:arguer_1 = { character = event_target:great_minds_guest_2 } } + clear_event_target = event_target:great_minds_guest_2 + } + if = { + limit = { event_target:arguer_1 = { character = event_target:great_minds_guest_3 } } + clear_event_target = event_target:great_minds_guest_3 + } + if = { + limit = { event_target:arguer_1 = { character = event_target:great_minds_guest_4 } } + clear_event_target = event_target:great_minds_guest_4 + } + + hidden_effect = { character_event = { id = MNM.1480 } } #Handles scandals + + + #After some time, end result + character_event = { id = MNM.1477 days = 30 random = 20 } + } + } + + #Person 2 goes + option = { + name = EVTOPTC_MNM_1471 + custom_tooltip = { text = EVTOPTC_MNM_1471_TT } + + hidden_effect = { + if = { + limit = { event_target:arguer_2 = { character = event_target:great_minds_guest_1 } } + clear_event_target = event_target:great_minds_guest_1 + } + if = { + limit = { event_target:arguer_2 = { character = event_target:great_minds_guest_2 } } + clear_event_target = event_target:great_minds_guest_2 + } + if = { + limit = { event_target:arguer_2 = { character = event_target:great_minds_guest_3 } } + clear_event_target = event_target:great_minds_guest_3 + } + if = { + limit = { event_target:arguer_2 = { character = event_target:great_minds_guest_4 } } + clear_event_target = event_target:great_minds_guest_4 + } + + hidden_effect = { character_event = { id = MNM.1480 } } #Handles scandals + + #After some time, end result + character_event = { id = MNM.1477 days = 30 random = 20 } + } + } +} + +#You managed to make the quarrelers make up +character_event = { + id = MNM.1472 + desc = EVTDESC_MNM_1472 + picture = GFX_evt_state_diplomacy + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + trigger = { has_character_flag = gathering_of_the_minds } + + option = { + name = EVTOPTA_MNM_1472 + custom_tooltip = { text = EVTOPTA_MNM_1472_TT } + + reverse_opinion = { + who = event_target:arguer_1 + modifier = opinion_reasonable + years = 5 + } + + reverse_opinion = { + who = event_target:arguer_2 + modifier = opinion_reasonable + years = 5 + } + + + hidden_effect = { + #After some time, end result + character_event = { id = MNM.1477 days = 30 random = 20 } + } + } +} + +#You fail to make the quarrelers make up +character_event = { + id = MNM.1473 + desc = EVTDESC_MNM_1473 + picture = GFX_evt_rival_rulers + border = GFX_event_normal_frame_war + + is_triggered_only = yes + + trigger = { has_character_flag = gathering_of_the_minds } + + option = { + name = EVTOPTA_MNM_1473 + custom_tooltip = { text = EVTOPTA_MNM_1473_TT } + + reverse_opinion = { + who = event_target:arguer_1 + modifier = opinion_unreasonable + years = 5 + } + + reverse_opinion = { + who = event_target:arguer_2 + modifier = opinion_unreasonable + years = 5 + } + + hidden_effect = { + #No one leaves because it is sure to end here + + clr_character_flag = hermetics_minor_scandal + set_character_flag = hermetics_major_scandal + hidden_effect = { character_event = { id = MNM.1480 } } #Handles scandals + + #After some time, end result + character_event = { id = MNM.1477 days = 30 random = 20 } + } + } +} + +#You agree with someone (ping) +character_event = { + id = MNM.1474 + hide_window = yes + is_triggered_only = yes + immediate = { FROM = { character_event = { id = MNM.1475 } } } +} + +#You agree with someone, you work well together +character_event = { + id = MNM.1475 + desc = EVTDESC_MNM_1475 + picture = GFX_evt_experiment + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + trigger = { has_character_flag = gathering_of_the_minds } + + option = { + name = EVTOPTA_MNM_1475 + + hidden_effect = { + #After some time, end result + character_event = { id = MNM.1477 days = 30 random = 20 } + } + + if = { + limit = { + opinion = { who = FROM value = 40 } + reverse_opinion = { who = FROM value = 40 } + NOT = { is_friend = FROM } + } + add_friend = FROM + break = yes + } + reverse_opinion = { + who = FROM + modifier = opinion_great_minds + years = 10 + } + hidden_effect = { + opinion = { + who = FROM + modifier = opinion_great_minds + years = 10 + } + } + } +} + +#You have a brilliant insight +character_event = { + id = MNM.1476 + desc = EVTDESC_MNM_1476 + picture = GFX_evt_religious_exultation + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + hide_from = yes + + trigger = { has_character_flag = gathering_of_the_minds } + + option = { + name = EVTOPTA_MNM_1476 + custom_tooltip = { text = EVTOPTA_MNM_1476_TT } + + add_character_modifier = { + name = brilliant_insight + years = 5 + } + + set_character_flag = brilliant_insight + + + hidden_effect = { + #After some time, end result + character_event = { id = MNM.1477 days = 30 random = 20 } + } + } +} + +#Event to calculate outcome +character_event = { + id = MNM.1477 + hide_window = yes + is_triggered_only = yes + trigger = { has_character_flag = gathering_of_the_minds } + immediate = { + #Adds up everyone's learning + set_variable = { which = collective_learning value = 0 } + if = { + limit = { event_target:great_minds_guest_1 = { always = yes } } + export_to_variable = { which = collective_learning_temp value = learning who = event_target:great_minds_guest_1 } + change_variable = { which = collective_learning which = collective_learning_temp } + } + if = { + limit = { event_target:great_minds_guest_2 = { always = yes } } + export_to_variable = { which = collective_learning_temp value = learning who = event_target:great_minds_guest_2 } + change_variable = { which = collective_learning which = collective_learning_temp } + } + if = { + limit = { event_target:great_minds_guest_3 = { always = yes } } + export_to_variable = { which = collective_learning_temp value = learning who = event_target:great_minds_guest_3 } + change_variable = { which = collective_learning which = collective_learning_temp } + } + if = { + limit = { event_target:great_minds_guest_4 = { always = yes } } + export_to_variable = { which = collective_learning_temp value = learning who = event_target:great_minds_guest_4 } + change_variable = { which = collective_learning which = collective_learning_temp } + } + + + #Outcome + random_list = { + 20 = { #Best + trigger = { has_character_flag = risky_invention } + modifier = { learning = 10 factor = 1.3 } + modifier = { learning = 12 factor = 1.3 } + modifier = { learning = 14 factor = 1.3 } + modifier = { learning = 16 factor = 1.3 } + modifier = { learning = 18 factor = 1.3 } + modifier = { learning = 20 factor = 1.3 } + modifier = { has_character_flag = brilliant_insight factor = 100 } + modifier = { check_variable = { which = collective_learning value = 40 } factor = 1.4 } + modifier = { check_variable = { which = collective_learning value = 50 } factor = 1.4 } + modifier = { check_variable = { which = collective_learning value = 60 } factor = 1.4 } + set_character_flag = best_outcome + character_event = { id = MNM.1478 } + } + 30 = { #Good + modifier = { learning = 10 factor = 1.2 } + modifier = { learning = 12 factor = 1.2 } + modifier = { learning = 14 factor = 1.2 } + modifier = { learning = 16 factor = 1.2 } + modifier = { learning = 18 factor = 1.2 } + modifier = { learning = 20 factor = 1.2 } + modifier = { has_character_flag = brilliant_insight factor = 10 } + modifier = { check_variable = { which = collective_learning value = 40 } factor = 1.3 } + modifier = { check_variable = { which = collective_learning value = 50 } factor = 1.3 } + modifier = { check_variable = { which = collective_learning value = 60 } factor = 1.3 } + set_character_flag = good_outcome + character_event = { id = MNM.1478 } + } + 45 = { #Ok + trigger = { has_character_flag = safe_invention } + modifier = { learning = 10 factor = 1.1 } + modifier = { learning = 12 factor = 1.1 } + modifier = { learning = 14 factor = 1.1 } + modifier = { learning = 16 factor = 1.1 } + modifier = { learning = 18 factor = 1.1 } + modifier = { learning = 20 factor = 1.1 } + modifier = { check_variable = { which = collective_learning value = 40 } factor = 1.2 } + modifier = { check_variable = { which = collective_learning value = 50 } factor = 1.2 } + modifier = { check_variable = { which = collective_learning value = 60 } factor = 1.2 } + set_character_flag = ok_outcome + character_event = { id = MNM.1478 } + } + 25 = { #Normal failure outcome + trigger = { has_character_flag = safe_invention } + set_character_flag = failure_outcome + character_event = { id = MNM.1479 } + } + 25 = { #Dangerous failure outcome + trigger = { has_character_flag = risky_invention } + set_character_flag = bad_failure_outcome + character_event = { id = MNM.1479 } + } + } + clr_character_flag = brilliant_insight + #Select a target province for modifiers todo + } +} + +#Good outcome +character_event = { + id = MNM.1478 + picture = GFX_evt_gathering_of_minds + border = GFX_event_normal_frame_religion + + desc = { + trigger = { + has_character_flag = best_outcome + has_character_flag = war_invention + } + text = EVTDESC_MNM_1478_A #Hand gun + picture = GFX_evt_gathering_of_minds + } + desc = { + trigger = { + has_character_flag = best_outcome + has_character_flag = prosperity_invention + } + text = EVTDESC_MNM_1478_B #Compass + picture = GFX_evt_gathering_of_minds + } + desc = { + trigger = { + has_character_flag = best_outcome + has_character_flag = knowledge_invention + } + text = EVTDESC_MNM_1478_C #Radius astronomicus + picture = GFX_evt_gathering_of_minds + } + desc = { + trigger = { + has_character_flag = good_outcome + has_character_flag = war_invention + } + text = EVTDESC_MNM_1478_D #Giant crossbow + picture = GFX_evt_gathering_of_minds + } + desc = { + trigger = { + has_character_flag = good_outcome + has_character_flag = prosperity_invention + } + text = EVTDESC_MNM_1478_E #Blast furnace + picture = GFX_evt_weaponsmith + } + desc = { + trigger = { + has_character_flag = good_outcome + has_character_flag = knowledge_invention + } + text = EVTDESC_MNM_1478_F #Crypt and cypher machine + picture = GFX_evt_ritual_scroll + } + desc = { + trigger = { + has_character_flag = ok_outcome + has_character_flag = war_invention + } + text = EVTDESC_MNM_1478_G #Plate armor + picture = GFX_evt_weaponsmith + } + desc = { + trigger = { + has_character_flag = ok_outcome + has_character_flag = prosperity_invention + } + text = EVTDESC_MNM_1478_H #A new mill + picture = GFX_evt_gathering_of_minds + } + desc = { + trigger = { + has_character_flag = ok_outcome + has_character_flag = knowledge_invention + } + text = EVTDESC_MNM_1478_I #Glasses + picture = GFX_evt_gathering_of_minds + } + + is_triggered_only = yes + hide_from = yes + + trigger = { has_character_flag = gathering_of_the_minds } + + option = { + trigger = { + has_character_flag = best_outcome + has_character_flag = war_invention + } + name = EVTOPTA_MNM_1478 + + add_artifact = hermetic_handgun + + military_techpoints = 100 + add_society_currency_major_effect = yes + } + + option = { + trigger = { + has_character_flag = best_outcome + has_character_flag = prosperity_invention + } + name = EVTOPTB_MNM_1478 + + add_artifact = hermetic_compass + + economy_techpoints = 100 + add_society_currency_major_effect = yes + } + + option = { + trigger = { + has_character_flag = best_outcome + has_character_flag = knowledge_invention + } + name = EVTOPTC_MNM_1478 + + add_artifact = radius_astronomicus + + culture_techpoints = 100 + add_society_currency_major_effect = yes + } + + option = { + trigger = { + has_character_flag = good_outcome + has_character_flag = war_invention + } + name = EVTOPTD_MNM_1478 + + capital_scope = { + add_province_modifier = { + name = giant_crossbow + years = 100 + } + } + + military_techpoints = 50 + add_society_currency_medium_effect = yes + } + + option = { + trigger = { + has_character_flag = good_outcome + has_character_flag = prosperity_invention + } + name = EVTOPTE_MNM_1478 + + capital_scope = { + add_province_modifier = { + name = blast_furnace + years = 100 + } + } + + economy_techpoints = 50 + add_society_currency_medium_effect = yes + } + + option = { + trigger = { + has_character_flag = good_outcome + has_character_flag = knowledge_invention + } + name = EVTOPTF_MNM_1478 + + add_artifact = hermetic_cypher_machine + + culture_techpoints = 50 + add_society_currency_medium_effect = yes + } + + option = { + trigger = { + has_character_flag = ok_outcome + has_character_flag = war_invention + } + name = EVTOPTG_MNM_1478 + + add_artifact = hermetic_plate_armor + + military_techpoints = 25 + add_society_currency_minor_effect = yes + } + + option = { + trigger = { + has_character_flag = ok_outcome + has_character_flag = prosperity_invention + } + name = EVTOPTH_MNM_1478 + + capital_scope = { + add_province_modifier = { + name = great_mill + years = 100 + } + } + + economy_techpoints = 25 + add_society_currency_minor_effect = yes + } + + option = { + trigger = { + has_character_flag = ok_outcome + has_character_flag = knowledge_invention + } + name = EVTOPTI_MNM_1478 + + add_artifact = hermetic_glasses + + culture_techpoints = 25 + add_society_currency_minor_effect = yes + } + + after = { + hidden_effect = { + clr_character_flag = gathering_of_the_minds + clr_character_flag = war_invention + clr_character_flag = prosperity_invention + clr_character_flag = knowledge_invention + clr_character_flag = great_outcome + clr_character_flag = good_outcome + clr_character_flag = ok_outcome + } + } +} + +#Failure +character_event = { + id = MNM.1479 + picture = GFX_evt_burning_house + border = GFX_event_normal_frame_religion + + desc = { + trigger = { has_character_flag = failure_outcome } + text = EVTDESC_MNM_1479_A + picture = GFX_evt_quarrel + } + desc = { + trigger = { has_character_flag = bad_failure_outcome } + text = EVTDESC_MNM_1479_B + } + + immediate = { + random_list = { + 20 = { set_character_flag = invention_failure_maimed } + 20 = { set_character_flag = invention_failure_wounded } + 60 = { } #They're safe + } + event_target:great_minds_guest_1 = { + random_list = { + 20 = { set_character_flag = invention_failure_death } + 20 = { set_character_flag = invention_failure_maimed } + 20 = { set_character_flag = invention_failure_wounded } + 40 = { } #They're safe + } + } + event_target:great_minds_guest_2 = { + random_list = { + 20 = { set_character_flag = invention_failure_death } + 20 = { set_character_flag = invention_failure_maimed } + 20 = { set_character_flag = invention_failure_wounded } + 40 = { } #They're safe + } + } + event_target:great_minds_guest_3 = { + random_list = { + 20 = { set_character_flag = invention_failure_death } + 20 = { set_character_flag = invention_failure_maimed } + 20 = { set_character_flag = invention_failure_wounded } + 40 = { } #They're safe + } + } + event_target:great_minds_guest_4 = { + random_list = { + 20 = { set_character_flag = invention_failure_death } + 20 = { set_character_flag = invention_failure_maimed } + 20 = { set_character_flag = invention_failure_wounded } + 40 = { } #They're safe + } + } + } + + is_triggered_only = yes + + hide_from = yes + + option = { + trigger = { has_character_flag = failure_outcome } + name = EVTOPTA_MNM_1479 + custom_tooltip = { text = EVTOPTA_MNM_1479_TT } + } + + option = { + trigger = { has_character_flag = bad_failure_outcome } + name = EVTOPTB_MNM_1479 + custom_tooltip = { text = EVTOPTB_MNM_1479_TT } + + trigger_switch = { + on_trigger = has_character_flag + invention_failure_maimed = { add_maimed_trait_effect = yes } + invention_failure_wounded = { add_trait_silently_wounded_effect = yes } + } + + event_target:great_minds_guest_1 = { + trigger_switch = { + on_trigger = has_character_flag + invention_failure_death = { death = { death_reason = death_accident } } + invention_failure_maimed = { add_maimed_trait_effect = yes } + invention_failure_wounded = { add_trait_silently_wounded_effect = yes } + } + } + event_target:great_minds_guest_2 = { + trigger_switch = { + on_trigger = has_character_flag + invention_failure_death = { death = { death_reason = death_accident } } + invention_failure_maimed = { add_maimed_trait_effect = yes } + invention_failure_wounded = { add_trait_silently_wounded_effect = yes } + } + } + event_target:great_minds_guest_3 = { + trigger_switch = { + on_trigger = has_character_flag + invention_failure_death = { death = { death_reason = death_accident } } + invention_failure_maimed = { add_maimed_trait_effect = yes } + invention_failure_wounded = { add_trait_silently_wounded_effect = yes } + } + } + event_target:great_minds_guest_4 = { + trigger_switch = { + on_trigger = has_character_flag + invention_failure_death = { death = { death_reason = death_accident } } + invention_failure_maimed = { add_maimed_trait_effect = yes } + invention_failure_wounded = { add_trait_silently_wounded_effect = yes } + } + } + } + + after = { + hidden_effect = { + clr_character_flag = gathering_of_the_minds + clr_character_flag = war_invention + clr_character_flag = prosperity_invention + clr_character_flag = knowledge_invention + clr_character_flag = failure_outcome + clr_character_flag = bad_failure_outcome + + clr_character_flag = invention_failure_maimed + clr_character_flag = invention_failure_wounded + event_target:great_minds_guest_1 = { + clr_character_flag = invention_failure_maimed + clr_character_flag = invention_failure_wounded + } + event_target:great_minds_guest_2 = { + clr_character_flag = invention_failure_maimed + clr_character_flag = invention_failure_wounded + } + event_target:great_minds_guest_3 = { + clr_character_flag = invention_failure_maimed + clr_character_flag = invention_failure_wounded + } + event_target:great_minds_guest_4 = { + clr_character_flag = invention_failure_maimed + clr_character_flag = invention_failure_wounded + } + } + } +} + +#Handles scandals, ends the event chain if things go to far +character_event = { + id = MNM.1480 + hide_window = yes + is_triggered_only = yes + trigger = { has_character_flag = gathering_of_the_minds } + immediate = { + if = { + limit = { + NOR = { + has_character_flag = hermetics_minor_scandal + has_character_flag = hermetics_major_scandal + } + } + set_character_flag = hermetics_minor_scandal + break = yes + } + if = { + limit = { has_character_flag = hermetics_minor_scandal } + clr_character_flag = hermetics_minor_scandal + set_character_flag = hermetics_major_scandal + break = yes + } + + if = { + limit = { has_character_flag = hermetics_major_scandal } + clr_character_flag = hermetics_major_scandal + + character_event = { id = MNM.1481 } + } + } +} + +character_event = { + id = MNM.1481 + desc = EVTDESC_MNM_1481 + picture = GFX_evt_scandal + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + hide_from = yes + + option = { + name = EVTOPTA_MNM_1481 + custom_tooltip = { text = EVTOPTA_MNM_1481_TT } + + hidden_effect = { + clr_character_flag = gathering_of_the_minds + clr_character_flag = war_invention + clr_character_flag = prosperity_invention + clr_character_flag = knowledge_invention + clr_character_flag = hermetics_minor_scandal + clr_character_flag = hermetics_major_scandal + clr_character_flag = risky_invention + clr_character_flag = safe_invention + clr_character_flag = brilliant_insight + + event_target:great_minds_guest_1 = { + clr_character_flag = war_invetion + clr_character_flag = prosperity_invention + clr_character_flag = knowledge_invention + } + event_target:great_minds_guest_2 = { + clr_character_flag = war_invetion + clr_character_flag = prosperity_invention + clr_character_flag = knowledge_invention + } + event_target:great_minds_guest_3 = { + clr_character_flag = war_invetion + clr_character_flag = prosperity_invention + clr_character_flag = knowledge_invention + } + event_target:great_minds_guest_4 = { + clr_character_flag = war_invetion + clr_character_flag = prosperity_invention + clr_character_flag = knowledge_invention + } + } + } +} + + +##Divine Summoning## + +#Divine Summoning find target ping +character_event = { + id = MNM.1620 + hide_window = yes + + is_triggered_only = yes + + only_playable = yes + only_capable = yes + prisoner = no + is_in_society = yes + + trigger = { + society_member_of = hermetics + NOT = { is_inaccessible_trigger = yes } + } + + weight_multiplier = { + factor = 1 + modifier = { + factor = 2.0 + society_rank >= 3 + } + modifier = { + factor = 0.5 + society_rank == 1 + } + modifier = { + factor = 3.0 + OR = { + has_focus = focus_scholarship + has_focus = focus_theology + } + } + modifier = { + factor = 3.0 + trait = genius + } + modifier = { + factor = 3.0 + trait = mystic + } + modifier = { + factor = 2.0 + trait = quick + } + modifier = { + factor = 2.0 + trait = shrewd + } + modifier = { + factor = 0.5 + trait = dull + } + modifier = { + factor = 0.5 + trait = slow + } + modifier = { + factor = 0.1 + trait = imbecile + } + modifier = { + factor = 0.25 + has_character_flag = had_a_divine_summoning + } + } + + immediate = { + # First look for someone at court + society = { + random_society_member = { + limit = { + ai = yes + is_incapable = no + prisoner = no + NOT = { is_inaccessible_trigger = yes } + NOT = { character = ROOT } + in_command = no + host = { character = ROOT } + } + character_event = { id = MNM.1621 } + break = yes + } + + # Then look for someone in the same realm + random_society_member = { + limit = { + ai = yes + is_incapable = no + prisoner = no + NOT = { is_inaccessible_trigger = yes } + NOT = { character = ROOT } + in_command = no + same_realm = yes + } + character_event = { id = MNM.1621 } + break = yes + } + + # Then look abroad... + random_society_member = { + limit = { + ai = yes + is_incapable = no + prisoner = no + NOT = { is_inaccessible_trigger = yes } + NOT = { character = ROOT } + in_command = no + is_within_diplo_range = ROOT + } + character_event = { id = MNM.1621 } + } + } + } +} + +# Bounce +character_event = { + id = MNM.1621 + hide_window = yes + + is_triggered_only = yes + + immediate = { + FROM = { character_event = { id = MNM.1622 } } + } +} + +# Divine Summoning - Planning +character_event = { + id = MNM.1622 + picture = GFX_evt_shadowy_cabal + border = GFX_event_normal_frame_religion + + desc = { + text = EVTDESC_MNM_1622 + trigger = { + FROM = { + NOT = { host = { character = ROOT } } + } + } + } + desc = { + text = EVTDESC_MNM_1622_COURT + trigger = { + FROM = { + host = { character = ROOT } + } + } + } + + is_triggered_only = yes + + option = { + name = EVTOPTA_MNM_1622 # Anything to grow closer to the Divine! + ai_chance = { + factor = 100 + modifier = { + factor = 50 + trait = ambitious + } + modifier = { + factor = 50 + trait = mystic + } + modifier = { + factor = 0 + any_artifact = { + has_artifact_flag = ingredient + } + } + } + + set_character_flag = had_a_divine_summoning + + FROM = { character_event = { id = MNM.1623 tooltip = EVT_TT_1622 portrait = no } } + } + + option = { + name = EVTOPTA_MNM_1622_use_ingredients # Send them these ingredients to aid in the ritual! + tooltip_info = yes + custom_tooltip = { text = ingredient_option_available_tt } + + ai_chance = { + factor = 500 + modifier = { + factor = 50 + trait = ambitious + } + modifier = { + factor = 50 + trait = mystic + } + } + + custom_tooltip = { + text = ingredients_are_sent_tt + hidden_effect = { destroy_random_ingredients_effect = yes } + } + + + set_character_flag = had_a_divine_summoning + set_character_flag = used_ingredients_for_summoning + + FROM = { character_event = { id = MNM.1623 portrait = no } } + + trigger = { + any_artifact = { + has_artifact_flag = ingredient + } + } + } + + option = { + name = EVTOPTB_MNM_1622 # Even rituals carry danger + ai_chance = { + factor = 1 + modifier = { + factor = 50 + trait = craven + } + modifier = { + factor = 25 + trait = content + } + } + + detract_society_currency_minor_effect = yes + reverse_opinion = { who = FROM modifier = opinion_coward years = 5 } + } +} + +# Bounce +character_event = { + id = MNM.1623 + hide_window = yes + + is_triggered_only = yes + + immediate = { + destroy_random_ingredients_effect = yes + FROM = { character_event = { id = MNM.1624 days = 15 random = 15 } } + } +} + +# Divine Summoning - The Ritual +narrative_event = { + id = MNM.1624 + picture = GFX_evt_magic_ritual + border = GFX_event_narrative_frame_religion + + title = EVTTITLE_MNM_1624 + + desc = { text = EVTDESC_MNM_1624 } + + is_triggered_only = yes + + option = { # Ask it the secrets of Alchemy (stewardship) + name = EVTOPTA_MNM_1624 + + hidden_effect = { + set_character_flag = divine_summoning_alchemy + FROM = { character_event = { id = MNM.1625 } } + } + } + + option = { # Ask it the secrets of Astrology (diplomacy) + name = EVTOPTB_MNM_1624 + + hidden_effect = { + set_character_flag = divine_summoning_astrology + FROM = { character_event = { id = MNM.1625 } } + } + } + + option = { # Open your mind to the Divine (learning) + name = EVTOPTC_MNM_1624 + + hidden_effect = { + set_character_flag = divine_summoning_open_mind + FROM = { character_event = { id = MNM.1625 } } + } + } + + option = { # Ask it about how the Truth has been hidden (intrigue) + name = EVTOPTD_MNM_1624 + + hidden_effect = { + set_character_flag = divine_summoning_hidden_truth + FROM = { character_event = { id = MNM.1625 } } + } + } +} + +# Bounce +character_event = { + id = MNM.1625 + hide_window = yes + + is_triggered_only = yes + + immediate = { + if = { + limit = { + FROM = { + has_character_flag = divine_summoning_alchemy + learning = 25 + } + } + random_list = { + 15 = { + FROM = { set_character_flag = divine_summoning_success } + } + 25 = { + FROM = { set_character_flag = divine_summoning_alchemy_good_bonus } + } + 40 = { + FROM = { set_character_flag = divine_summoning_alchemy_bonus } + } + 15 = { + modifier = { + factor = 0.5 + FROM = { has_character_flag = used_ingredients_for_summoning } + } + FROM = { set_character_flag = divine_summoning_alchemy_penalty } + } + 5 = { + modifier = { + factor = 0.5 + FROM = { has_character_flag = used_ingredients_for_summoning } + } + FROM = { set_character_flag = divine_summoning_alchemy_bad_penalty } + } + } + } + if = { + limit = { + FROM = { + has_character_flag = divine_summoning_alchemy + learning = 20 + NOT = { learning = 25 } + } + } + random_list = { + 10 = { + FROM = { set_character_flag = divine_summoning_success } + } + 20 = { + FROM = { set_character_flag = divine_summoning_alchemy_good_bonus } + } + 35 = { + FROM = { set_character_flag = divine_summoning_alchemy_bonus } + } + 20 = { + FROM = { set_character_flag = divine_summoning_alchemy_penalty } + } + 10 = { + modifier = { + factor = 0.5 + FROM = { has_character_flag = used_ingredients_for_summoning } + } + FROM = { set_character_flag = divine_summoning_alchemy_bad_penalty } + } + 5 = { + modifier = { + factor = 0.5 + FROM = { has_character_flag = used_ingredients_for_summoning } + } + FROM = { set_character_flag = divine_summoning_failure } + } + } + } + if = { + limit = { + FROM = { + has_character_flag = divine_summoning_alchemy + learning = 15 + NOT = { learning = 20 } + } + } + random_list = { + 5 = { + FROM = { set_character_flag = divine_summoning_success } + } + 10 = { + FROM = { set_character_flag = divine_summoning_alchemy_good_bonus } + } + 20 = { + FROM = { set_character_flag = divine_summoning_alchemy_bonus } + } + 35 = { + FROM = { set_character_flag = divine_summoning_alchemy_penalty } + } + 20 = { + modifier = { + factor = 0.5 + FROM = { has_character_flag = used_ingredients_for_summoning } + } + FROM = { set_character_flag = divine_summoning_alchemy_bad_penalty } + } + 10 = { + modifier = { + factor = 0.5 + FROM = { has_character_flag = used_ingredients_for_summoning } + } + FROM = { set_character_flag = divine_summoning_failure } + } + } + } + if = { + limit = { + FROM = { + has_character_flag = divine_summoning_alchemy + NOT = { learning = 15 } + } + } + random_list = { + 5 = { + FROM = { set_character_flag = divine_summoning_alchemy_good_bonus } + } + 15 = { + FROM = { set_character_flag = divine_summoning_alchemy_bonus } + } + 40 = { + FROM = { set_character_flag = divine_summoning_alchemy_penalty } + } + 25 = { + modifier = { + factor = 0.5 + FROM = { has_character_flag = used_ingredients_for_summoning } + } + FROM = { set_character_flag = divine_summoning_alchemy_bad_penalty } + } + 15 = { + modifier = { + factor = 0.5 + FROM = { has_character_flag = used_ingredients_for_summoning } + } + FROM = { set_character_flag = divine_summoning_failure } + } + } + } + if = { + limit = { + FROM = { + has_character_flag = divine_summoning_astrology + learning = 25 + } + } + random_list = { + 15 = { + FROM = { set_character_flag = divine_summoning_success } + } + 25 = { + FROM = { set_character_flag = divine_summoning_astrology_good_bonus } + } + 40 = { + FROM = { set_character_flag = divine_summoning_astrology_bonus } + } + 15 = { + modifier = { + factor = 0.5 + FROM = { has_character_flag = used_ingredients_for_summoning } + } + FROM = { set_character_flag = divine_summoning_astrology_penalty } + } + 5 = { + modifier = { + factor = 0.5 + FROM = { has_character_flag = used_ingredients_for_summoning } + } + FROM = { set_character_flag = divine_summoning_astrology_bad_penalty } + } + } + } + if = { + limit = { + FROM = { + has_character_flag = divine_summoning_astrology + learning = 20 + NOT = { learning = 25 } + } + } + random_list = { + 10 = { + FROM = { set_character_flag = divine_summoning_success } + } + 20 = { + FROM = { set_character_flag = divine_summoning_astrology_good_bonus } + } + 35 = { + FROM = { set_character_flag = divine_summoning_astrology_bonus } + } + 20 = { + FROM = { set_character_flag = divine_summoning_astrology_penalty } + } + 10 = { + modifier = { + factor = 0.5 + FROM = { has_character_flag = used_ingredients_for_summoning } + } + FROM = { set_character_flag = divine_summoning_astrology_bad_penalty } + } + 5 = { + modifier = { + factor = 0.5 + FROM = { has_character_flag = used_ingredients_for_summoning } + } + FROM = { set_character_flag = divine_summoning_failure } + } + } + } + if = { + limit = { + FROM = { + has_character_flag = divine_summoning_astrology + learning = 15 + NOT = { learning = 20 } + } + } + random_list = { + 5 = { + FROM = { set_character_flag = divine_summoning_success } + } + 10 = { + FROM = { set_character_flag = divine_summoning_astrology_good_bonus } + } + 20 = { + FROM = { set_character_flag = divine_summoning_astrology_bonus } + } + 35 = { + FROM = { set_character_flag = divine_summoning_astrology_penalty } + } + 20 = { + modifier = { + factor = 0.5 + FROM = { has_character_flag = used_ingredients_for_summoning } + } + FROM = { set_character_flag = divine_summoning_astrology_bad_penalty } + } + 10 = { + modifier = { + factor = 0.5 + FROM = { has_character_flag = used_ingredients_for_summoning } + } + FROM = { set_character_flag = divine_summoning_failure } + } + } + } + if = { + limit = { + FROM = { + has_character_flag = divine_summoning_astrology + NOT = { learning = 15 } + } + } + random_list = { + 5 = { + FROM = { set_character_flag = divine_summoning_astrology_good_bonus } + } + 15 = { + FROM = { set_character_flag = divine_summoning_astrology_bonus } + } + 40 = { + FROM = { set_character_flag = divine_summoning_astrology_penalty } + } + 25 = { + modifier = { + factor = 0.5 + FROM = { has_character_flag = used_ingredients_for_summoning } + } + FROM = { set_character_flag = divine_summoning_astrology_bad_penalty } + } + 15 = { + modifier = { + factor = 0.5 + FROM = { has_character_flag = used_ingredients_for_summoning } + } + FROM = { set_character_flag = divine_summoning_failure } + } + } + } + if = { + limit = { + FROM = { + has_character_flag = divine_summoning_open_mind + learning = 25 + } + } + random_list = { + 15 = { + FROM = { set_character_flag = divine_summoning_success } + } + 25 = { + FROM = { set_character_flag = divine_summoning_open_mind_good_bonus } + } + 40 = { + FROM = { set_character_flag = divine_summoning_open_mind_bonus } + } + 15 = { + modifier = { + factor = 0.5 + FROM = { has_character_flag = used_ingredients_for_summoning } + } + FROM = { set_character_flag = divine_summoning_open_mind_penalty } + } + 5 = { + modifier = { + factor = 0.5 + FROM = { has_character_flag = used_ingredients_for_summoning } + } + FROM = { set_character_flag = divine_summoning_open_mind_bad_penalty } + } + } + } + if = { + limit = { + FROM = { + has_character_flag = divine_summoning_open_mind + learning = 20 + NOT = { learning = 25 } + } + } + random_list = { + 10 = { + FROM = { set_character_flag = divine_summoning_success } + } + 20 = { + FROM = { set_character_flag = divine_summoning_open_mind_good_bonus } + } + 35 = { + FROM = { set_character_flag = divine_summoning_open_mind_bonus } + } + 20 = { + FROM = { set_character_flag = divine_summoning_open_mind_penalty } + } + 10 = { + modifier = { + factor = 0.5 + FROM = { has_character_flag = used_ingredients_for_summoning } + } + FROM = { set_character_flag = divine_summoning_open_mind_bad_penalty } + } + 5 = { + modifier = { + factor = 0.5 + FROM = { has_character_flag = used_ingredients_for_summoning } + } + FROM = { set_character_flag = divine_summoning_failure } + } + } + } + if = { + limit = { + FROM = { + has_character_flag = divine_summoning_open_mind + learning = 15 + NOT = { learning = 20 } + } + } + random_list = { + 5 = { + FROM = { set_character_flag = divine_summoning_success } + } + 10 = { + FROM = { set_character_flag = divine_summoning_open_mind_good_bonus } + } + 20 = { + FROM = { set_character_flag = divine_summoning_open_mind_bonus } + } + 40 = { + FROM = { set_character_flag = divine_summoning_open_mind_penalty } + } + 20 = { + modifier = { + factor = 0.5 + FROM = { has_character_flag = used_ingredients_for_summoning } + } + FROM = { set_character_flag = divine_summoning_open_mind_bad_penalty } + } + 10 = { + modifier = { + factor = 0.5 + FROM = { has_character_flag = used_ingredients_for_summoning } + } + FROM = { set_character_flag = divine_summoning_failure } + } + } + } + if = { + limit = { + FROM = { + has_character_flag = divine_summoning_open_mind + NOT = { learning = 15 } + } + } + random_list = { + 5 = { + FROM = { set_character_flag = divine_summoning_open_mind_good_bonus } + } + 15 = { + FROM = { set_character_flag = divine_summoning_open_mind_bonus } + } + 40 = { + FROM = { set_character_flag = divine_summoning_open_mind_penalty } + } + 25 = { + modifier = { + factor = 0.5 + FROM = { has_character_flag = used_ingredients_for_summoning } + } + FROM = { set_character_flag = divine_summoning_open_mind_bad_penalty } + } + 15 = { + modifier = { + factor = 0.5 + FROM = { has_character_flag = used_ingredients_for_summoning } + } + FROM = { set_character_flag = divine_summoning_failure } + } + } + } + if = { + limit = { + FROM = { + has_character_flag = divine_summoning_hidden_truth + learning = 25 + } + } + random_list = { + 15 = { + FROM = { set_character_flag = divine_summoning_success } + } + 25 = { + FROM = { set_character_flag = divine_summoning_hidden_truth_good_bonus } + } + 40 = { + FROM = { set_character_flag = divine_summoning_hidden_truth_bonus } + } + 15 = { + modifier = { + factor = 0.5 + FROM = { has_character_flag = used_ingredients_for_summoning } + } + FROM = { set_character_flag = divine_summoning_hidden_truth_penalty } + } + 5 = { + modifier = { + factor = 0.5 + FROM = { has_character_flag = used_ingredients_for_summoning } + } + FROM = { set_character_flag = divine_summoning_hidden_truth_bad_penalty } + } + } + } + if = { + limit = { + FROM = { + has_character_flag = divine_summoning_hidden_truth + learning = 20 + NOT = { learning = 25 } + } + } + random_list = { + 10 = { + FROM = { set_character_flag = divine_summoning_success } + } + 20 = { + FROM = { set_character_flag = divine_summoning_hidden_truth_good_bonus } + } + 35 = { + FROM = { set_character_flag = divine_summoning_hidden_truth_bonus } + } + 20 = { + FROM = { set_character_flag = divine_summoning_hidden_truth_penalty } + } + 10 = { + modifier = { + factor = 0.5 + FROM = { has_character_flag = used_ingredients_for_summoning } + } + FROM = { set_character_flag = divine_summoning_hidden_truth_bad_penalty } + } + 5 = { + modifier = { + factor = 0.5 + FROM = { has_character_flag = used_ingredients_for_summoning } + } + FROM = { set_character_flag = divine_summoning_failure } + } + } + } + if = { + limit = { + FROM = { + has_character_flag = divine_summoning_hidden_truth + learning = 15 + NOT = { learning = 20 } + } + } + random_list = { + 5 = { + FROM = { set_character_flag = divine_summoning_success } + } + 10 = { + FROM = { set_character_flag = divine_summoning_hidden_truth_good_bonus } + } + 20 = { + FROM = { set_character_flag = divine_summoning_hidden_truth_bonus } + } + 35 = { + FROM = { set_character_flag = divine_summoning_hidden_truth_penalty } + } + 20 = { + modifier = { + factor = 0.5 + FROM = { has_character_flag = used_ingredients_for_summoning } + } + FROM = { set_character_flag = divine_summoning_hidden_truth_bad_penalty } + } + 10 = { + modifier = { + factor = 0.5 + FROM = { has_character_flag = used_ingredients_for_summoning } + } + FROM = { set_character_flag = divine_summoning_failure } + } + } + } + if = { + limit = { + FROM = { + has_character_flag = divine_summoning_hidden_truth + NOT = { learning = 15 } + } + } + random_list = { + 5 = { + FROM = { set_character_flag = divine_summoning_hidden_truth_good_bonus } + } + 15 = { + FROM = { set_character_flag = divine_summoning_hidden_truth_bonus } + } + 40 = { + FROM = { set_character_flag = divine_summoning_hidden_truth_penalty } + } + 25 = { + modifier = { + factor = 0.5 + FROM = { has_character_flag = used_ingredients_for_summoning } + } + FROM = { set_character_flag = divine_summoning_hidden_truth_bad_penalty } + } + 15 = { + modifier = { + factor = 0.5 + FROM = { has_character_flag = used_ingredients_for_summoning } + } + FROM = { set_character_flag = divine_summoning_failure } + } + } + } + FROM = { character_event = { id = MNM.1626 days = 15 random = 15 } } + FROM = { clr_character_flag = used_ingredients_for_summoning } + } +} + +# Divine Summoning - Result +character_event = { + id = MNM.1626 + picture = GFX_evt_shadowy_cabal + border = GFX_event_normal_frame_religion + + desc = { + text = EVTDESC_MNM_1626_SUCCESS + trigger = { + has_character_flag = divine_summoning_success + } + } + desc = { + text = EVTDESC_MNM_1626_FAILURE + trigger = { + has_character_flag = divine_summoning_failure + } + } + desc = { + text = EVTDESC_MNM_1626_ALCH_BONUS + trigger = { + OR = { + has_character_flag = divine_summoning_alchemy_good_bonus + has_character_flag = divine_summoning_alchemy_bonus + has_character_flag = divine_summoning_alchemy_penalty + has_character_flag = divine_summoning_alchemy_bad_penalty + } + } + } + desc = { + text = EVTDESC_MNM_1626_ASTR_BONUS + trigger = { + OR = { + has_character_flag = divine_summoning_astrology_good_bonus + has_character_flag = divine_summoning_astrology_bonus + has_character_flag = divine_summoning_astrology_penalty + has_character_flag = divine_summoning_astrology_bad_penalty + } + } + } + desc = { + text = EVTDESC_MNM_1626_MIND_BONUS + trigger = { + OR = { + has_character_flag = divine_summoning_open_mind_good_bonus + has_character_flag = divine_summoning_open_mind_bonus + has_character_flag = divine_summoning_open_mind_penalty + has_character_flag = divine_summoning_open_mind_bad_penalty + } + } + } + desc = { + text = EVTDESC_MNM_1626_TRUTH_BONUS + trigger = { + OR = { + has_character_flag = divine_summoning_hidden_truth_good_bonus + has_character_flag = divine_summoning_hidden_truth_bonus + has_character_flag = divine_summoning_hidden_truth_penalty + has_character_flag = divine_summoning_hidden_truth_bad_penalty + } + } + } + + is_triggered_only = yes + + option = { + name = EVTOPTA_MNM_1626 # Success + trigger = { + NOT = { + has_character_flag = divine_summoning_success + has_character_flag = divine_summoning_failure + } + } + if = { + limit = { + has_character_flag = divine_summoning_alchemy_good_bonus + } + add_character_modifier = { + name = alchemy_good_ste_bonus + years = 5 + } + } + if = { + limit = { + has_character_flag = divine_summoning_alchemy_bonus + } + add_character_modifier = { + name = alchemy_ste_bonus + years = 5 + } + } + if = { + limit = { + has_character_flag = divine_summoning_alchemy_penalty + } + add_character_modifier = { + name = alchemy_ste_penalty + years = 5 + } + } + if = { + limit = { + has_character_flag = divine_summoning_alchemy_bad_penalty + } + add_character_modifier = { + name = alchemy_bad_ste_penalty + years = 5 + } + } + if = { + limit = { + has_character_flag = divine_summoning_astrology_good_bonus + } + add_character_modifier = { + name = astrology_good_dip_bonus + years = 5 + } + } + if = { + limit = { + has_character_flag = divine_summoning_astrology_bonus + } + add_character_modifier = { + name = astrology_dip_bonus + years = 5 + } + } + if = { + limit = { + has_character_flag = divine_summoning_astrology_penalty + } + add_character_modifier = { + name = astrology_dip_penalty + years = 5 + } + } + if = { + limit = { + has_character_flag = divine_summoning_astrology_bad_penalty + } + add_character_modifier = { + name = astrology_bad_dip_penalty + years = 5 + } + } + if = { + limit = { + has_character_flag = divine_summoning_open_mind_good_bonus + } + add_character_modifier = { + name = open_mind_good_lea_bonus + years = 5 + } + } + if = { + limit = { + has_character_flag = divine_summoning_open_mind_bonus + } + add_character_modifier = { + name = open_mind_lea_bonus + years = 5 + } + } + if = { + limit = { + has_character_flag = divine_summoning_open_mind_penalty + } + add_character_modifier = { + name = open_mind_lea_penalty + years = 5 + } + } + if = { + limit = { + has_character_flag = divine_summoning_open_mind_bad_penalty + } + add_character_modifier = { + name = open_mind_bad_lea_penalty + years = 5 + } + } + if = { + limit = { + has_character_flag = divine_summoning_hidden_truth_good_bonus + } + add_character_modifier = { + name = hidden_truth_good_int_bonus + years = 5 + } + } + if = { + limit = { + has_character_flag = divine_summoning_hidden_truth_bonus + } + add_character_modifier = { + name = hidden_truth_int_bonus + years = 5 + } + } + if = { + limit = { + has_character_flag = divine_summoning_hidden_truth_penalty + } + add_character_modifier = { + name = hidden_truth_int_penalty + years = 5 + } + } + if = { + limit = { + has_character_flag = divine_summoning_hidden_truth_bad_penalty + } + add_character_modifier = { + name = hidden_truth_bad_int_penalty + years = 5 + } + } + } + option = { + name = EVTOPTB_MNM_1626 # Critical success + trigger = { + has_character_flag = divine_summoning_success + } + prestige = 100 + add_character_modifier = { + name = divine_summoning_succeeded + years = 10 + } + add_society_currency_minor_effect = yes + } + option = { + name = EVTOPTC_MNM_1626 # Failure + trigger = { + has_character_flag = divine_summoning_failure + } + prestige = -100 + add_character_modifier = { + name = divine_summoning_failed + years = 10 + } + } + after = { + clr_character_flag = divine_summoning_success + clr_character_flag = divine_summoning_failure + clr_character_flag = divine_summoning_alchemy_good_bonus + clr_character_flag = divine_summoning_alchemy_bonus + clr_character_flag = divine_summoning_alchemy_penalty + clr_character_flag = divine_summoning_alchemy_bad_penalty + clr_character_flag = divine_summoning_astrology_good_bonus + clr_character_flag = divine_summoning_astrology_bonus + clr_character_flag = divine_summoning_astrology_penalty + clr_character_flag = divine_summoning_astrology_bad_penalty + clr_character_flag = divine_summoning_open_mind_good_bonus + clr_character_flag = divine_summoning_open_mind_bonus + clr_character_flag = divine_summoning_open_mind_penalty + clr_character_flag = divine_summoning_open_mind_bad_penalty + clr_character_flag = divine_summoning_hidden_truth_good_bonus + clr_character_flag = divine_summoning_hidden_truth_bonus + clr_character_flag = divine_summoning_hidden_truth_penalty + clr_character_flag = divine_summoning_hidden_truth_bad_penalty + clr_character_flag = divine_summoning_alchemy + clr_character_flag = divine_summoning_astrology + clr_character_flag = divine_summoning_open_mind + clr_character_flag = divine_summoning_hidden_truth + } +} + +## Write a Theorem Paper + +#Write a Theory Paper - choose approach +character_event = { + id = MNM.1630 + desc = EVTDESC_MNM_1630 + picture = GFX_evt_scientist + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + option = { #Normal effort + name = EVTOPTA_MNM_1630 + custom_tooltip = { text = EVTOPTA_MNM_1630_TT } + hidden_effect = { + set_character_flag = theory_paper_normal_effort + character_event = { id = MNM.1631 days = 90 random = 90 } + } + } + option = { #Get help from others + name = EVTOPTB_MNM_1630 + trigger = { + diplomacy = 15 + } + tooltip_info = diplomacy + custom_tooltip = { text = EVTOPTB_MNM_1630_TT } + hidden_effect = { + set_character_flag = theory_paper_asked_help + character_event = { id = MNM.1631 days = 90 random = 90 } + } + } + option = { #Steal another's work + name = EVTOPTC_MNM_1630 + trigger = { + intrigue = 15 + } + tooltip_info = intrigue + custom_tooltip = { text = EVTOPTC_MNM_1630_TT } + hidden_effect = { + set_character_flag = theory_paper_stole_work + character_event = { id = MNM.1631 days = 90 random = 90 } + } + } + option = { #Invest heavily in research + name = EVTOPTD_MNM_1630 + trigger = { + NOT = { trait = content } + } + if = { + limit = { + NOT = { + trait = ambitious + trait = content + } + } + random = { + chance = 10 + add_trait = ambitious + } + } + if = { + limit = { + NOT = { + trait = stressed + } + } + random = { + chance = 10 + add_trait = stressed + } + } + scaled_wealth = { value = -1 min = -25 } + piety = -50 + add_character_modifier = { + name = theory_paper_heavy_investment + years = 1 + } + custom_tooltip = { text = EVTOPTD_MNM_1630_TT } + hidden_effect = { + set_character_flag = theory_paper_heavy_investment + character_event = { id = MNM.1631 days = 180 random = 180 } + } + } +} + +#Ping event for deciding success +character_event = { + id = MNM.1631 + hide_window = yes + + is_triggered_only = yes + + trigger = { is_alive = yes } + + immediate = { + random_list = { + 15 = { + modifier = { + factor = 2 + learning = 25 + } + modifier = { + factor = 2 + has_character_flag = theory_paper_heavy_investment + } + modifier = { + factor = 1.4 + has_character_flag = theory_paper_asked_help + } + modifier = { + factor = 1.6 + has_character_flag = theory_paper_stole_work + } + modifier = { + factor = 2 + trait = genius + } + modifier = { + factor = 0.5 + trait = imbecile + } + modifier = { + factor = 1.6 + trait = quick + } + modifier = { + factor = 0.7 + trait = slow + } + modifier = { + factor = 0.6 + trait = inbred + } + modifier = { + factor = 1.4 + trait = shrewd + } + modifier = { + factor = 0.8 + trait = dull + } + modifier = { + factor = 1.3 + trait = mastermind_theologian + } + modifier = { + factor = 1.4 + trait = scholar + } + modifier = { + factor = 1.4 + trait = mystic + } + modifier = { + factor = 1.4 + trait = theologian + } + modifier = { + factor = 1.6 + trait = diligent + } + modifier = { + factor = 0.7 + trait = slothful + } + modifier = { + factor = 1.6 + trait = ambitious + } + modifier = { + factor = 0.7 + trait = content + } + modifier = { + factor = 1.6 + trait = erudite + } + set_character_flag = theory_paper_revolutionary + } + 25 = { + modifier = { + factor = 2 + AND = { + learning = 17 + NOT = { learning = 25 } + } + } + modifier = { + factor = 2 + has_character_flag = theory_paper_heavy_investment + } + modifier = { + factor = 1.3 + has_character_flag = theory_paper_asked_help + } + modifier = { + factor = 1.6 + has_character_flag = theory_paper_stole_work + } + modifier = { + factor = 2 + trait = genius + } + modifier = { + factor = 0.5 + trait = imbecile + } + modifier = { + factor = 1.6 + trait = quick + } + modifier = { + factor = 0.7 + trait = slow + } + modifier = { + factor = 0.6 + trait = inbred + } + modifier = { + factor = 1.4 + trait = shrewd + } + modifier = { + factor = 0.8 + trait = dull + } + modifier = { + factor = 1.3 + trait = scholarly_theologian + } + modifier = { + factor = 1.4 + trait = scholar + } + modifier = { + factor = 1.4 + trait = mystic + } + modifier = { + factor = 1.4 + trait = theologian + } + modifier = { + factor = 1.6 + trait = diligent + } + modifier = { + factor = 0.7 + trait = slothful + } + modifier = { + factor = 1.6 + trait = ambitious + } + modifier = { + factor = 0.7 + trait = content + } + modifier = { + factor = 1.6 + trait = erudite + } + set_character_flag = theory_paper_excellent + } + 35 = { + modifier = { + factor = 2 + AND = { + learning = 9 + NOT = { learning = 17 } + } + } + modifier = { + factor = 1.3 + trait = martial_cleric + } + set_character_flag = theory_paper_average + } + 25 = { + modifier = { + factor = 2 + NOT = { learning = 9 } + } + modifier = { + factor = 0.5 + has_character_flag = theory_paper_heavy_investment + } + modifier = { + factor = 0.8 + has_character_flag = theory_paper_asked_help + } + modifier = { + factor = 0.7 + has_character_flag = theory_paper_stole_work + } + modifier = { + factor = 0.5 + trait = genius + } + modifier = { + factor = 2 + trait = imbecile + } + modifier = { + factor = 2 + trait = lunatic + } + modifier = { + factor = 0.7 + trait = quick + } + modifier = { + factor = 1.6 + trait = slow + } + modifier = { + factor = 1.8 + trait = inbred + } + modifier = { + factor = 0.8 + trait = shrewd + } + modifier = { + factor = 1.4 + trait = dull + } + modifier = { + factor = 1.3 + trait = detached_priest + } + modifier = { + factor = 0.8 + trait = scholar + } + modifier = { + factor = 0.8 + trait = mystic + } + modifier = { + factor = 0.8 + trait = theologian + } + modifier = { + factor = 0.7 + trait = diligent + } + modifier = { + factor = 1.6 + trait = slothful + } + modifier = { + factor = 0.7 + trait = ambitious + } + modifier = { + factor = 1.6 + trait = content + } + modifier = { + factor = 0.7 + trait = erudite + } + set_character_flag = theory_paper_simplistic + } + } + remove_character_modifier = theory_paper_heavy_investment + character_event = { id = MNM.1640 } + } +} + +#Write a Theory Paper - Finished Paper +character_event = { + id = MNM.1640 + desc = { + text = EVTDESCA_MNM_1640_RITUALS + trigger = { + has_character_flag = MNM_1640_rituals + } + } + desc = { + text = EVTDESCA_MNM_1640_ASCENSION + trigger = { + has_character_flag = MNM_1640_ascension + } + } + desc = { + text = EVTDESCA_MNM_1640_MIND_OF_GOD + trigger = { + has_character_flag = MNM_1640_mind_of_god + } + } + desc = { + text = EVTDESCA_MNM_1640_TRANSLATING_HIEROGLYPHICS + trigger = { + has_character_flag = MNM_1640_translating_hieroglyphics + } + } + desc = { + text = EVTDESCA_MNM_1640_DISTILLATION + trigger = { + has_character_flag = MNM_1640_distillation + } + } + desc = { + text = EVTDESCA_MNM_1640_FERMENTATION + trigger = { + has_character_flag = MNM_1640_fermentation + } + } + desc = { + text = EVTDESCA_MNM_1640_ELIXIR_OF_LIFE + trigger = { + has_character_flag = MNM_1640_elixir_of_life + } + } + desc = { + text = EVTDESCA_MNM_1640_PILOSOPHERS_STONE + trigger = { + has_character_flag = MNM_1640_philosophers_stone + } + } + desc = { + text = EVTDESCA_MNM_1640_PLANETS + trigger = { + has_character_flag = MNM_1640_planets + } + } + desc = { + text = EVTDESCA_MNM_1640_STARS + trigger = { + has_character_flag = MNM_1640_stars + } + } + desc = { + text = EVTDESCA_MNM_1640_MOON + trigger = { + has_character_flag = MNM_1640_moon + } + } + desc = { + text = EVTDESCA_MNM_1640_SUN + trigger = { + has_character_flag = MNM_1640_sun + } + } + picture = GFX_evt_scientist + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + immediate = { + random_list = { + 10 = { + set_character_flag = MNM_1640_rituals + modifier = { + factor = 3 + trait = theologian + } + } + 10 = { + set_character_flag = MNM_1640_ascension + modifier = { + factor = 3 + trait = theologian + } + } + 10 = { + set_character_flag = MNM_1640_mind_of_god + modifier = { + factor = 3 + trait = theologian + } + } + 10 = { + set_character_flag = MNM_1640_translating_hieroglyphics + modifier = { + factor = 3 + trait = scholar + } + modifier = { + factor = 2 + trait = erudite + } + } + 10 = { + set_character_flag = MNM_1640_distillation + modifier = { + factor = 3 + trait = mystic + } + modifier = { + factor = 2 + trait = erudite + } + } + 10 = { + set_character_flag = MNM_1640_fermentation + modifier = { + factor = 3 + trait = mystic + } + modifier = { + factor = 2 + trait = erudite + } + } + 10 = { + set_character_flag = MNM_1640_elixir_of_life + modifier = { + factor = 3 + trait = mystic + } + } + 10 = { + set_character_flag = MNM_1640_philosophers_stone + modifier = { + factor = 3 + trait = mystic + } + } + 10 = { + set_character_flag = MNM_1640_planets + modifier = { + factor = 3 + trait = scholar + } + modifier = { + factor = 3 + trait = diligent + } + } + 10 = { + set_character_flag = MNM_1640_stars + modifier = { + factor = 3 + trait = scholar + } + } + 10 = { + set_character_flag = MNM_1640_moon + modifier = { + factor = 3 + trait = scholar + } + } + 10 = { + set_character_flag = MNM_1640_sun + modifier = { + factor = 3 + trait = scholar + } + } + } + set_variable = { + which = peer_review + value = 0 + } + + society = { + random_society_member = { + limit = { + NOT = { character = ROOT } + is_within_diplo_range = ROOT + NOT = { is_inaccessible_trigger = yes } + } + save_event_target_as = peer1 + set_character_flag = peer_review_temp + } + random_society_member = { + limit = { + NOT = { character = ROOT } + is_within_diplo_range = ROOT + NOT = { is_inaccessible_trigger = yes } + NOT = { has_character_flag = peer_review_temp } + } + save_event_target_as = peer2 + set_character_flag = peer_review_temp + } + random_society_member = { + limit = { + NOT = { character = ROOT } + is_within_diplo_range = ROOT + NOT = { is_inaccessible_trigger = yes } + NOT = { has_character_flag = peer_review_temp } + } + save_event_target_as = peer3 + set_character_flag = peer_review_temp + } + random_society_member = { + limit = { + NOT = { character = ROOT } + is_within_diplo_range = ROOT + NOT = { is_inaccessible_trigger = yes } + NOT = { has_character_flag = peer_review_temp } + } + save_event_target_as = peer4 + set_character_flag = peer_review_temp + } + random_society_member = { + limit = { + NOT = { character = ROOT } + is_within_diplo_range = ROOT + NOT = { is_inaccessible_trigger = yes } + NOT = { has_character_flag = peer_review_temp } + } + save_event_target_as = peer5 + set_character_flag = peer_review_temp + } + event_target:peer1 = { clr_character_flag = peer_review_temp } + event_target:peer2 = { clr_character_flag = peer_review_temp } + event_target:peer3 = { clr_character_flag = peer_review_temp } + event_target:peer4 = { clr_character_flag = peer_review_temp } + event_target:peer5 = { clr_character_flag = peer_review_temp } + } + } + + option = { #send it out for review! + name = EVTOPTA_MNM_1640 + + event_target:peer1 = { + character_event = { id = MNM.1641 days = 15 } + set_character_flag = show_tooltip + clr_character_flag = show_tooltip + } + event_target:peer2 = { + character_event = { id = MNM.1641 days = 18 } + set_character_flag = show_tooltip + clr_character_flag = show_tooltip + } + event_target:peer3 = { + character_event = { id = MNM.1641 days = 21 } + set_character_flag = show_tooltip + clr_character_flag = show_tooltip + } + event_target:peer4 = { + character_event = { id = MNM.1641 days = 24 } + set_character_flag = show_tooltip + clr_character_flag = show_tooltip + } + event_target:peer5 = { + character_event = { id = MNM.1641 days = 27 } + set_character_flag = show_tooltip + clr_character_flag = show_tooltip + } + + custom_tooltip = { + text = EVTTOOLTIPA_MNM_1640 + hidden_effect = { + set_variable = { + which = peer_review_score + value = 0 + } + character_event = { id = MNM.1644 days = 100 } + } + } + } + + option = { #No, this shall never see the light of day! + name = EVTOPTB_MNM_1640 + + custom_tooltip = { + text = EVTTOOLTIPB_MNM_1640 + hidden_effect = { + clr_character_flag = theory_paper_normal_effort + clr_character_flag = theory_paper_asked_help + clr_character_flag = theory_paper_stole_work + clr_character_flag = theory_paper_heavy_investment + clr_character_flag = theory_paper_revolutionary + clr_character_flag = theory_paper_excellent + clr_character_flag = theory_paper_average + clr_character_flag = theory_paper_simplistic + } + } + } + + after = { + clr_character_flag = MNM_1640_rituals + clr_character_flag = MNM_1640_ascension + clr_character_flag = MNM_1640_mind_of_god + clr_character_flag = MNM_1640_translating_hieroglyphics + clr_character_flag = MNM_1640_distillation + clr_character_flag = MNM_1640_fermentation + clr_character_flag = MNM_1640_elixir_of_life + clr_character_flag = MNM_1640_philosophers_stone + clr_character_flag = MNM_1640_planets + clr_character_flag = MNM_1640_stars + clr_character_flag = MNM_1640_moon + clr_character_flag = MNM_1640_sun + } +} + +#Theory Paper - Peer Reviewer's event +character_event = { + id = MNM.1641 + desc = { + text = EVTDESCA_MNM_1641_RITUALS + trigger = { + FROM = { has_character_flag = MNM_1640_rituals } + } + } + desc = { + text = EVTDESCA_MNM_1641_ASCENSION + trigger = { + FROM = { has_character_flag = MNM_1640_ascension } + } + } + desc = { + text = EVTDESCA_MNM_1641_MIND_OF_GOD + trigger = { + FROM = { has_character_flag = MNM_1640_mind_of_god } + } + } + desc = { + text = EVTDESCA_MNM_1641_TRANSLATING_HIEROGLYPHICS + trigger = { + FROM = { has_character_flag = MNM_1640_translating_hieroglyphics } + } + } + desc = { + text = EVTDESCA_MNM_1641_DISTILLATION + trigger = { + FROM = { has_character_flag = MNM_1640_distillation } + } + } + desc = { + text = EVTDESCA_MNM_1641_FERMENTATION + trigger = { + FROM = { has_character_flag = MNM_1640_fermentation } + } + } + desc = { + text = EVTDESCA_MNM_1641_ELIXIR_OF_LIFE + trigger = { + FROM = { has_character_flag = MNM_1640_elixir_of_life } + } + } + desc = { + text = EVTDESCA_MNM_1641_PILOSOPHERS_STONE + trigger = { + FROM = { has_character_flag = MNM_1640_philosophers_stone } + } + } + desc = { + text = EVTDESCA_MNM_1641_PLANETS + trigger = { + FROM = { has_character_flag = MNM_1640_planets } + } + } + desc = { + text = EVTDESCA_MNM_1641_STARS + trigger = { + FROM = { has_character_flag = MNM_1640_stars } + } + } + desc = { + text = EVTDESCA_MNM_1641_MOON + trigger = { + FROM = { has_character_flag = MNM_1640_moon } + } + } + desc = { + text = EVTDESCA_MNM_1641_SUN + trigger = { + FROM = { has_character_flag = MNM_1640_sun } + } + } + picture = GFX_evt_gathering_of_minds + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + immediate = { + if = { + limit = { + FROM = { has_character_flag = theory_paper_stole_work } + } + random_list = { + 10 = { # Discovered knowledge theft + modifier = { + factor = 1.3 + intrigue = 2 + learning = 2 + } + modifier = { + factor = 1.3 + intrigue = 4 + learning = 4 + } + modifier = { + factor = 1.3 + intrigue = 6 + learning = 6 + } + modifier = { + factor = 1.3 + intrigue = 8 + learning = 8 + } + modifier = { + factor = 1.3 + intrigue = 10 + learning = 10 + } + modifier = { + factor = 1.3 + intrigue = 12 + learning = 12 + } + modifier = { + factor = 1.3 + intrigue = 14 + learning = 14 + } + modifier = { + factor = 1.3 + intrigue = 16 + learning = 16 + } + modifier = { + factor = 1.3 + intrigue = 18 + learning = 18 + } + modifier = { + factor = 1.3 + intrigue = 20 + learning = 20 + } + + set_character_flag = discovered_knowledge_theft + } + 1000 = { #no discovery + + } + } + } + } + + option = { # Endorse + name = EVTOPTA_MNM_1641 + trigger = { + NOT = { has_character_flag = discovered_knowledge_theft } + } + ai_chance = { + factor = 70 + + modifier = { + factor = 1.3 + opinion = { + who = ROOT + value = 20 + } + } + modifier = { + factor = 1.3 + opinion = { + who = ROOT + value = 40 + } + } + modifier = { + factor = 1.3 + opinion = { + who = ROOT + value = 60 + } + } + modifier = { + factor = 1.3 + opinion = { + who = ROOT + value = 80 + } + } + modifier = { + factor = 0.5 + NOT = { + opinion = { + who = ROOT + value = 1 + } + } + } + modifier = { + factor = 0.5 + NOT = { + opinion = { + who = ROOT + value = -19 + } + } + } + modifier = { + factor = 0.5 + NOT = { + opinion = { + who = ROOT + value = -39 + } + } + } + + modifier = { + factor = 1.2 + FROM = { + OR = { + has_character_flag = theory_paper_average + has_character_flag = theory_paper_excellent + has_character_flag = theory_paper_revolutionary + } + } + learning = 7 + } + modifier = { + factor = 1.2 + FROM = { + OR = { + has_character_flag = theory_paper_excellent + has_character_flag = theory_paper_revolutionary + } + } + learning = 10 + } + modifier = { + factor = 1.2 + FROM = { + has_character_flag = theory_paper_revolutionary + } + learning = 13 + } + modifier = { + factor = 0.6 + FROM = { + has_character_flag = theory_paper_simplistic + } + learning = 7 + } + modifier = { + factor = 2 + FROM = { + has_character_flag = theory_paper_simplistic + } + NOT = { learning = 7 } + } + } + + custom_tooltip = { + text = EVTTOOLTIPA_MNM_1641 + hidden_effect = { + FROM = { + change_variable = { + which = peer_review_score + value = 1 + } + character_event = { id = MNM.1642 } + } + } + } + } + + option = { # Refute + name = EVTOPTB_MNM_1641 + trigger = { + NOT = { has_character_flag = discovered_knowledge_theft } + } + ai_chance = { + factor = 30 + } + + custom_tooltip = { + text = EVTTOOLTIPB_MNM_1641 + hidden_effect = { + set_character_flag = refuted_paper_@FROM + FROM = { + character_event = { id = MNM.1643 } + } + } + } + + tooltip = { + opinion = { + who = FROM + modifier = opinion_academic_failure + years = 15 + } + reverse_opinion = { + who = FROM + modifier = opinion_academic_grudge + years = 15 + } + } + } + + option = { # Discovered plagiarism + name = EVTOPTC_MNM_1641 + trigger = { + has_character_flag = discovered_knowledge_theft + } + add_society_currency_minor_effect = yes + prestige = 125 + custom_tooltip = { + text = EVTTOOLTIPC_MNM_1641 + hidden_effect = { + FROM = { + character_event = { id = MNM.1646 } + } + } + } + } +} + +# Peer endorsed paper +letter_event = { + id = MNM.1642 + desc = EVTDESC_MNM_1642 + border = GFX_event_letter_frame_religion + + is_triggered_only = yes + + option = { + name = EXCELLENT + opinion = { + who = FROM + modifier = grateful + years = 10 + } + } +} + +# Peer refuted paper +letter_event = { + id = MNM.1643 + desc = EVTDESC_MNM_1643 + border = GFX_event_letter_frame_religion + + is_triggered_only = yes + + option = { + name = EVTOPTA_MNM_1643 + opinion = { + who = FROM + modifier = opinion_academic_grudge + years = 15 + } + reverse_opinion = { + who = FROM + modifier = opinion_academic_grudge + years = 15 + } + } +} + +# Results +character_event = { + id = MNM.1644 + desc = { + text = EVTDESCA_MNM_1644 + trigger = { + has_character_flag = paper_success + } + } + desc = { + text = EVTDESCB_MNM_1644 + trigger = { + has_character_flag = paper_failure + } + } + picture = GFX_evt_gathering_of_minds + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + immediate = { + #Calc success/failure + if = { + limit = { + check_variable = { + which = peer_review_score + value = 3 + } + } + set_character_flag = paper_success + break = yes + } + set_character_flag = paper_failure + } + + option = { + name = EVTOPTA_MNM_1644 + trigger = { + has_character_flag = paper_success + } + + prestige = 75 + add_character_modifier = { + modifier = published_theorem + years = 5 + } + add_society_currency_minor_effect = yes + hidden_effect = { + event_target:peer1 = { set_character_flag = paper_success character_event = { id = MNM.1645 } } + event_target:peer2 = { set_character_flag = paper_success character_event = { id = MNM.1645 } } + event_target:peer3 = { set_character_flag = paper_success character_event = { id = MNM.1645 } } + event_target:peer4 = { set_character_flag = paper_success character_event = { id = MNM.1645 } } + event_target:peer5 = { set_character_flag = paper_success character_event = { id = MNM.1645 } } + } + } + + option = { + name = EVTOPTB_MNM_1644 + trigger = { + has_character_flag = paper_failure + } + + prestige = -75 + detract_society_currency_minor_effect = yes + hidden_effect = { + event_target:peer1 = { set_character_flag = paper_failure character_event = { id = MNM.1645 } } + event_target:peer2 = { set_character_flag = paper_failure character_event = { id = MNM.1645 } } + event_target:peer3 = { set_character_flag = paper_failure character_event = { id = MNM.1645 } } + event_target:peer4 = { set_character_flag = paper_failure character_event = { id = MNM.1645 } } + event_target:peer5 = { set_character_flag = paper_failure character_event = { id = MNM.1645 } } + } + } + after = { + clr_character_flag = paper_success + clr_character_flag = paper_failure + clr_character_flag = discovered_knowledge_theft + clr_character_flag = theory_paper_normal_effort + clr_character_flag = theory_paper_asked_help + clr_character_flag = theory_paper_stole_work + clr_character_flag = theory_paper_heavy_investment + clr_character_flag = theory_paper_revolutionary + clr_character_flag = theory_paper_excellent + clr_character_flag = theory_paper_average + clr_character_flag = theory_paper_simplistic + clr_character_flag = refuted_paper_@ROOT + } +} + +#Notice event for peers who endorsed the paper +character_event = { + id = MNM.1645 + desc = { + text = EVTDESCA_MNM_1645 + trigger = { + FROM = { has_character_flag = paper_success } + } + } + desc = { + text = EVTDESCB_MNM_1645 + trigger = { + FROM = { has_character_flag = paper_failure } + } + } + picture = GFX_evt_gathering_of_minds + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + trigger = { + NOT = { has_character_flag = refuted_paper_@FROM } + } + + option = { + name = EVTOPTA_MNM_1645 + trigger = { + FROM = { has_character_flag = paper_success } + } + add_character_modifier = { + modifier = endorsed_theorem + years = 5 + } + } + + option = { + name = EVTOPTB_MNM_1645 + trigger = { + FROM = { has_character_flag = paper_failure } + } + } +} + +# Discovered stealing knowledge +character_event = { + id = MNM.1646 + desc = EVTDESC_MNM_1646 + picture = GFX_evt_scandal + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + immediate = { + clear_delayed_event = { id = MNM.1644 } + } + + option = { + name = CURSES + + prestige = -75 + detract_society_currency_minor_effect = yes + society = { + any_society_member = { + limit = { + NOT = { character = ROOT } + } + opinion = { + who = ROOT + modifier = opinion_knowledge_theft + years = 20 + } + } + } + } +} + +#MISC + +###Become Society Grand Master (any society)### +character_event = { + id = MNM.1750 + desc = EVTDESC_MNM_1750 + picture = GFX_evt_society_joining + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + trigger = { + is_society_grandmaster = yes + NOT = { days_in_society == 0 } + } + + option = { name = EVTOPTA_MNM_1750 } +} + +###MisGather ingredients +character_event = { + id = MNM.1800 + desc = { + text = EVTDESC_MNM_1800_A + trigger = { + NOT = { has_character_flag = quest_gathering_companion } + } + } + desc = { + text = EVTDESC_MNM_1800_B + trigger = { + has_character_flag = quest_gathering_companion + } + } + picture = GFX_evt_experiment + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + has_dlc = "Mystics" + + immediate = { + if = { + limit = { + event_target:hermetic_collaborator = { + always = yes + } + } + event_target:hermetic_collaborator = { + save_event_target_as = gathering_companion + } + set_character_flag = quest_gathering_companion + break = yes + } + # Find apprentice + random_courtier_or_vassal = { + limit = { + has_minor_title = title_hermetics_apprentice + } + save_event_target_as = gathering_companion + } + } + + option = { # Look for herbs + name = EVTOPTA_MNM_1800 + character_event = { id = MNM.1810 days = 20 tooltip = EVTTOOLTIPA_MNM_1800 } + } + + option = { # Hunt for animal parts + name = EVTOPTB_MNM_1800 + character_event = { id = MNM.1815 days = 20 tooltip = EVTTOOLTIPB_MNM_1800 } + } + + option = { # Shop for ingredients + name = EVTOPTC_MNM_1800 + character_event = { id = MNM.1820 days = 20 tooltip = EVTTOOLTIPC_MNM_1800 } + } + + option = { # I don't have time for this now + name = EVTOPTD_MNM_1800 + hidden_effect = { + remove_character_modifier = acquire_ingredients_decision_cooldown_timer + } + } + + after = { + set_character_flag = do_not_disturb + clr_character_flag = quest_gathering_companion + hidden_effect = { character_event = { id = MNM.1825 days = 140 } } # safety flag clearing + } +} + +character_event = { #quest ping + id = MNM.1801 + hide_window = yes + + is_triggered_only = yes + + immediate = { + FROM = { character_event = { id = MNM.1802 } } + } +} + +society_quest_event = { + id = MNM.1802 + desc = EVTDESC_MNM_1802 + + is_triggered_only = yes + + option = { + name = ACCEPT + + tooltip = { set_quest = quest_hermetic_gather_ingredients } + hidden_effect = { + FROM = { + set_quest_target = { + id = quest_hermetic_gather_ingredients + holder = ROOT + } + } + } + + hidden_effect = { character_event = { id = MNM.1800 days = 5 } } + } + + option = { + name = DECLINE + custom_tooltip = { text = decline_quest_tooltip } + + add_character_modifier = { + name = quest_cooldown_timer + hidden = yes + days = 1000 + } + + ai_chance = { factor = 0 } + } +} + +character_event = { + id = MNM.1810 + desc = EVTDESC_MNM_1810 + picture = GFX_evt_bandits + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + option = { # Head out with companion to find herbs. + name = EVTOPTA_MNM_1810 + trigger = { + stewardship = 11 + FROM = { stewardship = 11 } + } + hidden_effect = { + event_target:gathering_companion = { + character_event = { id = MNM.1811 days = 50 random = 40 } + } + } + } + + option = { # Head out with companion to find herbs. + name = EVTOPTB_MNM_1810 + trigger = { + NOT = { stewardship = 11 } + NOT = { FROM = { stewardship = 11 } } + stewardship = 7 + FROM = { stewardship = 7 } + } + hidden_effect = { + event_target:gathering_companion = { + character_event = { id = MNM.1811 days = 50 random = 40 } + } + } + } + + option = { # Head out with companion to find herbs. + name = EVTOPTC_MNM_1810 + trigger = { + NOT = { stewardship = 7 } + NOT = { FROM = { stewardship = 7 } } + } + hidden_effect = { + event_target:gathering_companion = { + character_event = { id = MNM.1811 days = 50 random = 40 } + } + } + } +} + +# Calculate outcome for gathering herbs +character_event = { + id = MNM.1811 + hide_window = yes + + is_triggered_only = yes + + immediate = { + set_variable = { + which = gath_try + value = 5 + } + set_variable = { + which = gath_res + value = 0 + } + + while = { + limit = { + check_variable = { + which = gath_try + value = 1 + } + } + random_list = { + 50 = { # Successful gathering + modifier = { + factor = 0.5 + FROM = { NOT = { stewardship = 4 } } + } + modifier = { + factor = 0.5 + NOT = { stewardship = 4 } + } + modifier = { + factor = 0.6 + FROM = { NOT = { stewardship = 6 } } + } + modifier = { + factor = 0.6 + NOT = { stewardship = 6 } + } + modifier = { + factor = 0.7 + FROM = { NOT = { stewardship = 8 } } + } + modifier = { + factor = 0.7 + NOT = { stewardship = 8 } + } + modifier = { + factor = 1.2 + FROM = { stewardship = 11 } + } + modifier = { + factor = 1.2 + stewardship = 11 + } + modifier = { + factor = 1.2 + FROM = { stewardship = 13 } + } + modifier = { + factor = 1.2 + stewardship = 13 + } + modifier = { + factor = 1.2 + FROM = { stewardship = 15 } + } + modifier = { + factor = 1.2 + stewardship = 15 + } + modifier = { + factor = 1.2 + FROM = { trait = gardener } + } + modifier = { + factor = 1.2 + trait = gardener + } + + FROM = { + change_variable = { + which = gath_res + value = 1 + } + } + } + 50 = { # Unsuccessful gathering + modifier = { + factor = 1.3 + trait = drunkard + } + } + } + + + subtract_variable = { + which = gath_try + value = 1 + } + } + + FROM = { + character_event = { id = MNM.1812 } + } + } +} + +# Outcome and reaction gathering herbs +character_event = { + id = MNM.1812 + desc = { + text = EVTDESC_MNM_1812_A + trigger = { + check_variable = { + which = gath_res + value = 4 + } + } + } + desc = { + text = EVTDESC_MNM_1812_B + trigger = { + NOT = { + check_variable = { + which = gath_res + value = 4 + } + } + check_variable = { + which = gath_res + value = 1 + } + } + } + desc = { + text = EVTDESC_MNM_1812_C + trigger = { + NOT = { + check_variable = { + which = gath_res + value = 1 + } + } + } + } + picture = GFX_evt_bandits + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + option = { + name = EVTOPTA_MNM_1812 + trigger = { + check_variable = { + which = gath_res + value = 4 + } + } + + if = { + limit = { + has_quest = quest_hermetic_gather_ingredients + } + clr_quest = quest_hermetic_gather_ingredients + sound_effect = hermetic_society_acquire_seed + add_society_currency_medium_effect = yes + } + custom_tooltip = { text = EVTTOOLTIP_MNM_1812 } + } + + option = { + name = EVTOPTB_MNM_1812 + trigger = { + NOT = { + check_variable = { + which = gath_res + value = 4 + } + } + check_variable = { + which = gath_res + value = 1 + } + } + + if = { + limit = { + has_quest = quest_hermetic_gather_ingredients + } + clr_quest = quest_hermetic_gather_ingredients + sound_effect = hermetic_society_acquire_seed + add_society_currency_minor_effect = yes + } + custom_tooltip = { text = EVTTOOLTIP_MNM_1812 } + } + + option = { + name = EVTOPTC_MNM_1812 + trigger = { + NOT = { + check_variable = { + which = gath_res + value = 1 + } + } + } + + if = { + limit = { + has_quest = quest_hermetic_gather_ingredients + } + clr_quest = { id = quest_hermetic_gather_ingredients failure = yes } + } + random_list = { + 120 = { #no effect + + } + 60 = { #poisoned + #Todo add food poison/ill effect + if = { + limit = { has_dlc = "Reapers" } + give_food_poisoning_effect = yes + } + if = { + limit = { NOT = { has_dlc = "Reapers" } } + add_trait = ill + } + } + } + } + + after = { + while = { + limit = { + check_variable = { + which = gath_res + value = 1 + } + } + hermetic_add_herbal_ingredient_effect = yes + + subtract_variable = { + which = gath_res + value = 1 + } + } + clr_character_flag = do_not_disturb + } +} + +character_event = { + id = MNM.1815 + desc = EVTDESC_MNM_1815 + picture = GFX_evt_hunt + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + option = { # Head out with companion to find animal parts. + name = EVTOPTA_MNM_1815 + trigger = { + martial = 11 + FROM = { martial = 11 } + } + hidden_effect = { + event_target:gathering_companion = { + character_event = { id = MNM.1816 days = 50 random = 40 } + } + } + } + + option = { # Head out with companion to find animal parts. + name = EVTOPTB_MNM_1815 + trigger = { + NOT = { martial = 11 } + NOT = { FROM = { martial = 11 } } + martial = 7 + FROM = { martial = 7 } + } + hidden_effect = { + event_target:gathering_companion = { + character_event = { id = MNM.1816 days = 50 random = 40 } + } + } + } + + option = { # Head out with companion to find animal parts. + name = EVTOPTC_MNM_1815 + trigger = { + NOT = { martial = 7 } + NOT = { FROM = { martial = 7 } } + } + hidden_effect = { + event_target:gathering_companion = { + character_event = { id = MNM.1816 days = 50 random = 40 } + } + } + } +} + +# Calculate outcome for gathering animal parts +character_event = { + id = MNM.1816 + hide_window = yes + + is_triggered_only = yes + + immediate = { + set_variable = { + which = gath_try + value = 5 + } + set_variable = { + which = gath_res + value = 0 + } + + while = { + limit = { + check_variable = { + which = gath_try + value = 1 + } + } + random_list = { + 50 = { # Successful gathering + modifier = { + factor = 0.5 + FROM = { NOT = { martial = 4 } } + } + modifier = { + factor = 0.5 + NOT = { martial = 4 } + } + modifier = { + factor = 0.6 + FROM = { NOT = { martial = 6 } } + } + modifier = { + factor = 0.6 + NOT = { martial = 6 } + } + modifier = { + factor = 0.7 + FROM = { NOT = { martial = 8 } } + } + modifier = { + factor = 0.7 + NOT = { martial = 8 } + } + modifier = { + factor = 1.2 + FROM = { martial = 11 } + } + modifier = { + factor = 1.2 + martial = 11 + } + modifier = { + factor = 1.2 + FROM = { martial = 13 } + } + modifier = { + factor = 1.2 + martial = 13 + } + modifier = { + factor = 1.2 + FROM = { martial = 15 } + } + modifier = { + factor = 1.2 + martial = 15 + } + modifier = { + factor = 1.2 + FROM = { trait = hunter } + } + modifier = { + factor = 1.2 + trait = hunter + } + + FROM = { + change_variable = { + which = gath_res + value = 1 + } + } + } + 50 = { # Unsuccessful gathering + modifier = { + factor = 1.3 + trait = drunkard + } + } + } + + + subtract_variable = { + which = gath_try + value = 1 + } + } + + FROM = { + character_event = { id = MNM.1817 } + } + } +} + +# Outcome and reaction gathering animal parts +character_event = { + id = MNM.1817 + desc = { + text = EVTDESC_MNM_1817_A + trigger = { + check_variable = { + which = gath_res + value = 4 + } + } + } + desc = { + text = EVTDESC_MNM_1817_B + trigger = { + NOT = { + check_variable = { + which = gath_res + value = 4 + } + } + check_variable = { + which = gath_res + value = 1 + } + } + } + desc = { + text = EVTDESC_MNM_1817_C + trigger = { + NOT = { + check_variable = { + which = gath_res + value = 1 + } + } + } + } + picture = GFX_evt_hunt + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + option = { + name = EVTOPTA_MNM_1817 + trigger = { + check_variable = { + which = gath_res + value = 4 + } + } + + if = { + limit = { + has_quest = quest_hermetic_gather_ingredients + } + clr_quest = quest_hermetic_gather_ingredients + sound_effect = hermetic_society_acquire_seed + add_society_currency_medium_effect = yes + } + custom_tooltip = { text = EVTTOOLTIP_MNM_1817 } + } + + option = { + name = EVTOPTB_MNM_1817 + trigger = { + NOT = { + check_variable = { + which = gath_res + value = 4 + } + } + check_variable = { + which = gath_res + value = 1 + } + } + + if = { + limit = { + has_quest = quest_hermetic_gather_ingredients + } + clr_quest = quest_hermetic_gather_ingredients + sound_effect = hermetic_society_acquire_seed + add_society_currency_minor_effect = yes + } + custom_tooltip = { text = EVTTOOLTIP_MNM_1817 } + } + + option = { + name = EVTOPTC_MNM_1817 + trigger = { + NOT = { + check_variable = { + which = gath_res + value = 1 + } + } + } + + if = { + limit = { + has_quest = quest_hermetic_gather_ingredients + } + clr_quest = { id = quest_hermetic_gather_ingredients failure = yes } + } + prestige = -25 + add_character_modifier = { + modifier = disappointing_hunt + duration = 1095 #3 years + } + } + + after = { + while = { + limit = { + check_variable = { + which = gath_res + value = 1 + } + } + hermetic_add_animal_ingredient_effect = yes + + subtract_variable = { + which = gath_res + value = 1 + } + } + clr_character_flag = do_not_disturb + } +} + +character_event = { + id = MNM.1820 + desc = EVTDESC_MNM_1820 + picture = GFX_evt_market + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + option = { # Head out with companion to shop misc ingredients. + name = EVTOPTA_MNM_1820 + trigger = { + diplomacy = 11 + FROM = { diplomacy = 11 } + } + hidden_effect = { + event_target:gathering_companion = { + character_event = { id = MNM.1821 days = 50 random = 40 } + } + } + } + + option = { # Head out with companion to shop misc ingredients. + name = EVTOPTB_MNM_1820 + trigger = { + NOT = { diplomacy = 11 } + NOT = { FROM = { diplomacy = 11 } } + diplomacy = 7 + FROM = { diplomacy = 7 } + } + hidden_effect = { + event_target:gathering_companion = { + character_event = { id = MNM.1821 days = 50 random = 40 } + } + } + } + + option = { # Head out with companion to shop misc ingredients. + name = EVTOPTC_MNM_1820 + trigger = { + NOT = { diplomacy = 7 } + NOT = { FROM = { diplomacy = 7 } } + } + hidden_effect = { + event_target:gathering_companion = { + character_event = { id = MNM.1821 days = 50 random = 40 } + } + } + } +} + +# Calculate outcome for shopping for misc ingredients +character_event = { + id = MNM.1821 + hide_window = yes + + is_triggered_only = yes + + immediate = { + set_variable = { + which = gath_try + value = 5 + } + set_variable = { + which = gath_res + value = 0 + } + + while = { + limit = { + check_variable = { + which = gath_try + value = 1 + } + } + random_list = { + 50 = { # Successful gathering + modifier = { + factor = 0.5 + FROM = { NOT = { diplomacy = 4 } } + } + modifier = { + factor = 0.5 + NOT = { diplomacy = 4 } + } + modifier = { + factor = 0.6 + FROM = { NOT = { diplomacy = 6 } } + } + modifier = { + factor = 0.6 + NOT = { diplomacy = 6 } + } + modifier = { + factor = 0.7 + FROM = { NOT = { diplomacy = 8 } } + } + modifier = { + factor = 0.7 + NOT = { diplomacy = 8 } + } + modifier = { + factor = 1.2 + FROM = { diplomacy = 11 } + } + modifier = { + factor = 1.2 + diplomacy = 11 + } + modifier = { + factor = 1.2 + FROM = { diplomacy = 13 } + } + modifier = { + factor = 1.2 + diplomacy = 13 + } + modifier = { + factor = 1.2 + FROM = { diplomacy = 15 } + } + modifier = { + factor = 1.2 + diplomacy = 15 + } + modifier = { + factor = 1.2 + FROM = { trait = gregarious } + } + modifier = { + factor = 1.2 + trait = gregarious + } + + FROM = { + change_variable = { + which = gath_res + value = 1 + } + } + } + 50 = { # Unsuccessful gathering + modifier = { + factor = 1.3 + trait = drunkard + } + } + } + + + subtract_variable = { + which = gath_try + value = 1 + } + } + + FROM = { + character_event = { id = MNM.1822 } + } + } +} + +# Outcome and reaction shopping for misc ingredients +character_event = { + id = MNM.1822 + desc = { + text = EVTDESC_MNM_1822_A + trigger = { + check_variable = { + which = gath_res + value = 4 + } + } + } + desc = { + text = EVTDESC_MNM_1822_B + trigger = { + NOT = { + check_variable = { + which = gath_res + value = 4 + } + } + check_variable = { + which = gath_res + value = 1 + } + } + } + desc = { + text = EVTDESC_MNM_1822_C + trigger = { + NOT = { + check_variable = { + which = gath_res + value = 1 + } + } + } + } + picture = GFX_evt_market + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + option = { + name = EVTOPTA_MNM_1822 + trigger = { + check_variable = { + which = gath_res + value = 4 + } + } + wealth = -35 + + if = { + limit = { + has_quest = quest_hermetic_gather_ingredients + } + clr_quest = quest_hermetic_gather_ingredients + sound_effect = hermetic_society_acquire_seed + add_society_currency_medium_effect = yes + } + custom_tooltip = { text = EVTTOOLTIP_MNM_1822 } + } + + option = { + name = EVTOPTB_MNM_1822 + trigger = { + NOT = { + check_variable = { + which = gath_res + value = 4 + } + } + check_variable = { + which = gath_res + value = 1 + } + } + wealth = -25 + + if = { + limit = { + has_quest = quest_hermetic_gather_ingredients + } + clr_quest = quest_hermetic_gather_ingredients + sound_effect = hermetic_society_acquire_seed + add_society_currency_minor_effect = yes + } + custom_tooltip = { text = EVTTOOLTIP_MNM_1822 } + } + + option = { + name = EVTOPTC_MNM_1822 + trigger = { + NOT = { + check_variable = { + which = gath_res + value = 1 + } + } + } + wealth = -15 + if = { + limit = { + has_quest = quest_hermetic_gather_ingredients + } + clr_quest = { id = quest_hermetic_gather_ingredients failure = yes } + } + } + + after = { + while = { + limit = { + check_variable = { + which = gath_res + value = 1 + } + } + hermetic_add_misc_ingredient_effect = yes + + subtract_variable = { + which = gath_res + value = 1 + } + } + clr_character_flag = do_not_disturb + } +} + +character_event = { + id = MNM.1825 + hide_window = yes + + is_triggered_only = yes + + immediate = { + clr_character_flag = do_not_disturb + set_variable = { which = gath_try value = 0 } + set_variable = { which = gath_res value = 0 } + } +} + +#Misc: apprenticeship +#Ping event for apprenticeship completion +character_event = { + id = MNM.1413 + hide_window = yes + is_triggered_only = yes + trigger = { + liege = { + character = FROMFROM + is_alive = yes + society_member_of = hermetics + } + has_minor_title = title_hermetics_apprentice + + } + immediate = { FROMFROM = { character_event = { id = MNM.1414 } } } +} + +#Apprenticeship completion +character_event = { + id = MNM.1414 + desc = EVTDESC_MNM_1414 + picture = GFX_evt_gathering_of_minds + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + option = { + name = EVTOPTA_MNM_1414 + + add_society_currency_major_effect = yes + + FROM = { + set_character_flag = completed_apprenticeship + remove_title = title_hermetics_apprentice + change_learning = 2 + } + } +} + +#Apprentice died +character_event = { + id = MNM.1415 + hide_window = yes + is_triggered_only = yes + + is_in_society = yes + ai = yes + + trigger = { + society_member_of = hermetics + has_minor_title = title_hermetics_apprentice + } + + immediate = { + liege = { character_event = { id = MNM.1416 } } + } +} + +#Notification of dead apprentice +character_event = { + id = MNM.1416 + picture = GFX_evt_death + border = GFX_event_normal_frame_religion + + desc = { + trigger = { + NOR = { + NOT = { opinion = { value = 0 who = FROM } } + NOT = { FROM = { learning = 12 } } + } + } + text = EVTDESC_MNM_1416_A + } + desc = { + trigger = { + OR = { + NOT = { opinion = { value = 0 who = FROM } } + NOT = { FROM = { learning = 12 } } + } + } + text = EVTDESC_MNM_1416_B + } + + is_triggered_only = yes + + option = { + name = EVTOPTA_MNM_1416 + } +} + +###################################### +# Invite Hermetic member to Stargazing +###################################### +# Invitation events +letter_event = { + id = MNM.1920 + desc = EVTDESC_MNM_1920 + border = GFX_event_letter_frame_religion + + is_triggered_only = yes + + option = { # Accept + name = EVTOPTA_MNM_1920 + + save_event_target_as = stargazing_guest + hidden_tooltip = { set_variable = { which = stargazing_satisfaction value = 0 } } + FROMFROM = { + letter_event = { id = MNM.1921 } + } + + ai_chance = { + factor = 20 + modifier = { + factor = 2 + OR = { + trait = scholar + trait = mystic + trait = theologian + } + } + modifier = { + factor = 2 + trait = gregarious + } + modifier = { + factor = 2 + trait = trusting + } + modifier = { + factor = 1.5 + OR = { + trait = genius + trait = quick + } + } + modifier = { + factor = 1.5 + trait = shrewd + } + modifier = { + factor = 2 + opinion = { who = FROM value = 30 } + } + modifier = { + factor = 3 + opinion = { who = FROM value = 60 } + } + modifier = { + factor = 10 + is_friend = FROM + } + } + } + + option = { # Decline + name = EVTOPTB_MNM_1920 + + FROMFROM = { + letter_event = { id = MNM.1922 } + } + + ai_chance = { + factor = 10 + modifier = { + factor = 2 + trait = content + } + modifier = { + factor = 2 + trait = shy + } + modifier = { + factor = 2 + trait = paranoid + } + modifier = { + factor = 2 + trait = slothful + } + modifier = { + factor = 1.5 + trait = envious + } + modifier = { + factor = 2 + OR = { + trait = imbecile + trait = slow + } + } + modifier = { + factor = 2 + trait = dull + } + modifier = { + factor = 3 + NOT = { opinion = { who = FROM value = -25 } } + } + modifier = { + factor = 3 + NOT = { opinion = { who = FROM value = -50 } } + } + modifier = { + factor = 20 + is_rival = FROM + } + } + } +} + +#Invitation accepted +letter_event = { + id = MNM.1921 + desc = EVTDESC_MNM_1921 + border = GFX_event_letter_frame_religion + + is_triggered_only = yes + + option = { + name = EXCELLENT + + reverse_opinion = { + modifier = opinion_stargazing + who = FROM + years = 1 + } + hidden_tooltip = { + save_event_target_as = stargazing_host + character_event = { id = MNM.1925 days = 30 random = 30 } + } + } +} + +# Invitation declined +letter_event = { + id = MNM.1922 + desc = EVTDESC_MNM_1922 + border = GFX_event_letter_frame_religion + + is_triggered_only = yes + + option = { + name = EVTOPTA_WOL_11117 # That is disappointing + + opinion = { + modifier = opinion_disappointed + who = FROM + years = 1 + } + hidden_tooltip = { + clr_character_flag = inviting_guests_to_stargazing_timer + clr_character_flag = do_not_disturb + remove_character_modifier = inviting_to_stargazing + } + } +} + +# Check if able to start stargazing +character_event = { + id = MNM.1925 + hide_window = yes + + is_triggered_only = yes + + immediate = { + clr_character_flag = inviting_guests_to_stargazing_timer + if = { + limit = { + OR = { + war = yes + trait = incapable + NOT = { society_member_of = hermetics } + } + } + character_event = { id = MNM.1926 } # Cancel stargazing due to unforeseen circumstances + break = yes + } + character_event = { id = MNM.1928 } # Let stargazing commence! + } +} + +# Cancel stargazing +character_event = { + id = MNM.1926 + desc = EVTDESC_MNM_1926 + picture = GFX_evt_comet + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + option = { + name = EVTOPTA_MNM_1926 + + custom_tooltip = { + text = EVTOPTA_MNM_1926_TOOLTIP + } + hidden_tooltip = { + clr_character_flag = do_not_disturb + remove_character_modifier = inviting_to_stargazing + event_target:stargazing_guest = { + letter_event = { id = MNM.1927 } + } + } + } +} + +letter_event = { + id = MNM.1927 + desc = EVTDESC_MNM_1927 + border = GFX_event_letter_frame_religion + + is_triggered_only = yes + + option = { + name = EVTOPTA_ZE_6005 # What a shame + } +} + +# Guest arrives - What to do before nightfall? +character_event = { + id = MNM.1928 + desc = EVTDESC_MNM_1928 + picture = GFX_evt_comet + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + immediate = { + character_event = { id = MNM.1945 days = 20 random = 10 } + } + + option = { # Show observatory + name = EVTOPTA_MNM_1928 + + trigger = { + has_character_flag = built_observatory + } + tooltip_info = yes + custom_tooltip = { + text = AVAILABLE_DUE_TO_OBSERVATORY + } + custom_tooltip = { + text = EVTOPTA_MNM_1928_TOOLTIP + } + event_target:stargazing_guest = { character_event = { id = MNM.1930 } } + + ai_chance = { + factor = 10 + modifier = { + factor = 2 + trait = scholar + } + } + } + + option = { # Show fancy equipment + name = EVTOPTB_MNM_1928 + + trigger = { + has_character_flag = owns_observatory_equipment + NOT = { has_character_flag = built_observatory } + } + tooltip_info = yes + custom_tooltip = { + text = AVAILABLE_DUE_TO_OBSERVATORY_EQUIPMENT + } + + custom_tooltip = { + text = EVTOPTB_MNM_1928_TOOLTIP + } + event_target:stargazing_guest = { character_event = { id = MNM.1933 } } + + ai_chance = { + factor = 10 + modifier = { + factor = 2 + trait = scholar + } + } + } + + option = { # Show nearby location to use for stargazing + name = EVTOPTC_MNM_1928 + trigger = { + NOT = { has_character_flag = built_observatory } + } + + custom_tooltip = { + text = EVTOPTC_MNM_1928_TOOLTIP + } + event_target:stargazing_guest = { character_event = { id = MNM.1936 } } + + ai_chance = { + factor = 10 + modifier = { + factor = 2 + trait = gardener + } + modifier = { + factor = 2 + trait = gardener + } + } + } + + option = { # Sit down for a drink/conversation + name = EVTOPTD_MNM_1928 + + custom_tooltip = { + text = EVTOPTD_MNM_1928_TOOLTIP + } + event_target:stargazing_guest = { character_event = { id = MNM.1939 } } + + ai_chance = { + factor = 10 + modifier = { + factor = 4 + trait = gluttonous + } + modifier = { + factor = 2 + trait = hedonist + } + modifier = { + factor = 2 + trait = drunkard + } + } + } + + option = { # Spend some time to study together + name = EVTOPTE_MNM_1928 + + custom_tooltip = { + text = EVTOPTE_MNM_1928_TOOLTIP + } + event_target:stargazing_guest = { character_event = { id = MNM.1942 } } + + ai_chance = { + factor = 10 + modifier = { + factor = 2 + trait = erudite + } + modifier = { + factor = 2 + trait = patient + } + } + } +} + +# Show observatory +character_event = { + id = MNM.1930 + desc = EVTDESC_MNM_1930 + picture = GFX_evt_experiment + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + option = { # Guest is impressed + name = EVTOPTA_MNM_1930 + + reverse_opinion = { + modifier = opinion_pleased + who = FROM + years = 1 + } + hidden_tooltip = { + if = { + limit = { + OR = { + trait = scholar + trait = mystic + trait = theologian + trait = humble + } + } + change_variable = { which = stargazing_satisfaction value = 4 } + } + if = { + limit = { + NOR = { + trait = scholar + trait = mystic + trait = theologian + trait = humble + } + } + change_variable = { which = stargazing_satisfaction value = 3 } + } + event_target:stargazing_host = { character_event = { id = MNM.1931 days = 7 random = 7 } } + } + + ai_chance = { + factor = 10 + modifier = { + factor = 2 + trait = scholar + } + modifier = { + factor = 2 + trait = mystic + } + modifier = { + factor = 2 + trait = theologian + } + modifier = { + factor = 2 + trait = ambitious + } + } + } + + option = { # Guest is not impressed + name = EVTOPTB_MNM_1930 + + reverse_opinion = { + modifier = not_feeling_apreciated + who = FROM + years = 1 + } + hidden_tooltip = { + event_target:stargazing_host = { character_event = { id = MNM.1932 days = 7 random = 7 } } + } + + ai_chance = { + factor = 5 + modifier = { + factor = 5 + trait = envious + } + modifier = { + factor = 3 + trait = arbitrary + } + } + } +} + +character_event = { + id = MNM.1931 + desc = EVTDESC_MNM_1931 + picture = GFX_evt_experiment + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + option = { + name = EVTOPTA_MNM_1931 + + reverse_opinion = { + modifier = opinion_impressed + who = FROM + years = 2 + } + } +} + +character_event = { + id = MNM.1932 + desc = EVTDESC_MNM_1932 + picture = GFX_evt_experiment + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + option = { + name = EVTOPTA_MNM_1932 + + reverse_opinion = { + modifier = opinion_unimpressed + who = FROM + years = 2 + } + } +} + +# Show fancy equipment +character_event = { + id = MNM.1933 + desc = EVTDESC_MNM_1933 + picture = GFX_evt_experiment + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + option = { # Guest is impressed + name = EVTOPTA_MNM_1933 + + reverse_opinion = { + modifier = opinion_pleased + who = FROM + years = 1 + } + hidden_tooltip = { + if = { + limit = { + OR = { + trait = scholar + trait = mystic + trait = theologian + trait = humble + } + } + change_variable = { which = stargazing_satisfaction value = 3 } + } + if = { + limit = { + NOR = { + trait = scholar + trait = mystic + trait = theologian + trait = humble + } + } + change_variable = { which = stargazing_satisfaction value = 2 } + } + event_target:stargazing_host = { character_event = { id = MNM.1934 days = 7 random = 7 } } + } + + ai_chance = { + factor = 10 + modifier = { + factor = 2 + trait = scholar + } + modifier = { + factor = 2 + trait = mystic + } + modifier = { + factor = 2 + trait = theologian + } + modifier = { + factor = 2 + trait = ambitious + } + } + } + + option = { # Guest is not impressed + name = EVTOPTB_MNM_1933 + + reverse_opinion = { + modifier = not_feeling_apreciated + who = FROM + years = 1 + } + hidden_tooltip = { + event_target:stargazing_host = { character_event = { id = MNM.1935 days = 7 random = 7 } } + } + + ai_chance = { + factor = 5 + modifier = { + factor = 5 + trait = envious + } + modifier = { + factor = 3 + trait = arbitrary + } + } + } +} + +character_event = { + id = MNM.1934 + desc = EVTDESC_MNM_1934 + picture = GFX_evt_experiment + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + option = { + name = EVTOPTA_MNM_1934 + + reverse_opinion = { + modifier = opinion_impressed + who = FROM + years = 2 + } + } +} + +character_event = { + id = MNM.1935 + desc = EVTDESC_MNM_1935 + picture = GFX_evt_experiment + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + option = { + name = EVTOPTA_MNM_1935 + + reverse_opinion = { + modifier = opinion_unimpressed + who = FROM + years = 2 + } + } +} + +# Show nearby location to use for stargazing +character_event = { + id = MNM.1936 + desc = EVTDESC_MNM_1936 + picture = GFX_evt_stone_church + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + option = { # Guest approves + name = EVTOPTA_MNM_1936 + + reverse_opinion = { + modifier = opinion_pleased + who = FROM + years = 1 + } + hidden_tooltip = { + if = { + limit = { + OR = { + trait = architect + trait = gardener + trait = diligent + } + } + change_variable = { which = stargazing_satisfaction value = 2 } + } + if = { + limit = { + NOR = { + trait = architect + trait = gardener + trait = diligent + } + } + change_variable = { which = stargazing_satisfaction value = 1 } + } + event_target:stargazing_host = { character_event = { id = MNM.1937 days = 7 random = 7 } } + } + + ai_chance = { + factor = 10 + modifier = { + factor = 2 + trait = architect + } + modifier = { + factor = 2 + trait = gardener + } + modifier = { + factor = 2 + trait = diligent + } + } + } + + option = { # Guest does not approve + name = EVTOPTB_MNM_1936 + + reverse_opinion = { + modifier = not_feeling_apreciated + who = FROM + years = 1 + } + hidden_tooltip = { + event_target:stargazing_host = { character_event = { id = MNM.1938 days = 7 random = 7 } } + } + + ai_chance = { + factor = 5 + modifier = { + factor = 5 + trait = slothful + } + modifier = { + factor = 2 + trait = paranoid + } + } + } +} + +character_event = { + id = MNM.1937 + desc = EVTDESC_MNM_1937 + picture = GFX_evt_stone_church + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + option = { + name = EVTOPTA_MNM_1937 + + reverse_opinion = { + modifier = opinion_impressed + who = FROM + years = 2 + } + } +} + +character_event = { + id = MNM.1938 + desc = EVTDESC_MNM_1938 + picture = GFX_evt_stone_church + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + option = { + name = EVTOPTA_MNM_1938 + + reverse_opinion = { + modifier = opinion_unimpressed + who = FROM + years = 2 + } + } +} + +# Sit down for a drink/conversation +character_event = { + id = MNM.1939 + desc = EVTDESC_MNM_1939 + picture = GFX_evt_feast + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + option = { # Guest enjoyed it + name = EVTOPTA_MNM_1939 + + reverse_opinion = { + modifier = opinion_pleased + who = FROM + years = 1 + } + hidden_tooltip = { + if = { + limit = { + OR = { + trait = hedonist + trait = socializer + trait = gregarious + trait = gluttonous + trait = drunkard + } + } + change_variable = { which = stargazing_satisfaction value = 2 } + } + if = { + limit = { + NOR = { + trait = hedonist + trait = socializer + trait = gregarious + trait = gluttonous + trait = drunkard + } + } + change_variable = { which = stargazing_satisfaction value = 1 } + } + event_target:stargazing_host = { character_event = { id = MNM.1940 days = 7 random = 7 } } + } + + ai_chance = { + factor = 10 + modifier = { + factor = 3 + trait = gluttonous + } + modifier = { + factor = 2 + trait = hedonist + } + modifier = { + factor = 2 + trait = socializer + } + modifier = { + factor = 2 + trait = gregarious + } + modifier = { + factor = 2 + trait = drunkard + } + modifier = { + factor = 2 + trait = decadent + } + } + } + + option = { # Guest did not enjoy it + name = EVTOPTB_MNM_1939 + + reverse_opinion = { + modifier = not_feeling_apreciated + who = FROM + years = 1 + } + hidden_tooltip = { + event_target:stargazing_host = { character_event = { id = MNM.1941 days = 7 random = 7 } } + } + + ai_chance = { + factor = 5 + modifier = { + factor = 5 + trait = temperate + } + modifier = { + factor = 6 + AND = { + religion_group = muslim + NOT = { trait = decadent } + } + } + modifier = { + factor = 3 + trait = shy + } + } + } +} + +character_event = { + id = MNM.1940 + desc = EVTDESC_MNM_1940 + picture = GFX_evt_feast + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + option = { + name = EVTOPTA_MNM_1940 + + reverse_opinion = { + modifier = opinion_enjoyed_feast + who = FROM + years = 1 + } + } +} + +character_event = { + id = MNM.1941 + desc = EVTDESC_MNM_1941 + picture = GFX_evt_feast + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + option = { + name = EVTOPTA_MNM_1941 + + reverse_opinion = { + modifier = opinion_unimpressed + who = FROM + years = 2 + } + } +} + +# Spend some time to study together +character_event = { + id = MNM.1942 + desc = EVTDESC_MNM_1942 + picture = GFX_evt_experiment + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + option = { # Guest approves + name = EVTOPTA_MNM_1942 + + reverse_opinion = { + modifier = opinion_pleased + who = FROM + years = 1 + } + hidden_tooltip = { + if = { + limit = { + OR = { + trait = erudite + trait = scholar + trait = faqih + trait = diligent + } + } + change_variable = { which = stargazing_satisfaction value = 2 } + } + if = { + limit = { + NOR = { + trait = erudite + trait = scholar + trait = faqih + trait = diligent + } + } + change_variable = { which = stargazing_satisfaction value = 1 } + } + event_target:stargazing_host = { character_event = { id = MNM.1943 days = 7 random = 7 } } + } + + ai_chance = { + factor = 10 + modifier = { + factor = 2 + trait = erudite + } + modifier = { + factor = 2 + trait = content + } + modifier = { + factor = 2 + trait = scholar + } + modifier = { + factor = 2 + trait = patient + } + } + } + + option = { # Guest does not approve + name = EVTOPTB_MNM_1942 + + reverse_opinion = { + modifier = not_feeling_apreciated + who = FROM + years = 1 + } + hidden_tooltip = { + event_target:stargazing_host = { character_event = { id = MNM.1944 days = 7 random = 7 } } + } + + ai_chance = { + factor = 5 + modifier = { + factor = 4 + trait = slothful + } + modifier = { + factor = 4 + trait = wroth + } + modifier = { + factor = 3 + trait = gregarious + } + } + } +} + +character_event = { + id = MNM.1943 + desc = EVTDESC_MNM_1943 + picture = GFX_evt_experiment + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + option = { + name = EVTOPTA_MNM_1943 + + reverse_opinion = { + modifier = opinion_impressed + who = FROM + years = 2 + } + } +} + +character_event = { + id = MNM.1944 + desc = EVTDESC_MNM_1944 + picture = GFX_evt_experiment + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + option = { + name = EVTOPTA_MNM_1944 + + reverse_opinion = { + modifier = opinion_unimpressed + who = FROM + years = 2 + } + } +} + +# Nightfall - Time to stargaze +character_event = { + id = MNM.1945 + desc = EVTDESC_MNM_1945 + picture = GFX_evt_comet + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + immediate = { + character_event = { id = MNM.1961 days = 10 random = 5 } + } + + option = { + name = EVTOPTA_MNM_1945 + + custom_tooltip = { + text = PREPARE_STARGAZING + + hidden_tooltip = { + random_list = { + 10 = { # Make observation about stars + modifier = { + factor = 3 + has_character_flag = built_observatory + } + modifier = { + factor = 2 + has_character_flag = owns_observatory_equipment + NOT = { has_character_flag = built_observatory } + } + + character_event = { id = MNM.1947 days = 5 random = 5 } + } + 10 = { # Make observation about zodiacs + modifier = { + factor = 3 + has_character_flag = built_observatory + } + modifier = { + factor = 2 + has_character_flag = owns_observatory_equipment + NOT = { has_character_flag = built_observatory } + } + + character_event = { id = MNM.1950 days = 5 random = 5 } + } + 10 = { # Saw a comet cross the sky + modifier = { + factor = 2 + has_character_flag = built_observatory + } + modifier = { + factor = 1.5 + has_character_flag = owns_observatory_equipment + NOT = { has_character_flag = built_observatory } + } + + character_event = { id = MNM.1953 days = 5 random = 5 } + } + 20 = { # Learned something new - Nothing major + character_event = { id = MNM.1955 days = 5 random = 5 } + } + 20 = { # Could not see anything of interest + character_event = { id = MNM.1957 days = 5 random = 5 } + } + 10 = { # Bad weather ruined the night + modifier = { + factor = 2 + OR = { + month = 11 + NOT = { month = 3 } + } + } + + character_event = { id = MNM.1959 days = 5 random = 5 } + } + } + } + } + } +} + +# Make observation about stars +character_event = { + id = MNM.1947 + desc = EVTDESC_MNM_1947 + picture = GFX_evt_comet + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + option = { + name = EVTOPTA_MNM_1947 + + random_list = { + 10 = { + military_techpoints = 100 + } + 10 = { + economy_techpoints = 100 + } + 10 = { + culture_techpoints = 100 + } + } + + if = { + limit = { + NOT = { has_character_modifier = stargazer } + } + add_character_modifier = { + modifier = stargazer + duration = 1825 + } + } + hidden_tooltip = { + set_character_flag = stargazing_good_outcome + event_target:stargazing_guest = { character_event = { id = MNM.1948 } } + } + } +} + +character_event = { + id = MNM.1948 + desc = EVTDESC_MNM_1948 + picture = GFX_evt_comet + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + option = { + name = EVTOPTA_MNM_1948 + + random_list = { + 10 = { + military_techpoints = 50 + } + 10 = { + economy_techpoints = 50 + } + 10 = { + culture_techpoints = 50 + } + } + } +} + +# Make observation about zodiacs +character_event = { + id = MNM.1950 + desc = EVTDESC_MNM_1950 + picture = GFX_evt_comet + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + option = { + name = EVTOPTA_MNM_1950 + + military_techpoints = 50 + economy_techpoints = 50 + culture_techpoints = 50 + + hidden_tooltip = { + set_character_flag = stargazing_good_outcome + event_target:stargazing_guest = { character_event = { id = MNM.1951 } } + } + } +} + +character_event = { + id = MNM.1951 + desc = EVTDESC_MNM_1951 + picture = GFX_evt_comet + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + option = { + name = EVTOPTA_MNM_1951 + + military_techpoints = 25 + economy_techpoints = 25 + culture_techpoints = 25 + } +} + +# Saw a comet cross the sky +character_event = { + id = MNM.1953 + desc = EVTDESC_MNM_1953 + picture = GFX_evt_comet + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + option = { + name = EVTOPTA_MNM_1953 + + military_techpoints = 30 + economy_techpoints = 30 + culture_techpoints = 30 + piety = 25 + + if = { + limit = { + NOR = { + trait = humble + trait = proud + } + } + random = { + chance = 10 + add_trait = humble + hidden_tooltip = { + character_event = { id = 38260 } # Notify humble + } + } + } + hidden_tooltip = { + set_character_flag = stargazing_good_outcome + event_target:stargazing_guest = { character_event = { id = MNM.1954 } } + } + } +} + +character_event = { + id = MNM.1954 + desc = EVTDESC_MNM_1954 + picture = GFX_evt_comet + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + option = { + name = EVTOPTA_MNM_1954 + + military_techpoints = 20 + economy_techpoints = 20 + culture_techpoints = 20 + piety = 15 + + if = { + limit = { + NOR = { + trait = humble + trait = proud + } + } + random = { + chance = 10 + add_trait = humble + hidden_tooltip = { + character_event = { id = 38260 } # Notify humble + } + } + } + } +} + +# Learned something new - Nothing major +character_event = { + id = MNM.1955 + desc = EVTDESC_MNM_1955 + picture = GFX_evt_comet + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + option = { + name = EVTOPTA_MNM_1955 + + hidden_tooltip = { + set_character_flag = stargazing_good_outcome + event_target:stargazing_guest = { character_event = { id = MNM.1956 } } + } + } +} + +character_event = { + id = MNM.1956 + desc = EVTDESC_MNM_1955 # Reused text + picture = GFX_evt_comet + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + option = { + name = EVTOPTA_MNM_1955 # Reused text + } +} + +# Could not see anything of interest +character_event = { + id = MNM.1957 + desc = EVTDESC_MNM_1957 + picture = GFX_evt_comet + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + option = { + name = EVTOPTA_MNM_1957 + + hidden_tooltip = { + set_character_flag = stargazing_bad_outcome + event_target:stargazing_guest = { character_event = { id = MNM.1958 } } + } + } +} + +character_event = { + id = MNM.1958 + desc = EVTDESC_MNM_1958 + picture = GFX_evt_comet + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + option = { + name = EVTOPTA_MNM_1958 + + hidden_tooltip = { + change_variable = { which = stargazing_satisfaction value = -1 } + } + } +} + +# Bad weather ruined the night +character_event = { + id = MNM.1959 + desc = EVTDESC_MNM_1959 + picture = GFX_evt_comet + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + option = { + name = EVTOPTA_MNM_1959 + + random = { + chance = 5 + add_trait = depressed + hidden_tooltip = { + character_event = { + id = 38288 #Notify depressed + } + } + } + hidden_tooltip = { + set_character_flag = stargazing_bad_outcome + event_target:stargazing_guest = { character_event = { id = MNM.1960 } } + } + } +} + +character_event = { + id = MNM.1960 + desc = EVTDESC_MNM_1959 # Reused text + picture = GFX_evt_comet + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + option = { + name = EVTOPTA_MNM_1959 # Reused text + + hidden_tooltip = { + change_variable = { which = stargazing_satisfaction value = -1 } + } + } +} + +# Check outcome +character_event = { + id = MNM.1961 + hide_window = yes + + is_triggered_only = yes + + immediate = { + hidden_tooltip = { + random_list = { + 10 = { # Become friends + modifier = { + factor = 2 + event_target:stargazing_guest = { + check_variable = { which = stargazing_satisfaction value = 3 } + } + } + modifier = { + factor = 2 + event_target:stargazing_guest = { + check_variable = { which = stargazing_satisfaction value = 2 } + } + } + modifier = { + factor = 1.5 + event_target:stargazing_guest = { + check_variable = { which = stargazing_satisfaction value = 1 } + } + } + modifier = { + factor = 0 + event_target:stargazing_guest = { + NOT = { check_variable = { which = stargazing_satisfaction value = 0 } } + } + } + modifier = { + factor = 2 + event_target:stargazing_guest = { + opinion = { who = ROOT value = 50 } + } + } + modifier = { + factor = 0 + event_target:stargazing_guest = { + is_friend = ROOT + } + } + character_event = { id = MNM.1962 } + } + 5 = { # Become rivals + modifier = { + factor = 4 + event_target:stargazing_guest = { + NOT = { check_variable = { which = stargazing_satisfaction value = 0 } } + } + } + modifier = { + factor = 4 + event_target:stargazing_guest = { + NOT = { opinion = { who = ROOT value = -25 } } + } + } + modifier = { + factor = 0 + event_target:stargazing_guest = { + check_variable = { which = stargazing_satisfaction value = 1 } + } + } + modifier = { + factor = 0 + event_target:stargazing_guest = { + is_friend = ROOT + } + } + character_event = { id = MNM.1965 } + } + 50 = { } # Nothing happens + } + character_event = { id = MNM.1968 days = 10 random = 5 } + } + } +} + +# Host and guest become friends +character_event = { + id = MNM.1962 + desc = EVTDESC_MNM_1962 + picture = GFX_evt_experiment + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + option = { + name = EVTOPTA_MNM_1962 + + add_friend = event_target:stargazing_guest + + hidden_tooltip = { + set_character_flag = stargazing_become_friends + event_target:stargazing_guest = { character_event = { id = MNM.1963 } } + } + } +} + +character_event = { + id = MNM.1963 + desc = EVTDESC_MNM_1963 + picture = GFX_evt_experiment + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + option = { + name = EVTOPTA_MNM_1963 + + tooltip = { + add_friend = event_target:stargazing_host + } + } +} + +# Host and guest become rivals +character_event = { + id = MNM.1965 + desc = EVTDESC_MNM_1965 + picture = GFX_evt_quarrel + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + option = { + name = EVTOPTA_MNM_1965 + + add_rival = event_target:stargazing_guest + + hidden_tooltip = { + event_target:stargazing_guest = { character_event = { id = MNM.1966 } } + } + } +} + +character_event = { + id = MNM.1966 + desc = EVTDESC_MNM_1966 + picture = GFX_evt_quarrel + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + option = { + name = EVTOPTA_MNM_1966 + + tooltip = { + add_rival = event_target:stargazing_host + } + } +} + +# Morning arrives - Stargazing is over +character_event = { + id = MNM.1968 + picture = GFX_evt_comet + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + desc = { + text = EVTDESC_MNM_1968_A + trigger = { + has_character_flag = stargazing_good_outcome + } + } + desc = { + text = EVTDESC_MNM_1968_B + trigger = { + has_character_flag = stargazing_bad_outcome + NOT = { has_character_flag = stargazing_become_friends } + } + } + desc = { + text = EVTDESC_MNM_1968_C + trigger = { + has_character_flag = stargazing_bad_outcome + has_character_flag = stargazing_become_friends + } + } + + immediate = { + event_target:stargazing_guest = { character_event = { id = MNM.1969 } } + } + + option = { + name = { + text = EVTOPTA_MNM_1968_A + trigger = { + has_character_flag = stargazing_good_outcome + } + } + name = { + text = EVTOPTA_MNM_1968_B + trigger = { + has_character_flag = stargazing_bad_outcome + NOT = { has_character_flag = stargazing_become_friends } + } + } + name = { + text = EVTOPTA_MNM_1968_C + trigger = { + has_character_flag = stargazing_bad_outcome + has_character_flag = stargazing_become_friends + } + } + + hidden_tooltip = { + add_character_modifier = { + name = stargazing_timer + duration = 1095 + hidden = yes + } + clr_character_flag = do_not_disturb + clr_character_flag = stargazing_good_outcome + clr_character_flag = stargazing_bad_outcome + clr_character_flag = stargazing_become_friends + remove_character_modifier = inviting_to_stargazing + } + } +} + +character_event = { + id = MNM.1969 + picture = GFX_evt_comet + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + desc = { + text = EVTDESC_MNM_1968_A + trigger = { + FROM = { has_character_flag = stargazing_good_outcome } + } + } + desc = { + text = EVTDESC_MNM_1968_B + trigger = { + FROM = { + has_character_flag = stargazing_bad_outcome + NOT = { has_character_flag = stargazing_become_friends } + } + } + } + desc = { + text = EVTDESC_MNM_1968_C + trigger = { + FROM = { + has_character_flag = stargazing_bad_outcome + has_character_flag = stargazing_become_friends + } + } + } + + option = { + name = EVTOPTA_MNM_1969 + } +} + +###Magus Power: Write a Magnum Opus### +#Write a Magnum Opus - Start Writing +character_event = { + id = MNM.1610 + desc = EVTDESC_MNM_1610 + picture = GFX_evt_scientist + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + option = { #It will be glorious! + name = EVTOPTA_MNM_1610 + add_character_modifier = { + modifier = writing_magnum_opus + years = 2 + } + hidden_effect = { + character_event = { id = MNM.1600 days = 90 random = 60 } + } + } +} + +#Write a Magnum Opus - Pick Pillar +character_event = { + id = MNM.1600 + desc = EVTDESC_MNM_1600 + picture = GFX_evt_scientist + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + trigger = { society_member_of = hermetics } + + option = { #write book on Theurgy + name = EVTOPTA_MNM_1600 + trigger = { + NOT = { + AND = { + OR = { + has_artifact = magnum_opus_theurgy_ritual_1 + has_artifact = magnum_opus_theurgy_ritual_2 + has_artifact = magnum_opus_theurgy_ritual_3 + has_artifact = magnum_opus_theurgy_ritual_4 + } + OR = { + has_artifact = magnum_opus_theurgy_contemplation_1 + has_artifact = magnum_opus_theurgy_contemplation_2 + has_artifact = magnum_opus_theurgy_contemplation_3 + has_artifact = magnum_opus_theurgy_contemplation_4 + } + } + } + } + custom_tooltip = { text = EVTOPTA_MNM_1600_TT } + hidden_effect = { + character_event = { id = MNM.1601 days = 90 random = 60 } + } + } + + option = { #write book on Astrology + name = EVTOPTB_MNM_1600 + trigger = { + NOT = { + AND = { + OR = { + has_artifact = magnum_opus_astrology_stars_1 + has_artifact = magnum_opus_astrology_stars_2 + has_artifact = magnum_opus_astrology_stars_3 + has_artifact = magnum_opus_astrology_stars_4 + } + OR = { + has_artifact = magnum_opus_astrology_planets_1 + has_artifact = magnum_opus_astrology_planets_2 + has_artifact = magnum_opus_astrology_planets_3 + has_artifact = magnum_opus_astrology_planets_4 + } + } + } + } + custom_tooltip = { text = EVTOPTB_MNM_1600_TT } + hidden_effect = { + character_event = { id = MNM.1602 days = 90 random = 60 } + } + } + + option = { #write book on Alchemy + name = EVTOPTC_MNM_1600 + trigger = { + NOT = { + AND = { + OR = { + has_artifact = magnum_opus_alchemy_panacea_1 + has_artifact = magnum_opus_alchemy_panacea_2 + has_artifact = magnum_opus_alchemy_panacea_3 + has_artifact = magnum_opus_alchemy_panacea_4 + } + OR = { + has_artifact = magnum_opus_alchemy_transmutation_1 + has_artifact = magnum_opus_alchemy_transmutation_2 + has_artifact = magnum_opus_alchemy_transmutation_3 + has_artifact = magnum_opus_alchemy_transmutation_4 + } + } + } + } + custom_tooltip = { text = EVTOPTC_MNM_1600_TT } + hidden_effect = { + character_event = { id = MNM.1603 days = 90 random = 60 } + } + } +} + +#Write a Magnum Opus - Pick type of Theurgy +character_event = { + id = MNM.1601 + desc = EVTDESC_MNM_1601 + picture = GFX_evt_secluded_in_prayer + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + trigger = { society_member_of = hermetics } + + option = { #Focus on Rituals/Invocation + name = EVTOPTA_MNM_1601 + trigger = { + NOT = { + OR = { + has_artifact = magnum_opus_theurgy_ritual_1 + has_artifact = magnum_opus_theurgy_ritual_2 + has_artifact = magnum_opus_theurgy_ritual_3 + has_artifact = magnum_opus_theurgy_ritual_4 + } + } + } + custom_tooltip = { text = EVTOPTA_MNM_1601_TT } + hidden_effect = { + character_event = { id = MNM.1604 days = 90 random = 60 } + } + } + + option = { #Focus on Contemplation + name = EVTOPTB_MNM_1601 + trigger = { + NOT = { + OR = { + has_artifact = magnum_opus_theurgy_contemplation_1 + has_artifact = magnum_opus_theurgy_contemplation_2 + has_artifact = magnum_opus_theurgy_contemplation_3 + has_artifact = magnum_opus_theurgy_contemplation_4 + } + } + } + custom_tooltip = { text = EVTOPTB_MNM_1601_TT } + hidden_effect = { + character_event = { id = MNM.1605 days = 90 random = 60 } + } + } +} + +#Write a Magnum Opus - Pick type of Astrology +character_event = { + id = MNM.1602 + desc = EVTDESC_MNM_1602 + picture = GFX_evt_comet + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + trigger = { society_member_of = hermetics } + + option = { #Focus on Stars + name = EVTOPTA_MNM_1602 + trigger = { + NOT = { + OR = { + has_artifact = magnum_opus_astrology_stars_1 + has_artifact = magnum_opus_astrology_stars_2 + has_artifact = magnum_opus_astrology_stars_3 + has_artifact = magnum_opus_astrology_stars_4 + } + } + } + custom_tooltip = { text = EVTOPTA_MNM_1602_TT } + hidden_effect = { + character_event = { id = MNM.1606 days = 90 random = 60 } + } + } + + option = { #Focus on Planets + name = EVTOPTB_MNM_1602 + trigger = { + NOT = { + OR = { + has_artifact = magnum_opus_astrology_planets_1 + has_artifact = magnum_opus_astrology_planets_2 + has_artifact = magnum_opus_astrology_planets_3 + has_artifact = magnum_opus_astrology_planets_4 + } + } + } + custom_tooltip = { text = EVTOPTB_MNM_1602_TT } + hidden_effect = { + character_event = { id = MNM.1607 days = 90 random = 60 } + } + } +} + +#Write a Magnum Opus - Pick type of Alchemy +character_event = { + id = MNM.1603 + desc = EVTDESC_MNM_1603 + picture = GFX_evt_experiment + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + trigger = { society_member_of = hermetics } + + option = { #Focus on Universal Panacea + name = EVTOPTA_MNM_1603 + trigger = { + NOT = { + OR = { + has_artifact = magnum_opus_alchemy_panacea_1 + has_artifact = magnum_opus_alchemy_panacea_2 + has_artifact = magnum_opus_alchemy_panacea_3 + has_artifact = magnum_opus_alchemy_panacea_4 + } + } + } + custom_tooltip = { text = EVTOPTA_MNM_1603_TT } + hidden_effect = { + character_event = { id = MNM.1608 days = 90 random = 60 } + } + } + + option = { #Focus on Transmutation + name = EVTOPTB_MNM_1603 + trigger = { + NOT = { + OR = { + has_artifact = magnum_opus_alchemy_transmutation_1 + has_artifact = magnum_opus_alchemy_transmutation_2 + has_artifact = magnum_opus_alchemy_transmutation_3 + has_artifact = magnum_opus_alchemy_transmutation_4 + } + } + } + custom_tooltip = { text = EVTOPTB_MNM_1603_TT } + hidden_effect = { + character_event = { id = MNM.1609 days = 90 random = 60 } + } + } +} + +#Write a Magnum Opus - Finish book on Ritualistic/Invocative Theurgy +character_event = { + id = MNM.1604 + desc = EVTDESC_MNM_1604 + picture = GFX_evt_secluded_in_prayer + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + option = { #Awesome! + name = EVTOPTA_MNM_1604 + if = { + limit = { + NOT = { learning = 12 } + } + prestige = 50 + add_artifact = magnum_opus_theurgy_ritual_1 + } + if = { + limit = { + AND = { + learning = 12 + NOT = { learning = 18 } + } + } + prestige = 100 + add_artifact = magnum_opus_theurgy_ritual_2 + } + if = { + limit = { + AND = { + learning = 18 + NOT = { learning = 25 } + } + } + prestige = 150 + add_artifact = magnum_opus_theurgy_ritual_3 + } + if = { + limit = { + learning = 25 + } + prestige = 200 + add_artifact = magnum_opus_theurgy_ritual_4 + } + remove_character_modifier = writing_magnum_opus + } +} + +#Write a Magnum Opus - Finish book on Contemplative Theurgy +character_event = { + id = MNM.1605 + desc = EVTDESC_MNM_1605 + picture = GFX_evt_secluded_in_prayer + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + option = { #Awesome! + name = EVTOPTA_MNM_1605 + if = { + limit = { + NOT = { learning = 12 } + } + prestige = 50 + add_artifact = magnum_opus_theurgy_contemplation_1 + } + if = { + limit = { + AND = { + learning = 12 + NOT = { learning = 18 } + } + } + prestige = 100 + add_artifact = magnum_opus_theurgy_contemplation_2 + } + if = { + limit = { + AND = { + learning = 18 + NOT = { learning = 25 } + } + } + prestige = 150 + add_artifact = magnum_opus_theurgy_contemplation_3 + } + if = { + limit = { + learning = 25 + } + prestige = 200 + add_artifact = magnum_opus_theurgy_contemplation_4 + } + remove_character_modifier = writing_magnum_opus + } +} + +#Write a Magnum Opus - Finish book on Astrology with focus on Stars +character_event = { + id = MNM.1606 + desc = EVTDESC_MNM_1606 + picture = GFX_evt_comet + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + option = { #Awesome! + name = EVTOPTA_MNM_1606 + if = { + limit = { + NOT = { learning = 12 } + } + prestige = 50 + add_artifact = magnum_opus_astrology_stars_1 + } + if = { + limit = { + AND = { + learning = 12 + NOT = { learning = 18 } + } + } + prestige = 100 + add_artifact = magnum_opus_astrology_stars_2 + } + if = { + limit = { + AND = { + learning = 18 + NOT = { learning = 25 } + } + } + prestige = 150 + add_artifact = magnum_opus_astrology_stars_3 + } + if = { + limit = { + learning = 25 + } + prestige = 200 + add_artifact = magnum_opus_astrology_stars_4 + } + remove_character_modifier = writing_magnum_opus + } +} + +#Write a Magnum Opus - Finish book on Astrology with focus on Planets +character_event = { + id = MNM.1607 + desc = EVTDESC_MNM_1607 + picture = GFX_evt_comet + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + option = { #Awesome! + name = EVTOPTA_MNM_1607 + if = { + limit = { + NOT = { learning = 12 } + } + prestige = 50 + add_artifact = magnum_opus_astrology_planets_1 + } + if = { + limit = { + AND = { + learning = 12 + NOT = { learning = 18 } + } + } + prestige = 100 + add_artifact = magnum_opus_astrology_planets_2 + } + if = { + limit = { + AND = { + learning = 18 + NOT = { learning = 25 } + } + } + prestige = 150 + add_artifact = magnum_opus_astrology_planets_3 + } + if = { + limit = { + learning = 25 + } + prestige = 200 + add_artifact = magnum_opus_astrology_planets_4 + } + remove_character_modifier = writing_magnum_opus + } +} + +#Write a Magnum Opus - Finish book on Alchemy with focus on Universal Panacea +character_event = { + id = MNM.1608 + desc = EVTDESC_MNM_1608 + picture = GFX_evt_experiment + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + option = { #Awesome! + name = EVTOPTA_MNM_1608 + if = { + limit = { + NOT = { learning = 12 } + } + prestige = 50 + add_artifact = magnum_opus_alchemy_panacea_1 + } + if = { + limit = { + AND = { + learning = 12 + NOT = { learning = 18 } + } + } + prestige = 100 + add_artifact = magnum_opus_alchemy_panacea_2 + } + if = { + limit = { + AND = { + learning = 18 + NOT = { learning = 25 } + } + } + prestige = 150 + add_artifact = magnum_opus_alchemy_panacea_3 + } + if = { + limit = { + learning = 25 + } + prestige = 200 + add_artifact = magnum_opus_alchemy_panacea_4 + } + remove_character_modifier = writing_magnum_opus + } +} + +#Write a Magnum Opus - Finish book on Alchemy with focus on Transmutation +character_event = { + id = MNM.1609 + desc = EVTDESC_MNM_1609 + picture = GFX_evt_experiment + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + option = { #Awesome! + name = EVTOPTA_MNM_1609 + if = { + limit = { + NOT = { learning = 12 } + } + prestige = 50 + add_artifact = magnum_opus_alchemy_transmutation_1 + } + if = { + limit = { + AND = { + learning = 12 + NOT = { learning = 18 } + } + } + prestige = 100 + add_artifact = magnum_opus_alchemy_transmutation_2 + } + if = { + limit = { + AND = { + learning = 18 + NOT = { learning = 25 } + } + } + prestige = 150 + add_artifact = magnum_opus_alchemy_transmutation_3 + } + if = { + limit = { + learning = 25 + } + prestige = 200 + add_artifact = magnum_opus_alchemy_transmutation_4 + } + remove_character_modifier = writing_magnum_opus + } +} + +#################################################### +# Quest: Observe stars/planets +#################################################### +character_event = { + id = MNM.1828 + hide_window = yes + + is_triggered_only = yes + + immediate = { + FROM = { + society_quest_event = { id = MNM.1829 days = 7 random = 7 } + } + } +} + +society_quest_event = { + id = MNM.1829 + desc = EVTDESC_MNM_1829 + + is_triggered_only = yes + + option = { + name = ACCEPT + + set_quest = quest_hermetics_observe_sky + + hidden_effect = { character_event = { id = MNM.1830 days = 5 } } + } + + option = { + name = DECLINE + custom_tooltip = { text = decline_quest_tooltip } + + add_character_modifier = { + name = quest_cooldown_timer + hidden = yes + days = 1000 + } + + ai_chance = { factor = 0 } + } +} + +character_event = { + id = MNM.1830 + desc = EVTDESC_MNM_1830 + picture = GFX_evt_book_carolingian_script + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + option = { + name = EVTOPTA_MNM_1830 + add_character_modifier = { + modifier = astronomical_insights_1 + duration = -1 + } + hidden_effect = { + character_event = { id = MNM.1835 days = 40 random = 15 } + } + } +} + +character_event = { # progress event tombola + id = MNM.1835 + hide_window = yes + + is_triggered_only = yes + + immediate = { + random_list = { + 30 = { # Productive evening + character_event = { id = MNM.1840 } + } + 30 = { # Neglect interacting with your spouse + modifier = { + factor = 0 + NOT = { + any_spouse = { always = yes } + } + } + + character_event = { id = MNM.1841 } + } + 30 = { # Child wants help to sleep + trigger = { + any_child = { + age = 4 + NOT = { age = 14 } + } + } + character_event = { id = MNM.1842 } + } + 30 = { # Neglect taking care of accounting + character_event = { id = MNM.1843 } + } + 30 = { # Friends upset about missed event + modifier = { + factor = 0 + NOT = { + any_friend = { always = yes } + } + } + + character_event = { id = MNM.1844 } + } + 30 = { # Absent-mindedness in meetings + modifier = { + factor = 0 + NOT = { + any_courtier_or_vassal = { + count = 2 + has_job_title = yes + } + } + } + character_event = { id = MNM.1845 } + } + 30 = { # Use ingredients + trigger = { + has_a_herb_ingredient_trigger = yes + any_artifact = { + count = 2 + has_artifact_flag = ingredient + } + } + character_event = { id = MNM.1855 } + } + } + } +} + + +character_event = { # ending event tombola + id = MNM.1836 + hide_window = yes + + is_triggered_only = yes + + immediate = { + random_list = { + 30 = { # Tracking planets + character_event = { id = MNM.1846 } + } + 30 = { # Predicting Comet + character_event = { id = MNM.1847 } + } + 30 = { # Name a newly found star + character_event = { id = MNM.1848 } + } + 30 = { # Observe zodiac stars + character_event = { id = MNM.1850 } + } + 120 = { # Fail to observe anything of interest + modifier = { + factor = 0.5 + has_character_modifier = astronomical_insights_2 + } + modifier = { + factor = 0.5 + has_character_modifier = astronomical_insights_3 + } + modifier = { + factor = 0.5 + has_character_modifier = astronomical_insights_4 + } + + character_event = { id = MNM.1851 } + } + } + } +} + +character_event = { # continue studying or conclude my findings? + id = MNM.1837 + desc = { + text = EVTDESCA_MNM_1837 + trigger = { + has_character_modifier = astronomical_insights_1 + } + } + desc = { + text = EVTDESCB_MNM_1837 + trigger = { + has_character_modifier = astronomical_insights_2 + } + } + desc = { + text = EVTDESCC_MNM_1837 + trigger = { + has_character_modifier = astronomical_insights_3 + } + } + desc = { + text = EVTDESCD_MNM_1837 + trigger = { + has_character_modifier = astronomical_insights_4 + } + } + picture = GFX_evt_ritual_scroll + border = GFX_event_normal_frame_religion + + hide_from = yes + + is_triggered_only = yes + + option = { + name = EVTOPTA_MNM_1837 + custom_tooltip = { text = EVTOPTA_MNM_1837_TT } + trigger = { + NOT = { has_character_modifier = astronomical_insights_4 } + } + character_event = { id = MNM.1835 days = 60 random = 20 } + } + + option = { + name = EVTOPTB_MNM_1837 + custom_tooltip = { text = EVTOPTB_MNM_1837_TT } + trigger = { + NOT = { has_character_modifier = astronomical_insights_4 } + } + character_event = { id = MNM.1836 days = 20 } + } + + option = { + name = EVTOPTC_MNM_1837 + custom_tooltip = { text = EVTOPTB_MNM_1837_TT } + trigger = { + has_character_modifier = astronomical_insights_4 + } + custom_tooltip = { + text = EVTTOOLTIP_MNM_1837 + character_event = { id = MNM.1836 days = 20 } + } + } +} + +character_event = { # Progress - Productive evening + id = MNM.1840 + desc = EVTDESC_MNM_1840 + picture = GFX_evt_monk + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + hide_from = yes + + option = { + name = EVTOPTA_MNM_1840 + add_society_currency_trivial_effect = yes + } + + option = { + name = EVTOPTB_MNM_1840 + trigger = { trait = slothful } + random = { + chance = 30 + remove_trait_slothful_effect = yes + } + } + + option = { + name = EVTOPTC_MNM_1840 + trigger = { trait = depressed } + random = { + chance = 30 + remove_trait = depressed + } + } + + option = { + name = EVTOPTD_MNM_1840 + trigger = { trait = envious } + random = { + chance = 30 + remove_trait = envious + } + } + + after = { + increase_astronomical_insights_modifier_effect = yes + character_event = { id = MNM.1837 days = 5 } + } +} + +character_event = { # Progress - Neglect interacting with your spouse + id = MNM.1841 + desc = { + text = EVTDESCA_MNM_1841 + trigger = { + NOT = { + event_target:target_spouse = { + OR = { + has_opinion_modifier = { + modifier = opinion_out_of_touch + who = ROOT + } + has_opinion_modifier = { + modifier = opinion_out_of_touch_mild + who = ROOT + } + } + } + } + } + } + desc = { + text = EVTDESCB_MNM_1841 + trigger = { + event_target:target_spouse = { + OR = { + has_opinion_modifier = { + modifier = opinion_out_of_touch + who = ROOT + } + has_opinion_modifier = { + modifier = opinion_out_of_touch_mild + who = ROOT + } + } + } + } + } + picture = GFX_evt_quarrel + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + immediate = { + random_spouse = { + save_event_target_as = target_spouse + } + } + + option = { + name = { + text = EVTOPTA_MNM_1841_1 + trigger = { + NOT = { + event_target:target_spouse = { + OR = { + has_opinion_modifier = { + modifier = opinion_out_of_touch + who = ROOT + } + has_opinion_modifier = { + modifier = opinion_out_of_touch_mild + who = ROOT + } + } + } + } + } + } + name = { + text = EVTOPTA_MNM_1841_2 + trigger = { + event_target:target_spouse = { + OR = { + has_opinion_modifier = { + modifier = opinion_out_of_touch + who = ROOT + } + has_opinion_modifier = { + modifier = opinion_out_of_touch_mild + who = ROOT + } + } + } + } + } + increase_astronomical_insights_modifier_effect = yes + event_target:target_spouse = { + if = { + limit = { + is_lover = ROOT + } + random = { + chance = 35 + modifier = { + factor = 2 + OR = { + has_opinion_modifier = { + modifier = opinion_out_of_touch + who = ROOT + } + has_opinion_modifier = { + modifier = opinion_out_of_touch_mild + who = ROOT + } + } + } + remove_lover = ROOT + } + } + opinion = { + who = ROOT + modifier = opinion_out_of_touch + years = 10 + } + } + } + + option = { + name = { + text = EVTOPTB_MNM_1841_1 + trigger = { + NOT = { + event_target:target_spouse = { + OR = { + has_opinion_modifier = { + modifier = opinion_out_of_touch + who = ROOT + } + has_opinion_modifier = { + modifier = opinion_out_of_touch_mild + who = ROOT + } + } + } + } + } + } + name = { + text = EVTOPTB_MNM_1841_2 + trigger = { + event_target:target_spouse = { + OR = { + has_opinion_modifier = { + modifier = opinion_out_of_touch + who = ROOT + } + has_opinion_modifier = { + modifier = opinion_out_of_touch_mild + who = ROOT + } + } + } + } + } + + event_target:target_spouse = { + opinion = { + who = ROOT + modifier = opinion_out_of_touch_mild + years = 10 + } + } + } + + after = { + character_event = { id = MNM.1837 days = 5 } + } +} + +character_event = { # Progress - Child wants help to sleep + id = MNM.1842 + desc = EVTDESCA_MNM_1842 + picture = GFX_evt_daughter_asking_father + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + immediate = { + random_child = { + limit = { + age = 4 + NOT = { age = 14 } + } + save_event_target_as = target_child + } + if = { + limit = { has_a_herb_ingredient_trigger = yes } + select_random_hermetic_ingredient_herb_effect = yes + break = yes + } + if = { + limit = { has_an_animal_part_ingredient_trigger = yes } + select_random_hermetic_ingredient_animal_part_effect = yes + break = yes + } + if = { + limit = { has_a_powder_ingredient_trigger = yes } + select_random_hermetic_ingredient_powder_effect = yes + break = yes + } + if = { + limit = { has_a_liquid_ingredient_trigger = yes } + select_random_hermetic_ingredient_liquid_effect = yes + } + } + + option = { + name = EVTOPTA_MNM_1842 + increase_astronomical_insights_modifier_effect = yes + event_target:target_child = { + if = { + limit = { + has_dlc = "Conclave" + } + random_list = { + 20 = { add_trait = timid } + 20 = { add_trait = indolent } + 20 = { add_trait = fussy } + 40 = { } + } + } + if = { + limit = { + NOT = { has_dlc = "Conclave" } + } + random_list = { + 20 = { add_trait = slothful } + 20 = { add_trait = envious } + 20 = { add_trait = arbitrary } + 40 = { } + } + } + } + + event_target:target_child = { + opinion = { + who = ROOT + modifier = opinion_bad_parent + years = 25 + } + } + } + + option = { + name = EVTOPTB_MNM_1842 + + event_target:target_child = { + opinion = { + who = ROOT + modifier = opinion_bad_parent + years = 25 + } + } + } + + option = { #this will help you sleep (uses ingredient) + tooltip_info = yes + custom_tooltip = { text = ingredient_option_available_tt } + + name = { + text = EVTOPTC_MNM_1842_herb + trigger = { has_selected_herb_ingredient_1_trigger = yes } + } + name = { + text = EVTOPTC_MNM_1842_animal_part + trigger = { has_selected_animal_part_ingredient_1_trigger = yes } + } + name = { + text = EVTOPTC_MNM_1842_powder + trigger = { has_selected_powder_ingredient_1_trigger = yes } + } + name = { + text = EVTOPTC_MNM_1842_liquid + trigger = { has_selected_liquid_ingredient_1_trigger = yes } + } + + increase_astronomical_insights_modifier_effect = yes + + if = { # if you gave them a herbal tea... + limit = { + has_selected_herb_ingredient_1_trigger = yes + } + event_target:target_child = { + opinion = { + who = ROOT + modifier = comforted_opinion + years = 5 + } + } + } + + if = { # if you gave them animal part broth... + limit = { + has_selected_animal_part_ingredient_1_trigger = yes + } + event_target:target_child = { + opinion = { + who = ROOT + modifier = opinion_cheered_up + years = 2 + } + } + } + + if = { # if you gave them a metal powder... + limit = { + has_selected_powder_ingredient_1_trigger = yes + } + event_target:target_child = { + add_character_modifier = { + modifier = nauseous_from_potion + years = 1 + } + } + } + + if = { # if you fed them mercury, for instance... + limit = { + has_selected_liquid_ingredient_1_trigger = yes + } + event_target:target_child = { + add_character_modifier = { + modifier = nauseous_from_potion + years = 1 + } + } + } + + destroy_selected_ingredient_1_effect = yes + + trigger = { + any_artifact = { has_artifact_flag = ingredient } + } + } + + after = { + character_event = { id = MNM.1837 days = 5 } + hidden_effect = { + remove_selection_of_ingredients_effect = yes + } + } +} + +character_event = { # Progress - Neglect taking care of accounting + id = MNM.1843 + desc = EVTDESC_MNM_1843 + picture = GFX_evt_relic_box + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + option = { + name = EVTOPTA_MNM_1843 + increase_astronomical_insights_modifier_effect = yes + add_character_modifier = { + modifier = neglected_accounting + years = 5 + } + scaled_wealth = { + value = -0.5 + min = -25 + max = -70 + } + } + + option = { + name = EVTOPTB_MNM_1843 + scaled_wealth = { + value = -0.3 + min = -15 + max = -40 + } + } + + after = { + character_event = { id = MNM.1837 days = 5 } + } +} + +character_event = { # Progress - Friends upset about missed event + id = MNM.1844 + desc = EVTDESC_MNM_1844 + picture = GFX_evt_bad_news + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + immediate = { + random_friend = { + save_event_target_as = target_friend + } + + if = { + limit = { has_a_herb_ingredient_trigger = yes } + select_random_hermetic_ingredient_herb_effect = yes + break = yes + } + if = { + limit = { has_an_animal_part_ingredient_trigger = yes } + select_random_hermetic_ingredient_animal_part_effect = yes + break = yes + } + if = { + limit = { has_a_powder_ingredient_trigger = yes } + select_random_hermetic_ingredient_powder_effect = yes + break = yes + } + if = { + limit = { has_a_liquid_ingredient_trigger = yes } + select_random_hermetic_ingredient_liquid_effect = yes + } + } + + option = { + name = EVTOPTA_MNM_1844 + increase_astronomical_insights_modifier_effect = yes + event_target:target_friend = { + random = { + chance = 30 + remove_friend = ROOT + } + opinion = { + modifier = opinion_forgot_important_occasion + who = ROOT + years = 15 + } + } + } + + option = { + name = EVTOPTB_MNM_1844 + event_target:target_friend = { + opinion = { + modifier = opinion_forgot_important_occasion_mild + who = ROOT + years = 15 + } + } + } + + option = { + tooltip_info = yes + custom_tooltip = { text = ingredient_option_available_tt } + + name = { + text = EVTOPTC_MNM_1844_herb + trigger = { has_selected_herb_ingredient_1_trigger = yes } + } + name = { + text = EVTOPTC_MNM_1844_animal_part + trigger = { has_selected_animal_part_ingredient_1_trigger = yes } + } + name = { + text = EVTOPTC_MNM_1844_powder + trigger = { has_selected_powder_ingredient_1_trigger = yes } + } + name = { + text = EVTOPTC_MNM_1844_liquid + trigger = { has_selected_liquid_ingredient_1_trigger = yes } + } + + increase_astronomical_insights_modifier_effect = yes + + if = { # if you gave them a herbal tea... + limit = { + has_selected_herb_ingredient_1_trigger = yes + } + event_target:target_friend = { + opinion = { + who = ROOT + modifier = comforted_opinion + years = 5 + } + } + } + + if = { # if you gave them animal part broth... + limit = { + has_selected_animal_part_ingredient_1_trigger = yes + } + event_target:target_friend = { + opinion = { + who = ROOT + modifier = opinion_cheered_up + years = 5 + } + } + } + + if = { # if you gave them a metal powder... + limit = { + has_selected_powder_ingredient_1_trigger = yes + } + event_target:target_friend = { + opinion = { + who = ROOT + modifier = opinion_cheered_up + years = 5 + } + } + } + + if = { # if you fed them mercury, for instance... + limit = { + has_selected_liquid_ingredient_1_trigger = yes + } + event_target:target_friend = { + add_character_modifier = { + modifier = nauseous_from_potion + years = 1 + } + } + } + + destroy_selected_ingredient_1_effect = yes + + trigger = { + any_artifact = { has_artifact_flag = ingredient } + } + } + + after = { + character_event = { id = MNM.1837 days = 5 } + remove_selection_of_ingredients_effect = yes + } +} + +character_event = { # Progress - Absent-mindedness in meetings + id = MNM.1845 + desc = EVTDESC_MNM_1845 + picture = GFX_evt_state_diplomacy + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + immediate = { + random_courtier_or_vassal = { + limit = { + has_job_title = yes + } + save_event_target_as = councillor1 + } + random_courtier_or_vassal = { + limit = { + has_job_title = yes + NOT = { character = event_target:councillor1 } + } + save_event_target_as = councillor2 + } + } + + option = { + name = EVTOPTA_MNM_1845 + increase_astronomical_insights_modifier_effect = yes + + event_target:councillor2 = { + opinion = { + modifier = opinion_fired_from_council + who = ROOT + years = 5 + } + trigger_switch = { + on_trigger = has_job_title + job_chancellor = { remove_title = job_chancellor } + job_marshal = { remove_title = job_marshal } + job_treasurer = { remove_title = job_treasurer } + job_spymaster = { remove_title = job_spymaster } + job_spiritual = { remove_title = job_spiritual } + } + } + } + + option = { + name = EVTOPTB_MNM_1845 + event_target:councillor1 = { + opinion = { + modifier = opinion_angry + who = ROOT + years = 5 + } + } + } + + after = { + character_event = { id = MNM.1837 days = 5 } + } +} + +# Progress event: use ingredients +character_event = { + id = MNM.1855 + desc = EVTDESC_MNM_1855 + picture = GFX_evt_experiment + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + immediate = { + select_random_hermetic_ingredient_herb_effect = yes + select_random_hermetic_ingredient_animal_part_effect = yes + select_random_hermetic_ingredient_liquid_effect = yes + select_random_hermetic_ingredient_powder_effect = yes + } + + option = { # Smoke something...! + name = EVTOPTA_MNM_1855 + + random = { + chance = 30 + increase_astronomical_insights_modifier_effect = yes + } + + destroy_selected_ingredient_1_effect = yes + + trigger = { + has_selected_herb_ingredient_1_trigger = yes + } + } + + option = { # Cook something...! + name = EVTOPTB_MNM_1855 + + random = { + chance = 40 + increase_astronomical_insights_modifier_effect = yes + } + + destroy_selected_ingredient_2_effect = yes + + trigger = { + has_selected_animal_part_ingredient_2_trigger = yes + } + } + + option = { # I'll keep it under my pillow + name = EVTOPTC_MNM_1855 + + random = { + chance = 50 + increase_astronomical_insights_modifier_effect = yes + } + + destroy_selected_ingredient_2_effect = yes + + trigger = { + has_selected_powder_ingredient_2_trigger = yes + } + } + + option = { # Combine several somethings...! + tooltip_info = yes + custom_tooltip = { text = multiple_ingredient_option_available_tt } + + name = EVTOPTD_MNM_1855 + + random_list = { + 85 = { + increase_astronomical_insights_modifier_effect = yes + } + 15 = { + add_maimed_trait_effect = yes + } + } + + destroy_selected_ingredient_1_and_2_effect = yes + + trigger = { + has_selected_liquid_ingredient_2_trigger = yes + } + } + + option = { #I'd rather not... + name = EVTOPTE_MNM_1855 + } + + after = { + character_event = { id = MNM.1837 days = 5 } + remove_selection_of_ingredients_effect = yes + } +} + + +character_event = { # Outcome - Tracking planets + id = MNM.1846 + desc = EVTDESC_MNM_1846 + picture = GFX_evt_comet + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + option = { + name = EVTOPTA_MNM_1846 + random = { + chance = 15 + add_trait = patient + } + clr_quest = quest_hermetics_observe_sky + sound_effect = hermetic_society_observe_planet + add_mission_succeed_influence_effect = yes + add_society_currency_medium_effect = yes + remove_astronomical_insight_modifier_effect = yes + } +} + +character_event = { # Outcome - Predicting star-fall + id = MNM.1847 + desc = EVTDESC_MNM_1847 + picture = GFX_evt_comet + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + option = { + name = EVTOPTA_MNM_1847 # Invite everyone to this occasion + character_event = { id = MNM.1853 days = 190 random = 70 } + } + + option = { + name = EVTOPTB_MNM_1847 # I'll remember the day and observe it myself + character_event = { id = MNM.1854 days = 190 random = 70 } + } +} + +character_event = { # Outcome - Name a newly found star + id = MNM.1848 + desc = EVTDESC_MNM_1848 + picture = GFX_evt_comet + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + immediate = { + random_child = { + limit = { + NOT = { + any_sibling = { + age = PREV + OR = { + mother = { character = ROOT } + father = { character = ROOT } + } + NOT = { has_character_modifier = got_named_star } + } + } + } + save_event_target_as = target_child + } + random_spouse = { + limit = { + NOT = { has_character_modifier = got_named_star } + } + save_event_target_as = target_spouse + } + random_friend = { + limit = { + NOT = { has_character_modifier = got_named_star } + } + save_event_target_as = target_friend + } + } + + option = { # Name it after my child + name = EVTOPTA_MNM_1848 + trigger = { + event_target:target_child = { always = yes } + } + + event_target:target_child = { + add_character_modifier = { + modifier = got_named_star + duration = -1 + } + opinion = { + who = ROOT + modifier = opinion_gift_from_above + years = 20 + } + } + } + + option = { # Name it after my spouse + name = EVTOPTB_MNM_1848 + trigger = { + event_target:target_spouse = { always = yes } + } + + event_target:target_spouse = { + add_character_modifier = { + modifier = got_named_star + duration = -1 + } + if = { + limit = { + opinion = { + who = ROOT + value = 20 + } + } + add_lover = ROOT + break = yes + } + opinion = { + who = ROOT + modifier = opinion_gift_from_above + years = 20 + } + } + } + + option = { # Name it after a friend + name = EVTOPTC_MNM_1848 + trigger = { + event_target:target_friend = { always = yes } + } + + event_target:target_friend = { + add_character_modifier = { + modifier = got_named_star + duration = -1 + } + opinion = { + who = ROOT + modifier = opinion_gift_from_above + years = 20 + } + } + } + + option = { # Name it after myself + name = EVTOPTD_MNM_1848 + add_trait = proud + add_character_modifier = { + modifier = got_named_star + duration = -1 + } + } + + after = { + clr_quest = quest_hermetics_observe_sky + sound_effect = hermetic_society_observe_planet + add_mission_succeed_influence_effect = yes + add_society_currency_medium_effect = yes + remove_astronomical_insight_modifier_effect = yes + } +} + +long_character_event = { # Outcome - Observe zodiac stars + id = MNM.1850 + desc = EVTDESC_MNM_1850 + picture = GFX_evt_comet + border = GFX_event_long_frame_religion + + is_triggered_only = yes + + option = { + name = EVTOPTA_MNM_1850 + add_western_zodiac_trait_effect = yes + clr_quest = quest_hermetics_observe_sky + sound_effect = hermetic_society_observe_planet + add_mission_succeed_influence_effect = yes + add_society_currency_medium_effect = yes + remove_astronomical_insight_modifier_effect = yes + } +} + +character_event = { # Outcome - Fail to observe anything of interest + id = MNM.1851 + desc = EVTDESC_MNM_1851 + picture = GFX_evt_comet + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + option = { + name = EVTOPTA_MNM_1851 + clr_quest = { id = quest_hermetics_observe_sky failure = yes } + add_mission_fail_influence_effect = yes + remove_astronomical_insight_modifier_effect = yes + } +} + +character_event = { # Notification - Named star + id = MNM.1852 + desc = EVTDESC_MNM_1852 + picture = GFX_evt_comet + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + option = { + name = EVTOPTA_MNM_1852 + tooltip = { + add_character_modifier = { + modifier = got_named_star + duration = -1 + } + } + } +} + +# You invited everyone to this star-fall observation +long_character_event = { + id = MNM.1853 + picture = GFX_evt_comet + border = GFX_event_long_frame_religion + + is_triggered_only = yes + + desc = { + text = EVTDESCA_MNM_1853 + trigger = { has_character_flag = comet_success } + } + desc = { + text = EVTDESCB_MNM_1853 + trigger = { has_character_flag = comet_failure } + } + + immediate = { + random_list = { + 50 = { + set_character_flag = comet_success + } + 50 = { + modifier = { + factor = 0.5 + has_character_modifier = astronomical_insights_2 + } + modifier = { + factor = 0.5 + has_character_modifier = astronomical_insights_3 + } + modifier = { + factor = 0.5 + has_character_modifier = astronomical_insights_4 + } + + set_character_flag = comet_failure + } + } + } + + option = { + name = EVTOPTA_MNM_1853 + trigger = { has_character_flag = comet_success } + + add_trait = proud + prestige = 100 + + clr_quest = quest_hermetics_observe_sky + sound_effect = hermetic_society_observe_planet + add_mission_succeed_influence_effect = yes + add_society_currency_medium_effect = yes + } + + option = { + name = EVTOPTB_MNM_1853 + trigger = { has_character_flag = comet_failure } + add_character_modifier = { + modifier = failed_to_predict_star_fall + } + + clr_quest = { id = quest_hermetics_observe_sky failure = yes } + add_mission_fail_influence_effect = yes + } + + after = { + clr_character_flag = comet_success + clr_character_flag = comet_failure + remove_astronomical_insight_modifier_effect = yes + } +} + +# You observed the star-fall alone +long_character_event = { + id = MNM.1854 + picture = GFX_evt_comet + border = GFX_event_long_frame_religion + + is_triggered_only = yes + + desc = { + text = EVTDESCA_MNM_1854 + trigger = { has_character_flag = comet_success } + } + desc = { + text = EVTDESCB_MNM_1854 + trigger = { has_character_flag = comet_failure } + } + + immediate = { + random_list = { + 50 = { + set_character_flag = comet_success + } + 50 = { + modifier = { + factor = 0.5 + has_character_modifier = astronomical_insights_2 + } + modifier = { + factor = 0.5 + has_character_modifier = astronomical_insights_3 + } + modifier = { + factor = 0.5 + has_character_modifier = astronomical_insights_4 + } + + set_character_flag = comet_failure + } + } + } + + option = { + name = EVTOPTA_MNM_1854 + trigger = { has_character_flag = comet_success } + + clr_quest = quest_hermetics_observe_sky + sound_effect = hermetic_society_observe_planet + add_mission_succeed_influence_effect = yes + add_society_currency_medium_effect = yes + } + + option = { + name = EVTOPTB_MNM_1854 + trigger = { has_character_flag = comet_failure } + + clr_quest = { id = quest_hermetics_observe_sky failure = yes } + add_mission_fail_influence_effect = yes + } + + after = { + clr_character_flag = comet_success + clr_character_flag = comet_failure + remove_astronomical_insight_modifier_effect = yes + } +} + +########################################################### +######### Inherited ingredient set-up event ######### +########################################################### +character_event = { + id = MNM.5107 + hide_window = yes + is_triggered_only = yes + + trigger = { + FROM = { has_artifact_flag = ingredient } #the artifact inherited must be an ingredient... + NOT = { has_character_flag = dealing_with_inherited_ingredients } #you mustn't already dealing with this... + } + + immediate = { + set_character_flag = dealing_with_inherited_ingredients + FROMFROM = { save_event_target_as = previous_ingredient_owner } #does this work on dead folk? + character_event = { id = MNM.5108 } + } +} + +#Dealing with inherited ingredients - delays the visible event +character_event = { + id = MNM.5108 + hide_window = yes + is_triggered_only = yes + + immediate = { + if = { + limit = { + ai = yes + FROMFROM = { has_artifact_flag = ingredient } + } + FROMFROM = { destroy_artifact = yes } + } + if = { + limit = { + ai = no + NOT = { has_character_flag = owns_inherited_ingredients } + } + set_character_flag = owns_inherited_ingredients + character_event = { id = MNM.5108 days = 10 } #if this is the first instance of this event, send this event again to check if you ever inherited more than one ingredient... + break = yes + } + if = { #run second time around + limit = { + ai = no + has_character_flag = owns_inherited_ingredients + any_artifact = { + count = 2 + has_artifact_flag = ingredient + } + } + repeat_event = { id = MNM.5109 } #send visible event + } + } +} + +#Inherited ingredients - keep or no? +character_event = { + id = MNM.5109 + picture = GFX_evt_experiment + border = GFX_event_normal_frame_religion + is_triggered_only = yes + + desc = { + text = EVTDESC_MNM_5109_hermetic + trigger = { + society_member_of = hermetics + } + } + desc = { + text = EVTDESC_MNM_5109_other_society + trigger = { + NOT = { society_member_of = hermetics } + is_in_society = yes + } + } + desc = { + text = EVTDESC_MNM_5109_no_society + trigger = { + is_in_society = no + } + } + desc = { + text = EVTDESC_MNM_5109_child + trigger = { + NOT = { age = 16 } + } + } + + immediate = { + select_random_hermetic_ingredient_effect = yes + select_random_hermetic_ingredient_effect = yes + } + + option = { + name = EVTOPTA_MNM_5109 + destroy_selected_ingredient_1_and_2_effect = yes + piety = 25 + ai_chance = { factor = 5 } + } + option = { + name = EVTOPTB_MNM_5109 + destroy_all_ingredients_effect = yes + piety = 25 + prestige = 25 + ai_chance = { factor = 100 } + } + option = { + name = EVTOPTC_MNM_5109 + } + + after = { + remove_selection_of_ingredients_effect = yes + clr_character_flag = owns_inherited_ingredients + clr_character_flag = dealing_with_inherited_ingredients + } +} + +#Paranoid ward-making (random event, fired from on_society_bi_yearly_pulse) +character_event = { + id = MNM.5110 + desc = EVTDESC_MNM_5110 + picture = GFX_evt_shady_meeting + border = GFX_event_normal_frame_intrigue + is_triggered_only = yes + + trigger = { + has_dlc = "Mystics" + society_member_of = hermetics + NOT = { has_character_flag = small_defense_against_dark_forces } + NOT = { has_character_flag = medium_defense_against_dark_forces } + NOT = { has_character_flag = large_defense_against_dark_forces } + + OR = { + NOT = { + has_game_rule = { + name = supernatural_events + value = off + } + } + NOT = { + has_game_rule = { + name = devil_worshipers + value = none + } + } + } + + any_artifact = { + count = 3 + has_artifact_flag = ingredient + } + } + + immediate = { + select_random_hermetic_ingredient_effect = yes + select_random_hermetic_ingredient_effect = yes + } + + option = { #One ingredient is fine + name = EVTOPTA_MNM_5110 + prestige = 15 + piety = -10 + destroy_selected_ingredient_1_effect = yes + + clr_character_flag = small_defense_against_dark_forces + clr_character_flag = medium_defense_against_dark_forces + clr_character_flag = large_defense_against_dark_forces + set_character_flag = small_defense_against_dark_forces + + ai_chance = { factor = 10 } + } + option = { #I want to use both ingredients + name = EVTOPTB_MNM_5110 + prestige = 25 + piety = -20 + destroy_selected_ingredient_1_and_2_effect = yes + + clr_character_flag = small_defense_against_dark_forces + clr_character_flag = medium_defense_against_dark_forces + clr_character_flag = large_defense_against_dark_forces + set_character_flag = medium_defense_against_dark_forces + + ai_chance = { factor = 10 } + } + option = { #I'll cover my quarters in these things! + name = EVTOPTC_MNM_5110 + prestige = 35 + piety = -30 + destroy_all_ingredients_effect = yes + + clr_character_flag = small_defense_against_dark_forces + clr_character_flag = medium_defense_against_dark_forces + clr_character_flag = large_defense_against_dark_forces + set_character_flag = large_defense_against_dark_forces + + ai_chance = { factor = 100 } + } + option = { #this is paranoia! + name = EVTOPTD_MNM_5110 + ai_chance = { factor = 0 } + } + after = { + remove_selection_of_ingredients_effect = yes + } +} \ No newline at end of file diff --git a/LCDA/events/mongol_events.txt b/LCDA/events/mongol_events.txt new file mode 100644 index 0000000..b6f2769 --- /dev/null +++ b/LCDA/events/mongol_events.txt @@ -0,0 +1,9237 @@ +################################### +# +# Mongol Horde Events +# +# Id 60000 - 61000 is reserved +# +################################### + +## Rumors of a Steppe Menace +#narrative_event = { +# id = 60000 +# title = EVTNAME60000 +# desc = EVTDESC60000 +# major = yes +# +# picture = "GFX_evt_mongols" +# border = "GFX_event_narrative_frame_war" +# +# only_playable = yes +# religion = catholic +# only_men = yes +# min_age = 16 +# +# trigger = { +# always = no # replaced by new mongol arrival event +# year = 1215 +# +# controls_religion = yes # Let it happen for the Pope - he's always around +# +# NOT = { has_global_flag = mongol_horde_rumors } +# NOT = { has_global_flag = il_khanate_arrival } +# NOT = { has_global_flag = golden_horde_arrival } +# } +# +# mean_time_to_happen = { +# months = 1 +# } +# +# immediate = { +# set_global_flag = mongol_horde_rumors +# activate_title = { title = e_il-khanate status = yes } +# create_random_soldier = { +# random_traits = no +# dynasty = 101916 # Toluid +# name = "Hulegu" +# culture = mongol +# religion = tengri_pagan +# age = 30 +# attributes = { +# martial = 8 +# diplomacy = 4 +# stewardship = 5 +# intrigue = 4 +# learning = 3 +# } +# health = 6 +# fertility = 0.7 +# trait = brilliant_strategist +# trait = wroth +# trait = cruel +# trait = proud +# trait = zealous +# } +# new_character = { +# e_il-khanate = { +# grant_title = PREV +# } +# set_defacto_liege = THIS +# } +# any_playable_ruler = { +# limit = { ai = no } +# chronicle = { +# entry = CHRONICLE_MONGOL_RUMORS +# portrait = [New.GetID] +# } +# } +# +# activate_title = { title = e_golden_horde status = yes } +# create_random_soldier = { +# random_traits = no +# dynasty = 7379 # Jochid +# name = "Batu" +# culture = mongol +# religion = tengri_pagan +# age = 33 +# attributes = { +# martial = 9 +# diplomacy = 5 +# stewardship = 8 +# intrigue = 7 +# learning = 3 +# } +# health = 6 +# fertility = 0.7 +# trait = brilliant_strategist +# trait = diligent +# trait = humble +# trait = gregarious +# trait = just +# } +# new_character = { +# e_golden_horde = { +# grant_title = PREV +# } +# set_defacto_liege = THIS +# } +# } +# +# option = { +# name = "EVTOPTA60000" +# } +#} +# +## Arrival of the Ilkhanate +#narrative_event = { +# id = 60001 +# title = "EVTNAME60001" +# desc = "EVTDESC60001" +# major = yes +# hide_new = yes +# +# picture = "GFX_evt_mongols" +# border = "GFX_event_narrative_frame_war" +# +# only_playable = yes +# +# trigger = { +# always = no # replaced by new mongol arrival event +# year = 1216 +# has_landed_title = e_il-khanate +# NOT = { year = 1224 } +# NOT = { has_global_flag = il_khanate_arrival } +# } +# +# mean_time_to_happen = { +# months = 24 +# } +# +# option = { +# name = "OK" +# trigger = { +# has_landed_title = e_il-khanate +# } +# set_global_flag = il_khanate_arrival +# 1423 = { # Fergana +# kingdom = { +# ROOT = { +# war = { +# casus_belli = tribal_invasion +# target = PREVPREV # The top liege of the owner +# thirdparty_title = PREV # The de jure kingdom +# } +# } +# } +# } +# wealth = 5000 +# create_character = { +# random_traits = yes +# dynasty = random +# religion = tengri_pagan +# culture = ROOT +# female = no +# age = 30 +# attributes = { +# martial = 12 +# } +# trait = brilliant_strategist +# } +# new_character = { +# spawn_unit = { +# province = 1423 # Fergana +# troops = +# { +# horse_archers = { 2700 2700 } +# light_cavalry = { 1600 1600 } +# light_infantry = { 541 541 } +# heavy_infantry = { 210 210 } +# knights = { 47 47 } +# } +# } +# } +# create_character = { +# random_traits = yes +# dynasty = random +# religion = tengri_pagan +# culture = ROOT +# female = no +# age = 35 +# attributes = { +# martial = 12 +# } +# trait = brilliant_strategist +# } +# new_character = { +# spawn_unit = { +# province = 1423 # Fergana +# troops = +# { +# horse_archers = { 2700 2700 } +# light_cavalry = { 1600 1600 } +# light_infantry = { 541 541 } +# heavy_infantry = { 210 210 } +# knights = { 47 47 } +# } +# } +# } +# create_character = { +# random_traits = yes +# dynasty = random +# religion = tengri_pagan +# culture = ROOT +# female = no +# age = 39 +# attributes = { +# martial = 12 +# } +# trait = brilliant_strategist +# } +# new_character = { +# spawn_unit = { +# province = 1423 # Fergana +# troops = +# { +# horse_archers = { 2700 2700 } +# light_cavalry = { 1600 1600 } +# light_infantry = { 541 541 } +# heavy_infantry = { 210 210 } +# knights = { 47 47 } +# } +# } +# } +# +# create_character = { +# random_traits = yes +# dynasty = random +# religion = tengri_pagan +# culture = ROOT +# female = no +# age = 30 +# attributes = { +# martial = 12 +# } +# trait = brilliant_strategist +# } +# new_character = { +# spawn_unit = { +# province = 1423 # Fergana +# troops = +# { +# horse_archers = { 2700 2700 } +# light_cavalry = { 1600 1600 } +# light_infantry = { 541 541 } +# heavy_infantry = { 210 210 } +# knights = { 47 47 } +# } +# } +# } +# create_character = { +# random_traits = yes +# dynasty = random +# religion = tengri_pagan +# culture = ROOT +# female = no +# age = 35 +# attributes = { +# martial = 12 +# } +# trait = brilliant_strategist +# } +# new_character = { +# spawn_unit = { +# province = 1423 # Fergana +# troops = +# { +# horse_archers = { 2700 2700 } +# light_cavalry = { 1600 1600 } +# light_infantry = { 541 541 } +# heavy_infantry = { 210 210 } +# knights = { 47 47 } +# } +# } +# } +# create_character = { +# random_traits = yes +# dynasty = random +# religion = tengri_pagan +# culture = ROOT +# female = no +# age = 39 +# attributes = { +# martial = 12 +# } +# trait = brilliant_strategist +# } +# new_character = { +# spawn_unit = { +# province = 1423 # Fergana +# troops = +# { +# horse_archers = { 2700 2700 } +# light_cavalry = { 1600 1600 } +# light_infantry = { 541 541 } +# heavy_infantry = { 210 210 } +# knights = { 47 47 } +# } +# } +# } +# create_character = { +# random_traits = yes +# dynasty = random +# religion = tengri_pagan +# culture = ROOT +# female = no +# age = 30 +# attributes = { +# martial = 12 +# } +# trait = brilliant_strategist +# } +# new_character = { +# spawn_unit = { +# province = 1423 # Fergana +# troops = +# { +# horse_archers = { 2700 2700 } +# light_cavalry = { 1600 1600 } +# light_infantry = { 541 541 } +# heavy_infantry = { 210 210 } +# knights = { 47 47 } +# } +# } +# } +# create_character = { +# random_traits = yes +# dynasty = random +# religion = tengri_pagan +# culture = ROOT +# female = no +# age = 35 +# attributes = { +# martial = 12 +# } +# trait = brilliant_strategist +# } +# new_character = { +# spawn_unit = { +# province = 1423 # Fergana +# troops = +# { +# horse_archers = { 2700 2700 } +# light_cavalry = { 1600 1600 } +# light_infantry = { 541 541 } +# heavy_infantry = { 210 210 } +# knights = { 47 47 } +# } +# } +# } +# create_character = { +# random_traits = yes +# dynasty = random +# religion = tengri_pagan +# culture = ROOT +# female = no +# age = 39 +# attributes = { +# martial = 12 +# } +# trait = brilliant_strategist +# } +# new_character = { +# spawn_unit = { +# province = 1423 # Fergana +# troops = +# { +# horse_archers = { 2700 2700 } +# light_cavalry = { 1600 1600 } +# light_infantry = { 541 541 } +# heavy_infantry = { 210 210 } +# knights = { 47 47 } +# } +# } +# } +# +# create_character = { +# random_traits = yes +# dynasty = random +# religion = tengri_pagan +# culture = ROOT +# female = no +# age = 30 +# attributes = { +# martial = 12 +# } +# trait = brilliant_strategist +# } +# new_character = { +# spawn_unit = { +# province = 1181 # Oshrusana +# troops = +# { +# horse_archers = { 2700 2700 } +# light_cavalry = { 1600 1600 } +# light_infantry = { 541 541 } +# heavy_infantry = { 210 210 } +# knights = { 47 47 } +# } +# } +# } +# create_character = { +# random_traits = yes +# dynasty = random +# religion = tengri_pagan +# culture = ROOT +# female = no +# age = 35 +# attributes = { +# martial = 12 +# } +# trait = brilliant_strategist +# } +# new_character = { +# spawn_unit = { +# province = 1181 # Oshrusana +# troops = +# { +# horse_archers = { 2700 2700 } +# light_cavalry = { 1600 1600 } +# light_infantry = { 541 541 } +# heavy_infantry = { 210 210 } +# knights = { 47 47 } +# } +# } +# } +# create_character = { +# random_traits = yes +# dynasty = random +# religion = tengri_pagan +# culture = ROOT +# female = no +# age = 39 +# attributes = { +# martial = 12 +# } +# trait = brilliant_strategist +# } +# new_character = { +# spawn_unit = { +# province = 1181 # Oshrusana +# troops = +# { +# horse_archers = { 2700 2700 } +# light_cavalry = { 1600 1600 } +# light_infantry = { 541 541 } +# heavy_infantry = { 210 210 } +# knights = { 47 47 } +# } +# } +# } +# +# create_character = { +# random_traits = yes +# dynasty = random +# religion = tengri_pagan +# culture = ROOT +# female = no +# age = 30 +# attributes = { +# martial = 12 +# } +# trait = brilliant_strategist +# } +# new_character = { +# spawn_unit = { +# province = 1181 # Oshrusana +# troops = +# { +# horse_archers = { 2700 2700 } +# light_cavalry = { 1600 1600 } +# light_infantry = { 541 541 } +# heavy_infantry = { 210 210 } +# knights = { 47 47 } +# } +# } +# } +# create_character = { +# random_traits = yes +# dynasty = random +# religion = tengri_pagan +# culture = ROOT +# female = no +# age = 35 +# attributes = { +# martial = 12 +# } +# trait = brilliant_strategist +# } +# new_character = { +# spawn_unit = { +# province = 1181 # Oshrusana +# troops = +# { +# horse_archers = { 2700 2700 } +# light_cavalry = { 1600 1600 } +# light_infantry = { 541 541 } +# heavy_infantry = { 210 210 } +# knights = { 47 47 } +# } +# } +# } +# create_character = { +# random_traits = yes +# dynasty = random +# religion = tengri_pagan +# culture = ROOT +# female = no +# age = 39 +# attributes = { +# martial = 12 +# } +# trait = brilliant_strategist +# } +# new_character = { +# spawn_unit = { +# province = 1181 # Oshrusana +# troops = +# { +# horse_archers = { 2700 2700 } +# light_cavalry = { 1600 1600 } +# light_infantry = { 541 541 } +# heavy_infantry = { 210 210 } +# knights = { 47 47 } +# } +# } +# } +# +# create_character = { +# random_traits = yes +# dynasty = random +# religion = tengri_pagan +# culture = ROOT +# female = no +# age = 30 +# attributes = { +# martial = 12 +# } +# trait = brilliant_strategist +# } +# new_character = { +# spawn_unit = { +# province = 1181 # Oshrusana +# troops = +# { +# horse_archers = { 2700 2700 } +# light_cavalry = { 1600 1600 } +# light_infantry = { 541 541 } +# heavy_infantry = { 210 210 } +# knights = { 47 47 } +# } +# } +# } +# create_character = { +# random_traits = yes +# dynasty = random +# religion = tengri_pagan +# culture = ROOT +# female = no +# age = 35 +# attributes = { +# martial = 12 +# } +# trait = brilliant_strategist +# } +# new_character = { +# spawn_unit = { +# province = 1181 # Oshrusana +# troops = +# { +# horse_archers = { 2700 2700 } +# light_cavalry = { 1600 1600 } +# light_infantry = { 541 541 } +# heavy_infantry = { 210 210 } +# knights = { 47 47 } +# } +# } +# } +# create_character = { +# random_traits = yes +# dynasty = random +# religion = tengri_pagan +# culture = ROOT +# female = no +# age = 39 +# attributes = { +# martial = 12 +# } +# trait = brilliant_strategist +# } +# new_character = { +# spawn_unit = { +# province = 1181 # Oshrusana +# troops = +# { +# horse_archers = { 2700 2700 } +# light_cavalry = { 1600 1600 } +# light_infantry = { 541 541 } +# heavy_infantry = { 210 210 } +# knights = { 47 47 } +# } +# } +# } +# +# random = { +# chance = 50 +# +# create_character = { +# random_traits = yes +# dynasty = random +# religion = tengri_pagan +# culture = ROOT +# female = no +# age = 30 +# attributes = { +# martial = 12 +# } +# trait = brilliant_strategist +# } +# new_character = { +# spawn_unit = { +# province = 903 # Samarkand +# troops = +# { +# horse_archers = { 2700 2700 } +# light_cavalry = { 1600 1600 } +# light_infantry = { 541 541 } +# heavy_infantry = { 210 210 } +# knights = { 47 47 } +# } +# } +# } +# create_character = { +# random_traits = yes +# dynasty = random +# religion = tengri_pagan +# culture = ROOT +# female = no +# age = 35 +# attributes = { +# martial = 12 +# } +# trait = brilliant_strategist +# } +# new_character = { +# spawn_unit = { +# province = 903 # Samarkand +# troops = +# { +# horse_archers = { 2700 2700 } +# light_cavalry = { 1600 1600 } +# light_infantry = { 541 541 } +# heavy_infantry = { 210 210 } +# knights = { 47 47 } +# } +# } +# } +# create_character = { +# random_traits = yes +# dynasty = random +# religion = tengri_pagan +# culture = ROOT +# female = no +# age = 39 +# attributes = { +# martial = 12 +# } +# trait = brilliant_strategist +# } +# new_character = { +# spawn_unit = { +# province = 903 # Samarkand +# troops = +# { +# horse_archers = { 2700 2700 } +# light_cavalry = { 1600 1600 } +# light_infantry = { 541 541 } +# heavy_infantry = { 210 210 } +# knights = { 47 47 } +# } +# } +# } +# } +# random = { +# chance = 50 +# create_character = { +# random_traits = yes +# dynasty = random +# religion = tengri_pagan +# culture = ROOT +# female = no +# age = 30 +# attributes = { +# martial = 12 +# } +# trait = brilliant_strategist +# } +# new_character = { +# spawn_unit = { +# province = 903 # Samarkand +# troops = +# { +# horse_archers = { 2700 2700 } +# light_cavalry = { 1600 1600 } +# light_infantry = { 541 541 } +# heavy_infantry = { 210 210 } +# knights = { 47 47 } +# } +# } +# } +# create_character = { +# random_traits = yes +# dynasty = random +# religion = tengri_pagan +# culture = ROOT +# female = no +# age = 35 +# attributes = { +# martial = 12 +# } +# trait = brilliant_strategist +# } +# new_character = { +# spawn_unit = { +# province = 903 # Samarkand +# troops = +# { +# horse_archers = { 2700 2700 } +# light_cavalry = { 1600 1600 } +# light_infantry = { 541 541 } +# heavy_infantry = { 210 210 } +# knights = { 47 47 } +# } +# } +# } +# create_character = { +# random_traits = yes +# dynasty = random +# religion = tengri_pagan +# culture = ROOT +# female = no +# age = 39 +# attributes = { +# martial = 12 +# } +# trait = brilliant_strategist +# } +# new_character = { +# spawn_unit = { +# province = 903 # Samarkand +# troops = +# { +# horse_archers = { 2700 2700 } +# light_cavalry = { 1600 1600 } +# light_infantry = { 541 541 } +# heavy_infantry = { 210 210 } +# knights = { 47 47 } +# } +# } +# } +# } +# +# # Some extra courtiers +# create_character = { +# random_traits = yes +# dynasty = random +# religion = tengri_pagan +# culture = ROOT +# female = no +# age = 16 +# } +# create_character = { +# random_traits = yes +# dynasty = random +# religion = tengri_pagan +# culture = ROOT +# female = no +# age = 18 +# } +# create_character = { +# random_traits = yes +# dynasty = random +# religion = tengri_pagan +# culture = ROOT +# female = no +# age = 18 +# } +# create_character = { +# random_traits = yes +# dynasty = random +# religion = tengri_pagan +# culture = ROOT +# female = no +# age = 20 +# } +# create_character = { +# random_traits = yes +# dynasty = random +# religion = tengri_pagan +# culture = ROOT +# female = no +# age = 25 +# } +# create_character = { +# random_traits = yes +# dynasty = random +# religion = tengri_pagan +# culture = ROOT +# female = no +# age = 26 +# } +# create_character = { +# random_traits = yes +# dynasty = random +# religion = tengri_pagan +# culture = ROOT +# female = no +# age = 28 +# } +# create_character = { +# random_traits = yes +# dynasty = random +# religion = tengri_pagan +# culture = ROOT +# female = yes +# age = 16 +# } +# create_character = { +# random_traits = yes +# dynasty = random +# religion = tengri_pagan +# culture = ROOT +# female = yes +# age = 17 +# } +# create_character = { +# random_traits = yes +# dynasty = random +# religion = tengri_pagan +# culture = ROOT +# female = yes +# age = 18 +# } +# create_character = { +# random_traits = yes +# dynasty = random +# religion = tengri_pagan +# culture = ROOT +# female = yes +# age = 18 +# } +# create_character = { +# random_traits = yes +# dynasty = random +# religion = tengri_pagan +# culture = ROOT +# female = yes +# age = 20 +# } +# } +# option = { +# name = "EVTOPTB60001" +# trigger = { +# religion_group = muslim +# NOT = { has_landed_title = e_il-khanate } +# } +# } +# option = { +# name = "EVTOPTC60001" +# trigger = { +# religion_group = christian +# NOT = { has_landed_title = e_il-khanate } +# } +# } +# option = { +# name = "EVTOPTD60001" +# trigger = { +# NOT = { religion_group = christian } +# NOT = { religion_group = muslim } +# NOT = { has_landed_title = e_il-khanate } +# } +# } +#} +# +# +## Arrival of the Golden Horde +#narrative_event = { +# id = 60002 +# title = "EVTNAME60002" +# desc = "EVTDESC60002" +# major = yes +# hide_new = yes +# +# picture = "GFX_evt_mongols" +# border = "GFX_event_narrative_frame_war" +# +# only_playable = yes +# +# trigger = { +# always = no # replaced by new mongol arrival event +# year = 1224 +# NOT = { year = 1250 } +# has_landed_title = e_golden_horde +# has_global_flag = il_khanate_arrival +# NOT = { has_global_flag = golden_horde_arrival } +# } +# +# mean_time_to_happen = { +# months = 120 +# modifier = { +# factor = 0.5 +# year = 1235 +# } +# modifier = { +# factor = 0.5 +# year = 1240 +# } +# } +# +# option = { +# name = "OK" +# trigger = { +# has_landed_title = e_golden_horde +# } +# set_global_flag = golden_horde_arrival +# if = { +# limit = { +# 1425 = { +# owner = { +# realm = { +# NOT = { title = e_il-khanate } +# } +# } +# } +# } +# 1425 = { # Ili +# kingdom = { +# ROOT = { +# war = { +# casus_belli = tribal_invasion +# target = PREVPREV # The top liege of the owner of the province +# thirdparty_title = PREV # The de jure kingdom +# } +# } +# } +# } +# } +# if = { +# limit = { +# war = no +# 1427 = { +# owner = { +# realm = { +# NOT = { title = e_il-khanate } +# } +# } +# } +# } +# 1427 = { # Urzhar +# kingdom = { +# ROOT = { +# war = { +# casus_belli = tribal_invasion +# target = PREVPREV # The top liege of the owner of the province +# thirdparty_title = PREV # The de jure kingdom +# } +# } +# } +# } +# } +# if = { +# limit = { +# war = no +# 1132 = { +# owner = { +# realm = { +# NOT = { title = e_il-khanate } +# } +# } +# } +# } +# 1132 = { # Kirghiz +# kingdom = { +# ROOT = { +# war = { +# casus_belli = tribal_invasion +# target = PREVPREV # The top liege of the owner of the province +# thirdparty_title = PREV # The de jure kingdom +# } +# } +# } +# } +# } +# if = { +# limit = { +# war = no +# 1329 = { +# owner = { +# realm = { +# NOT = { title = e_il-khanate } +# } +# } +# } +# } +# 1329 = { # Ket +# kingdom = { +# ROOT = { +# war = { +# casus_belli = tribal_invasion +# target = PREVPREV # The top liege of the owner of the province +# thirdparty_title = PREV # The de jure kingdom +# } +# } +# } +# } +# } +# if = { +# limit = { +# war = no +# 1205 = { +# owner = { +# realm = { +# NOT = { title = e_il-khanate } +# } +# } +# } +# } +# 1205 = { # Narim +# kingdom = { +# ROOT = { +# war = { +# casus_belli = tribal_invasion +# target = PREVPREV # The top liege of the owner of the province +# thirdparty_title = PREV # The de jure kingdom +# } +# } +# } +# } +# } +# if = { +# limit = { +# war = no +# 1306 = { +# owner = { +# realm = { +# NOT = { title = e_il-khanate } +# } +# } +# } +# } +# 1306 = { # Tura +# kingdom = { +# ROOT = { +# war = { +# casus_belli = tribal_invasion +# target = PREVPREV # The top liege of the owner of the province +# thirdparty_title = PREV # The de jure kingdom +# } +# } +# } +# } +# } +# if = { +# limit = { +# war = no +# } +# 1425 = { # Ili - Ok, we have no choice. DoW on the Il-Khanate. +# kingdom = { +# ROOT = { +# war = { +# casus_belli = tribal_invasion +# target = PREVPREV # The top liege of the owner of the province +# thirdparty_title = PREV # The de jure kingdom +# } +# } +# } +# } +# } +# +# wealth = 5000 +# +# create_character = { +# random_traits = yes +# dynasty = random +# religion = tengri_pagan +# culture = ROOT +# female = no +# age = 30 +# attributes = { +# martial = 12 +# } +# trait = brilliant_strategist +# } +# new_character = { +# spawn_unit = { +# province = 1425 # Ili +# troops = +# { +# horse_archers = { 2700 2700 } +# light_cavalry = { 1600 1600 } +# light_infantry = { 541 541 } +# heavy_infantry = { 210 210 } +# knights = { 47 47 } +# } +# } +# } +# create_character = { +# random_traits = yes +# dynasty = random +# religion = tengri_pagan +# culture = ROOT +# female = no +# age = 35 +# attributes = { +# martial = 12 +# } +# trait = brilliant_strategist +# } +# new_character = { +# spawn_unit = { +# province = 1425 # Ili +# troops = +# { +# horse_archers = { 2700 2700 } +# light_cavalry = { 1600 1600 } +# light_infantry = { 541 541 } +# heavy_infantry = { 210 210 } +# knights = { 47 47 } +# } +# } +# } +# create_character = { +# random_traits = yes +# dynasty = random +# religion = tengri_pagan +# culture = ROOT +# female = no +# age = 39 +# attributes = { +# martial = 12 +# } +# trait = brilliant_strategist +# } +# new_character = { +# spawn_unit = { +# province = 1425 # Ili +# troops = +# { +# horse_archers = { 2700 2700 } +# light_cavalry = { 1600 1600 } +# light_infantry = { 541 541 } +# heavy_infantry = { 210 210 } +# knights = { 47 47 } +# } +# } +# } +# +# create_character = { +# random_traits = yes +# dynasty = random +# religion = tengri_pagan +# culture = ROOT +# female = no +# age = 30 +# attributes = { +# martial = 12 +# } +# trait = brilliant_strategist +# } +# new_character = { +# spawn_unit = { +# province = 1425 # Ili +# troops = +# { +# horse_archers = { 2700 2700 } +# light_cavalry = { 1600 1600 } +# light_infantry = { 541 541 } +# heavy_infantry = { 210 210 } +# knights = { 47 47 } +# } +# } +# } +# create_character = { +# random_traits = yes +# dynasty = random +# religion = tengri_pagan +# culture = ROOT +# female = no +# age = 35 +# attributes = { +# martial = 12 +# } +# trait = brilliant_strategist +# } +# new_character = { +# spawn_unit = { +# province = 1425 # Ili +# troops = +# { +# horse_archers = { 2700 2700 } +# light_cavalry = { 1600 1600 } +# light_infantry = { 541 541 } +# heavy_infantry = { 210 210 } +# knights = { 47 47 } +# } +# } +# } +# create_character = { +# random_traits = yes +# dynasty = random +# religion = tengri_pagan +# culture = ROOT +# female = no +# age = 39 +# attributes = { +# martial = 12 +# } +# trait = brilliant_strategist +# } +# new_character = { +# spawn_unit = { +# province = 1425 # Ili +# troops = +# { +# horse_archers = { 2700 2700 } +# light_cavalry = { 1600 1600 } +# light_infantry = { 541 541 } +# heavy_infantry = { 210 210 } +# knights = { 47 47 } +# } +# } +# } +# +# create_character = { +# random_traits = yes +# dynasty = random +# religion = tengri_pagan +# culture = ROOT +# female = no +# age = 30 +# attributes = { +# martial = 12 +# } +# trait = brilliant_strategist +# } +# new_character = { +# spawn_unit = { +# province = 1425 # Ili +# troops = +# { +# horse_archers = { 2700 2700 } +# light_cavalry = { 1600 1600 } +# light_infantry = { 541 541 } +# heavy_infantry = { 210 210 } +# knights = { 47 47 } +# } +# } +# } +# create_character = { +# random_traits = yes +# dynasty = random +# religion = tengri_pagan +# culture = ROOT +# female = no +# age = 35 +# attributes = { +# martial = 12 +# } +# trait = brilliant_strategist +# } +# new_character = { +# spawn_unit = { +# province = 1425 # Ili +# troops = +# { +# horse_archers = { 2700 2700 } +# light_cavalry = { 1600 1600 } +# light_infantry = { 541 541 } +# heavy_infantry = { 210 210 } +# knights = { 47 47 } +# } +# } +# } +# create_character = { +# random_traits = yes +# dynasty = random +# religion = tengri_pagan +# culture = ROOT +# female = no +# age = 39 +# attributes = { +# martial = 12 +# } +# trait = brilliant_strategist +# } +# new_character = { +# spawn_unit = { +# province = 1425 # Ili +# troops = +# { +# horse_archers = { 2700 2700 } +# light_cavalry = { 1600 1600 } +# light_infantry = { 541 541 } +# heavy_infantry = { 210 210 } +# knights = { 47 47 } +# } +# } +# } +# +# create_character = { +# random_traits = yes +# dynasty = random +# religion = tengri_pagan +# culture = ROOT +# female = no +# age = 30 +# attributes = { +# martial = 12 +# } +# trait = brilliant_strategist +# } +# new_character = { +# spawn_unit = { +# province = 1427 # Urzhar +# troops = +# { +# horse_archers = { 2700 2700 } +# light_cavalry = { 1600 1600 } +# light_infantry = { 541 541 } +# heavy_infantry = { 210 210 } +# knights = { 47 47 } +# } +# } +# } +# create_character = { +# random_traits = yes +# dynasty = random +# religion = tengri_pagan +# culture = ROOT +# female = no +# age = 35 +# attributes = { +# martial = 12 +# } +# trait = brilliant_strategist +# } +# new_character = { +# spawn_unit = { +# province = 1427 # Urzhar +# troops = +# { +# horse_archers = { 2700 2700 } +# light_cavalry = { 1600 1600 } +# light_infantry = { 541 541 } +# heavy_infantry = { 210 210 } +# knights = { 47 47 } +# } +# } +# } +# create_character = { +# random_traits = yes +# dynasty = random +# religion = tengri_pagan +# culture = ROOT +# female = no +# age = 39 +# attributes = { +# martial = 12 +# } +# trait = brilliant_strategist +# } +# new_character = { +# spawn_unit = { +# province = 1427 # Urzhar +# troops = +# { +# horse_archers = { 2700 2700 } +# light_cavalry = { 1600 1600 } +# light_infantry = { 541 541 } +# heavy_infantry = { 210 210 } +# knights = { 47 47 } +# } +# } +# } +# create_character = { +# random_traits = yes +# dynasty = random +# religion = tengri_pagan +# culture = ROOT +# female = no +# age = 30 +# attributes = { +# martial = 12 +# } +# trait = brilliant_strategist +# } +# new_character = { +# spawn_unit = { +# province = 1427 # Urzhar +# troops = +# { +# horse_archers = { 2700 2700 } +# light_cavalry = { 1600 1600 } +# light_infantry = { 541 541 } +# heavy_infantry = { 210 210 } +# knights = { 47 47 } +# } +# } +# } +# create_character = { +# random_traits = yes +# dynasty = random +# religion = tengri_pagan +# culture = ROOT +# female = no +# age = 35 +# attributes = { +# martial = 12 +# } +# trait = brilliant_strategist +# } +# new_character = { +# spawn_unit = { +# province = 1427 # Urzhar +# troops = +# { +# horse_archers = { 2700 2700 } +# light_cavalry = { 1600 1600 } +# light_infantry = { 541 541 } +# heavy_infantry = { 210 210 } +# knights = { 47 47 } +# } +# } +# } +# create_character = { +# random_traits = yes +# dynasty = random +# religion = tengri_pagan +# culture = ROOT +# female = no +# age = 39 +# attributes = { +# martial = 12 +# } +# trait = brilliant_strategist +# } +# new_character = { +# spawn_unit = { +# province = 1427 # Urzhar +# troops = +# { +# horse_archers = { 2700 2700 } +# light_cavalry = { 1600 1600 } +# light_infantry = { 541 541 } +# heavy_infantry = { 210 210 } +# knights = { 47 47 } +# } +# } +# } +# random = { +# chance = 50 +# create_character = { +# random_traits = yes +# dynasty = random +# religion = tengri_pagan +# culture = ROOT +# female = no +# age = 30 +# attributes = { +# martial = 12 +# } +# trait = brilliant_strategist +# } +# new_character = { +# spawn_unit = { +# province = 1132 # Kirghiz +# troops = +# { +# horse_archers = { 2700 2700 } +# light_cavalry = { 1600 1600 } +# light_infantry = { 541 541 } +# heavy_infantry = { 210 210 } +# knights = { 47 47 } +# } +# } +# } +# create_character = { +# random_traits = yes +# dynasty = random +# religion = tengri_pagan +# culture = ROOT +# female = no +# age = 35 +# attributes = { +# martial = 12 +# } +# trait = brilliant_strategist +# } +# new_character = { +# spawn_unit = { +# province = 1132 # Kirghiz +# troops = +# { +# horse_archers = { 2700 2700 } +# light_cavalry = { 1600 1600 } +# light_infantry = { 541 541 } +# heavy_infantry = { 210 210 } +# knights = { 47 47 } +# } +# } +# } +# create_character = { +# random_traits = yes +# dynasty = random +# religion = tengri_pagan +# culture = ROOT +# female = no +# age = 39 +# attributes = { +# martial = 12 +# } +# trait = brilliant_strategist +# } +# new_character = { +# spawn_unit = { +# province = 1132 # Kirghiz +# troops = +# { +# horse_archers = { 2700 2700 } +# light_cavalry = { 1600 1600 } +# light_infantry = { 541 541 } +# heavy_infantry = { 210 210 } +# knights = { 47 47 } +# } +# } +# } +# } +# random = { +# chance = 50 +# create_character = { +# random_traits = yes +# dynasty = random +# religion = tengri_pagan +# culture = ROOT +# female = no +# age = 30 +# attributes = { +# martial = 12 +# } +# trait = brilliant_strategist +# } +# new_character = { +# spawn_unit = { +# province = 1132 # Kirghiz +# troops = +# { +# horse_archers = { 2700 2700 } +# light_cavalry = { 1600 1600 } +# light_infantry = { 541 541 } +# heavy_infantry = { 210 210 } +# knights = { 47 47 } +# } +# } +# } +# create_character = { +# random_traits = yes +# dynasty = random +# religion = tengri_pagan +# culture = ROOT +# female = no +# age = 35 +# attributes = { +# martial = 12 +# } +# trait = brilliant_strategist +# } +# new_character = { +# spawn_unit = { +# province = 1132 # Kirghiz +# troops = +# { +# horse_archers = { 2700 2700 } +# light_cavalry = { 1600 1600 } +# light_infantry = { 541 541 } +# heavy_infantry = { 210 210 } +# knights = { 47 47 } +# } +# } +# } +# create_character = { +# random_traits = yes +# dynasty = random +# religion = tengri_pagan +# culture = ROOT +# female = no +# age = 39 +# attributes = { +# martial = 12 +# } +# trait = brilliant_strategist +# } +# new_character = { +# spawn_unit = { +# province = 1132 # Kirghiz +# troops = +# { +# horse_archers = { 2700 2700 } +# light_cavalry = { 1600 1600 } +# light_infantry = { 541 541 } +# heavy_infantry = { 210 210 } +# knights = { 47 47 } +# } +# } +# } +# } +# +# # Some extra courtiers +# create_character = { +# random_traits = yes +# dynasty = random +# religion = tengri_pagan +# culture = ROOT +# female = no +# age = 16 +# } +# create_character = { +# random_traits = yes +# dynasty = random +# religion = tengri_pagan +# culture = ROOT +# female = no +# age = 18 +# } +# create_character = { +# random_traits = yes +# dynasty = random +# religion = tengri_pagan +# culture = ROOT +# female = no +# age = 18 +# } +# create_character = { +# random_traits = yes +# dynasty = random +# religion = tengri_pagan +# culture = ROOT +# female = no +# age = 20 +# } +# create_character = { +# random_traits = yes +# dynasty = random +# religion = tengri_pagan +# culture = ROOT +# female = no +# age = 25 +# } +# create_character = { +# random_traits = yes +# dynasty = random +# religion = tengri_pagan +# culture = ROOT +# female = no +# age = 26 +# } +# create_character = { +# random_traits = yes +# dynasty = random +# religion = tengri_pagan +# culture = ROOT +# female = no +# age = 28 +# } +# create_character = { +# random_traits = yes +# dynasty = random +# religion = tengri_pagan +# culture = ROOT +# female = yes +# age = 16 +# } +# create_character = { +# random_traits = yes +# dynasty = random +# religion = tengri_pagan +# culture = ROOT +# female = yes +# age = 17 +# } +# create_character = { +# random_traits = yes +# dynasty = random +# religion = tengri_pagan +# culture = ROOT +# female = yes +# age = 18 +# } +# create_character = { +# random_traits = yes +# dynasty = random +# religion = tengri_pagan +# culture = ROOT +# female = yes +# age = 18 +# } +# create_character = { +# random_traits = yes +# dynasty = random +# religion = tengri_pagan +# culture = ROOT +# female = yes +# age = 20 +# } +# } +# option = { +# name = "EVTOPTB60002" +# trigger = { +# religion_group = christian +# NOT = { has_landed_title = e_golden_horde } +# } +# } +# option = { +# name = "EVTOPTC60002" +# trigger = { +# religion_group = muslim +# NOT = { has_landed_title = e_golden_horde } +# } +# } +# option = { +# name = "EVTOPTD60002" +# trigger = { +# NOT = { religion_group = christian } +# NOT = { religion_group = muslim } +# NOT = { has_landed_title = e_golden_horde } +# } +# } +#} +# +## Ilkhanate reinforcements +#character_event = { +# id = 60004 +# desc = "EVTDESC60004" +# +# picture = "GFX_evt_mongols" +# border = "GFX_event_normal_frame_war" +# +# only_playable = yes +# +# trigger = { +# always = no # replaced by new mongol arrival event +# NOT = { year = 1300 } +# has_landed_title = e_il-khanate +# NOT = { has_character_flag = ilkhanate_reinf } +# had_global_flag = { flag = il_khanate_arrival days = 3650 } +# e_il-khanate = { +# holder_scope = { +# culture = mongol +# religion = tengri_pagan +# OR = { +# war = yes +# is_landed = yes +# } +# } +# } +# } +# +# mean_time_to_happen = { +# months = 1 +# } +# +# option = { +# name = "OK" +# set_character_flag = ilkhanate_reinf +# +# create_character = { +# random_traits = yes +# dynasty = random +# religion = tengri_pagan +# culture = ROOT +# female = no +# age = 25 +# attributes = { +# martial = 12 +# } +# trait = brilliant_strategist +# } +# new_character = { +# spawn_unit = { +# province = 1423 # Fergana +# troops = +# { +# horse_archers = { 2700 2700 } +# light_cavalry = { 1600 1600 } +# light_infantry = { 541 541 } +# heavy_infantry = { 210 210 } +# knights = { 47 47 } +# } +# } +# } +# create_character = { +# random_traits = yes +# dynasty = random +# religion = tengri_pagan +# culture = ROOT +# female = no +# age = 26 +# attributes = { +# martial = 12 +# } +# trait = brilliant_strategist +# } +# new_character = { +# spawn_unit = { +# province = 1423 # Fergana +# troops = +# { +# horse_archers = { 2700 2700 } +# light_cavalry = { 1600 1600 } +# light_infantry = { 541 541 } +# heavy_infantry = { 210 210 } +# knights = { 47 47 } +# } +# } +# } +# create_character = { +# random_traits = yes +# dynasty = random +# religion = tengri_pagan +# culture = ROOT +# female = no +# age = 27 +# attributes = { +# martial = 12 +# } +# trait = brilliant_strategist +# } +# new_character = { +# spawn_unit = { +# province = 1423 # Fergana +# troops = +# { +# horse_archers = { 2700 2700 } +# light_cavalry = { 1600 1600 } +# light_infantry = { 541 541 } +# heavy_infantry = { 210 210 } +# knights = { 47 47 } +# } +# } +# } +# +# random = { +# chance = 50 +# create_character = { +# random_traits = yes +# dynasty = random +# religion = tengri_pagan +# culture = ROOT +# female = no +# age = 25 +# attributes = { +# martial = 12 +# } +# trait = brilliant_strategist +# } +# new_character = { +# spawn_unit = { +# province = 1423 # Fergana +# troops = +# { +# horse_archers = { 2700 2700 } +# light_cavalry = { 1600 1600 } +# light_infantry = { 541 541 } +# heavy_infantry = { 210 210 } +# knights = { 47 47 } +# } +# } +# } +# create_character = { +# random_traits = yes +# dynasty = random +# religion = tengri_pagan +# culture = ROOT +# female = no +# age = 26 +# attributes = { +# martial = 12 +# } +# trait = brilliant_strategist +# } +# new_character = { +# spawn_unit = { +# province = 1423 # Fergana +# troops = +# { +# horse_archers = { 2700 2700 } +# light_cavalry = { 1600 1600 } +# light_infantry = { 541 541 } +# heavy_infantry = { 210 210 } +# knights = { 47 47 } +# } +# } +# } +# create_character = { +# random_traits = yes +# dynasty = random +# religion = tengri_pagan +# culture = ROOT +# female = no +# age = 27 +# attributes = { +# martial = 12 +# } +# trait = brilliant_strategist +# } +# new_character = { +# spawn_unit = { +# province = 1423 # Fergana +# troops = +# { +# horse_archers = { 2700 2700 } +# light_cavalry = { 1600 1600 } +# light_infantry = { 541 541 } +# heavy_infantry = { 210 210 } +# knights = { 47 47 } +# } +# } +# } +# } +# } +#} +# +## Golden Horde reinforcements +#character_event = { +# id = 60005 +# desc = "EVTDESC60004" +# +# picture = "GFX_evt_mongols" +# border = "GFX_event_normal_frame_war" +# +# only_playable = yes +# +# trigger = { +# always = no # replaced by new mongol arrival event +# NOT = { year = 1320 } +# has_landed_title = e_golden_horde +# NOT = { has_character_flag = golden_horde_reinf } +# had_global_flag = { flag = golden_horde_arrival days = 3650 } +# e_golden_horde = { +# holder_scope = { +# culture = mongol +# religion = tengri_pagan +# OR = { +# war = yes +# is_landed = yes +# } +# } +# } +# } +# +# mean_time_to_happen = { +# months = 1 +# } +# +# option = { +# name = "OK" +# set_character_flag = golden_horde_reinf +# +# create_character = { +# random_traits = yes +# dynasty = random +# religion = tengri_pagan +# culture = ROOT +# female = no +# age = 30 +# attributes = { +# martial = 12 +# } +# trait = brilliant_strategist +# } +# new_character = { +# spawn_unit = { +# province = 1425 # Ili +# troops = +# { +# horse_archers = { 2700 2700 } +# light_cavalry = { 1600 1600 } +# light_infantry = { 541 541 } +# heavy_infantry = { 210 210 } +# knights = { 47 47 } +# } +# } +# } +# create_character = { +# random_traits = yes +# dynasty = random +# religion = tengri_pagan +# culture = ROOT +# female = no +# age = 32 +# attributes = { +# martial = 12 +# } +# trait = brilliant_strategist +# } +# new_character = { +# spawn_unit = { +# province = 1425 # Ili +# troops = +# { +# horse_archers = { 2700 2700 } +# light_cavalry = { 1600 1600 } +# light_infantry = { 541 541 } +# heavy_infantry = { 210 210 } +# knights = { 47 47 } +# } +# } +# } +# create_character = { +# random_traits = yes +# dynasty = random +# religion = tengri_pagan +# culture = ROOT +# female = no +# age = 36 +# attributes = { +# martial = 12 +# } +# trait = brilliant_strategist +# } +# new_character = { +# spawn_unit = { +# province = 1425 # Ili +# troops = +# { +# horse_archers = { 2700 2700 } +# light_cavalry = { 1600 1600 } +# light_infantry = { 541 541 } +# heavy_infantry = { 210 210 } +# knights = { 47 47 } +# } +# } +# } +# } +#} + +### The Hordes Convert ### + +# Ilkhanate converts to Catholic +character_event = { + id = 60010 + title = "EVTNAME60010" + desc = "EVTDESC60010" + picture = "GFX_evt_mongols" + border = "GFX_event_normal_frame_war" + major = yes + + only_playable = yes + only_independent = yes + only_capable = yes + min_age = 16 + prisoner = no + + trigger = { + primary_title = { + title = e_il-khanate + holder_scope = { + religion = tengri_pagan + NOT = { trait = zealous } + } + } + had_global_flag = { flag = il_khanate_arrival days = 14600 } + NOT = { had_global_flag = { flag = il_khanate_arrival days = 29200 } } + NOT = { has_global_flag = il_khanate_converts } + any_realm_province = { + religion = catholic + } + } + + mean_time_to_happen = { + months = 1440 + modifier = { + factor = 0.75 + any_demesne_province = { + is_capital = yes + religion = catholic + } + } + } + + immediate = { + set_global_flag = il_khanate_converts + } + + option = { # Catholic + name = "EVTOPTA60010" + trigger = { + has_landed_title = e_il-khanate + } + religion = catholic + capital_scope = { + religion = catholic + } + + any_realm_character = { + limit = { religion = tengri_pagan } + religion = catholic + if = { + limit = { + is_playable = yes + capital_scope = { + religion = tengri_pagan + } + } + capital_scope = { + religion = catholic + } + } + } + } + # Other rulers are informed + option = { + name = "EVTOPTB60010" + trigger = { + religion_group = muslim + NOT = { has_landed_title = e_il-khanate } + } + } + option = { + name = "EXCELLENT" + trigger = { + religion_group = christian + NOT = { has_landed_title = e_il-khanate } + } + } + option = { + name = "EVTOPTD60010" + trigger = { + NOT = { religion_group = christian } + NOT = { religion_group = muslim } + NOT = { has_landed_title = e_il-khanate } + } + } +} + +# Ilkhanate converts to Orthodox +character_event = { + id = 60011 + title = "EVTNAME60010" + desc = "EVTDESC60011" + picture = "GFX_evt_mongols" + border = "GFX_event_normal_frame_religion" + major = yes + + only_playable = yes + only_independent = yes + only_capable = yes + min_age = 16 + prisoner = no + + trigger = { + primary_title = { + title = e_il-khanate + holder_scope = { + religion = tengri_pagan + NOT = { trait = zealous } + } + } + had_global_flag = { flag = il_khanate_arrival days = 14600 } + NOT = { had_global_flag = { flag = il_khanate_arrival days = 29200 } } + NOT = { has_global_flag = il_khanate_converts } + any_realm_province = { + religion = orthodox + } + } + + mean_time_to_happen = { + months = 960 + modifier = { + factor = 0.75 + any_demesne_province = { + is_capital = yes + religion = orthodox + } + } + } + + immediate = { + set_global_flag = il_khanate_converts + } + + option = { # Orthodox + name = "EVTOPTA60010" + trigger = { + has_landed_title = e_il-khanate + } + religion = orthodox + any_realm_character = { + limit = { religion = tengri_pagan } + religion = orthodox + if = { + limit = { + is_playable = yes + capital_scope = { + religion = tengri_pagan + } + } + capital_scope = { + religion = orthodox + } + } + } + } + # Other rulers are informed + option = { + name = "EVTOPTB60010" + trigger = { + religion_group = muslim + NOT = { has_landed_title = e_il-khanate } + } + } + option = { + name = "EXCELLENT" + trigger = { + religion_group = christian + NOT = { has_landed_title = e_il-khanate } + } + } + option = { + name = "EVTOPTD60010" + trigger = { + NOT = { religion_group = christian } + NOT = { religion_group = muslim } + NOT = { has_landed_title = e_il-khanate } + } + } +} + +# Ilkhanate converts to Sunni +character_event = { + id = 60012 + title = "EVTNAME60010" + desc = "EVTDESC60012" + picture = "GFX_evt_mongols" + border = "GFX_event_normal_frame_religion" + major = yes + + only_playable = yes + only_independent = yes + only_capable = yes + min_age = 16 + prisoner = no + + trigger = { + primary_title = { + title = e_il-khanate + holder_scope = { + religion = tengri_pagan + NOT = { trait = zealous } + } + } + had_global_flag = { flag = il_khanate_arrival days = 14600 } + NOT = { had_global_flag = { flag = il_khanate_arrival days = 29200 } } + NOT = { has_global_flag = il_khanate_converts } + any_realm_province = { + religion = sunni + } + } + + mean_time_to_happen = { + months = 420 + modifier = { + factor = 0.75 + any_demesne_province = { + is_capital = yes + religion = sunni + } + } + } + + immediate = { + set_global_flag = il_khanate_converts + } + + option = { # Sunni + name = "EVTOPTA60010" + trigger = { + has_landed_title = e_il-khanate + } + religion = sunni + any_realm_character = { + limit = { religion = tengri_pagan } + religion = sunni + if = { + limit = { + is_playable = yes + capital_scope = { + religion = tengri_pagan + } + } + capital_scope = { + religion = sunni + } + } + } + } + # Other rulers are informed + option = { + name = "EXCELLENT" + trigger = { + religion_group = muslim + NOT = { has_landed_title = e_il-khanate } + } + } + option = { + name = "EVTOPTC60010" + trigger = { + religion_group = christian + NOT = { has_landed_title = e_il-khanate } + } + } + option = { + name = "EVTOPTD60010" + trigger = { + NOT = { religion_group = christian } + NOT = { religion_group = muslim } + NOT = { has_landed_title = e_il-khanate } + } + } +} + +# Ilkhanate converts to Shiite +character_event = { + id = 60013 + title = "EVTNAME60010" + desc = "EVTDESC60013" + picture = "GFX_evt_mongols" + border = "GFX_event_normal_frame_religion" + + major = yes + + only_playable = yes + only_independent = yes + only_capable = yes + min_age = 16 + prisoner = no + + trigger = { + primary_title = { + title = e_il-khanate + holder_scope = { + religion = tengri_pagan + NOT = { trait = zealous } + } + } + had_global_flag = { flag = il_khanate_arrival days = 14600 } + NOT = { had_global_flag = { flag = il_khanate_arrival days = 29200 } } + NOT = { has_global_flag = il_khanate_converts } + any_realm_province = { + religion = shiite + } + } + + mean_time_to_happen = { + months = 420 + modifier = { + factor = 0.75 + any_demesne_province = { + is_capital = yes + religion = shiite + } + } + } + + immediate = { + set_global_flag = il_khanate_converts + } + + option = { # Shiite + name = "EVTOPTA60010" + trigger = { + has_landed_title = e_il-khanate + } + religion = shiite + any_realm_character = { + limit = { religion = tengri_pagan } + religion = shiite + if = { + limit = { + is_playable = yes + capital_scope = { + religion = tengri_pagan + } + } + capital_scope = { + religion = shiite + } + } + } + } + # Other rulers are informed + option = { + name = "EXCELLENT" + trigger = { + religion_group = muslim + NOT = { has_landed_title = e_il-khanate } + } + } + option = { + name = "EVTOPTC60010" + trigger = { + religion_group = christian + NOT = { has_landed_title = e_il-khanate } + } + } + option = { + name = "EVTOPTD60010" + trigger = { + NOT = { religion_group = christian } + NOT = { religion_group = muslim } + NOT = { has_landed_title = e_il-khanate } + } + } +} + +# Ilkhanate converts to Nestorian +character_event = { + id = 60014 + title = "EVTNAME60010" + desc = "EVTDESC60014" + picture = "GFX_evt_mongols" + border = "GFX_event_normal_frame_war" + major = yes + + only_playable = yes + only_independent = yes + only_capable = yes + min_age = 16 + prisoner = no + + trigger = { + primary_title = { + title = e_il-khanate + holder_scope = { + religion = tengri_pagan + NOT = { trait = zealous } + } + } + had_global_flag = { flag = il_khanate_arrival days = 14600 } + NOT = { had_global_flag = { flag = il_khanate_arrival days = 29200 } } + NOT = { has_global_flag = il_khanate_converts } + } + + mean_time_to_happen = { + months = 420 + modifier = { + factor = 0.75 + any_demesne_province = { + is_capital = yes + religion = nestorian + } + } + } + + immediate = { + set_global_flag = il_khanate_converts + } + + option = { # Nestorian + name = "EVTOPTA60010" + trigger = { + has_landed_title = e_il-khanate + } + religion = nestorian + capital_scope = { + religion = nestorian + } + any_realm_character = { + limit = { religion = tengri_pagan } + religion = nestorian + if = { + limit = { + is_playable = yes + capital_scope = { + religion = tengri_pagan + } + } + capital_scope = { + religion = nestorian + } + } + } + } + # Other rulers are informed + option = { + name = "EVTOPTB60010" + trigger = { + religion_group = muslim + NOT = { has_landed_title = e_il-khanate } + } + } + option = { + name = "EXCELLENT" + trigger = { + religion_group = christian + NOT = { has_landed_title = e_il-khanate } + } + } + option = { + name = "EVTOPTD60010" + trigger = { + NOT = { religion_group = christian } + NOT = { religion_group = muslim } + NOT = { has_landed_title = e_il-khanate } + } + } +} + +# Golden Horde converts to Catholic +character_event = { + id = 60020 + title = "EVTNAME60020" + desc = "EVTDESC60010" + picture = "GFX_evt_mongols" + border = "GFX_event_normal_frame_religion" + + major = yes + + only_playable = yes + only_independent = yes + only_capable = yes + min_age = 16 + prisoner = no + + trigger = { + primary_title = { + title = e_golden_horde + holder_scope = { + religion = tengri_pagan + NOT = { trait = zealous } + } + } + had_global_flag = { flag = golden_horde_arrival days = 14600 } + NOT = { had_global_flag = { flag = il_khanate_arrival days = 29200 } } + NOT = { has_global_flag = golden_horde_converts } + any_realm_province = { + religion = catholic + } + } + + mean_time_to_happen = { + months = 960 + modifier = { + factor = 0.75 + any_demesne_province = { + is_capital = yes + religion = catholic + } + } + } + + immediate = { + set_global_flag = golden_horde_converts + } + + option = { # Catholic + name = "EVTOPTA60010" + trigger = { + has_landed_title = e_golden_horde + } + religion = catholic + capital_scope = { + religion = catholic + } + any_realm_character = { + limit = { religion = tengri_pagan } + religion = catholic + if = { + limit = { + is_playable = yes + capital_scope = { + religion = tengri_pagan + } + } + capital_scope = { + religion = catholic + } + } + } + } + # Other rulers are informed + option = { + name = "EVTOPTB60010" + trigger = { + religion_group = muslim + NOT = { has_landed_title = e_golden_horde } + } + } + option = { + name = "EXCELLENT" + trigger = { + religion_group = christian + NOT = { has_landed_title = e_golden_horde } + } + } + option = { + name = "EVTOPTD60010" + trigger = { + NOT = { religion_group = christian } + NOT = { religion_group = muslim } + NOT = { has_landed_title = e_golden_horde } + } + } +} + +# Golden Horde converts to Orthodox +character_event = { + id = 60021 + title = "EVTNAME60020" + desc = "EVTDESC60011" + picture = "GFX_evt_mongols" + border = "GFX_event_normal_frame_religion" + + major = yes + + only_playable = yes + only_independent = yes + only_capable = yes + min_age = 16 + prisoner = no + + trigger = { + primary_title = { + title = e_golden_horde + holder_scope = { + religion = tengri_pagan + NOT = { trait = zealous } + } + } + had_global_flag = { flag = golden_horde_arrival days = 14600 } + NOT = { had_global_flag = { flag = il_khanate_arrival days = 29200 } } + NOT = { has_global_flag = golden_horde_converts } + any_realm_province = { + religion = orthodox + } + } + + mean_time_to_happen = { + months = 480 + modifier = { + factor = 0.75 + any_demesne_province = { + is_capital = yes + religion = orthodox + } + } + } + + immediate = { + set_global_flag = golden_horde_converts + } + + option = { # Orthodox + name = "EVTOPTA60010" + trigger = { + has_landed_title = e_golden_horde + } + religion = orthodox + any_realm_character = { + limit = { religion = tengri_pagan } + religion = orthodox + if = { + limit = { + is_playable = yes + capital_scope = { + religion = tengri_pagan + } + } + capital_scope = { + religion = orthodox + } + } + } + } + # Other rulers are informed + option = { + name = "EVTOPTB60010" + trigger = { + religion_group = muslim + NOT = { has_landed_title = e_golden_horde } + } + } + option = { + name = "EXCELLENT" + trigger = { + religion_group = christian + NOT = { has_landed_title = e_golden_horde } + } + } + option = { + name = "EVTOPTD60010" + trigger = { + NOT = { religion_group = christian } + NOT = { religion_group = muslim } + NOT = { has_landed_title = e_golden_horde } + } + } +} + +# Golden Horde converts to Sunni +character_event = { + id = 60022 + title = "EVTNAME60020" + desc = "EVTDESC60012" + picture = "GFX_evt_mongols" + border = "GFX_event_normal_frame_religion" + + major = yes + + only_playable = yes + only_independent = yes + only_capable = yes + min_age = 16 + prisoner = no + + trigger = { + primary_title = { + title = e_golden_horde + holder_scope = { + religion = tengri_pagan + NOT = { trait = zealous } + } + } + had_global_flag = { flag = golden_horde_arrival days = 14600 } + NOT = { had_global_flag = { flag = il_khanate_arrival days = 29200 } } + NOT = { has_global_flag = golden_horde_converts } + any_realm_province = { + religion = sunni + } + } + + mean_time_to_happen = { + months = 420 + modifier = { + factor = 0.75 + any_demesne_province = { + is_capital = yes + religion = sunni + } + } + } + + immediate = { + set_global_flag = golden_horde_converts + } + + option = { # Sunni + name = "EVTOPTA60010" + trigger = { + has_landed_title = e_golden_horde + } + religion = sunni + any_realm_character = { + limit = { religion = tengri_pagan } + religion = sunni + if = { + limit = { + is_playable = yes + capital_scope = { + religion = tengri_pagan + } + } + capital_scope = { + religion = sunni + } + } + } + } + # Other rulers are informed + option = { + name = "EXCELLENT" + trigger = { + religion_group = muslim + NOT = { has_landed_title = e_golden_horde } + } + } + option = { + name = "EVTOPTC60010" + trigger = { + religion_group = christian + NOT = { has_landed_title = e_golden_horde } + } + } + option = { + name = "EVTOPTD60010" + trigger = { + NOT = { religion_group = christian } + NOT = { religion_group = muslim } + NOT = { has_landed_title = e_golden_horde } + } + } +} + +# Golden Horde converts to Shiite +character_event = { + id = 60023 + title = "EVTNAME60020" + desc = "EVTDESC60013" + picture = "GFX_evt_mongols" + border = "GFX_event_normal_frame_religion" + + major = yes + + only_playable = yes + only_independent = yes + only_capable = yes + min_age = 16 + prisoner = no + + trigger = { + primary_title = { + title = e_golden_horde + holder_scope = { + religion = tengri_pagan + NOT = { trait = zealous } + } + } + had_global_flag = { flag = golden_horde_arrival days = 14600 } + NOT = { had_global_flag = { flag = il_khanate_arrival days = 29200 } } + NOT = { has_global_flag = golden_horde_converts } + any_realm_province = { + religion = shiite + } + } + + mean_time_to_happen = { + months = 420 + modifier = { + factor = 0.75 + any_demesne_province = { + is_capital = yes + religion = shiite + } + } + } + + immediate = { + set_global_flag = golden_horde_converts + } + + option = { # Shiite + name = "EVTOPTA60010" + trigger = { + has_landed_title = e_golden_horde + } + religion = shiite + any_realm_character = { + limit = { religion = tengri_pagan } + religion = shiite + if = { + limit = { + is_playable = yes + capital_scope = { + religion = tengri_pagan + } + } + capital_scope = { + religion = shiite + } + } + } + } + # Other rulers are informed + option = { + name = "EXCELLENT" + trigger = { + religion_group = muslim + NOT = { has_landed_title = e_golden_horde } + } + } + option = { + name = "EVTOPTC60010" + trigger = { + religion_group = christian + NOT = { has_landed_title = e_golden_horde } + } + } + option = { + name = "EVTOPTD60010" + trigger = { + NOT = { religion_group = christian } + NOT = { religion_group = muslim } + NOT = { has_landed_title = e_golden_horde } + } + } +} + +# Golden Horde converts to Nestorian +character_event = { + id = 60024 + title = "EVTNAME60020" + desc = "EVTDESC60014" + picture = "GFX_evt_mongols" + border = "GFX_event_normal_frame_religion" + + major = yes + + only_playable = yes + only_independent = yes + only_capable = yes + min_age = 16 + prisoner = no + + trigger = { + primary_title = { + title = e_golden_horde + holder_scope = { + religion = tengri_pagan + NOT = { trait = zealous } + } + } + had_global_flag = { flag = golden_horde_arrival days = 14600 } + NOT = { had_global_flag = { flag = il_khanate_arrival days = 29200 } } + NOT = { has_global_flag = golden_horde_converts } + } + + mean_time_to_happen = { + months = 1440 + modifier = { + factor = 0.75 + any_demesne_province = { + is_capital = yes + religion = nestorian + } + } + } + + immediate = { + set_global_flag = golden_horde_converts + } + + option = { # Nestorian + name = "EVTOPTA60010" + trigger = { + has_landed_title = e_golden_horde + } + religion = nestorian + any_realm_character = { + limit = { religion = tengri_pagan } + religion = nestorian + if = { + limit = { + is_playable = yes + capital_scope = { + religion = tengri_pagan + } + } + capital_scope = { + religion = nestorian + } + } + } + } + # Other rulers are informed + option = { + name = "EVTOPTB60010" + trigger = { + religion_group = muslim + NOT = { has_landed_title = e_golden_horde } + } + } + option = { + name = "EXCELLENT" + trigger = { + religion_group = christian + NOT = { has_landed_title = e_golden_horde } + } + } + option = { + name = "EVTOPTD60010" + trigger = { + NOT = { religion_group = christian } + NOT = { religion_group = muslim } + NOT = { has_landed_title = e_golden_horde } + } + } +} + + +### Mongols sack European cities ### + +# Mongols sack Kiev +narrative_event = { + id = 60100 + title = "EVTNAME60100" + desc = "EVTDESC60100" + major = yes + + picture = "GFX_evt_mongols" + border = "GFX_event_narrative_frame_war" + + is_triggered_only = yes + + culture = mongol + + trigger = { + NOT = { has_global_flag = mongols_sack_kiev } + OR = { + has_landed_title = e_il-khanate + has_landed_title = e_golden_horde + has_landed_title = e_mongol_empire + liege = { has_landed_title = e_il-khanate } + liege = { has_landed_title = e_golden_horde } + liege = { has_landed_title = e_mongol_empire } + top_liege = { has_landed_title = e_il-khanate } + top_liege = { has_landed_title = e_golden_horde } + top_liege = { has_landed_title = e_mongol_empire } + } + FROM = { title = b_kiev } + NOT = { + FROM = { + owner = { + OR = { + has_landed_title = e_il-khanate + has_landed_title = e_golden_horde + has_landed_title = e_mongol_empire + liege = { has_landed_title = e_il-khanate } + liege = { has_landed_title = e_golden_horde } + liege = { has_landed_title = e_mongol_empire } + top_liege = { has_landed_title = e_il-khanate } + top_liege = { has_landed_title = e_golden_horde } + top_liege = { has_landed_title = e_mongol_empire } + } + } + } + } + } + + major_trigger = { + NOT = { + has_landed_title = e_il-khanate + has_landed_title = e_golden_horde + has_landed_title = e_mongol_empire + liege = { has_landed_title = e_il-khanate } + liege = { has_landed_title = e_golden_horde } + liege = { has_landed_title = e_mongol_empire } + top_liege = { has_landed_title = e_il-khanate } + top_liege = { has_landed_title = e_golden_horde } + top_liege = { has_landed_title = e_mongol_empire } + } + } + + immediate = { + set_global_flag = mongols_sack_kiev + any_player = { + limit = { + OR = { + has_landed_title = e_il-khanate + has_landed_title = e_golden_horde + has_landed_title = e_mongol_empire + liege = { has_landed_title = e_il-khanate } + liege = { has_landed_title = e_golden_horde } + liege = { has_landed_title = e_mongol_empire } + top_liege = { has_landed_title = e_il-khanate } + top_liege = { has_landed_title = e_golden_horde } + top_liege = { has_landed_title = e_mongol_empire } + } + } + narrative_event = { id = TOG.1 } + } + } + + option = { + name = "EVTOPTA60100" + trigger = { NOT = { religion_group = muslim } } + } + option = { + name = "EVTOPTB60100" + trigger = { religion_group = muslim } + } +} + +# Mongols sack Novgorod +narrative_event = { + id = 60101 + title = "EVTNAME60101" + desc = "EVTDESC60101" + major = yes + + picture = "GFX_evt_mongols" + border = "GFX_event_narrative_frame_war" + + is_triggered_only = yes + + culture = mongol + + trigger = { + NOT = { has_global_flag = mongols_sack_novgorod } + OR = { + has_landed_title = e_il-khanate + has_landed_title = e_golden_horde + has_landed_title = e_mongol_empire + liege = { has_landed_title = e_il-khanate } + liege = { has_landed_title = e_golden_horde } + liege = { has_landed_title = e_mongol_empire } + top_liege = { has_landed_title = e_il-khanate } + top_liege = { has_landed_title = e_golden_horde } + top_liege = { has_landed_title = e_mongol_empire } + } + FROM = { title = b_novgorod } + NOT = { + FROM = { + owner = { + OR = { + has_landed_title = e_il-khanate + has_landed_title = e_golden_horde + has_landed_title = e_mongol_empire + liege = { has_landed_title = e_il-khanate } + liege = { has_landed_title = e_golden_horde } + liege = { has_landed_title = e_mongol_empire } + top_liege = { has_landed_title = e_il-khanate } + top_liege = { has_landed_title = e_golden_horde } + top_liege = { has_landed_title = e_mongol_empire } + } + } + } + } + } + + major_trigger = { + NOT = { + has_landed_title = e_il-khanate + has_landed_title = e_golden_horde + has_landed_title = e_mongol_empire + liege = { has_landed_title = e_il-khanate } + liege = { has_landed_title = e_golden_horde } + liege = { has_landed_title = e_mongol_empire } + top_liege = { has_landed_title = e_il-khanate } + top_liege = { has_landed_title = e_golden_horde } + top_liege = { has_landed_title = e_mongol_empire } + } + } + + immediate = { + set_global_flag = mongols_sack_novgorod + any_player = { + limit = { + OR = { + has_landed_title = e_il-khanate + has_landed_title = e_golden_horde + has_landed_title = e_mongol_empire + liege = { has_landed_title = e_il-khanate } + liege = { has_landed_title = e_golden_horde } + liege = { has_landed_title = e_mongol_empire } + top_liege = { has_landed_title = e_il-khanate } + top_liege = { has_landed_title = e_golden_horde } + top_liege = { has_landed_title = e_mongol_empire } + } + } + narrative_event = { id = TOG.2 } + } + } + + option = { + name = EVTOPTA60101 # Perhaps their bloodlust has been sated now + trigger = { NOT = { culture = mongol } } + } + option = { + name = EVTOPTB60101 # May the snows of the frozen north claim them + trigger = { + culture = mongol + } + } +} + +# Mongols sack Krakow +narrative_event = { + id = 60102 + title = "EVTNAME60102" + desc = "EVTDESC60102" + major = yes + + picture = "GFX_evt_mongols" + border = "GFX_event_narrative_frame_war" + + is_triggered_only = yes + + culture = mongol + + trigger = { + NOT = { has_global_flag = mongols_sack_krakow } + OR = { + has_landed_title = e_il-khanate + has_landed_title = e_golden_horde + has_landed_title = e_mongol_empire + liege = { has_landed_title = e_il-khanate } + liege = { has_landed_title = e_golden_horde } + liege = { has_landed_title = e_mongol_empire } + top_liege = { has_landed_title = e_il-khanate } + top_liege = { has_landed_title = e_golden_horde } + top_liege = { has_landed_title = e_mongol_empire } + } + FROM = { title = b_krakow } + + NOT = { + FROM = { + owner = { + OR = { + has_landed_title = e_il-khanate + has_landed_title = e_golden_horde + has_landed_title = e_mongol_empire + liege = { has_landed_title = e_il-khanate } + liege = { has_landed_title = e_golden_horde } + liege = { has_landed_title = e_mongol_empire } + top_liege = { has_landed_title = e_il-khanate } + top_liege = { has_landed_title = e_golden_horde } + top_liege = { has_landed_title = e_mongol_empire } + } + } + } + } + } + + major_trigger = { + NOT = { + has_landed_title = e_il-khanate + has_landed_title = e_golden_horde + has_landed_title = e_mongol_empire + liege = { has_landed_title = e_il-khanate } + liege = { has_landed_title = e_golden_horde } + liege = { has_landed_title = e_mongol_empire } + top_liege = { has_landed_title = e_il-khanate } + top_liege = { has_landed_title = e_golden_horde } + top_liege = { has_landed_title = e_mongol_empire } + } + } + + immediate = { + set_global_flag = mongols_sack_krakow + any_player = { + limit = { + OR = { + has_landed_title = e_il-khanate + has_landed_title = e_golden_horde + has_landed_title = e_mongol_empire + liege = { has_landed_title = e_il-khanate } + liege = { has_landed_title = e_golden_horde } + liege = { has_landed_title = e_mongol_empire } + top_liege = { has_landed_title = e_il-khanate } + top_liege = { has_landed_title = e_golden_horde } + top_liege = { has_landed_title = e_mongol_empire } + } + } + narrative_event = { id = TOG.3 } + } + } + + option = { + name = "EVTOPTA60102" + trigger = { NOT = { religion_group = muslim } } + } + option = { + name = "EVTOPTB60102" + trigger = { religion_group = muslim } + } +} + +# Mongols sack Aachen +narrative_event = { + id = 60103 + title = "EVTNAME60103" + desc = "EVTDESC60103" + major = yes + + picture = "GFX_evt_mongols" + border = "GFX_event_narrative_frame_war" + + is_triggered_only = yes + + culture = mongol + + trigger = { + NOT = { has_global_flag = mongols_sack_aachen } + OR = { + has_landed_title = e_il-khanate + has_landed_title = e_golden_horde + has_landed_title = e_mongol_empire + liege = { has_landed_title = e_il-khanate } + liege = { has_landed_title = e_golden_horde } + liege = { has_landed_title = e_mongol_empire } + top_liege = { has_landed_title = e_il-khanate } + top_liege = { has_landed_title = e_golden_horde } + top_liege = { has_landed_title = e_mongol_empire } + } + FROM = { title = b_aachen } + + NOT = { + FROM = { + owner = { + OR = { + has_landed_title = e_il-khanate + has_landed_title = e_golden_horde + has_landed_title = e_mongol_empire + liege = { has_landed_title = e_il-khanate } + liege = { has_landed_title = e_golden_horde } + liege = { has_landed_title = e_mongol_empire } + top_liege = { has_landed_title = e_il-khanate } + top_liege = { has_landed_title = e_golden_horde } + top_liege = { has_landed_title = e_mongol_empire } + } + } + } + } + } + + major_trigger = { + NOT = { + has_landed_title = e_il-khanate + has_landed_title = e_golden_horde + has_landed_title = e_mongol_empire + liege = { has_landed_title = e_il-khanate } + liege = { has_landed_title = e_golden_horde } + liege = { has_landed_title = e_mongol_empire } + top_liege = { has_landed_title = e_il-khanate } + top_liege = { has_landed_title = e_golden_horde } + top_liege = { has_landed_title = e_mongol_empire } + } + } + + immediate = { + set_global_flag = mongols_sack_aachen + any_player = { + limit = { + OR = { + has_landed_title = e_il-khanate + has_landed_title = e_golden_horde + has_landed_title = e_mongol_empire + liege = { has_landed_title = e_il-khanate } + liege = { has_landed_title = e_golden_horde } + liege = { has_landed_title = e_mongol_empire } + top_liege = { has_landed_title = e_il-khanate } + top_liege = { has_landed_title = e_golden_horde } + top_liege = { has_landed_title = e_mongol_empire } + } + } + narrative_event = { id = TOG.4 } + } + } + + option = { + name = "EVTOPTA60103" + trigger = { NOT = { religion_group = muslim } } + } + option = { + name = "EVTOPTB60103" + trigger = { religion_group = muslim } + } +} + +# Mongols sack Paris +narrative_event = { + id = 60104 + title = "EVTNAME60104" + desc = "EVTDESC60104" + major = yes + + picture = "GFX_evt_mongols" + border = "GFX_event_narrative_frame_war" + + is_triggered_only = yes + + culture = mongol + + trigger = { + NOT = { has_global_flag = mongols_sack_paris } + OR = { + has_landed_title = e_il-khanate + has_landed_title = e_golden_horde + has_landed_title = e_mongol_empire + liege = { has_landed_title = e_il-khanate } + liege = { has_landed_title = e_golden_horde } + liege = { has_landed_title = e_mongol_empire } + top_liege = { has_landed_title = e_il-khanate } + top_liege = { has_landed_title = e_golden_horde } + top_liege = { has_landed_title = e_mongol_empire } + } + FROM = { title = b_paris } + + NOT = { + FROM = { + owner = { + OR = { + has_landed_title = e_il-khanate + has_landed_title = e_golden_horde + has_landed_title = e_mongol_empire + liege = { has_landed_title = e_il-khanate } + liege = { has_landed_title = e_golden_horde } + liege = { has_landed_title = e_mongol_empire } + top_liege = { has_landed_title = e_il-khanate } + top_liege = { has_landed_title = e_golden_horde } + top_liege = { has_landed_title = e_mongol_empire } + } + } + } + } + } + + major_trigger = { + NOT = { + has_landed_title = e_il-khanate + has_landed_title = e_golden_horde + has_landed_title = e_mongol_empire + liege = { has_landed_title = e_il-khanate } + liege = { has_landed_title = e_golden_horde } + liege = { has_landed_title = e_mongol_empire } + top_liege = { has_landed_title = e_il-khanate } + top_liege = { has_landed_title = e_golden_horde } + top_liege = { has_landed_title = e_mongol_empire } + } + } + + immediate = { + set_global_flag = mongols_sack_paris + any_player = { + limit = { + OR = { + has_landed_title = e_il-khanate + has_landed_title = e_golden_horde + has_landed_title = e_mongol_empire + liege = { has_landed_title = e_il-khanate } + liege = { has_landed_title = e_golden_horde } + liege = { has_landed_title = e_mongol_empire } + top_liege = { has_landed_title = e_il-khanate } + top_liege = { has_landed_title = e_golden_horde } + top_liege = { has_landed_title = e_mongol_empire } + } + } + narrative_event = { id = TOG.5 } + } + } + + option = { + name = "EVTOPTA60104" + trigger = { NOT = { religion_group = muslim } } + } + option = { + name = "EVTOPTB60104" + trigger = { religion_group = muslim } + } +} + +# Mongols sack London +narrative_event = { + id = 60105 + title = "EVTNAME60105" + desc = "EVTDESC60105" + major = yes + + picture = "GFX_evt_mongols" + border = "GFX_event_narrative_frame_war" + + is_triggered_only = yes + + culture = mongol + + trigger = { + NOT = { has_global_flag = mongols_sack_london } + OR = { + has_landed_title = e_il-khanate + has_landed_title = e_golden_horde + has_landed_title = e_mongol_empire + liege = { has_landed_title = e_il-khanate } + liege = { has_landed_title = e_golden_horde } + liege = { has_landed_title = e_mongol_empire } + top_liege = { has_landed_title = e_il-khanate } + top_liege = { has_landed_title = e_golden_horde } + top_liege = { has_landed_title = e_mongol_empire } + } + FROM = { title = b_london } + + NOT = { + FROM = { + owner = { + OR = { + has_landed_title = e_il-khanate + has_landed_title = e_golden_horde + has_landed_title = e_mongol_empire + liege = { has_landed_title = e_il-khanate } + liege = { has_landed_title = e_golden_horde } + liege = { has_landed_title = e_mongol_empire } + top_liege = { has_landed_title = e_il-khanate } + top_liege = { has_landed_title = e_golden_horde } + top_liege = { has_landed_title = e_mongol_empire } + } + } + } + } + } + + major_trigger = { + NOT = { + has_landed_title = e_il-khanate + has_landed_title = e_golden_horde + has_landed_title = e_mongol_empire + liege = { has_landed_title = e_il-khanate } + liege = { has_landed_title = e_golden_horde } + liege = { has_landed_title = e_mongol_empire } + top_liege = { has_landed_title = e_il-khanate } + top_liege = { has_landed_title = e_golden_horde } + top_liege = { has_landed_title = e_mongol_empire } + } + } + + immediate = { + set_global_flag = mongols_sack_london + any_player = { + limit = { + OR = { + has_landed_title = e_il-khanate + has_landed_title = e_golden_horde + has_landed_title = e_mongol_empire + liege = { has_landed_title = e_il-khanate } + liege = { has_landed_title = e_golden_horde } + liege = { has_landed_title = e_mongol_empire } + top_liege = { has_landed_title = e_il-khanate } + top_liege = { has_landed_title = e_golden_horde } + top_liege = { has_landed_title = e_mongol_empire } + } + } + narrative_event = { id = TOG.6 } + } + } + + option = { + name = "EVTOPTA60105" + trigger = { NOT = { religion_group = muslim } } + } + option = { + name = "EVTOPTB60105" + trigger = { religion_group = muslim } + } +} + +# Mongols sack Rome +narrative_event = { + id = 60106 + title = "EVTNAME60106" + desc = "EVTDESC60106" + major = yes + + picture = "GFX_evt_rome_falls" + border = "GFX_event_narrative_frame_war" + + is_triggered_only = yes + + culture = mongol + + trigger = { + NOT = { has_global_flag = mongols_sack_rome } + OR = { + has_landed_title = e_il-khanate + has_landed_title = e_golden_horde + has_landed_title = e_mongol_empire + liege = { has_landed_title = e_il-khanate } + liege = { has_landed_title = e_golden_horde } + liege = { has_landed_title = e_mongol_empire } + top_liege = { has_landed_title = e_il-khanate } + top_liege = { has_landed_title = e_golden_horde } + top_liege = { has_landed_title = e_mongol_empire } + } + FROM = { title = b_roma } + + NOT = { + FROM = { + owner = { + OR = { + has_landed_title = e_il-khanate + has_landed_title = e_golden_horde + has_landed_title = e_mongol_empire + liege = { has_landed_title = e_il-khanate } + liege = { has_landed_title = e_golden_horde } + liege = { has_landed_title = e_mongol_empire } + top_liege = { has_landed_title = e_il-khanate } + top_liege = { has_landed_title = e_golden_horde } + top_liege = { has_landed_title = e_mongol_empire } + } + } + } + } + } + + major_trigger = { + NOT = { + has_landed_title = e_il-khanate + has_landed_title = e_golden_horde + has_landed_title = e_mongol_empire + liege = { has_landed_title = e_il-khanate } + liege = { has_landed_title = e_golden_horde } + liege = { has_landed_title = e_mongol_empire } + top_liege = { has_landed_title = e_il-khanate } + top_liege = { has_landed_title = e_golden_horde } + top_liege = { has_landed_title = e_mongol_empire } + } + } + + immediate = { + set_global_flag = mongols_sack_rome + any_player = { + limit = { + OR = { + has_landed_title = e_il-khanate + has_landed_title = e_golden_horde + has_landed_title = e_mongol_empire + liege = { has_landed_title = e_il-khanate } + liege = { has_landed_title = e_golden_horde } + liege = { has_landed_title = e_mongol_empire } + top_liege = { has_landed_title = e_il-khanate } + top_liege = { has_landed_title = e_golden_horde } + top_liege = { has_landed_title = e_mongol_empire } + } + } + narrative_event = { id = TOG.7 } + } + } + + option = { + name = "EVTOPTA60106" + trigger = { NOT = { religion_group = muslim } } + } + option = { + name = "EVTOPTB60106" + trigger = { religion_group = muslim } + } +} + +# Mongols sack Venice +narrative_event = { + id = 60107 + title = "EVTNAME60107" + desc = "EVTDESC60107" + major = yes + + picture = "GFX_evt_mongols" + border = "GFX_event_narrative_frame_war" + + is_triggered_only = yes + + culture = mongol + + trigger = { + FROM = { title = b_venezia } + NOT = { has_global_flag = mongols_sack_venice } + OR = { + has_landed_title = e_il-khanate + has_landed_title = e_golden_horde + has_landed_title = e_mongol_empire + liege = { has_landed_title = e_il-khanate } + liege = { has_landed_title = e_golden_horde } + liege = { has_landed_title = e_mongol_empire } + top_liege = { has_landed_title = e_il-khanate } + top_liege = { has_landed_title = e_golden_horde } + top_liege = { has_landed_title = e_mongol_empire } + } + NOT = { + FROM = { + owner = { + OR = { + has_landed_title = e_il-khanate + has_landed_title = e_golden_horde + has_landed_title = e_mongol_empire + liege = { has_landed_title = e_il-khanate } + liege = { has_landed_title = e_golden_horde } + liege = { has_landed_title = e_mongol_empire } + top_liege = { has_landed_title = e_il-khanate } + top_liege = { has_landed_title = e_golden_horde } + top_liege = { has_landed_title = e_mongol_empire } + } + } + } + } + } + + major_trigger = { + NOT = { + has_landed_title = e_il-khanate + has_landed_title = e_golden_horde + has_landed_title = e_mongol_empire + liege = { has_landed_title = e_il-khanate } + liege = { has_landed_title = e_golden_horde } + liege = { has_landed_title = e_mongol_empire } + top_liege = { has_landed_title = e_il-khanate } + top_liege = { has_landed_title = e_golden_horde } + top_liege = { has_landed_title = e_mongol_empire } + } + } + + immediate = { + set_global_flag = mongols_sack_venice + any_player = { + limit = { + OR = { + has_landed_title = e_il-khanate + has_landed_title = e_golden_horde + has_landed_title = e_mongol_empire + liege = { has_landed_title = e_il-khanate } + liege = { has_landed_title = e_golden_horde } + liege = { has_landed_title = e_mongol_empire } + top_liege = { has_landed_title = e_il-khanate } + top_liege = { has_landed_title = e_golden_horde } + top_liege = { has_landed_title = e_mongol_empire } + } + } + narrative_event = { id = TOG.8 } + } + } + + option = { + name = "EVTOPTA60107" + trigger = { NOT = { religion_group = muslim } } + } + option = { + name = "EVTOPTB60107" + trigger = { religion_group = muslim } + } +} + +# Mongols sack Constantinople +narrative_event = { + id = 60108 + title = "EVTNAME60108" + desc = "EVTDESC60108" + major = yes + + picture = "GFX_evt_mongols" + border = "GFX_event_narrative_frame_war" + + is_triggered_only = yes + + culture = mongol + + trigger = { + FROM = { title = b_constantinople } + NOT = { has_global_flag = mongols_sack_constantinople } + OR = { + has_landed_title = e_il-khanate + has_landed_title = e_golden_horde + has_landed_title = e_mongol_empire + liege = { has_landed_title = e_il-khanate } + liege = { has_landed_title = e_golden_horde } + liege = { has_landed_title = e_mongol_empire } + top_liege = { has_landed_title = e_il-khanate } + top_liege = { has_landed_title = e_golden_horde } + top_liege = { has_landed_title = e_mongol_empire } + } + + NOT = { + FROM = { + owner = { + OR = { + has_landed_title = e_il-khanate + has_landed_title = e_golden_horde + has_landed_title = e_mongol_empire + liege = { has_landed_title = e_il-khanate } + liege = { has_landed_title = e_golden_horde } + liege = { has_landed_title = e_mongol_empire } + top_liege = { has_landed_title = e_il-khanate } + top_liege = { has_landed_title = e_golden_horde } + top_liege = { has_landed_title = e_mongol_empire } + } + } + } + } + } + + major_trigger = { + NOT = { + has_landed_title = e_il-khanate + has_landed_title = e_golden_horde + has_landed_title = e_mongol_empire + liege = { has_landed_title = e_il-khanate } + liege = { has_landed_title = e_golden_horde } + liege = { has_landed_title = e_mongol_empire } + top_liege = { has_landed_title = e_il-khanate } + top_liege = { has_landed_title = e_golden_horde } + top_liege = { has_landed_title = e_mongol_empire } + } + } + + immediate = { + set_global_flag = mongols_sack_constantinople + any_player = { + limit = { + OR = { + has_landed_title = e_il-khanate + has_landed_title = e_golden_horde + has_landed_title = e_mongol_empire + liege = { has_landed_title = e_il-khanate } + liege = { has_landed_title = e_golden_horde } + liege = { has_landed_title = e_mongol_empire } + top_liege = { has_landed_title = e_il-khanate } + top_liege = { has_landed_title = e_golden_horde } + top_liege = { has_landed_title = e_mongol_empire } + } + } + narrative_event = { id = TOG.9 } + } + } + + option = { + name = "EVTOPTA60108" + trigger = { NOT = { religion_group = muslim } } + } + option = { + name = "EVTOPTB60108" + trigger = { religion_group = muslim } + } +} + +# Mongols sack Lisbon +narrative_event = { + id = 60109 + title = "EVTNAME60109" + desc = "EVTDESC60109" + major = yes + + picture = "GFX_evt_mongols" + border = "GFX_event_narrative_frame_war" + + is_triggered_only = yes + + culture = mongol + + trigger = { + FROM = { title = b_lisboa } + NOT = { has_global_flag = mongols_sack_lisbon } + OR = { + has_landed_title = e_il-khanate + has_landed_title = e_golden_horde + has_landed_title = e_mongol_empire + liege = { has_landed_title = e_il-khanate } + liege = { has_landed_title = e_golden_horde } + liege = { has_landed_title = e_mongol_empire } + top_liege = { has_landed_title = e_il-khanate } + top_liege = { has_landed_title = e_golden_horde } + top_liege = { has_landed_title = e_mongol_empire } + } + + NOT = { + FROM = { + owner = { + OR = { + has_landed_title = e_il-khanate + has_landed_title = e_golden_horde + has_landed_title = e_mongol_empire + liege = { has_landed_title = e_il-khanate } + liege = { has_landed_title = e_golden_horde } + liege = { has_landed_title = e_mongol_empire } + top_liege = { has_landed_title = e_il-khanate } + top_liege = { has_landed_title = e_golden_horde } + top_liege = { has_landed_title = e_mongol_empire } + } + } + } + } + } + + major_trigger = { + NOT = { + has_landed_title = e_il-khanate + has_landed_title = e_golden_horde + has_landed_title = e_mongol_empire + liege = { has_landed_title = e_il-khanate } + liege = { has_landed_title = e_golden_horde } + liege = { has_landed_title = e_mongol_empire } + top_liege = { has_landed_title = e_il-khanate } + top_liege = { has_landed_title = e_golden_horde } + top_liege = { has_landed_title = e_mongol_empire } + } + } + + immediate = { + set_global_flag = mongols_sack_lisbon + any_player = { + limit = { + OR = { + has_landed_title = e_il-khanate + has_landed_title = e_golden_horde + has_landed_title = e_mongol_empire + liege = { has_landed_title = e_il-khanate } + liege = { has_landed_title = e_golden_horde } + liege = { has_landed_title = e_mongol_empire } + top_liege = { has_landed_title = e_il-khanate } + top_liege = { has_landed_title = e_golden_horde } + top_liege = { has_landed_title = e_mongol_empire } + } + } + narrative_event = { id = TOG.10 } + } + } + + option = { + name = "EVTOPTA60109" + trigger = { NOT = { religion_group = muslim } } + } + option = { + name = "EVTOPTB60109" + trigger = { religion_group = muslim } + } +} + +# Mongols sack Smolensk +narrative_event = { + id = 60110 + title = "EVTNAME60110" + desc = "EVTDESC60110" + major = yes + + picture = "GFX_evt_mongols" + border = "GFX_event_narrative_frame_war" + + is_triggered_only = yes + + culture = mongol + + trigger = { + FROM = { title = b_smolensk } + NOT = { has_global_flag = mongols_sack_smolensk } + OR = { + has_landed_title = e_il-khanate + has_landed_title = e_golden_horde + has_landed_title = e_mongol_empire + liege = { has_landed_title = e_il-khanate } + liege = { has_landed_title = e_golden_horde } + liege = { has_landed_title = e_mongol_empire } + top_liege = { has_landed_title = e_il-khanate } + top_liege = { has_landed_title = e_golden_horde } + top_liege = { has_landed_title = e_mongol_empire } + } + + NOT = { + FROM = { + owner = { + OR = { + has_landed_title = e_il-khanate + has_landed_title = e_golden_horde + has_landed_title = e_mongol_empire + liege = { has_landed_title = e_il-khanate } + liege = { has_landed_title = e_golden_horde } + liege = { has_landed_title = e_mongol_empire } + top_liege = { has_landed_title = e_il-khanate } + top_liege = { has_landed_title = e_golden_horde } + top_liege = { has_landed_title = e_mongol_empire } + } + } + } + } + } + + major_trigger = { + NOT = { + has_landed_title = e_il-khanate + has_landed_title = e_golden_horde + has_landed_title = e_mongol_empire + liege = { has_landed_title = e_il-khanate } + liege = { has_landed_title = e_golden_horde } + liege = { has_landed_title = e_mongol_empire } + top_liege = { has_landed_title = e_il-khanate } + top_liege = { has_landed_title = e_golden_horde } + top_liege = { has_landed_title = e_mongol_empire } + } + } + + immediate = { + set_global_flag = mongols_sack_smolensk + any_player = { + limit = { + OR = { + has_landed_title = e_il-khanate + has_landed_title = e_golden_horde + has_landed_title = e_mongol_empire + liege = { has_landed_title = e_il-khanate } + liege = { has_landed_title = e_golden_horde } + liege = { has_landed_title = e_mongol_empire } + top_liege = { has_landed_title = e_il-khanate } + top_liege = { has_landed_title = e_golden_horde } + top_liege = { has_landed_title = e_mongol_empire } + } + } + narrative_event = { id = TOG.11 } + } + } + + option = { + name = "EVTOPTA60110" + trigger = { NOT = { religion_group = muslim } } + } + option = { + name = "EVTOPTB60110" + trigger = { religion_group = muslim } + } +} + +# Mongols sack Prague +narrative_event = { + id = 60111 + title = "EVTNAME60111" + desc = "EVTDESC60111" + major = yes + + picture = "GFX_evt_mongols" + border = "GFX_event_narrative_frame_war" + + is_triggered_only = yes + + culture = mongol + + trigger = { + FROM = { title = b_praha } + NOT = { has_global_flag = mongols_sack_prague } + OR = { + has_landed_title = e_il-khanate + has_landed_title = e_golden_horde + has_landed_title = e_mongol_empire + liege = { has_landed_title = e_il-khanate } + liege = { has_landed_title = e_golden_horde } + liege = { has_landed_title = e_mongol_empire } + top_liege = { has_landed_title = e_il-khanate } + top_liege = { has_landed_title = e_golden_horde } + top_liege = { has_landed_title = e_mongol_empire } + } + + NOT = { + FROM = { + owner = { + OR = { + has_landed_title = e_il-khanate + has_landed_title = e_golden_horde + has_landed_title = e_mongol_empire + liege = { has_landed_title = e_il-khanate } + liege = { has_landed_title = e_golden_horde } + liege = { has_landed_title = e_mongol_empire } + top_liege = { has_landed_title = e_il-khanate } + top_liege = { has_landed_title = e_golden_horde } + top_liege = { has_landed_title = e_mongol_empire } + } + } + } + } + } + + major_trigger = { + NOT = { + has_landed_title = e_il-khanate + has_landed_title = e_golden_horde + has_landed_title = e_mongol_empire + liege = { has_landed_title = e_il-khanate } + liege = { has_landed_title = e_golden_horde } + liege = { has_landed_title = e_mongol_empire } + top_liege = { has_landed_title = e_il-khanate } + top_liege = { has_landed_title = e_golden_horde } + top_liege = { has_landed_title = e_mongol_empire } + } + } + + immediate = { + set_global_flag = mongols_sack_prague + any_player = { + limit = { + OR = { + has_landed_title = e_il-khanate + has_landed_title = e_golden_horde + has_landed_title = e_mongol_empire + liege = { has_landed_title = e_il-khanate } + liege = { has_landed_title = e_golden_horde } + liege = { has_landed_title = e_mongol_empire } + top_liege = { has_landed_title = e_il-khanate } + top_liege = { has_landed_title = e_golden_horde } + top_liege = { has_landed_title = e_mongol_empire } + } + } + narrative_event = { id = TOG.12 } + } + } + + option = { + name = "EVTOPTA60111" + trigger = { NOT = { religion_group = muslim } } + } + option = { + name = "EVTOPTB60111" + trigger = { religion_group = muslim } + } +} + +# Mongols sack Vienna +narrative_event = { + id = 60112 + title = "EVTNAME60112" + desc = "EVTDESC60112" + major = yes + + picture = "GFX_evt_mongols" + border = "GFX_event_narrative_frame_war" + + is_triggered_only = yes + + culture = mongol + + trigger = { + FROM = { title = b_wien } + NOT = { has_global_flag = mongols_sack_vienna } + OR = { + has_landed_title = e_il-khanate + has_landed_title = e_golden_horde + has_landed_title = e_mongol_empire + liege = { has_landed_title = e_il-khanate } + liege = { has_landed_title = e_golden_horde } + liege = { has_landed_title = e_mongol_empire } + top_liege = { has_landed_title = e_il-khanate } + top_liege = { has_landed_title = e_golden_horde } + top_liege = { has_landed_title = e_mongol_empire } + } + + NOT = { + FROM = { + owner = { + OR = { + has_landed_title = e_il-khanate + has_landed_title = e_golden_horde + has_landed_title = e_mongol_empire + liege = { has_landed_title = e_il-khanate } + liege = { has_landed_title = e_golden_horde } + liege = { has_landed_title = e_mongol_empire } + top_liege = { has_landed_title = e_il-khanate } + top_liege = { has_landed_title = e_golden_horde } + top_liege = { has_landed_title = e_mongol_empire } + } + } + } + } + } + + major_trigger = { + NOT = { + has_landed_title = e_il-khanate + has_landed_title = e_golden_horde + has_landed_title = e_mongol_empire + liege = { has_landed_title = e_il-khanate } + liege = { has_landed_title = e_golden_horde } + liege = { has_landed_title = e_mongol_empire } + top_liege = { has_landed_title = e_il-khanate } + top_liege = { has_landed_title = e_golden_horde } + top_liege = { has_landed_title = e_mongol_empire } + } + } + + immediate = { + set_global_flag = mongols_sack_vienna + any_player = { + limit = { + OR = { + has_landed_title = e_il-khanate + has_landed_title = e_golden_horde + has_landed_title = e_mongol_empire + liege = { has_landed_title = e_il-khanate } + liege = { has_landed_title = e_golden_horde } + liege = { has_landed_title = e_mongol_empire } + top_liege = { has_landed_title = e_il-khanate } + top_liege = { has_landed_title = e_golden_horde } + top_liege = { has_landed_title = e_mongol_empire } + } + } + narrative_event = { id = TOG.13 } + } + } + + option = { + name = "EVTOPTA60112" + trigger = { NOT = { religion_group = muslim } } + } + option = { + name = "EVTOPTB60112" + trigger = { religion_group = muslim } + } +} + +# Mongols sack Esztergom +narrative_event = { + id = 60113 + title = "EVTNAME60113" + desc = "EVTDESC60113" + major = yes + + picture = "GFX_evt_mongols" + border = "GFX_event_narrative_frame_war" + + is_triggered_only = yes + + culture = mongol + + trigger = { + FROM = { title = b_esztergom } + NOT = { has_global_flag = mongols_sack_esztergom } + OR = { + has_landed_title = e_il-khanate + has_landed_title = e_golden_horde + has_landed_title = e_mongol_empire + liege = { has_landed_title = e_il-khanate } + liege = { has_landed_title = e_golden_horde } + liege = { has_landed_title = e_mongol_empire } + top_liege = { has_landed_title = e_il-khanate } + top_liege = { has_landed_title = e_golden_horde } + top_liege = { has_landed_title = e_mongol_empire } + } + + NOT = { + FROM = { + owner = { + OR = { + has_landed_title = e_il-khanate + has_landed_title = e_golden_horde + has_landed_title = e_mongol_empire + liege = { has_landed_title = e_il-khanate } + liege = { has_landed_title = e_golden_horde } + liege = { has_landed_title = e_mongol_empire } + top_liege = { has_landed_title = e_il-khanate } + top_liege = { has_landed_title = e_golden_horde } + top_liege = { has_landed_title = e_mongol_empire } + } + } + } + } + } + + major_trigger = { + NOT = { + has_landed_title = e_il-khanate + has_landed_title = e_golden_horde + has_landed_title = e_mongol_empire + liege = { has_landed_title = e_il-khanate } + liege = { has_landed_title = e_golden_horde } + liege = { has_landed_title = e_mongol_empire } + top_liege = { has_landed_title = e_il-khanate } + top_liege = { has_landed_title = e_golden_horde } + top_liege = { has_landed_title = e_mongol_empire } + } + } + + immediate = { + set_global_flag = mongols_sack_esztergom + any_player = { + limit = { + OR = { + has_landed_title = e_il-khanate + has_landed_title = e_golden_horde + has_landed_title = e_mongol_empire + liege = { has_landed_title = e_il-khanate } + liege = { has_landed_title = e_golden_horde } + liege = { has_landed_title = e_mongol_empire } + top_liege = { has_landed_title = e_il-khanate } + top_liege = { has_landed_title = e_golden_horde } + top_liege = { has_landed_title = e_mongol_empire } + } + } + narrative_event = { id = TOG.14 } + } + } + + option = { + name = "EVTOPTA60113" + trigger = { NOT = { religion_group = muslim } } + } + option = { + name = "EVTOPTB60113" + trigger = { religion_group = muslim } + } +} + +# Mongols sack Athens +narrative_event = { + id = 60114 + title = "EVTNAME60114" + desc = "EVTDESC60114" + major = yes + + picture = "GFX_evt_mongols" + border = "GFX_event_narrative_frame_war" + + is_triggered_only = yes + + culture = mongol + + trigger = { + FROM = { title = b_athens } + NOT = { has_global_flag = mongols_sack_athens } + OR = { + has_landed_title = e_il-khanate + has_landed_title = e_golden_horde + has_landed_title = e_mongol_empire + liege = { has_landed_title = e_il-khanate } + liege = { has_landed_title = e_golden_horde } + liege = { has_landed_title = e_mongol_empire } + top_liege = { has_landed_title = e_il-khanate } + top_liege = { has_landed_title = e_golden_horde } + top_liege = { has_landed_title = e_mongol_empire } + } + + NOT = { + FROM = { + owner = { + OR = { + has_landed_title = e_il-khanate + has_landed_title = e_golden_horde + has_landed_title = e_mongol_empire + liege = { has_landed_title = e_il-khanate } + liege = { has_landed_title = e_golden_horde } + liege = { has_landed_title = e_mongol_empire } + top_liege = { has_landed_title = e_il-khanate } + top_liege = { has_landed_title = e_golden_horde } + top_liege = { has_landed_title = e_mongol_empire } + } + } + } + } + } + + major_trigger = { + NOT = { + has_landed_title = e_il-khanate + has_landed_title = e_golden_horde + has_landed_title = e_mongol_empire + liege = { has_landed_title = e_il-khanate } + liege = { has_landed_title = e_golden_horde } + liege = { has_landed_title = e_mongol_empire } + top_liege = { has_landed_title = e_il-khanate } + top_liege = { has_landed_title = e_golden_horde } + top_liege = { has_landed_title = e_mongol_empire } + } + } + + immediate = { + set_global_flag = mongols_sack_athens + any_player = { + limit = { + OR = { + has_landed_title = e_il-khanate + has_landed_title = e_golden_horde + has_landed_title = e_mongol_empire + liege = { has_landed_title = e_il-khanate } + liege = { has_landed_title = e_golden_horde } + liege = { has_landed_title = e_mongol_empire } + top_liege = { has_landed_title = e_il-khanate } + top_liege = { has_landed_title = e_golden_horde } + top_liege = { has_landed_title = e_mongol_empire } + } + } + narrative_event = { id = TOG.15 } + } + } + + option = { + name = "EVTOPTA60114" + trigger = { NOT = { religion_group = muslim } } + } + option = { + name = "EVTOPTB60114" + trigger = { religion_group = muslim } + } +} + +# Mongols sack Belgrade +narrative_event = { + id = 60115 + title = "EVTNAME60115" + desc = "EVTDESC60115" + major = yes + + picture = "GFX_evt_mongols" + border = "GFX_event_narrative_frame_war" + + is_triggered_only = yes + + culture = mongol + + trigger = { + FROM = { title = b_belgrade } + NOT = { has_global_flag = mongols_sack_belgrade } + OR = { + has_landed_title = e_il-khanate + has_landed_title = e_golden_horde + has_landed_title = e_mongol_empire + liege = { has_landed_title = e_il-khanate } + liege = { has_landed_title = e_golden_horde } + liege = { has_landed_title = e_mongol_empire } + top_liege = { has_landed_title = e_il-khanate } + top_liege = { has_landed_title = e_golden_horde } + top_liege = { has_landed_title = e_mongol_empire } + } + + NOT = { + FROM = { + owner = { + OR = { + has_landed_title = e_il-khanate + has_landed_title = e_golden_horde + has_landed_title = e_mongol_empire + liege = { has_landed_title = e_il-khanate } + liege = { has_landed_title = e_golden_horde } + liege = { has_landed_title = e_mongol_empire } + top_liege = { has_landed_title = e_il-khanate } + top_liege = { has_landed_title = e_golden_horde } + top_liege = { has_landed_title = e_mongol_empire } + } + } + } + } + } + + major_trigger = { + NOT = { + has_landed_title = e_il-khanate + has_landed_title = e_golden_horde + has_landed_title = e_mongol_empire + liege = { has_landed_title = e_il-khanate } + liege = { has_landed_title = e_golden_horde } + liege = { has_landed_title = e_mongol_empire } + top_liege = { has_landed_title = e_il-khanate } + top_liege = { has_landed_title = e_golden_horde } + top_liege = { has_landed_title = e_mongol_empire } + } + } + + immediate = { + set_global_flag = mongols_sack_belgrade + any_player = { + limit = { + OR = { + has_landed_title = e_il-khanate + has_landed_title = e_golden_horde + has_landed_title = e_mongol_empire + liege = { has_landed_title = e_il-khanate } + liege = { has_landed_title = e_golden_horde } + liege = { has_landed_title = e_mongol_empire } + top_liege = { has_landed_title = e_il-khanate } + top_liege = { has_landed_title = e_golden_horde } + top_liege = { has_landed_title = e_mongol_empire } + } + } + narrative_event = { id = TOG.16 } + } + } + + option = { + name = "EVTOPTA60115" + trigger = { NOT = { religion_group = muslim } } + } + option = { + name = "EVTOPTB60115" + trigger = { religion_group = muslim } + } +} + +### Mongols sack Middle Eastern cities ### + +# Mongols sack Baghdad +narrative_event = { + id = 60116 + title = "EVTNAME60116" + desc = "EVTDESC60116" + major = yes + + picture = "GFX_evt_mongols" + border = "GFX_event_narrative_frame_war" + + is_triggered_only = yes + + culture = mongol + + trigger = { + FROM = { title = b_bagdad } + NOT = { has_global_flag = mongols_sack_baghdad } + OR = { + has_landed_title = e_il-khanate + has_landed_title = e_golden_horde + has_landed_title = e_mongol_empire + liege = { has_landed_title = e_il-khanate } + liege = { has_landed_title = e_golden_horde } + liege = { has_landed_title = e_mongol_empire } + top_liege = { has_landed_title = e_il-khanate } + top_liege = { has_landed_title = e_golden_horde } + top_liege = { has_landed_title = e_mongol_empire } + } + + NOT = { + FROM = { + owner = { + OR = { + has_landed_title = e_il-khanate + has_landed_title = e_golden_horde + has_landed_title = e_mongol_empire + liege = { has_landed_title = e_il-khanate } + liege = { has_landed_title = e_golden_horde } + liege = { has_landed_title = e_mongol_empire } + top_liege = { has_landed_title = e_il-khanate } + top_liege = { has_landed_title = e_golden_horde } + top_liege = { has_landed_title = e_mongol_empire } + } + } + } + } + } + + major_trigger = { + NOT = { + has_landed_title = e_il-khanate + has_landed_title = e_golden_horde + has_landed_title = e_mongol_empire + liege = { has_landed_title = e_il-khanate } + liege = { has_landed_title = e_golden_horde } + liege = { has_landed_title = e_mongol_empire } + top_liege = { has_landed_title = e_il-khanate } + top_liege = { has_landed_title = e_golden_horde } + top_liege = { has_landed_title = e_mongol_empire } + } + } + + immediate = { + set_global_flag = mongols_sack_baghdad + any_player = { + limit = { + OR = { + has_landed_title = e_il-khanate + has_landed_title = e_golden_horde + has_landed_title = e_mongol_empire + liege = { has_landed_title = e_il-khanate } + liege = { has_landed_title = e_golden_horde } + liege = { has_landed_title = e_mongol_empire } + top_liege = { has_landed_title = e_il-khanate } + top_liege = { has_landed_title = e_golden_horde } + top_liege = { has_landed_title = e_mongol_empire } + } + } + narrative_event = { id = TOG.17 } + } + } + + option = { + name = "EVTOPTA60116" + trigger = { religion_group = muslim } + } + option = { + name = "EVTOPTB60116" + trigger = { NOT = { religion_group = muslim } } + } +} + +# Mongols sack Damascus +narrative_event = { + id = 60117 + title = "EVTNAME60117" + desc = "EVTDESC60117" + major = yes + + picture = "GFX_evt_mongols" + border = "GFX_event_narrative_frame_war" + + is_triggered_only = yes + + culture = mongol + + trigger = { + FROM = { title = b_damascus } + NOT = { has_global_flag = mongols_sack_damascus } + OR = { + has_landed_title = e_il-khanate + has_landed_title = e_golden_horde + has_landed_title = e_mongol_empire + liege = { has_landed_title = e_il-khanate } + liege = { has_landed_title = e_golden_horde } + liege = { has_landed_title = e_mongol_empire } + top_liege = { has_landed_title = e_il-khanate } + top_liege = { has_landed_title = e_golden_horde } + top_liege = { has_landed_title = e_mongol_empire } + } + + NOT = { + FROM = { + owner = { + OR = { + has_landed_title = e_il-khanate + has_landed_title = e_golden_horde + has_landed_title = e_mongol_empire + liege = { has_landed_title = e_il-khanate } + liege = { has_landed_title = e_golden_horde } + liege = { has_landed_title = e_mongol_empire } + top_liege = { has_landed_title = e_il-khanate } + top_liege = { has_landed_title = e_golden_horde } + top_liege = { has_landed_title = e_mongol_empire } + } + } + } + } + } + + major_trigger = { + NOT = { + has_landed_title = e_il-khanate + has_landed_title = e_golden_horde + has_landed_title = e_mongol_empire + liege = { has_landed_title = e_il-khanate } + liege = { has_landed_title = e_golden_horde } + liege = { has_landed_title = e_mongol_empire } + top_liege = { has_landed_title = e_il-khanate } + top_liege = { has_landed_title = e_golden_horde } + top_liege = { has_landed_title = e_mongol_empire } + } + } + + immediate = { + set_global_flag = mongols_sack_damascus + any_player = { + limit = { + OR = { + has_landed_title = e_il-khanate + has_landed_title = e_golden_horde + has_landed_title = e_mongol_empire + liege = { has_landed_title = e_il-khanate } + liege = { has_landed_title = e_golden_horde } + liege = { has_landed_title = e_mongol_empire } + top_liege = { has_landed_title = e_il-khanate } + top_liege = { has_landed_title = e_golden_horde } + top_liege = { has_landed_title = e_mongol_empire } + } + } + narrative_event = { id = TOG.18 } + } + } + + option = { + name = "EVTOPTA60117" + trigger = { religion_group = muslim } + } + option = { + name = "EVTOPTB60117" + trigger = { NOT = { religion_group = muslim } } + } +} + +# Mongols sack Jerusalem +narrative_event = { + id = 60118 + title = "EVTNAME60118" + desc = "EVTDESC60118" + major = yes + + picture = "GFX_evt_mongols" + border = "GFX_event_narrative_frame_war" + + is_triggered_only = yes + + culture = mongol + + trigger = { + FROM = { title = b_jerusalem } + NOT = { has_global_flag = mongols_sack_jerusalem } + NOT = { + OR = { + religion_group = muslim + religion_group = christian + } + } + OR = { + has_landed_title = e_il-khanate + has_landed_title = e_golden_horde + has_landed_title = e_mongol_empire + liege = { has_landed_title = e_il-khanate } + liege = { has_landed_title = e_golden_horde } + liege = { has_landed_title = e_mongol_empire } + top_liege = { has_landed_title = e_il-khanate } + top_liege = { has_landed_title = e_golden_horde } + top_liege = { has_landed_title = e_mongol_empire } + } + + NOT = { + FROM = { + owner = { + OR = { + has_landed_title = e_il-khanate + has_landed_title = e_golden_horde + has_landed_title = e_mongol_empire + liege = { has_landed_title = e_il-khanate } + liege = { has_landed_title = e_golden_horde } + liege = { has_landed_title = e_mongol_empire } + top_liege = { has_landed_title = e_il-khanate } + top_liege = { has_landed_title = e_golden_horde } + top_liege = { has_landed_title = e_mongol_empire } + } + } + } + } + } + + major_trigger = { + NOT = { + has_landed_title = e_il-khanate + has_landed_title = e_golden_horde + has_landed_title = e_mongol_empire + liege = { has_landed_title = e_il-khanate } + liege = { has_landed_title = e_golden_horde } + liege = { has_landed_title = e_mongol_empire } + top_liege = { has_landed_title = e_il-khanate } + top_liege = { has_landed_title = e_golden_horde } + top_liege = { has_landed_title = e_mongol_empire } + } + } + + immediate = { + set_global_flag = mongols_sack_jerusalem + any_player = { + limit = { + OR = { + has_landed_title = e_il-khanate + has_landed_title = e_golden_horde + has_landed_title = e_mongol_empire + liege = { has_landed_title = e_il-khanate } + liege = { has_landed_title = e_golden_horde } + liege = { has_landed_title = e_mongol_empire } + top_liege = { has_landed_title = e_il-khanate } + top_liege = { has_landed_title = e_golden_horde } + top_liege = { has_landed_title = e_mongol_empire } + } + } + narrative_event = { id = TOG.19 } + } + } + + option = { + name = "EVTOPTA60118" + trigger = { religion_group = muslim } + } + option = { + name = "EVTOPTB60118" + trigger = { NOT = { religion_group = muslim } } + } +} + +# Mongols sack Alexandria +narrative_event = { + id = 60119 + title = "EVTNAME60119" + desc = "EVTDESC60119" + major = yes + + picture = "GFX_evt_mongols" + border = "GFX_event_narrative_frame_war" + + is_triggered_only = yes + + culture = mongol + + trigger = { + FROM = { title = b_alexandria } + NOT = { has_global_flag = mongols_sack_alexandria } + OR = { + has_landed_title = e_il-khanate + has_landed_title = e_golden_horde + has_landed_title = e_mongol_empire + liege = { has_landed_title = e_il-khanate } + liege = { has_landed_title = e_golden_horde } + liege = { has_landed_title = e_mongol_empire } + top_liege = { has_landed_title = e_il-khanate } + top_liege = { has_landed_title = e_golden_horde } + top_liege = { has_landed_title = e_mongol_empire } + } + + NOT = { + FROM = { + owner = { + OR = { + has_landed_title = e_il-khanate + has_landed_title = e_golden_horde + has_landed_title = e_mongol_empire + liege = { has_landed_title = e_il-khanate } + liege = { has_landed_title = e_golden_horde } + liege = { has_landed_title = e_mongol_empire } + top_liege = { has_landed_title = e_il-khanate } + top_liege = { has_landed_title = e_golden_horde } + top_liege = { has_landed_title = e_mongol_empire } + } + } + } + } + } + + major_trigger = { + NOT = { + has_landed_title = e_il-khanate + has_landed_title = e_golden_horde + has_landed_title = e_mongol_empire + liege = { has_landed_title = e_il-khanate } + liege = { has_landed_title = e_golden_horde } + liege = { has_landed_title = e_mongol_empire } + top_liege = { has_landed_title = e_il-khanate } + top_liege = { has_landed_title = e_golden_horde } + top_liege = { has_landed_title = e_mongol_empire } + } + } + + immediate = { + set_global_flag = mongols_sack_alexandria + any_player = { + limit = { + OR = { + has_landed_title = e_il-khanate + has_landed_title = e_golden_horde + has_landed_title = e_mongol_empire + liege = { has_landed_title = e_il-khanate } + liege = { has_landed_title = e_golden_horde } + liege = { has_landed_title = e_mongol_empire } + top_liege = { has_landed_title = e_il-khanate } + top_liege = { has_landed_title = e_golden_horde } + top_liege = { has_landed_title = e_mongol_empire } + } + } + narrative_event = { id = TOG.20 } + } + } + + option = { + name = "EVTOPTA60119" + trigger = { religion_group = muslim } + } + option = { + name = "EVTOPTB60119" + trigger = { NOT = { religion_group = muslim } } + } +} + +# Mongols sack Cairo +narrative_event = { + id = 60120 + title = "EVTNAME60120" + desc = "EVTDESC60120" + major = yes + + picture = "GFX_evt_mongols" + border = "GFX_event_narrative_frame_war" + + is_triggered_only = yes + + culture = mongol + + trigger = { + FROM = { title = b_cairo } + NOT = { has_global_flag = mongols_sack_cairo } + OR = { + has_landed_title = e_il-khanate + has_landed_title = e_golden_horde + has_landed_title = e_mongol_empire + liege = { has_landed_title = e_il-khanate } + liege = { has_landed_title = e_golden_horde } + liege = { has_landed_title = e_mongol_empire } + top_liege = { has_landed_title = e_il-khanate } + top_liege = { has_landed_title = e_golden_horde } + top_liege = { has_landed_title = e_mongol_empire } + } + + NOT = { + FROM = { + owner = { + OR = { + has_landed_title = e_il-khanate + has_landed_title = e_golden_horde + has_landed_title = e_mongol_empire + liege = { has_landed_title = e_il-khanate } + liege = { has_landed_title = e_golden_horde } + liege = { has_landed_title = e_mongol_empire } + top_liege = { has_landed_title = e_il-khanate } + top_liege = { has_landed_title = e_golden_horde } + top_liege = { has_landed_title = e_mongol_empire } + } + } + } + } + } + + major_trigger = { + NOT = { + has_landed_title = e_il-khanate + has_landed_title = e_golden_horde + has_landed_title = e_mongol_empire + liege = { has_landed_title = e_il-khanate } + liege = { has_landed_title = e_golden_horde } + liege = { has_landed_title = e_mongol_empire } + top_liege = { has_landed_title = e_il-khanate } + top_liege = { has_landed_title = e_golden_horde } + top_liege = { has_landed_title = e_mongol_empire } + } + } + + immediate = { + set_global_flag = mongols_sack_cairo + any_player = { + limit = { + OR = { + has_landed_title = e_il-khanate + has_landed_title = e_golden_horde + has_landed_title = e_mongol_empire + liege = { has_landed_title = e_il-khanate } + liege = { has_landed_title = e_golden_horde } + liege = { has_landed_title = e_mongol_empire } + top_liege = { has_landed_title = e_il-khanate } + top_liege = { has_landed_title = e_golden_horde } + top_liege = { has_landed_title = e_mongol_empire } + } + } + narrative_event = { id = TOG.21 } + } + } + + option = { + name = "EVTOPTA60120" + trigger = { religion_group = muslim } + } + option = { + name = "EVTOPTB60120" + trigger = { NOT = { religion_group = muslim } } + } +} + +# Mongols sack Mecca +narrative_event = { + id = 60121 + title = "EVTNAME60121" + desc = "EVTDESC60121" + major = yes + + picture = "GFX_evt_mecca_falls_soa" + border = "GFX_event_narrative_frame_war" + + is_triggered_only = yes + + culture = mongol + + trigger = { + FROM = { title = b_mecca } + NOT = { has_global_flag = mongols_sack_mecca } + NOT = { religion_group = muslim } + OR = { + has_landed_title = e_il-khanate + has_landed_title = e_golden_horde + has_landed_title = e_mongol_empire + liege = { has_landed_title = e_il-khanate } + liege = { has_landed_title = e_golden_horde } + liege = { has_landed_title = e_mongol_empire } + top_liege = { has_landed_title = e_il-khanate } + top_liege = { has_landed_title = e_golden_horde } + top_liege = { has_landed_title = e_mongol_empire } + } + + NOT = { + FROM = { + owner = { + OR = { + has_landed_title = e_il-khanate + has_landed_title = e_golden_horde + has_landed_title = e_mongol_empire + liege = { has_landed_title = e_il-khanate } + liege = { has_landed_title = e_golden_horde } + liege = { has_landed_title = e_mongol_empire } + top_liege = { has_landed_title = e_il-khanate } + top_liege = { has_landed_title = e_golden_horde } + top_liege = { has_landed_title = e_mongol_empire } + } + } + } + } + } + + major_trigger = { + NOT = { + has_landed_title = e_il-khanate + has_landed_title = e_golden_horde + has_landed_title = e_mongol_empire + liege = { has_landed_title = e_il-khanate } + liege = { has_landed_title = e_golden_horde } + liege = { has_landed_title = e_mongol_empire } + top_liege = { has_landed_title = e_il-khanate } + top_liege = { has_landed_title = e_golden_horde } + top_liege = { has_landed_title = e_mongol_empire } + } + } + + immediate = { + set_global_flag = mongols_sack_mecca + any_player = { + limit = { + OR = { + has_landed_title = e_il-khanate + has_landed_title = e_golden_horde + has_landed_title = e_mongol_empire + liege = { has_landed_title = e_il-khanate } + liege = { has_landed_title = e_golden_horde } + liege = { has_landed_title = e_mongol_empire } + top_liege = { has_landed_title = e_il-khanate } + top_liege = { has_landed_title = e_golden_horde } + top_liege = { has_landed_title = e_mongol_empire } + } + } + narrative_event = { id = TOG.22 } + } + } + + option = { + name = "EVTOPTA60121" + trigger = { religion_group = muslim } + } + option = { + name = "EVTOPTB60121" + trigger = { NOT = { religion_group = muslim } } + } +} + +################################## +# Rise of the Seljuks +################################## + +# Seljuk distinguishes himself in a Turkish court +character_event = { + id = 60200 + desc = EVTDESC60200 + + picture = GFX_evt_mongols + border = GFX_event_normal_frame_war + + only_playable = yes + culture = turkish + + trigger = { + NOT = { + has_game_rule = { + name = turkic_invasions + value = off + } + } + OR = { + AND = { + has_game_rule = { + name = turkic_invasions + value = historical + } + year = 960 + NOT = { year = 980 } + } + AND = { + has_game_rule = { + name = turkic_invasions + value = random + } + year = 809 + NOT = { year = 1200 } + } + } + + higher_tier_than = count + + NOT = { has_global_flag = seljuk_spawned } + } + + mean_time_to_happen = { + months = 24 + } + + immediate = { + create_random_soldier = { + random_traits = no + dynasty = 613 # Seljuk + name = Seljuk + culture = turkish + religion = ROOT + age = 18 + attributes = { + martial = 8 + diplomacy = 4 + stewardship = 5 + intrigue = 4 + learning = 3 + } + health = 7 + fertility = 0.8 + trait = brilliant_strategist + trait = wroth + trait = cruel + trait = proud + trait = zealous + trait = ambitious + trait = adventurer + } + new_character = { + character_event = { + id = 60201 + days = 3285 + random = 730 + } + set_character_flag = seljuk_himself + } + } + + option = { # A most capable young man + name = EVTOPTA60200 + + set_global_flag = seljuk_spawned + set_global_flag = seljuk_spawned_by_event + + tooltip = { + create_random_soldier = { + random_traits = no + dynasty = 613 # Seljuk + name = Seljuk + culture = turkish + religion = ROOT + age = 18 + attributes = { + martial = 8 + diplomacy = 4 + stewardship = 5 + intrigue = 4 + learning = 3 + } + health = 7 + fertility = 0.8 + trait = brilliant_strategist + trait = wroth + trait = cruel + trait = proud + trait = zealous + trait = ambitious + } + } + } +} + +# Seljuk and his men consider starting an adventure +character_event = { + id = 60201 + desc = EVTDESC60201 + + picture = GFX_evt_mongols + border = GFX_event_normal_frame_war + + is_triggered_only = yes + + prisoner = no + only_capable = yes + + trigger = { + is_alive = yes + NOT = { trait = blinded } + NOT = { trait = eunuch } + NOT = { trait = infirm } + lower_tier_than = king + + OR = { + 630 = { # Merv + owner = { + NOT = { same_realm = ROOT } + } + } + 631 = { # Dihistan + owner = { + NOT = { same_realm = ROOT } + } + } + 632 = { # Tus + owner = { + NOT = { same_realm = ROOT } + } + } + } + } + + option = { # Merv it is! + name = EVTOPTA60201 + trigger = { + 630 = { # Merv + owner = { + NOT = { same_realm = ROOT } + } + } + } + + ai_chance = { + factor = 10000 + } + + 630 = { + province_event = { + id = 60202 + days = 2 + } + } + } + option = { # Khorasan + name = EVTOPTB60201 + trigger = { + 632 = { # Tus + owner = { + NOT = { same_realm = ROOT } + } + } + } + + ai_chance = { + factor = 1000 + } + + 632 = { + province_event = { + id = 60202 + days = 2 + } + } + } + option = { # Dihistan + name = EVTOPTC60201 + trigger = { + 631 = { # Dihistan + owner = { + NOT = { same_realm = ROOT } + } + } + } + + ai_chance = { + factor = 100 + } + + 631 = { + province_event = { + id = 60202 + days = 2 + } + } + } +} + +# Ping the target province +province_event = { + id = 60202 + hide_window = yes + + is_triggered_only = yes + + immediate = { + if = { + limit = { + FROM = { + is_ruler = yes + } + } + FROM = { + character_event = { + id = 60204 + } + } + } + if = { + limit = { + FROM = { + is_ruler = no + } + } + FROM = { + character_event = { + id = 60203 + } + } + } + } +} + +# The landless Seljuk and his men start an adventure +character_event = { + id = 60203 + hide_window = yes + + is_triggered_only = yes + + prisoner = no + only_capable = yes + + trigger = { + is_alive = yes + NOT = { trait = blinded } + NOT = { trait = eunuch } + NOT = { trait = infirm } + lower_tier_than = king + } + + immediate = { + wealth = 500 + + any_liege = { + character_event = { + id = 60205 + days = 1 + } + } + + liege = { + capital_scope = { + FROM = { + owner = { + top_liege = { + ROOT = { + set_defacto_liege = ROOT + create_title = { + tier = DUKE + landless = yes + temporary = yes + culture = ROOT + name = "CLAIMANT_ADVENTURE" + holder = ROOT + } + + set_character_flag = duchy_adventurer + + spawn_unit = { + province = PREVPREVPREVPREV + home = PREVPREVPREVPREV + owner = THIS + #leader = THIS + match_character = PREV + match_mult = 0.33 + match_min = 500 + match_max = 10000 + attrition = 0.25 + } + spawn_unit = { + province = PREVPREVPREVPREV + home = PREVPREVPREVPREV + owner = THIS + match_character = PREV + match_mult = 0.33 + match_min = 500 + match_max = 10000 + attrition = 0.25 + } + spawn_unit = { + province = PREVPREVPREVPREV + home = PREVPREVPREVPREV + owner = THIS + match_character = PREV + match_mult = 0.33 + match_min = 500 + match_max = 10000 + attrition = 0.25 + } + spawn_unit = { + province = PREVPREVPREVPREV + home = PREVPREVPREVPREV + owner = THIS + match_character = PREV + match_mult = 0.33 + match_min = 500 + match_max = 10000 + attrition = 0.25 + } + spawn_unit = { + province = PREVPREVPREVPREV + home = PREVPREVPREVPREV + owner = THIS + match_character = PREV + match_mult = 0.33 + match_min = 500 + match_max = 10000 + attrition = 0.25 + } + spawn_unit = { + province = PREVPREVPREVPREV + home = PREVPREVPREVPREV + owner = THIS + match_character = PREV + match_mult = 0.33 + match_min = 500 + match_max = 10000 + attrition = 0.25 + } + war = { + target = PREV + casus_belli = duchy_adventure + thirdparty_title = PREVPREVPREV + tier = DUKE + } + } + } + } + } + } + } + + if = { + limit = { + NOT = { religion_group = muslim } + } + religion = sunni + } + + # Create some characters + create_random_soldier = { + random_traits = yes + dynasty = none + religion = ROOT + culture = ROOT + female = no + age = 30 + } + create_random_soldier = { + random_traits = yes + dynasty = none + religion = ROOT + culture = ROOT + female = no + age = 25 + } + create_random_soldier = { + random_traits = yes + dynasty = none + religion = ROOT + culture = ROOT + female = no + age = 22 + } + create_character = { + random_traits = yes + dynasty = none + religion = ROOT + culture = ROOT + female = yes + age = 16 + } + create_character = { + random_traits = yes + dynasty = none + religion = ROOT + culture = ROOT + female = yes + age = 17 + } + create_character = { + random_traits = yes + dynasty = none + religion = ROOT + culture = ROOT + female = yes + age = 18 + } + + log = "60203: Seljuk starts his first war as a landless character!" + } +} + +# The landed Seljuk and his men start an adventure +character_event = { + id = 60204 + desc = EVTDESC60204 + + picture = GFX_evt_mongols + border = GFX_event_normal_frame_war + + is_triggered_only = yes + + prisoner = no + only_capable = yes + + trigger = { + is_alive = yes + NOT = { trait = blinded } + NOT = { trait = eunuch } + NOT = { trait = infirm } + lower_tier_than = king + } + + immediate = { + wealth = 500 + + any_liege = { + character_event = { + id = 60205 + days = 1 + } + } + + FROM = { + owner = { + top_liege = { + ROOT = { + capital_scope = { + ROOT = { + set_character_flag = duchy_adventurer + spawn_unit = { + province = PREV + home = PREV + owner = THIS + #leader = THIS + match_character = PREVPREVPREV + match_mult = 0.33 + match_min = 500 + match_max = 10000 + attrition = 0.25 + } + spawn_unit = { + province = PREV + home = PREV + owner = THIS + match_character = PREVPREVPREV + match_mult = 0.33 + match_min = 500 + match_max = 10000 + attrition = 0.25 + } + spawn_unit = { + province = PREV + home = PREV + owner = THIS + match_character = PREVPREVPREV + match_mult = 0.33 + match_min = 500 + match_max = 10000 + attrition = 0.25 + } + spawn_unit = { + province = PREV + home = PREV + owner = THIS + match_character = PREVPREVPREV + match_mult = 0.33 + match_min = 500 + match_max = 10000 + attrition = 0.25 + } + spawn_unit = { + province = PREV + home = PREV + owner = THIS + match_character = PREVPREVPREV + match_mult = 0.33 + match_min = 500 + match_max = 10000 + attrition = 0.25 + } + spawn_unit = { + province = PREV + home = PREV + owner = THIS + match_character = PREVPREVPREV + match_mult = 0.33 + match_min = 500 + match_max = 10000 + attrition = 0.25 + } + } + } + + war = { + target = PREV + casus_belli = duchy_adventure + thirdparty_title = PREVPREVPREV + tier = DUKE + } + } + } + } + } + + if = { + limit = { + NOT = { religion_group = muslim } + } + religion = sunni + } + + # Create some characters + create_random_soldier = { + random_traits = yes + dynasty = none + religion = ROOT + culture = ROOT + female = no + age = 30 + } + create_random_soldier = { + random_traits = yes + dynasty = none + religion = ROOT + culture = ROOT + female = no + age = 25 + } + create_random_soldier = { + random_traits = yes + dynasty = none + religion = ROOT + culture = ROOT + female = no + age = 22 + } + create_character = { + random_traits = yes + dynasty = none + religion = ROOT + culture = ROOT + female = yes + age = 16 + } + create_character = { + random_traits = yes + dynasty = none + religion = ROOT + culture = ROOT + female = yes + age = 17 + } + create_character = { + random_traits = yes + dynasty = none + religion = ROOT + culture = ROOT + female = yes + age = 18 + } + + log = "60204: Seljuk starts his first war as a landed character!" + } + + option = { + name = EVTOPTA60204 + } +} + +# Notify Seljuk's old liege +character_event = { + id = 60205 + desc = EVTDESC60205 + picture = GFX_evt_mongols + border = GFX_event_normal_frame_war + + is_triggered_only = yes + + trigger = { + FROM = { is_ruler = yes } # The DoW worked and the adventurer has a temporary title + } + + option = { + name = EVTOPTA60205 + } +} + +# Seljuk is successful! +# Fired from the duchy_adventure CB +narrative_event = { + id = 60206 + title = EVTNAME60206 + desc = EVTDESC60206 + picture = GFX_evt_mongols + border = GFX_event_narrative_frame_war + + is_triggered_only = yes + + major = yes + + immediate = { + if = { + limit = { + OR = { + independent = yes + liege = { + ai = yes + } + } + } + set_defacto_liege = ROOT + activate_title = { title = e_seljuk_turks status = yes } + e_seljuk_turks = { + grant_title = ROOT + } + } + + if = { + limit = { + uses_decadence = yes + } + decadence = -25 + } + + prestige = 1000 + + capital_scope = { + ROOT = { + spawn_unit = { + province = PREV + home = PREV + owner = THIS + troops = { + light_infantry = { 2250 2250 } + light_cavalry = { 2000 2000 } + horse_archers = { 1500 1500 } + knights = { 50 50 } + } + } + spawn_unit = { + province = PREV + home = PREV + owner = THIS + troops = { + light_infantry = { 2250 2250 } + light_cavalry = { 2000 2000 } + horse_archers = { 1500 1500 } + knights = { 50 50 } + } + } + spawn_unit = { + province = PREV + home = PREV + owner = THIS + troops = { + light_infantry = { 2250 2250 } + light_cavalry = { 2000 2000 } + horse_archers = { 1500 1500 } + knights = { 50 50 } + } + } + spawn_unit = { + province = PREV + home = PREV + owner = THIS + troops = { + light_infantry = { 2250 2250 } + light_cavalry = { 2000 2000 } + horse_archers = { 1500 1500 } + knights = { 50 50 } + } + } + spawn_unit = { + province = PREV + home = PREV + owner = THIS + troops = { + light_infantry = { 2250 2250 } + light_cavalry = { 2000 2000 } + horse_archers = { 1500 1500 } + knights = { 50 50 } + } + } + spawn_unit = { + province = PREV + home = PREV + owner = THIS + troops = { + light_infantry = { 2250 2250 } + light_cavalry = { 2000 2000 } + horse_archers = { 1500 1500 } + knights = { 50 50 } + } + } + } + } + + log = "60206: Seljuk wins his first war!" + } + + option = { + name = EVTOPTA60206 + trigger = { + has_character_flag = seljuk_himself + } + } + option = { + name = EVTOPTB60206 + trigger = { + NOT = { has_character_flag = seljuk_himself } + OR = { + culture = turkish + culture = karluk + culture = cuman + culture = pecheneg + } + } + } + option = { + name = EVTOPTC60206 + trigger = { + NOT = { has_character_flag = seljuk_himself } + NOT = { + OR = { + culture = turkish + culture = karluk + culture = cuman + culture = pecheneg + } + } + } + } +} + +# Seljuk's successor revitalizes the new state +character_event = { + id = 60207 + desc = EVTDESC60207 + + picture = GFX_evt_mongols + border = GFX_event_normal_frame_war + + only_playable = yes + only_independent = yes + has_global_flag = seljuk_spawned_by_event + + trigger = { + year = 980 + NOT = { year = 1100 } + uses_decadence = yes + + dynasty = 613 # Seljuk + + higher_tier_than = duke + + martial = 7 + + NOT = { has_character_flag = seljuk_himself } + NOT = { has_character_flag = seljuk_reinforcements } + } + + mean_time_to_happen = { + months = 240 + modifier = { + factor = 0.5 + martial = 9 + } + modifier = { + factor = 0.5 + martial = 11 + } + modifier = { + factor = 0.5 + martial = 13 + } + } + + immediate = { + set_character_flag = seljuk_reinforcements + + decadence = -75 + + capital_scope = { + ROOT = { + spawn_unit = { + province = PREV + home = PREV + owner = THIS + troops = { + light_infantry = { 2250 2250 } + light_cavalry = { 2000 2000 } + horse_archers = { 1500 1500 } + knights = { 50 50 } + } + } + spawn_unit = { + province = PREV + home = PREV + owner = THIS + troops = { + light_infantry = { 2250 2250 } + light_cavalry = { 2000 2000 } + horse_archers = { 1500 1500 } + knights = { 50 50 } + } + } + spawn_unit = { + province = PREV + home = PREV + owner = THIS + troops = { + light_infantry = { 2250 2250 } + light_cavalry = { 2000 2000 } + horse_archers = { 1500 1500 } + knights = { 50 50 } + } + } + spawn_unit = { + province = PREV + home = PREV + owner = THIS + troops = { + light_infantry = { 2250 2250 } + light_cavalry = { 2000 2000 } + horse_archers = { 1500 1500 } + knights = { 50 50 } + } + } + if = { + limit = { + martial = 9 + } + spawn_unit = { + province = PREV + home = PREV + owner = THIS + troops = { + light_infantry = { 2250 2250 } + light_cavalry = { 2000 2000 } + horse_archers = { 1500 1500 } + knights = { 50 50 } + } + } + } + if = { + limit = { + martial = 11 + } + spawn_unit = { + province = PREV + home = PREV + owner = THIS + troops = { + light_infantry = { 2250 2250 } + light_cavalry = { 2000 2000 } + horse_archers = { 1500 1500 } + knights = { 50 50 } + } + } + } + if = { + limit = { + martial = 13 + } + spawn_unit = { + province = PREV + home = PREV + owner = THIS + troops = { + light_infantry = { 2250 2250 } + light_cavalry = { 2000 2000 } + horse_archers = { 1500 1500 } + knights = { 50 50 } + } + } + } + } + } + } + + option = { + name = EVTOPTA60207 + } +} + +################################## +# Rise of the Timurids +################################## + +# Timur distinguishes himself at a Mongol court +character_event = { + id = 60300 + desc = EVTDESC60300 + + picture = GFX_evt_mongols + border = GFX_event_normal_frame_war + + only_playable = yes + culture_group = altaic + + trigger = { + NOT = { + has_game_rule = { + name = turkic_invasions + value = off + } + } + OR = { + AND = { + has_game_rule = { + name = turkic_invasions + value = historical + } + has_global_flag = mongol_empire_arrival + year = 1350 + NOT = { year = 1370 } + } + AND = { + has_game_rule = { + name = turkic_invasions + value = random + } + year = 1200 + } + } + + culture = mongol + higher_tier_than = count + + NOT = { has_global_flag = timur_spawned } + + any_realm_province = { + region = world_persia + } + } + + mean_time_to_happen = { + months = 24 + } + + immediate = { + create_character = { + random_traits = no + name = "Timur" + dynasty = 800 + religion = ROOT + culture = ROOT + female = no + age = 18 + attributes = { + martial = 12 + diplomacy = 8 + stewardship = 9 + intrigue = 9 + learning = 6 + } + health = 6 + fertility = 0.8 + trait = brilliant_strategist + trait = diligent + trait = ambitious + trait = proud + trait = quick + trait = clubfooted + trait = adventurer + } + + new_character = { + set_character_flag = timur_himself + character_event = { + id = 60301 + days = 3285 + random = 730 + } + } + } + + option = { # A most capable young man + name = EVTOPTA60300 + + set_global_flag = timur_spawned + set_global_flag = timur_spawned_by_event + + tooltip = { + create_character = { + random_traits = no + name = "Timur" + dynasty = 800 + religion = ROOT + culture = ROOT + female = no + age = 18 + attributes = { + martial = 12 + diplomacy = 8 + stewardship = 9 + intrigue = 9 + learning = 6 + } + health = 6 + fertility = 0.8 + trait = brilliant_strategist + trait = diligent + trait = ambitious + trait = proud + trait = quick + trait = clubfooted + } + } + } +} + +# Timur and his men consider starting an adventure +character_event = { + id = 60301 + desc = EVTDESC60201 + + picture = GFX_evt_mongols + border = GFX_event_normal_frame_war + + is_triggered_only = yes + + prisoner = no + only_capable = yes + + trigger = { + is_alive = yes + NOT = { trait = blinded } + NOT = { trait = eunuch } + NOT = { trait = infirm } + lower_tier_than = king + + OR = { + 903 = { # Samarkand + owner = { + NOT = { same_realm = ROOT } + } + } + 904 = { # Balkh + owner = { + NOT = { same_realm = ROOT } + } + } + 630 = { # Merv + owner = { + NOT = { same_realm = ROOT } + } + } + 631 = { # Dihistan + owner = { + NOT = { same_realm = ROOT } + } + } + 632 = { # Tus + owner = { + NOT = { same_realm = ROOT } + } + } + } + } + + option = { # Merv it is! + name = EVTOPTA60201 + trigger = { + 630 = { # Merv + owner = { + NOT = { same_realm = ROOT } + } + } + } + + ai_chance = { + factor = 10000 + } + + 630 = { + province_event = { + id = 60302 + days = 2 + } + } + } + option = { # Khorasan + name = EVTOPTB60201 + trigger = { + 632 = { # Tus + owner = { + NOT = { same_realm = ROOT } + } + } + } + + ai_chance = { + factor = 1000 + } + + 632 = { + province_event = { + id = 60302 + days = 2 + } + } + } + option = { # Dihistan + name = EVTOPTC60201 + trigger = { + 631 = { # Dihistan + owner = { + NOT = { same_realm = ROOT } + } + } + } + + ai_chance = { + factor = 100 + } + + 631 = { + province_event = { + id = 60302 + days = 2 + } + } + } + option = { # Samarkand + name = EVTOPTD60201 + trigger = { + 903 = { # Samarkand + owner = { + NOT = { same_realm = ROOT } + } + } + } + + ai_chance = { + factor = 100 + } + + 903 = { + province_event = { + id = 60302 + days = 2 + } + } + } + option = { # Balkh + name = EVTOPTE60201 + trigger = { + 904 = { # Balkh + owner = { + NOT = { same_realm = ROOT } + } + } + } + + ai_chance = { + factor = 100 + } + + 904 = { + province_event = { + id = 60302 + days = 2 + } + } + } +} + +# Ping the target province +province_event = { + id = 60302 + hide_window = yes + + is_triggered_only = yes + + immediate = { + if = { + limit = { + FROM = { + is_ruler = yes + } + } + FROM = { + character_event = { + id = 60304 + } + } + } + if = { + limit = { + FROM = { + is_ruler = no + } + } + FROM = { + character_event = { + id = 60303 + } + } + } + } +} + +# The landless Timur and his men start an adventure +character_event = { + id = 60303 + hide_window = yes + + is_triggered_only = yes + + prisoner = no + only_capable = yes + + trigger = { + is_alive = yes + NOT = { trait = blinded } + NOT = { trait = eunuch } + NOT = { trait = infirm } + lower_tier_than = king + } + + immediate = { + wealth = 500 + + any_liege = { + character_event = { + id = 60305 + days = 1 + } + } + + liege = { + capital_scope = { + FROM = { + owner = { + top_liege = { + ROOT = { + set_defacto_liege = ROOT + create_title = { + tier = DUKE + landless = yes + temporary = yes + culture = ROOT + name = "CLAIMANT_ADVENTURE" + holder = ROOT + } + + set_character_flag = duchy_adventurer + + spawn_unit = { + province = PREVPREVPREVPREV + home = PREVPREVPREVPREV + owner = THIS + #leader = THIS + match_character = PREV + match_mult = 0.33 + match_min = 500 + match_max = 10000 + attrition = 0.25 + } + spawn_unit = { + province = PREVPREVPREVPREV + home = PREVPREVPREVPREV + owner = THIS + match_character = PREV + match_mult = 0.33 + match_min = 500 + match_max = 10000 + attrition = 0.25 + } + spawn_unit = { + province = PREVPREVPREVPREV + home = PREVPREVPREVPREV + owner = THIS + match_character = PREV + match_mult = 0.33 + match_min = 500 + match_max = 10000 + attrition = 0.25 + } + spawn_unit = { + province = PREVPREVPREVPREV + home = PREVPREVPREVPREV + owner = THIS + match_character = PREV + match_mult = 0.33 + match_min = 500 + match_max = 10000 + attrition = 0.25 + } + spawn_unit = { + province = PREVPREVPREVPREV + home = PREVPREVPREVPREV + owner = THIS + match_character = PREV + match_mult = 0.33 + match_min = 500 + match_max = 10000 + attrition = 0.25 + } + spawn_unit = { + province = PREVPREVPREVPREV + home = PREVPREVPREVPREV + owner = THIS + match_character = PREV + match_mult = 0.33 + match_min = 500 + match_max = 10000 + attrition = 0.25 + } + war = { + target = PREV + casus_belli = duchy_adventure + thirdparty_title = PREVPREVPREV + tier = DUKE + } + } + } + } + } + } + } + + # Create some characters + create_character = { + random_traits = yes + dynasty = none + religion = ROOT + culture = ROOT + female = no + age = 28 + attributes = { + martial = 12 + } + trait = brilliant_strategist + } + create_character = { + random_traits = yes + dynasty = none + religion = ROOT + culture = ROOT + female = no + age = 24 + attributes = { + martial = 12 + } + trait = brilliant_strategist + } + create_character = { + random_traits = yes + dynasty = none + religion = ROOT + culture = ROOT + female = no + age = 23 + attributes = { + martial = 12 + } + trait = brilliant_strategist + } + create_character = { + random_traits = yes + dynasty = none + religion = ROOT + culture = ROOT + female = no + age = 30 + attributes = { + martial = 12 + } + trait = brilliant_strategist + } + create_character = { + random_traits = yes + dynasty = none + religion = ROOT + culture = ROOT + female = no + age = 30 + attributes = { + martial = 12 + } + trait = brilliant_strategist + } + create_character = { + random_traits = yes + dynasty = none + religion = ROOT + culture = ROOT + female = yes + age = 16 + } + create_character = { + random_traits = yes + dynasty = none + religion = ROOT + culture = ROOT + female = yes + age = 17 + } + create_character = { + random_traits = yes + dynasty = none + religion = ROOT + culture = ROOT + female = yes + age = 18 + } + + log = "60303: Timur starts his first war (landless)!" + } +} + +# The landed Timur and his men start an adventure +character_event = { + id = 60304 + desc = EVTDESC60304 + + picture = GFX_evt_mongols + border = GFX_event_normal_frame_war + + is_triggered_only = yes + + prisoner = no + only_capable = yes + + trigger = { + is_alive = yes + NOT = { trait = blinded } + NOT = { trait = eunuch } + NOT = { trait = infirm } + lower_tier_than = king + } + + immediate = { + wealth = 500 + + any_liege = { + character_event = { + id = 60305 + days = 1 + } + } + + FROM = { + owner = { + top_liege = { + ROOT = { + capital_scope = { + ROOT = { + set_character_flag = duchy_adventurer + spawn_unit = { + province = PREV + home = PREV + owner = THIS + #leader = THIS + match_character = PREVPREVPREV + match_mult = 0.33 + match_min = 500 + match_max = 10000 + attrition = 0.25 + } + spawn_unit = { + province = PREV + home = PREV + owner = THIS + match_character = PREVPREVPREV + match_mult = 0.33 + match_min = 500 + match_max = 10000 + attrition = 0.25 + } + spawn_unit = { + province = PREV + home = PREV + owner = THIS + match_character = PREVPREVPREV + match_mult = 0.33 + match_min = 500 + match_max = 10000 + attrition = 0.25 + } + spawn_unit = { + province = PREV + home = PREV + owner = THIS + match_character = PREVPREVPREV + match_mult = 0.33 + match_min = 500 + match_max = 10000 + attrition = 0.25 + } + spawn_unit = { + province = PREV + home = PREV + owner = THIS + match_character = PREVPREVPREV + match_mult = 0.33 + match_min = 500 + match_max = 10000 + attrition = 0.25 + } + spawn_unit = { + province = PREV + home = PREV + owner = THIS + match_character = PREVPREVPREV + match_mult = 0.33 + match_min = 500 + match_max = 10000 + attrition = 0.25 + } + } + } + + war = { + target = PREV + casus_belli = duchy_adventure + thirdparty_title = PREVPREVPREV + tier = DUKE + } + } + } + } + } + + # Create some characters + create_character = { + random_traits = yes + dynasty = none + religion = ROOT + culture = ROOT + female = no + age = 28 + attributes = { + martial = 12 + } + trait = brilliant_strategist + } + create_character = { + random_traits = yes + dynasty = none + religion = ROOT + culture = ROOT + female = no + age = 24 + attributes = { + martial = 12 + } + trait = brilliant_strategist + } + create_character = { + random_traits = yes + dynasty = none + religion = ROOT + culture = ROOT + female = no + age = 23 + attributes = { + martial = 12 + } + trait = brilliant_strategist + } + create_character = { + random_traits = yes + dynasty = none + religion = ROOT + culture = ROOT + female = no + age = 30 + attributes = { + martial = 12 + } + trait = brilliant_strategist + } + create_character = { + random_traits = yes + dynasty = none + religion = ROOT + culture = ROOT + female = no + age = 30 + attributes = { + martial = 12 + } + trait = brilliant_strategist + } + + create_character = { + random_traits = yes + dynasty = none + religion = ROOT + culture = ROOT + female = yes + age = 16 + } + create_character = { + random_traits = yes + dynasty = none + religion = ROOT + culture = ROOT + female = yes + age = 17 + } + create_character = { + random_traits = yes + dynasty = none + religion = ROOT + culture = ROOT + female = yes + age = 18 + } + + log = "60303: Timur starts his first war (landed)!" + } + + option = { + name = EVTOPTA60204 + } +} + +# Notify Timur's old liege +character_event = { + id = 60305 + desc = EVTDESC60205 + picture = GFX_evt_mongols + border = GFX_event_normal_frame_war + + is_triggered_only = yes + + trigger = { + FROM = { is_ruler = yes } # The DoW worked and the adventurer has a temporary title + } + + option = { + name = EVTOPTA60305 + } +} + +# Timur is successful! +# Fired from the duchy_adventure CB +narrative_event = { + id = 60306 + title = EVTNAME60306 + desc = EVTDESC60306 + picture = GFX_evt_mongols + border = GFX_event_narrative_frame_war + + is_triggered_only = yes + + major = yes + + immediate = { + if = { + limit = { + OR = { + independent = yes + liege = { + ai = yes + } + } + } + set_defacto_liege = ROOT + activate_title = { title = e_timurids status = yes } + e_timurids = { + grant_title = ROOT + } + } + + prestige = 1000 + + if = { + limit = { + uses_decadence = yes + } + decadence = -25 + } + + capital_scope = { + ROOT = { + spawn_unit = { + province = PREV + home = PREV + owner = THIS + troops = { + light_infantry = { 2250 2250 } + light_cavalry = { 2000 2000 } + horse_archers = { 1500 1500 } + knights = { 50 50 } + } + } + spawn_unit = { + province = PREV + home = PREV + owner = THIS + troops = { + light_infantry = { 2250 2250 } + light_cavalry = { 2000 2000 } + horse_archers = { 1500 1500 } + knights = { 50 50 } + } + } + spawn_unit = { + province = PREV + home = PREV + owner = THIS + troops = { + light_infantry = { 2250 2250 } + light_cavalry = { 2000 2000 } + horse_archers = { 1500 1500 } + knights = { 50 50 } + } + } + spawn_unit = { + province = PREV + home = PREV + owner = THIS + troops = { + light_infantry = { 2250 2250 } + light_cavalry = { 2000 2000 } + horse_archers = { 1500 1500 } + knights = { 50 50 } + } + } + spawn_unit = { + province = PREV + home = PREV + owner = THIS + troops = { + light_infantry = { 2250 2250 } + light_cavalry = { 2000 2000 } + horse_archers = { 1500 1500 } + knights = { 50 50 } + } + } + spawn_unit = { + province = PREV + home = PREV + owner = THIS + troops = { + light_infantry = { 2250 2250 } + light_cavalry = { 2000 2000 } + horse_archers = { 1500 1500 } + knights = { 50 50 } + } + } + spawn_unit = { + province = PREV + home = PREV + owner = THIS + troops = { + light_infantry = { 2250 2250 } + light_cavalry = { 2000 2000 } + horse_archers = { 1500 1500 } + knights = { 50 50 } + } + } + spawn_unit = { + province = PREV + home = PREV + owner = THIS + troops = { + light_infantry = { 2250 2250 } + light_cavalry = { 2000 2000 } + horse_archers = { 1500 1500 } + knights = { 50 50 } + } + } + + random = { + chance = 50 + spawn_unit = { + province = PREV + home = PREV + owner = THIS + troops = { + light_infantry = { 2250 2250 } + light_cavalry = { 2000 2000 } + horse_archers = { 1500 1500 } + knights = { 50 50 } + } + } + } + random = { + chance = 50 + spawn_unit = { + province = PREV + home = PREV + owner = THIS + troops = { + light_infantry = { 2250 2250 } + light_cavalry = { 2000 2000 } + horse_archers = { 1500 1500 } + knights = { 50 50 } + } + } + } + random = { + chance = 50 + spawn_unit = { + province = PREV + home = PREV + owner = THIS + troops = { + light_infantry = { 2250 2250 } + light_cavalry = { 2000 2000 } + horse_archers = { 1500 1500 } + knights = { 50 50 } + } + } + } + random = { + chance = 50 + spawn_unit = { + province = PREV + home = PREV + owner = THIS + troops = { + light_infantry = { 2250 2250 } + light_cavalry = { 2000 2000 } + horse_archers = { 1500 1500 } + knights = { 50 50 } + } + } + } + random = { + chance = 50 + spawn_unit = { + province = PREV + home = PREV + owner = THIS + troops = { + light_infantry = { 2250 2250 } + light_cavalry = { 2000 2000 } + horse_archers = { 1500 1500 } + knights = { 50 50 } + } + } + } + random = { + chance = 50 + spawn_unit = { + province = PREV + home = PREV + owner = THIS + troops = { + light_infantry = { 2250 2250 } + light_cavalry = { 2000 2000 } + horse_archers = { 1500 1500 } + knights = { 50 50 } + } + } + } + } + } + + log = "60306: Timur wins his first war!" + } + + option = { + name = EVTOPTA60306 + trigger = { + has_character_flag = timur_himself + } + } + option = { + name = EVTOPTB60306 + trigger = { + NOT = { has_character_flag = timur_himself } + culture = mongol + } + } + option = { + name = EVTOPTC60306 + trigger = { + NOT = { has_character_flag = timur_himself } + NOT = { culture = mongol } + } + } +} + +# Timur's successors revitalize the state +character_event = { + id = 60307 + desc = EVTDESC60307 + + picture = GFX_evt_mongols + border = GFX_event_normal_frame_war + + only_playable = yes + only_independent = yes + has_global_flag = timur_spawned_by_event + + trigger = { + year = 1370 + NOT = { year = 1500 } + + dynasty = 800 # Timurid + + higher_tier_than = duke + + martial = 7 + + NOT = { has_character_flag = timur_himself } + NOT = { has_character_flag = timur_reinforcements } + } + + mean_time_to_happen = { + months = 360 + modifier = { + factor = 0.5 + martial = 9 + } + modifier = { + factor = 0.5 + martial = 11 + } + modifier = { + factor = 0.5 + martial = 13 + } + } + + immediate = { + set_character_flag = timur_reinforcements + + if = { + limit = { + uses_decadence = yes + } + decadence = -75 + } + + capital_scope = { + ROOT = { + spawn_unit = { + province = PREV + home = PREV + owner = THIS + troops = { + light_infantry = { 2250 2250 } + light_cavalry = { 2000 2000 } + horse_archers = { 1500 1500 } + knights = { 50 50 } + } + } + spawn_unit = { + province = PREV + home = PREV + owner = THIS + troops = { + light_infantry = { 2250 2250 } + light_cavalry = { 2000 2000 } + horse_archers = { 1500 1500 } + knights = { 50 50 } + } + } + spawn_unit = { + province = PREV + home = PREV + owner = THIS + troops = { + light_infantry = { 2250 2250 } + light_cavalry = { 2000 2000 } + horse_archers = { 1500 1500 } + knights = { 50 50 } + } + } + spawn_unit = { + province = PREV + home = PREV + owner = THIS + troops = { + light_infantry = { 2250 2250 } + light_cavalry = { 2000 2000 } + horse_archers = { 1500 1500 } + knights = { 50 50 } + } + } + spawn_unit = { + province = PREV + home = PREV + owner = THIS + troops = { + light_infantry = { 2250 2250 } + light_cavalry = { 2000 2000 } + horse_archers = { 1500 1500 } + knights = { 50 50 } + } + } + spawn_unit = { + province = PREV + home = PREV + owner = THIS + troops = { + light_infantry = { 2250 2250 } + light_cavalry = { 2000 2000 } + horse_archers = { 1500 1500 } + knights = { 50 50 } + } + } + spawn_unit = { + province = PREV + home = PREV + owner = THIS + troops = { + light_infantry = { 2250 2250 } + light_cavalry = { 2000 2000 } + horse_archers = { 1500 1500 } + knights = { 50 50 } + } + } + if = { + limit = { + martial = 9 + } + spawn_unit = { + province = PREV + home = PREV + owner = THIS + troops = { + light_infantry = { 2250 2250 } + light_cavalry = { 2000 2000 } + horse_archers = { 1500 1500 } + knights = { 50 50 } + } + } + spawn_unit = { + province = PREV + home = PREV + owner = THIS + troops = { + light_infantry = { 2250 2250 } + light_cavalry = { 2000 2000 } + horse_archers = { 1500 1500 } + knights = { 50 50 } + } + } + } + if = { + limit = { + martial = 11 + } + spawn_unit = { + province = PREV + home = PREV + owner = THIS + troops = { + light_infantry = { 2250 2250 } + light_cavalry = { 2000 2000 } + horse_archers = { 1500 1500 } + knights = { 50 50 } + } + } + spawn_unit = { + province = PREV + home = PREV + owner = THIS + troops = { + light_infantry = { 2250 2250 } + light_cavalry = { 2000 2000 } + horse_archers = { 1500 1500 } + knights = { 50 50 } + } + } + } + if = { + limit = { + martial = 13 + } + spawn_unit = { + province = PREV + home = PREV + owner = THIS + troops = { + light_infantry = { 2250 2250 } + light_cavalry = { 2000 2000 } + horse_archers = { 1500 1500 } + knights = { 50 50 } + } + } + spawn_unit = { + province = PREV + home = PREV + owner = THIS + troops = { + light_infantry = { 2250 2250 } + light_cavalry = { 2000 2000 } + horse_archers = { 1500 1500 } + knights = { 50 50 } + } + } + } + } + } + } + + option = { + name = EVTOPTA60307 + } +} + + +########################################## +# Rise of the Ghaznavids under Sabuktigin +########################################## + +# Sabuktigin distinguishes himself at a Mongol court +character_event = { + id = 60400 + desc = EVTDESC60400 + + picture = GFX_evt_mongols + border = GFX_event_normal_frame_war + + only_playable = yes + religion_group = muslim + + trigger = { + NOT = { + has_game_rule = { + name = turkic_invasions + value = off + } + } + OR = { + AND = { + has_game_rule = { + name = turkic_invasions + value = historical + } + year = 965 + NOT = { year = 1010 } + } + AND = { + has_game_rule = { + name = turkic_invasions + value = random + } + year = 809 + NOT = { year = 1200 } + } + } + + higher_tier_than = count + + NOT = { has_global_flag = sabuktigin_spawned } + + OR = { + 1182 = { # Ghazna + owner = { + same_realm = ROOT + } + } + 1183 = { # Bost + owner = { + same_realm = ROOT + } + } + 907 = { # Mandesh + owner = { + same_realm = ROOT + } + } + } + } + + mean_time_to_happen = { + months = 24 + } + + immediate = { + create_character = { + random_traits = no + name = "Sabuktigin" + dynasty = 790 + religion = ROOT + culture = ROOT + female = no + age = 18 + attributes = { + martial = 12 + diplomacy = 8 + stewardship = 9 + intrigue = 9 + learning = 6 + } + health = 6 + fertility = 0.8 + trait = brilliant_strategist + trait = diligent + trait = ambitious + trait = proud + trait = quick + trait = adventurer + } + + new_character = { + set_character_flag = sabuktigin_himself + character_event = { + id = 60401 + days = 3285 + random = 730 + } + } + } + + option = { # A most capable young man + name = EVTOPTA60300 + + set_global_flag = sabuktigin_spawned + set_global_flag = sabuktigin_spawned_by_event + + tooltip = { + create_character = { + random_traits = no + name = "Sabuktigin" + dynasty = 790 + religion = ROOT + culture = ROOT + female = no + age = 18 + attributes = { + martial = 12 + diplomacy = 8 + stewardship = 9 + intrigue = 9 + learning = 6 + } + health = 6 + fertility = 0.8 + trait = brilliant_strategist + trait = diligent + trait = ambitious + trait = proud + trait = quick + } + } + } +} + +# Sabuktigin and his men consider starting an adventure +character_event = { + id = 60401 + desc = EVTDESC60201 + + picture = GFX_evt_mongols + border = GFX_event_normal_frame_war + + is_triggered_only = yes + + prisoner = no + only_capable = yes + + trigger = { + is_alive = yes + NOT = { trait = blinded } + NOT = { trait = eunuch } + NOT = { trait = infirm } + lower_tier_than = king + + OR = { + 1341 = { # Nandana in Gandhara + owner = { + NOT = { same_realm = ROOT } + } + } + 1338 = { # Multan + owner = { + NOT = { same_realm = ROOT } + } + } + 1362 = { # Lahore + owner = { + NOT = { same_realm = ROOT } + } + } + 1138 = { # Bhakkar + owner = { + NOT = { same_realm = ROOT } + } + } + } + } + + option = { # Gandhara it is! + name = EVTOPTA60401 + trigger = { + 1341 = { # Nandana + owner = { + NOT = { same_realm = ROOT } + } + } + } + + ai_chance = { + factor = 10000 + } + + 1341 = { + province_event = { + id = 60402 + days = 2 + } + } + } + option = { # Multan + name = EVTOPTB60401 + trigger = { + 1338 = { # Multan + owner = { + NOT = { same_realm = ROOT } + } + } + } + + ai_chance = { + factor = 1000 + } + + 1338 = { + province_event = { + id = 60402 + days = 2 + } + } + } + option = { # Lahore + name = EVTOPTC60401 + trigger = { + 1362 = { # Lahore + owner = { + NOT = { same_realm = ROOT } + } + } + } + + ai_chance = { + factor = 100 + } + + 1362 = { + province_event = { + id = 60402 + days = 2 + } + } + } + option = { # Bhakkar + name = EVTOPTD60401 + trigger = { + 1138 = { # Bhakkar + owner = { + NOT = { same_realm = ROOT } + } + } + } + + ai_chance = { + factor = 100 + } + + 1138 = { + province_event = { + id = 60402 + days = 2 + } + } + } +} + +# Ping the target province +province_event = { + id = 60402 + hide_window = yes + + is_triggered_only = yes + + immediate = { + if = { + limit = { + FROM = { + is_ruler = yes + } + } + FROM = { + character_event = { + id = 60404 + } + } + } + if = { + limit = { + FROM = { + is_ruler = no + } + } + FROM = { + character_event = { + id = 60403 + } + } + } + } +} + +# The landless Sabuktigin and his men start an adventure +character_event = { + id = 60403 + hide_window = yes + + is_triggered_only = yes + + prisoner = no + only_capable = yes + + trigger = { + is_alive = yes + NOT = { trait = blinded } + NOT = { trait = eunuch } + NOT = { trait = infirm } + lower_tier_than = king + } + + immediate = { + wealth = 500 + + any_liege = { + character_event = { + id = 60405 + days = 1 + } + } + + liege = { + capital_scope = { + FROM = { + owner = { + top_liege = { + ROOT = { + set_defacto_liege = ROOT + create_title = { + tier = DUKE + landless = yes + temporary = yes + culture = ROOT + name = "CLAIMANT_ADVENTURE" + holder = ROOT + } + + set_character_flag = duchy_adventurer + + spawn_unit = { + province = PREVPREVPREVPREV + home = PREVPREVPREVPREV + owner = THIS + #leader = THIS + match_character = PREV + match_mult = 0.33 + match_min = 500 + match_max = 10000 + attrition = 0.25 + } + spawn_unit = { + province = PREVPREVPREVPREV + home = PREVPREVPREVPREV + owner = THIS + match_character = PREV + match_mult = 0.33 + match_min = 500 + match_max = 10000 + attrition = 0.25 + } + spawn_unit = { + province = PREVPREVPREVPREV + home = PREVPREVPREVPREV + owner = THIS + match_character = PREV + match_mult = 0.33 + match_min = 500 + match_max = 10000 + attrition = 0.25 + } + spawn_unit = { + province = PREVPREVPREVPREV + home = PREVPREVPREVPREV + owner = THIS + match_character = PREV + match_mult = 0.33 + match_min = 500 + match_max = 10000 + attrition = 0.25 + } + spawn_unit = { + province = PREVPREVPREVPREV + home = PREVPREVPREVPREV + owner = THIS + match_character = PREV + match_mult = 0.33 + match_min = 500 + match_max = 10000 + attrition = 0.25 + } + spawn_unit = { + province = PREVPREVPREVPREV + home = PREVPREVPREVPREV + owner = THIS + match_character = PREV + match_mult = 0.33 + match_min = 500 + match_max = 10000 + attrition = 0.25 + } + war = { + target = PREV + casus_belli = duchy_adventure + thirdparty_title = PREVPREVPREV + tier = DUKE + } + } + } + } + } + } + } + + # Create some characters + create_character = { + random_traits = yes + dynasty = none + religion = ROOT + culture = ROOT + female = no + age = 28 + attributes = { + martial = 12 + } + trait = brilliant_strategist + } + create_character = { + random_traits = yes + dynasty = none + religion = ROOT + culture = ROOT + female = no + age = 24 + attributes = { + martial = 12 + } + trait = brilliant_strategist + } + create_character = { + random_traits = yes + dynasty = none + religion = ROOT + culture = ROOT + female = no + age = 23 + attributes = { + martial = 12 + } + trait = brilliant_strategist + } + create_character = { + random_traits = yes + dynasty = none + religion = ROOT + culture = ROOT + female = no + age = 30 + attributes = { + martial = 12 + } + trait = brilliant_strategist + } + create_character = { + random_traits = yes + dynasty = none + religion = ROOT + culture = ROOT + female = no + age = 30 + attributes = { + martial = 12 + } + trait = brilliant_strategist + } + create_character = { + random_traits = yes + dynasty = none + religion = ROOT + culture = ROOT + female = yes + age = 16 + } + create_character = { + random_traits = yes + dynasty = none + religion = ROOT + culture = ROOT + female = yes + age = 17 + } + create_character = { + random_traits = yes + dynasty = none + religion = ROOT + culture = ROOT + female = yes + age = 18 + } + + log = "60403: Sabuktigin starts his first war (landless)!" + } +} + +# The landed Sabuktigin and his men start an adventure +character_event = { + id = 60404 + desc = EVTDESC60304 + + picture = GFX_evt_mongols + border = GFX_event_normal_frame_war + + is_triggered_only = yes + + prisoner = no + only_capable = yes + + trigger = { + is_alive = yes + NOT = { trait = blinded } + NOT = { trait = eunuch } + NOT = { trait = infirm } + lower_tier_than = king + } + + immediate = { + wealth = 500 + + any_liege = { + character_event = { + id = 60405 + days = 1 + } + } + + FROM = { + owner = { + top_liege = { + ROOT = { + capital_scope = { + ROOT = { + set_character_flag = duchy_adventurer + spawn_unit = { + province = PREV + home = PREV + owner = THIS + #leader = THIS + match_character = PREVPREVPREV + match_mult = 0.33 + match_min = 500 + match_max = 10000 + attrition = 0.25 + } + spawn_unit = { + province = PREV + home = PREV + owner = THIS + match_character = PREVPREVPREV + match_mult = 0.33 + match_min = 500 + match_max = 10000 + attrition = 0.25 + } + spawn_unit = { + province = PREV + home = PREV + owner = THIS + match_character = PREVPREVPREV + match_mult = 0.33 + match_min = 500 + match_max = 10000 + attrition = 0.25 + } + spawn_unit = { + province = PREV + home = PREV + owner = THIS + match_character = PREVPREVPREV + match_mult = 0.33 + match_min = 500 + match_max = 10000 + attrition = 0.25 + } + spawn_unit = { + province = PREV + home = PREV + owner = THIS + match_character = PREVPREVPREV + match_mult = 0.33 + match_min = 500 + match_max = 10000 + attrition = 0.25 + } + spawn_unit = { + province = PREV + home = PREV + owner = THIS + match_character = PREVPREVPREV + match_mult = 0.33 + match_min = 500 + match_max = 10000 + attrition = 0.25 + } + } + } + + war = { + target = PREV + casus_belli = duchy_adventure + thirdparty_title = PREVPREVPREV + tier = DUKE + } + } + } + } + } + + # Create some characters + create_character = { + random_traits = yes + dynasty = none + religion = ROOT + culture = ROOT + female = no + age = 28 + attributes = { + martial = 12 + } + trait = brilliant_strategist + } + create_character = { + random_traits = yes + dynasty = none + religion = ROOT + culture = ROOT + female = no + age = 24 + attributes = { + martial = 12 + } + trait = brilliant_strategist + } + create_character = { + random_traits = yes + dynasty = none + religion = ROOT + culture = ROOT + female = no + age = 23 + attributes = { + martial = 12 + } + trait = brilliant_strategist + } + create_character = { + random_traits = yes + dynasty = none + religion = ROOT + culture = ROOT + female = no + age = 30 + attributes = { + martial = 12 + } + trait = brilliant_strategist + } + create_character = { + random_traits = yes + dynasty = none + religion = ROOT + culture = ROOT + female = no + age = 30 + attributes = { + martial = 12 + } + trait = brilliant_strategist + } + + create_character = { + random_traits = yes + dynasty = none + religion = ROOT + culture = ROOT + female = yes + age = 16 + } + create_character = { + random_traits = yes + dynasty = none + religion = ROOT + culture = ROOT + female = yes + age = 17 + } + create_character = { + random_traits = yes + dynasty = none + religion = ROOT + culture = ROOT + female = yes + age = 18 + } + + log = "60404: Sabuktigin starts his first war (landed)!" + } + + option = { + name = EVTOPTA60204 + } +} + +# Notify Sabuktigin's old liege +character_event = { + id = 60405 + desc = EVTDESC60205 + picture = GFX_evt_mongols + border = GFX_event_normal_frame_war + + is_triggered_only = yes + + trigger = { + FROM = { is_ruler = yes } # The DoW worked and the adventurer has a temporary title + } + + option = { + name = EVTOPTA60305 + } +} + +# Sabuktigin is successful! +# Fired from the duchy_adventure CB +narrative_event = { + id = 60406 + title = EVTNAME60406 + desc = EVTDESC60406 + picture = GFX_evt_mongols + border = GFX_event_narrative_frame_war + + is_triggered_only = yes + + major = yes + + immediate = { + if = { + limit = { + OR = { + independent = yes + liege = { + ai = yes + } + } + } + set_defacto_liege = ROOT + } + + prestige = 1000 + + if = { + limit = { + uses_decadence = yes + } + decadence = -25 + } + + capital_scope = { + religion = ROOT + culture = ROOT + + ROOT = { + spawn_unit = { + province = PREV + home = PREV + owner = THIS + troops = { + light_infantry = { 2250 2250 } + light_cavalry = { 2000 2000 } + horse_archers = { 1500 1500 } + knights = { 50 50 } + } + } + spawn_unit = { + province = PREV + home = PREV + owner = THIS + troops = { + light_infantry = { 2250 2250 } + light_cavalry = { 2000 2000 } + horse_archers = { 1500 1500 } + knights = { 50 50 } + } + } + spawn_unit = { + province = PREV + home = PREV + owner = THIS + troops = { + light_infantry = { 2250 2250 } + light_cavalry = { 2000 2000 } + horse_archers = { 1500 1500 } + knights = { 50 50 } + } + } + spawn_unit = { + province = PREV + home = PREV + owner = THIS + troops = { + light_infantry = { 2250 2250 } + light_cavalry = { 2000 2000 } + horse_archers = { 1500 1500 } + knights = { 50 50 } + } + } + spawn_unit = { + province = PREV + home = PREV + owner = THIS + troops = { + light_infantry = { 2250 2250 } + light_cavalry = { 2000 2000 } + horse_archers = { 1500 1500 } + knights = { 50 50 } + } + } + + random = { + chance = 50 + spawn_unit = { + province = PREV + home = PREV + owner = THIS + troops = { + light_infantry = { 2250 2250 } + light_cavalry = { 2000 2000 } + horse_archers = { 1500 1500 } + knights = { 50 50 } + } + } + } + random = { + chance = 50 + spawn_unit = { + province = PREV + home = PREV + owner = THIS + troops = { + light_infantry = { 2250 2250 } + light_cavalry = { 2000 2000 } + horse_archers = { 1500 1500 } + knights = { 50 50 } + } + } + } + random = { + chance = 50 + spawn_unit = { + province = PREV + home = PREV + owner = THIS + troops = { + light_infantry = { 2250 2250 } + light_cavalry = { 2000 2000 } + horse_archers = { 1500 1500 } + knights = { 50 50 } + } + } + } + } + } + + random_realm_province = { + limit = { + OR = { + NOT = { culture = ROOT } + NOT = { religion = ROOT } + } + } + religion = ROOT + culture = ROOT + } + + log = "60406: Sabuktigin wins his first war!" + } + + option = { + name = EVTOPTA60406 + trigger = { + has_character_flag = sabuktigin_himself + } + } + option = { + name = EVTOPTB60406 + trigger = { + NOT = { has_character_flag = sabuktigin_himself } + } + } +} + +# Mongol horde starts forming +narrative_event = { + id = 60500 + title = "EVTNAME60500" + desc = "EVTDESC60500" + major = yes + hide_new = yes + hide_from = yes + + picture = "GFX_evt_mongols" + border = "GFX_event_narrative_frame_war" + + only_playable = yes + religion = catholic + min_age = 16 + + trigger = { + OR = { + year = 1210 + AND = { + has_game_rule = { + name = mongol_invasion + value = random + } + total_years_played = 50 + } + AND = { + has_game_rule = { + name = mongol_invasion + value = delayed_random + } + year = 1000 + total_years_played = 50 + } + } + NOR = { + year = 1218 + has_game_rule = { + name = mongol_invasion + value = off + } + } + controls_religion = yes # Let it happen for the Pope. He's always around. + NOR = { + has_global_flag = il_khanate_arrival # Backwards compatibility + has_global_flag = golden_horde_arrival # Backwards compatibility + has_global_flag = mongol_empire_arrival + } + } + + #major_trigger = { + # NOT = { has_character_flag = is_temujin } + #} + + mean_time_to_happen = { + months = 36 + modifier = { + factor = 0.5 + year = 1213 + } + modifier = { + factor = 0.5 + year = 1215 + } + modifier = { + factor = 66 + has_game_rule = { + name = mongol_invasion + value = random + } + } + modifier = { + factor = 44 + has_game_rule = { + name = mongol_invasion + value = delayed_random + } + } + } + + immediate = { + if = { + limit = { + NOT = { has_global_flag = mongol_empire_arrival } + } + set_global_flag = mongol_empire_arrival + activate_title = { title = e_mongol_empire status = yes } + + if = { + limit = { + has_global_flag = temujin_born + } + if = { + limit = { + any_independent_ruler = { + has_character_flag = is_temujin + demesne_size = 1 + ai = yes + } + } + log = "Temujin exists as independent ai" + random_independent_ruler = { + limit = { + has_character_flag = is_temujin + ai = yes + } + any_demesne_title = { + limit = { + tier = EMPEROR + } + set_title_flag = to_be_destroyed + } + e_mongol_empire = { + grant_title = PREV + } + any_demesne_title = { + limit = { + has_title_flag = to_be_destroyed + } + activate_title = { title = THIS status = no } + destroy_landed_title = THIS + } + wealth = 5000 + prestige = 5000 + set_character_flag = horde_invader + character_event = { id = 60510 } # Spawn troops + character_event = { id = 60515 days = 1 } # Spawn population + } + break = yes + } + if = { + limit = { + NOT = { + e_mongol_empire = { + holder_scope = { + always = yes + } + } + } + } + log = "Real Temujin didn't recieve title" + create_character = { + random_traits = yes + dynasty = random + religion = tengri_pagan + culture = mongol + female = no + age = 24 + attributes = { + martial = 12 + } + trait = brilliant_strategist + trait = ambitious + trait = diligent + trait = brave + } + new_character = { + e_mongol_empire = { + set_title_landless = { title = THIS status = yes } + set_title_flag = temporary_landless_title + grant_title = PREV + } + set_defacto_liege = THIS + if = { + limit = { + has_dlc = "Horse Lords" + } + set_government_type = nomadic_government + } + if = { + limit = { + NOT = { has_dlc = "Horse Lords" } + } + set_government_type = tribal_government + } + wealth = 5000 + set_character_flag = horde_invader + prestige = 5000 + character_event = { id = 60509 } # Spawn courtiers + character_event = { id = 60510 } # Spawn troops + character_event = { id = 60515 days = 1 } # Spawn population + } + } + } + if = { + limit = { + NOT = { + e_mongol_empire = { + holder_scope = { always = yes } + } + } + } + log = "Spawning Temujin for invasion" + create_character = { + name="Temujin" + # AKA: Genghis Khan + dynasty=11100 + dna="bfimkolbecc" + properties="ge0af0000000" + age = 43 + attributes = { + martial=10 + diplomacy=8 + intrigue=8 + stewardship=9 + } + health = 6 + fertility = 0.7 + religion="tengri_pagan" + culture="mongol" + trait="brave" + trait="ambitious" + trait="diligent" + trait="cruel" + trait="hunter" + trait="cavalry_leader" + trait="brilliant_strategist" + } + new_character = { + set_character_flag = is_temujin + e_mongol_empire = { + set_title_landless = { title = THIS status = yes } + set_title_flag = temporary_landless_title + grant_title = PREV + } + set_defacto_liege = THIS + if = { + limit = { + has_dlc = "Horse Lords" + } + set_government_type = nomadic_government + } + if = { + limit = { + NOT = { has_dlc = "Horse Lords" } + } + set_government_type = tribal_government + } + wealth = 5000 + set_character_flag = horde_invader + prestige = 5000 + character_event = { id = 60505 } # Spawn Temujins generals + character_event = { id = 60509 } # Spawn courtiers + character_event = { id = 60510 } # Spawn troops + character_event = { id = 60515 days = 1 } # Spawn population + } + } + if = { + limit = { + has_dlc = "Horse Lords" + } + 1457 = { # Ordu Baliq + kingdom = { + e_mongol_empire = { + holder_scope = { + war = { + casus_belli = nomad_invasion + target = PREVPREVPREV # The top liege of the owner of the province + thirdparty_title = PREVPREV # The de jure kingdom + } + } + } + } + } + } + if = { + limit = { + NOT = { has_dlc = "Horse Lords" } + } + 1457 = { # Ordu Baliq + kingdom = { + e_mongol_empire = { + holder_scope = { + war = { + casus_belli = tribal_invasion + target = PREVPREVPREV # The top liege of the owner of the province + thirdparty_title = PREVPREV # The de jure kingdom + } + } + } + } + } + } + } + if = { + limit = { + OR = { + has_power_omen_modifier_trigger = yes + has_battle_omen_modifier_trigger = yes + } + } + set_character_flag = negative_event_flag # For the scrying outcome calculation... + } + } + + option = { + name = "EVTOPTA60500" + trigger = { + OR = { + religion_group = christian + religion_group = muslim + religion_group = pagan_group + } + NOT = { government = nomadic_government } + has_power_omen_modifier_trigger = no + has_battle_omen_modifier_trigger = no + } + } + + option = { + name = "EVTOPTB60500" + trigger = { + NOT = { religion_group = christian } + NOT = { religion_group = muslim } + NOT = { religion_group = pagan_group } + NOT = { government = nomadic_government } + has_power_omen_modifier_trigger = no + has_battle_omen_modifier_trigger = no + } + } + + option = { + name = "EVTOPTC60500" + trigger = { + government = nomadic_government + has_power_omen_modifier_trigger = no + has_battle_omen_modifier_trigger = no + } + } + + option = { # scrying omen included + name = "EVTOPTA60500" + + calculate_scrying_outcome_effect = yes + remove_scrying_omen_modifiers_effect = yes + tooltip_info = yes + + trigger = { + OR = { + religion_group = christian + religion_group = muslim + religion_group = pagan_group + } + NOT = { government = nomadic_government } + OR = { + has_power_omen_modifier_trigger = yes + has_battle_omen_modifier_trigger = yes + } + } + } + + option = { # scrying omen included + name = "EVTOPTB60500" + + calculate_scrying_outcome_effect = yes + remove_scrying_omen_modifiers_effect = yes + tooltip_info = yes + + trigger = { + NOT = { religion_group = christian } + NOT = { religion_group = muslim } + NOT = { religion_group = pagan_group } + NOT = { government = nomadic_government } + OR = { + has_power_omen_modifier_trigger = yes + has_battle_omen_modifier_trigger = yes + } + } + } + + option = { # scrying omen included + name = "EVTOPTC60500" + + calculate_scrying_outcome_effect = yes + remove_scrying_omen_modifiers_effect = yes + tooltip_info = yes + + trigger = { + government = nomadic_government + OR = { + has_power_omen_modifier_trigger = yes + has_battle_omen_modifier_trigger = yes + } + } + } +} +# Remove landless status fired from on_action +character_event = { + id = 60504 + hide_window = yes + is_triggered_only = yes + + trigger = { + FROM = { + tier = COUNT + } + primary_title = { + has_title_flag = temporary_landless_title + is_landless_type_title = yes + } + } + + immediate = { + any_demesne_title = { + limit = { + has_title_flag = temporary_landless_title + } + set_title_landless = { title = THIS status = no } + } + } +} +# Spawn mongol leaders +character_event = { + id = 60505 + hide_window = yes + is_triggered_only = yes + + immediate = { + create_character = { + name = "Borte" + age = 49 + dynasty = 1041000 + religion = tengri_pagan + culture = mongol + female = yes + random_traits = yes + } + new_character = { + save_event_target_as = borte + add_spouse = ROOT + } + create_character = { + name="Subutai" + age = 35 + religion="tengri_pagan" + culture="mongol" + attributes = { + martial=10 + diplomacy=4 + intrigue=6 + stewardship=6 + } + trait="brave" + trait="strong" + trait="quick" + trait="diligent" + trait="brilliant_strategist" + trait="trickster" + } + create_character = { + name="Chagatai" + age = 27 + dynasty=11100 + religion="tengri_pagan" + culture="mongol" + trait="skilled_tactician" + trait="wroth" + trait="just" + trait="drunkard" + } + new_character = { + set_father = ROOT + set_mother = event_target:borte + } + create_character = { + name="Ogodei" # Ögedei Khan + age = 24 + dynasty=11100 + religion="tengri_pagan" + culture="mongol" + trait="skilled_tactician" + trait="gregarious" + trait="just" + } + new_character = { + set_father = ROOT + set_mother = event_target:borte + } + create_character = { + name="Jochi" + age = 29 + dynasty=11100 + religion="tengri_pagan" + culture="mongol" + trait="skilled_tactician" + trait="hunter" + trait="kind" + trait="patient" + } + new_character = { + set_father = ROOT + set_mother = event_target:borte + } + create_character = { + name="Tolui" + age = 18 + dynasty=11100 + religion="tengri_pagan" + culture="mongol" + random_traits = yes + } + new_character = { + set_father = ROOT + set_mother = event_target:borte + } + create_character = { + name="Jebe" + #AKA Chepe + age = 50 + dynasty = random + religion="tengri_pagan" + culture="mongol" + attributes = { + martial=10 + diplomacy=5 + intrigue=5 + stewardship=4 + } + trait="skilled_tactician" + trait="brave" + } + } +} +# Spawn extra courtiers +character_event = { + id = 60509 + hide_window = yes + is_triggered_only = yes + + immediate = { + create_character = { + random_traits = yes + dynasty = none + religion = tengri_pagan + culture = ROOT + female = no + age = 16 + } + create_character = { + random_traits = yes + dynasty = none + religion = tengri_pagan + culture = ROOT + female = no + age = 18 + } + create_character = { + random_traits = yes + dynasty = none + religion = tengri_pagan + culture = ROOT + female = no + age = 18 + } + create_character = { + random_traits = yes + dynasty = none + religion = tengri_pagan + culture = ROOT + female = no + age = 20 + } + create_character = { + random_traits = yes + dynasty = none + religion = tengri_pagan + culture = ROOT + female = no + age = 25 + } + create_character = { + random_traits = yes + dynasty = none + religion = tengri_pagan + culture = ROOT + female = no + age = 26 + } + create_character = { + random_traits = yes + dynasty = none + religion = tengri_pagan + culture = ROOT + female = no + age = 28 + } + create_character = { + random_traits = yes + dynasty = none + religion = tengri_pagan + culture = ROOT + female = yes + age = 16 + } + create_character = { + random_traits = yes + dynasty = none + religion = tengri_pagan + culture = ROOT + female = yes + age = 17 + } + create_character = { + random_traits = yes + dynasty = none + religion = tengri_pagan + culture = ROOT + female = yes + age = 18 + } + create_character = { + random_traits = yes + dynasty = none + religion = tengri_pagan + culture = ROOT + female = yes + age = 18 + } + create_character = { + random_traits = yes + dynasty = none + religion = tengri_pagan + culture = ROOT + female = yes + age = 20 + } + create_character = { + random_traits = yes + dynasty = none + religion = tengri_pagan + culture = ROOT + female = no + age = 27 + attributes = { + martial = 12 + } + trait = brilliant_strategist + } + create_character = { + random_traits = yes + dynasty = none + religion = tengri_pagan + culture = ROOT + female = no + age = 51 + attributes = { + martial = 12 + } + trait = brilliant_strategist + } + create_character = { + random_traits = yes + dynasty = none + religion = tengri_pagan + culture = ROOT + female = no + age = 44 + attributes = { + martial = 12 + } + trait = brilliant_strategist + } + create_character = { + random_traits = yes + dynasty = none + religion = tengri_pagan + culture = ROOT + female = no + age = 24 + attributes = { + martial = 12 + } + trait = brilliant_strategist + } + } +} +# Spawn mongol troops +character_event = { + id = 60510 + hide_window = yes + is_triggered_only = yes + + immediate = { + spawn_unit = { + province = 1457 # Ordu-Baliq + troops = + { + light_cavalry = { 2750 2750 } + horse_archers = { 2250 2250 } + knights = { 500 500 } + } + } + spawn_unit = { + province = 1457 # Ordu-Baliq + troops = + { + light_cavalry = { 2750 2750 } + horse_archers = { 2250 2250 } + knights = { 500 500 } + } + } + spawn_unit = { + province = 1457 # Ordu-Baliq + troops = + { + light_cavalry = { 2750 2750 } + horse_archers = { 2250 2250 } + knights = { 500 500 } + } + } + spawn_unit = { + province = 1457 # Ordu-Baliq + troops = + { + light_cavalry = { 2750 2750 } + horse_archers = { 2250 2250 } + knights = { 500 500 } + } + } + spawn_unit = { + province = 1457 # Ordu-Baliq + troops = + { + light_cavalry = { 2750 2750 } + horse_archers = { 2250 2250 } + knights = { 500 500 } + } + } + spawn_unit = { + province = 1457 # Ordu-Baliq + troops = + { + light_cavalry = { 2750 2750 } + horse_archers = { 2250 2250 } + knights = { 500 500 } + } + } + spawn_unit = { + province = 1457 # Ordu-Baliq + troops = + { + light_cavalry = { 2750 2750 } + horse_archers = { 2250 2250 } + knights = { 500 500 } + } + } + spawn_unit = { + province = 1457 # Ordu-Baliq + troops = + { + light_cavalry = { 2750 2750 } + horse_archers = { 2250 2250 } + knights = { 500 500 } + } + } + spawn_unit = { + province = 1457 # Ordu-Baliq + troops = + { + light_cavalry = { 2750 2750 } + horse_archers = { 2250 2250 } + knights = { 500 500 } + } + } + spawn_unit = { + province = 1460 # Baygal + troops = + { + light_cavalry = { 2750 2750 } + horse_archers = { 2250 2250 } + knights = { 500 500 } + } + } + spawn_unit = { + province = 1460 # Baygal + troops = + { + light_cavalry = { 2750 2750 } + horse_archers = { 2250 2250 } + knights = { 500 500 } + } + } + spawn_unit = { + province = 1460 # Baygal + troops = + { + light_cavalry = { 2750 2750 } + horse_archers = { 2250 2250 } + knights = { 500 500 } + } + } + spawn_unit = { + province = 1460 # Baygal + troops = + { + light_cavalry = { 2750 2750 } + horse_archers = { 2250 2250 } + knights = { 500 500 } + } + } + spawn_unit = { + province = 1460 # Baygal + troops = + { + light_cavalry = { 2750 2750 } + horse_archers = { 2250 2250 } + knights = { 500 500 } + } + } + spawn_unit = { + province = 1460 # Baygal + troops = + { + light_cavalry = { 2750 2750 } + horse_archers = { 2250 2250 } + knights = { 500 500 } + } + } + random = { + chance = 50 + spawn_unit = { + province = 1408 # Gobi + troops = + { + light_cavalry = { 2750 2750 } + horse_archers = { 2250 2250 } + knights = { 500 500 } + } + } + spawn_unit = { + province = 1408 # Gobi + troops = + { + light_cavalry = { 2750 2750 } + horse_archers = { 2250 2250 } + knights = { 500 500 } + } + } + spawn_unit = { + province = 1408 # Gobi + troops = + { + light_cavalry = { 2750 2750 } + horse_archers = { 2250 2250 } + knights = { 500 500 } + } + } + } + random = { + chance = 50 + spawn_unit = { + province = 1408 # Gobi + troops = + { + light_cavalry = { 2750 2750 } + horse_archers = { 2250 2250 } + knights = { 500 500 } + } + } + spawn_unit = { + province = 1408 # Gobi + troops = + { + light_cavalry = { 2750 2750 } + horse_archers = { 2250 2250 } + knights = { 500 500 } + } + } + spawn_unit = { + province = 1408 # Gobi + troops = + { + light_cavalry = { 2750 2750 } + horse_archers = { 2250 2250 } + knights = { 500 500 } + } + } + } + } +} + +character_event = { + id = 60515 + hide_window = yes + + is_triggered_only = yes + + immediate = { + population = 120000 + add_character_modifier = { + modifier = invading_population_halt + duration = 10950 + hidden = yes + } + character_event = { + id = 60516 + days = 365 + } + } +} + +character_event = { + id = 60516 + hide_window = yes + + is_triggered_only = yes + + immediate = { + if = { + limit = { + NOT = { government = nomadic_government } + NOT = { has_character_modifier = invading_population_halt } + } + remove_character_modifier = invading_population_halt + break = yes + } + if = { + limit = { + NOT = { population_factor = 1 } + } + population = 80000 + if = { + limit = { + population = 350000 + } + character_event = { + id = 60517 + days = 365 + } + break = yes + } + } + repeat_event = { + id = 60516 + days = 365 + } + } +} + +character_event = { + id = 60517 + hide_window = yes + + is_triggered_only = yes + + immediate = { + if = { + limit = { + NOT = { government = nomadic_government } + NOT = { has_character_modifier = invading_population_halt } + } + remove_character_modifier = invading_population_halt + break = yes + } + if = { + limit = { + NOT = { population_factor = 1 } + } + remove_character_modifier = invading_population_halt + break = yes + } + repeat_event = { + id = 60517 + days = 365 + } + } +} + +# Notify world about the greatest of Khans +narrative_event = { + id = 60520 + title = EVTNAME60520 + desc = EVTDESC60520 + is_triggered_only = yes + + picture = GFX_evt_mongols + border = GFX_event_narrative_frame_war + + + immediate = { + if = { + limit = { + OR = { + has_power_omen_modifier_trigger = yes + has_battle_omen_modifier_trigger = yes + } + } + set_character_flag = negative_event_flag # For the scrying outcome calculation... + } + } + + option = { + name = EVTOPTA_60520 + trigger = { + primary_title = { + title = e_mongol_empire + } + has_power_omen_modifier_trigger = no + has_battle_omen_modifier_trigger = no + } + } + + option = { + name = EVTOPTB_60520 + trigger = { + NOT = { + primary_title = { + title = e_mongol_empire + } + } + NOT = { + any_liege = { + primary_title = { + title = e_mongol_empire + } + } + } + has_power_omen_modifier_trigger = no + has_battle_omen_modifier_trigger = no + } + } + + option = { + name = EVTOPTC_60520 + trigger = { + any_liege = { + primary_title = { + title = e_mongol_empire + } + } + has_power_omen_modifier_trigger = no + has_battle_omen_modifier_trigger = no + } + } + + option = { # scrying omen included + name = EVTOPTA_60520 + + calculate_scrying_outcome_effect = yes + remove_scrying_omen_modifiers_effect = yes + tooltip_info = yes + + trigger = { + primary_title = { + title = e_mongol_empire + } + OR = { + has_power_omen_modifier_trigger = yes + has_battle_omen_modifier_trigger = yes + } + } + } + + option = { # scrying omen included + name = EVTOPTB_60520 + + calculate_scrying_outcome_effect = yes + remove_scrying_omen_modifiers_effect = yes + tooltip_info = yes + + trigger = { + NOT = { + primary_title = { + title = e_mongol_empire + } + } + NOT = { + any_liege = { + primary_title = { + title = e_mongol_empire + } + } + } + OR = { + has_power_omen_modifier_trigger = yes + has_battle_omen_modifier_trigger = yes + } + } + } + + option = { # scrying omen included + name = EVTOPTC_60520 + + calculate_scrying_outcome_effect = yes + remove_scrying_omen_modifiers_effect = yes + tooltip_info = yes + + trigger = { + any_liege = { + primary_title = { + title = e_mongol_empire + } + } + OR = { + has_power_omen_modifier_trigger = yes + has_battle_omen_modifier_trigger = yes + } + } + } +} +# Ai - reinforcement event for Genghis decision +character_event = { + id = 60530 + hide_window = yes + is_triggered_only = yes + + immediate = { + capital_scope = { + ROOT = { + spawn_unit = { + province = PREV + troops = + { + light_cavalry = { 2750 2750 } + horse_archers = { 2250 2250 } + knights = { 500 500 } + } + } + spawn_unit = { + province = PREV + troops = + { + light_cavalry = { 2750 2750 } + horse_archers = { 2250 2250 } + knights = { 500 500 } + } + } + spawn_unit = { + province = PREV + troops = + { + light_cavalry = { 2750 2750 } + horse_archers = { 2250 2250 } + knights = { 500 500 } + } + } + spawn_unit = { + province = PREV + troops = + { + light_cavalry = { 2750 2750 } + horse_archers = { 2250 2250 } + knights = { 500 500 } + } + } + } + } + } +} \ No newline at end of file diff --git a/LCDA/events/news_flavor_events.txt b/LCDA/events/news_flavor_events.txt new file mode 100644 index 0000000..322d775 --- /dev/null +++ b/LCDA/events/news_flavor_events.txt @@ -0,0 +1,89 @@ +############################################## +# +# News Flavor Events +# +# Event ID 89500 - 89999 is reserved +# +# Written by Henrik Eklund +# +############################################## + +# Marco Polo +narrative_event = { + id = 89500 + title = "EVTNAME89500" + desc = "EVTDESC89500" + major = yes + + hide_from = yes + + picture = "GFX_evt_monk" + + only_playable = yes + + trigger = { + year = 1300 + has_landed_title = c_jerusalem + NOT = { has_global_flag = marco_polo } + NOT = { + capital_scope = { + OR = { + region = world_steppe + region = world_persia + region = world_india + } + } + } + } + + major_trigger = { + ai = no + NOT = { religion_group = muslim } + NOT = { religion_group = indian_group } + NOT = { religion = tengri_pagan } + NOT = { religion = tengri_pagan_reformed } + } + + mean_time_to_happen = { + months = 24 + } + + option = { + name = "EVTOPTA89500" + set_global_flag = marco_polo + } +} + +# Zheng He +narrative_event = { + id = 89501 + title = "EVTNAME89501" + desc = "EVTDESC89501" + major = yes + + hide_from = yes + + picture = "GFX_evt_merchant_ship_at_sea_republic" + + only_playable = yes + + trigger = { + year = 1414 + has_landed_title = c_jerusalem + NOT = { has_global_flag = zheng_he } + } + + major_trigger = { + ai = no + religion_group = muslim + } + + mean_time_to_happen = { + months = 6 + } + + option = { + name = "EVTOPTA89501" + set_global_flag = zheng_he + } +} \ No newline at end of file diff --git a/LCDA/events/oldgods_historical_events.txt b/LCDA/events/oldgods_historical_events.txt new file mode 100644 index 0000000..07a08e7 --- /dev/null +++ b/LCDA/events/oldgods_historical_events.txt @@ -0,0 +1,986 @@ +################################### +# +# THE OLD GODS +# - Various Historical Events +# +################################### + +# Written by Henrik Eklund + +namespace = TOG + +# Discovery of Greenland +narrative_event = { + id = TOG.400 + title = EVTNAME_TOG_400 + desc = EVTDESC_TOG_400 + picture = GFX_evt_longships_at_sea_oldgods + border = GFX_event_narrative_frame_diplomacy + + ai = no + culture_group = north_germanic + + trigger = { + has_dlc = "The Old Gods" + 1 = { culture_group = north_germanic } + year = 925 + NOT = { has_global_flag = greenland_discovered } + } + + mean_time_to_happen = { + months = 6 + } + + immediate = { + set_global_flag = greenland_discovered + } + + option = { + name = EVTOPTA_TOG_400 + } +} + +# Greenland is settled +narrative_event = { + id = TOG.401 + title = EVTNAME_TOG_401 + desc = EVTDESC_TOG_401 + picture = GFX_evt_longships_at_sea_oldgods + border = GFX_event_narrative_frame_diplomacy + + ai = no + culture_group = north_germanic + has_global_flag = greenland_discovered + + trigger = { + has_dlc = "The Old Gods" + 1 = { culture_group = north_germanic } + year = 985 + NOT = { has_global_flag = greenland_settled } + } + + mean_time_to_happen = { + months = 6 + } + + immediate = { + set_global_flag = greenland_settled + } + + option = { + name = EVTOPTA_TOG_401 + } +} + +# Leif Ericson discovers Vinland +narrative_event = { + id = TOG.402 + title = EVTNAME_TOG_402 + desc = EVTDESC_TOG_402 + picture = GFX_evt_longships_at_sea_oldgods + border = GFX_event_narrative_frame_diplomacy + + ai = no + culture_group = north_germanic + has_global_flag = greenland_settled + + trigger = { + has_dlc = "The Old Gods" + 1 = { culture_group = north_germanic } + year = 1001 + NOT = { has_global_flag = vinland_discovered } + } + + mean_time_to_happen = { + months = 6 + } + + immediate = { + set_global_flag = vinland_discovered + } + + option = { + name = EVTOPTA_TOG_402 + } +} + +# Aztecs Encountered (Sunset Invasion only) +narrative_event = { + id = TOG.403 + title = EVTNAME_TOG_403 + desc = EVTDESC_TOG_403 + picture = GFX_evt_throne_room_mesoamerican + border = GFX_event_narrative_frame_diplomacy + + ai = no + culture_group = north_germanic + has_global_flag = vinland_discovered + + trigger = { + has_dlc = "The Old Gods" + has_dlc = "Sunset Invasion" + NOT = { + has_game_rule = { + name = aztec_invasion + value = off + } + } + year = 1010 + NOT = { has_global_flag = aztec_explorers } + NOT = { has_global_flag = aztecs_encountered } + } + + mean_time_to_happen = { + months = 6 + } + + immediate = { + set_global_flag = aztecs_encountered + } + + option = { + name = EVTOPTA_TOG_403 + } +} + +### Jomsvikings ### + +### Jomsvikings in Stettin + +# Palnatoke created +character_event = { + id = TOG.4004 + hide_window = yes + + min_age = 16 + only_men = yes + only_playable = yes + religion = catholic + + trigger = { + has_dlc = "The Old Gods" + year = 920 + controls_religion = yes # Let it happen for the Pope - he's always around + NOT = { has_global_flag = no_land_to_jomsvikings } + NOT = { has_global_flag = jomsvikings_founded } + # The settlement has not been built yet + b_kolbatz = { + has_holder = no + } + # Stettin + 366 = { + owner = { + OR = { + religion = norse_pagan + religion = norse_pagan_reformed + } + } + NOT = { num_of_settlements = 4 } + } + } + + mean_time_to_happen = { + months = 620 + } + + immediate = { + 366 = { + owner = { + create_character = { + random_traits = no + name = "Palnatoke" + religion = norse_pagan + culture = norse + dynasty = none + female = no + age = 28 + trait = tough_soldier + trait = brave + trait = strong + trait = zealous + trait = hunter + trait = wroth + trait = berserker + } + new_character = { + character_event = { id = TOG.4000 } + } + } + } + } +} + +# Chief Writes a Letter (Stettin) +character_event = { + id = TOG.4000 + hide_window = yes + + is_triggered_only = yes + + immediate = { + 366 = { + owner = { letter_event = { id = TOG.4001 days = 7 } } + } + } +} + +# Ask permission from the Count +letter_event = { + id = TOG.4001 + desc = EVTDESC_TOG_4001 + border = GFX_event_letter_frame_religion + + is_triggered_only = yes + + option = { + name = EVTOPTA_TOG_4001 + ai_chance = { + factor = 99 + } + piety = 100 + FROM = { + opinion = { + modifier = opinion_granted_barony_to_holy_order + who = ROOT + years = 100 + } + } + + custom_tooltip = { + text = jomsvikings_founded + hidden_tooltip = { 366 = { province_event = { id = TOG.4002 days = 1 } } } + hidden_tooltip = { + activate_title = { title = d_jomsvikings status = yes } + d_jomsvikings = { grant_title = FROM } + set_global_flag = jomsvikings_founded + FROM = { + wealth = 300 + religion = ROOT + set_government_type = feudal_government + } + if = { + limit = { has_global_flag = norse_reformation } + d_jomsvikings = { + religion = norse_pagan_reformed # This Holy Order now changes religion + } + } + } + } + } + option = { + name = EVTOPTC_TOG_4001 + piety = -25 + set_global_flag = no_land_to_jomsvikings + FROM = { + opinion = { + modifier = opinion_angry + who = ROOT + years = 20 + } + banish = yes + } + religion_head = { + opinion = { + modifier = opinion_disappointed + who = ROOT + years = 10 + } + } + } +} + +# Castle has been erected +province_event = { + id = TOG.4002 + desc = EVTDESC_TOG_4002 + picture = "GFX_evt_castle_construction" + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + option = { + name = EVTOPTA_TOG_4002 + build_holding = { + title = b_kolbatz + type = castle + holder = FROMFROM + } + b_kolbatz = { set_name = Jomsborg } + hidden_tooltip = { + owner = { + narrative_event = { id = TOG.4003 days = 7 } + } + } + } +} + +# News spread about the new castle +narrative_event = { + id = TOG.4003 + title = EVTNAME_TOG_4003 + desc = EVTDESC_TOG_4003 + picture = "GFX_evt_longships_at_sea_oldgods" + border = "GFX_event_narrative_frame_religion" + + major = yes + only_rulers = yes + + is_triggered_only = yes + + option = { + name = EVTOPTA_TOG_4003 + trigger = { + OR = { + religion = norse_pagan + religion = norse_pagan_reformed + } + } + } + option = { + name = EVTOPTB_TOG_4003 + trigger = { + NOT = { + religion = norse_pagan + religion = norse_pagan_reformed + } + } + } +} + +### Jomsvikings in Wolgast + +# Palnatoke created +character_event = { + id = TOG.4009 + hide_window = yes + + min_age = 16 + only_men = yes + only_playable = yes + religion = catholic + + trigger = { + has_dlc = "The Old Gods" + year = 920 + controls_religion = yes # Let it happen for the Pope - he's always around + NOT = { has_global_flag = no_land_to_jomsvikings } + NOT = { has_global_flag = jomsvikings_founded } + # The settlement has not been built yet + b_zussow = { + has_holder = no + } + # Wolgast + 308 = { + owner = { + OR = { + religion = norse_pagan + religion = norse_pagan_reformed + } + } + NOT = { num_of_settlements = 4 } + } + } + + mean_time_to_happen = { + months = 620 + } + + immediate = { + 308 = { + owner = { + create_character = { + random_traits = no + name = "Palnatoke" + religion = norse_pagan + culture = norse + dynasty = none + female = no + age = 28 + trait = tough_soldier + trait = brave + trait = strong + trait = zealous + trait = hunter + trait = wroth + trait = berserker + } + new_character = { + character_event = { id = TOG.4005 } + } + } + } + } +} + +# Chief Writes a Letter (Wolgast) +character_event = { + id = TOG.4005 + hide_window = yes + + is_triggered_only = yes + + immediate = { + 308 = { + owner = { letter_event = { id = TOG.4006 days = 7 } } + } + } +} + +# Ask permission from the Count +letter_event = { + id = TOG.4006 + desc = EVTDESC_TOG_4006 + border = GFX_event_letter_frame_religion + + is_triggered_only = yes + + option = { + name = EVTOPTA_TOG_4001 + ai_chance = { + factor = 99 + } + piety = 100 + FROM = { + opinion = { + modifier = opinion_granted_barony_to_holy_order + who = ROOT + years = 100 + } + } + + custom_tooltip = { + text = jomsvikings_founded + hidden_tooltip = { 308 = { province_event = { id = TOG.4007 days = 1 } } } + hidden_tooltip = { + activate_title = { title = d_jomsvikings status = yes } + d_jomsvikings = { grant_title = FROM } + set_global_flag = jomsvikings_founded + FROM = { + wealth = 300 + religion = ROOT + set_government_type = feudal_government + } + if = { + limit = { has_global_flag = norse_reformation } + d_jomsvikings = { + religion = norse_pagan_reformed # This Holy Order now changes religion + } + } + } + } + } + option = { + name = EVTOPTC_TOG_4001 + piety = -25 + set_global_flag = no_land_to_jomsvikings + FROM = { + opinion = { + modifier = opinion_angry + who = ROOT + years = 20 + } + banish = yes + } + religion_head = { + opinion = { + modifier = opinion_disappointed + who = ROOT + years = 10 + } + } + } +} + +# Castle has been erected +province_event = { + id = TOG.4007 + desc = EVTDESC_TOG_4002 + picture = "GFX_evt_castle_construction" + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + option = { + name = EVTOPTA_TOG_4002 + build_holding = { + title = b_zussow + type = castle + holder = FROMFROM + } + b_zussow = { set_name = Jomsborg } + hidden_tooltip = { + FROMFROM = { + narrative_event = { id = TOG.4008 days = 7 } + } + } + } +} + +# News spread about the new castle +narrative_event = { + id = TOG.4008 + title = EVTNAME_TOG_4003 + desc = EVTDESC_TOG_4003 + picture = "GFX_evt_longships_at_sea_oldgods" + border = "GFX_event_narrative_frame_religion" + + major = yes + only_rulers = yes + + is_triggered_only = yes + + option = { + name = EVTOPTA_TOG_4003 + trigger = { + OR = { + religion = norse_pagan + religion = norse_pagan_reformed + } + } + } + option = { + name = EVTOPTB_TOG_4003 + trigger = { + NOT = { + religion = norse_pagan + religion = norse_pagan_reformed + } + } + } +} + +### Jomsvikings in Rügen + +# Palnatoke created +character_event = { + id = TOG.4010 + hide_window = yes + + min_age = 16 + only_men = yes + only_playable = yes + religion = catholic + + trigger = { + has_dlc = "The Old Gods" + year = 920 + controls_religion = yes # Let it happen for the Pope - he's always around + NOT = { has_global_flag = no_land_to_jomsvikings } + NOT = { has_global_flag = jomsvikings_founded } + # The settlement has not been built yet + b_putbus = { + has_holder = no + } + # Rügen + 304 = { + owner = { + OR = { + religion = norse_pagan + religion = norse_pagan_reformed + } + } + NOT = { num_of_settlements = 3 } + } + } + + mean_time_to_happen = { + months = 620 + } + + immediate = { + 304 = { + owner = { + create_character = { + random_traits = no + name = "Palnatoke" + religion = norse_pagan + culture = norse + dynasty = none + female = no + age = 28 + trait = tough_soldier + trait = brave + trait = strong + trait = zealous + trait = hunter + trait = wroth + trait = berserker + } + new_character = { + character_event = { id = TOG.4015 } + } + } + } + } +} + +# Chief Writes a Letter (Rügen) +character_event = { + id = TOG.4015 + hide_window = yes + + is_triggered_only = yes + + immediate = { + 304 = { + owner = { letter_event = { id = TOG.4016 days = 7 } } + } + } +} + +# Ask permission from the Count +letter_event = { + id = TOG.4016 + desc = EVTDESC_TOG_4016 + border = GFX_event_letter_frame_religion + + is_triggered_only = yes + + option = { + name = EVTOPTA_TOG_4001 + ai_chance = { + factor = 99 + } + piety = 100 + FROM = { + opinion = { + modifier = opinion_granted_barony_to_holy_order + who = ROOT + years = 100 + } + } + + custom_tooltip = { + text = jomsvikings_founded + hidden_tooltip = { 304 = { province_event = { id = TOG.4017 days = 1 } } } + hidden_tooltip = { + activate_title = { title = d_jomsvikings status = yes } + d_jomsvikings = { grant_title = FROM } + set_global_flag = jomsvikings_founded + FROM = { + wealth = 300 + religion = ROOT + set_government_type = feudal_government + } + if = { + limit = { has_global_flag = norse_reformation } + d_jomsvikings = { + religion = norse_pagan_reformed # This Holy Order now changes religion + } + } + } + } + } + option = { + name = EVTOPTC_TOG_4001 + piety = -25 + set_global_flag = no_land_to_jomsvikings + FROM = { + opinion = { + modifier = opinion_angry + who = ROOT + years = 20 + } + banish = yes + } + religion_head = { + opinion = { + modifier = opinion_disappointed + who = ROOT + years = 10 + } + } + } +} + +# Castle has been erected +province_event = { + id = TOG.4017 + desc = EVTDESC_TOG_4002 + picture = "GFX_evt_castle_construction" + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + option = { + name = EVTOPTA_TOG_4002 + build_holding = { + title = b_putbus + type = castle + holder = FROMFROM + } + b_putbus = { set_name = Jomsborg } + hidden_tooltip = { + FROMFROM = { + narrative_event = { id = TOG.4018 days = 7 } + } + } + } +} + +# News spread about the new castle +narrative_event = { + id = TOG.4018 + title = EVTNAME_TOG_4003 + desc = EVTDESC_TOG_4003 + picture = "GFX_evt_longships_at_sea_oldgods" + border = "GFX_event_narrative_frame_religion" + + major = yes + only_rulers = yes + + is_triggered_only = yes + + option = { + name = EVTOPTA_TOG_4003 + trigger = { + OR = { + religion = norse_pagan + religion = norse_pagan_reformed + } + } + } + option = { + name = EVTOPTB_TOG_4003 + trigger = { + NOT = { + religion = norse_pagan + religion = norse_pagan_reformed + } + } + } +} + +### Jomsvikings in Werle + +# Palnatoke created +character_event = { + id = TOG.4020 + hide_window = yes + + min_age = 16 + only_men = yes + only_playable = yes + religion = catholic + + trigger = { + has_dlc = "The Old Gods" + year = 920 + controls_religion = yes # Let it happen for the Pope - he's always around + NOT = { has_global_flag = no_land_to_jomsvikings } + NOT = { has_global_flag = jomsvikings_founded } + # The settlement has not been built yet + b_tribsees = { + has_holder = no + } + # Werle + 307 = { + owner = { + OR = { + religion = norse_pagan + religion = norse_pagan_reformed + } + } + NOT = { num_of_settlements = 4 } + } + } + + mean_time_to_happen = { + months = 620 + } + + immediate = { + 307 = { + owner = { + create_character = { + random_traits = no + name = "Palnatoke" + religion = norse_pagan + culture = norse + dynasty = none + female = no + age = 28 + trait = tough_soldier + trait = brave + trait = strong + trait = zealous + trait = hunter + trait = wroth + trait = berserker + } + new_character = { + character_event = { id = TOG.4025 } + } + } + } + } +} + +# Chief Writes a Letter (Werle) +character_event = { + id = TOG.4025 + hide_window = yes + + is_triggered_only = yes + + immediate = { + 307 = { + owner = { letter_event = { id = TOG.4026 days = 7 } } + } + } +} + +# Ask permission from the Count +letter_event = { + id = TOG.4026 + desc = EVTDESC_TOG_4026 + border = GFX_event_letter_frame_religion + + is_triggered_only = yes + + option = { + name = EVTOPTA_TOG_4001 + ai_chance = { + factor = 99 + } + piety = 100 + FROM = { + opinion = { + modifier = opinion_granted_barony_to_holy_order + who = ROOT + years = 100 + } + } + + custom_tooltip = { + text = jomsvikings_founded + hidden_tooltip = { 307 = { province_event = { id = TOG.4027 days = 1 } } } + hidden_tooltip = { + activate_title = { title = d_jomsvikings status = yes } + d_jomsvikings = { grant_title = FROM } + set_global_flag = jomsvikings_founded + FROM = { + wealth = 300 + religion = ROOT + set_government_type = feudal_government + } + if = { + limit = { has_global_flag = norse_reformation } + d_jomsvikings = { + religion = norse_pagan_reformed # This Holy Order now changes religion + } + } + } + } + } + option = { + name = EVTOPTC_TOG_4001 + piety = -25 + set_global_flag = no_land_to_jomsvikings + FROM = { + opinion = { + modifier = opinion_angry + who = ROOT + years = 20 + } + banish = yes + } + religion_head = { + opinion = { + modifier = opinion_disappointed + who = ROOT + years = 10 + } + } + } +} + +# Castle has been erected +province_event = { + id = TOG.4027 + desc = EVTDESC_TOG_4002 + picture = "GFX_evt_castle_construction" + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + option = { + name = EVTOPTA_TOG_4002 + build_holding = { + title = b_tribsees + type = castle + holder = FROMFROM + } + b_tribsees = { set_name = Jomsborg } + hidden_tooltip = { + FROMFROM = { + narrative_event = { id = TOG.4028 days = 7 } + } + } + } +} + +# News spread about the new castle +narrative_event = { + id = TOG.4028 + title = EVTNAME_TOG_4003 + desc = EVTDESC_TOG_4003 + picture = "GFX_evt_longships_at_sea_oldgods" + border = "GFX_event_narrative_frame_religion" + + major = yes + only_rulers = yes + + is_triggered_only = yes + + option = { + name = EVTOPTA_TOG_4003 + trigger = { + OR = { + religion = norse_pagan + religion = norse_pagan_reformed + } + } + } + option = { + name = EVTOPTB_TOG_4003 + trigger = { + NOT = { + religion = norse_pagan + religion = norse_pagan_reformed + } + } + } +} + +# Jomsvikings Reform +character_event = { + id = TOG.4030 + hide_window = yes + + min_age = 16 + only_men = yes + only_playable = yes + religion = catholic + has_global_flag = norse_reformation + + trigger = { + controls_religion = yes + NOT = { has_global_flag = jomsvikings_reformed } + is_title_active = d_jomsvikings + } + + mean_time_to_happen = { + days = 1 + } + + immediate = { + d_jomsvikings = { + religion = norse_pagan_reformed # This Holy Order now changes religion + holder_scope = { + religion = norse_pagan_reformed + } + } + set_global_flag = jomsvikings_reformed + } +} diff --git a/LCDA/events/oldgods_various_events.txt b/LCDA/events/oldgods_various_events.txt new file mode 100644 index 0000000..48b14f4 --- /dev/null +++ b/LCDA/events/oldgods_various_events.txt @@ -0,0 +1,3747 @@ +################################### +# +# THE OLD GODS +# - Various Events +# +################################### + +# Written by Henrik Eklund + +namespace = TOG + +### Berserker Events + +# Character becomes a Berserker in battle +character_event = { + id = TOG.3000 + desc = EVTDESC_TOG_3000 + picture = GFX_evt_viking_battle_oldgods + border = GFX_event_normal_frame_war + + is_triggered_only = yes + + trigger = { + has_dlc = "The Old Gods" + culture_group = north_germanic + is_alive = yes + NOT = { trait = berserker } + OR = { + NOT = { age = 50 } + immortal = yes + } + OR = { + trait = wroth + trait = aggressive_leader + } + } + + weight_multiplier = { + days = 1 + modifier = { + factor = 1.5 + trait = brave + } + modifier = { + factor = 1.5 + trait = lunatic + } + modifier = { + factor = 1.5 + trait = possessed + } + modifier = { + factor = 1.2 + trait = drunkard + } + modifier = { + factor = 1.2 + trait = cruel + } + modifier = { + is_strong_trigger = yes + factor = 1.2 + } + modifier = { + factor = 0.5 + trait = craven + } + modifier = { + is_weak_trigger = yes + factor = 0.8 + } + modifier = { + factor = 0.7 + trait = stressed + } + modifier = { + factor = 0.7 + trait = depressed + } + modifier = { + factor = 0.8 + is_ill = yes + } + modifier = { + factor = 0.8 + trait = kind + } + modifier = { + factor = 0.5 + trait = infirm + } + } + + option = { + name = EVTOPTA_TOG_3000 + if = { + limit = { trait = craven } + remove_trait = craven + } + add_trait = berserker + } +} + +# Berserker is Maimed in battle +character_event = { + id = TOG.3001 + desc = EVTDESC_TOG_3001 + picture = GFX_evt_viking_battle_oldgods + border = GFX_event_normal_frame_war + + is_triggered_only = yes + + trigger = { + has_dlc = "The Old Gods" + trait = berserker + NOT = { trait = maimed } + NOT = { trait = one_legged } + is_alive = yes + } + + weight_multiplier = { + days = 1 + + modifier = { + factor = 5 + has_character_modifier = proving_bravery + } + modifier = { + factor = 1.5 + trait = brave + } + modifier = { + factor = 0.5 + trait = craven + } + modifier = { + trait = clubfooted + factor = 1.25 + } + modifier = { + trait = hunchback + factor = 1.25 + } + modifier = { + trait = lisp + factor = 1.1 + } + modifier = { + trait = stutter + factor = 1.1 + } + modifier = { + trait = dwarf + factor = 1.25 + } + modifier = { + trait = genius + factor = 0.9 + } + modifier = { + OR = { + trait = quick + trait = shrewd + } + factor = 0.9 + } + modifier = { + OR = { + trait = slow + trait = dull + } + factor = 2.0 + } + + modifier = { + trait = imbecile + factor = 3.0 + } + modifier = { + trait = inbred + factor = 3.0 + } + modifier = { + is_strong_trigger = yes + factor = 0.7 + } + modifier = { + is_weak_trigger = yes + factor = 2.5 + } + + modifier = { + factor = 1.25 + trait = stressed + } + modifier = { + factor = 1.25 + trait = depressed + } + modifier = { + factor = 1.5 + trait = lunatic + } + modifier = { + factor = 1.5 + trait = possessed + } + modifier = { + factor = 1.1 + is_ill = yes + } + modifier = { + factor = 1.25 + trait = pneumonic + } + modifier = { + factor = 1.25 + trait = syphilitic + } + modifier = { + factor = 2.0 + trait = leper + } + modifier = { + factor = 1.15 + trait = wounded + } + modifier = { + factor = 2.0 + trait = infirm + } + modifier = { + factor = 3.0 + trait = incapable + } + modifier = { + factor = 1.1 + trait = drunkard + } + modifier = { + factor = 1.1 + trait = has_tuberculosis + } + modifier = { + factor = 1.1 + trait = has_typhoid_fever + } + modifier = { + factor = 1.5 + trait = has_typhus + } + modifier = { + factor = 1.5 + trait = has_bubonic_plague + } + modifier = { + factor = 1.1 + trait = has_measles + } + modifier = { + factor = 1.1 + trait = has_small_pox + } + } + + option = { + name = EVTOPTA_TOG_3001 + if = { + limit = { + NOT = { + has_dlc = "Reapers" + } + } + add_trait = maimed + hidden_tooltip = { + character_event = { id = 38281 } + } + } + if = { + limit = { + has_dlc = "Reapers" + } + add_trait = one_legged + add_trait = severely_injured + hidden_tooltip = { + character_event = { id = RIP.11503 } #Notify one-legged + resolve_severely_injured_effect = yes + } + } + } +} + +# Berserker is Wounded in battle +character_event = { + id = TOG.3002 + desc = EVTDESC_TOG_3002 + picture = GFX_evt_viking_battle_oldgods + border = GFX_event_normal_frame_war + + is_triggered_only = yes + + trigger = { + has_dlc = "The Old Gods" + trait = berserker + NOT = { trait = wounded } + NOT = { is_maimed_trigger = yes } + is_alive = yes + } + + weight_multiplier = { + days = 1 + + modifier = { + factor = 5 + has_character_modifier = proving_bravery + } + modifier = { + factor = 1.5 + trait = brave + } + modifier = { + factor = 0.5 + trait = craven + } + modifier = { + trait = clubfooted + factor = 1.25 + } + modifier = { + trait = hunchback + factor = 1.25 + } + modifier = { + trait = lisp + factor = 1.1 + } + modifier = { + trait = stutter + factor = 1.1 + } + modifier = { + trait = dwarf + factor = 1.25 + } + modifier = { + trait = genius + factor = 0.9 + } + modifier = { + OR = { + trait = quick + trait = shrewd + } + factor = 0.9 + } + modifier = { + OR = { + trait = slow + trait = dull + } + factor = 2.0 + } + + modifier = { + trait = imbecile + factor = 3.0 + } + modifier = { + trait = inbred + factor = 3.0 + } + modifier = { + is_strong_trigger = yes + factor = 0.7 + } + modifier = { + is_weak_trigger = yes + factor = 2.5 + } + + modifier = { + factor = 1.25 + trait = stressed + } + modifier = { + factor = 1.25 + trait = depressed + } + modifier = { + factor = 1.5 + trait = lunatic + } + modifier = { + factor = 1.5 + trait = possessed + } + modifier = { + factor = 1.1 + is_ill = yes + } + modifier = { + factor = 1.25 + trait = pneumonic + } + modifier = { + factor = 1.25 + trait = syphilitic + } + modifier = { + factor = 2.0 + trait = leper + } + modifier = { + factor = 1.25 + is_maimed_trigger = yes + } + modifier = { + factor = 2.0 + trait = infirm + } + modifier = { + factor = 3.0 + trait = incapable + } + modifier = { + factor = 1.1 + trait = drunkard + } + modifier = { + factor = 1.1 + trait = has_tuberculosis + } + modifier = { + factor = 1.1 + trait = has_typhoid_fever + } + modifier = { + factor = 1.5 + trait = has_typhus + } + modifier = { + factor = 1.5 + trait = has_bubonic_plague + } + modifier = { + factor = 1.1 + trait = has_measles + } + modifier = { + factor = 1.1 + trait = has_small_pox + } + } + + option = { + name = EVTOPTA_TOG_3001 + add_trait = wounded + } +} + +# Berserker is Killed in battle +character_event = { + id = TOG.3003 + desc = EVTDESC_TOG_3003 + picture = GFX_evt_viking_battle_oldgods + border = GFX_event_normal_frame_war + + is_triggered_only = yes + + trigger = { + has_dlc = "The Old Gods" + trait = berserker + } + + weight_multiplier = { + days = 1 + modifier = { + factor = 1.5 + trait = brave + } + modifier = { + factor = 0.5 + trait = craven + } + modifier = { + trait = clubfooted + factor = 1.25 + } + modifier = { + trait = hunchback + factor = 1.25 + } + modifier = { + trait = lisp + factor = 1.1 + } + modifier = { + trait = stutter + factor = 1.1 + } + modifier = { + trait = dwarf + factor = 1.25 + } + modifier = { + trait = genius + factor = 0.9 + } + modifier = { + OR = { + trait = quick + trait = shrewd + } + factor = 0.9 + } + modifier = { + OR = { + trait = slow + trait = dull + } + factor = 2.0 + } + + modifier = { + trait = imbecile + factor = 3.0 + } + modifier = { + trait = inbred + factor = 3.0 + } + modifier = { + is_strong_trigger = yes + factor = 0.7 + } + modifier = { + is_weak_trigger = yes + factor = 2.5 + } + modifier = { + factor = 1.25 + trait = stressed + } + modifier = { + factor = 1.25 + trait = depressed + } + modifier = { + factor = 1.5 + trait = lunatic + } + modifier = { + factor = 1.5 + trait = possessed + } + modifier = { + factor = 1.1 + is_ill = yes + } + modifier = { + factor = 1.25 + trait = pneumonic + } + modifier = { + factor = 1.25 + trait = syphilitic + } + modifier = { + factor = 2.0 + trait = leper + } + modifier = { + factor = 1.15 + trait = wounded + } + modifier = { + factor = 1.25 + is_maimed_trigger = yes + } + modifier = { + factor = 2.0 + trait = infirm + } + modifier = { + factor = 3.0 + trait = incapable + } + modifier = { + factor = 1.1 + trait = drunkard + } + modifier = { + factor = 1.1 + trait = has_tuberculosis + } + modifier = { + factor = 1.1 + trait = has_typhoid_fever + } + modifier = { + factor = 1.5 + trait = has_typhus + } + modifier = { + factor = 1.5 + trait = has_bubonic_plague + } + modifier = { + factor = 1.1 + trait = has_measles + } + modifier = { + factor = 1.1 + trait = has_small_pox + } + } + + immediate = { + liege = { + if = { + limit = { NOT = { character = ROOT } } + character_event = { id = 253 } + } + } + FROMFROM = { + if = { + limit = { NOT = { is_vassal_or_below = ROOT } } + set_character_flag = temp_battle_kill_242 + character_event = { id = 249 } + } + } + FROM = { + if = { + limit = { + NOR = { + has_character_flag = temp_battle_kill_242 + is_vassal_or_below = ROOT + } + } + character_event = { id = 249 } + } + } + FROMFROM = { + clr_character_flag = temp_battle_kill_242 + } + if = { + limit = { + OR = { + is_liege_or_above = FROM + FROM = { character = ROOT } + NOT = { FROM = { always = yes } } + } + } + death = { + death_reason = death_battle + } + break = yes + } + death = { + death_reason = death_battle + killer = FROM + } + } + + option = { + name = EVTOPTA_TOG_3003 + } +} + +# Berserker kills scores of enemies in battle +character_event = { + id = TOG.3004 + desc = EVTDESC_TOG_3004 + picture = GFX_evt_viking_battle_oldgods + border = GFX_event_normal_frame_war + + is_triggered_only = yes + + trigger = { + has_dlc = "The Old Gods" + trait = berserker + } + + weight_multiplier = { + days = 1 + modifier = { + factor = 1.5 + trait = brave + } + modifier = { + factor = 0.5 + trait = craven + } + modifier = { + trait = genius + factor = 1.2 + } + modifier = { + OR = { + trait = quick + trait = shrewd + } + factor = 1.1 + } + modifier = { + OR = { + trait = slow + trait = dull + } + factor = 0.9 + } + + modifier = { + trait = imbecile + factor = 0.2 + } + modifier = { + trait = inbred + factor = 0.2 + } + modifier = { + is_strong_trigger = yes + factor = 1.5 + } + modifier = { + is_weak_trigger = yes + factor = 0.8 + } + modifier = { + factor = 0.8 + trait = stressed + } + modifier = { + factor = 0.8 + trait = depressed + } + modifier = { + factor = 0.75 + trait = lunatic + } + modifier = { + factor = 0.75 + trait = possessed + } + modifier = { + factor = 0.9 + is_ill = yes + } + modifier = { + factor = 0.8 + trait = pneumonic + } + modifier = { + factor = 0.8 + trait = syphilitic + } + modifier = { + factor = 0.5 + trait = leper + } + modifier = { + factor = 0.9 + trait = wounded + } + modifier = { + factor = 0.8 + is_maimed_trigger = yes + } + modifier = { + factor = 0.5 + trait = infirm + } + modifier = { + factor = 0.4 + trait = incapable + } + modifier = { + factor = 0.5 + trait = drunkard + } + modifier = { + factor = 0.5 + trait = has_tuberculosis + } + modifier = { + factor = 0.5 + trait = has_typhoid_fever + } + modifier = { + factor = 0.5 + trait = has_typhus + } + modifier = { + factor = 0.5 + trait = has_bubonic_plague + } + modifier = { + factor = 0.5 + trait = has_measles + } + modifier = { + factor = 0.5 + trait = has_small_pox + } + } + + option = { + name = EVTOPTA_TOG_3004 + prestige = 200 + change_martial = 1 + } +} + +# Too old to be Berserker +character_event = { + id = TOG.3005 + desc = EVTDESC_TOG_3005 + picture = GFX_evt_viking_throneroom_oldgods + border = GFX_event_normal_frame_war + + is_triggered_only = yes + + min_age = 50 + + trigger = { + has_dlc = "The Old Gods" + trait = berserker + immortal = no + } + + option = { + name = EVTOPTA_TOG_3005 + remove_trait = berserker + } +} + +# Berserker goes berserk against Courtier +character_event = { + id = TOG.3006 + desc = EVTDESC_TOG_3006 + picture = GFX_evt_viking_throneroom_oldgods + border = GFX_event_normal_frame_war + + is_triggered_only = yes + + option = { + name = EVTOPTA_TOG_3006 + random_list = { + 50 = { + character_event = { id = TOG.3007 days = 1 tooltip = EVTTOOLTIP_TOG_3007 } + } + 50 = { + character_event = { id = TOG.3008 days = 1 tooltip = EVTTOOLTIP_TOG_3008 } + } + } + } +} + +# Courtier beaten +character_event = { + id = TOG.3007 + desc = EVTDESC_TOG_3007 + picture = GFX_evt_viking_throneroom_oldgods + border = GFX_event_normal_frame_war + + is_triggered_only = yes + + hide_from = yes + + option = { + name = EVTOPTA_TOG_3007 + FROMFROM = { + add_trait = wounded + opinion = { + modifier = opinion_went_berserk + who = ROOT + } + } + } +} + +# Courtier spared +character_event = { + id = TOG.3008 + desc = EVTDESC_TOG_3008 + picture = GFX_evt_viking_throneroom_oldgods + border = GFX_event_normal_frame_war + + is_triggered_only = yes + + hide_from = yes + + option = { + name = EVTOPTA_TOG_3008 + piety = 20 + } +} + +# Berserker goes berserk against Courtier (Hidden AI) +character_event = { + id = TOG.3009 + hide_window = yes + + is_triggered_only = yes + + ai = yes + min_age = 16 + only_men = yes + capable_only = yes + prisoner = no + + trigger = { + has_dlc = "The Old Gods" + host = { + character = liege + prisoner = no + trait = berserker + NOT = { + trait = incapable + opinion = { who = ROOT value = 10 } + } + NOT = { is_inaccessible_trigger = yes } + } + NOT = { trait = berserker } + is_primary_heir = no + is_pretender = no + } + + immediate = { + liege = { + character_event = { id = TOG.3006 } + } + } +} + +### Varangian Events + +# Varangian Guard Founded (Emperor) +narrative_event = { + id = TOG.3100 + title = EVTNAME_TOG_3100 + desc = EVTDESC_TOG_3100 + picture = GFX_evt_viking_battle_oldgods + border = GFX_event_narrative_frame_war + + is_triggered_only = yes + + hide_from = yes + + option = { + name = EVTOPTA_TOG_3100 + hidden_tooltip = { + any_playable_ruler = { + limit = { + ai = no + culture_group = north_germanic + } + narrative_event = { id = TOG.3101 } + } + } + } +} + +# Varangian Guard Founded (Norse) +narrative_event = { + id = TOG.3101 + title = EVTNAME_TOG_3100 + desc = EVTDESC_TOG_3101 + picture = GFX_evt_viking_battle_oldgods + border = GFX_event_narrative_frame_war + + is_triggered_only = yes + + option = { + name = EVTOPTA_TOG_3101 + custom_tooltip = { text = varangians_organized } + } +} + +# Varangian Captain gets Varangian trait +character_event = { + id = TOG.3105 + hide_window = yes + + only_rulers = yes + min_age = 16 + only_men = yes + capable_only = yes + prisoner = no + + trigger = { + has_landed_title = d_varangian_guard + NOT = { trait = varangian } + } + + mean_time_to_happen = { + days = 1 + } + + immediate = { + add_trait = varangian + } +} + +# Son has served a few years +character_event = { + id = TOG.3108 + hide_window = yes + + is_triggered_only = yes + + trigger = { + has_character_flag = wants_varangian + } + + immediate = { + set_character_flag = serving_varangian + clr_character_flag = wants_varangian + } +} + +# Son wants to join the Varangians (Son) +character_event = { + id = TOG.3109 + hide_window = yes + + is_triggered_only = yes + + ai = yes + min_age = 16 + max_age = 40 + only_men = yes + capable_only = yes + prisoner = no + culture_group = north_germanic + has_global_flag = varangian_guard_founded + has_dlc = "The Old Gods" + + trigger = { + is_landed = no + in_command = no + NOR = { + trait = varangian + has_character_flag = wants_varangian + has_character_flag = denied_varangian + } + father = { + is_alive = yes + culture_group = north_germanic + is_ruler = yes + is_liege_of = ROOT + prisoner = no + NOT = { trait = incapable } + ROOT = { host = { character = PREVPREV } } + } + NOT = { is_inaccessible_trigger = yes } + } + + weight_multiplier = { + days = 1 + + modifier = { + factor = 1.5 + trait = ambitious + } + modifier = { + factor = 1.5 + trait = brave + } + modifier = { + factor = 1.75 + trait = berserker + } + modifier = { + factor = 1.75 + trait = proud + } + modifier = { + factor = 1.75 + trait = impaler + } + modifier = { + factor = 0.5 + trait = slothful + } + modifier = { + factor = 0.5 + trait = content + } + modifier = { + factor = 0.5 + is_primary_heir = yes + } + modifier = { + factor = 0.25 + trait = craven + } + } + + immediate = { + father = { character_event = { id = TOG.3110 } } + set_character_flag = wants_varangian + } +} + +# Son wants to join the Varangians (Father) +character_event = { + id = TOG.3110 + desc = EVTDESC_TOG_3110 + picture = GFX_evt_viking_throneroom_oldgods + border = GFX_event_normal_frame_war + + is_triggered_only = yes + + option = { # Deny + name = EVTOPTA_TOG_3110 + FROM = { + opinion = { + modifier = opinion_very_disappointed + years = 1 + who = ROOT + } + clr_character_flag = wants_varangian + set_character_flag = denied_varangian + } + prestige = -100 + } + option = { # Allow + name = EVTOPTB_TOG_3110 + d_varangian_guard = { + holder_scope = { + FROM = { + move_character = PREV + } + } + } + hidden_tooltip = { + FROM = { + character_event = { id = TOG.3108 days = 1460 } + } + } + prestige = 100 + } +} + +# Son stays in Greece with wife (Son) +character_event = { + id = TOG.3111 + hide_window = yes + + is_triggered_only = yes + + ai = yes + min_age = 16 + only_men = yes + capable_only = yes + prisoner = no + culture_group = north_germanic + has_character_flag = serving_varangian + has_dlc = "The Old Gods" + is_married = no + + trigger = { + had_character_flag = { flag = serving_varangian months = 75 } + NOT = { + OR = { + father = { + primary_title = { + current_heir = { character = ROOT } + } + } + mother = { + primary_title = { + current_heir = { character = ROOT } + } + } + } + } + } + + weight_multiplier = { + days = 1 + + modifier = { + factor = 1.75 + trait = lustful + } + modifier = { + factor = 1.75 + trait = content + } + modifier = { + factor = 1.75 + trait = slothful + } + } + + immediate = { + father = { character_event = { id = TOG.3112 } } + e_byzantium = { + holder_scope = { + character_event = { id = TOG.3113 } + } + } + clr_character_flag = serving_varangian + } +} + +# Son stays in Greece with wife (Norse father) +character_event = { + id = TOG.3112 + desc = EVTDESC_TOG_3112 + picture = GFX_evt_viking_throneroom_oldgods + border = GFX_event_normal_frame_war + + is_triggered_only = yes + + option = { + name = EVTOPTA_TOG_3112 + tooltip = { + e_byzantium = { + holder_scope = { + FROM = { + move_character = PREV + religion = PREV + } + } + } + } + FROM = { add_trait = varangian } + } +} + +# Son stays in Greece with wife (Byzantine Emperor) +character_event = { + id = TOG.3113 + desc = EVTDESC_TOG_3113 + picture = GFX_evt_viking_throneroom_oldgods + border = GFX_event_normal_frame_war + + is_triggered_only = yes + + option = { + name = EVTOPTA_TOG_3113 + create_character = { + random_traits = yes + dynasty = random + female = yes + age = 26 + religion = ROOT + culture = greek + } + new_character = { + add_spouse_matrilineal = FROM + } + FROM = { + move_character = ROOT + religion = ROOT + } + } +} + +# Son returns scarred but seasoned (Son) +character_event = { + id = TOG.3114 + hide_window = yes + + is_triggered_only = yes + + ai = yes + min_age = 16 + only_men = yes + capable_only = yes + prisoner = no + culture_group = north_germanic + has_character_flag = serving_varangian + + trigger = { + has_dlc = "The Old Gods" + had_character_flag = { flag = serving_varangian months = 75 } + NOT = { trait = scarred } + } + + weight_multiplier = { + days = 1 + + modifier = { + factor = 1.75 + trait = brave + } + modifier = { + factor = 0.25 + trait = craven + } + } + + immediate = { + father = { character_event = { id = TOG.3115 } } + clr_character_flag = serving_varangian + } +} + +# Son returns scarred but seasoned +character_event = { + id = TOG.3115 + desc = EVTDESC_TOG_3115 + picture = GFX_evt_viking_throneroom_oldgods + border = GFX_event_normal_frame_war + + is_triggered_only = yes + + option = { + name = EVTOPTA_TOG_3115 + FROM = { + move_character = ROOT + add_trait = scarred + add_trait = varangian + change_martial = 4 + } + } +} + +# Son returns with notions of Greek love (Son) +character_event = { + id = TOG.3116 + hide_window = yes + + is_triggered_only = yes + + ai = yes + min_age = 16 + only_men = yes + capable_only = yes + prisoner = no + culture_group = north_germanic + has_character_flag = serving_varangian + + trigger = { + has_dlc = "The Old Gods" + had_character_flag = { flag = serving_varangian months = 75 } + NOT = { trait = homosexual } + } + + weight_multiplier = { + days = 1 + + modifier = { + factor = 1.75 + trait = lustful + } + modifier = { + factor = 1.75 + trait = hedonist + } + modifier = { + factor = 1.75 + trait = chaste + } + } + + immediate = { + father = { character_event = { id = TOG.3117 } } + clr_character_flag = serving_varangian + } +} + +# Son returns with notions of Greek love +character_event = { + id = TOG.3117 + desc = EVTDESC_TOG_3117 + picture = GFX_evt_viking_throneroom_oldgods + border = GFX_event_normal_frame_war + + is_triggered_only = yes + + option = { + name = EVTOPTA_TOG_3117 + FROM = { + move_character = ROOT + add_trait = homosexual + add_trait = varangian + } + } +} + +# Son returns castrated and blinded (Son) +character_event = { + id = TOG.3118 + hide_window = yes + + is_triggered_only = yes + + ai = yes + min_age = 16 + only_men = yes + capable_only = yes + prisoner = no + culture_group = north_germanic + has_character_flag = serving_varangian + + trigger = { + has_dlc = "The Old Gods" + had_character_flag = { flag = serving_varangian months = 75 } + NOT = { + trait = eunuch + trait = blinded + } + } + + weight_multiplier = { + days = 1 + } + + immediate = { + if = { + limit = { + trait = one_eyed + } + remove_trait = one_eyed + } + add_trait = blinded + father = { character_event = { id = TOG.3119 } } + clr_character_flag = serving_varangian + } +} + +# Son returns castrated and blinded +character_event = { + id = TOG.3119 + desc = EVTDESC_TOG_3119 + picture = GFX_evt_viking_throneroom_oldgods + border = GFX_event_normal_frame_war + + is_triggered_only = yes + + option = { + name = EVTOPTA_TOG_3119 + FROM = { + move_character = ROOT + tooltip = { add_trait = blinded } + add_trait = eunuch + add_trait = varangian + } + } +} + +# Son returns as excellent strategist (Son) +character_event = { + id = TOG.3120 + hide_window = yes + + is_triggered_only = yes + + ai = yes + min_age = 16 + only_men = yes + capable_only = yes + prisoner = no + culture_group = north_germanic + has_character_flag = serving_varangian + + trigger = { + has_dlc = "The Old Gods" + had_character_flag = { flag = serving_varangian months = 75 } + NOT = { trait = brilliant_strategist } + OR = { + trait = misguided_warrior + trait = tough_soldier + trait = skilled_tactician + } + } + + weight_multiplier = { + days = 1 + + modifier = { + factor = 1.5 + trait = genius + } + modifier = { + factor = 1.75 + trait = diligent + } + modifier = { + factor = 1.75 + OR = { + trait = quick + trait = shrewd + } + } + modifier = { + factor = 0.5 + OR = { + trait = slow + trait = dull + } + } + modifier = { + factor = 0.5 + trait = imbecile + } + } + + immediate = { + father = { character_event = { id = TOG.3121 } } + clr_character_flag = serving_varangian + } +} + +# Son returns as excellent strategist +character_event = { + id = TOG.3121 + desc = EVTDESC_TOG_3121 + picture = GFX_evt_viking_throneroom_oldgods + border = GFX_event_normal_frame_war + + is_triggered_only = yes + + option = { + name = EVTOPTA_TOG_3121 + if = { + limit = { + FROM = { + trait = skilled_tactician + } + } + FROM = { + hidden_tooltip = { remove_trait = skilled_tactician } + add_trait = brilliant_strategist + } + } + if = { + limit = { + FROM = { + OR = { + trait = misguided_warrior + trait = tough_soldier + } + } + } + FROM = { + hidden_tooltip = { + remove_trait = misguided_warrior + remove_trait = tough_soldier + } + add_trait = skilled_tactician + } + } + FROM = { + change_martial = 2 + add_trait = varangian + move_character = ROOT + } + } +} + +# Son returns with PTSD (Son) +character_event = { + id = TOG.3122 + hide_window = yes + + is_triggered_only = yes + + ai = yes + min_age = 16 + only_men = yes + capable_only = yes + prisoner = no + culture_group = north_germanic + has_character_flag = serving_varangian + + trigger = { + has_dlc = "The Old Gods" + had_character_flag = { flag = serving_varangian months = 75 } + NOT = { trait = depressed } + } + + weight_multiplier = { + days = 1 + + modifier = { + factor = 1.75 + trait = kind + } + modifier = { + factor = 1.75 + trait = poet + } + modifier = { + factor = 1.75 + trait = just + } + } + + immediate = { + father = { character_event = { id = TOG.3123 } } + clr_character_flag = serving_varangian + } +} + +# Son returns with PTSD +character_event = { + id = TOG.3123 + desc = EVTDESC_TOG_3123 + picture = GFX_evt_viking_throneroom_oldgods + border = GFX_event_normal_frame_war + + is_triggered_only = yes + + option = { + name = EVTOPTA_TOG_3123 + FROM = { + move_character = ROOT + add_trait = stressed + add_trait = depressed + add_trait = varangian + } + } +} + +# Son returns home with Greek wife (Son) +character_event = { + id = TOG.3124 + hide_window = yes + + is_triggered_only = yes + + ai = yes + min_age = 16 + only_men = yes + capable_only = yes + prisoner = no + culture_group = north_germanic + has_character_flag = serving_varangian + has_dlc = "The Old Gods" + is_married = no + + trigger = { + had_character_flag = { flag = serving_varangian months = 75 } + e_byzantium = { + holder_scope = { + culture = greek + religion = orthodox + } + } + } + + weight_multiplier = { + days = 1 + + modifier = { + factor = 1.75 + trait = lustful + } + } + + immediate = { + father = { character_event = { id = TOG.3125 } } + clr_character_flag = serving_varangian + } +} + +# Son returns home with Greek wife +character_event = { + id = TOG.3125 + desc = EVTDESC_TOG_3125 + picture = GFX_evt_viking_throneroom_oldgods + border = GFX_event_normal_frame_war + + is_triggered_only = yes + + option = { + name = EVTOPTA_TOG_3125 + create_character = { + random_traits = yes + dynasty = NONE + female = yes + age = 26 + religion = orthodox + culture = greek + } + new_character = { + add_spouse = FROM + } + FROM = { + add_trait = varangian + move_character = ROOT + } + } +} + +# Son returns home as a Christian zealot (Son) +character_event = { + id = TOG.3126 + hide_window = yes + + is_triggered_only = yes + + ai = yes + min_age = 16 + only_men = yes + capable_only = yes + prisoner = no + culture_group = north_germanic + religion_group = pagan_group + has_character_flag = serving_varangian + + trigger = { + has_dlc = "The Old Gods" + had_character_flag = { flag = serving_varangian months = 75 } + OR = { + religion = norse_pagan + religion = norse_pagan_reformed + } + father = { + OR = { + religion = norse_pagan + religion = norse_pagan_reformed + } + } + NOT = { trait = zealous } + e_byzantium = { + holder_scope = { + religion = orthodox + } + } + } + + weight_multiplier = { + days = 1 + + modifier = { + factor = 0.20 + trait = cynical + } + } + + immediate = { + father = { character_event = { id = TOG.3127 } } + clr_character_flag = serving_varangian + } +} + +# Son returns home as a Christian zealot +character_event = { + id = TOG.3127 + desc = EVTDESC_TOG_3127 + picture = GFX_evt_viking_throneroom_oldgods + border = GFX_event_normal_frame_war + + is_triggered_only = yes + + option = { + name = EVTOPTA_TOG_3127 + FROM = { + move_character = ROOT + add_trait = zealous + add_trait = varangian + religion = orthodox + } + } +} + +# Son returns home as a seasoned warrior (Son) +character_event = { + id = TOG.3128 + hide_window = yes + + is_triggered_only = yes + + ai = yes + min_age = 16 + only_men = yes + capable_only = yes + prisoner = no + culture_group = north_germanic + has_character_flag = serving_varangian + + trigger = { + has_dlc = "The Old Gods" + had_character_flag = { flag = serving_varangian months = 75 } + } + + weight_multiplier = { + days = 1 + + modifier = { + factor = 1.75 + trait = brave + } + modifier = { + factor = 1.75 + is_strong_trigger = yes + } + modifier = { + factor = 1.75 + OR = { + trait = quick + trait = shrewd + } + } + modifier = { + factor = 1.75 + trait = genius + } + modifier = { + factor = 0.5 + trait = slothful + } + modifier = { + factor = 0.5 + OR = { + trait = slow + trait = dull + } + } + modifier = { + factor = 0.25 + trait = imbecile + } + } + + immediate = { + father = { character_event = { id = TOG.3129 } } + clr_character_flag = serving_varangian + } +} + +# Son returns home as a seasoned warrior +character_event = { + id = TOG.3129 + desc = EVTDESC_TOG_3129 + picture = GFX_evt_viking_throneroom_oldgods + border = GFX_event_normal_frame_war + + is_triggered_only = yes + + option = { + name = EVTOPTA_TOG_3129 + FROM = { + move_character = ROOT + add_trait = brave + add_trait = varangian + change_martial = 2 + } + } +} + +# Son dies in battle (Son) +character_event = { + id = TOG.3130 + hide_window = yes + + is_triggered_only = yes + + ai = yes + min_age = 16 + only_men = yes + capable_only = yes + prisoner = no + culture_group = north_germanic + has_character_flag = serving_varangian + + trigger = { + has_dlc = "The Old Gods" + had_character_flag = { flag = serving_varangian months = 75 } + } + + weight_multiplier = { + days = 1 + + modifier = { + factor = 1.75 + trait = brave + } + modifier = { + factor = 1.75 + trait = wroth + } + modifier = { + factor = 1.75 + trait = berserker + } + modifier = { + factor = 0.25 + trait = craven + } + modifier = { + factor = 1.75 + trait = drunkard + } + modifier = { + factor = 1.75 + trait = has_tuberculosis + } + modifier = { + factor = 1.75 + trait = has_typhoid_fever + } + modifier = { + factor = 1.75 + trait = has_typhus + } + modifier = { + factor = 1.75 + trait = has_bubonic_plague + } + modifier = { + factor = 1.75 + trait = has_measles + } + modifier = { + factor = 1.75 + trait = has_small_pox + } + modifier = { + factor = 1.75 + trait = wounded + } + modifier = { + factor = 1.5 + trait = infirm + } + modifier = { + factor = 1.5 + trait = incapable + } + } + + immediate = { + father = { character_event = { id = TOG.3131 } } + clr_character_flag = serving_varangian + } +} + +# Son dies in battle +character_event = { + id = TOG.3131 + desc = EVTDESC_TOG_3131 + picture = GFX_evt_viking_throneroom_oldgods + border = GFX_event_normal_frame_war + + is_triggered_only = yes + + option = { + name = EVTOPTA_TOG_3131 + FROM = { death = { death_reason = death_battle } } + } +} + +# Son returns with loot (Son) +character_event = { + id = TOG.3132 + hide_window = yes + + is_triggered_only = yes + + ai = yes + min_age = 16 + only_men = yes + capable_only = yes + prisoner = no + culture_group = north_germanic + has_character_flag = serving_varangian + + trigger = { + has_dlc = "The Old Gods" + had_character_flag = { flag = serving_varangian months = 75 } + } + + weight_multiplier = { + days = 1 + + modifier = { + factor = 1.75 + trait = greedy + } + modifier = { + factor = 1.75 + stewardship = 10 + } + } + + immediate = { + father = { character_event = { id = TOG.3133 } } + clr_character_flag = serving_varangian + } +} + +# Son returns with loot +character_event = { + id = TOG.3133 + desc = EVTDESC_TOG_3133 + picture = GFX_evt_viking_throneroom_oldgods + border = GFX_event_normal_frame_war + + is_triggered_only = yes + + option = { + name = EVTOPTA_TOG_3133 + FROM = { + move_character = ROOT + add_trait = varangian + } + wealth = 300 + } +} + +# Father dies, Player Son is heir +character_event = { + id = TOG.3134 + desc = EVTDESC_TOG_3134 + picture = GFX_evt_viking_throneroom_oldgods + border = GFX_event_normal_frame_war + + ai = no + + trigger = { + has_dlc = "The Old Gods" + OR = { + has_character_flag = wants_varangian + has_character_flag = serving_varangian + } + father_even_if_dead = { is_alive = no } + } + + mean_time_to_happen = { + days = 1 + } + + immediate = { + clr_character_flag = wants_varangian + clr_character_flag = serving_varangian + } + + option = { + name = EVTOPTA_TOG_3134 + add_trait = varangian + prestige = 200 + wealth = 200 + } +} + +# Father dies, Son gets Varangian trait +character_event = { + id = TOG.3135 + hide_window = yes + + min_age = 16 + ai = yes + only_men = yes + capable_only = yes + prisoner = no + + trigger = { + has_dlc = "The Old Gods" + OR = { + has_character_flag = wants_varangian + has_character_flag = serving_varangian + } + father_even_if_dead = { is_alive = no } + } + + mean_time_to_happen = { + days = 1 + } + + immediate = { + add_trait = varangian + clr_character_flag = wants_varangian + clr_character_flag = serving_varangian + } +} + +### Sejdr Events + +# Völva Appears +character_event = { + id = TOG.3200 + desc = EVTDESC_TOG_3200 + picture = GFX_evt_viking_throneroom_oldgods + border = GFX_event_normal_frame_religion + + ai = no + min_age = 16 + capable_only = yes + only_playable = yes + prisoner = no + + trigger = { + has_dlc = "The Old Gods" + in_command = no + OR = { + religion = norse_pagan + religion = norse_pagan_reformed + } + NOT = { + any_courtier = { + has_minor_title = title_volva + } + } + } + + mean_time_to_happen = { + months = 2200 + } + + option = { + name = EVTOPTA_TOG_3200 + create_character = { + random_traits = no + dynasty = NONE + female = yes + age = 35 + religion = ROOT + culture = ROOT + trait = mystic + trait = scholarly_theologian + } + new_character = { + give_minor_title = title_volva + } + } + option = { + name = EVTOPTB_TOG_3200 + custom_tooltip = { text = away_witch } + } +} + +# Young Völva Appears +character_event = { + id = TOG.3201 + desc = EVTDESC_TOG_3201 + picture = GFX_evt_viking_throneroom_oldgods + border = GFX_event_normal_frame_religion + + ai = no + min_age = 16 + capable_only = yes + only_playable = yes + prisoner = no + + trigger = { + has_dlc = "The Old Gods" + in_command = no + OR = { + religion = norse_pagan + religion = norse_pagan_reformed + } + NOT = { + any_courtier = { + has_minor_title = title_volva + } + } + } + + mean_time_to_happen = { + months = 2200 + } + + option = { + name = EVTOPTA_TOG_3201 + create_character = { + random_traits = no + dynasty = NONE + female = yes + age = 22 + religion = ROOT + culture = ROOT + trait = mystic + trait = scholarly_theologian + trait = fair + } + new_character = { + give_minor_title = title_volva + } + } + option = { + name = EVTOPTB_TOG_3201 + custom_tooltip = { text = no_witch } + } +} + +# Old Völva Appears +character_event = { + id = TOG.3202 + desc = EVTDESC_TOG_3202 + picture = GFX_evt_viking_throneroom_oldgods + border = GFX_event_normal_frame_religion + + ai = no + min_age = 16 + capable_only = yes + only_playable = yes + prisoner = no + + trigger = { + has_dlc = "The Old Gods" + in_command = no + OR = { + religion = norse_pagan + religion = norse_pagan_reformed + } + NOT = { + any_courtier = { + has_minor_title = title_volva + } + } + } + + mean_time_to_happen = { + months = 2200 + } + + option = { + name = EVTOPTA_TOG_3202 + create_character = { + random_traits = no + dynasty = NONE + female = yes + age = 53 + religion = ROOT + culture = ROOT + trait = mystic + trait = scholarly_theologian + trait = ugly + } + new_character = { + give_minor_title = title_volva + } + } + option = { + name = EVTOPTB_TOG_3202 + custom_tooltip = { text = begone_witch } + } +} + +# Völva Warns About Child (AI Spouse) +character_event = { + id = TOG.3203 + hide_window = yes + + only_women = yes + min_age = 16 + prisoner = no + only_capable = yes + + trigger = { + has_dlc = "The Old Gods" + NOT = { + has_game_rule = { + name = supernatural_events + value = off + } + } + is_pregnant = yes + spouse = { + OR = { + ai = no + has_game_rule = { + name = supernatural_events + value = unrestricted + } + } + any_courtier = { + has_minor_title = title_volva + } + } + NOT = { has_character_flag = pregnant_with_demon } + } + + mean_time_to_happen = { + months = 550 + } + + immediate = { + set_character_flag = pregnant_with_demon + spouse = { + random_courtier = { + limit = { has_minor_title = title_volva } + character_event = { id = TOG.3204 } + } + } + } +} + +# Völva Warns About Child (AI Völva) +character_event = { + id = TOG.3204 + hide_window = yes + + is_triggered_only = yes + + immediate = { + liege = { + character_event = { id = TOG.3205 } + } + } +} + +# Völva Warns About Child +character_event = { + id = TOG.3205 + desc = EVTDESC_TOG_3205 + picture = GFX_evt_pregnancy + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + option = { + name = EVTOPTA_TOG_3205 + FROM = { + opinion = { + modifier = opinion_disappointed + years = 1 + who = ROOT + } + } + } + option = { + name = EVTOPTB_TOG_3205 + FROMFROM = { + opinion = { + modifier = opinion_disappointed + years = 1 + who = ROOT + } + } + } +} + +# Demon Child is Born +character_event = { + id = TOG.3206 + hide_window = yes + + is_triggered_only = yes + + trigger = { + has_dlc = "The Old Gods" + mother = { has_character_flag = pregnant_with_demon } + } + + immediate = { + random_list = { + 50 = { set_character_flag = demon_child } + 50 = { set_character_flag = demon_child_fake } + } + mother = { clr_character_flag = pregnant_with_demon } + } +} + +# Child acts strange I (AI) +character_event = { + id = TOG.3210 + hide_window = yes + + min_age = 4 + max_age = 16 + ai = yes + has_character_flag = demon_child + + trigger = { + OR = { + has_dlc = "The Old Gods" + has_dlc = "Mystics" + } + NOT = { has_character_flag = child_strange_1 } + father = { is_alive = yes } + } + + mean_time_to_happen = { + months = 220 + } + + immediate = { + set_character_flag = child_strange_1 + father = { character_event = { id = TOG.3211 } } + } +} + +# Child acts strange I +character_event = { + id = TOG.3211 + desc = EVTDESC_TOG_3211 + picture = GFX_evt_child_play + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + option = { + name = EVTOPTA_TOG_3211 + custom_tooltip = { text = child_acts_strange } + } +} + +# Child acts strange II (AI) +character_event = { + id = TOG.3212 + hide_window = yes + + min_age = 4 + max_age = 16 + ai = yes + has_character_flag = demon_child + + trigger = { + OR = { + has_dlc = "The Old Gods" + has_dlc = "Mystics" + } + NOT = { has_character_flag = child_strange_2 } + father = { is_alive = yes } + } + + mean_time_to_happen = { + months = 220 + } + + immediate = { + set_character_flag = child_strange_2 + father = { character_event = { id = TOG.3213 } } + } +} + +# Child acts strange II +character_event = { + id = TOG.3213 + desc = EVTDESC_TOG_3213 + picture = GFX_evt_child_play + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + option = { + name = EVTOPTA_TOG_3213 + custom_tooltip = { text = child_acts_strange } + } +} + +# Child acts strange III (AI) +character_event = { + id = TOG.3214 + hide_window = yes + + min_age = 4 + max_age = 16 + ai = yes + has_character_flag = demon_child + + trigger = { + OR = { + has_dlc = "The Old Gods" + has_dlc = "Mystics" + } + NOT = { has_character_flag = child_strange_3 } + father = { is_alive = yes } + } + + mean_time_to_happen = { + months = 220 + } + + immediate = { + set_character_flag = child_strange_3 + father = { character_event = { id = TOG.3215 } } + } +} + +# Child acts strange III +character_event = { + id = TOG.3215 + desc = EVTDESC_TOG_3215 + picture = GFX_evt_child_play + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + option = { + name = EVTOPTA_TOG_3215 + custom_tooltip = { text = child_acts_strange } + } +} + +# Child kills Courtier I (AI Child) +character_event = { + id = TOG.3216 + hide_window = yes + + min_age = 4 + max_age = 16 + ai = yes + has_character_flag = demon_child + + trigger = { + OR = { + has_dlc = "The Old Gods" + has_dlc = "Mystics" + } + NOT = { has_character_flag = child_kills_1 } + father = { is_alive = yes } + OR = { + has_character_flag = child_strange_1 + has_character_flag = child_strange_2 + has_character_flag = child_strange_3 + } + father = { + any_courtier = { + NOT = { + character = ROOT + is_close_relative = ROOT + } + host = { + character = liege + prisoner = no + } + ai = yes + is_primary_heir = no + is_pretender = no + prisoner = no + age = 13 + in_command = no + NOT = { spouse = { character = host } } + } + } + } + + mean_time_to_happen = { + months = 320 + } + + immediate = { + set_character_flag = child_kills_1 + father = { + random_courtier = { + limit = { + NOT = { + character = ROOT + is_close_relative = ROOT + } + host = { + character = liege + prisoner = no + } + ai = yes + is_primary_heir = no + is_pretender = no + prisoner = no + age = 13 + in_command = no + NOT = { spouse = { character = host } } + } + character_event = { id = TOG.3217 } + } + } + } +} + +# Child kills Courtier I (AI Courtier) +character_event = { + id = TOG.3217 + hide_window = yes + + is_triggered_only = yes + + immediate = { + liege = { character_event = { id = TOG.3218 } } + } +} + +#Child kills Courtier I +character_event = { + id = TOG.3218 + desc = EVTDESC_TOG_3218 + picture = GFX_evt_viking_funeral_oldgods + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + option = { + name = EVTOPTA_TOG_3218 + FROM = { + death = { + death_reason = death_murder_unknown_fall + killer = ROOT + } + } + } +} + +# Child kills Courtier II (AI Child) +character_event = { + id = TOG.3219 + hide_window = yes + + min_age = 4 + max_age = 16 + ai = yes + has_character_flag = demon_child + + trigger = { + OR = { + has_dlc = "The Old Gods" + has_dlc = "Mystics" + } + NOT = { has_character_flag = child_kills_2 } + father = { is_alive = yes } + OR = { + has_character_flag = child_strange_1 + has_character_flag = child_strange_2 + has_character_flag = child_strange_3 + } + father = { + any_courtier = { + NOT = { + character = ROOT + is_close_relative = ROOT + } + host = { + character = liege + prisoner = no + } + ai = yes + is_primary_heir = no + is_pretender = no + prisoner = no + age = 13 + in_command = no + NOT = { spouse = { character = host } } + } + } + } + + mean_time_to_happen = { + months = 320 + } + + immediate = { + set_character_flag = child_kills_2 + father = { + random_courtier = { + limit = { + NOT = { + character = ROOT + is_close_relative = ROOT + } + host = { + character = liege + prisoner = no + } + ai = yes + is_primary_heir = no + is_pretender = no + prisoner = no + age = 13 + in_command = no + NOT = { spouse = { character = host } } + } + character_event = { id = TOG.3220 } + } + } + } +} + +# Child kills Courtier II (AI Courtier) +character_event = { + id = TOG.3220 + hide_window = yes + + is_triggered_only = yes + + immediate = { + liege = { character_event = { id = TOG.3221 } } + } +} + +#Child kills Courtier II +character_event = { + id = TOG.3221 + desc = EVTDESC_TOG_3221 + picture = GFX_evt_viking_funeral_oldgods + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + option = { + name = EVTOPTA_TOG_3221 + FROM = { + death = { + death_reason = death_murder_unknown_fall + killer = ROOT + } + } + } +} + +# Child kills Courtier III (AI Child) +character_event = { + id = TOG.3222 + hide_window = yes + + min_age = 4 + max_age = 16 + ai = yes + has_character_flag = demon_child + + trigger = { + OR = { + has_dlc = "The Old Gods" + has_dlc = "Mystics" + } + NOT = { has_character_flag = child_kills_3 } + father = { is_alive = yes } + OR = { + has_character_flag = child_strange_1 + has_character_flag = child_strange_2 + has_character_flag = child_strange_3 + } + father = { + any_courtier = { + NOT = { + character = ROOT + is_close_relative = ROOT + } + host = { + character = liege + prisoner = no + } + ai = yes + is_primary_heir = no + is_pretender = no + prisoner = no + age = 13 + in_command = no + NOT = { spouse = { character = host } } + } + } + } + + mean_time_to_happen = { + months = 320 + } + + immediate = { + set_character_flag = child_kills_3 + father = { + random_courtier = { + limit = { + NOT = { + character = ROOT + is_close_relative = ROOT + } + host = { + character = liege + prisoner = no + } + ai = yes + is_primary_heir = no + is_pretender = no + prisoner = no + age = 13 + in_command = no + NOT = { spouse = { character = host } } + } + character_event = { id = TOG.3223 } + } + } + } +} + +# Child kills Courtier III (AI Courtier) +character_event = { + id = TOG.3223 + hide_window = yes + + is_triggered_only = yes + + immediate = { + liege = { character_event = { id = TOG.3224 } } + } +} + +#Child kills Courtier III +character_event = { + id = TOG.3224 + desc = EVTDESC_TOG_3224 + picture = GFX_evt_viking_funeral_oldgods + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + option = { + name = EVTOPTA_TOG_3224 + FROM = { + death = { + death_reason = death_murder_unknown_drowning + killer = ROOT + } + } + } +} + +# Völva Wants Exorcism (AI Child) +character_event = { + id = TOG.3250 + hide_window = yes + + min_age = 4 + max_age = 16 + ai = yes + + trigger = { + OR = { + has_dlc = "The Old Gods" + has_dlc = "Mystics" + } + NOT = { has_character_flag = child_exorcism } + father = { is_alive = yes } + OR = { + has_character_flag = demon_child + has_character_flag = demon_child_fake + } + father = { + any_courtier = { + has_minor_title = title_volva + } + } + } + + mean_time_to_happen = { + months = 680 + } + + immediate = { + set_character_flag = child_exorcism + father = { + random_courtier = { + limit = { has_minor_title = title_volva } + character_event = { id = TOG.3251 } + } + } + } +} + +# Völva Wants Exorcism (AI Völva) +character_event = { + id = TOG.3251 + hide_window = yes + + is_triggered_only = yes + + immediate = { + liege = { + character_event = { id = TOG.3252 } + } + } +} + +# Völva Wants Exorcism +character_event = { + id = TOG.3252 + desc = EVTDESC_TOG_3252 + picture = GFX_evt_viking_throneroom_oldgods + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + option = { + name = EVTOPTA_TOG_3252 + hidden_tooltip = { + character_event = { id = TOG.3253 days = 7 } + } + custom_tooltip = { text = exorcism_approved } + } + option = { + name = EVTOPTB_TOG_3252 + FROM = { + opinion = { + modifier = opinion_very_disappointed + years = 2 + who = ROOT + } + } + custom_tooltip = { text = exorcism_denied } + } +} + +# Exorcism Begins +character_event = { + id = TOG.3253 + desc = EVTDESC_TOG_3253 + picture = GFX_evt_pagan + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + hide_from = yes + + option = { + name = EVTOPTA_TOG_3253 + + custom_tooltip = { + text = exorcism_begins + hidden_tooltip = { + random_child = { + limit = { has_character_flag = child_exorcism } + character_event = { id = TOG.3254 days = 3 } + } + } + } + } +} + +# Exorcism Begins (AI Child) +character_event = { + id = TOG.3254 + hide_window = yes + + is_triggered_only = yes + + immediate = { + father = { + random_courtier = { + limit = { has_minor_title = title_volva } + character_event = { id = TOG.3255 } + } + } + } +} + +# Exorcism Begins (AI Völva) +character_event = { + id = TOG.3255 + hide_window = yes + + is_triggered_only = yes + + immediate = { + liege = { + random_list = { + 20 = { character_event = { id = TOG.3256 days = 3 } } + 20 = { character_event = { id = TOG.3257 days = 3 } } + 40 = { character_event = { id = TOG.3258 days = 3 } } + 20 = { character_event = { id = TOG.3259 days = 3 } } + } + } + } +} + +# Exorcism Completed - Völva Dies +character_event = { + id = TOG.3256 + desc = EVTDESC_TOG_3256 + picture = GFX_evt_child_play + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + option = { + name = EVTOPTA_TOG_3256 + FROM = { + death = { + death_reason = death_murder_butchered + } + } + FROMFROM = { # Flags removed, no more events + clr_character_flag = demon_child + clr_character_flag = demon_child_fake + clr_character_flag = child_exorcism + } + } +} + +# Exorcism Completed - Child Dies +character_event = { + id = TOG.3257 + desc = EVTDESC_TOG_3257 + picture = GFX_evt_viking_funeral_oldgods + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + option = { + name = EVTOPTA_TOG_3257 + FROMFROM = { + death = { + death_reason = death_sacrificed_norse + } + } + FROM = { + death = { + death_reason = death_execution + killer = ROOT + } + } + } + option = { + name = EVTOPTB_TOG_3257 + FROMFROM = { + death = { + death_reason = death_sacrificed_norse + } + } + FROM = { + banish = yes + } + } + option = { + name = EVTOPTC_TOG_3257 + FROMFROM = { + death = { + death_reason = death_sacrificed_norse + } + } + } +} + +# Exorcism Completed - Child is Unharmed +character_event = { + id = TOG.3258 + desc = EVTDESC_TOG_3258 + picture = GFX_evt_pagan + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + option = { + name = EVTOPTA_TOG_3258 + FROMFROM = { + clr_character_flag = demon_child + clr_character_flag = demon_child_fake + clr_character_flag = child_exorcism + remove_character_modifier = voice_of_satan + remove_character_modifier = voice_of_jesus + remove_character_modifier = holy_comet + remove_character_modifier = lycanthropy + remove_trait = possessed + } + } +} + +# Exorcism Completed - Child is Hurt +character_event = { + id = TOG.3259 + desc = EVTDESC_TOG_3259 + picture = GFX_evt_pagan + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + option = { + name = EVTOPTB_TOG_3257 + FROMFROM = { + clr_character_flag = demon_child + clr_character_flag = demon_child_fake + clr_character_flag = child_exorcism + remove_character_modifier = voice_of_satan + remove_character_modifier = voice_of_jesus + remove_character_modifier = holy_comet + remove_character_modifier = lycanthropy + remove_trait = possessed + } + FROM = { + banish = yes + } + } + option = { + name = EVTOPTC_TOG_3257 + FROMFROM = { + clr_character_flag = demon_child + clr_character_flag = demon_child_fake + clr_character_flag = child_exorcism + remove_character_modifier = voice_of_satan + remove_character_modifier = voice_of_jesus + remove_character_modifier = holy_comet + remove_character_modifier = lycanthropy + remove_trait = possessed + } + } +} + +# Child Becomes Adult +character_event = { + id = TOG.3260 + hide_window = yes + + min_age = 16 + max_age = 17 + has_character_flag = demon_child + + trigger = { + OR = { + has_dlc = "The Old Gods" + has_dlc = "Mystics" + } + } + + mean_time_to_happen = { + days = 1 + } + + immediate = { + clr_character_flag = demon_child + clr_character_flag = demon_child_fake + clr_character_flag = child_exorcism + } +} + +### Looting Events + +# +2 Axe +character_event = { + id = TOG.3300 + desc = EVTDESC_TOG_3300 + picture = GFX_evt_vikings_arriving_oldgods + border = GFX_event_normal_frame_war + + ai = no + + is_triggered_only = yes + + trigger = { + has_dlc = "The Old Gods" + NOT = { has_artifact = loot_axe } + } + + option = { + name = EVTOPTA_TOG_3300 + add_artifact = loot_axe + new_artifact = { + set_creation_date = 1.1.1 + } + } + option = { + name = EVTOPTB_TOG_3300 + prestige = 10 + } +} + +# Strange Chest +character_event = { + id = TOG.3301 + desc = EVTDESC_TOG_3301 + picture = GFX_evt_vikings_arriving_oldgods + border = GFX_event_normal_frame_economy + + ai = no + + is_triggered_only = yes + + trigger = { + has_dlc = "The Old Gods" + NOT = { + has_artifact = strange_chest + has_character_flag = found_chest + } + } + + option = { + name = EVTOPTA_TOG_3301 + custom_tooltip = { text = found_chest } + add_artifact = strange_chest + set_character_flag = found_chest + } +} + +# Key Found +character_event = { + id = TOG.3302 + desc = EVTDESC_TOG_3302 + picture = GFX_evt_vikings_arriving_oldgods + border = GFX_event_normal_frame_economy + + ai = no + + is_triggered_only = yes + + trigger = { + has_dlc = "The Old Gods" + has_artifact = strange_chest + has_character_flag = found_chest + } + + option = { + name = EVTOPTA_TOG_3302 + custom_tooltip = { + text = opens_chest + hidden_tooltip = { + random_list = { + 40 = { character_event = { id = TOG.3306 } } + 40 = { character_event = { id = TOG.3307 } } + 40 = { character_event = { id = TOG.3308 } } + 5 = { character_event = { id = TOG.3309 } } + } + } + } + } +} + +# Key Found by Child or relative +character_event = { + id = TOG.3303 + desc = EVTDESC_TOG_3303 + picture = GFX_evt_vikings_arriving_oldgods + border = GFX_event_normal_frame_economy + + ai = no + + is_triggered_only = yes + + trigger = { + has_dlc = "The Old Gods" + has_artifact = strange_chest + NOT = { + has_character_flag = found_chest + any_dynasty_member = { + has_character_flag = found_chest + } + } + } + + option = { + name = EVTOPTA_TOG_3303 + custom_tooltip = { + text = opens_chest + hidden_tooltip = { + random_list = { + 40 = { character_event = { id = TOG.3306 } } + 40 = { character_event = { id = TOG.3307 } } + 40 = { character_event = { id = TOG.3308 } } + 5 = { + modifier = { + factor = 0 + has_game_rule = { + name = supernatural_events + value = off + } + } + character_event = { id = TOG.3309 } + } + } + } + } + } +} + +# Chest Opened, Contains Gold +character_event = { + id = TOG.3306 + desc = EVTDESC_TOG_3306 + picture = GFX_evt_viking_throneroom_oldgods + border = GFX_event_normal_frame_economy + + hide_from = yes + + is_triggered_only = yes + + option = { + name = EVTOPTA_TOG_3306 + wealth = 200 + destroy_artifact = strange_chest + } +} + +# Chest Opened, Contains Parchments +character_event = { + id = TOG.3307 + desc = EVTDESC_TOG_3307 + picture = GFX_evt_viking_throneroom_oldgods + border = GFX_event_normal_frame_economy + + hide_from = yes + + is_triggered_only = yes + + option = { + name = EVTOPTA_TOG_3307 + custom_tooltip = { text = chest_empty } + destroy_artifact = strange_chest + } +} + +# Chest Opened, Contains Junk +character_event = { + id = TOG.3308 + desc = EVTDESC_TOG_3308 + picture = GFX_evt_viking_throneroom_oldgods + border = GFX_event_normal_frame_economy + + hide_from = yes + + is_triggered_only = yes + + option = { + name = EVTOPTA_TOG_3308 + wealth = 10 + destroy_artifact = strange_chest + } +} + +# Chest Opened, Contains Seraphim +character_event = { + id = TOG.3309 + desc = EVTDESC_TOG_3309 + picture = GFX_evt_shadowy_cabal + border = GFX_event_normal_frame_economy + + hide_from = yes + + is_triggered_only = yes + + option = { + name = EVTOPTA_TOG_3309 + custom_tooltip = { text = seraphims } + destroy_artifact = strange_chest + } +} + +#Viking Trait Gained +character_event = { + id = TOG.3320 + desc = EVTDESC_TOG_3320 + picture = GFX_evt_vikings_arriving_oldgods + border = GFX_event_normal_frame_war + + hide_from = yes + + is_triggered_only = yes + + min_age = 16 + capable_only = yes + prisoner = no + + trigger = { + has_dlc = "The Old Gods" + NOR = { + trait = viking + trait = ravager + trait = seaking + trait = sea_queen + } + OR = { + religion = norse_pagan + religion = norse_pagan_reformed + } + } + + option = { + name = EVTOPTA_TOG_3320 + add_trait = viking + hidden_tooltip = { + set_variable = { which = viking_raids value = 0 } + } + } +} + +#Ravager +character_event = { + id = TOG.3321 + desc = TOG.3321.d + picture = GFX_evt_vikings_arriving_oldgods + border = GFX_event_normal_frame_war + + hide_from = yes + + is_triggered_only = yes + + min_age = 16 + capable_only = yes + prisoner = no + + trigger = { + has_dlc = "The Old Gods" + trait = viking + NOR = { + trait = ravager + trait = seaking + trait = sea_queen + } + OR = { + religion = norse_pagan + religion = norse_pagan_reformed + } + check_variable = { which = viking_raids value = 50 } + } + + option = { + name = TOG.3321.a + remove_trait = viking + add_trait = ravager + } +} + +#Sea King +character_event = { + id = TOG.3322 + desc = TOG.3322.d + picture = GFX_evt_vikings_arriving_oldgods + border = GFX_event_normal_frame_war + + hide_from = yes + + is_triggered_only = yes + + min_age = 16 + capable_only = yes + prisoner = no + + trigger = { + has_dlc = "The Old Gods" + trait = ravager + NOR = { + trait = seaking + trait = sea_queen + } + OR = { + religion = norse_pagan + religion = norse_pagan_reformed + } + check_variable = { which = viking_raids value = 100 } + } + + option = { + name = TOG.3322.a + remove_trait = ravager + if = { + limit = { + is_female = no + } + add_trait = seaking + } + if = { + limit = { + is_female = yes + } + add_trait = sea_queen + } + } +} + +character_event = { + id = TOG.3323 + + hide_window = yes + + is_triggered_only = yes + + min_age = 16 + capable_only = yes + prisoner = no + + trigger = { + has_dlc = "The Old Gods" + OR = { + trait = viking + trait = ravager + } + OR = { + religion = norse_pagan + religion = norse_pagan_reformed + } + } + + option = { + name = OK + change_variable = { which = viking_raids value = 1 } + } +} + +### Event Contest Winners + +# Son of the Buffalo Woman +character_event = { + id = TOG.3403 + hide_window = yes + + min_age = 16 + only_women = yes + capable_only = yes + prisoner = no + only_playable = yes + + is_triggered_only = yes + + trigger = { + any_spouse = { + OR = { + religion = west_african_pagan + religion = west_african_pagan_reformed + AND = { + culture = manden + any_demesne_province = { + OR = { + religion = west_african_pagan + religion = west_african_pagan_reformed + } + } + } + } + has_lover = no + is_alive = yes + NOT = { has_character_flag = buffalo_woman } + } + OR = { + trait = ugly + trait = hunchback + trait = harelip + trait = clubfooted + trait = dwarf + } + num_of_children = 0 + has_lover = no + is_pregnant = no + } + + immediate = { + spouse = { + character_event = { id = TOG.3400 days = 3 } + } + } +} + +# Son of the Buffalo Woman +character_event = { + id = TOG.3400 + desc = EVTDESC_TOG_3400 + picture = GFX_evt_comet + border = GFX_event_normal_frame_war + + is_triggered_only = yes + + immediate = { + set_character_flag = buffalo_woman + } + + option = { + name = EVTOPTA_TOG_3400 + piety = 30 + random_list = { + 80 = { } + 10 = { impregnate = FROM } + 10 = { add_lover = FROM } + } + hidden_tooltip = { + random = { + chance = 50 + venereal_disease_effect = yes + } + } + } + option = { + name = EVTOPTB_TOG_3400 + trigger = { + OR = { + religion = west_african_pagan + religion = west_african_pagan_reformed + } + } + piety = -30 + FROM = { + opinion = { + modifier = opinion_spurned + who = ROOT + } + } + } + option = { + name = EVTOPTC_TOG_3400 + trigger = { + NOT = { + OR = { + religion = west_african_pagan + religion = west_african_pagan_reformed + } + } + } + piety = 30 + FROM = { + opinion = { + modifier = opinion_spurned + who = ROOT + } + } + } +} + +# Peijaiset +character_event = { + id = TOG.3401 + desc = EVTDESC_TOG_3401 + picture = GFX_evt_hunt + border = GFX_event_normal_frame_war + + is_triggered_only = yes + + min_age = 16 + capable_only = yes + prisoner = no + only_playable = yes + + trigger = { + OR = { + religion = finnish_pagan + religion = finnish_pagan_reformed + } + NOT = { has_character_flag = peijaiset } + NOT = { is_inaccessible_trigger = yes } + } + + immediate = { + set_character_flag = peijaiset + } + + option = { + name = EVTOPTA_TOG_3401 + prestige = 100 + wealth = -50 + } + option = { + name = EVTOPTB_TOG_3401 + prestige = -25 + } + option = { + name = EVTOPTC_TOG_3401 + tooltip_info = greedy + trigger = { + trait = greedy + } + prestige = -25 + wealth = 50 + } + option = { + name = EVTOPTD_TOG_3401 + tooltip_info = zealous + trigger = { + trait = zealous + } + prestige = 100 + piety = 50 + wealth = -50 + } +} + +# Will the real Odin please stand up? +character_event = { + id = TOG.3402 + desc = EVTDESC_TOG_3402 + picture = GFX_evt_lunatic + border = GFX_event_normal_frame_war + + is_triggered_only = yes + + min_age = 16 + capable_only = yes + prisoner = no + only_playable = yes + + trigger = { + NOT = { + has_game_rule = { + name = supernatural_events + value = off + } + } + OR = { + religion = norse_pagan + religion = norse_pagan_reformed + } + NOT = { has_character_flag = odin_event } + NOT = { is_inaccessible_trigger = yes } + } + + immediate = { + set_character_flag = odin_event + } + + option = { + name = EVTOPTA_TOG_3402 + wealth = 50 + prestige = 50 + add_trait = zealous + custom_tooltip = { text = odin_option_a } + } + option = { + name = EVTOPTB_TOG_3402 + prestige = -50 + if = { + limit = { + NOT = { + lifestyle_traits = 1 + } + NOT = { has_dlc = "Way of Life" } + } + add_trait = hunter + } + custom_tooltip = { text = odin_option_b } + } + option = { + name = EVTOPTC_TOG_3402 + prestige = -50 + if = { + limit = { trait = zealous } + remove_trait = zealous + } + if = { + limit = { NOT = { trait = zealous } } + add_trait = cynical + } + custom_tooltip = { text = odin_option_c } + } +} + +###End contest winner events### + +character_event = { + id = TOG.3404 + desc = TOG.3404.d + picture = GFX_evt_vikings_arriving_oldgods + border = GFX_event_normal_frame_war + + is_triggered_only = yes + + trigger = { + NOT = { + capital_scope = { + has_province_modifier = loot_prosperity_boost + } + } + } + + immediate = { + + } + + option = { + name = EXCELLENT + capital_scope = { + add_province_modifier = { + name = loot_prosperity_boost + duration = 1825 + } + hidden_tooltip = { + change_variable = { which = prosperity_value value = 12 } + } + } + } +} diff --git a/LCDA/events/on_hajj.txt b/LCDA/events/on_hajj.txt new file mode 100644 index 0000000..0f4d6fe --- /dev/null +++ b/LCDA/events/on_hajj.txt @@ -0,0 +1,2604 @@ +############################################# +# +# On Hajj Event Series +# +# Event ID 86000-86999 is reserved +# +############################################# + +############################# +# Start Event +############################# +letter_event = { + id = 86000 + desc = "EVTDESC86000" + border = GFX_event_letter_frame_religion + + is_triggered_only = yes + + option = { + name = "EVTOPTA86000" + piety = 5 + set_character_flag = preparing_hajj + clr_character_flag = activated_hajj + hidden_tooltip = { + character_event = { id = 86100 days = 12 } + } + } +} + + +########################################### +# Preparation.. random events that can happen. one will +########################################### + +#Invite a courtier to come. +character_event = { + id = 86001 + desc = "EVTDESC86001" + picture = GFX_evt_emissary + border = GFX_event_normal_frame_religion + + min_age = 16 + only_capable = yes + prisoner = no + religion_group = muslim + has_character_flag = preparing_hajj + + trigger = { + any_courtier = { + is_female = no + age = 20 + prisoner = no + NOT = { trait = on_hajj } + NOT = { trait = hajjaj } + NOT = { has_character_flag = ramadan } + NOT = { is_inaccessible_trigger = yes } + } + NOT = { + any_child = { + age = 16 + is_female = no + prisoner = no + NOT = { trait = on_hajj } + NOT = { trait = hajjaj } + host = { character = ROOT } + NOT = { trait = cynical } + is_ruler = no + } + has_character_flag = hajj_company + } + } + + mean_time_to_happen = { + days = 24 + } + + immediate = { + + random_courtier = { + limit = { + is_female = no + age = 20 + prisoner = no + religion_group = muslim + NOT = { trait = on_hajj } + NOT = { trait = hajjaj } + NOT = { has_character_flag = ramadan } + NOT = { is_inaccessible_trigger = yes } + } + save_event_target_as = invite_to_hajj + } + set_character_flag = hajj_company + } + + option = { + name = "EVTOPTA86001" + ai_chance = { + factor = 10 + modifier = { + factor = 20 + trait = gregarious + } + modifier = { + factor = 20 + trait = charitable + } + modifier = { + factor = 0 + trait = greedy + } + } + scaled_wealth = -0.05 + event_target:invite_to_hajj = { + add_trait = on_hajj + opinion = { + modifier = opinion_bring_on_hajj + who = ROOT + } + reverse_opinion = { + modifier = opinion_bring_on_hajj + who = ROOT + } + hidden_tooltip = { + character_event = { id = 86100 days = 3 } + } + } + } + option = { + name = "EVTOPTB86001" + trigger = { NOT = { trait = charitable } } + piety = -5 + } +} + + +# older liege, berate him to come on hajj. +character_event = { + id = 86010 + desc = "EVTDESC86010" + picture = GFX_evt_emissary + border = GFX_event_normal_frame_religion + + min_age = 16 + only_capable = yes + prisoner = no + religion_group = muslim + has_character_flag = preparing_hajj + + trigger = { + NOT = { has_character_flag = hajj_company } + liege = { + war = no + #is_female = no + age = 40 + religion_group = muslim + NOT = { trait = on_hajj } + NOT = { trait = hajjaj } + NOT = { has_character_flag = preparing_hajj } + NOT = { has_character_flag = ramadan } + NOT = { has_character_flag = asked_on_hajj } + NOT = { has_character_flag = do_not_disturb } + } + } + + mean_time_to_happen = { + days = 24 + } + + immediate = { + set_character_flag = hajj_company + } + + option = { + name = "EVTOPTA86010" + ai_chance = { + factor = 10 + modifier = { + factor = 5 + trait = gregarious + } + modifier = { + factor = 5 + trait = zealous + } + } + liege = { + letter_event = { id = 86011 days = 1 random = 2 tooltip = EVTTOOLTIP86011 } + set_character_flag = asked_on_hajj + } + } + option = { + name = "EVTOPTB86010" + piety = -5 + } +} + +#liege gets event asking him to come. +letter_event = { + id = 86011 + desc = "EVTDESC86011" + border = GFX_event_letter_frame_religion + + prisoner = no + war = no + + is_triggered_only = yes + + trigger = { + NOT = { trait = on_hajj } + NOT = { trait = hajjaj } + NOT = { has_character_flag = preparing_hajj } + } + + option = { + name = "EVTOPTA86011" + ai_chance = { + factor = 5 + modifier = { + factor = 5 + age = 50 + } + modifier = { + factor = 20 + trait = zealous + } + } + reverse_opinion = { + who = FROM + modifier = opinion_bring_on_hajj + } + FROM = { + letter_event = { id = 86012 days = 1 random = 2 tooltip = EVTTOOLTIP86012 } + } + hidden_tooltip = { + character_event = { id = 86100 } + } + prestige = -5 + clr_character_flag = asked_on_hajj + } + option = { + name = "EVTOPTB86011" + FROM = { + letter_event = { id = 86013 days = 1 random = 2 tooltip = EVTTOOLTIP86013 } + } + piety = -25 + clr_character_flag = asked_on_hajj + reverse_opinion = { + modifier = opinion_declined_hajj + who = FROM + } + } +} + +#our liege is coming.. +letter_event = { + id = 86012 + desc = "EVTDESC86012" + border = GFX_event_letter_frame_religion + + is_triggered_only = yes + + option = { + name = "EVTOPTA86012" + reverse_opinion = { + modifier = opinion_bring_on_hajj + who = FROM + } + prestige = 25 + } +} + +#our liege is NOT coming.. +letter_event = { + id = 86013 + desc = "EVTDESC86013" + border = GFX_event_letter_frame_religion + + is_triggered_only = yes + + option = { + name = "EVTOPTA86013" + reverse_opinion = { + who = FROM + modifier = opinion_attepmt_hajj + } + prestige = -10 + } +} + +# our liege gives us advice. +character_event = { + id = 86015 + desc = "EVTDESC86015" + picture = GFX_evt_bandits + border = GFX_event_normal_frame_religion + + min_age = 16 + only_capable = yes + prisoner = no + religion_group = muslim + has_character_flag = preparing_hajj + + trigger = { + liege = { + trait = hajjaj + is_female = no + age = 20 + } + NOT = { at_location = 719 } #no dange when near mecca already :) + NOT = { has_character_flag = hajj_company } + } + + mean_time_to_happen = { + days = 24 + } + + immediate = { + set_character_flag = hajj_company + } + + option = { + name = "EVTOPTA86015" + scaled_wealth = -0.20 + set_character_flag = hajj_bring_guards + + } + + option = { + name = "EVTOPTB86015" + prestige = -10 + set_character_flag = hajj_travel_lightly + + } +} + + +#adult son wants to go with you. +character_event = { + id = 86020 + desc = "EVTDESC86020" + picture = GFX_evt_emissary + border = GFX_event_normal_frame_religion + + min_age = 16 + only_capable = yes + prisoner = no + religion_group = muslim + has_character_flag = preparing_hajj + + trigger = { + NOT = { has_character_flag = hajj_company } + any_child = { + age = 16 + is_female = no + prisoner = no + NOT = { trait = on_hajj } + NOT = { trait = hajjaj } + host = { character = ROOT } + NOT = { trait = cynical } + is_ruler = no + religion_group = muslim + } + } + + mean_time_to_happen = { + days = 24 + } + + immediate = { + set_character_flag = hajj_company + random_child = { + limit = { + age = 16 + is_female = no + prisoner = no + NOT = { trait = on_hajj } + NOT = { trait = hajjaj } + host = { character = ROOT } + NOT = { trait = cynical } + is_ruler = no + religion_group = muslim + } + save_event_target_as = target_child + } + } + + option = { + name = "EVTOPTA86020" + scaled_wealth = -0.1 + event_target:target_child = { + add_trait = on_hajj + opinion = { + modifier = opinion_bring_on_hajj + who = ROOT + } + reverse_opinion = { + modifier = opinion_bring_on_hajj + who = ROOT + } + hidden_tooltip = { + character_event = { id = 86100 days = 3 } + } + } + } + + option = { + name = "EVTOPTB86020" + event_target:target_child = { + opinion = { + modifier = opinion_refused_hajj + who = ROOT + } + } + } +} + +########################################################################## +# Hajj Starting! +########################################################################## +character_event = { + id = 86100 + desc = "EVTDESC86100" + picture = GFX_evt_carriage + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + immediate = { + } + + option = { + name = "EVTOPTA86100" + clr_character_flag = preparing_hajj + add_trait = on_hajj + if = { + limit = { ai = no } + chronicle = { + entry = CHRONICLE_WENT_ON_HAJJ + picture = GFX_evt_kaaba + } + } + hidden_tooltip = { + character_event = { id = 86300 days = 30 } + } + hidden_tooltip = { + if = { + limit = { + location = { + distance = { + where = 719 #Mecca + value = 400 #kind of far.. + } + } + } + random_list = { + 10 = { character_event = { id = 86101 days = 2 random = 8 } } + 10 = { character_event = { id = 86105 days = 2 random = 8 } } + 10 = { character_event = { id = 86110 days = 2 random = 8 } } + 10 = { character_event = { id = 86810 days = 2 random = 8 } } + 10 = { character_event = { id = 86815 days = 2 random = 8 } } + 10 = { character_event = { id = 86820 days = 2 random = 8 } } + } + } + + random_list = { + 10 = { character_event = { id = 86150 days = 10 random = 10 } } + 10 = { character_event = { id = 86160 days = 10 random = 10 } } + 10 = { character_event = { id = 86170 days = 10 random = 10 } } + 10 = { character_event = { id = 86180 days = 10 random = 10 } } + 10 = { character_event = { id = 86825 days = 10 random = 10 } } + 10 = { character_event = { id = 86830 days = 10 random = 10 } } + 10 = { character_event = { id = 86835 days = 10 random = 10 } } + 10 = { character_event = { id = 86840 days = 10 random = 10 } } + 10 = { character_event = { id = 86845 days = 10 random = 10 } } + } + } + } +} + +#Bandits! +character_event = { + id = 86101 + desc = "EVTDESC86101" + picture = GFX_evt_bandits + border = GFX_event_normal_frame_religion + + prisoner = no + only_rulers = yes + + is_triggered_only = yes + + trigger = { + trait = on_hajj + } + + option = { + name = "EVTOPTA86101" #attempt avoid + trigger = { + has_character_flag = hajj_travel_lightly + } + random = { + chance = 20 + character_event = { id = 86102 tooltip = EVTTOOLTIP86102 } + + } + } + option = { + name = "EVTOPTA86101" + trigger = { + NOT = { has_character_flag = hajj_travel_lightly } + } + random = { + chance = 50 + character_event = { id = 86102 tooltip = EVTTOOLTIP86102 } + } + } + option = { + name = "EVTOPTB86101" + trigger = { + NOT = { has_character_flag = hajj_bring_guards } + } + character_event = { id = 86102 tooltip = EVTTOOLTIP86102} + prestige = 10 + + } + option = { + name = "EVTOPTB86101" + trigger = { + has_character_flag = hajj_bring_guards + } + prestige = 10 + random = { + chance = 2 + add_trait = wounded + hidden_tooltip = { character_event = { id = 38280 } } + } + } +} + +#Bandits catch us +character_event = { + id = 86102 + desc = "EVTDESC86102" + picture = GFX_evt_bandits + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + option = { + name = "EVTOPTA86102" + tooltip_info = martial + trigger = { + martial = 14 + } + prestige = 30 + random = { + chance = 20 + add_trait = wounded + hidden_tooltip = { character_event = { id = 38280 } } + } + } + option = { + name = "EVTOPTB86102" + trigger = { + NOT = { martial = 14 } + has_character_flag = hajj_bring_guards + } + prestige = 10 + random = { + chance = 15 + add_trait = wounded + hidden_tooltip = { character_event = { id = 38280 } } + } + } + + option = { + name = "EVTOPTB86102" #fight + trigger = { + NOT = { martial = 14 } + NOT = { has_character_flag = hajj_bring_guards } + } + random = { + chance = 20 + add_trait = wounded + hidden_tooltip = { character_event = { id = 38280 } } + } + } + option = { + name = "EVTOPTC86102" + scaled_wealth = -0.05 + prestige = -10 + } +} + +#Seasick on a ship +character_event = { + id = 86105 + desc = "EVTDESC86105" + picture = GFX_evt_kraken + border = GFX_event_normal_frame_religion + + prisoner = no + + is_triggered_only = yes + + trigger = { + trait = on_hajj + } + + option = { + name = "EVTOPTA86105" + piety = 5 + } +} + +#Christian pirates +character_event = { + id = 86110 + desc = "EVTDESC86110" + picture = GFX_evt_kraken + border = GFX_event_normal_frame_religion + + prisoner = no + only_rulers = yes + + is_triggered_only = yes + + trigger = { + trait = on_hajj + } + + option = { + name = "EVTOPTA86110" + prestige = -25 + } + option = { + name = "EVTOPTB86110" + piety = 25 + random = { + chance = 15 + add_trait = wounded + hidden_tooltip = { character_event = { id = 38280 } } + } + } +} + +#Bandits have attacked a fellow on hajj +character_event = { + id = 86150 + desc = "EVTDESC86150" + picture = GFX_evt_peasants + border = GFX_event_normal_frame_religion + + prisoner = no + only_rulers = yes + + is_triggered_only = yes + + trigger = { + trait = on_hajj + } + + option = { + name = "EVTOPTA86150" + piety = -20 + } + option = { + name = "EVTOPTB86150" + piety = 5 + random = { + chance = 15 + add_trait = wounded + hidden_tooltip = { character_event = { id = 38280 } } + } + on_hajj = { + limit = { + prisoner = no + NOT = { has_character_flag = hajj_bring_guards } + } + opinion = { + modifier = opinion_hajj_saved_from_bandit + who = ROOT + } + hidden_tooltip = { character_event = { id = 86151 } } + } + } +} + +#Saved from bandits by fellow pilgrims +character_event = { + id = 86151 + desc = "EVTDESC86151" + picture = GFX_evt_peasants + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + option = { + name = "EVTOPTA86151" + reverse_opinion = { + modifier = opinion_hajj_saving_on_hajj + who = FROM + } + } +} + +#Encountering a rival on the hajj. +character_event = { + id = 86160 + desc = "EVTDESC86160" + picture = GFX_evt_carriage + border = GFX_event_normal_frame_religion + + prisoner = no + + is_triggered_only = yes + + trigger = { + trait = on_hajj + on_hajj = { + is_rival = ROOT + prisoner = no + NOT = { has_character_flag = hajj_arrived_in_mecca } + } + } + + immediate = { + random_playable_ruler = { + limit = { + is_rival = ROOT + prisoner = no + trait = on_hajj + NOT = { has_character_flag = hajj_arrived_in_mecca } + } + set_character_flag = hajj_rival + } + } + + option = { + name = "EVTOPTA86160" #Attack him! + piety = -10 + on_hajj = { + limit = { + prisoner = no + has_character_flag = hajj_rival + } + opinion = { + modifier = opinion_hajj_attempt_murder + who = ROOT + } + character_event = { id = 86161 tooltip = "EVTTOOLTIP86161" } + } + } + + option = { + name = "EVTOPTB86160" #Attempt befriend + on_hajj = { + limit = { + prisoner = no + has_character_flag = hajj_rival + } + character_event = { id = 86165 tooltip = "EVTTOOLTIP86165" } + } + } + option = { + name = "EVTOPTC86160" + prestige = -10 + } +} + +#We have had an ambush +character_event = { + id = 86161 + desc = "EVTDESC86161" + picture = GFX_evt_melee + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + option = { + name = "EVTOPTA86161" + tooltip_info = martial + trigger = { + martial = FROM + } + random_list = { + 80 = { + FROM = { character_event = { id = 86162 tooltip = EVTTOOLTIP86162 } } + } + 20 = { + add_trait = wounded + hidden_tooltip = { character_event = { id = 38280 } } + hidden_tooltip = { FROM = { character_event = { id = 86163 } } } + } + } + } + option = { + name = "EVTOPTB86161" + trigger = { + NOT = { martial = FROM } + } + random_list = { + 30 = { + FROM = { character_event = { id = 86162 tooltip = EVTTOOLTIP86162 } } + } + 60 = { + add_trait = wounded + hidden_tooltip = { character_event = { id = 38280 } } + hidden_tooltip = { FROM = { character_event = { id = 86163 } } } + } + 10 = { + add_maimed_trait_effect = yes + hidden_tooltip = { FROM = { character_event = { id = 86163 } } } + } + } + } + + option = { + name = "EVTOPTC86161" + trigger = { + OR = { + trait = paranoid + trait = ambitious + has_character_flag = hajj_bring_guards + } + } + prestige = -5 + hidden_tooltip = { + FROM = { character_event = { id = 86164 } } + } + } + +} + +#We hurt +character_event = { + id = 86162 + desc = "EVTDESC86162" + picture = GFX_evt_melee + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + option = { + name = "EVTOPTA86162" + add_trait = wounded + } +} + +#Success! +character_event = { + id = 86163 + desc = "EVTDESC86163" + picture = GFX_evt_melee + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + option = { + name = "EVTOPTA86163" + prestige = 5 + } +} + +#They got away +character_event = { + id = 86164 + desc = "EVTDESC86164" + picture = GFX_evt_carriage + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + option = { + name = "EVTOPTA86164" + prestige = -5 + } +} + +#Another hajj is attempting to befriend us. +character_event = { + id = 86165 + desc = "EVTDESC86165" + picture = GFX_evt_emissary + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + option = { + name = "EVTOPTA86165" + FROM = { character_event = { id = 86166 tooltip = EVTTOOLTIP86166 } } + reverse_opinion = { + who = FROM + modifier = opinion_hajj_rivalry_mended + } + } + option = { + name = "EVTOPTB86165" + FROM = { letter_event = { id = 86167 tooltip = EVTTOOLTIP86167 } } + } +} + +#Breaking bread together +character_event = { + id = 86166 + desc = "EVTDESC86166" + picture = GFX_evt_feast + border = GFX_event_normal_frame_religion + + prisoner = no + + is_triggered_only = yes + + option = { + name = "EVTOPTA86166" + reverse_opinion = { + who = FROM + modifier = opinion_hajj_rivalry_mended + } + } +} + +#Does not want to reconciliate +letter_event = { + id = 86167 + desc = "EVTDESC86167" + border = GFX_event_letter_frame_religion + + is_triggered_only = yes + + option = { + name = "EVTOPTA86167" + prestige = -5 + } +} + +#Lose glutton and drunkard... +character_event = { + id = 86170 + desc = "EVTDESC86170" + picture = GFX_evt_bishop + border = GFX_event_normal_frame_religion + + prisoner = no + + is_triggered_only = yes + + trigger = { + trait = on_hajj + } + + option = { + name = "EVTOPTA86170" + trigger = { + OR = { + trait = drunkard + trait = gluttonous + } + } + if = { + limit = { + trait = gluttonous + } + remove_trait = gluttonous + } + if = { + limit = { + trait = drunkard + } + remove_trait = drunkard + } + } + + option = { + name = "EVTOPTB86170" + trigger = { + NOT = { trait = drunkard } + NOT = { trait = gluttonous } + } + piety = 15 + } +} + +#Lost in the desert +character_event = { + id = 86180 + desc = "EVTDESC86180" + picture = GFX_evt_desert + border = GFX_event_normal_frame_religion + + prisoner = no + + is_triggered_only = yes + + trigger = { + trait = on_hajj + } + + option = { + name = "EVTOPTA86180" + health = -1 + prestige = 25 + } + + option = { + name = "EVTOPTB86180" + random = { + chance = 33 + add_trait = trusting + hidden_tooltip = { + character_event = { + id = 38250 #Notify Trusting + } + } + } + + } +} + +########################################################################## +# The Hadiths on Hajj. +########################################################################## +character_event = { + id = 86300 + desc = "EVTDESC86300" + picture = GFX_evt_council + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + immediate = { + hidden_tooltip = { + character_event = { id = 86500 days = 10 } + } + } + + option = { + name = "EVTOPTA86300" + custom_tooltip = { + text = TOOLTIP_LISTEN_TO_HADITH + hidden_tooltip = { + random_list = { + 10 = { character_event = { id = 86320 } } + 10 = { character_event = { id = 86330 } } + 10 = { character_event = { id = 86340 } } + 10 = { character_event = { id = 86350 } } + 10 = { character_event = { id = 86360 } } + 10 = { character_event = { id = 86380 } } + 10 = { character_event = { id = 86390 } } + 10 = { character_event = { id = 86400 } } + 10 = { character_event = { id = 86410 } } + } + } + } + scaled_wealth = -0.01 + } + option = { + name = "EVTOPTB86300" + piety = -10 + } +} + +#Hadith - Greed +character_event = { + id = 86320 + desc = "EVTDESC86320" + picture = GFX_evt_council + border = GFX_event_normal_frame_religion + + prisoner = no + + is_triggered_only = yes + + trigger = { + trait = on_hajj + } + + option = { + name = "EVTOPTA86320" + tooltip_info = greedy + trigger = { + trait = greedy + } + remove_trait = greedy + } + option = { + name = "EVTOPTB86320" + trigger = { + NOT = { trait = greedy } + } + scaled_wealth = 0.1 + } +} + +#Hadith - Protect from laziness, cowardice etc +character_event = { + id = 86330 + desc = "EVTDESC86330" + picture = GFX_evt_council + border = GFX_event_normal_frame_religion + + prisoner = no + + is_triggered_only = yes + + trigger = { + trait = on_hajj + } + + option = { + name = "EVTOPTA86330" + tooltip_info = slothful + trigger = { + trait = slothful + } + remove_trait = slothful + } + + option = { + name = "EVTOPTB86330" + trigger = { + NOT = { trait = slothful } + } + prestige = 25 + } +} + +#Hadith - Envy +character_event = { + id = 86340 + desc = "EVTDESC86340" + picture = GFX_evt_council + border = GFX_event_normal_frame_religion + + prisoner = no + + is_triggered_only = yes + + trigger = { + trait = on_hajj + } + + option = { + name = "EVTOPTA86340" + tooltip_info = envious + trigger = { + trait = envious + } + remove_trait = envious + } + option = { + name = "EVTOPTB86340" + trigger = { + NOT = { trait = envious } + } + piety = 15 + } +} + +#Hadith - Truth +character_event = { + id = 86350 + desc = "EVTDESC86350" + picture = GFX_evt_council + border = GFX_event_normal_frame_religion + + prisoner = no + + is_triggered_only = yes + + trigger = { + trait = on_hajj + } + + option = { + name = "EVTOPTA86350" + tooltip_info = deceitful + trigger = { + trait = deceitful + } + remove_trait = deceitful + + } + + option = { + name = "EVTOPTB86350" + trigger = { + NOT = { trait = deceitful } + } + change_diplomacy = 1 + } +} + +#Hadith - Cowardice +character_event = { + id = 86360 + desc = "EVTDESC86360" + picture = GFX_evt_council + border = GFX_event_normal_frame_religion + + prisoner = no + + is_triggered_only = yes + + trigger = { + trait = on_hajj + } + + option = { + name = "EVTOPTA86360" + tooltip_info = craven + trigger = { + trait = craven + } + remove_trait = craven + } + option = { + name = "EVTOPTB86360" + trigger = { + NOT = { trait = craven } + } + change_martial = 1 + } +} + +#Hadith - Unjust +character_event = { + id = 86380 + desc = "EVTDESC86380" + picture = GFX_evt_council + border = GFX_event_normal_frame_religion + + prisoner = no + + is_triggered_only = yes + + trigger = { + trait = on_hajj + } + + option = { + name = "EVTOPTA86380" + tooltip_info = arbitrary + trigger = { + trait = arbitrary + } + remove_trait = arbitrary + } + option = { + name = "EVTOPTB86380" + trigger = { + NOT = { trait = arbitrary } + } + change_diplomacy = 1 + } +} + +#Hadith - Next world +character_event = { + id = 86390 + desc = "EVTDESC86390" + picture = GFX_evt_council + border = GFX_event_normal_frame_religion + + prisoner = no + + is_triggered_only = yes + + trigger = { + trait = on_hajj + } + + option = { + name = "EVTOPTA86390" + tooltip_info = hedonist + trigger = { + trait = hedonist + } + remove_trait = hedonist + } + option = { + name = "EVTOPTB86390" + trigger = { + NOT = { trait = hedonist } + } + change_stewardship = 1 + } +} + +#Hadith - Cynical +character_event = { + id = 86400 + desc = "EVTDESC86400" + picture = GFX_evt_council + border = GFX_event_normal_frame_religion + + prisoner = no + + is_triggered_only = yes + + trigger = { + trait = on_hajj + } + + option = { + name = "EVTOPTA86400" + tooltip_info = cynical + trigger = { + trait = cynical + } + remove_trait = cynical + } + + option = { + name = "EVTOPTB86400" + trigger = { + NOT = { trait = cynical } + } + change_diplomacy = 1 + } +} + +#Hadith - Wroth +character_event = { + id = 86410 + desc = "EVTDESC86410" + picture = GFX_evt_council + border = GFX_event_normal_frame_religion + + prisoner = no + + is_triggered_only = yes + + trigger = { + trait = on_hajj + } + + option = { + name = "EVTOPTA86410" + tooltip_info = wroth + trigger = { + trait = wroth + } + remove_trait = wroth + } + + option = { + name = "EVTOPTB86410" + trigger = { + NOT = { trait = wroth } + } + change_stewardship = 1 + } +} + + +########################################################################## +# Arrival at Mecca +########################################################################## + +#Hidden gateway event +character_event = { + id = 86500 + + hide_window = yes + + is_triggered_only = yes + + immediate = { + set_character_flag = hajj_arrived_in_mecca + random_list = { + 50 = { character_event = { id = 86510 } } + 50 = { character_event = { id = 86520 } } + } + } +} + +#Wudu +character_event = { + id = 86510 + desc = "EVTDESC86510" + picture = GFX_evt_carriage + border = GFX_event_normal_frame_religion + + hide_from = yes + + prisoner = no + + is_triggered_only = yes + + trigger = { + trait = on_hajj + } + + + + option = { + name = "EVTOPTA86510" + on_hajj = { + limit = { + prisoner = no + has_character_flag = hajj_arrived_in_mecca + } + character_event = { id = 86511 tooltip = EVTTOOLTIP86511 } + + opinion = { + who = ROOT + modifier = opinion_helped_wudu + } + + } + piety = 10 + hidden_tooltip = { + character_event = { id = 86550 days = 2 } + } + } +} + +#Impurity in water +character_event = { + id = 86511 + desc = "EVTDESC86511" + picture = GFX_evt_emissary + border = GFX_event_normal_frame_religion + + prisoner = no + + is_triggered_only = yes + + trigger = { + trait = on_hajj + } + + option = { + name = "EVTOPTA86511" + piety = 10 + reverse_opinion = { + who = FROM + modifier = opinion_helped_wudu + } + } +} + +#Ihram +character_event = { + id = 86520 + desc = "EVTDESC86520" + picture = GFX_evt_kaaba + border = GFX_event_normal_frame_religion + + prisoner = no + + is_triggered_only = yes + + trigger = { + trait = on_hajj + } + + option = { + name = "EVTOPTA86520" + piety = 15 + hidden_tooltip = { + character_event = { id = 86550 days = 2 } + } + } +} + +#Tawaf +character_event = { + id = 86550 + desc = "EVTDESC86550" + picture = GFX_evt_kaaba + border = GFX_event_normal_frame_religion + + prisoner = no + + is_triggered_only = yes + + trigger = { + trait = on_hajj + } + + immediate = { + + } + option = { + name = "EVTOPTA86550" + if = { + limit = { + trait = proud + } + add_trait = ambitious + } + random = { + chance = 33 + add_trait = proud + hidden_tooltip = { character_event = { id = 38261 } } + } + piety = 25 + hidden_tooltip = { + character_event = { id = 86551 days = 1 } + } + + + } + option = { + name = "EVTOPTB86550" + piety = 25 + add_trait = humble + + hidden_tooltip = { + character_event = { id = 86551 days = 1 } + } + } +} + + +#Hidden gateway event +character_event = { + id = 86551 + + hide_window = yes + + is_triggered_only = yes + + immediate = { + random_list = { + 10 = { character_event = { id = 86600 days = 1} } + 10 = { character_event = { id = 86610 days = 1 } } + 10 = { character_event = { id = 86620 days = 1 } } + 10 = { character_event = { id = 86630 days = 1 } } + + } + if = { + limit = { + location = { + distance = { + where = 719 #Mecca + value = 400 #kind of far.. + } + } + } + character_event = { id = 86800 days = 30 random = 25 } + } + if = { + limit = { + location = { + NOT = { + distance = { + where = 719 #Mecca + value = 400 #kind of far.. + } + } + } + } + character_event = { id = 86800 days = 10 random = 25 } + } + } +} + +# Sa'i +character_event = { + id = 86600 + desc = "EVTDESC86600" + picture = GFX_evt_kaaba + border = GFX_event_normal_frame_religion + + prisoner = no + + is_triggered_only = yes + + trigger = { + trait = on_hajj + } + + option = { + name = "EVTOPTA86600" + set_character_flag = on_home_from_hajj + clr_character_flag = hajj_arrived_in_mecca + + if = { + limit = { + NOT = { has_character_flag = gained_hajj_health } + } + health = 1 + set_character_flag = gained_hajj_health #NoHax + break = yes + } + if = { + limit = { + has_character_flag = gained_hajj_health + } + piety = 25 + } + } +} + +# Wuquf at Mount Ararat +character_event = { + id = 86610 + desc = "EVTDESC86610" + picture = GFX_evt_desert + border = GFX_event_normal_frame_religion + + prisoner = no + + is_triggered_only = yes + + trigger = { + trait = on_hajj + } + + option = { + name = "EVTOPTA86610" + set_character_flag = on_home_from_hajj + clr_character_flag = hajj_arrived_in_mecca + piety = 50 + } +} + +# Ramy al-Jamarat (Stoning the Devil) +character_event = { + id = 86620 + desc = "EVTDESC86620" + picture = GFX_evt_kaaba + border = GFX_event_normal_frame_religion + + prisoner = no + + is_triggered_only = yes + + trigger = { + trait = on_hajj + } + + option = { + name = "EVTOPTA86620" + set_character_flag = on_home_from_hajj + clr_character_flag = hajj_arrived_in_mecca + if = { + limit = { trait = possessed } + remove_trait = possessed + remove_character_modifier = voice_of_satan + remove_character_modifier = voice_of_jesus + remove_character_modifier = holy_comet + remove_character_modifier = lycanthropy + clr_character_flag = demon_child + clr_character_flag = demon_child_fake + clr_character_flag = child_exorcism + } + if = { + limit = { trait = lunatic } + remove_trait = lunatic + } + if = { + limit = { trait = stressed } + remove_trait = stressed + } + if = { + limit = { trait = depressed } + remove_trait = depressed + } + piety = 15 + } +} + +#Eid al-Adha +character_event = { + id = 86630 + desc = "EVTDESC86630" + picture = GFX_evt_kaaba + border = GFX_event_normal_frame_religion + + prisoner = no + + is_triggered_only = yes + + trigger = { + trait = on_hajj + } + option = { + name = "EVTOPTA86630" + set_character_flag = on_home_from_hajj + clr_character_flag = hajj_arrived_in_mecca + + scaled_wealth = -0.1 + prestige = 25 + } + option = { + name = "EVTOPTB86630" + set_character_flag = on_home_from_hajj + clr_character_flag = hajj_arrived_in_mecca + scaled_wealth = -0.05 + piety = 15 + } +} + +########################################################################## +# Random things that can happen on the way home.. +########################################################################## + +#Dangerous bandits have cornered us.. +character_event = { + id = 86700 + desc = "EVTDESC86700" + picture = GFX_evt_mongols + border = GFX_event_normal_frame_religion + + min_age = 16 + only_capable = yes + prisoner = no + religion_group = muslim + has_character_flag = on_home_from_hajj + + trigger = { + trait = on_hajj + NOT = { has_character_flag = hajj_bring_guards } + NOT = { has_character_flag = hajj_home_event } + } + + mean_time_to_happen = { + days = 60 + } + + immediate = { + set_character_flag = hajj_home_event + } + + option = { + name = "EVTOPTA86700" + prestige = 10 + random = { + chance = 15 + add_trait = wounded + hidden_tooltip = { character_event = { id = 38280 } } + } + + } + option = { + name = "EVTOPTB86700" + ai_chance = { + factor = 0 + } + add_trait = craven + } +} + +#Discover +character_event = { + id = 86701 + desc = "EVTDESC86701" + picture = GFX_evt_battle + border = GFX_event_normal_frame_religion + + min_age = 16 + only_capable = yes + prisoner = no + religion_group = muslim + has_character_flag = on_home_from_hajj + + trigger = { + trait = on_hajj + has_character_flag = hajj_bring_guards + NOT = { has_character_flag = hajj_home_event } + } + + mean_time_to_happen = { + days = 60 + } + + immediate = { + set_character_flag = hajj_home_event + } + + option = { + name = "EVTOPTA86701" + scaled_wealth = 0.05 + } +} + +#Encounter a poor village +character_event = { + id = 86720 + desc = "EVTDESC86720" + picture = GFX_evt_heretic + border = GFX_event_normal_frame_religion + + min_age = 16 + only_capable = yes + prisoner = no + religion_group = muslim + has_character_flag = on_home_from_hajj + + trigger = { + trait = on_hajj + NOT = { has_character_flag = hajj_home_event } + } + + mean_time_to_happen = { + days = 60 + } + + immediate = { + set_character_flag = hajj_home_event + } + + option = { + name = "EVTOPTA86720" + scaled_wealth = -0.10 + piety = 15 + } + option = { + name = "EVTOPTB86720" + piety = -15 + on_hajj = { + opinion = { + who = ROOT + modifier = opinion_hajj_not_helpin + } + } + } +} + +########################################################################## +# We are now home, and have been on our hajj. +########################################################################## +character_event = { + id = 86800 + desc = "EVTDESC86800" + picture = GFX_evt_bishop + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + immediate = { + clr_character_flag = on_home_from_hajj + clr_character_flag = hajj_company + clr_character_flag = do_not_disturb + if = { + limit = { + ai = no + NOT = { has_character_flag = achievement_to_mecca } + } + set_character_flag = achievement_to_mecca + } + } + option = { + name = "EVTOPTA86800" + remove_trait = on_hajj + add_trait = hajjaj + + + } +} + +###################################################### +#Random Events when NOT on hajj or is hajjaj +###################################################### +character_event = { + id = 86900 + desc = "EVTDESC86900" + picture = GFX_evt_bishop + border = GFX_event_normal_frame_religion + + only_men = yes + min_age = 35 + capable_only = yes + only_rulers = yes + prisoner = no + religion_group = muslim + + trigger = { + job_spiritual = { + learning = 11 + age = 30 + trait = hajjaj + } + NOR = { + trait = hajjaj + trait = mujahid + trait = on_hajj + trait = cynical + has_character_flag = preparing_hajj + has_character_flag = opinion_hajj_promised + has_character_flag = opinion_jihad_promised + any_war = { + OR = { + AND = { + defender = { + religion_group = christian + } + attacker = { + character = ROOT + } + } + AND = { + attacker = { + religion_group = christian + } + defender = { + character = ROOT + } + } + } + } + } + } + + mean_time_to_happen = { + months = 240 + modifier = { + factor = 0.8 + piety = 100 + } + modifier = { + factor = 0.8 + trait = faqih + } + } + option = { + name = "EVTOPTA86900" + set_character_flag = promise_hajj + job_spiritual = { + opinion = { + who = ROOT + modifier = opinion_hajj_promised + years = 5 + } + } + } + + option = { + name = "EVTOPTB86900" + trigger = { + any_independent_ruler = { + religion_group = christian + any_realm_province = { + religion_group = muslim + } + } + } + set_character_flag = promise_jihad + job_spiritual = { + opinion = { + who = ROOT + modifier = opinion_jihad_promised + years = 5 + } + } + } + option = { + name = "EVTOPTC86900" + piety = -10 + add_trait = cynical + } +} + +#Remind on promised hajj +character_event = { + id = 86901 + desc = "EVTDESC86901" + picture = GFX_evt_emissary + border = GFX_event_normal_frame_religion + + only_men = yes + min_age = 30 + capable_only = yes + only_rulers = yes + prisoner = no + religion_group = muslim + war = no + has_character_flag = promise_hajj + + trigger = { + any_demesne_title = { + NOT = { higher_tier_than = count } + is_occupied = no + } + job_spiritual = { learning = 1 } + NOR = { + trait = hajjaj + trait = mujahid + trait = on_hajj + has_character_flag = preparing_hajj + } + } + + mean_time_to_happen = { + months = 60 + } + + option = { + name = "EVTOPTA86901" + piety = -25 + } +} + +#Remind on promised jihad! +character_event = { + id = 86902 + desc = "EVTDESC86902" + picture = GFX_evt_emissary + border = GFX_event_normal_frame_religion + + only_men = yes + min_age = 30 + capable_only = yes + only_rulers = yes + prisoner = no + religion_group = muslim + war = no + has_character_flag = promise_jihad + + trigger = { + NOT = { trait = mujahid } + job_spiritual = { learning = 1 } + + any_independent_ruler = { + religion_group = christian + any_realm_province = { + religion_group = muslim + } + } + + } + + mean_time_to_happen = { + months = 60 + } + + option = { + name = "EVTOPTA86902" + piety = -25 + } +} + +#hidden clear up event. +character_event = { + id = 86903 + + only_men = yes + min_age = 30 + capable_only = yes + only_rulers = yes + prisoner = no + religion_group = muslim + has_character_flag = promise_jihad + war = yes + + trigger = { + any_war = { + any_attacker = { + is_primary_war_attacker = yes + character = ROOT + } + any_defender = { + is_primary_war_defender = yes + religion_group = christian + } + } + } + + hide_window = yes + mean_time_to_happen = { + days = 1 + } + immediate = { + clr_character_flag = promise_jihad + } +} + +############################# +# Additional flavour events # +############################# + +### Far Journey + +# Shipwrecked +character_event = { + id = 86810 + desc = "EVTDESC86810" + picture = GFX_evt_kraken + border = GFX_event_normal_frame_religion + + prisoner = no + + is_triggered_only = yes + + trigger = { + trait = on_hajj + } + + option = { # Shares food + name = "EVTOPTA86810" + character_event = { id = 86811 tooltip = EVTTOOLTIP86811 } + } + option = { # Does not share + name = "EVTOPTB86810" + character_event = { id = 86812 tooltip = EVTTOOLTIP86812 } + } +} + +# Shipwrecked: Shared Food +character_event = { + id = 86811 + desc = "EVTDESC86811" + picture = GFX_evt_kraken + border = GFX_event_normal_frame_religion + + prisoner = no + + is_triggered_only = yes + + trigger = { + trait = on_hajj + } + + option = { + name = "EVTOPTA86811" + piety = 15 + health = -1 + } +} + +# Shipwrecked: Did NOT Share Food +character_event = { + id = 86812 + desc = "EVTDESC86812" + picture = GFX_evt_kraken + border = GFX_event_normal_frame_religion + + prisoner = no + + is_triggered_only = yes + + trigger = { + trait = on_hajj + } + + option = { + name = "EVTOPTA86812" + piety = -15 + } +} + +# Mutiny +character_event = { + id = 86815 + desc = "EVTDESC86815" + picture = GFX_evt_kraken + border = GFX_event_normal_frame_religion + + prisoner = no + + is_triggered_only = yes + + trigger = { + trait = on_hajj + } + + option = { + name = "EVTOPTA86815" + character_event = { id = 86816 tooltip = EVTTOOLTIP86816 } + random = { + chance = 15 + add_trait = wounded + hidden_tooltip = { character_event = { id = 38280 } } + } + } + option = { + name = "EVTOPTB86815" + character_event = { id = 86817 tooltip = EVTTOOLTIP86817 } + } +} + +# Mutiny: Fights Crew +character_event = { + id = 86816 + desc = "EVTDESC86816" + picture = GFX_evt_melee_arabic + border = GFX_event_normal_frame_religion + + prisoner = no + + is_triggered_only = yes + + trigger = { + trait = on_hajj + } + + option = { + name = "EVTOPTA86816" + prestige = 15 + } +} + +# Mutiny: Sneaks Off Ship +character_event = { + id = 86817 + desc = "EVTDESC86817" + picture = GFX_evt_kraken + border = GFX_event_normal_frame_religion + + prisoner = no + + is_triggered_only = yes + + trigger = { + trait = on_hajj + } + + option = { + name = "EVTOPTA86817" + prestige = -15 + } +} + +# Caravan +character_event = { + id = 86820 + desc = "EVTDESC86820" + picture = GFX_evt_desert + border = GFX_event_normal_frame_religion + + prisoner = no + + is_triggered_only = yes + + trigger = { + trait = on_hajj + } + + option = { + name = "EVTOPTA86820" + prestige = 10 + } +} + +### Closer to Mecca + +# Oasis +character_event = { + id = 86825 + desc = "EVTDESC86825" + picture = GFX_evt_desert + border = GFX_event_normal_frame_religion + + prisoner = no + + is_triggered_only = yes + + trigger = { + trait = on_hajj + } + + option = { + name = "EVTOPTA86825" + character_event = { id = 86826 tooltip = EVTTOOLTIP86826 } + } + option = { + name = "EVTOPTB86825" + character_event = { id = 86827 tooltip = EVTTOOLTIP86827 } + } +} + +# Oasis: Has Faith +character_event = { + id = 86826 + desc = "EVTDESC86826" + picture = GFX_evt_desert + border = GFX_event_normal_frame_religion + + prisoner = no + + is_triggered_only = yes + + trigger = { + trait = on_hajj + } + + option = { + name = "EVTOPTA86826" + piety = 15 + } +} + +# Oasis: Gives In To Despair +character_event = { + id = 86827 + desc = "EVTDESC86827" + picture = GFX_evt_desert + border = GFX_event_normal_frame_religion + + prisoner = no + + is_triggered_only = yes + + trigger = { + trait = on_hajj + } + + option = { + name = "EVTOPTA86827" + piety = -15 + } +} + +# Desert Mirage +character_event = { + id = 86830 + desc = "EVTDESC86830" + picture = GFX_evt_desert + border = GFX_event_normal_frame_religion + + prisoner = no + + is_triggered_only = yes + + trigger = { + trait = on_hajj + } + + option = { + name = "EVTOPTA86830" + if = { + limit = { NOT = { trait = depressed } } + random = { + chance = 5 + add_trait = depressed + hidden_tooltip = { character_event = { id = 38288 } } #Notify depressed + } + } + } + option = { + name = "EVTOPTB86830" + if = { + limit = { NOT = { trait = possessed } } + random = { + chance = 5 + add_trait = possessed + hidden_tooltip = { character_event = { id = 38315 } } #Notify possessed + } + } + } +} + +# Camels +character_event = { + id = 86835 + desc = "EVTDESC86835" + picture = GFX_evt_desert + border = GFX_event_normal_frame_religion + + prisoner = no + + is_triggered_only = yes + + trigger = { + trait = on_hajj + } + + option = { + name = "EVTOPTA86835" + piety = 15 + health = -1 + } + option = { + name = "EVTOPTB86835" + piety = -15 + } +} + +# Baggage Train +character_event = { + id = 86840 + desc = "EVTDESC86840" + picture = GFX_evt_carriage_arabic + border = GFX_event_normal_frame_religion + + prisoner = no + + is_triggered_only = yes + + trigger = { + trait = on_hajj + } + + option = { + name = "EVTOPTA86840" + piety = 10 + } +} + +# Hashshashin +character_event = { + id = 86845 + desc = "EVTDESC86845" + picture = GFX_evt_desert + border = GFX_event_normal_frame_religion + + prisoner = no + has_global_flag = assassins_founded + + is_triggered_only = yes + + trigger = { + trait = on_hajj + NOT = { has_global_flag = assassins_scatter } + NOT = { has_global_flag = assassins_destroyed } + } + + option = { + name = "EVTOPTA86845" + character_event = { id = 86846 tooltip = EVTTOOLTIP86846 } + random = { + chance = 15 + add_trait = wounded + hidden_tooltip = { character_event = { id = 38280 } } + } + set_character_flag = saved_assassin + } + option = { + name = "EVTOPTB86845" + piety = -10 + } +} + +# Hashshashin: Intervenes +character_event = { + id = 86846 + desc = "EVTDESC86846" + picture = GFX_evt_melee_arabic + border = GFX_event_normal_frame_religion + + prisoner = no + + is_triggered_only = yes + + trigger = { + trait = on_hajj + } + + option = { + name = "EVTOPTA86846" + piety = 10 + } +} + +### On The Way Home + +# Pilgrim Remains +character_event = { + id = 86850 + desc = "EVTDESC86850" + picture = GFX_evt_pale_rider + border = GFX_event_normal_frame_religion + + min_age = 16 + only_capable = yes + prisoner = no + religion_group = muslim + has_character_flag = on_home_from_hajj + + trigger = { + trait = on_hajj + NOT = { has_character_flag = hajj_home_event } + } + + mean_time_to_happen = { + days = 60 + } + + immediate = { + set_character_flag = hajj_home_event + } + + option = { + name = "EVTOPTA86850" + piety = 15 + } +} + +# Sandstorm +character_event = { + id = 86855 + desc = "EVTDESC86855" + picture = GFX_evt_desert + border = GFX_event_normal_frame_religion + + min_age = 16 + only_capable = yes + prisoner = no + religion_group = muslim + has_character_flag = on_home_from_hajj + + trigger = { + trait = on_hajj + NOT = { has_character_flag = hajj_home_event } + } + + mean_time_to_happen = { + days = 60 + } + + immediate = { + set_character_flag = hajj_home_event + } + + option = { + name = "EVTOPTA86855" + piety = 15 + } +} + +# Stranded Pilgrims +character_event = { + id = 86860 + desc = "EVTDESC86860" + picture = GFX_evt_desert + border = GFX_event_normal_frame_religion + + min_age = 16 + only_capable = yes + prisoner = no + religion_group = muslim + has_character_flag = on_home_from_hajj + + trigger = { + trait = on_hajj + NOT = { has_character_flag = hajj_home_event } + } + + mean_time_to_happen = { + days = 60 + } + + immediate = { + set_character_flag = hajj_home_event + } + + option = { + name = "EVTOPTA86860" + piety = 15 + scaled_wealth = -0.10 + } + option = { + name = "EVTOPTB86860" + piety = -15 + } +} + +# Hashshashins: Ambushed +character_event = { + id = 86865 + desc = "EVTDESC86865" + picture = GFX_evt_melee_arabic + border = GFX_event_normal_frame_religion + + min_age = 16 + only_capable = yes + prisoner = no + religion_group = muslim + has_character_flag = on_home_from_hajj + + trigger = { + has_character_flag = saved_assassin + trait = on_hajj + NOT = { has_character_flag = hajj_home_event } + } + + mean_time_to_happen = { + days = 15 + } + + immediate = { + set_character_flag = hajj_home_event + } + + option = { + name = "EVTOPTA86865" + character_event = { id = 86866 tooltip = EVTTOOLTIP86866 } + } +} + +# Hashshashins: Saved +character_event = { + id = 86866 + desc = "EVTDESC86866" + picture = GFX_evt_melee_arabic + border = GFX_event_normal_frame_religion + + prisoner = no + + is_triggered_only = yes + + trigger = { + trait = on_hajj + } + + option = { + name = "EVTOPTA86866" + prestige = 20 + } +} \ No newline at end of file diff --git a/LCDA/events/pilgrim_events.txt b/LCDA/events/pilgrim_events.txt new file mode 100644 index 0000000..fc8ff41 --- /dev/null +++ b/LCDA/events/pilgrim_events.txt @@ -0,0 +1,3559 @@ + +########################################### +# # +# Catholic Pilgrimage Events # +# # +# ID SoA.5000- # +# # +########################################### + +# Written by Tobias Bodlund + +namespace = SoA + +# Confirm decision and check religion + +character_event = { + id = SoA.5000 + desc = EVTDESC_SoA_5000 + picture = GFX_evt_bishop + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + option = { + name = EVTOPTA_SoA_5000 + piety = 20 + set_character_flag = preparing_pilgrimage + clr_character_flag = activated_pilgrimage + hidden_tooltip = { + if = { + limit = { + OR = { + religion = orthodox # Jeru, Const, Antio + religion = iconoclast + religion = monothelite + religion = nestorian + religion = bogomilist + religion = messalian + religion = paulician + } + } + character_event = { id = SoA.5011 } + } + if = { + limit = { + OR = { + religion = miaphysite # Jeru, Antio, Axum + religion = monophysite + } + } + character_event = { id = SoA.5011 } + } + if = { + limit = { + OR = { + religion = catholic # All Catholic holy places + religion = cathar + religion = fraticelli + religion = waldensian + religion = lollard + } + } + character_event = { id = SoA.5008 } + } + } + } +} + +# Check catholic pilgrim's location - then send on to destination choice event +character_event = { + id = SoA.5008 + + hide_window = yes + + is_triggered_only = yes + + immediate = { + hidden_tooltip = { + if = { + limit = { + OR = { + capital_scope = { province_id = 73 } + capital_scope = { province_id = 119 } + capital_scope = { province_id = 333 } + capital_scope = { province_id = 157 } + } + } + character_event = { id = SoA.5016 days = 4 } # Go to Jerusalem + } + if = { + limit = { + capital_scope = { province_id = 774 } + } + character_event = { id = SoA.5017 days = 4 } # Go to Rome + } + if = { + limit = { + NOT = { + OR = { + capital_scope = { province_id = 73 } + capital_scope = { province_id = 774 } + capital_scope = { province_id = 119 } + capital_scope = { province_id = 333 } + capital_scope = { province_id = 157 } + } + } + } + character_event = { id = SoA.5018 days = 4 } # May choose destination + } + } + } +} + +########################################### +# # +# Choose destination # +# # +# ID SoA.5009-5020 # +# # +########################################### + +# Choose destination as Eastern Christian +character_event = { + id = SoA.5011 + desc = EVTDESC_SoA_5011 + picture = GFX_evt_icon + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + option = { + name = EVTOPTA_SoA_5011 + trigger = { + NOT = { capital_scope = { province_id = 774 } } + } + set_character_flag = pilgrimage_to_jerusalem + hidden_tooltip = { + character_event = { id = SoA.5022 days = 15 } + } + if = { + limit = { ai = no } + chronicle = { + entry = CHRONICLE_PILGRIMAGE_TO_JERUSALEM + picture = GFX_evt_pilgrims_epic_journey + } + } + } + + option = { + name = EVTOPTB_SoA_5011 + trigger = { + NOT = { capital_scope = { province_id = 496 } } + NOT = { religion = miaphysite } + NOT = { religion = monophysite } + } + set_character_flag = pilgrimage_to_constantinople + hidden_tooltip = { + character_event = { id = SoA.5094 days = 15 } + } + if = { + limit = { ai = no } + chronicle = { + entry = CHRONICLE_PILGRIMAGE_TO_CONSTANTINOPLE + picture = GFX_evt_pilgrims_epic_journey + } + } + } + option = { + name = EVTOPTC_SoA_5011 + trigger = { + NOT = { capital_scope = { province_id = 764 } } + } + set_character_flag = pilgrimage_to_antioch + hidden_tooltip = { + character_event = { id = SoA.5096 days = 15 } + } + if = { + limit = { ai = no } + chronicle = { + entry = CHRONICLE_PILGRIMAGE_TO_ANTIOCH + picture = GFX_evt_pilgrims_epic_journey + } + } + } + option = { + name = EVTOPTD_SoA_5011 + trigger = { + OR = { + religion = miaphysite + religion = monophysite + } + NOT = { capital_scope = { province_id = 875 } } + } + set_character_flag = pilgrimage_to_axum + hidden_tooltip = { + character_event = { id = SoA.5095 days = 15 } + } + if = { + limit = { ai = no } + chronicle = { + entry = CHRONICLE_PILGRIMAGE_TO_AXUM + picture = GFX_evt_pilgrims_epic_journey + } + } + } +} + +# Catholic - Always go to Jerusalem if already living at one of the other sites +character_event = { + id = SoA.5016 + desc = EVTDESC_SoA_5016 + picture = GFX_evt_jerusalem + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + option = { + name = EVTOPTA_SoA_5016 + set_character_flag = pilgrimage_to_jerusalem + hidden_tooltip = { + character_event = { id = SoA.5022 days = 15 } + } + if = { + limit = { ai = no } + chronicle = { + entry = CHRONICLE_PILGRIMAGE_TO_JERUSALEM + picture = GFX_evt_pilgrims_epic_journey + } + } + } +} + +# Catholic - Always go to Rome if living in Jerusalem province +character_event = { + id = SoA.5017 + desc = EVTDESC_SoA_5017 + picture = GFX_evt_victory_arch_byzantine + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + option = { + name = EVTOPTA_SoA_5017 + set_character_flag = pilgrimage_to_rome + hidden_tooltip = { + character_event = { id = SoA.5024 days = 15 } + } + if = { + limit = { ai = no } + chronicle = { + entry = CHRONICLE_PILGRIMAGE_TO_ROME + picture = GFX_evt_pilgrims_epic_journey + } + } + } +} + +# Catholic - May decide where to go - Western Europe (Canterbury, Santiago, Cologne) or the ancient sites (Jerusalem, Rome) +character_event = { + id = SoA.5018 + desc = EVTDESC_SoA_5018 + picture = GFX_evt_cathedral + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + option = { + name = EVTOPTA_SoA_5018 # Go to Western Europe + trigger = { + year = 814 + } + hidden_tooltip = { character_event = { id = SoA.5019 } } + } + option = { + name = EVTOPTB_SoA_5018 # Go to the old sites, Rome or Jerusalem + hidden_tooltip = { character_event = { id = SoA.5020 } } + } +} + +# Catholic - Where to go - West +character_event = { + id = SoA.5019 + desc = EVTDESC_SoA_5019 + picture = GFX_evt_cathedral + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + option = { + name = EVTOPTA_SoA_5019 + trigger = { + year = 1170 + } + ai_chance = { factor = 25 } + set_character_flag = pilgrimage_to_canterbury + hidden_tooltip = { character_event = { id = SoA.5021 days = 15 } } + if = { + limit = { ai = no } + chronicle = { + entry = CHRONICLE_PILGRIMAGE_TO_CANTERBURY + picture = GFX_evt_pilgrims_epic_journey + } + } + } + option = { + name = EVTOPTB_SoA_5019 + trigger = { + year = 1164 + } + ai_chance = { factor = 25 } + set_character_flag = pilgrimage_to_koln + hidden_tooltip = { character_event = { id = SoA.5023 days = 15 } } + if = { + limit = { ai = no } + chronicle = { + entry = CHRONICLE_PILGRIMAGE_TO_KOLN + picture = GFX_evt_pilgrims_epic_journey + } + } + } + option = { + name = EVTOPTC_SoA_5019 + ai_chance = { factor = 50 } + set_character_flag = pilgrimage_to_santiago + hidden_tooltip = { character_event = { id = SoA.5025 days = 15 } } + if = { + limit = { ai = no } + chronicle = { + entry = CHRONICLE_PILGRIMAGE_TO_SANTIAGO + picture = GFX_evt_pilgrims_epic_journey + } + } + } +} + +# Catholic - Where to go - Med - the oldest sites +character_event = { + id = SoA.5020 + desc = EVTDESC_SoA_5020 + picture = GFX_evt_victory_arch_byzantine + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + option = { + name = EVTOPTA_SoA_5020 + ai_chance = { factor = 50 } + set_character_flag = pilgrimage_to_jerusalem + hidden_tooltip = { + character_event = { id = SoA.5022 days = 15 } + } + if = { + limit = { ai = no } + chronicle = { + entry = CHRONICLE_PILGRIMAGE_TO_JERUSALEM + picture = GFX_evt_pilgrims_epic_journey + } + } + } + + option = { + name = EVTOPTB_SoA_5020 + ai_chance = { factor = 50 } + set_character_flag = pilgrimage_to_rome + hidden_tooltip = { + character_event = { id = SoA.5024 days = 15 } + } + if = { + limit = { ai = no } + chronicle = { + entry = CHRONICLE_PILGRIMAGE_TO_ROME + picture = GFX_evt_pilgrims_epic_journey + } + } + } +} + +########################################### +# # +# The journey # +# # +# ID SoA.5021-5049 # +# SoA.5081-5087 # +# SoA.5094-5096 # +# # +########################################### + + +# Setting out for Constantinople (also selects events for road) +character_event = { + id = SoA.5094 + desc = EVTDESC_SoA_5094 + picture = GFX_evt_pilgrims_epic_journey + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + option = { + name = EVTOPTA_SoA_5094 + clr_character_flag = preparing_pilgrimage + hidden_tooltip = { + add_trait = on_pilgrimage + set_character_flag = good_pilgrimage + narrative_event = { id = SoA.5097 days = 30 } + } + hidden_tooltip = { + if = { + limit = { + location = { + distance = { + where = 496 # Constantinople + value = 400 # Longer journey + } + } + } + random_list = { + 10 = { character_event = { id = SoA.5026 days = 5 random = 9 } } # List for longer journeys only + 10 = { character_event = { id = SoA.5027 days = 5 random = 9 } } + 10 = { narrative_event = { id = SoA.5028 days = 5 random = 9 } } + 10 = { character_event = { id = SoA.5029 days = 5 random = 9 } } + 10 = { character_event = { id = SoA.5030 days = 5 random = 9 } } + } + } + + random_list = { + 10 = { character_event = { id = SoA.5031 days = 15 random = 7 } } # List that is always checked + 10 = { character_event = { id = SoA.5032 days = 15 random = 7 } } + 10 = { narrative_event = { id = SoA.5033 days = 15 random = 7 } } + 10 = { character_event = { id = SoA.5034 days = 15 random = 7 } } + 10 = { character_event = { id = SoA.5035 days = 15 random = 7 } } + 10 = { character_event = { id = SoA.5036 days = 15 random = 7 } } + 10 = { character_event = { id = SoA.5037 days = 15 random = 7 } } + 10 = { character_event = { id = SoA.5038 days = 15 random = 7 } } + 10 = { character_event = { id = SoA.5039 days = 15 random = 7 } } + } + if = { + limit = { + is_title_active = d_holy_sepulchre + } + random_list = { + 10 = { narrative_event = { id = SoA.5045 days = 23 random = 4 } } # Holy orders events, close to destination + 10 = { character_event = { id = SoA.5046 days = 23 random = 4 } } + 10 = { character_event = { id = SoA.5047 days = 23 random = 4 } } + } + } + } + } +} + +# Setting out for Axum (also selects events for road) +character_event = { + id = SoA.5095 + desc = EVTDESC_SoA_5095 + picture = GFX_evt_pilgrims_epic_journey + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + option = { + name = EVTOPTA_SoA_5095 + clr_character_flag = preparing_pilgrimage + hidden_tooltip = { + add_trait = on_pilgrimage + set_character_flag = good_pilgrimage + narrative_event = { id = SoA.5098 days = 30 } + } + hidden_tooltip = { + if = { + limit = { + location = { + distance = { + where = 875 # Axum + value = 400 # Longer journey + } + } + } + random_list = { + 10 = { character_event = { id = SoA.5026 days = 5 random = 9 } } # List for longer journeys only + 10 = { character_event = { id = SoA.5027 days = 5 random = 9 } } + 10 = { narrative_event = { id = SoA.5028 days = 5 random = 9 } } + 10 = { character_event = { id = SoA.5029 days = 5 random = 9 } } + 10 = { character_event = { id = SoA.5030 days = 5 random = 9 } } + } + } + + random_list = { + 10 = { character_event = { id = SoA.5031 days = 15 random = 7 } } # List that is always checked + 10 = { character_event = { id = SoA.5032 days = 15 random = 7 } } + 10 = { narrative_event = { id = SoA.5033 days = 15 random = 7 } } + 10 = { character_event = { id = SoA.5034 days = 15 random = 7 } } + 10 = { character_event = { id = SoA.5035 days = 15 random = 7 } } + 10 = { character_event = { id = SoA.5036 days = 15 random = 7 } } + 10 = { character_event = { id = SoA.5037 days = 15 random = 7 } } + 10 = { character_event = { id = SoA.5038 days = 15 random = 7 } } + 10 = { character_event = { id = SoA.5039 days = 15 random = 7 } } + } + if = { + limit = { + is_title_active = d_saint_anthony + } + random_list = { + 10 = { narrative_event = { id = SoA.5045 days = 23 random = 4 } } # Holy orders events, close to destination + 10 = { character_event = { id = SoA.5046 days = 23 random = 4 } } + 10 = { character_event = { id = SoA.5047 days = 23 random = 4 } } + } + } + } + } +} + +# Setting out for Antioch (also selects events for road) +character_event = { + id = SoA.5096 + desc = EVTDESC_SoA_5096 + picture = GFX_evt_pilgrims_epic_journey + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + option = { + name = EVTOPTA_SoA_5096 + clr_character_flag = preparing_pilgrimage + hidden_tooltip = { + add_trait = on_pilgrimage + set_character_flag = good_pilgrimage + narrative_event = { id = SoA.5099 days = 30 } + } + hidden_tooltip = { + if = { + limit = { + location = { + distance = { + where = 764 # Antioch + value = 400 # Longer journey + } + } + } + random_list = { + 10 = { character_event = { id = SoA.5026 days = 5 random = 9 } } # List for longer journeys only + 10 = { character_event = { id = SoA.5027 days = 5 random = 9 } } + 10 = { narrative_event = { id = SoA.5028 days = 5 random = 9 } } + 10 = { character_event = { id = SoA.5029 days = 5 random = 9 } } + 10 = { character_event = { id = SoA.5030 days = 5 random = 9 } } + } + } + + random_list = { + 10 = { character_event = { id = SoA.5031 days = 15 random = 7 } } # List that is always checked + 10 = { character_event = { id = SoA.5032 days = 15 random = 7 } } + 10 = { narrative_event = { id = SoA.5033 days = 15 random = 7 } } + 10 = { character_event = { id = SoA.5034 days = 15 random = 7 } } + 10 = { character_event = { id = SoA.5035 days = 15 random = 7 } } + 10 = { character_event = { id = SoA.5036 days = 15 random = 7 } } + 10 = { character_event = { id = SoA.5037 days = 15 random = 7 } } + 10 = { character_event = { id = SoA.5038 days = 15 random = 7 } } + 10 = { character_event = { id = SoA.5039 days = 15 random = 7 } } + } + if = { + limit = { + OR = { + is_title_active = d_knights_templar + is_title_active = d_teutonic_order + is_title_active = d_knights_hospitaler + is_title_active = d_holy_sepulchre + } + } + random_list = { + 10 = { narrative_event = { id = SoA.5045 days = 23 random = 4 } } # Holy orders events, close to destination + 10 = { character_event = { id = SoA.5046 days = 23 random = 4 } } + 10 = { character_event = { id = SoA.5047 days = 23 random = 4 } } + } + } + } + } +} + + +# Setting out for Canterbury (also selects events for road) +character_event = { + id = SoA.5021 + desc = EVTDESC_SoA_5021 + picture = GFX_evt_pilgrims_epic_journey + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + option = { + name = EVTOPTA_SoA_5021 + clr_character_flag = preparing_pilgrimage + hidden_tooltip = { + add_trait = on_pilgrimage + set_character_flag = good_pilgrimage + narrative_event = { id = SoA.5050 days = 30 } + } + hidden_tooltip = { + if = { + limit = { + location = { + distance = { + where = 73 # Canterbury + value = 400 # Longer journey + } + } + } + random_list = { + 10 = { character_event = { id = SoA.5026 days = 5 random = 9 } } # List for longer journeys only + 10 = { character_event = { id = SoA.5027 days = 5 random = 9 } } + 10 = { narrative_event = { id = SoA.5028 days = 5 random = 9 } } + 10 = { character_event = { id = SoA.5029 days = 5 random = 9 } } + 10 = { character_event = { id = SoA.5030 days = 5 random = 9 } } + } + } + + random_list = { + 10 = { character_event = { id = SoA.5031 days = 15 random = 7 } } # List that is always checked + 10 = { character_event = { id = SoA.5032 days = 15 random = 7 } } + 10 = { narrative_event = { id = SoA.5033 days = 15 random = 7 } } + 10 = { character_event = { id = SoA.5034 days = 15 random = 7 } } + 10 = { character_event = { id = SoA.5035 days = 15 random = 7 } } + 10 = { character_event = { id = SoA.5036 days = 15 random = 7 } } + 10 = { character_event = { id = SoA.5037 days = 15 random = 7 } } + 10 = { character_event = { id = SoA.5038 days = 15 random = 7 } } + 10 = { character_event = { id = SoA.5039 days = 15 random = 7 } } + } + if = { + limit = { + OR = { + is_title_active = d_knights_templar + is_title_active = d_knights_hospitaler + } + } + random_list = { + 10 = { narrative_event = { id = SoA.5045 days = 23 random = 4 } } # Holy orders events, close to destination + 10 = { character_event = { id = SoA.5046 days = 23 random = 4 } } + 10 = { character_event = { id = SoA.5047 days = 23 random = 4 } } + } + } + } + } +} + +# Setting out for Jerusalem (also selects events for road) +character_event = { + id = SoA.5022 + desc = EVTDESC_SoA_5022 + picture = GFX_evt_pilgrims_epic_journey + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + option = { + name = EVTOPTA_SoA_5022 + clr_character_flag = preparing_pilgrimage + hidden_tooltip = { + add_trait = on_pilgrimage + set_character_flag = good_pilgrimage + narrative_event = { id = SoA.5051 days = 30 } + } + hidden_tooltip = { + if = { + limit = { + location = { + distance = { + where = 774 # Jerusalem + value = 400 # Longer journey + } + } + } + random_list = { + 10 = { character_event = { id = SoA.5026 days = 5 random = 9 } } # List for longer journeys only + 10 = { character_event = { id = SoA.5027 days = 5 random = 9 } } + 10 = { narrative_event = { id = SoA.5028 days = 5 random = 9 } } + 10 = { character_event = { id = SoA.5029 days = 5 random = 9 } } + 10 = { character_event = { id = SoA.5030 days = 5 random = 9 } } + } + } + + random_list = { + 10 = { character_event = { id = SoA.5031 days = 15 random = 7 } } # List that is always checked + 10 = { character_event = { id = SoA.5032 days = 15 random = 7 } } + 10 = { narrative_event = { id = SoA.5033 days = 15 random = 7 } } + 10 = { character_event = { id = SoA.5034 days = 15 random = 7 } } + 10 = { character_event = { id = SoA.5035 days = 15 random = 7 } } + 10 = { character_event = { id = SoA.5036 days = 15 random = 7 } } + 10 = { character_event = { id = SoA.5037 days = 15 random = 7 } } + 10 = { character_event = { id = SoA.5038 days = 15 random = 7 } } + 10 = { character_event = { id = SoA.5039 days = 15 random = 7 } } + } + if = { + limit = { + OR = { + is_title_active = d_knights_templar + is_title_active = d_teutonic_order + is_title_active = d_knights_hospitaler + is_title_active = d_holy_sepulchre + } + } + random_list = { + 10 = { narrative_event = { id = SoA.5045 days = 23 random = 4 } } # Holy orders events, close to destination + 10 = { character_event = { id = SoA.5046 days = 23 random = 4 } } + 10 = { character_event = { id = SoA.5047 days = 23 random = 4 } } + } + } + } + } +} + +# Setting out for Cologne (also selects events for road) +character_event = { + id = SoA.5023 + desc = EVTDESC_SoA_5023 + picture = GFX_evt_pilgrims_epic_journey + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + option = { + name = EVTOPTA_SoA_5023 + clr_character_flag = preparing_pilgrimage + hidden_tooltip = { + add_trait = on_pilgrimage + set_character_flag = good_pilgrimage + narrative_event = { id = SoA.5052 days = 30 } + } + hidden_tooltip = { + if = { + limit = { + location = { + distance = { + where = 119 # Cologne + value = 400 # Longer journey + } + } + } + random_list = { + 10 = { character_event = { id = SoA.5026 days = 5 random = 9 } } # List for longer journeys only + 10 = { character_event = { id = SoA.5027 days = 5 random = 9 } } + 10 = { narrative_event = { id = SoA.5028 days = 5 random = 9 } } + 10 = { character_event = { id = SoA.5029 days = 5 random = 9 } } + 10 = { character_event = { id = SoA.5030 days = 5 random = 9 } } + } + } + + random_list = { + 10 = { character_event = { id = SoA.5031 days = 15 random = 7 } } # List that is always checked + 10 = { character_event = { id = SoA.5032 days = 15 random = 7 } } + 10 = { narrative_event = { id = SoA.5033 days = 15 random = 7 } } + 10 = { character_event = { id = SoA.5034 days = 15 random = 7 } } + 10 = { character_event = { id = SoA.5035 days = 15 random = 7 } } + 10 = { character_event = { id = SoA.5036 days = 15 random = 7 } } + 10 = { character_event = { id = SoA.5037 days = 15 random = 7 } } + 10 = { character_event = { id = SoA.5038 days = 15 random = 7 } } + 10 = { character_event = { id = SoA.5039 days = 15 random = 7 } } + } + if = { + limit = { + OR = { + is_title_active = d_knights_templar + is_title_active = d_teutonic_order + is_title_active = d_knights_hospitaler + } + } + random_list = { + 10 = { narrative_event = { id = SoA.5045 days = 23 random = 4 } } # Holy orders events, close to destination + 10 = { character_event = { id = SoA.5046 days = 23 random = 4 } } + 10 = { character_event = { id = SoA.5047 days = 23 random = 4 } } + } + } + } + } +} + + +# Setting out for Rome (also selects events for road) +character_event = { + id = SoA.5024 + desc = EVTDESC_SoA_5024 + picture = GFX_evt_pilgrims_epic_journey + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + option = { + name = EVTOPTA_SoA_5024 + clr_character_flag = preparing_pilgrimage + hidden_tooltip = { + add_trait = on_pilgrimage + set_character_flag = good_pilgrimage + narrative_event = { id = SoA.5053 days = 30 } + } + hidden_tooltip = { + if = { + limit = { + location = { + distance = { + where = 333 # Rome + value = 400 # Longer journey + } + } + } + random_list = { + 10 = { character_event = { id = SoA.5026 days = 5 random = 9 } } # List for longer journeys only + 10 = { character_event = { id = SoA.5027 days = 5 random = 9 } } + 10 = { narrative_event = { id = SoA.5028 days = 5 random = 9 } } + 10 = { character_event = { id = SoA.5029 days = 5 random = 9 } } + 10 = { character_event = { id = SoA.5030 days = 5 random = 9 } } + } + } + + random_list = { + 10 = { character_event = { id = SoA.5031 days = 15 random = 7 } } # List that is always checked + 10 = { character_event = { id = SoA.5032 days = 15 random = 7 } } + 10 = { narrative_event = { id = SoA.5033 days = 15 random = 7 } } + 10 = { character_event = { id = SoA.5034 days = 15 random = 7 } } + 10 = { character_event = { id = SoA.5035 days = 15 random = 7 } } + 10 = { character_event = { id = SoA.5036 days = 15 random = 7 } } + 10 = { character_event = { id = SoA.5037 days = 15 random = 7 } } + 10 = { character_event = { id = SoA.5038 days = 15 random = 7 } } + 10 = { character_event = { id = SoA.5039 days = 15 random = 7 } } + } + if = { + limit = { + OR = { + is_title_active = d_knights_templar + is_title_active = d_teutonic_order + is_title_active = d_knights_hospitaler + } + } + random_list = { + 10 = { narrative_event = { id = SoA.5045 days = 23 random = 4 } } # Holy orders events, close to destination + 10 = { character_event = { id = SoA.5046 days = 23 random = 4 } } + 10 = { character_event = { id = SoA.5047 days = 23 random = 4 } } + } + } + } + } +} + +# Setting out for Santiago (also selects events for road) +character_event = { + id = SoA.5025 + desc = EVTDESC_SoA_5025 + picture = GFX_evt_pilgrims_epic_journey + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + option = { + name = EVTOPTA_SoA_5025 + clr_character_flag = preparing_pilgrimage + hidden_tooltip = { + add_trait = on_pilgrimage + set_character_flag = good_pilgrimage + narrative_event = { id = SoA.5054 days = 30 } + } + hidden_tooltip = { + if = { + limit = { + location = { + distance = { + where = 157 # Santiago + value = 400 # Longer journey + } + } + } + random_list = { + 10 = { character_event = { id = SoA.5026 days = 5 random = 9 } } # List for longer journeys only + 10 = { character_event = { id = SoA.5027 days = 5 random = 9 } } + 10 = { narrative_event = { id = SoA.5028 days = 5 random = 9 } } + 10 = { character_event = { id = SoA.5029 days = 5 random = 9 } } + 10 = { character_event = { id = SoA.5030 days = 5 random = 9 } } + } + } + + random_list = { + 10 = { character_event = { id = SoA.5031 days = 15 random = 7 } } # List that is always checked + 10 = { character_event = { id = SoA.5032 days = 15 random = 7 } } + 10 = { narrative_event = { id = SoA.5033 days = 15 random = 7 } } + 10 = { character_event = { id = SoA.5034 days = 15 random = 7 } } + 10 = { character_event = { id = SoA.5035 days = 15 random = 7 } } + 10 = { character_event = { id = SoA.5036 days = 15 random = 7 } } + 10 = { character_event = { id = SoA.5037 days = 15 random = 7 } } + 10 = { character_event = { id = SoA.5038 days = 15 random = 7 } } + 10 = { character_event = { id = SoA.5039 days = 15 random = 7 } } + } + if = { + limit = { + OR = { + is_title_active = d_knights_santiago + is_title_active = d_knights_calatrava + } + } + random_list = { + 10 = { narrative_event = { id = SoA.5045 days = 23 random = 4 } } # Holy orders events, close to destination + 10 = { character_event = { id = SoA.5046 days = 23 random = 4 } } + 10 = { character_event = { id = SoA.5047 days = 23 random = 4 } } + } + } + } + } +} + +# Trouble on road - weather +character_event = { + id = SoA.5026 + desc = EVTDESC_SoA_5026 + picture = GFX_evt_pilgrims_epic_journey + + is_triggered_only = yes + + option = { + name = EVTOPTA_SoA_5026 + ai_chance = { + factor = 10 + } + piety = 50 + random_list = { + 10 = { + give_pneumonic_effect = yes + } + 30 = { + give_ill_effect = yes + } + 60 = { + } + } + } + option = { + name = EVTOPTB_SoA_5026 + ai_chance = { + factor = 90 + } + if = { + limit = { NOT = { trait = cynical } } + add_trait = cynical + } + random_list = { + 5 = { + give_pneumonic_effect = yes + } + 15 = { + give_ill_effect = yes + } + 80 = { + } + } + } +} + +# Trouble on road - lost +character_event = { + id = SoA.5027 + desc = EVTDESC_SoA_5027 + picture = GFX_evt_pilgrims_epic_journey + + is_triggered_only = yes + + option = { + name = EVTOPTA_SoA_5027 + ai_chance = { + factor = 50 + } + if = { + limit = { NOT = { trait = wroth } } + random = { + chance = 30 + add_trait = wroth + hidden_tooltip = { + character_event = { + id = 38254 #Notify Wroth + } + } + } + } + } + option = { + name = EVTOPTB_SoA_5027 + ai_chance = { + factor = 50 + } + if = { + limit = { NOT = { trait = patient } } + random = { + chance = 30 + add_trait = patient + hidden_tooltip = { + character_event = { + id = 38264 #Notify Patient + } + } + } + } + } +} + +# Trouble on road - inn on fire +narrative_event = { + id = SoA.5028 + title = EVTNAME_SoA_5028 + desc = EVTDESC_SoA_5028 + picture = GFX_evt_burning_house + + is_triggered_only = yes + + option = { + name = EVTOPTA_SoA_5028 + ai_chance = { + factor = 80 + } + random = { + chance = 10 + add_trait = wounded + hidden_tooltip = { + character_event = { + id = 38280 #Notify Wounded + } + } + } + if = { + limit = { NOT = { trait = brave } } + random = { + chance = 30 + add_trait = brave + hidden_tooltip = { + character_event = { + id = 38270 #Notify brave + } + } + } + } + } + option = { + name = EVTOPTB_SoA_5028 + ai_chance = { + factor = 20 + } + if = { + limit = { NOR = { trait = craven trait = berserker } } + add_trait = craven + } + } +} + +# Danger on road - robbers +character_event = { + id = SoA.5029 + desc = EVTDESC_SoA_5029 + picture = GFX_evt_bandits + + is_triggered_only = yes + + option = { + name = EVTOPTA_SoA_5029 + ai_chance = { + factor = 90 + } + wealth = -10 + } + option = { + name = EVTOPTB_SoA_5029 + tooltip_info = martial + trigger = { + martial = 10 + } + ai_chance = { + factor = 10 + } + if = { + limit = { NOT = { trait = brave } } + add_trait = brave + } + random = { + chance = 10 + add_trait = wounded + hidden_tooltip = { + character_event = { + id = 38280 #Notify Wounded + } + } + } + } +} + +# Danger on road - broken bridge +character_event = { + id = SoA.5030 + desc = EVTDESC_SoA_5030 + picture = GFX_evt_pilgrims_epic_journey + + is_triggered_only = yes + + option = { + name = EVTOPTA_SoA_5030 + ai_chance = { + factor = 10 + } + random = { + chance = 20 + add_trait = wounded + hidden_tooltip = { + character_event = { + id = 38280 #Notify Wounded + } + } + } + } + option = { + name = EVTOPTB_SoA_5030 + ai_chance = { + factor = 45 + } + wealth = -10 + } + option = { + name = EVTOPTC_SoA_5030 + ai_chance = { + factor = 45 + } + wealth = -30 + if = { + limit = { NOT = { trait = charitable } } + add_trait = charitable + } + } +} + +# Philosophical ponderings +character_event = { + id = SoA.5031 + desc = EVTDESC_SoA_5031 + picture = GFX_evt_pilgrims_epic_journey + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + option = { + name = EVTOPTA_SoA_5031 + if = { + limit = { + NOR = { + lifestyle_traits = 1 + has_dlc = "Way of Life" + } + } + random_list = { + 10 = { + add_trait = scholar + } + 10 = { + add_trait = mystic + } + 10 = { + add_trait = poet + } + 10 = { + add_trait = zealous + } + 10 = { + add_trait = depressed + } + 50 = { + } + } + break = yes + } + if = { + limit = { + OR = { + lifestyle_traits = 1 + has_dlc = "Way of Life" + } + } + random_list = { + 20 = { + add_trait = poet + } + 20 = { + add_trait = zealous + } + 10 = { + add_trait = depressed + } + 50 = { + } + } + } + } + option = { + name = EVTOPTB_SoA_5031 + if = { + limit = { NOT = { trait = cynical } } + random = { + chance = 20 + add_trait = cynical + hidden_tooltip = { + character_event = { + id = 38258 #Notify Cynical + } + } + } + } + } +} + +# Meeting people on travels - good Samaritan +character_event = { + id = SoA.5032 + desc = EVTDESC_SoA_5032 + picture = GFX_evt_pilgrims_epic_journey + + is_triggered_only = yes + + option = { + name = EVTOPTA_SoA_5032 + ai_chance = { + factor = 90 + } + wealth = -10 + if = { + limit = { NOT = { trait = kind } } + add_trait = kind + } + } + option = { + name = EVTOPTB_SoA_5032 + ai_chance = { + factor = 10 + } + if = { + limit = { trait = kind } + remove_trait = kind + } + } +} + +# Meeting people on travels - Noah's ark +narrative_event = { + id = SoA.5033 + title = EVTNAME_SoA_5033 + desc = EVTDESC_SoA_5033 + picture = GFX_evt_pilgrims_epic_journey + + is_triggered_only = yes + + option = { + name = EVTOPTA_SoA_5033 + if = { + limit = { NOT = { trait = arbitrary } } + add_trait = arbitrary + } + } + option = { + name = EVTOPTB_SoA_5033 + if = { + limit = { NOT = { trait = charitable } } + add_trait = charitable + } + } + option = { + name = EVTOPTC_SoA_5033 + custom_tooltip = { text = noahs_ark_cats_dogs } + } +} + +# Meeting people on travels - bread and fish +character_event = { + id = SoA.5034 + desc = EVTDESC_SoA_5034 + picture = GFX_evt_pilgrims_epic_journey + + is_triggered_only = yes + + option = { + name = EVTOPTA_SoA_5034 + wealth = -5 + if = { + limit = { NOT = { trait = charitable } } + add_trait = charitable + } + } + option = { + name = EVTOPTB_SoA_5034 + if = { + limit = { + trait = charitable + } + remove_trait = charitable + } + } +} + +# Learning something about boats +character_event = { + id = SoA.5035 + desc = EVTDESC_SoA_5035 + picture = GFX_evt_merchant_ship_at_sea_republic + + is_triggered_only = yes + + option = { + name = EVTOPTA_SoA_5035 + random_list = { + 15 = { change_martial = 1 } + 15 = { change_learning = 1 } + 70 = {} + } + } + option = { + name = EVTOPTB_SoA_5035 + piety = 30 + } +} + +# Learning something about bridges +character_event = { + id = SoA.5036 + desc = EVTDESC_SoA_5036 + picture = GFX_evt_pilgrims_epic_journey + + is_triggered_only = yes + + option = { + name = EVTOPTA_SoA_5036 + random = { + chance = 30 + change_learning = 1 + } + } + option = { + name = EVTOPTB_SoA_5036 + if = { + limit = { NOT = { trait = proud } } + random = { + chance = 30 + add_trait = proud + hidden_tooltip = { + character_event = { + id = 38261 #Notify Proud + } + } + } + } + } +} + +# Falls ill from trials on journey +character_event = { + id = SoA.5037 + desc = EVTDESC_SoA_5037 + picture = GFX_evt_pilgrims_epic_journey + + is_triggered_only = yes + + option = { + name = EVTOPTA_SoA_5037 + ai_chance = { + factor = 10 + } + piety = 10 + random = { + chance = 40 + if = { + limit = { + NOT = { + has_dlc = "Reapers" + } + } + add_trait = ill + } + if = { + limit = { + has_dlc = "Reapers" + } + add_symptom_effect = yes + } + } + } + option = { + name = EVTOPTB_SoA_5037 + ai_chance = { + factor = 90 + } + random = { + chance = 20 + if = { + limit = { + NOT = { + has_dlc = "Reapers" + } + } + add_trait = ill + } + if = { + limit = { + has_dlc = "Reapers" + } + add_symptom_effect = yes + } + } + if = { + limit = { NOT = { trait = cynical } } + random = { + chance = 50 + add_trait = cynical + hidden_tooltip = { + character_event = { + id = 38258 #Notify Cynical + } + } + } + } + } +} + +# Moral choice - steal or give +character_event = { + id = SoA.5038 + desc = EVTDESC_SoA_5038 + picture = GFX_evt_pilgrims_epic_journey + + is_triggered_only = yes + + option = { + name = EVTOPTA_SoA_5038 + } + option = { + name = EVTOPTB_SoA_5038 + wealth = -10 + if = { + limit = { NOT = { trait = charitable } } + add_trait = charitable + } + } + option = { + name = EVTOPTC_SoA_5038 + wealth = 10 + if = { + limit = { trait = charitable } + remove_trait = charitable + } + if = { + limit = { NOT = { trait = deceitful } } + add_trait = deceitful + } + } + option = { + name = EVTOPTD_SoA_5038 + if = { + limit = { trait = charitable } + remove_trait = charitable + } + } +} + +# Sees a guiding star - religious experience +character_event = { + id = SoA.5039 + desc = EVTDESC_SoA_5039 + picture = GFX_evt_pilgrims_epic_journey + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + option = { + name = EVTOPTA_SoA_5039 + if = { + limit = { NOT = { trait = zealous } } + random = { + chance = 20 + add_trait = zealous + hidden_tooltip = { + character_event = { + id = 38269 #Notify Zealous + } + } + } + } + } + option = { + name = EVTOPTB_SoA_5039 + if = { + limit = { NOT = { trait = cynical } } + random = { + chance = 20 + add_trait = cynical + hidden_tooltip = { + character_event = { + id = 38258 #Notify Cynical + } + } + } + } + } +} + +# Holy knights come to meet and escort - feels safe +narrative_event = { + id = SoA.5045 + title = EVTNAME_SoA_5045 + desc = EVTDESC_SoA_5045 + picture = GFX_evt_crusaders + + is_triggered_only = yes + + option = { + name = EVTOPTA_SoA_5045 + ai_chance = { + factor = 90 + } + piety = 20 + } + option = { + name = EVTOPTB_SoA_5045 + ai_chance = { + factor = 10 + } + if = { + limit = { NOT = { trait = paranoid } } + random = { + chance = 20 + add_trait = paranoid + hidden_tooltip = { + character_event = { + id = 38275 #Notify Paranoid + } + } + } + } + } +} + +# Comes upon holy knights at camp - talks to them and learns something +character_event = { + id = SoA.5046 + desc = EVTDESC_SoA_5046 + picture = GFX_evt_crusaders + + is_triggered_only = yes + + option = { + name = EVTOPTA_SoA_5046 + piety = 10 + random = { + chance = 30 + change_learning = 1 + } + } + option = { + name = EVTOPTB_SoA_5046 + random = { + chance = 30 + change_martial = 1 + } + } +} + + +# Meets holy knight as travel companion - makes friend who is member of a holy order +character_event = { + id = SoA.5047 + desc = EVTDESC_SoA_5047 + picture = GFX_evt_crusaders + + is_triggered_only = yes + + option = { + name = EVTOPTA_SoA_5047 # yes - select order of knight depending on availability and destination. If several possible, randomize + ai_chance = { + factor = 90 + } + custom_tooltip = { text = gain_friend } + if = { + limit = { + has_character_flag = pilgrimage_to_canterbury + is_title_active = d_knights_templar + NOT = { is_title_active = d_knights_hospitaler } + } + hidden_tooltip = { character_event = { id = SoA.5081 } } + } + if = { + limit = { + has_character_flag = pilgrimage_to_canterbury + is_title_active = d_knights_hospitaler + NOT = { is_title_active = d_knights_templar } + } + hidden_tooltip = { character_event = { id = SoA.5083 } } + } + if = { + limit = { + has_character_flag = pilgrimage_to_canterbury + is_title_active = d_knights_hospitaler + is_title_active = d_knights_templar + } + hidden_tooltip = { + random_list = { + 10 = { character_event = { id = SoA.5081 } } + 10 = { character_event = { id = SoA.5083 } } + } + } + } + if = { + limit = { + has_character_flag = pilgrimage_to_jerusalem + is_title_active = d_knights_templar + NOT = { is_title_active = d_teutonic_order } + NOT = { is_title_active = d_knights_hospitaler } + NOT = { is_title_active = d_holy_sepulchre } + } + hidden_tooltip = { character_event = { id = SoA.5081 } } + } + if = { + limit = { + has_character_flag = pilgrimage_to_jerusalem + NOT = { is_title_active = d_knights_templar } + is_title_active = d_teutonic_order + NOT = { is_title_active = d_knights_hospitaler } + NOT = { is_title_active = d_holy_sepulchre } + } + hidden_tooltip = { character_event = { id = SoA.5082 } } + } + if = { + limit = { + has_character_flag = pilgrimage_to_jerusalem + NOT = { is_title_active = d_knights_templar } + NOT = { is_title_active = d_teutonic_order } + is_title_active = d_knights_hospitaler + NOT = { is_title_active = d_holy_sepulchre } + } + hidden_tooltip = { character_event = { id = SoA.5083 } } + } + if = { + limit = { + has_character_flag = pilgrimage_to_jerusalem + NOT = { is_title_active = d_knights_templar } + NOT = { is_title_active = d_teutonic_order } + NOT = { is_title_active = d_knights_hospitaler } + is_title_active = d_holy_sepulchre + } + hidden_tooltip = { character_event = { id = SoA.5048 } } + } + if = { + limit = { + has_character_flag = pilgrimage_to_jerusalem + is_title_active = d_knights_templar + is_title_active = d_teutonic_order + NOT = { is_title_active = d_knights_hospitaler } + NOT = { is_title_active = d_holy_sepulchre } + } + hidden_tooltip = { + random_list = { + 10 = { character_event = { id = SoA.5081 } } + 10 = { character_event = { id = SoA.5082 } } + } + } + } + if = { + limit = { + has_character_flag = pilgrimage_to_jerusalem + is_title_active = d_knights_templar + NOT = { is_title_active = d_teutonic_order } + is_title_active = d_knights_hospitaler + NOT = { is_title_active = d_holy_sepulchre } + } + hidden_tooltip = { + random_list = { + 10 = { character_event = { id = SoA.5081 } } + 10 = { character_event = { id = SoA.5083 } } + } + } + } + if = { + limit = { + has_character_flag = pilgrimage_to_jerusalem + is_title_active = d_knights_templar + NOT = { is_title_active = d_teutonic_order } + NOT = { is_title_active = d_knights_hospitaler } + is_title_active = d_holy_sepulchre + } + hidden_tooltip = { + random_list = { + 10 = { character_event = { id = SoA.5081 } } + 10 = { character_event = { id = SoA.5048 } } + } + } + } + if = { + limit = { + has_character_flag = pilgrimage_to_jerusalem + NOT = { is_title_active = d_knights_templar } + is_title_active = d_teutonic_order + is_title_active = d_knights_hospitaler + NOT = { is_title_active = d_holy_sepulchre } + } + hidden_tooltip = { + random_list = { + 10 = { character_event = { id = SoA.5082 } } + 10 = { character_event = { id = SoA.5083 } } + } + } + } + if = { + limit = { + has_character_flag = pilgrimage_to_jerusalem + NOT = { is_title_active = d_knights_templar } + is_title_active = d_teutonic_order + NOT = { is_title_active = d_knights_hospitaler } + is_title_active = d_holy_sepulchre + } + hidden_tooltip = { + random_list = { + 10 = { character_event = { id = SoA.5082 } } + 10 = { character_event = { id = SoA.5048 } } + } + } + } + if = { + limit = { + has_character_flag = pilgrimage_to_jerusalem + NOT = { is_title_active = d_knights_templar } + NOT = { is_title_active = d_teutonic_order } + is_title_active = d_knights_hospitaler + is_title_active = d_holy_sepulchre + } + hidden_tooltip = { + random_list = { + 10 = { character_event = { id = SoA.5083 } } + 10 = { character_event = { id = SoA.5048 } } + } + } + } + if = { + limit = { + has_character_flag = pilgrimage_to_jerusalem + is_title_active = d_knights_templar + is_title_active = d_teutonic_order + is_title_active = d_knights_hospitaler + NOT = { is_title_active = d_holy_sepulchre } + } + hidden_tooltip = { + random_list = { + 10 = { character_event = { id = SoA.5081 } } + 10 = { character_event = { id = SoA.5082 } } + 10 = { character_event = { id = SoA.5083 } } + } + } + } + if = { + limit = { + has_character_flag = pilgrimage_to_jerusalem + is_title_active = d_knights_templar + is_title_active = d_teutonic_order + NOT = { is_title_active = d_knights_hospitaler } + is_title_active = d_holy_sepulchre + } + hidden_tooltip = { + random_list = { + 10 = { character_event = { id = SoA.5081 } } + 10 = { character_event = { id = SoA.5082 } } + 10 = { character_event = { id = SoA.5048 } } + } + } + } + if = { + limit = { + has_character_flag = pilgrimage_to_jerusalem + is_title_active = d_knights_templar + NOT = { is_title_active = d_teutonic_order } + is_title_active = d_knights_hospitaler + is_title_active = d_holy_sepulchre + } + hidden_tooltip = { + random_list = { + 10 = { character_event = { id = SoA.5081 } } + 10 = { character_event = { id = SoA.5083 } } + 10 = { character_event = { id = SoA.5048 } } + } + } + } + if = { + limit = { + has_character_flag = pilgrimage_to_jerusalem + NOT = { is_title_active = d_knights_templar } + is_title_active = d_teutonic_order + is_title_active = d_knights_hospitaler + is_title_active = d_holy_sepulchre + } + hidden_tooltip = { + random_list = { + 10 = { character_event = { id = SoA.5082 } } + 10 = { character_event = { id = SoA.5083 } } + 10 = { character_event = { id = SoA.5048 } } + } + } + } + if = { + limit = { + has_character_flag = pilgrimage_to_jerusalem + is_title_active = d_knights_templar + is_title_active = d_teutonic_order + is_title_active = d_knights_hospitaler + is_title_active = d_holy_sepulchre + } + hidden_tooltip = { + random_list = { + 10 = { character_event = { id = SoA.5081 } } + 10 = { character_event = { id = SoA.5082 } } + 10 = { character_event = { id = SoA.5083 } } + 10 = { character_event = { id = SoA.5048 } } + } + } + } + if = { + limit = { + has_character_flag = pilgrimage_to_koln + is_title_active = d_knights_templar + NOT = { is_title_active = d_teutonic_order } + NOT = { is_title_active = d_knights_hospitaler } + } + hidden_tooltip = { character_event = { id = SoA.5081 } } + } + if = { + limit = { + has_character_flag = pilgrimage_to_koln + NOT = { is_title_active = d_knights_templar } + is_title_active = d_teutonic_order + NOT = { is_title_active = d_knights_hospitaler } + } + hidden_tooltip = { character_event = { id = SoA.5082 } } + } + if = { + limit = { + has_character_flag = pilgrimage_to_koln + NOT = { is_title_active = d_knights_templar } + NOT = { is_title_active = d_teutonic_order } + is_title_active = d_knights_hospitaler + } + hidden_tooltip = { character_event = { id = SoA.5083 } } + } + if = { + limit = { + has_character_flag = pilgrimage_to_koln + is_title_active = d_knights_templar + is_title_active = d_teutonic_order + NOT = { is_title_active = d_knights_hospitaler } + } + hidden_tooltip = { + random_list = { + 10 = { character_event = { id = SoA.5081 } } + 10 = { character_event = { id = SoA.5082 } } + } + } + } + if = { + limit = { + has_character_flag = pilgrimage_to_koln + is_title_active = d_knights_templar + NOT = { is_title_active = d_teutonic_order } + is_title_active = d_knights_hospitaler + } + hidden_tooltip = { + random_list = { + 10 = { character_event = { id = SoA.5081 } } + 10 = { character_event = { id = SoA.5083 } } + } + } + } + if = { + limit = { + has_character_flag = pilgrimage_to_koln + NOT = { is_title_active = d_knights_templar } + is_title_active = d_teutonic_order + is_title_active = d_knights_hospitaler + } + hidden_tooltip = { + random_list = { + 10 = { character_event = { id = SoA.5082 } } + 10 = { character_event = { id = SoA.5083 } } + } + } + } + if = { + limit = { + has_character_flag = pilgrimage_to_koln + is_title_active = d_knights_templar + is_title_active = d_teutonic_order + is_title_active = d_knights_hospitaler + } + hidden_tooltip = { + random_list = { + 10 = { character_event = { id = SoA.5081 } } + 10 = { character_event = { id = SoA.5082 } } + 10 = { character_event = { id = SoA.5083 } } + } + } + } + if = { + limit = { + has_character_flag = pilgrimage_to_rome + is_title_active = d_knights_templar + NOT = { is_title_active = d_teutonic_order } + NOT = { is_title_active = d_knights_hospitaler } + } + hidden_tooltip = { character_event = { id = SoA.5081 } } + } + if = { + limit = { + has_character_flag = pilgrimage_to_rome + NOT = { is_title_active = d_knights_templar } + is_title_active = d_teutonic_order + NOT = { is_title_active = d_knights_hospitaler } + } + hidden_tooltip = { character_event = { id = SoA.5082 } } + } + if = { + limit = { + has_character_flag = pilgrimage_to_rome + NOT = { is_title_active = d_knights_templar } + NOT = { is_title_active = d_teutonic_order } + is_title_active = d_knights_hospitaler + } + hidden_tooltip = { character_event = { id = SoA.5083 } } + } + if = { + limit = { + has_character_flag = pilgrimage_to_rome + is_title_active = d_knights_templar + is_title_active = d_teutonic_order + NOT = { is_title_active = d_knights_hospitaler } + } + hidden_tooltip = { + random_list = { + 10 = { character_event = { id = SoA.5081 } } + 10 = { character_event = { id = SoA.5082 } } + } + } + } + if = { + limit = { + has_character_flag = pilgrimage_to_rome + is_title_active = d_knights_templar + NOT = { is_title_active = d_teutonic_order } + is_title_active = d_knights_hospitaler + } + hidden_tooltip = { + random_list = { + 10 = { character_event = { id = SoA.5081 } } + 10 = { character_event = { id = SoA.5083 } } + } + } + } + if = { + limit = { + has_character_flag = pilgrimage_to_rome + NOT = { is_title_active = d_knights_templar } + is_title_active = d_teutonic_order + is_title_active = d_knights_hospitaler + } + hidden_tooltip = { + random_list = { + 10 = { character_event = { id = SoA.5082 } } + 10 = { character_event = { id = SoA.5083 } } + } + } + } + if = { + limit = { + has_character_flag = pilgrimage_to_rome + is_title_active = d_knights_templar + is_title_active = d_teutonic_order + is_title_active = d_knights_hospitaler + } + hidden_tooltip = { + random_list = { + 10 = { character_event = { id = SoA.5081 } } + 10 = { character_event = { id = SoA.5082 } } + 10 = { character_event = { id = SoA.5083 } } + } + } + } + if = { + limit = { + has_character_flag = pilgrimage_to_santiago + is_title_active = d_knights_santiago + NOT = { is_title_active = d_knights_calatrava } + } + character_event = { id = SoA.5084 } + } + if = { + limit = { + has_character_flag = pilgrimage_to_santiago + NOT = { is_title_active = d_knights_santiago } + is_title_active = d_knights_calatrava + } + character_event = { id = SoA.5085 } + } + if = { + limit = { + has_character_flag = pilgrimage_to_santiago + is_title_active = d_knights_santiago + is_title_active = d_knights_calatrava + } + hidden_tooltip = { + random_list = { + 10 = { character_event = { id = SoA.5084 } } + 10 = { character_event = { id = SoA.5085 } } + } + } + } + if = { + limit = { + has_character_flag = pilgrimage_to_constantinople + } + character_event = { id = SoA.5048 } + } + if = { + limit = { + has_character_flag = pilgrimage_to_axum + } + character_event = { id = SoA.5049 } + } + if = { + limit = { + has_character_flag = pilgrimage_to_antioch + is_title_active = d_knights_templar + NOT = { is_title_active = d_teutonic_order } + NOT = { is_title_active = d_knights_hospitaler } + NOT = { is_title_active = d_holy_sepulchre } + } + hidden_tooltip = { character_event = { id = SoA.5081 } } + } + if = { + limit = { + has_character_flag = pilgrimage_to_antioch + NOT = { is_title_active = d_knights_templar } + is_title_active = d_teutonic_order + NOT = { is_title_active = d_knights_hospitaler } + NOT = { is_title_active = d_holy_sepulchre } + } + hidden_tooltip = { character_event = { id = SoA.5082 } } + } + if = { + limit = { + has_character_flag = pilgrimage_to_antioch + NOT = { is_title_active = d_knights_templar } + NOT = { is_title_active = d_teutonic_order } + is_title_active = d_knights_hospitaler + NOT = { is_title_active = d_holy_sepulchre } + } + hidden_tooltip = { character_event = { id = SoA.5083 } } + } + if = { + limit = { + has_character_flag = pilgrimage_to_antioch + NOT = { is_title_active = d_knights_templar } + NOT = { is_title_active = d_teutonic_order } + NOT = { is_title_active = d_knights_hospitaler } + is_title_active = d_holy_sepulchre + } + hidden_tooltip = { character_event = { id = SoA.5048 } } + } + if = { + limit = { + has_character_flag = pilgrimage_to_antioch + is_title_active = d_knights_templar + is_title_active = d_teutonic_order + NOT = { is_title_active = d_knights_hospitaler } + NOT = { is_title_active = d_holy_sepulchre } + } + hidden_tooltip = { + random_list = { + 10 = { character_event = { id = SoA.5081 } } + 10 = { character_event = { id = SoA.5082 } } + } + } + } + if = { + limit = { + has_character_flag = pilgrimage_to_antioch + is_title_active = d_knights_templar + NOT = { is_title_active = d_teutonic_order } + is_title_active = d_knights_hospitaler + NOT = { is_title_active = d_holy_sepulchre } + } + hidden_tooltip = { + random_list = { + 10 = { character_event = { id = SoA.5081 } } + 10 = { character_event = { id = SoA.5083 } } + } + } + } + if = { + limit = { + has_character_flag = pilgrimage_to_antioch + is_title_active = d_knights_templar + NOT = { is_title_active = d_teutonic_order } + NOT = { is_title_active = d_knights_hospitaler } + is_title_active = d_holy_sepulchre + } + hidden_tooltip = { + random_list = { + 10 = { character_event = { id = SoA.5081 } } + 10 = { character_event = { id = SoA.5048 } } + } + } + } + if = { + limit = { + has_character_flag = pilgrimage_to_antioch + NOT = { is_title_active = d_knights_templar } + is_title_active = d_teutonic_order + is_title_active = d_knights_hospitaler + NOT = { is_title_active = d_holy_sepulchre } + } + hidden_tooltip = { + random_list = { + 10 = { character_event = { id = SoA.5082 } } + 10 = { character_event = { id = SoA.5083 } } + } + } + } + if = { + limit = { + has_character_flag = pilgrimage_to_antioch + NOT = { is_title_active = d_knights_templar } + is_title_active = d_teutonic_order + NOT = { is_title_active = d_knights_hospitaler } + is_title_active = d_holy_sepulchre + } + hidden_tooltip = { + random_list = { + 10 = { character_event = { id = SoA.5082 } } + 10 = { character_event = { id = SoA.5048 } } + } + } + } + if = { + limit = { + has_character_flag = pilgrimage_to_antioch + NOT = { is_title_active = d_knights_templar } + NOT = { is_title_active = d_teutonic_order } + is_title_active = d_knights_hospitaler + is_title_active = d_holy_sepulchre + } + hidden_tooltip = { + random_list = { + 10 = { character_event = { id = SoA.5083 } } + 10 = { character_event = { id = SoA.5048 } } + } + } + } + if = { + limit = { + has_character_flag = pilgrimage_to_antioch + is_title_active = d_knights_templar + is_title_active = d_teutonic_order + is_title_active = d_knights_hospitaler + NOT = { is_title_active = d_holy_sepulchre } + } + hidden_tooltip = { + random_list = { + 10 = { character_event = { id = SoA.5081 } } + 10 = { character_event = { id = SoA.5082 } } + 10 = { character_event = { id = SoA.5083 } } + } + } + } + if = { + limit = { + has_character_flag = pilgrimage_to_antioch + is_title_active = d_knights_templar + is_title_active = d_teutonic_order + NOT = { is_title_active = d_knights_hospitaler } + is_title_active = d_holy_sepulchre + } + hidden_tooltip = { + random_list = { + 10 = { character_event = { id = SoA.5081 } } + 10 = { character_event = { id = SoA.5082 } } + 10 = { character_event = { id = SoA.5048 } } + } + } + } + if = { + limit = { + has_character_flag = pilgrimage_to_antioch + is_title_active = d_knights_templar + NOT = { is_title_active = d_teutonic_order } + is_title_active = d_knights_hospitaler + is_title_active = d_holy_sepulchre + } + hidden_tooltip = { + random_list = { + 10 = { character_event = { id = SoA.5081 } } + 10 = { character_event = { id = SoA.5083 } } + 10 = { character_event = { id = SoA.5048 } } + } + } + } + if = { + limit = { + has_character_flag = pilgrimage_to_antioch + NOT = { is_title_active = d_knights_templar } + is_title_active = d_teutonic_order + is_title_active = d_knights_hospitaler + is_title_active = d_holy_sepulchre + } + hidden_tooltip = { + random_list = { + 10 = { character_event = { id = SoA.5082 } } + 10 = { character_event = { id = SoA.5083 } } + 10 = { character_event = { id = SoA.5048 } } + } + } + } + if = { + limit = { + has_character_flag = pilgrimage_to_antioch + is_title_active = d_knights_templar + is_title_active = d_teutonic_order + is_title_active = d_knights_hospitaler + is_title_active = d_holy_sepulchre + } + hidden_tooltip = { + random_list = { + 10 = { character_event = { id = SoA.5081 } } + 10 = { character_event = { id = SoA.5082 } } + 10 = { character_event = { id = SoA.5083 } } + 10 = { character_event = { id = SoA.5048 } } + } + } + } + } + option = { + name = EVTOPTB_SoA_5047 # no + ai_chance = { + factor = 10 + } + if = { + limit = { + NOT = { trait = shy } + } + random = { + chance = 20 + add_trait = shy + hidden_tooltip = { + character_event = { + id = 38263 #Notify Shy + } + } + } + } + } +} + +# Follow-up friend events - see SoA.5081-SoA.5085, SoA.5048-SoA.5049 +# Makes friend in Knights Templar +character_event = { + id = SoA.5081 + + hide_window = yes + + is_triggered_only = yes + + immediate = { + d_knights_templar = { + holder_scope = { + random_courtier = { + limit = { + is_female = no + prisoner = no + in_command = no + is_priest = no + age = 16 + NOT = { + sibling = ROOT + } + NOT = { + is_friend = ROOT + } + NOT = { + is_rival = ROOT + } + NOT = { has_job_title = job_spiritual } + } + add_friend = ROOT + character_event = { id = SoA.5086 } + } + } + } + } +} + + + +# Makes friend in Teutonic Order +character_event = { + id = SoA.5082 + + hide_window = yes + + is_triggered_only = yes + + immediate = { + d_teutonic_order = { + holder_scope = { + random_courtier = { + limit = { + is_female = no + prisoner = no + in_command = no + is_priest = no + age = 16 + NOT = { + sibling = ROOT + } + NOT = { + is_friend = ROOT + } + NOT = { + is_rival = ROOT + } + NOT = { has_job_title = job_spiritual } + } + add_friend = ROOT + character_event = { id = SoA.5086 } + } + } + } + } +} + +# Makes friend in Knights Hospitaller +character_event = { + id = SoA.5083 + + hide_window = yes + + is_triggered_only = yes + + immediate = { + d_knights_hospitaler = { + holder_scope = { + random_courtier = { + limit = { + is_female = no + prisoner = no + in_command = no + is_priest = no + age = 16 + NOT = { + sibling = ROOT + } + NOT = { + is_friend = ROOT + } + NOT = { + is_rival = ROOT + } + NOT = { has_job_title = job_spiritual } + } + add_friend = ROOT + character_event = { id = SoA.5086 } + } + } + } + } +} + +# Makes friend - Knight of Santiago +character_event = { + id = SoA.5084 + + hide_window = yes + + is_triggered_only = yes + + immediate = { + d_knights_santiago = { + holder_scope = { + random_courtier = { + limit = { + is_female = no + prisoner = no + in_command = no + is_priest = no + age = 16 + NOT = { + sibling = ROOT + } + NOT = { + is_friend = ROOT + } + NOT = { + is_rival = ROOT + } + NOT = { has_job_title = job_spiritual } + } + add_friend = ROOT + character_event = { id = SoA.5086 } + } + } + } + } +} + +# Makes friend - Knight of Calatrava +character_event = { + id = SoA.5085 + + hide_window = yes + + is_triggered_only = yes + + immediate = { + d_knights_calatrava = { + holder_scope = { + random_courtier = { + limit = { + is_female = no + prisoner = no + in_command = no + is_priest = no + age = 16 + NOT = { + sibling = ROOT + } + NOT = { + is_friend = ROOT + } + NOT = { + is_rival = ROOT + } + NOT = { has_job_title = job_spiritual } + } + add_friend = ROOT + character_event = { id = SoA.5086 } + } + } + } + } +} + +# Makes friend - Knight of the Holy Sepulchre +character_event = { + id = SoA.5048 + + hide_window = yes + + is_triggered_only = yes + + immediate = { + d_holy_sepulchre = { + holder_scope = { + random_courtier = { + limit = { + is_female = no + prisoner = no + in_command = no + is_priest = no + age = 16 + NOT = { + sibling = ROOT + } + NOT = { + is_friend = ROOT + } + NOT = { + is_rival = ROOT + } + NOT = { has_job_title = job_spiritual } + } + add_friend = ROOT + character_event = { id = SoA.5086 } + } + } + } + } +} + +# Makes friend - Knight of the Holy Sepulchre +character_event = { + id = SoA.5049 + + hide_window = yes + + is_triggered_only = yes + + immediate = { + d_saint_anthony = { + holder_scope = { + random_courtier = { + limit = { + is_female = no + prisoner = no + in_command = no + is_priest = no + age = 16 + NOT = { + sibling = ROOT + } + NOT = { + is_friend = ROOT + } + NOT = { + is_rival = ROOT + } + NOT = { has_job_title = job_spiritual } + } + add_friend = ROOT + character_event = { id = SoA.5086 } + } + } + } + } +} + +# Knight friend bounce event +character_event = { + id = SoA.5086 + + hide_window = yes + + is_triggered_only = yes + + immediate = { + FROM = { + character_event = { id = SoA.5087 } + } + } +} + +# Pilgrim receives notification about new friend +character_event = { + id = SoA.5087 + desc = EVTDESC_SoA_5087 + picture = GFX_evt_crusaders + + is_triggered_only = yes + + option = { + name = EVTOPTA_SoA_5087 + } +} + +########################################### +# # +# Pilgrim arrives # +# # +# ID SoA.5050-SoA.5054 # +# SoA.5094-5096 # +# # +########################################### + +# Arrived at Canterbury +narrative_event = { + id = SoA.5050 + title = EVTNAME_SoA_5050 + desc = EVTDESC_SoA_5050 + picture = GFX_evt_cathedral + border = GFX_event_narrative_frame_religion + + is_triggered_only = yes + + option = { + name = EVTOPTA_SoA_5050 + hidden_tooltip = { character_event = { id = SoA.5055 days = 5 } } + } +} + +# Arrived at Jerusalem +narrative_event = { + id = SoA.5051 + title = EVTNAME_SoA_5051 + desc = EVTDESC_SoA_5051 + picture = GFX_evt_jerusalem + border = GFX_event_narrative_frame_religion + + is_triggered_only = yes + + option = { + name = EVTOPTA_SoA_5051 + hidden_tooltip = { character_event = { id = SoA.5055 days = 5 } } + } +} + +# Arrived at Cologne +narrative_event = { + id = SoA.5052 + title = EVTNAME_SoA_5052 + desc = EVTDESC_SoA_5052 + picture = GFX_evt_cathedral + border = GFX_event_narrative_frame_religion + + is_triggered_only = yes + + option = { + name = EVTOPTA_SoA_5052 + hidden_tooltip = { character_event = { id = SoA.5055 days = 5 } } + } +} + +# Arrived at Rome +narrative_event = { + id = SoA.5053 + title = EVTNAME_SoA_5053 + desc = EVTDESC_SoA_5053 + picture = GFX_evt_victory_arch_byzantine + border = GFX_event_narrative_frame_religion + + is_triggered_only = yes + + option = { + name = EVTOPTA_SoA_5053 + hidden_tooltip = { character_event = { id = SoA.5055 days = 5 } } + } +} + +# Arrived at Santiago +narrative_event = { + id = SoA.5054 + title = EVTNAME_SoA_5054 + desc = EVTDESC_SoA_5054 + picture = GFX_evt_cathedral + border = GFX_event_narrative_frame_religion + + is_triggered_only = yes + + option = { + name = EVTOPTA_SoA_5054 + hidden_tooltip = { character_event = { id = SoA.5055 days = 5 } } + } +} + +# Arrived at Constantinople +narrative_event = { + id = SoA.5097 + title = EVTNAME_SoA_5097 + desc = EVTDESC_SoA_5097 + picture = GFX_evt_hagia_sofia + border = GFX_event_narrative_frame_religion + + is_triggered_only = yes + + option = { + name = EVTOPTA_SoA_5097 + hidden_tooltip = { character_event = { id = SoA.5055 days = 5 } } + } +} + +# Arrived at Axum +narrative_event = { + id = SoA.5098 + title = EVTNAME_SoA_5098 + desc = EVTDESC_SoA_5098 + picture = GFX_evt_market_byzantine + border = GFX_event_narrative_frame_religion + + is_triggered_only = yes + + option = { + name = EVTOPTA_SoA_5098 + hidden_tooltip = { character_event = { id = SoA.5055 days = 5 } } + } +} + +# Arrived at Antioch +narrative_event = { + id = SoA.5099 + title = EVTNAME_SoA_5099 + desc = EVTDESC_SoA_5099 + picture = GFX_evt_market_byzantine + border = GFX_event_narrative_frame_religion + + is_triggered_only = yes + + option = { + name = EVTOPTA_SoA_5099 + hidden_tooltip = { character_event = { id = SoA.5055 days = 5 } } + } +} + +########################################### +# # +# Events occurring at pilgrimage # +# destination # +# # +# ID SoA.5055-SoA.5080 # +# # +########################################### + +# Hidden event that selects what interesting things will happen at destination +character_event = { + id = SoA.5055 + + hide_window = yes + + is_triggered_only = yes + + immediate = { + random_list = { + 10 = { + if = { + limit = { NOT = { trait = cynical } } + character_event = { id = SoA.5056 } # Stimulated to learning + } + if = { + limit = { trait = cynical } + random_list = { + 20 = { character_event = { id = SoA.5057 } } # Strong religious experience + 10 = { character_event = { id = SoA.5058 } } # Disappointed in the place + 20 = { character_event = { id = SoA.5060 } } # Learns things of the world - cosmopolitan + 20 = { character_event = { id = SoA.5061 } } # Generally impressed + } + } + } + 10 = { + if = { + limit = { + OR = { + trait = mastermind_theologian + trait = scholarly_theologian + } + } + character_event = { id = SoA.5059 } # Mastermind theologian impresses everyone + } + if = { + limit = { + NOT = { trait = mastermind_theologian } + NOT = { trait = scholarly_theologian } + } + random_list = { + 20 = { character_event = { id = SoA.5057 } } # Strong religious experience + 10 = { character_event = { id = SoA.5058 } } # Disappointed in the place + 20 = { character_event = { id = SoA.5060 } } # Learns things of the world - cosmopolitan + 20 = { character_event = { id = SoA.5061 } } # Generally impressed + } + } + } + 10 = { + if = { + limit = { trait = lustful } + character_event = { id = SoA.5062 } # Lustful tourist having fun + } + if = { + limit = { NOT = { trait = lustful } } + random_list = { + 20 = { character_event = { id = SoA.5057 } } # Strong religious experience + 10 = { character_event = { id = SoA.5058 } } # Disappointed in the place + 20 = { character_event = { id = SoA.5060 } } # Learns things of the world - cosmopolitan + 20 = { character_event = { id = SoA.5061 } } # Generally impressed + } + } + } + 10 = { + if = { + limit = { trait = homosexual } + character_event = { id = SoA.5063 } # Freedom + } + if = { + limit = { NOT = { trait = homosexual } } + random_list = { + 20 = { character_event = { id = SoA.5057 } } # Strong religious experience + 10 = { character_event = { id = SoA.5058 } } # Disappointed in the place + 20 = { character_event = { id = SoA.5060 } } # Learns things of the world - cosmopolitan + 20 = { character_event = { id = SoA.5061 } } # Generally impressed + } + } + } + 10 = { # Monks cure pilgrim of disease - attributed to God's hand? + if = { + limit = { + OR = { + is_ill = yes + trait = pneumonic + trait = syphilitic + has_disease_trigger = yes + AND = { + has_symptom_trigger = yes + has_character_flag = developing_illness + } + } + } + narrative_event = { id = SoA.5064 } + } + if = { + limit = { + NOT = { + OR = { + is_ill = yes + trait = pneumonic + trait = syphilitic + } + } + } + random_list = { + 20 = { character_event = { id = SoA.5057 } } # Strong religious experience + 10 = { character_event = { id = SoA.5058 } } # Disappointed in the place + 20 = { character_event = { id = SoA.5060 } } # Learns things of the world - cosmopolitan + 20 = { character_event = { id = SoA.5061 } } # Generally impressed + } + } + } + 10 = { + if = { + limit = { + OR = { + trait = lunatic + trait = possessed + } + } + character_event = { id = SoA.5065 } # Lunatic/possessed decides (s)he is God + } + if = { + limit = { + NOT = { + OR = { + trait = lunatic + trait = possessed + } + } + } + random_list = { + 20 = { character_event = { id = SoA.5057 } } # Strong religious experience + 10 = { character_event = { id = SoA.5058 } } # Disappointed in the place + 20 = { character_event = { id = SoA.5060 } } # Learns things of the world - cosmopolitan + 20 = { character_event = { id = SoA.5061 } } # Generally impressed + } + } + } + 10 = { + if = { + limit = { + OR = { + trait = drunkard + trait = hedonist + } + } + character_event = { id = SoA.5066 } # Drunkard/hedonist event + } + if = { + limit = { + NOT = { + OR = { + trait = drunkard + trait = hedonist + } + } + } + random_list = { + 20 = { character_event = { id = SoA.5057 } } # Strong religious experience + 10 = { character_event = { id = SoA.5058 } } # Disappointed in the place + 20 = { character_event = { id = SoA.5060 } } # Learns things of the world - cosmopolitan + 20 = { character_event = { id = SoA.5061 } } # Generally impressed + } + } + } + 10 = { # Impressed by Islam or Judaism (Jerusalem only) + if = { + limit = { has_character_flag = pilgrimage_to_jerusalem } + character_event = { id = SoA.5067 } + } + if = { + limit = { + NOT = { has_character_flag = pilgrimage_to_jerusalem } + } + random_list = { + 20 = { character_event = { id = SoA.5057 } } # Strong religious experience + 10 = { character_event = { id = SoA.5058 } } # Disappointed in the place + 20 = { character_event = { id = SoA.5060 } } # Learns things of the world - cosmopolitan + 20 = { character_event = { id = SoA.5061 } } # Generally impressed + } + } + } + } + } +} + +# Stimulated to theological learning +character_event = { + id = SoA.5056 + desc = EVTDESC_SoA_5056 + picture = GFX_evt_library + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + option = { + name = EVTOPTA_SoA_5056 + if = { + limit = { NOT = { lifestyle_traits = 1 } } + add_trait = scholar + } + if = { + limit = { NOT = { trait = zealous } } + random = { + chance = 20 + add_trait = zealous + hidden_tooltip = { + character_event = { + id = 38269 #Notify Zealous + } + } + } + } + hidden_tooltip = { character_event = { id = SoA.5090 days = 10 } } # Stay a little longer then go home + } + option = { + name = EVTOPTB_SoA_5056 + piety = 30 + hidden_tooltip = { character_event = { id = SoA.5090 days = 10 } } # Stay a little longer then go home + } +} + +# Strong religious experience +character_event = { + id = SoA.5057 + desc = EVTDESC_SoA_5057 + picture = GFX_evt_knight_kneeling + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + option = { + name = EVTOPTA_SoA_5057 + if = { + limit = { NOT = { trait = zealous } } + add_trait = zealous + } + hidden_tooltip = { character_event = { id = SoA.5090 days = 10 } } # Stay a little longer then go home + } +} + +# Disappointed in the place +character_event = { + id = SoA.5058 + desc = EVTDESC_SoA_5058 + picture = GFX_evt_bishop + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + option = { + name = EVTOPTA_SoA_5058 + if = { + limit = { NOT = { trait = cynical } } + add_trait = cynical + } + clr_character_flag = good_pilgrimage + clr_character_flag = abominable_pilgrimage + set_character_flag = bad_pilgrimage + hidden_tooltip = { character_event = { id = SoA.5090 days = 10 } } # Stay a little longer then go home + } +} + +# Mastermind theologian impresses everyone +character_event = { + id = SoA.5059 + desc = EVTDESC_SoA_5059 + picture = GFX_evt_heretic + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + option = { + name = EVTOPTA_SoA_5059 + prestige = 30 + hidden_tooltip = { character_event = { id = SoA.5090 days = 10 } } # Stay a little longer then go home + } +} + +# Learns things of the big world - cosmopolitan experience +character_event = { + id = SoA.5060 + desc = EVTDESC_SoA_5060 + picture = GFX_evt_market + + is_triggered_only = yes + + option = { + name = EVTOPTA_SoA_5060 + random_list = { + 15 = { change_learning = 1 } + 15 = { change_intrigue = 1 } + 70 = {} + } + hidden_tooltip = { character_event = { id = SoA.5090 days = 10 } } # Stay a little longer then go home + } + option = { + name = EVTOPTB_SoA_5060 + if = { + limit = { NOT = { trait = gregarious } } + random = { + chance = 50 + add_trait = gregarious + hidden_tooltip = { + character_event = { + id = 38265 #Notify Gregarious + } + } + } + } + if = { + limit = { trait = gregarious } + random = { + chance = 20 + change_diplomacy = 1 + } + } + hidden_tooltip = { character_event = { id = SoA.5090 days = 10 } } # Stay a little longer then go home + } +} + +# Generally impressed +character_event = { + id = SoA.5061 + desc = EVTDESC_SoA_5061 + picture = GFX_evt_bishop + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + option = { + name = EVTOPTA_SoA_5061 + piety = 20 + hidden_tooltip = { character_event = { id = SoA.5090 days = 10 } } # Stay a little longer then go home + } +} + +# Lustful character enjoys freedom far from home +character_event = { + id = SoA.5062 + desc = EVTDESC_SoA_5062 + picture = GFX_evt_lovers + + is_triggered_only = yes + + option = { + name = EVTOPTA_SoA_5062 # Let's go! + if = { + limit = { + is_female = yes + NOT = { trait = homosexual } + } + random = { + chance = 50 + custom_tooltip = { + text = becomes_pregnant_no_father + hidden_tooltip = { impregnate = 0 } + } + clr_character_flag = good_pilgrimage + clr_character_flag = abominable_pilgrimage + set_character_flag = bad_pilgrimage + } + } + + + if = { + limit = { NOT = { trait = syphilitic } } + random = { + chance = 5 + add_trait = syphilitic + clr_character_flag = good_pilgrimage + clr_character_flag = abominable_pilgrimage + set_character_flag = bad_pilgrimage + } + } + hidden_tooltip = { character_event = { id = SoA.5090 days = 10 } } # Stay a little longer then go home + } + option = { + name = EVTOPTB_SoA_5062 # Control yourself + piety = 10 + if = { + limit = { NOT = { trait = chaste } } + random = { + chance = 40 + add_trait = chaste + hidden_tooltip = { + character_event = { + id = 38274 #Notify Chaste + } + } + } + } + hidden_tooltip = { character_event = { id = SoA.5090 days = 10 } } # Stay a little longer then go home + } +} + +# Homosexual character enjoys freedom far from home +character_event = { + id = SoA.5063 + desc = EVTDESC_SoA_5063 + picture = GFX_evt_feast + + is_triggered_only = yes + + option = { + name = EVTOPTA_SoA_5063 # Do it + if = { + limit = { trait = stressed } + remove_trait = stressed + } + hidden_tooltip = { character_event = { id = SoA.5090 days = 10 } } # Stay a little longer then go home + } + option = { + name = EVTOPTB_SoA_5063 # Don't do it + if = { + limit = { NOT = { trait = stressed } } + add_trait = stressed + } + if = { + limit = { NOT = { trait = zealous } } + random = { + chance = 20 + add_trait = zealous + hidden_tooltip = { + character_event = { + id = 38269 #Notify Zealous + } + } + } + } + hidden_tooltip = { character_event = { id = SoA.5090 days = 10 } } # Stay a little longer then go home + } +} + +# Monks cure pilgrim of disease - pilgrim attributes it to God's hand +narrative_event = { + id = SoA.5064 + title = EVTNAME_SoA_5064 + desc = EVTDESC_SoA_5064 + picture = GFX_evt_monastery_monks + border = GFX_event_narrative_frame_religion + + is_triggered_only = yes + + option = { + name = EVTOPTA_SoA_5064 + ai_chance = { + factor = 70 + } + if = { + limit = { has_disease_trigger = no } + set_character_flag = pilgrim_blessing + add_character_modifier = { + name = blessing_of_health + duration = -1 + } + } + if = { + limit = { trait = wounded } + remove_trait = wounded + } + if = { + limit = { has_disease_trigger = yes } + remove_disease_trait_effect = yes + } + if = { + limit = { NOT = { trait = zealous } } + add_trait = zealous + } + hidden_tooltip = { character_event = { id = SoA.5090 days = 10 } } # Stay a little longer then go home + } + option = { + name = EVTOPTB_SoA_5064 + ai_chance = { + factor = 20 + } + if = { + limit = { has_disease_trigger = no } + set_character_flag = pilgrim_blessing + add_character_modifier = { + name = blessing_of_health + duration = -1 + } + } + if = { + limit = { trait = wounded } + remove_trait = wounded + } + if = { + limit = { has_disease_trigger = yes } + remove_disease_trait_effect = yes + } + if = { + limit = { NOT = { trait = cynical } } + add_trait = cynical + } + hidden_tooltip = { character_event = { id = SoA.5090 days = 10 } } # Stay a little longer then go home + } + option = { + name = EVTOPTC_SoA_5064 + trigger = { + NOT = { lifestyle_traits = 1 } + NOT = { has_dlc = "Way of Life" } + } + ai_chance = { + factor = 10 + } + if = { + limit = { has_disease_trigger = no } + set_character_flag = pilgrim_blessing + add_character_modifier = { + name = blessing_of_health + duration = -1 + } + } + if = { + limit = { trait = wounded } + remove_trait = wounded + } + if = { + limit = { has_disease_trigger = yes } + remove_disease_trait_effect = yes + } + add_trait = mystic + hidden_tooltip = { character_event = { id = SoA.5090 days = 10 } } # Stay a little longer then go home + } +} + +# Blessing of health cures disease after having visited the monks +character_event = { + id = SoA.5068 + desc = EVTDESC_TOG_7015 # copied from Ancestor's blessing event + picture = GFX_evt_monastery_monks + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + trigger = { + has_disease_trigger = yes + } + + option = { + name = EVTOPTA_SoA_5064 + remove_disease_trait_effect = yes + remove_character_modifier = blessing_of_health + + if = { + limit = { trait = cynical } + remove_trait = cynical + } + clr_character_flag = pilgrim_blessing + } +} + +# Lunatic/possessed pilgrim decides (s)he is God +character_event = { + id = SoA.5065 + desc = EVTDESC_SoA_5065 + picture = GFX_evt_lunatic + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + option = { + name = EVTOPTA_SoA_5065 + ai_chance = { + factor = 10 + } + hidden_tooltip = { character_event = { id = SoA.5080 } } # Results of speaking to the masses + hidden_tooltip = { character_event = { id = SoA.5090 days = 10 } } # Stay a little longer then go home + } + option = { + name = EVTOPTB_SoA_5065 + ai_chance = { + factor = 90 + } + hidden_tooltip = { character_event = { id = SoA.5090 days = 10 } } # Stay a little longer then go home + } +} + +# Drunkard/hedonist at holy site +character_event = { + id = SoA.5066 + desc = EVTDESC_SoA_5066 + picture = GFX_evt_feast + + is_triggered_only = yes + + option = { + name = EVTOPTA_SoA_5066 + ai_chance = { + factor = 80 + } + if = { + limit = { + NOT = { lifestyle_traits = 1 } + NOT = { has_dlc = "Way of Life" } + } + random = { + chance = 30 + add_trait = hedonist + } + } + if = { + limit = { NOT = { trait = drunkard } } + random = { + chance = 30 + add_trait = drunkard + hidden_tooltip = { + character_event = { + id = 38286 #Notify Drunkard + } + } + } + } + add_character_modifier = { + name = good_times + days = 730 + } + hidden_tooltip = { character_event = { id = SoA.5090 days = 10 } } # Stay a little longer then go home + } + option = { + name = EVTOPTB_SoA_5066 + ai_chance = { + factor = 20 + } + piety = 10 + if = { + limit = { NOT = { trait = stressed } } + random = { + chance = 30 + add_trait = stressed + hidden_tooltip = { + character_event = { + id = 38282 #Notify Stressed + } + } + } + } + hidden_tooltip = { character_event = { id = SoA.5090 days = 10 } } # Stay a little longer then go home + } +} + +# Impressed by Islam or Judaism (Jerusalem only) +character_event = { + id = SoA.5067 + desc = EVTDESC_SoA_5067 + picture = GFX_evt_imam + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + option = { + name = EVTOPTA_SoA_5067 + if = { + limit = { trait = zealous } + remove_trait = zealous + } + add_trait = sympathy_islam + hidden_tooltip = { character_event = { id = SoA.5090 days = 10 } } # Stay a little longer then go home + } + option = { + name = EVTOPTB_SoA_5067 + if = { + limit = { trait = zealous } + remove_trait = zealous + } + add_trait = sympathy_judaism + hidden_tooltip = { character_event = { id = SoA.5090 days = 10 } } # Stay a little longer then go home + } +} + +# Self-styled God speaks to the masses - consequences +character_event = { + id = SoA.5080 + desc = EVTDESC_SoA_5080 + picture = GFX_evt_lunatic + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + option = { + name = EVTOPTA_SoA_5080 + prestige = -10 + clr_character_flag = good_pilgrimage + clr_character_flag = bad_pilgrimage + set_character_flag = abominable_pilgrimage + if = { + limit = { NOT = { trait = lunatic } } + add_trait = lunatic + } + if = { + limit = { NOT = { trait = wroth } } + random = { + chance = 50 + add_trait = wroth + hidden_tooltip = { + character_event = { + days = 2 + id = 38254 #Notify Wroth + } + } + } + } + } +} + + +########################################### +# # +# Homecoming # +# # +# ID SoA5090-SoA5093 # +# # +########################################### + +# Event checking result of pilgrimage and sending us on to the respective homecoming event +character_event = { + id = SoA.5090 + + hide_window = yes + + is_triggered_only = yes + + immediate = { + if = { + limit = { has_character_flag = good_pilgrimage } + character_event = { id = SoA.5091 } + } + if = { + limit = { has_character_flag = bad_pilgrimage } + character_event = { id = SoA.5092 } + } + if = { + limit = { has_character_flag = abominable_pilgrimage } + character_event = { id = SoA.5093 } + } + if = { + limit = { + has_quest = quest_monastic_order_pilgrimage_christian + } + character_event = { id = MNM.4020 days = 1} + } + } +} + +# Good pilgrimage +character_event = { + id = SoA.5091 + desc = EVTDESC_SoA_5091 + picture = GFX_evt_castle_construction + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + immediate = { + if = { + limit = { + ai = no + NOT = { has_character_flag = achievement_pilgrim } + } + set_character_flag = achievement_pilgrim + } + } + + option = { + name = EVTOPTA_SoA_5091 + clr_character_flag = pilgrimage_to_canterbury + clr_character_flag = pilgrimage_to_jerusalem + clr_character_flag = pilgrimage_to_koln + clr_character_flag = pilgrimage_to_rome + clr_character_flag = pilgrimage_to_santiago + clr_character_flag = pilgrimage_to_constantinople + clr_character_flag = pilgrimage_to_axum + clr_character_flag = pilgrimage_to_antioch + clr_character_flag = good_pilgrimage + clr_character_flag = do_not_disturb + add_trait = pilgrim + hidden_tooltip = { remove_trait = on_pilgrimage } + piety = 30 + } +} + +# Disappointing pilgrimage +character_event = { + id = SoA.5092 + desc = EVTDESC_SoA_5092 + picture = GFX_evt_castle_construction + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + immediate = { + if = { + limit = { + ai = no + NOT = { has_character_flag = achievement_pilgrim } + } + set_character_flag = achievement_pilgrim + } + } + + option = { + name = EVTOPTA_SoA_5092 + clr_character_flag = pilgrimage_to_canterbury + clr_character_flag = pilgrimage_to_jerusalem + clr_character_flag = pilgrimage_to_koln + clr_character_flag = pilgrimage_to_rome + clr_character_flag = pilgrimage_to_santiago + clr_character_flag = pilgrimage_to_constantinople + clr_character_flag = pilgrimage_to_axum + clr_character_flag = pilgrimage_to_antioch + clr_character_flag = bad_pilgrimage + clr_character_flag = do_not_disturb + add_trait = pilgrim + hidden_tooltip = { remove_trait = on_pilgrimage } + piety = -10 + if = { + limit = { NOT = { trait = cynical } } + random = { + chance = 20 + add_trait = cynical + hidden_tooltip = { + character_event = { + id = 38258 #Notify Cynical + } + } + } + } + } +} + +# Abominable pilgrimage - very unusual outcome +character_event = { + id = SoA.5093 + desc = EVTDESC_SoA_5093 + picture = GFX_evt_lunatic + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + immediate = { + if = { + limit = { + ai = no + NOT = { has_character_flag = achievement_pilgrim } + } + set_character_flag = achievement_pilgrim + } + } + + option = { + name = EVTOPTA_SoA_5093 + clr_character_flag = pilgrimage_to_canterbury + clr_character_flag = pilgrimage_to_jerusalem + clr_character_flag = pilgrimage_to_koln + clr_character_flag = pilgrimage_to_rome + clr_character_flag = pilgrimage_to_santiago + clr_character_flag = pilgrimage_to_constantinople + clr_character_flag = pilgrimage_to_axum + clr_character_flag = pilgrimage_to_antioch + clr_character_flag = abominable_pilgrimage + clr_character_flag = do_not_disturb + add_trait = pilgrim + hidden_tooltip = { remove_trait = on_pilgrimage } + piety = -100 + } +} \ No newline at end of file diff --git a/LCDA/events/religious_events.txt b/LCDA/events/religious_events.txt new file mode 100644 index 0000000..2d95105 --- /dev/null +++ b/LCDA/events/religious_events.txt @@ -0,0 +1,6314 @@ +################################### +# +# Events for Religion +# +# Id 39000 - 39999 is reserved +# +################################### + +# Written by Henrik Fåhraeus, Johan Andersson & Niklas Strid + +######################################## +# HERESIES +######################################## + +# Heresy appears out of "nowhere" +province_event = { + id = 39000 + desc = "EVTDESC39000" + picture = "GFX_evt_stone_church" + border = "GFX_event_normal_frame_religion" + + lacks_dlc = "Sons of Abraham" + + trigger = { + is_heretic = no + has_heresies = yes + NOT = { province_id = 333 } # Rome + NOT = { province_id = 497 } # Thrace + NOT = { province_id = 719 } # Mecca + } + + mean_time_to_happen = { + months = 9600 + modifier = { + factor = 2.0 + religion_authority = 0.6 + } + modifier = { + factor = 2.0 + religion_authority = 0.8 + } + modifier = { + factor = 2 + has_game_rule = { + name = religious_conversion + value = slower + } + } + modifier = { + factor = 0.75 + NOT = { religion_authority = 0.2 } + } + modifier = { + factor = 0.75 + NOT = { religion_authority = 0.4 } + } + } + + immediate = { + become_heretic = yes + set_province_flag = heresy_in_province + add_province_modifier = { + name = religious_unrest + duration = 730 + } + owner = { + if = { + limit = { ai = no } + chronicle = { + entry = CHRONICLE_HERESY_SPREAD + picture = GFX_evt_heretic + } + } + } + owner = { + any_liege = { + if = { + limit = { ai = no } + chronicle = { + entry = CHRONICLE_HERESY_SPREAD + picture = GFX_evt_heretic + } + } + } + } + } + + option = { + name = { + text = "EVTOPTA39000" + trigger = { owner = { NOT = { religion = ROOT } } } + } + name = { + text = "EVTOPTB39000" + trigger = { owner = { religion = ROOT } } + } + if = { + limit = { + ruler = { is_parent_religion = ROOT } + } + ruler = { piety = -10 } + } + if = { + limit = { + owner = { + top_liege = { + NOT = { + any_realm_province = { + religion = ROOT + has_province_modifier = heretic_stronghold + } + } + } + } + } + add_province_modifier = { + name = heretic_stronghold + duration = 3650 + } + } + # News spread + hidden_tooltip = { + owner = { + top_liege = { + if = { + limit = { + NOT = { character = PREV } + } + character_event = { id = 39400 days = 2 } + } + any_vassal = { + limit = { + OR = { + is_parent_religion = ROOT + religion = ROOT + } + } + character_event = { id = 39400 days = 2 } + } + } + } + } + } +} + +# News spread in realm +character_event = { + id = 39400 + desc = "EVTDESC39400" + picture = GFX_evt_heretic + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + option = { + name = "EVTOPTA39400" + trigger = { + NOT = { religion = FROM } + religion_group = FROM + } + } + option = { + name = "EXCELLENT" + trigger = { + religion = FROM + } + } + option = { + name = "EVTOPTB39400" + trigger = { + NOT = { religion_group = FROM } + } + } +} + +# Pope disappointed about allowing heresy +character_event = { + id = 39401 + desc = "EVTDESC39401" + picture = GFX_evt_heretic + border = GFX_event_normal_frame_religion + + min_age = 16 + only_playable = yes + only_men = yes + lacks_dlc = "Sons of Abraham" + religion_group = christian + + trigger = { + controls_religion = yes + OR = { + religion = catholic + religion = fraticelli + } + + any_playable_ruler = { + religion = ROOT + any_demesne_province = { + religion_group = christian + is_heretic = yes + has_province_flag = heresy_in_province + NOT = { has_province_modifier = religious_unrest } + owner = { + NOT = { + any_courtier = { + location = { + province_id = PREVPREVPREV + } + has_job_action = action_inquisition + } + } + } + } + } + } + + mean_time_to_happen = { + months = 12 + } + + option = { + name = "EVTOPTA39401" + random_playable_ruler = { + limit = { + religion = ROOT + any_demesne_province = { + religion_group = christian + is_heretic = yes + has_province_flag = heresy_in_province + NOT = { has_province_modifier = religious_unrest } + } + } + random_demesne_province = { + limit = { + religion_group = christian + is_heretic = yes + has_province_flag = heresy_in_province + NOT = { has_province_modifier = religious_unrest } + } + clr_province_flag = heresy_in_province + province_event = { id = 39402 days = 1 } + } + } + } +} + +# Message from the Pope +province_event = { + id = 39402 + desc = "EVTDESC39402" + picture = GFX_evt_pope + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + option = { + name = "EVTOPTA39402" + owner = { + religion_head = { + opinion = { + modifier = pope_disappointed_over_heretic_province + who = PREV + months = 60 + } + } + } + } +} + +# Pope urges to root out heresy in province +character_event = { + id = 39403 + desc = "EVTDESC39403" + picture = GFX_evt_heretic + border = GFX_event_normal_frame_religion + + min_age = 16 + only_playable = yes + only_men = yes + lacks_dlc = "Sons of Abraham" + religion_group = christian + + trigger = { + controls_religion = yes + OR = { + religion = catholic + religion = fraticelli + } + + any_playable_ruler = { + religion = ROOT + any_demesne_province = { + religion_group = christian + is_heretic = yes + owner = { + NOT = { + any_courtier = { + location = { + province_id = PREVPREVPREV + } + has_job_action = action_inquisition + } + } + } + } + } + } + + mean_time_to_happen = { + months = 12 + } + + option = { + name = "EVTOPTA39403" + random_playable_ruler = { + limit = { + religion = ROOT + any_demesne_province = { + religion_group = christian + is_heretic = yes + } + } + random_demesne_province = { + limit = { + religion_group = christian + is_heretic = yes + } + province_event = { id = 39404 days = 1 } + } + } + } +} + +# Message from the Pope +province_event = { + id = 39404 + desc = "EVTDESC39404" + picture = GFX_evt_pope + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + option = { + name = "EVTOPTA39404" + add_province_modifier = { + name = force_converting + duration = 365 + } + owner = { piety = 10 } + } + option = { + name = "EVTOPTB39404" + owner = { piety = -50 } + } +} + +# Pope learns that a catholic ruler has a heretic advisor +character_event = { + id = 39410 + desc = "EVTDESC39410" + picture = GFX_evt_heretic + border = GFX_event_normal_frame_religion + + min_age = 16 + only_playable = yes + only_men = yes + lacks_dlc = "Sons of Abraham" + religion_group = christian + + trigger = { + controls_religion = yes + OR = { + religion = catholic + religion = fraticelli + } + + any_playable_ruler = { + religion = ROOT + rightful_religious_head = ROOT + any_courtier = { + prisoner = no + religion_group = christian + is_heretic = yes + OR = { + has_job_title = job_chancellor + has_job_title = job_marshal + has_job_title = job_treasurer + has_job_title = job_spymaster + has_job_title = job_spiritual + } + } + } + } + + mean_time_to_happen = { + months = 50 + modifier = { + factor = 0.25 + trait = zealous + } + } + + option = { + name = "EVTOPTA39410" + random_playable_ruler = { + limit = { + religion = ROOT + rightful_religious_head = ROOT + any_courtier = { + prisoner = no + religion_group = christian + is_heretic = yes + OR = { + has_job_title = job_chancellor + has_job_title = job_marshal + has_job_title = job_treasurer + has_job_title = job_spymaster + has_job_title = job_spiritual + } + } + } + letter_event = { id = 39441 days = 7 } + } + } +} + +# Letter from the pope +letter_event = { + id = 39441 + desc = "EVTDESC39441" + border = GFX_event_letter_frame_religion + + is_triggered_only = yes + + immediate = { + random_courtier = { + limit = { + prisoner = no + religion_group = christian + is_heretic = yes + OR = { + has_job_title = job_chancellor + has_job_title = job_marshal + has_job_title = job_treasurer + has_job_title = job_spymaster + has_job_title = job_spiritual + } + } + set_character_flag = heretic_to_target + } + } + + option = { + name = "EVTOPTA39441" # Imprison + ai_chance = { + factor = 90 + } + random_courtier = { + limit = { has_character_flag = heretic_to_target } + clr_character_flag = heretic_to_target + imprison = yes + } + if = { + limit = { + FROM = { + NOT = { + has_opinion_modifier = { + modifier = pope_heretic_removal_approve + who = ROOT + } + } + } + } + FROM = { + opinion = { + modifier = pope_heretic_removal_approve + who = ROOT + months = 36 + } + } + } + } + option = { + name = "EVTOPTB39441" #Ignore Pope + ai_chance = { + factor = 10 + modifier = { + factor = 0 + NOT = { + trait = cynical + trait = excommunicated + } + } + } + FROM = { + opinion = { + modifier = pope_heretic_removal_disapprove + who = ROOT + months = 36 + } + } + random_courtier = { + limit = { has_character_flag = heretic_to_target } + clr_character_flag = heretic_to_target + opinion = { + modifier = opinion_defended_me + who = ROOT + years = 5 + } + } + piety = -50 + } +} + +# Vassal disappointed in liege having heretic advisor +character_event = { + id = 39445 + desc = "EVTDESC39445" + picture = GFX_evt_spymaster + border = GFX_event_normal_frame_religion + + min_age = 16 + only_capable = yes + prisoner = no + only_rulers = yes + religion_group = christian + lacks_dlc = "Sons of Abraham" + + trigger = { + independent = no + is_heretic = no + + liege = { + religion = ROOT + + any_courtier = { + is_heretic = yes + religion_group = christian + prisoner = no + is_councillor = yes + } + + ROOT = { + NOT = { has_opinion_modifier = { who = PREV modifier = opinion_disappointed } } + } + } + } + + mean_time_to_happen = { + months = 120 + modifier = { + factor = 0.25 + trait = zealous + } + modifier = { + factor = 2.0 + trait = cynical + } + } + + option = { + name = "EVTOPTA39445" + hidden_tooltip = { + liege = { letter_event = { id = 39446 } } + } + } + option = { + name = "EVTOPTB39445" + } +} + +# Vassal lets the liege know about his disappointment +letter_event = { + id = 39446 + desc = "EVTDESC39446" + border = GFX_event_letter_frame_religion + + is_triggered_only = yes + + option = { + name = "EVTOPTA39446" + FROM = { + opinion = { + modifier = opinion_disappointed + who = ROOT + years = 5 + } + } + } +} + +# Heresy spreads to a neighboring province +province_event = { + id = 39001 + desc = "EVTDESC39001" + picture = "GFX_evt_stone_church" + border = "GFX_event_normal_frame_religion" + + lacks_dlc = "Sons of Abraham" + + trigger = { + is_heretic = no + has_heresies = yes + owner = { is_heretic = no } + NOT = { province_id = 333 } # Rome + NOT = { province_id = 497 } # Thrace + NOT = { province_id = 719 } # Mecca + + any_neighbor_province = { + has_owner = yes + is_heresy_of = ROOT + } + } + + mean_time_to_happen = { + months = 1200 + modifier = { + factor = 2.0 + religion_authority = 0.6 + } + modifier = { + factor = 2.0 + religion_authority = 0.8 + } + modifier = { + factor = 2 + has_game_rule = { + name = religious_conversion + value = slower + } + } + modifier = { + factor = 0.75 + NOT = { religion_authority = 0.2 } + } + modifier = { + factor = 0.75 + NOT = { religion_authority = 0.4 } + } + modifier = { + factor = 0.75 + any_neighbor_province = { + has_owner = yes + is_heresy_of = ROOT + ROOT = { + any_neighbor_province = { + is_heresy_of = ROOT + NOT = { province_id = PREVPREV } + } + } + } + } + modifier = { + factor = 0.5 + any_neighbor_province = { + has_owner = yes + is_heresy_of = ROOT + has_province_modifier = heretic_stronghold + } + } + } + + immediate = { + random_neighbor_province = { + limit = { + is_heresy_of = ROOT + } + reverse_religion = ROOT + } + } + + option = { + name = "EVTOPTA39001" + if = { + limit = { + ruler = { is_parent_religion = ROOT } + } + ruler = { piety = -10 } + } + } +} + +# Character picks up the provincial heresy +character_event = { + id = 39010 + desc = "EVTDESC39010" + picture = GFX_evt_heretic + border = "GFX_event_normal_frame_religion" + + min_age = 16 + capable_only = yes + prisoner = no + lacks_dlc = "Sons of Abraham" + + trigger = { + is_heretic = no + OR = { + is_ruler = no + is_theocracy = no + } + location = { + is_heresy_of = ROOT + } + + can_change_religion = yes + NOT = { is_inaccessible_trigger = yes } + } + + mean_time_to_happen = { + months = 360 + modifier = { + factor = 0.25 + trait = cynical + } + modifier = { + factor = 5.0 + trait = zealous + } + modifier = { + factor = 2.0 + religion_authority = 0.6 + } + modifier = { + factor = 2.0 + religion_authority = 0.8 + } + modifier = { + factor = 0.75 + NOT = { religion_authority = 0.2 } + } + modifier = { + factor = 0.75 + NOT = { religion_authority = 0.4 } + } + } + + option = { + name = "EVTOPTA39010" + ai_chance = { factor = 100 } + location = { + reverse_religion = ROOT + } + } + option = { + name = "EVTOPTB39010" + ai_chance = { factor = 0 } + } +} + +# Heretic character attempts to spread the faith +character_event = { + id = 39020 + desc = "EVTDESC39020" + picture = GFX_evt_heretic + border = "GFX_event_normal_frame_religion" + + min_age = 16 + capable_only = yes + prisoner = no + lacks_dlc = "Sons of Abraham" + + trigger = { + is_ruler = no + + is_heretic = yes + employer = { + NOT = { religion = ROOT } + } + any_courtier = { + age = 16 + is_parent_religion = ROOT + is_heretic = no + prisoner = no + NOT = { trait = incapable } + reverse_opinion = { who = ROOT value = 25 } + } + } + + mean_time_to_happen = { + months = 120 + modifier = { + factor = 10.0 + trait = cynical + } + modifier = { + factor = 0.25 + trait = zealous + } + modifier = { + factor = 0.5 + trait = diligent + } + modifier = { + factor = 3.0 + trait = slothful + } + modifier = { + factor = 2.0 + NOT = { religion_authority = 0.2 } + } + modifier = { + factor = 2.0 + NOT = { religion_authority = 0.4 } + } + modifier = { + factor = 0.75 + religion_authority = 0.6 + } + modifier = { + factor = 0.75 + religion_authority = 0.8 + } + } + + option = { + name = "EVTOPTA39020" + random_courtier = { + limit = { + age = 16 + is_parent_religion = ROOT + is_heretic = no + prisoner = no + NOT = { trait = incapable } + reverse_opinion = { who = ROOT value = 25 } + } + character_event = { id = 39021 tooltip = EVTTOOLTIP39021 } + } + } +} + +# A heretic character approaches me +character_event = { + id = 39021 + desc = "EVTDESC39021" + picture = GFX_evt_heretic + border = "GFX_event_normal_frame_religion" + + is_triggered_only = yes + + option = { + name = "EVTOPTA39021" # Embrace the heresy + ai_chance = { + factor = 25 + modifier = { + factor = 0.5 + independent = yes + } + modifier = { + factor = 0.25 + tier = KING + } + modifier = { + factor = 0.25 + tier = EMPEROR + } + } + hidden_tooltip = { + FROM = { character_event = { id = 39022 days = 4 } } + } + religion = FROM + } + option = { + name = "EVTOPTB39021" # Demand abandonment of heresy + tooltip_info = diplomacy + trigger = { + is_liege_of = FROM + diplomacy = 6 + } + ai_chance = { factor = 25 } + hidden_tooltip = { + FROM = { character_event = { id = 39023 days = 3 } } + } + } + option = { + name = "EVTOPTC39021" # Have the heretic jailed! + #tooltip_info = + trigger = { + is_liege_of = FROM + OR = { + trait = wroth + trait = zealous + trait = lunatic + } + OR = { + NOT = { is_close_relative = FROM } + trait = lunatic + } + } + ai_chance = { + factor = 25 + modifier = { + factor = 10 + trait = zealous + } + } + piety = 10 + hidden_tooltip = { + FROM = { character_event = { id = 39024 days = 2 } } + } + } + option = { + name = "EVTOPTD39021" # Just say no + ai_chance = { factor = 25 } + hidden_tooltip = { + FROM = { character_event = { id = 39025 days = 4 } } + } + } +} + +# The heretic succeeded +character_event = { + id = 39022 + desc = "EVTDESC39022" + picture = GFX_evt_heretic + border = "GFX_event_normal_frame_religion" + + is_triggered_only = yes + + option = { + name = "EVTOPTA39022" # Good news! + piety = 10 + opinion = { + modifier = opinion_successful_conversion + who = FROM + years = 5 + } + } +} + +# The heretic is asked to abandon the heresy +character_event = { + id = 39023 + desc = "EVTDESC39023" + picture = GFX_evt_heretic + border = "GFX_event_normal_frame_religion" + + is_triggered_only = yes + + option = { + name = "EVTOPTA39023" # Never! + hidden_tooltip = { + FROM = { character_event = { id = 39025 days = 4 } } + } + } + option = { + name = "EVTOPTB39023" # Very well + religion = FROM + hidden_tooltip = { + FROM = { character_event = { id = 39026 days = 4 } } + } + } +} + +# Guards come to arrest the heretic +character_event = { + id = 39024 + desc = "EVTDESC39024" + picture = GFX_evt_heretic + border = "GFX_event_normal_frame_religion" + + is_triggered_only = yes + + option = { + name = "EVTOPTA39024" # Accept judgement + opinion = { + modifier = opinion_betrayed + who = FROM + years = 10 + } + imprison = FROM + } + option = { + name = "EVTOPTB39024" # Attempt to escape + tooltip_info = intrigue + trigger = { + intrigue = 6 + } + opinion = { + modifier = opinion_betrayed + who = FROM + years = 10 + } + random_list = { + 67 = { imprison = FROM } + 33 = { banish = yes } + } + } +} + +# One character failed to convert the other +character_event = { + id = 39025 + desc = "EVTDESC39025" + picture = GFX_evt_heretic + border = "GFX_event_normal_frame_religion" + + is_triggered_only = yes + + option = { + name = "EVTOPTA39025" + opinion = { + modifier = opinion_failed_conversion + who = FROM + years = 2 + } + } +} + +# The heretic accepts reconversion +character_event = { + id = 39026 + desc = "EVTDESC39026" + picture = GFX_evt_heretic + border = "GFX_event_normal_frame_religion" + + is_triggered_only = yes + + option = { + name = "EVTOPTA39026" + piety = 10 + opinion = { + modifier = opinion_successful_conversion + who = FROM + years = 5 + } + } +} + + +######################################## +# Formation of the Orders +######################################## + +# Formation of the Knights of St John +narrative_event = { + id = 39100 + title = "EVTNAME39100" + desc = "EVTDESC39100" + picture = "GFX_evt_crusaders" + border = "GFX_event_narrative_frame_religion" + + major = yes + only_playable = yes + only_men = yes + religion_group = christian + has_global_flag = christian_crusades_unlocked + + trigger = { + OR = { + religion = catholic + religion = cathar + religion = fraticelli + religion = waldensian + religion = lollard + } + is_heretic = no + + NOT = { is_title_active = d_knights_hospitaler } + + + OR = { + year = 1113 # Historical + 221 = { # Provence + NOT = { owner = { religion_group = christian } } + } + 214 = { # Toulouse + NOT = { owner = { religion_group = christian } } + } + 112 = { # Paris + NOT = { owner = { religion_group = christian } } + } + 119 = { # Cologne + NOT = { owner = { religion_group = christian } } + } + 257 = { # Braunschweig + NOT = { owner = { religion_group = christian } } + } + e_byzantium = { + holder_scope = { + NOT = { religion_group = christian } + } + } + 496 = { # Constantinople + NOT = { owner = { religion_group = christian } } + } + 753 = { # Ancyra + NOT = { owner = { religion_group = christian } } + } + 333 = { # Rome + NOT = { owner = { religion_group = christian } } + } + AND = { + 482 = { # Athens + NOT = { owner = { religion_group = christian } } + } + 481 = { # Corinth + NOT = { owner = { religion_group = christian } } + } + } + } + } + + mean_time_to_happen = { + months = 4 + } + + immediate = { + activate_title = { title = d_knights_hospitaler status = yes } + create_random_soldier = { + dynasty = none + random_traits = yes + religion = ROOT + } + new_character = { + d_knights_hospitaler = { + grant_title = PREV + } + set_defacto_liege = THIS + wealth = 500 + set_government_type = feudal_government + } + + religion_authority = { + modifier = religious_order_formed + years = 10 + } + } + option = { + name = "EVTOPTA39100" + trigger = { + religion = ROOT + } + } + option = { + name = "EVTOPTB39100" + trigger = { + NOT = { religion_group = christian } + } + } + option = { + name = "EVTOPTC39100" + trigger = { + religion_group = christian + NOT = { religion = ROOT } + } + } +} + +# Formation of the Knights Templar +narrative_event = { + id = 39101 + title = "EVTNAME39101" + desc = "EVTDESC39101" + picture = "GFX_evt_crusaders" + border = "GFX_event_narrative_frame_religion" + + major = yes + only_playable = yes + only_men = yes + religion_group = christian + has_global_flag = christian_crusades_unlocked + + trigger = { + OR = { + religion = catholic + religion = cathar + religion = fraticelli + religion = waldensian + religion = lollard + } + is_heretic = no + + NOT = { year = 1312 } + NOT = { is_title_active = d_knights_templar } + + + OR = { + year = 1118 # Historical + + e_byzantium = { + holder_scope = { + NOT = { religion_group = christian } + } + } + 496 = { # Constantinople + NOT = { owner = { religion_group = christian } } + } + 753 = { # Ancyra + NOT = { owner = { religion_group = christian } } + } + 333 = { # Rome + NOT = { owner = { religion_group = christian } } + } + AND = { + 482 = { # Athens + NOT = { owner = { religion_group = christian } } + } + 481 = { # Corinth + NOT = { owner = { religion_group = christian } } + } + } + } + } + + mean_time_to_happen = { + months = 4 + } + + immediate = { + activate_title = { title = d_knights_templar status = yes } + create_random_soldier = { + dynasty = none + random_traits = yes + religion = ROOT + } + new_character = { + d_knights_templar = { + grant_title = PREV + } + set_defacto_liege = THIS + wealth = 600 + set_government_type = feudal_government + } + + religion_authority = { + modifier = religious_order_formed + years = 10 + } + } + option = { + name = "EVTOPTA39101" + trigger = { + religion = ROOT + } + } + option = { + name = "EVTOPTB39101" + trigger = { + NOT = { religion_group = christian } + } + } + option = { + name = "EVTOPTC39100" + trigger = { + religion_group = christian + NOT = { religion = ROOT } + } + } +} + +# Formation of the Teutonic Order +narrative_event = { + id = 39102 + title = "EVTNAME39102" + desc = "EVTDESC39102" + picture = "GFX_evt_crusaders" + border = "GFX_event_narrative_frame_religion" + + major = yes + only_playable = yes + only_men = yes + religion_group = christian + has_global_flag = christian_crusades_unlocked + + trigger = { + OR = { + religion = catholic + religion = cathar + religion = fraticelli + religion = waldensian + religion = lollard + } + is_heretic = no + + NOT = { is_title_active = d_teutonic_order } + + OR = { + year = 1192 # Historical + 221 = { # Provence + NOT = { owner = { religion_group = christian } } + } + 214 = { # Toulouse + NOT = { owner = { religion_group = christian } } + } + 112 = { # Paris + NOT = { owner = { religion_group = christian } } + } + 119 = { # Cologne + NOT = { owner = { religion_group = christian } } + } + 257 = { # Braunschweig + NOT = { owner = { religion_group = christian } } + } + } + } + + mean_time_to_happen = { + months = 4 + } + + immediate = { + activate_title = { title = d_teutonic_order status = yes } + create_random_soldier = { + dynasty = none + random_traits = yes + religion = ROOT + } + new_character = { + d_teutonic_order = { + grant_title = PREV + } + set_defacto_liege = THIS + wealth = 500 + set_government_type = feudal_government + } + + religion_authority = { + modifier = religious_order_formed + years = 10 + } + } + option = { + name = "EVTOPTA39102" + trigger = { + religion = ROOT + } + } + option = { + name = "EVTOPTB39102" + trigger = { + NOT = { religion_group = christian } + } + } + option = { + name = "EVTOPTC39100" + trigger = { + religion_group = christian + NOT = { religion = ROOT } + } + } +} + +######################################## +# PAPAL EVENTS +######################################## + +# The Pope gives money to someone fighting the Infidel +character_event = { + id = 39200 + desc = "EVTDESC39200" + picture = "GFX_evt_battle" + border = "GFX_event_normal_frame_religion" + + min_age = 16 + only_playable = yes + religion_group = christian + war = no + + trigger = { + controls_religion = yes + OR = { + religion = catholic + religion = fraticelli + } + + wealth = 500 + any_playable_ruler = { + religion = ROOT + NOT = { wealth = 500 } + religion_head = { + character = ROOT + } + NOT = { excommunicated_for = ROOT } + any_current_enemy = { + NOT = { religion_group = PREV } + } + NOT = { war_with = ROOT } + reverse_opinion = { who = ROOT value = 0 } + OR = { + NOT = { has_character_flag = money_from_the_pope } + OR = { + had_character_flag = { flag = money_from_the_pope days = 730 } + AND = { + ai = yes + had_character_flag = { flag = money_from_the_pope days = 365 } + any_war = { + using_cb = religious + OR = { + attacker = { + character = PREVPREV + NOT = { war_score = -15 } + } + defender = { + character = PREVPREV + war_score = 15 + } + } + } + } + } + } + } + } + + mean_time_to_happen = { + months = 60 + modifier = { + factor = 0.5 + wealth = 1000 + } + modifier = { + factor = 0.5 + wealth = 2000 + } + } + + option = { + name = "EVTOPTA39200" + ai_chance = { factor = 100 } + wealth = -200 + + random_playable_ruler = { + limit = { + religion = ROOT + NOT = { wealth = 500 } + religion_head = { + character = ROOT + } + NOT = { excommunicated_for = ROOT } + any_current_enemy = { + NOT = { religion_group = PREV } + } + NOT = { war_with = ROOT } + reverse_opinion = { + who = ROOT + value = 0 + } + } + + letter_event = { id = 39201 tooltip = EVTTOOLTIP39201 } + } + } + + option = { + name = "EVTOPTB39200" + ai_chance = { factor = 0 } + } +} + +letter_event = { + id = 39201 + desc = "EVTDESC39201" + border = "GFX_event_letter_frame_religion" + + is_triggered_only = yes + + option = { + name = "EVTOPTA39201" + wealth = 200 + set_character_flag = money_from_the_pope + } +} + + + +#Pope offers absolution for Kinslaying +character_event = { + id = 39210 + desc = "EVTDESC39210" + picture = GFX_evt_pope + border = "GFX_event_normal_frame_religion" + + min_age = 16 + only_capable = yes + prisoner = no + only_playable = yes + religion_group = christian + war = no + + trigger = { + controls_religion = yes + OR = { + religion = catholic + religion = fraticelli + } + + any_independent_ruler = { + religion = ROOT + rightful_religious_head = ROOT + trait = kinslayer + piety = 100 + reverse_opinion = { who = ROOT value = 0 } + NOT = { has_character_flag = kinslaying_offered } + } + } + + mean_time_to_happen = { + months = 24 + } + immediate = { + random_independent_ruler = { + limit = { + religion = ROOT + rightful_religious_head = ROOT + trait = kinslayer + piety = 100 + reverse_opinion = { who = ROOT value = 0 } + } + set_character_flag = kinslaying_offered + } + } + + option = { + name = "EVTOPTA39210" + ai_chance = { factor = 100 } + + random_independent_ruler = { + limit = { + religion = ROOT + rightful_religious_head = ROOT + trait = kinslayer + piety = 100 + reverse_opinion = { who = ROOT value = 0 } + } + + character_event = { id = 39211 tooltip = EVTTOOLTIP39211 } + } + } + + option = { + name = "EVTOPTB39210" #incase someone plays the pope.. players will mod it in, so might as well give them a fun option here.. + ai_chance = { factor = 0 } + } +} + + +character_event = { + id = 39211 + desc = "EVTDESC39211" + picture = GFX_evt_pope + border = "GFX_event_normal_frame_religion" + + is_triggered_only = yes + + option = { + name = "EVTOPTA39211" + ai_chance = { factor = 100 } + piety = -100 + wealth = -50 + remove_trait = kinslayer + FROM = { character_event = { id = 39212 days = 1 tooltip = EVTTOOLTIP39212 } } + } + + option = { + name = "EVTOPTB39211" + ai_chance = { factor = 0 } + add_trait = cynical + FROM = { character_event = { id = 39213 days = 1 tooltip = EVTTOOLTIP39213 } } + } +} + + +character_event = { + id = 39212 + desc = "EVTDESC39212" + picture = GFX_evt_knight_kneeling + border = "GFX_event_normal_frame_religion" + + is_triggered_only = yes + option = { + name = "EVTOPTA39212" + prestige = 10 + } +} + + +character_event = { + id = 39213 + desc = "EVTDESC39213" + picture = GFX_evt_torture + border = "GFX_event_normal_frame_religion" + + is_triggered_only = yes + + option = { + name = "EVTOPTA39213" + prestige = -10 + } +} + + +######################################## +#Bishops don't like being in prison events... +######################################## + +#CATHOLIC CHAIN +character_event = { + id = 39220 + desc = "EVTDESC39220" #Bishops in prison whine to pope.. + picture = GFX_evt_into_the_dungeon + border = "GFX_event_normal_frame_religion" + + min_age = 16 + only_men = yes + only_playable = yes + religion_group = christian + + trigger = { + OR = { + religion = catholic + religion = fraticelli + } + prisoner = yes + is_theocracy = yes + imprisoned_days = 14 + host = { religion = ROOT } + NOT = { rightful_religious_head = ROOT } + religion_head = { + reverse_opinion = { who = ROOT value = 25 } #not grovel if we dont like the pope. + } + NOT = { + has_character_flag = nag_pope_to_help_me + } + } + + mean_time_to_happen = { + days = 180 + modifier = { + factor = 0.90 + trait = ambitious + } + modifier = { + factor = 0.50 + trait = zealous + } + modifier = { + factor = 0.75 + piety = 25 + } + modifier = { + factor = 0.75 + religion_head = { + reverse_opinion = { who = ROOT value = 25 } + } + } + } + + immediate = { + set_character_flag = nag_pope_to_help_me + } + + + option = { + name = "EVTOPTA39220" # Write a letter to the pope. + religion_head = { character_event = { id = 39221 days = 5 random = 10 tooltip = EVTTOOLTIP39221 } } + if = { + limit = { + host = { realm_intrigue = 15 } + } + random = { + chance = 25 + host = { character_event = { id = 39222 days = 3 tooltip = EVTTOOLTIP39222 } } + } + } + + } + option = { + name = "EVTOPTB39220" # Pray for Divine Help + piety = 10 + hidden_tooltip = { + host = { character_event = { id = 39223 days = 5 } } + } + } +} + +#Pope gets letter. +character_event = { + id = 39221 + desc = "EVTDESC39221" + picture = GFX_evt_into_the_dungeon + border = "GFX_event_normal_frame_religion" + + is_triggered_only = yes + + option = { + name = "EVTOPTA39221" #try to help bishop + from = { + character_event = { id = 39224 days = 5 random = 10 tooltip = EVTTOOLTIP39224 } + } + prestige = 5 + } + option = { + name = "EVTOPTB39221" #not my problem + ai_chance = { + factor = 0 + } + from = { + character_event = { id = 39225 days = 5 random = 10 tooltip = EVTTOOLTIP39225 } + } + religion_authority = { + modifier = head_of_religion_neglect + years = 10 + } + prestige = -5 + } +} + + +#We discover bishop writing to pope +character_event = { + id = 39222 + desc = "EVTDESC39222" + picture = GFX_evt_recieve_letter + border = "GFX_event_normal_frame_religion" + + is_triggered_only = yes + + option = { + name = "EVTOPTA39222" #kill + #tooltip_info = + trigger = { + OR = { + trait = cruel + trait = impaler + trait = wroth + } + } + piety = -50 + FROM = { + death = { + death_reason = death_execution + killer = ROOT + } + } + } + option = { + name = "EVTOPTB39222" #this is bad news + trigger = { + NOT = { trait = cruel } + NOT = { trait = impaler } + NOT = { trait = wroth } + } + piety = -5 + } +} + +#pious bishop praying for it.. +character_event = { + id = 39223 + desc = "EVTDESC39223" + picture = GFX_evt_into_the_dungeon + border = "GFX_event_normal_frame_religion" + + is_triggered_only = yes + + option = { + name = "EVTOPTA39223" #kind and release him + trigger = { + NOT = { trait = cruel } + NOT = { trait = impaler } + NOT = { trait = wroth } + NOT = { trait = cynical } + + } + ai_chance = { + factor = 1 + modifier = { + factor = 100 + trait = kind + } + } + piety = 10 + FROM = { + prisoner = no + clr_character_flag = nag_pope_to_help_me + } + } + option = { + name = "EVTOPTB39223" #nopes + ai_chance = { + factor = 10 + } + piety = -5 + } +} + +#bishop hears pope is helping him. +character_event = { + id = 39224 + desc = "EVTDESC39224" + picture = GFX_evt_pope + border = "GFX_event_normal_frame_religion" + + is_triggered_only = yes + + immediate = { + host = { character_event = { id = 39226 days = 1 random = 2 tooltip = EVTTOOLTIP39226 } } + } + option = { + name = "EVTOPTA39224" #good news + piety = 1 + } +} + +#bad news, pope tells you no +character_event = { + id = 39225 + desc = "EVTDESC39225" + picture = GFX_evt_knight_kneeling + border = "GFX_event_normal_frame_religion" + + is_triggered_only = yes + + option = { + name = "EVTOPTA39225" #bad news + piety = -5 + opinion = { + modifier = opinion_disappointed + who = FROM + years = 2 + } + } +} + +#deal with papal demands +character_event = { + id = 39226 + desc = "EVTDESC39226" + picture = GFX_evt_pope + border = "GFX_event_normal_frame_religion" + + is_triggered_only = yes + + option = { + name = "EVTOPTA39226" #let him go + ai_chance = { + factor = 1 + modifier = { + factor = 100 + trait = kind + } + } + FROM = { + prisoner = no + clr_character_flag = nag_pope_to_help_me + } + piety = 10 + religion_authority = { + modifier = ruler_bowed_to_pope + years = 10 + } + } + option = { + name = "EVTOPTB39226" #no + trigger = { + NOT = { + trait = zealous + } + } + ai_chance = { + factor = 2 + modifier = { + factor = 20 + NOT = { + opinion = { who = FROM value = 20 } + } + } + } + piety = -25 + religion_authority = { + modifier = ruler_defied_pope + years = 10 + } + religion_head = { + opinion = { + modifier = opinion_ignore_papal_demands + who = ROOT + years = 2 + } + } + + } +} + +#ORTHODOX +character_event = { + id = 39230 + desc = "EVTDESC39230" #Orthodox & We got a bishop in jail. + picture = GFX_evt_heretic + border = GFX_event_normal_frame_religion + + religion = orthodox + + is_triggered_only = yes + + trigger = { + in_command = no + num_of_prisoners = 1 + religion_authority = 0.02 + any_courtier = { + prisoner = yes + demesne_size = 1 + is_theocracy = yes + religion = orthodox + imprisoned_days = 100 + host = { character = ROOT } + } + } + + weight_multiplier = { + factor = 1 + modifier = { + factor = 1.5 + trait = zealous + } + modifier = { + factor = 1.5 + trait = just + } + modifier = { + factor = 1.5 + religion_authority = 0.25 + } + modifier = { + factor = 1.5 + religion_authority = 0.50 + } + } + + option = { + name = "EVTOPTA39230" #let him go + + random_courtier = { + limit = { + prisoner = yes + demesne_size = 1 + religion = orthodox + imprisoned_days = 100 + is_theocracy = yes + host = { character = ROOT } + } + prisoner = no + } + religion_authority = { + modifier = ruler_bowed_to_patriarch + years = 10 + } + piety = 10 + } + + option = { + name = "EVTOPTB39230" #refuse + piety = -25 + prestige = -25 + religion_authority = { + modifier = ruler_defied_patriarch + years = 10 + } + } + + +} + + +######################################################################## +#Religious Head does not like it when you have heathens in your employ +######################################################################## + +character_event = { + id = 39240 + desc = "EVTDESC39240" #Pope asks a ruler that they should not have heathens employed. + picture = GFX_evt_heretic + border = GFX_event_normal_frame_religion + + min_age = 16 + only_capable = yes + prisoner = no + only_men = yes + only_playable = yes + religion_group = christian + war = no + + trigger = { + controls_religion = yes + OR = { + religion = catholic + religion = fraticelli + } + + religion_authority = 0.20 + + any_playable_ruler = { + religion = ROOT + rightful_religious_head = ROOT + NOT = { has_character_flag = pope_dislikes_heathen_employed } + any_courtier = { + prisoner = no + OR = { + religion_group = muslim + religion_group = pagan_group + } + OR = { + has_job_title = job_chancellor + has_job_title = job_marshal + has_job_title = job_treasurer + has_job_title = job_spymaster + has_job_title = job_spiritual + } + } + } + } + + mean_time_to_happen = { + months = 50 + modifier = { + factor = 0.25 + trait = zealous + } + } + + option = { + name = "EVTOPTA39240" #ask them + ai_chance = { factor = 100 } + random_playable_ruler = { + limit = { + religion = ROOT + rightful_religious_head = ROOT + NOT = { has_character_flag = pope_dislikes_heathen_employed } + + any_courtier = { + prisoner = no + OR = { + religion_group = muslim + religion_group = pagan_group + } + OR = { + has_job_title = job_chancellor + has_job_title = job_marshal + has_job_title = job_treasurer + has_job_title = job_spymaster + has_job_title = job_spiritual + } + } + } + character_event = { id = 39241 days = 14 tooltip = EVTTOOLTIP392401 } + set_character_flag = pope_dislikes_heathen_employed + } + } + + option = { + name = "EVTOPTB39240" #ignore it. + ai_chance = { factor = 0 } + religion_authority = { + modifier = head_of_religion_neglect + years = 10 + } + } +} + +#Demands is coming on us about +character_event = { + id = 39241 + desc = "EVTDESC39241" + picture = GFX_evt_emissary + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + immediate = { + random_courtier = { + limit = { + prisoner = no + OR = { + religion_group = muslim + religion_group = pagan_group + } + OR = { + has_job_title = job_chancellor + has_job_title = job_marshal + has_job_title = job_treasurer + has_job_title = job_spymaster + has_job_title = job_spiritual + } + } + set_character_flag = heathen_to_target + } + } + + option = { + name = "EVTOPTB39241" #imprison + tooltip_info = intrigue + trigger = { + realm_intrigue = 15 + } + random_courtier = { + limit = { has_character_flag = heathen_to_target } + clr_character_flag = heathen_to_target + imprison = yes + } + FROM = { + opinion = { + modifier = pope_heathen_removal_approve_2 + who = ROOT + months = 36 + } + } + hidden_tooltip = { + FROM = { character_event = { id = 39243 days = 1 } } + } + clr_character_flag = pope_dislikes_heathen_employed + } + option = { + name = "EVTOPTC39241" #Ignore Pope + ai_chance = { + factor = 1 + modifier = { + factor = 0 + NOT = { + trait = cynical + trait = excommunicated + } + } + } + FROM = { + opinion = { + modifier = opinion_ignore_papal_demands + who = ROOT + months = 60 + } + } + random_courtier = { + limit = { has_character_flag = heathen_to_target } + clr_character_flag = heathen_to_target + + opinion = { + modifier = opinion_defended_me + who = ROOT + years = 5 + } + } + piety = -50 + hidden_tooltip = { + FROM = { character_event = { id = 39244 days = 1 } } + } + } +} + +#they imprisoned the heathen +character_event = { + id = 39243 + desc = "EVTDESC39243" + picture = GFX_evt_into_the_dungeon + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + option = { + name = "EVTOPTA39243" + prestige = 5 + } +} + +#they ignored us. +character_event = { + id = 39244 + desc = "EVTDESC39244" + picture = GFX_evt_emissary + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + option = { + name = "EVTOPTA39244" + prestige = -10 + } +} + +#Orthodox variant + +#The Patriarch asks a ruler that they should not have heathens employed +character_event = { + id = 39260 + desc = "EVTDESC39260" + picture = GFX_evt_heretic + border = GFX_event_normal_frame_religion + + only_playable = yes + min_age = 16 + only_capable = yes + prisoner = no + only_men = yes + religion = orthodox + war = no + + trigger = { + controls_religion = yes + religion_authority = 0.20 + + any_playable_ruler = { + religion = orthodox + rightful_religious_head = ROOT + NOT = { has_character_flag = patriarch_dislikes_heathen_employed } + any_courtier = { + prisoner = no + OR = { + religion_group = muslim + religion_group = pagan_group + } + OR = { + has_job_title = job_chancellor + has_job_title = job_marshal + has_job_title = job_treasurer + has_job_title = job_spymaster + has_job_title = job_spiritual + } + } + } + } + + mean_time_to_happen = { + months = 50 + modifier = { + factor = 0.25 + trait = zealous + } + } + + option = { + name = "EVTOPTA39260" #ask them + ai_chance = { factor = 100 } + random_playable_ruler = { + limit = { + religion = orthodox + rightful_religious_head = ROOT + NOT = { has_character_flag = patriach_dislikes_heathen_employed } + + any_courtier = { + prisoner = no + OR = { + religion_group = muslim + religion_group = pagan_group + } + OR = { + has_job_title = job_chancellor + has_job_title = job_marshal + has_job_title = job_treasurer + has_job_title = job_spymaster + has_job_title = job_spiritual + } + } + } + character_event = { id = 39261 days = 14 tooltip = EVTTOOLTIP39261 } + set_character_flag = patriarch_dislikes_heathen_employed + } + } + + option = { + name = "EVTOPTB39260" #ignore it. + ai_chance = { factor = 0 } + religion_authority = { + modifier = head_of_religion_neglect + years = 10 + } + } +} + +#Demands is coming on us about +character_event = { + id = 39261 + desc = "EVTDESC39261" + picture = GFX_evt_throne_room + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + immediate = { + random_courtier = { + limit = { + prisoner = no + OR = { + religion_group = muslim + religion_group = pagan_group + } + OR = { + has_job_title = job_chancellor + has_job_title = job_marshal + has_job_title = job_treasurer + has_job_title = job_spymaster + has_job_title = job_spiritual + } + } + set_character_flag = heathen_to_target + } + } + + + option = { + name = "EVTOPTA39261" #banish + ai_chance = { + factor = 2 + } + random_courtier = { + limit = { has_character_flag = heathen_to_target } + clr_character_flag = heathen_to_target + banish = yes + } + + FROM = { + opinion = { + modifier = pope_heathen_removal_approve + who = ROOT + years = 5 + } + } + + hidden_tooltip = { + FROM = { character_event = { id = 39262 days = 1 } } + } + clr_character_flag = patriarch_dislikes_heathen_employed + } + option = { + name = "EVTOPTB39261" #imprison + tooltip_info = intrigue + trigger = { + realm_intrigue = 15 + } + random_courtier = { + limit = { has_character_flag = heathen_to_target } + clr_character_flag = heathen_to_target + imprison = yes + } + FROM = { + opinion = { + modifier = pope_heathen_removal_approve_2 + who = ROOT + years = 5 + } + } + hidden_tooltip = { + FROM = { character_event = { id = 39263 days = 1 } } + } + clr_character_flag = patriarch_dislikes_heathen_employed + } + option = { + name = "EVTOPTC39261" #Ignore the Patriarch + ai_chance = { + factor = 1 + modifier = { + factor = 0 + NOT = { + trait = cynical + } + } + } + FROM = { + opinion = { + modifier = opinion_ignore_patriarch_request + who = ROOT + years = 5 + } + } + + + random_courtier = { + limit = { has_character_flag = heathen_to_target } + clr_character_flag = heathen_to_target + + opinion = { + modifier = opinion_defended_me + who = ROOT + years = 5 + } + + } + piety = -50 + + hidden_tooltip = { + FROM = { character_event = { id = 39264 days = 1 } } + } + } +} + +#they banished the heathen +character_event = { + id = 39262 + desc = "EVTDESC39262" + picture = GFX_evt_emissary + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + option = { + name = "EVTOPTA39262" + prestige = 10 + } +} + +#they imprisoned the heathen +character_event = { + id = 39263 + desc = "EVTDESC39263" + picture = GFX_evt_into_the_dungeon + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + option = { + name = "EVTOPTA39263" + prestige = 5 + } +} + +#they ignored us +character_event = { + id = 39264 + desc = "EVTDESC39264" + picture = GFX_evt_spymaster + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + option = { + name = "EVTOPTA39264" + prestige = -10 + } +} + +############################################################### +# Interactions from decisions +############################################################### + +#Character purchases indulgence +character_event = { + id = 39250 + desc = "EVTDESC39250" + picture = GFX_evt_emissary + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + option = { + name = "EVTOPTA39250" + FROM = { + character_event = { id = 39251 days = 3 random = 7 tooltip = "EVTTOOLTIP39251" } + } + } +} + +#Character gets approval +character_event = { + id = 39251 + desc = "EVTDESC39251" + picture = GFX_evt_pope + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + option = { + name = "EVTOPTA39251" + trigger = { + reverse_opinion = { who = FROM value = 75 } + } + if = { + limit = { piety = 500 } + if = { + limit = { yearly_income = 25 } + scaled_wealth = -0.9 + } + if = { + limit = { NOT = { yearly_income = 25 } } + wealth = -25 + } + + piety = 50 + } + if = { + limit = { NOT = { piety = 500 } } + if = { + limit = { yearly_income = 25 } + scaled_wealth = -1.0 + } + if = { + limit = { NOT = { yearly_income= 25 } } + wealth = -25 + } + + piety = 50 + } + FROM = { + opinion = { + who = ROOT + modifier = bought_indulgences + years = 5 + } + } +# clr_character_flag = ask_for_indulgence + } + option = { + name = "EVTOPTA39251" + trigger = { + NOT = { reverse_opinion = { who = FROM value = 75 } } + reverse_opinion = { who = FROM value = 0 } + } + if = { + limit = { piety = 400 } + if = { + limit = { yearly_income = 25 } + scaled_wealth = -1.15 + } + if = { + limit = { NOT = { yearly_income = 25 } } + wealth = -25 + } + + piety = 50 + } + if = { + limit = { NOT = { piety = 400 } } + if = { + limit = { yearly_income = 25 } + scaled_wealth = -1.25 + } + if = { + limit = { NOT = { yearly_income = 25 } } + wealth = -25 + } + + piety = 50 + } + + FROM = { + opinion = { + who = ROOT + modifier = bought_indulgences + years = 5 + } + } +# clr_character_flag = ask_for_indulgence + } + option = { + name = "EVTOPTA39251" + trigger = { + NOT = { reverse_opinion = { who = FROM value = 0 } } + reverse_opinion = { who = FROM value = -75 } + } + + if = { + limit = { piety = 400 } + if = { + limit = { yearly_income = 25 } + scaled_wealth = -1.4 + } + if = { + limit = { NOT = { yearly_income = 25 } } + wealth = -25 + } + + piety = 50 + } + if = { + limit = { NOT = { piety = 400 } } + if = { + limit = { yearly_income = 25 } + scaled_wealth = -1.5 + } + if = { + limit = { NOT = { yearly_income = 25 } } + wealth = -25 + } + + piety = 50 + } + + FROM = { + opinion = { + who = ROOT + modifier = bought_indulgences + years = 5 + } + } +# clr_character_flag = ask_for_indulgence + } + option = { + name = "EVTOPTA39251" + trigger = { + NOT = { reverse_opinion = { who = FROM value = -75 } } + } + + if = { + limit = { piety = 400 } + if = { + limit = { yearly_income = 25 } + scaled_wealth = -1.65 + } + if = { + limit = { NOT = { yearly_income = 25 } } + wealth = -25 + } + + piety = 50 + } + if = { + limit = { NOT = { piety = 400 } } + if = { + limit = { yearly_income = 25 } + scaled_wealth = -1.75 + } + if = { + limit = { NOT = { yearly_income = 25 } } + wealth = -25 + } + + piety = 50 + } + + FROM = { + opinion = { + who = ROOT + modifier = bought_indulgences + years = 5 + } + } +# clr_character_flag = ask_for_indulgence + } + option = { + name = "EVTOPTB39251" + ai_chance = { factor = 0 } + FROM = { + opinion = { + who = FROM + modifier = refused_indulgences + years = 5 + } + } + clr_character_flag = ask_for_indulgence + } +} + +#Character purchases lift of excommunication +character_event = { + id = 39252 + desc = "EVTDESC39252" + picture = GFX_evt_emissary + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + option = { + name = "EVTOPTA39252" + FROM = { + character_event = { id = 39253 days = 3 random = 7 tooltip = "EVTTOOLTIP39253" } + } + } +} + +#Character gets approval +character_event = { + id = 39253 + desc = "EVTDESC39253" + picture = GFX_evt_pope + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + option = { + name = "EVTOPTA39253" + trigger = { + reverse_opinion = { who = FROM value = 75 } + } + if = { + limit = { piety = 500 } + scaled_wealth = -1.9 + excommunicate = no + } + if = { + limit = { NOT = { piety = 500 } } + scaled_wealth = -2.0 + excommunicate = no + } + FROM = { + opinion = { + who = ROOT + modifier = opinion_repented_sins + years = 10 + } + } + clr_character_flag = ask_for_repentance + } + option = { + name = "EVTOPTA39253" + trigger = { + NOT = { reverse_opinion = { who = FROM value = 75 } } + reverse_opinion = { who = FROM value = 0 } + } + if = { + limit = { piety = 400 } + scaled_wealth = -2.15 + excommunicate = no + } + if = { + limit = { NOT = { piety = 400 } } + scaled_wealth = -2.25 + excommunicate = no + } + FROM = { + opinion = { + who = ROOT + modifier = opinion_repented_sins + years = 10 + } + } + clr_character_flag = ask_for_repentance + } + option = { + name = "EVTOPTA39253" + trigger = { + NOT = { reverse_opinion = { who = FROM value = 0 } } + reverse_opinion = { who = FROM value = -75 } + } + if = { + limit = { piety = 400 } + scaled_wealth = -2.4 + excommunicate = no + } + if = { + limit = { NOT = { piety = 400 } } + scaled_wealth = -2.5 + excommunicate = no + } + FROM = { + opinion = { + who = ROOT + modifier = opinion_repented_sins + years = 10 + } + } + clr_character_flag = ask_for_repentance + } + option = { + name = "EVTOPTA39253" + trigger = { + NOT = { reverse_opinion = { who = FROM value = -75 } } + } + if = { + limit = { piety = 400 } + scaled_wealth = -2.65 + excommunicate = no + } + if = { + limit = { NOT = { piety = 400 } } + scaled_wealth = -2.75 + excommunicate = no + } + FROM = { + opinion = { + who = ROOT + modifier = opinion_repented_sins + years = 10 + } + } + clr_character_flag = ask_for_repentance + } + option = { + name = "EVTOPTB39253" + ai_chance = { factor = 0 } + FROM = { + opinion = { + who = FROM + modifier = refused_making_repentance + years = 5 + } + } + clr_character_flag = ask_for_repentance + } +} + +##################################################################################### +# You have a bishop as your vassal, and the the vassal likes you more than the pope. +##################################################################################### + +character_event = { + id = 39270 + desc = "EVTDESC39270" + picture = GFX_evt_bishop + border = GFX_event_normal_frame_religion + + min_age = 16 + only_capable = yes + prisoner = no + only_men = yes + only_playable = yes + religion_group = christian + war = no + + trigger = { + controls_religion = yes + OR = { + religion = catholic + religion = fraticelli + } + + religion_authority = 0.30 + prestige = 20 + + any_playable_ruler = { + independent = yes + religion = ROOT + rightful_religious_head = ROOT + OR = { + is_feudal = yes + is_tribal = yes + is_nomadic = yes + } + any_vassal = { + is_theocracy = yes + religion = ROOT + opinion = { who = liege value = 50 } + not = { opinion = { who = ROOT value = 20 } } + } + } + } + + mean_time_to_happen = { + months = 150 + modifier = { + factor = 0.33 + trait = zealous + } + } + + option = { + name = "EVTOPTA39270" #ask them + ai_chance = { factor = 100 } + random_playable_ruler = { + limit = { + religion = ROOT + rightful_religious_head = ROOT + OR = { + is_feudal = yes + is_tribal = yes + is_nomadic = yes + } + any_vassal = { + is_theocracy = yes + religion = ROOT + opinion = { who = liege value = 50 } + not = { opinion = { who = ROOT value = 20 } } + } + } + character_event = { id = 39271 tooltip = EVTTOOLTIP39271 } + } + } + + option = { + name = "EVTOPTB39270" #ignore it. + ai_chance = { factor = 0 } + religion_authority = { + modifier = head_of_religion_neglect + years = 10 + } + } +} + +#Demands is coming on us about +character_event = { + id = 39271 + desc = "EVTDESC39271" + picture = GFX_evt_bishop + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + immediate = { + random_vassal = { + limit = { + is_theocracy = yes + religion = ROOT + opinion = { who = liege value = 50 } + not = { opinion = { who = from value = 20 } } + } + set_character_flag = loyal_bishop + } + } + + + option = { + name = "EVTOPTA39271" #replace him. + ai_chance = { + factor = 1 + modifier = { + factor = 0 + any_vassal = { + has_character_flag = loyal_bishop + OR = { + demesne_size = 2 + any_demesne_title = { + NOT = { tier = baron } + } + } + } + } + modifier = { + factor = 2 + trait = zealous + } + } + random_vassal = { + limit = { has_character_flag = loyal_bishop } + clr_character_flag = loyal_bishop + any_demesne_title = { + grant_title = FROM + } + } + piety = 50 + + hidden_tooltip = { + FROM = { character_event = { id = 39272 days = 13 } } + } + } + option = { + name = "EVTOPTB39271" #Ignore the demand + ai_chance = { + factor = 1 + } + piety = -50 + hidden_tooltip = { + FROM = { character_event = { id = 39273 days = 13 } } + + random_vassal = { + limit = { has_character_flag = loyal_bishop } + clr_character_flag = loyal_bishop + } + } + } +} + +#This was good +character_event = { + id = 39272 + desc = "EVTDESC39272" + picture = GFX_evt_pope + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + option = { + name = "EVTOPTA39272" + prestige = 5 + } +} + +#This was bad +character_event = { + id = 39273 + desc = "EVTDESC39273" + picture = GFX_evt_spymaster + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + option = { + name = "EVTOPTA39273" + prestige = -20 + } +} + +#Give back bishoprics... +character_event = { + id = 39275 + desc = "EVTDESC39275" + picture = GFX_evt_bishop + border = GFX_event_normal_frame_religion + + min_age = 16 + only_capable = yes + prisoner = no + only_men = yes + only_playable = yes + war = no + religion_group = christian + + trigger = { + controls_religion = yes + OR = { + religion = catholic + religion = fraticelli + } + + any_vassal = { + tier = baron + is_theocracy = yes + opinion = { who = ROOT value = 75 } + NOT = { de_jure_liege = ROOT } + } + + + } + + mean_time_to_happen = { + months = 64 + } + + option = { + name = "EVTOPTA39275" + random_vassal = { + limit = { + tier = baron + is_theocracy = yes + opinion = { who = ROOT value = 75 } + NOT = { de_jure_liege = ROOT } + } + + dejure_liege_title = { + holder_scope = { + set_defacto_vassal = prevprev + } + } + hidden_tooltip = { + character_event = { id = 39276 } + } + } + } + + option = { + name = "EVTOPTB39275" #ignore it. + ai_chance = { factor = 0 } + prestige = -5 + } +} + + +#We get new liege +character_event = { + id = 39276 + desc = "EVTDESC39276" + picture = GFX_evt_pope + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + option = { + name = "EVTOPTA39276" + prestige = 5 + liege = { letter_event = { id = 39277 } } + } +} + +#Inform liege! +letter_event = { + id = 39277 + desc = "EVTDESC39277" + border = GFX_event_letter_frame_religion + + is_triggered_only = yes + + option = { + name = "EVTOPTA39277" + prestige = 5 + } +} + +############################################################### +#Orthodox flavour: Icons! +############################################################### +character_event = { + id = 39300 + desc = "EVTDESC39300" # Icon of Mary, Mother of God + picture = "GFX_evt_icon" + border = "GFX_event_normal_frame_religion" + + + min_age = 16 + only_playable = yes + prisoner = no + only_capable = yes + religion = orthodox + + trigger = { + is_heretic = no + NOT = { + has_character_flag = commisioned_icon + } + NOT = { trait = cynical } + } + + mean_time_to_happen = { + months = 600 + modifier = { + factor = 0.8 + trait = zealous + } + modifier = { + factor = 0.8 + piety = 100 + } + modifier = { + factor = 0.8 + trait = kind + } + } + option = { + name = "EVTOPTA39300" #Yes Please + scaled_wealth = -0.25 + change_intrigue = 1 + set_character_flag = commisioned_icon + } + option = { + name = "EVTOPTB39300" #No. + piety = -25 + if = { + limit = { trait = zealous } + remove_trait = zealous + } + } +} + +#Icon of Christ Pantocrator +character_event = { + id = 39301 + desc = "EVTDESC39301" + picture = "GFX_evt_icon" + border = "GFX_event_normal_frame_religion" + + min_age = 16 + only_playable = yes + prisoner = no + only_capable = yes + religion = orthodox + + trigger = { + is_heretic = no + NOT = { + has_character_flag = commisioned_icon + } + NOT = { trait = cynical } + } + + mean_time_to_happen = { + months = 600 + modifier = { + factor = 0.8 + trait = zealous + } + modifier = { + factor = 0.8 + piety = 100 + } + modifier = { + factor = 0.8 + trait = gregarious + } + + } + option = { + name = "EVTOPTA39301" #Yes Please + scaled_wealth = -0.25 + change_diplomacy = 1 + set_character_flag = commisioned_icon + } + option = { + name = "EVTOPTB39301" #No. + piety = -25 + if = { + limit = { trait = zealous } + remove_trait = zealous + } + } +} + +#Icon of St.Peter +character_event = { + id = 39302 + desc = "EVTDESC39302" + picture = "GFX_evt_icon" + border = "GFX_event_normal_frame_religion" + + min_age = 16 + only_playable = yes + prisoner = no + only_capable = yes + religion = orthodox + + trigger = { + is_heretic = no + NOT = { + has_character_flag = commisioned_icon + } + NOT = { trait = cynical } + } + + mean_time_to_happen = { + months = 600 + modifier = { + factor = 0.8 + trait = zealous + } + modifier = { + factor = 0.8 + piety = 100 + } + modifier = { + factor = 0.8 + trait = just + } + + } + option = { + name = "EVTOPTA39302" #Yes Please + scaled_wealth = -0.25 + change_stewardship = 1 + set_character_flag = commisioned_icon + } + option = { + name = "EVTOPTB39302" #No. + piety = -25 + if = { + limit = { trait = zealous } + remove_trait = zealous + } + } +} + +#Icon of John the Baptist +character_event = { + id = 39303 + desc = "EVTDESC39303" + picture = "GFX_evt_icon" + border = "GFX_event_normal_frame_religion" + + min_age = 16 + only_playable = yes + prisoner = no + only_capable = yes + religion = orthodox + + trigger = { + is_heretic = no + NOT = { + has_character_flag = commisioned_icon + } + NOT = { trait = cynical } + } + + mean_time_to_happen = { + months = 600 + modifier = { + factor = 0.8 + trait = zealous + } + modifier = { + factor = 0.8 + piety = 100 + } + modifier = { + factor = 0.8 + trait = patient + } + + } + option = { + name = "EVTOPTA39303" #Yes Please + scaled_wealth = -0.25 + change_learning = 1 + set_character_flag = commisioned_icon + } + option = { + name = "EVTOPTB39303" #No. + piety = -25 + if = { + limit = { trait = zealous } + remove_trait = zealous + } + } +} + +#Icon of Saint George +character_event = { + id = 39304 + desc = "EVTDESC39304" + picture = "GFX_evt_icon" + border = "GFX_event_normal_frame_religion" + + min_age = 16 + only_playable = yes + prisoner = no + only_capable = yes + religion = orthodox + + trigger = { + is_heretic = no + NOT = { + has_character_flag = commisioned_icon + } + NOT = { trait = cynical } + } + + mean_time_to_happen = { + months = 600 + modifier = { + factor = 0.8 + trait = zealous + } + modifier = { + factor = 0.8 + piety = 100 + } + } + option = { + name = "EVTOPTA39304" #Yes Please + scaled_wealth = -0.25 + change_martial = 1 + set_character_flag = commisioned_icon + } + option = { + name = "EVTOPTB39304" #No. + piety = -25 + if = { + limit = { trait = zealous } + remove_trait = zealous + } + } +} + + + +######################################## +# A True Knight of christendom. +######################################## + +#True Knight +character_event = { + id = 39310 + desc = "EVTDESC39310" + picture = GFX_evt_melee + border = "GFX_event_normal_frame_religion" + + min_age = 16 + only_capable = yes + only_men = yes + religion_group = christian + + trigger = { + is_heretic = no + NOT = { has_character_modifier = true_christian_knight } + NOT = { trait = cynical } + NOT = { trait = lustful } + NOT = { trait = gluttonous } + NOT = { trait = greedy } + NOT = { trait = slothful } + NOT = { trait = envious } + NOT = { trait = wroth } + NOT = { trait = proud } + NOT = { trait = cruel } + + martial = 8 + trait = humble + trait = diligent + trait = brave + + piety = 25 + + } + + mean_time_to_happen = { + months = 36 + modifier = { + factor = 0.75 + trait = zealous + } + modifier = { + factor = 0.75 + trait = crusader + } + modifier = { + factor = 0.75 + piety = 100 + } + } + option = { + name = "EVTOPTA39310" # + add_character_modifier = { name = true_christian_knight duration = -1 } + prestige = 50 + } + +} + +#Losing status +character_event = { + id = 39311 + desc = "EVTDESC39311" + picture = GFX_evt_knight_kneeling + border = "GFX_event_normal_frame_religion" + + min_age = 16 + only_men = yes + + trigger = { + has_character_modifier = true_christian_knight + OR = { + NOT = { religion_group = christian } + is_heretic = yes + trait = cynical + trait = lustful + trait = gluttonous + trait = greedy + trait = slothful + trait = envious + trait = wroth + trait = proud + trait = cruel + trait = craven + } + + } + + mean_time_to_happen = { + days = 5 + } + option = { + name = "EVTOPTA39311" # + remove_character_modifier = true_christian_knight + prestige = -50 + } +} + +# County population converts to Islam +province_event = { + id = 39500 + desc = "EVTDESC39500" + picture = "GFX_evt_bishop" + border = "GFX_event_normal_frame_religion" + + trigger = { + NOT = { religion_group = muslim } + owner = { + religion_group = muslim + top_liege = { religion_group = muslim } + } + } + + mean_time_to_happen = { + months = 3600 + modifier = { + factor = 0.5 + owner = { trait = zealous } + } + modifier = { + factor = 0.8 + religion_authority = 0.6 + } + modifier = { + factor = 0.8 + religion_authority = 0.7 + } + modifier = { + factor = 0.8 + religion_authority = 0.8 + } + modifier = { + factor = 0.8 + religion_authority = 0.9 + } + modifier = { + factor = 1.25 + NOT = { religion_authority = 0.5 } + } + modifier = { + factor = 1.25 + NOT = { religion_authority = 0.4 } + } + modifier = { + factor = 1.25 + NOT = { religion_authority = 0.3 } + } + modifier = { + factor = 1.25 + NOT = { religion_authority = 0.2 } + } + modifier = { + factor = 2.0 + owner = { trait = cynical } + } + modifier = { + factor = 2.0 + NOT = { + any_neighbor_province = { + has_owner = yes + religion = ROOT + } + } + } + modifier = { + factor = 3 + has_game_rule = { + name = religious_conversion + value = slower + } + } + } + + immediate = { + owner = { + ROOT = { + religion = PREV + } + } + } + + option = { + name = "EVTOPTA39500" + owner = { + piety = 10 + } + + hidden_tooltip = { + owner = { + top_liege = { + if = { + limit = { + NOT = { character = PREV } + } + character_event = { id = 39501 days = 1 } + } + any_vassal = { + limit = { + NOT = { character = PREVPREV } + higher_tier_than = baron + } + character_event = { id = 39501 days = 1 } + } + } + } + } + } +} + +# News of the conversion spreads in realm +character_event = { + id = 39501 + desc = EVTDESC39501 + picture = GFX_evt_bishop + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + notification = yes + + option = { + name = "EVTOPTA39501" + trigger = { + NOT = { religion = FROM } + } + } + option = { + name = "EVTOPTA39500" + trigger = { + religion = FROM + } + } +} + +########################## +### Proselytize Events ### +########################## + +# Preacher Arrives +character_event = { + id = 39600 + desc = EVTDESC39600 + picture = GFX_evt_heretic + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + option = { + name = EVTOPTA39600 # Throw the preacher in jail + ai_chance = { + factor = 2 + # Always allow them if you already like that religion + modifier = { + factor = 0 + FROM = { religion_group = christian } + trait = sympathy_christendom + } + modifier = { + factor = 0 + FROM = { religion_group = muslim } + trait = sympathy_islam + } + modifier = { + factor = 0 + FROM = { religion_group = jewish_group } + trait = sympathy_judaism + } + modifier = { + factor = 0 + FROM = { religion_group = zoroastrian_group } + trait = sympathy_zoroastrianism + } + modifier = { + factor = 0 + FROM = { religion_group = indian_group } + trait = sympathy_indian + } + } + + FROM = { + imprison = ROOT + liege = { + set_character_flag = ai_failed_mission # AI flag - used in the code + opinion = { + modifier = opinion_imprisoned_missionary + who = ROOT + } + hidden_tooltip = { + reverse_opinion = { + modifier = opinion_sent_preacher + who = ROOT + } + character_event = { id = 39605 days = 1 } + } + } + } + custom_tooltip = { text = preacher_imprisoned } + } + option = { + name = EVTOPTB39600 # Allow them to preach + ai_chance = { + factor = 1 + + # Traits + modifier = { + factor = 0.3 + trait = zealous + } + modifier = { + factor = 3 + trait = cynical + } + modifier = { + factor = 2 + trait = arbitrary + } + + # Personal + modifier = { + factor = 0.3 + FROM = { + is_rival = ROOT + } + } + modifier = { + factor = 1.5 + OR = { + any_spouse = { + religion = FROM + reverse_opinion = { who = ROOT value = 50 } + } + any_consort = { + religion = FROM + reverse_opinion = { who = ROOT value = 50 } + } + any_lover = { + religion = FROM + reverse_opinion = { who = ROOT value = 50 } + } + any_child = { + religion = FROM + reverse_opinion = { who = ROOT value = 50 } + } + } + } + + # Political + modifier = { + factor = 0.2 + any_vassal = { + religion = ROOT + controls_religion = yes + } + } + modifier = { + factor = 0.1 + any_war = { + using_cb = religious + attacker = { + character = ROOT + } + } + } + modifier = { + factor = 0.1 + any_war = { + using_cb = pagan_holy_war + attacker = { + character = ROOT + } + } + } + modifier = { + factor = 0.1 + any_war = { + using_cb = viking_invasion + attacker = { + character = ROOT + } + } + } + modifier = { + factor = 4 + any_war = { + using_cb = religious + defender = { + character = ROOT + } + } + } + modifier = { + factor = 4 + any_war = { + using_cb = crusade + defender = { + character = ROOT + } + } + } + modifier = { + factor = 2 + any_realm_province = { + religion = FROM + } + } + + # Historical + modifier = { + factor = 2 + NOT = { government = nomadic_government } # We're already adopting civilized ways... + NOT = { government = tribal_government } + } + modifier = { + factor = 0.2 + OR = { + culture = old_saxon + culture_group = baltic + culture_group = finno_ugric # The most stubborn pagans + } + + } + modifier = { + factor = 0.2 + culture_group = east_slavic # Like alcohol + FROM = { + religion_group = muslim + } + } + modifier = { + factor = 0.2 + culture_group = north_germanic # Vikings do like their alcohol + FROM = { + religion_group = muslim + } + } + + # Pragmatism + modifier = { + factor = 3 # Powerful rulers want a modern religion + tier = KING + realm_size = 12 + } + modifier = { + factor = 5 + is_reformed_religion = no + primary_title = { has_law = tribal_organization_4 } # Need it to reform government + capital_holding = { + OR = { + AND = { + location = { + port = yes + } + OR = { + AND = { + holding_type = tribal + has_building = tb_market_town_4 + } + holding_type = city + } + } + AND = { + holding_type = tribal + has_building = tb_hillfort_4 + } + holding_type = castle + } + } + } + modifier = { + factor = 0.2 + is_reformed_religion = no + OR = { + AND = { + any_realm_title = { + count = 3 + is_holy_site = ROOT # Close to reforming own religion instead + } + religion_authority = 0.4 + } + religion_authority = 0.65 # Just very high authority, doing well + } + } + modifier = { + factor = 2 + any_realm_province = { + any_neighbor_province = { + owner = { + top_liege = { + religion = FROM + relative_power = { who = ROOT power = 2.0 } # Powerful neighbor of that religion + } + } + } + } + } + modifier = { + factor = 0.2 + NOR = { + religion = tengri_pagan + religion = aztec + any_realm_province = { + any_neighbor_province = { + owner = { + top_liege = { + NAND = { + religion_group = pagan_group + is_reformed_religion = no + } + any_realm_province = { TECH_RECRUITMENT = 4 } # More cocky when pagan homeland attrition effect is active against neighbors + } + } + } + } + } + } + } + + FROM = { + liege = { + opinion = { + modifier = opinion_allowed_missionary + who = ROOT + } + } + hidden_tooltip = { + character_event = { id = 39612 days = 1 } + } + } + custom_tooltip = { text = preacher_allowed } + } +} + +# Convert? +character_event = { + id = 39601 + desc = EVTDESC39601 + picture = GFX_evt_heretic + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + option = { + name = EVTOPTA39601 + ai_chance = { + factor = 1 + # Traits + modifier = { + factor = 0.3 + trait = zealous + } + modifier = { + factor = 3 + trait = cynical + } + modifier = { + factor = 2 + trait = arbitrary + } + modifier = { + factor = 3 + FROM = { religion_group = christian } + trait = sympathy_christendom + } + modifier = { + factor = 3 + FROM = { religion_group = muslim } + trait = sympathy_islam + } + modifier = { + factor = 3 + FROM = { religion_group = jewish_group } + trait = sympathy_judaism + } + modifier = { + factor = 3 + FROM = { religion_group = zoroastrian_group } + trait = sympathy_zoroastrianism + } + modifier = { + factor = 3 + FROM = { religion_group = indian_group } + trait = sympathy_indian + } + + # Personal + modifier = { + factor = 0.3 + FROM = { + is_rival = ROOT + } + } + modifier = { + factor = 1.5 + OR = { + any_spouse = { + religion = FROM + reverse_opinion = { who = ROOT value = 50 } + } + any_consort = { + religion = FROM + reverse_opinion = { who = ROOT value = 50 } + } + any_lover = { + religion = FROM + reverse_opinion = { who = ROOT value = 50 } + } + any_child = { + religion = FROM + reverse_opinion = { who = ROOT value = 50 } + } + } + } + + # Political + modifier = { + factor = 0.2 + any_vassal = { + religion = ROOT + controls_religion = yes + } + } + modifier = { + factor = 0.1 + any_war = { + using_cb = religious + attacker = { + character = ROOT + } + } + } + modifier = { + factor = 0.1 + any_war = { + using_cb = pagan_holy_war + attacker = { + character = ROOT + } + } + } + modifier = { + factor = 0.1 + any_war = { + using_cb = viking_invasion + attacker = { + character = ROOT + } + } + } + modifier = { + factor = 4 + any_war = { + using_cb = religious + defender = { + character = ROOT + } + NOT = { war_score = 50 } + } + } + modifier = { + factor = 4 + any_war = { + using_cb = crusade + defender = { + character = ROOT + } + NOT = { war_score = 50 } + } + } + + # Historical + modifier = { + factor = 2 + NOT = { government = nomadic_government } # We're already adopting civilized ways... + NOT = { government = tribal_government } + } + modifier = { + factor = 0.2 + OR = { + culture_group = baltic + culture_group = finno_ugric # The most stubborn pagans + } + + } + modifier = { + factor = 0.2 + culture_group = east_slavic # Like alcohol + FROM = { + religion_group = muslim + } + } + modifier = { + factor = 0.2 + culture_group = north_germanic # Vikings do like their alcohol + FROM = { + religion_group = muslim + } + } + + # Pragmatism + modifier = { + factor = 3 # Powerful rulers want a modern religion + tier = KING + realm_size = 12 + } + modifier = { + factor = 5 + is_reformed_religion = no + primary_title = { has_law = tribal_organization_4 } # Need it to reform government + capital_holding = { + OR = { + AND = { + location = { + port = yes + } + OR = { + AND = { + holding_type = tribal + has_building = tb_market_town_4 + } + holding_type = city + } + } + AND = { + holding_type = tribal + has_building = tb_hillfort_4 + } + holding_type = castle + } + } + } + modifier = { + factor = 0 + is_reformed_religion = yes + } + modifier = { + factor = 0.3 + is_reformed_religion = no + OR = { + AND = { + any_realm_title = { + count = 3 + is_holy_site = ROOT # Close to reforming own religion instead + } + religion_authority = 0.4 + } + religion_authority = 0.65 # Just very high authority, doing well + } + } + modifier = { + factor = 2 + any_realm_province = { + any_neighbor_province = { + owner = { + top_liege = { + religion = FROM + relative_power = { who = ROOT power = 2.0 } # Powerful neighbor of that religion + } + } + } + } + } + modifier = { + factor = 0.2 + NOR = { + religion = tengri_pagan + religion = aztec + any_realm_province = { + any_neighbor_province = { + owner = { + top_liege = { + NAND = { + religion_group = pagan_group + is_reformed_religion = no + } + any_realm_province = { TECH_RECRUITMENT = 4 } # More cocky when pagan homeland attrition effect is active against neighbors + } + } + } + } + } + } + + # Realm stability + modifier = { + factor = 10 + num_of_vassals = 3 + NOT = { + any_vassal = { + NOT = { religion = FROM } + } + } + } + modifier = { + factor = 10 + NOT = { + any_realm_province = { + NOT = { religion = FROM } + } + } + } + modifier = { + factor = 0.3 + NOT = { + any_realm_province = { + religion = FROM + } + } + } + modifier = { + factor = 0.3 + any_vassal = { + NOT = { opinion = { who = ROOT value = 25 } } + NOT = { religion = FROM } + } + } + modifier = { + factor = 0.3 + any_war = { + NOT = { + using_cb = religious + defender = { + character = ROOT + } + } + NOT = { + using_cb = crusade + defender = { + character = ROOT + } + } + NOT = { war_score = 50 } + } + } + modifier = { + factor = 0.3 + any_war = { + NOT = { + using_cb = religious + defender = { + character = ROOT + } + } + NOT = { + using_cb = crusade + defender = { + character = ROOT + } + } + NOT = { war_score = 10 } + } + } + } + + if = { + limit = { + trait = cynical + NOT = { trait = zealous } + age = 12 + } + random = { + chance = 60 + add_trait = sympathy_pagans + } + } + if = { + limit = { + NOR = { + trait = cynical + trait = zealous + } + age = 12 + } + random = { + chance = 50 + add_trait = sympathy_pagans + } + } + + religion = FROM + prestige = -500 + piety = 250 + + if = { + limit = { ai = yes } + capital_scope = { religion = FROM } + } + + any_courtier = { + limit = { is_close_relative = ROOT } + religion = FROM + } + any_spouse = { + limit = { is_consort = no } + religion = FROM + } + create_random_priest = { + random_traits = yes + dynasty = none + culture = ROOT + religion = FROM + female = no + age = 32 + attributes = { + learning = 20 + diplomacy = 10 + } + } + new_character = { + give_job_title = job_spiritual + save_event_target_as = convert_lord_spiritual + } + hidden_tooltip = { + any_vassal = { + limit = { + NOT = { religion = ROOT } + ROOT = { ai = yes } # Only for AI! + } + letter_event = { id = 39617 } # Send out letter to vassals + } + FROM = { + character_event = { id = 39614 days = 1 } # Notify liege of the the proselytizer who converted you + } + } + custom_tooltip = { text = preacher_convert } + } + option = { + name = EVTOPTB39601 + ai_chance = { + factor = 1 + } + + FROM = { + liege = { + opinion = { + modifier = opinion_banished_missionary + who = ROOT + } + hidden_tooltip = { + reverse_opinion = { + modifier = opinion_sent_preacher + who = ROOT + } + } + } + hidden_tooltip = { + character_event = { id = 39613 days = 1 } + } + } + custom_tooltip = { text = preacher_banished } + } +} + +# Vassals receive letter +letter_event = { + id = 39617 + desc = EVTDESC_39617 + border = GFX_event_letter_frame_religion + + is_triggered_only = yes + + option = { + name = EVTOPTA_39617 # Convert + ai_chance = { + factor = 1 + + # Traits + modifier = { + factor = 0.3 + trait = zealous + } + modifier = { + factor = 3 + trait = cynical + } + modifier = { + factor = 2 + trait = arbitrary + } + modifier = { + factor = 0 + relative_power = { who = FROM power = 1.0 } # Very powerful vassal who is also zealous NEVER accepts + trait = zealous + } + + # Personal + modifier = { + factor = 0.3 + FROM = { + is_rival = ROOT + } + } + modifier = { + factor = 1.5 + OR = { + any_spouse = { + religion = FROM + reverse_opinion = { who = ROOT value = 50 } + } + any_consort = { + religion = FROM + reverse_opinion = { who = ROOT value = 50 } + } + any_lover = { + religion = FROM + reverse_opinion = { who = ROOT value = 50 } + } + any_child = { + religion = FROM + reverse_opinion = { who = ROOT value = 50 } + } + } + } + + # Historical + modifier = { + factor = 2 + NOT = { government = nomadic_government } # We're already adopting civilized ways... + NOT = { government = tribal_government } + } + modifier = { + factor = 0.2 + OR = { + culture = old_saxon + culture_group = baltic + culture_group = finno_ugric # The most stubborn pagans + } + } + modifier = { + factor = 0.2 + culture_group = east_slavic # Like alcohol + FROM = { + religion_group = muslim + } + } + modifier = { + factor = 0.2 + culture_group = north_germanic # Vikings do like their alcohol + FROM = { + religion_group = muslim + } + } + } + + prestige = -250 + religion = FROM + any_courtier = { + limit = { is_close_relative = ROOT } + religion = FROM + } + any_spouse = { + limit = { is_consort = no } + religion = FROM + } + create_random_priest = { + random_traits = yes + dynasty = none + culture = ROOT + religion = FROM + female = no + attributes = { + learning = 20 + diplomacy = 10 + } + } + new_character = { + give_job_title = job_spiritual + } + } + option = { + name = EVTOPTB_39617 # Don't convert + ai_chance = { + factor = 1 + } + piety = 100 + } + option = { + name = EVTOPTC_39617 # Respond with anger + ai_chance = { + factor = 0 + } + prestige = 100 + piety = 100 + reverse_opinion = { + modifier = opinion_angry + who = ROOT + years = 5 + } + } +} + +# Courtier converts (hidden) +character_event = { + id = 39610 + hide_window = yes + + is_triggered_only = yes + + immediate = { + if = { + limit = { + trait = cynical + NOT = { trait = zealous } + age = 12 + } + random = { + chance = 60 + add_trait = sympathy_pagans + } + } + if = { + limit = { + NOT = { + trait = cynical + trait = zealous + } + age = 12 + } + random = { + chance = 50 + add_trait = sympathy_pagans + } + } + religion = FROM + liege = { + character_event = { id = 39602 } + } + } +} + +# Courtier Converts - notify liege +character_event = { + id = 39602 + desc = EVTDESC39602 + picture = GFX_evt_heretic + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + option = { + name = EVTOPTA39602 + FROMFROM = { + imprison = ROOT + hidden_tooltip = { + character_event = { id = 39615 days = 1 } + } + liege = { + opinion = { + modifier = opinion_imprisoned_missionary + who = ROOT + } + hidden_tooltip = { + reverse_opinion = { + modifier = opinion_sent_preacher + who = ROOT + } + } + } + } + custom_tooltip = { text = preacher_imprisoned } + } + option = { + name = EVTOPTB39602 + custom_tooltip = { text = preacher_allowed } + } +} + +# Preachers Squabbling +character_event = { + id = 39603 + desc = EVTDESC39603 + picture = GFX_evt_child_sword + border = GFX_event_normal_frame_religion + + hide_from = yes + + is_triggered_only = yes + + option = { + name = EVTOPTA39603 + hidden_tooltip = { + FROMFROM = { + character_event = { id = 39616 days = 1 } + } + } + FROMFROM = { + liege = { + opinion = { + modifier = opinion_banished_missionary + who = ROOT + } + hidden_tooltip = { + reverse_opinion = { + modifier = opinion_sent_preacher + who = ROOT + } + } + } + } + FROM = { + liege = { + opinion = { + modifier = opinion_supported_preacher + who = ROOT + } + } + } + } + option = { + name = EVTOPTB39603 + hidden_tooltip = { + FROM = { + character_event = { id = 39616 days = 1 } + } + } + FROM = { + liege = { + opinion = { + modifier = opinion_banished_missionary + who = ROOT + } + hidden_tooltip = { + reverse_opinion = { + modifier = opinion_sent_preacher + who = ROOT + } + } + } + } + FROMFROM = { + liege = { + opinion = { + modifier = opinion_supported_preacher + who = ROOT + } + } + } + } + option = { + name = EVTOPTC39603 + FROM = { + liege = { + opinion = { + modifier = opinion_did_not_support_preacher + who = ROOT + } + } + } + FROMFROM = { + liege = { + opinion = { + modifier = opinion_did_not_support_preacher + who = ROOT + } + } + } + } +} + +# Liege informed of Chaplain's arrival +letter_event = { + id = 39604 + desc = EVTDESC39604 + border = GFX_event_letter_frame_religion + + is_triggered_only = yes + + option = { + name = EVTOPTA39604 + piety = 20 + } +} + +# Liege informed Chaplain imprisoned on arrival +character_event = { + id = 39605 + desc = EVTDESC39605 + picture = GFX_evt_torture + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + option = { + name = EVTOPTA39605 + opinion = { + modifier = opinion_imprisoned_missionary + who = FROM + } + } +} + +# Liege informed of Chaplain's success +letter_event = { + id = 39606 + desc = EVTDESC39606 + border = GFX_event_letter_frame_religion + + is_triggered_only = yes + + option = { + name = EVTOPTA39606 + tooltip = { + FROMFROM = { + religion = FROM + } + } + FROM = { cancel_job_action = action_inquisition } + piety = 200 + } +} + +# Liege informed of Chaplain's failure +letter_event = { + id = 39607 + desc = EVTDESC39607 + border = GFX_event_letter_frame_religion + + is_triggered_only = yes + + option = { + name = EVTOPTA39607 + FROM = { cancel_job_action = action_inquisition } + } +} + +# Liege informed Chaplain imprisoned after converting courtier +character_event = { + id = 39608 + desc = EVTDESC39608 + picture = GFX_evt_torture + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + option = { + name = EVTOPTA39608 + } +} + +# Liege informed Chaplain banished after quarrel +letter_event = { + id = 39609 + desc = EVTDESC39609 + border = GFX_event_letter_frame_religion + + is_triggered_only = yes + + option = { + name = EVTOPTA39609 + FROM = { cancel_job_action = action_inquisition } + } +} + + +# Chaplain fights with other Chaplain +character_event = { + id = 39611 + desc = EVTDESC39653 + picture = GFX_evt_bishop + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + option = { + name = EVTOPTA39653 + hidden_tooltip = { + location = { + owner = { + character_event = { id = 39603 days = 1 } + } + } + } + } +} + +# Chaplain arrives (hidden) +character_event = { + id = 39612 + hide_window = yes + + is_triggered_only = yes + + immediate = { + liege = { + letter_event = { id = 39604 } + } + } +} + +# Liege informed of Chaplain's failure (hidden) +character_event = { + id = 39613 + hide_window = yes + + is_triggered_only = yes + + immediate = { + liege = { + letter_event = { id = 39607 } + } + } +} + +# Liege informed of Chaplain's success (hidden) +character_event = { + id = 39614 + hide_window = yes + + is_triggered_only = yes + + immediate = { + liege = { + letter_event = { id = 39606 } + } + } +} + +# Liege informed Chaplain imprisoned after converting courtier (hidden) +character_event = { + id = 39615 + hide_window = yes + + is_triggered_only = yes + + immediate = { + liege = { + character_event = { id = 39608 } + } + } +} + +# Liege informed Chaplain banished after quarrel (hidden) +character_event = { + id = 39616 + hide_window = yes + + is_triggered_only = yes + + immediate = { + liege = { + letter_event = { id = 39609 } + } + } +} + +# RISE OF THE SHI'A CALIPHATE +narrative_event = { + id = 39640 + title = EVTNAME39640 + desc = EVTDESC39640 + picture = GFX_evt_bishop + border = GFX_event_narrative_frame_religion + + major = yes + + only_independent = yes + only_playable = yes + religion_group = muslim + + trigger = { + is_landed = yes + NOT = { religion = shiite } + higher_tier_than = DUKE + d_shiite = { + has_holder = no + } + uses_decadence = yes + decadence = 10 + NOT = { has_global_flag = shia_caliphate_revolt_ongoing } + any_realm_province = { + kingdom = { + OR = { + has_holder = no + holder_scope = { + character = ROOT + } + } + num_title_realm_provs = { + who = ROOT + value = 6 + } + } + } + } + + mean_time_to_happen = { + months = 1800 + modifier = { + factor = 0.25 + OR = { + c_cairo = { + holder_scope = { + same_realm = ROOT + } + } + c_damascus = { + holder_scope = { + same_realm = ROOT + } + } + c_tunis = { + holder_scope = { + same_realm = ROOT + } + } + } + } + modifier = { + factor = 0.5 + decadence = 90 + } + modifier = { + factor = 4.0 + NOT = { decadence = 25 } + } + modifier = { + factor = 2.0 + year = 1100 + } + modifier = { + factor = 2.0 + year = 1200 + } + modifier = { + factor = 2.0 + year = 1300 + } + modifier = { + factor = 4.0 + year = 1400 + } + modifier = { + factor = 2.0 + NOT = { religion = sunni } + } + modifier = { + factor = 10.0 + ai = no + } + } + + immediate = { + set_character_flag = shia_caliphate_revolt + set_global_flag = shia_caliphate_revolt_ongoing + + decadence = -30 # Do not want to be hit with a decadence revolt as well! + + if = { + limit = { + ai = yes + capital_scope = { + kingdom = { + OR = { + has_holder = no + holder_scope = { + character = ROOT + } + } + num_title_realm_provs = { + who = ROOT + value = 6 + } + } + } + } + capital_scope = { save_event_target_as = spawn_province } + set_character_flag = spawn_point_set + } + + if = { + limit = { + NOT = { has_character_flag = spawn_point_set } + } + random_realm_province = { + limit = { + kingdom = { + OR = { + has_holder = no + holder_scope = { + character = ROOT + } + } + num_title_realm_provs = { + who = ROOT + value = 10 + } + } + } + save_event_target_as = spawn_province + set_character_flag = spawn_point_set + } + } + + if = { + limit = { + NOT = { has_character_flag = spawn_point_set } + } + random_realm_province = { + limit = { + kingdom = { + OR = { + has_holder = no + holder_scope = { + character = ROOT + } + } + num_title_realm_provs = { + who = ROOT + value = 6 + } + } + } + save_event_target_as = spawn_province + set_character_flag = spawn_point_set + } + } + + clr_character_flag = spawn_point_set + + event_target:spawn_province = { + if = { + limit = { + religion_group = muslim + NOT = { religion = shiite } + } + religion = shiite + } + + ROOT = { + create_character = { + dynasty = random + religion = shiite + culture = ROOT + female = no + age = 3 + health = 6.5 + fertility = 0.6 + trait = sayyid + trait = quick + trait = fair + attributes = { + learning = 1 + diplomacy = 2 + martial = 1 + stewardship = 1 + intrigue = 1 + } + } + + new_character = { + set_character_flag = shia_caliphate_pretender + if = { + limit = { ROOT = { ai = yes } } + wealth = 1000 + } + if = { + limit = { ROOT = { ai = no } } + wealth = 250 + } + create_title = { + tier = DUKE + landless = yes + temporary = yes + culture = ROOT + name = SHIA_CALIPHATE_REVOLT + holder = THIS + } + create_character = { + random_traits = yes + dynasty = none + religion = THIS + culture = THIS + female = no + age = 30 + trait = brilliant_strategist + } + new_character = { + if = { + limit = { ROOT = { ai = yes } } + spawn_unit = { + province = PREVPREVPREV + home = PREVPREVPREV + owner = PREV + match_character = PREVPREV + match_mult = 0.25 + attrition = 0.5 + cannot_inherit = yes + reinforces = yes + reinforce_rate_multiplier = 0.33 + } + } + if = { + limit = { ROOT = { ai = no } } + spawn_unit = { + province = PREVPREVPREV + home = PREVPREVPREV + owner = PREV + match_character = PREVPREV + match_mult = 0.15 + attrition = 0.5 + cannot_inherit = yes + reinforces = yes + reinforce_rate_multiplier = 0.25 + } + } + } + create_character = { + random_traits = yes + dynasty = none + religion = THIS + culture = THIS + female = no + age = 27 + trait = brilliant_strategist + } + new_character = { + if = { + limit = { ROOT = { ai = yes } } + spawn_unit = { + province = PREVPREVPREV + home = PREVPREVPREV + owner = PREV + match_character = PREVPREV + match_mult = 0.25 + attrition = 0.5 + cannot_inherit = yes + reinforces = yes + reinforce_rate_multiplier = 0.33 + } + } + if = { + limit = { ROOT = { ai = no } } + spawn_unit = { + province = PREVPREVPREV + home = PREVPREVPREV + owner = PREV + match_character = PREVPREV + match_mult = 0.15 + attrition = 0.5 + cannot_inherit = yes + reinforces = yes + reinforce_rate_multiplier = 0.25 + } + } + } + create_character = { + random_traits = yes + dynasty = none + religion = THIS + culture = THIS + female = no + age = 25 + trait = skilled_tactician + } + new_character = { + if = { + limit = { ROOT = { ai = yes } } + spawn_unit = { + province = PREVPREVPREV + home = PREVPREVPREV + owner = PREV + match_character = PREVPREV + match_mult = 0.25 + attrition = 0.5 + cannot_inherit = yes + reinforces = yes + reinforce_rate_multiplier = 0.33 + } + } + if = { + limit = { ROOT = { ai = no } } + spawn_unit = { + province = PREVPREVPREV + home = PREVPREVPREV + owner = PREV + match_character = PREVPREV + match_mult = 0.15 + attrition = 0.5 + cannot_inherit = yes + reinforces = yes + reinforce_rate_multiplier = 0.25 + } + } + } + create_character = { + random_traits = yes + dynasty = none + religion = THIS + culture = THIS + female = no + age = 23 + trait = skilled_tactician + } + new_character = { + if = { + limit = { ROOT = { ai = yes } } + spawn_unit = { + province = PREVPREVPREV + home = PREVPREVPREV + owner = PREV + match_character = PREVPREV + match_mult = 0.25 + attrition = 0.5 + cannot_inherit = yes + reinforces = yes + reinforce_rate_multiplier = 0.33 + } + } + if = { + limit = { ROOT = { ai = no } } + spawn_unit = { + province = PREVPREVPREV + home = PREVPREVPREV + owner = PREV + match_character = PREVPREV + match_mult = 0.15 + attrition = 0.5 + cannot_inherit = yes + reinforces = yes + reinforce_rate_multiplier = 0.25 + } + } + } + create_character = { + random_traits = yes + dynasty = none + religion = THIS + culture = THIS + female = no + age = 27 + trait = skilled_tactician + } + new_character = { + if = { + limit = { ROOT = { ai = yes } } + spawn_unit = { + province = PREVPREVPREV + home = PREVPREVPREV + owner = PREV + match_character = PREVPREV + match_mult = 0.25 + attrition = 0.5 + cannot_inherit = yes + disband_on_peace = yes + reinforces = yes + reinforce_rate_multiplier = 0.33 + } + } + if = { + limit = { ROOT = { ai = no } } + spawn_unit = { + province = PREVPREVPREV + home = PREVPREVPREV + owner = PREV + match_character = PREVPREV + match_mult = 0.15 + attrition = 0.5 + cannot_inherit = yes + disband_on_peace = yes + reinforces = yes + reinforce_rate_multiplier = 0.25 + } + } + } + create_character = { + random_traits = yes + dynasty = none + religion = THIS + culture = THIS + female = no + age = 24 + trait = skilled_tactician + } + new_character = { + if = { + limit = { ROOT = { ai = yes } } + spawn_unit = { + province = PREVPREVPREV + home = PREVPREVPREV + owner = PREV + match_character = PREVPREV + match_mult = 0.25 + attrition = 0.5 + cannot_inherit = yes + disband_on_peace = yes + reinforces = yes + reinforce_rate_multiplier = 0.33 + } + } + if = { + limit = { ROOT = { ai = no } } + spawn_unit = { + province = PREVPREVPREV + home = PREVPREVPREV + owner = PREV + match_character = PREVPREV + match_mult = 0.15 + attrition = 0.5 + cannot_inherit = yes + disband_on_peace = yes + reinforces = yes + reinforce_rate_multiplier = 0.25 + } + } + } + create_character = { + random_traits = yes + dynasty = none + religion = THIS + culture = THIS + female = no + age = 32 + trait = brilliant_strategist + } + new_character = { + spawn_unit = { + province = PREVPREVPREV + home = PREVPREVPREV + owner = PREV + match_character = PREVPREV + match_mult = 0.2 + attrition = 0.0 + cannot_inherit = yes + disband_on_peace = yes + reinforces = yes + reinforce_rate_multiplier = 0.25 + } + } + create_character = { + random_traits = yes + dynasty = none + religion = THIS + culture = THIS + female = no + age = 25 + trait = skilled_tactician + } + new_character = { + spawn_unit = { + province = PREVPREVPREV + home = PREVPREVPREV + owner = PREV + match_character = PREVPREV + match_mult = 0.2 + attrition = 0.0 + cannot_inherit = yes + disband_on_peace = yes + reinforces = yes + reinforce_rate_multiplier = 0.25 + } + } + create_character = { + random_traits = yes + dynasty = none + religion = THIS + culture = THIS + female = no + age = 28 + trait = skilled_tactician + } + new_character = { + spawn_unit = { + province = PREVPREVPREV + home = PREVPREVPREV + owner = PREV + match_character = PREVPREV + match_mult = 0.2 + attrition = 0.0 + cannot_inherit = yes + disband_on_peace = yes + reinforces = yes + reinforce_rate_multiplier = 0.25 + } + } + war = { + target = ROOT + casus_belli = shia_caliphate_rising + thirdparty_title = PREVPREV + tier = KING + } + } + } + } + } + + option = { + name = "EVTOPTA39640" + trigger = { + has_character_flag = shia_caliphate_revolt + } + clr_character_flag = shia_caliphate_revolt + } + + option = { + name = "EVTOPTB39640" + trigger = { + religion = shiite + } + } + option = { + name = "EVTOPTC39640" + trigger = { + religion_group = muslim + NOT = { religion = shiite } + NOT = { has_character_flag = shia_caliphate_revolt } + } + } + option = { + name = "EVTOPTD39640" + trigger = { + NOT = { religion_group = muslim } + NOT = { has_character_flag = shia_caliphate_revolt } + } + } +} + +# THE START OF THE CHRISTIAN CRUSADES - 1090 AND JERUSALEM NOT CHRISTIAN +narrative_event = { + id = 39660 + title = EVTNAME39660 + desc = EVTDESC39660 + picture = GFX_evt_jerusalem + border = GFX_event_narrative_frame_religion + + major = yes + + show_ROOT = yes + hide_new = yes + + only_playable = yes + min_age = 16 + only_men = yes + religion = catholic + + trigger = { + controls_religion = yes + year = 1090 + + 774 = { # Jerusalem + NOT = { owner = { religion_group = christian } } + } + + NOT = { has_global_flag = christian_crusades_unlocked } + } + + mean_time_to_happen = { + months = 120 + } + + immediate = { + set_global_flag = christian_crusades_unlocked + } + + option = { + name = EVTOPTA39660 + trigger = { + religion_group = christian + } + } + + option = { + name = EVTOPTB39660 + trigger = { + NOT = { religion_group = christian } + } + } +} + +# THE START OF THE CHRISTIAN CRUSADES - BYZANTIUM FAILING +narrative_event = { + id = 39661 + title = EVTNAME39660 + desc = EVTDESC39661 + picture = GFX_evt_hagia_sofia + border = GFX_event_narrative_frame_religion + + major = yes + + show_ROOT = yes + hide_new = yes + + only_playable = yes + min_age = 16 + only_men = yes + religion = catholic + + trigger = { + year = 900 + controls_religion = yes + NOT = { has_global_flag = christian_crusades_unlocked } + + OR = { + e_byzantium = { + holder_scope = { + NOT = { religion_group = christian } + } + } + 496 = { # Constantinople + NOT = { owner = { religion_group = christian } } + } + 753 = { # Ancyra + NOT = { owner = { religion_group = christian } } + } + AND = { + 482 = { # Athens + NOT = { owner = { religion_group = christian } } + } + 481 = { # Corinth + NOT = { owner = { religion_group = christian } } + } + } + } + } + + mean_time_to_happen = { + months = 3 + } + + immediate = { + set_global_flag = christian_crusades_unlocked + } + + option = { + name = EVTOPTA39660 + trigger = { + religion_group = christian + } + } + + option = { + name = EVTOPTB39660 + trigger = { + NOT = { religion_group = christian } + } + } +} + +# THE START OF THE CHRISTIAN CRUSADES - ROME HAS FALLEN +narrative_event = { + id = 39662 + title = EVTNAME39660 + desc = EVTDESC39662 + picture = GFX_evt_pope + border = GFX_event_narrative_frame_religion + + major = yes + + show_ROOT = yes + hide_new = yes + + only_playable = yes + min_age = 16 + only_men = yes + religion = catholic + + trigger = { + year = 900 + controls_religion = yes + NOT = { has_global_flag = christian_crusades_unlocked } + + 333 = { # Rome + owner = { + OR = { + NOT = { religion_group = christian } + is_heretic = yes + } + } + } + } + + mean_time_to_happen = { + months = 3 + } + + immediate = { + set_global_flag = christian_crusades_unlocked + } + + option = { + name = EVTOPTA39660 + trigger = { + religion_group = christian + } + } + + option = { + name = EVTOPTB39660 + trigger = { + NOT = { religion_group = christian } + } + } +} + +# THE START OF THE CHRISTIAN CRUSADES - EUROPE +narrative_event = { + id = 39663 + title = EVTNAME39660 + desc = EVTDESC39663 + picture = GFX_evt_crusaders + border = GFX_event_narrative_frame_religion + + major = yes + + show_ROOT = yes + hide_new = yes + + only_playable = yes + min_age = 16 + only_men = yes + religion = catholic + + trigger = { + year = 900 + controls_religion = yes + NOT = { has_global_flag = christian_crusades_unlocked } + + OR = { + 221 = { # Provence + NOT = { owner = { religion_group = christian } } + } + 214 = { # Toulouse + NOT = { owner = { religion_group = christian } } + } + 112 = { # Paris + NOT = { owner = { religion_group = christian } } + } + 119 = { # Cologne + religion_group = christian + NOT = { owner = { religion_group = christian } } + } + 257 = { # Braunschweig + religion_group = christian + NOT = { owner = { religion_group = christian } } + } + } + } + + mean_time_to_happen = { + months = 3 + } + + immediate = { + set_global_flag = christian_crusades_unlocked + } + + option = { + name = EVTOPTA39660 + trigger = { + religion_group = christian + } + } + + option = { + name = EVTOPTB39660 + trigger = { + NOT = { religion_group = christian } + } + } +} + +# THE START OF MUSLIM JIHADS - 1187 IF THERE IS STILL A CALIPH +narrative_event = { + id = 39670 + title = EVTNAME39670 + desc = EVTDESC39670 + picture = GFX_evt_bishop + border = GFX_event_narrative_frame_religion + + major = yes + + show_ROOT = yes + hide_new = yes + + only_playable = yes + min_age = 16 + religion_group = muslim + + trigger = { + controls_religion = yes + year = 1187 + + NOT = { has_global_flag = muslim_jihads_unlocked } + } + + mean_time_to_happen = { + months = 120 + } + + immediate = { + set_global_flag = muslim_jihads_unlocked + } + + option = { + name = EVTOPTA39670 + trigger = { + religion_group = muslim + } + } + + option = { + name = EVTOPTB39670 + trigger = { + NOT = { religion_group = muslim } + } + } +} + +# THE START OF MUSLIM JIHADS - JERUSALEM HAS FALLEN +narrative_event = { + id = 39671 + title = EVTNAME39670 + desc = EVTDESC39671 + picture = GFX_evt_jerusalem_captured_muslims + border = GFX_event_narrative_frame_religion + + major = yes + + show_ROOT = yes + hide_new = yes + + only_playable = yes + min_age = 16 + religion_group = muslim + + trigger = { + year = 900 + controls_religion = yes + NOT = { has_global_flag = muslim_jihads_unlocked } + 774 = { # Jerusalem + NOT = { owner = { religion_group = muslim } } + } + } + + mean_time_to_happen = { + months = 3 + } + + immediate = { + set_global_flag = muslim_jihads_unlocked + } + + option = { + name = EVTOPTA39670 + trigger = { + religion_group = muslim + } + } + + option = { + name = EVTOPTB39670 + trigger = { + NOT = { religion_group = muslim } + } + } +} + +# THE START OF MUSLIM JIHADS - MECCA HAS FALLEN +narrative_event = { + id = 39672 + title = EVTNAME39670 + desc = EVTDESC39672 + picture = GFX_evt_mecca_falls_soa + border = GFX_event_narrative_frame_religion + + major = yes + + show_ROOT = yes + hide_new = yes + + only_playable = yes + min_age = 16 + religion_group = muslim + + trigger = { + year = 900 + controls_religion = yes + NOT = { has_global_flag = muslim_jihads_unlocked } + 719 = { # Mecca + NOT = { owner = { religion_group = muslim } } + } + } + + mean_time_to_happen = { + months = 3 + } + + immediate = { + set_global_flag = muslim_jihads_unlocked + } + + option = { + name = EVTOPTA39670 + trigger = { + religion_group = muslim + } + } + + option = { + name = EVTOPTB39670 + trigger = { + NOT = { religion_group = muslim } + } + } +} + +# THE START OF MUSLIM JIHADS - THE CENTER CANNOT HOLD +narrative_event = { + id = 39673 + title = EVTNAME39670 + desc = EVTDESC39673 + picture = GFX_evt_moors + border = GFX_event_narrative_frame_religion + + major = yes + + show_ROOT = yes + hide_new = yes + + only_playable = yes + min_age = 16 + religion_group = muslim + + trigger = { + year = 900 + controls_religion = yes + NOT = { has_global_flag = muslim_jihads_unlocked } + OR = { + 693 = { # Baghdad + NOT = { owner = { religion_group = muslim } } + } + 728 = { # Damascus + NOT = { owner = { religion_group = muslim } } + } + 796 = { # Cairo + NOT = { owner = { religion_group = muslim } } + } + } + } + + mean_time_to_happen = { + months = 3 + } + + immediate = { + set_global_flag = muslim_jihads_unlocked + } + + option = { + name = EVTOPTA39670 + trigger = { + religion_group = muslim + } + } + + option = { + name = EVTOPTB39670 + trigger = { + NOT = { religion_group = muslim } + } + } +} + +# THE START OF MUSLIM JIHADS - AFRICA UNDER THREAT +narrative_event = { + id = 39674 + title = EVTNAME39670 + desc = EVTDESC39674 + picture = GFX_evt_desert + border = GFX_event_narrative_frame_religion + + major = yes + + show_ROOT = yes + hide_new = yes + + only_playable = yes + min_age = 16 + religion_group = muslim + + trigger = { + year = 1000 + controls_religion = yes + NOT = { has_global_flag = muslim_jihads_unlocked } + OR = { + 843 = { # Marrakesh + NOT = { owner = { religion_group = muslim } } + } + 817 = { # Tunis + NOT = { owner = { religion_group = muslim } } + } + 831 = { # Al Djazair + NOT = { owner = { religion_group = muslim } } + } + } + } + + mean_time_to_happen = { + months = 3 + } + + immediate = { + set_global_flag = muslim_jihads_unlocked + } + + option = { + name = EVTOPTA39670 + trigger = { + religion_group = muslim + } + } + + option = { + name = EVTOPTB39670 + trigger = { + NOT = { religion_group = muslim } + } + } +} + +# THE START OF PAGAN GREAT HOLY WARS - AFTER THE ABRAHAMICS +narrative_event = { + id = 39680 + title = EVTNAME39680 + desc = EVTDESC39680 + picture = GFX_evt_midwinter_blot_oldgods + border = GFX_event_narrative_frame_religion + + major = yes + + show_ROOT = yes + hide_new = yes + + only_playable = yes + min_age = 16 + religion_group = pagan_group + + trigger = { + controls_religion = yes + + NOT = { has_global_flag = pagan_ghws_unlocked } + + OR = { + has_global_flag = muslim_jihads_unlocked + has_global_flag = christian_crusades_unlocked + } + } + + mean_time_to_happen = { + months = 120 + } + + immediate = { + set_global_flag = pagan_ghws_unlocked + } + + option = { + name = EVTOPTA39680 + trigger = { + religion = ROOT + } + } + + option = { + name = EVTOPTB39680 + trigger = { + religion_group = pagan_group + NOT = { religion = ROOT } + } + } + + option = { + name = EVTOPTC39680 + trigger = { + NOT = { religion_group = pagan_group } + } + } +} + +# Vassal accepts religious conversion demand. +# Fired from 'on_vassal_accepts_religious_conversion' +# FROMFROM is the demander. FROM is the target vassal. ROOT is the current character. Fires for the target and each of his/her courtiers and direct vassals (but not for characters below the target's vassals). +character_event = { + id = 39700 + + hide_window = yes + + is_triggered_only = yes + + trigger = { + NOT = { religion = FROMFROM } + OR = { + character = FROM + AND = { + is_ruler = no + NOT = { trait = zealous } + religion = FROM # Will not change religion if already different from the vassal's + } + } + } + + immediate = { + if = { + limit = { + character = FROM + } + opinion = { + who = FROMFROM + modifier = opinion_demanded_conversion + } + if = { + limit = { + prisoner = yes + host = { + character = FROMFROM + } + } + imprison = no + } + } + } + + option = { # No sympathy for the old religion + ai_chance = { + factor = 100 + } + clr_religion_char_flag_effect = yes #Must clear all old flags to avoid double traits + add_religion_char_flag_effect = yes + religion = FROMFROM + if = { + limit = { + religion_group = indian_group + } + character_event = { id = RoI.120 } # Assign Indian religion branch + } + if = { + limit = { + character = FROM + } + character_event = { id = MNM.3949 days = 3 random = 10 } + } + } + + option = { # Sympathy for the old religion + ai_chance = { + factor = 100 + modifier = { + factor = 0 + OR = { + trait = zealous + NOT = { age = 12 } + } + } + modifier = { + factor = 10 + trait = cynical + age = 12 + } + } + if = { + limit = { + religion_group = christian + } + add_trait = sympathy_christendom + } + if = { + limit = { + religion_group = muslim + } + add_trait = sympathy_islam + } + if = { + limit = { + religion_group = pagan_group + } + add_trait = sympathy_pagans + } + if = { + limit = { + religion_group = zoroastrian_group + } + add_trait = sympathy_zoroastrianism + } + if = { + limit = { + religion_group = jewish_group + } + add_trait = sympathy_judaism + } + if = { + limit = { + religion_group = indian_group + } + add_trait = sympathy_indian + } + + clr_religion_char_flag_effect = yes #Must clear all old flags to avoid double traits + add_religion_char_flag_effect = yes + religion = FROMFROM + if = { + limit = { + religion_group = indian_group + } + character_event = { id = RoI.120 } # Assign Indian religion branch + } + if = { + limit = { + character = FROM + } + character_event = { id = MNM.3949 days = 3 random = 10 } + } + } +} + +# Catholic antipope immediately loses claim if he or liege is no longer catholic +character_event = { + id = 39701 + + hide_window = yes + + only_playable = yes + + trigger = { + k_papal_state = { + any_claimant = { + OR = { + NOT = { religion = catholic } + any_liege = { NOT = { religion = catholic } } + } + } + } + } + + mean_time_to_happen = { + days = 1 + } + + immediate = { + k_papal_state = { + any_claimant = { + limit = { + OR ={ + NOT = { religion = catholic } + any_liege = { NOT = { religion = catholic } } + } + } + remove_claim = k_papal_state + } + } + } +} + +# Fraticelli antipope immediately loses claim if he or liege is no longer Fraticelli +character_event = { + id = 39702 + + hide_window = yes + + only_playable = yes + + trigger = { + d_fraticelli = { + any_claimant = { + OR = { + NOT = { religion = fraticelli } + any_liege = { NOT = { religion = fraticelli } } + } + } + } + } + + mean_time_to_happen = { + days = 1 + } + + immediate = { + d_fraticelli = { + any_claimant = { + limit = { + OR = { + NOT = { religion = fraticelli } + any_liege = { NOT = { religion = fraticelli } } + } + } + remove_claim = d_fraticelli + } + } + } +} + +# Establishing the Fraticelli Papacy +character_event = { + id = 39703 + desc = { + text = EVTDESC39703A + trigger = { + character = FROM + } + } + desc = { + text = EVTDESC39703B + trigger = { + NOT = { character = FROM } + } + } + picture = GFX_evt_bishop + border = GFX_event_normal_frame_religion + + major = yes + + is_triggered_only = yes + major_trigger = { + religion_group = christian + } + + only_playable = yes + + option = { + name = EVTOPTA_SOA_4200 + trigger = { + religion = fraticelli + } + } + option = { + name = EVTOPTB_SOA_4200 + trigger = { + religion = catholic + } + } + option = { + name = EVTOPTC_SOA_4200 + trigger = { + NOR = { + religion = fraticelli + religion = catholic + } + } + } +} + +# Establishing the Iconoclast Patriarchy +long_character_event = { + id = 39704 + desc = { + text = EVTDESC39704A + trigger = { + character = FROM + } + } + desc = { + text = EVTDESC39704B + trigger = { + NOT = { character = FROM } + } + } + picture = GFX_evt_bishop + border = GFX_event_long_frame_religion + + major = yes + + is_triggered_only = yes + major_trigger = { + religion_group = christian + } + + only_playable = yes + + option = { + name = EVTOPTA_SOA_4200 + trigger = { + religion = iconoclast + } + } + option = { + name = EVTOPTB_SOA_4200 + trigger = { + religion = orthodox + } + } + option = { + name = EVTOPTC_SOA_4200 + trigger = { + NOR = { + religion = iconoclast + religion = orthodox + } + } + } +} + +# Restore the Pope in Rome +character_event = { + id = 39705 + desc = { + text = EVTDESC39705A + trigger = { + character = FROM + } + } + desc = { + text = EVTDESC39705B + trigger = { + NOT = { character = FROM } + } + } + picture = GFX_evt_bishop + border = GFX_event_normal_frame_religion + + major = yes + + is_triggered_only = yes + major_trigger = { + religion_group = christian + } + + only_playable = yes + + option = { + name = EVTOPTA_SOA_4200 + trigger = { + religion = fraticelli + } + } + option = { + name = EVTOPTB_SOA_4200 + trigger = { + religion = catholic + } + } + option = { + name = EVTOPTC_SOA_4200 + trigger = { + NOR = { + religion = fraticelli + religion = catholic + } + } + } +} + +# Restore the Ecumenical Patriarchy +long_character_event = { + id = 39706 + desc = { + text = EVTDESC39706A + trigger = { + character = FROM + } + } + desc = { + text = EVTDESC39706B + trigger = { + NOT = { character = FROM } + } + } + picture = GFX_evt_bishop + border = GFX_event_long_frame_religion + + major = yes + + is_triggered_only = yes + major_trigger = { + religion_group = christian + } + + only_playable = yes + + option = { + name = EVTOPTA_SOA_4200 + trigger = { + religion = orthodox + } + } + option = { + name = EVTOPTB_SOA_4200 + trigger = { + religion = iconoclast + } + } + option = { + name = EVTOPTC_SOA_4200 + trigger = { + NOR = { + religion = iconoclast + religion = orthodox + } + } + } +} \ No newline at end of file diff --git a/LCDA/events/republic_dynastic_feuds.txt b/LCDA/events/republic_dynastic_feuds.txt new file mode 100644 index 0000000..188b486 --- /dev/null +++ b/LCDA/events/republic_dynastic_feuds.txt @@ -0,0 +1,2014 @@ +################################# +# +# THE REPUBLIC +# - dynasty Feud Events +# +################################# + +# Written by Henrik Eklund + +namespace = REP + +# The Great Ball (AI) +character_event = { + id = REP.100 + hide_window = yes + + min_age = 16 + ai = yes + is_patrician = yes + capable_only = yes + prisoner = no + + trigger = { + has_dlc = "The Republic" + liege = { is_merchant_republic = yes } + in_command = no + OR = { + liege = { + is_patrician = yes + ai = no + age = 16 + in_command = no + prisoner = no + NOT = { trait = incapable } + NOT = { reverse_opinion = { who = ROOT value = 0 } } + NOT = { has_dynasty_flag = the_victims } + NOT = { has_character_flag = the_grand_ball } + NOT = { is_inaccessible_trigger = yes } + } + liege = { + any_vassal = { + is_patrician = yes + ai = no + age = 16 + in_command = no + prisoner = no + NOT = { reverse_opinion = { who = ROOT value = 0 } } + NOT = { trait = incapable } + NOT = { has_dynasty_flag = the_victims } + NOT = { has_character_flag = the_grand_ball } + NOT = { is_inaccessible_trigger = yes } + } + } + } + NOT = { has_dynasty_flag = the_feuders } + } + + mean_time_to_happen = { + months = 320 + } + + immediate = { + if = { + limit = { + liege = { + ai = no + NOT = { + reverse_opinion = { who = ROOT value = 0 } + has_dynasty_flag = the_victims + any_vassal = { ai = no } + } + NOT = { is_inaccessible_trigger = yes } + } + } + liege = { + narrative_event = { id = REP.101 } + set_character_flag = the_grand_ball + } + } + if = { + limit = { + liege = { + ai = yes + any_vassal = { + is_patrician = yes + ai = no + NOT = { has_dynasty_flag = the_victims } + } + } + } + liege = { + random_vassal = { + limit = { + is_patrician = yes + ai = no + age = 16 + in_command = no + prisoner = no + NOT = { reverse_opinion = { who = ROOT value = 0 } } + NOT = { has_dynasty_flag = the_victims } + NOT = { is_inaccessible_trigger = yes } + } + narrative_event = { id = REP.101 } + set_character_flag = the_grand_ball + } + } + } + } +} + +# The Great Ball (Player) +narrative_event = { + id = REP.101 + title = EVTNAME_REP_101 + desc = EVTDESC_REP_101 + picture = GFX_evt_courtiers_talking + + is_triggered_only = yes + + option = { + name = EVTOPTA_REP_101 + FROM = { set_dynasty_flag = the_feuders } + set_dynasty_flag = the_victims + narrative_event = { id = REP.102 days = 15 tooltip = EVTTOOLTIP_REP_102 } + } + option = { + name = EVTOPTB_REP_101 + prestige = -60 + custom_tooltip = { text = no_ball_tooltip } + clr_character_flag = the_grand_ball + } +} + +# Arriving at the Ball... +narrative_event = { + id = REP.102 + title = EVTNAME_REP_102 + desc = EVTDESC_REP_102 + picture = GFX_evt_scandal + + hide_from = yes + + is_triggered_only = yes + + option = { + name = EVTOPTA_REP_102 + FROMFROM = { + set_character_flag = shamed_player_at_ball + } + set_character_flag = shamed_at_ball + prestige = -100 + FROMFROM = { prestige = 100 } + custom_tooltip = { text = feud_begins_tooltip } + } +} + +# The Even Greater Ball (AI) +character_event = { + id = REP.103 + hide_window = yes + + ai = yes + is_patrician = yes + has_character_flag = shamed_player_at_ball + + trigger = { + has_dlc = "The Republic" + liege = { is_merchant_republic = yes } + OR = { + liege = { + ai = no + has_character_flag = shamed_at_ball + is_patrician = yes + in_command = no + prisoner = no + NOT = { + trait = incapable + trait = infirm + } + } + liege = { + any_vassal = { + ai = no + has_character_flag = shamed_at_ball + is_patrician = yes + in_command = no + prisoner = no + NOT = { + trait = incapable + trait = infirm + } + } + } + } + } + + mean_time_to_happen = { + months = 80 + } + + immediate = { + clr_character_flag = shamed_player_at_ball + if = { + limit = { + liege = { + ai = no + has_character_flag = shamed_at_ball + } + } + liege = { + narrative_event = { id = REP.104 } + } + } + if = { + limit = { + liege = { + any_vassal = { + is_patrician = yes + ai = no + has_character_flag = shamed_at_ball + } + } + } + liege = { + random_vassal = { + limit = { + is_patrician = yes + ai = no + has_character_flag = shamed_at_ball + } + narrative_event = { id = REP.104 } + } + } + } + } +} + +# The Even Greater Ball (Player) +narrative_event = { + id = REP.104 + title = EVTNAME_REP_104 + desc = EVTDESC_REP_104 + picture = GFX_evt_courtiers_talking + + hide_from = yes + + is_triggered_only = yes + + immediate = { + clr_character_flag = shamed_at_ball + } + + option = { + name = EVTOPTA_REP_104 + wealth = -100 + narrative_event = { id = REP.105 days = 14 tooltip = EVTTOOLTIP_REP_105 } + } + option = { + name = EVTOPTB_REP_104 + prestige = -20 + custom_tooltip = { text = no_own_ball_tooltip } + } +} + +# The Day of the Ball +narrative_event = { + id = REP.105 + title = EVTNAME_REP_105 + desc = EVTDESC_REP_105 + picture = GFX_evt_family_feud_republic + + hide_from = yes + + is_triggered_only = yes + + option = { + name = EVTOPTA_REP_105 + prestige = 150 + FROMFROM = { prestige = -100 } + } +} + +# AI gets Feuding opinion modifier (AI only) +character_event = { + id = REP.109 + hide_window = yes + + ai = yes + is_patrician = yes + + trigger = { + has_dlc = "The Republic" + has_dynasty_flag = the_feuders + liege = { is_merchant_republic = yes } + OR = { + liege = { + ai = no + has_dynasty_flag = the_victims + NOT = { + reverse_has_opinion_modifier = { + who = ROOT + modifier = opinion_feuding_family + } + } + } + liege = { + any_vassal = { + is_patrician = yes + ai = no + has_dynasty_flag = the_victims + NOT = { + reverse_has_opinion_modifier = { + who = ROOT + modifier = opinion_feuding_family + } + } + } + } + } + } + + mean_time_to_happen = { + days = 1 + } + + immediate = { + if = { + limit = { + liege = { + ai = no + has_dynasty_flag = the_victims + NOT = { + reverse_has_opinion_modifier = { + who = ROOT + modifier = opinion_feuding_family + } + } + } + } + liege = { + reverse_opinion = { + who = ROOT + modifier = opinion_feuding_family + } + ROOT = { + any_dynasty_member = { + limit = { + NOT = { + has_opinion_modifier = { + who = PREVPREV + modifier = opinion_feuding_family_light + } + } + } + opinion = { + who = PREVPREV + modifier = opinion_feuding_family_light + } + } + } + } + } + if = { + limit = { + liege = { + any_vassal = { + is_patrician = yes + ai = no + has_dynasty_flag = the_victims + NOT = { + reverse_has_opinion_modifier = { + who = ROOT + modifier = opinion_feuding_family + } + } + } + } + } + liege = { + random_vassal = { + limit = { + is_patrician = yes + ai = no + has_dynasty_flag = the_victims + NOT = { + reverse_has_opinion_modifier = { + who = ROOT + modifier = opinion_feuding_family + } + } + } + reverse_opinion = { + who = ROOT + modifier = opinion_feuding_family + } + ROOT = { + any_dynasty_member = { + limit = { + NOT = { + has_opinion_modifier = { + who = PREVPREV + modifier = opinion_feuding_family_light + } + } + } + opinion = { + who = PREVPREV + modifier = opinion_feuding_family_light + } + } + } + } + } + } + } +} + +### The Flagship + +# The New Flagship (AI) +character_event = { + id = REP.150 + hide_window = yes + + ai = yes + is_patrician = yes + + trigger = { + has_dlc = "The Republic" + has_dynasty_flag = the_feuders + liege = { is_merchant_republic = yes } + OR = { + liege = { + ai = no + has_dynasty_flag = the_victims + NOT = { has_dynasty_flag = flagship_feud } + is_patrician = yes + age = 16 + in_command = no + prisoner = no + job_spymaster = { + NOT = { character = ROOT } + } + NOT = { + trait = incapable + trait = infirm + } + NOT = { is_inaccessible_trigger = yes } + } + liege = { + any_vassal = { + is_patrician = yes + ai = no + has_dynasty_flag = the_victims + NOT = { has_dynasty_flag = flagship_feud } + age = 16 + in_command = no + prisoner = no + NOT = { + trait = incapable + trait = infirm + } + NOT = { is_inaccessible_trigger = yes } + } + } + } + } + + mean_time_to_happen = { + months = 520 + } + + immediate = { + if = { + limit = { + liege = { + ai = no + has_dynasty_flag = the_victims + NOT = { has_dynasty_flag = flagship_feud } + NOT = { is_inaccessible_trigger = yes } + } + } + liege = { + narrative_event = { id = REP.151 } + } + } + if = { + limit = { + liege = { + any_vassal = { + is_patrician = yes + ai = no + has_dynasty_flag = the_victims + NOT = { has_dynasty_flag = flagship_feud } + NOT = { is_inaccessible_trigger = yes } + } + } + } + liege = { + random_vassal = { + limit = { + is_patrician = yes + ai = no + has_dynasty_flag = the_victims + NOT = { is_inaccessible_trigger = yes } + } + narrative_event = { id = REP.151 } + } + } + } + } +} + +# The New Flagship (Player) +narrative_event = { + id = REP.151 + title = EVTNAME_REP_151 + desc = EVTDESC_REP_151 + picture = GFX_evt_busy_trading_dock_republic + + is_triggered_only = yes + + immediate = { + set_dynasty_flag = flagship_feud + } + + option = { + name = EVTOPTA_REP_151 + hidden_tooltip = { + random_list = { + 70 = { + if = { + limit = { + liege = { has_landed_title = k_venice } + liege = { religion = catholic } + religion = catholic + } + narrative_event = { id = REP.152 days = 46 } + } + if = { + limit = { + OR = { + liege = { NOT = { has_landed_title = k_venice }} + liege = { NOT = { religion = catholic }} + NOT = { religion = catholic } + } + } + narrative_event = { id = REP.153 days = 46 } + } + } + 30 = { + narrative_event = { id = REP.155 days = 46 } + } + } + } + custom_tooltip = { text = flagship_plan_approved_tooltip } + } + option = { + name = EVTOPTB_REP_151 + hidden_tooltip = { + narrative_event = { id = REP.154 days = 46 } + } + custom_tooltip = { text = flagship_plan_refused_tooltip } + } +} + +# Marriage of the Sea (Venice Only) +narrative_event = { + id = REP.152 + title = EVTNAME_REP_152 + desc = EVTDESC_REP_152 + picture = GFX_evt_merchant_ship_at_sea_republic + + hide_from = yes + + is_triggered_only = yes + + option = { + name = EVTOPTA_REP_152 + prestige = 50 + FROMFROM = { prestige = -100 } + religion_head = { + opinion = { + modifier = opinion_furious + who = FROMFROM + years = 5 + } + } + set_dynasty_flag = feud_phase_two + } +} + +# The Ship is Launched +narrative_event = { + id = REP.153 + title = EVTNAME_REP_153 + desc = EVTDESC_REP_153 + picture = GFX_evt_merchant_ship_at_sea_republic + + hide_from = yes + + is_triggered_only = yes + + option = { + name = EVTOPTA_REP_152 + prestige = 50 + FROMFROM = { prestige = -100 } + set_dynasty_flag = feud_phase_two + } +} + +# The Lion of the Sea +narrative_event = { + id = REP.154 + title = EVTNAME_REP_154 + desc = EVTDESC_REP_154 + picture = GFX_evt_merchant_ship_at_sea_republic + + hide_from = yes + + is_triggered_only = yes + + option = { + name = EVTOPTA_REP_154 + prestige = -50 + FROMFROM = { prestige = 100 } + set_dynasty_flag = feud_phase_two + } +} + +# You Are Cordially Invited... +narrative_event = { + id = REP.155 + title = EVTNAME_REP_155 + desc = EVTDESC_REP_155 + picture = GFX_evt_family_feud_republic + + hide_from = yes + + is_triggered_only = yes + + option = { + name = EVTOPTA_REP_155 + prestige = -50 + FROMFROM = { prestige = 100 } + set_dynasty_flag = feud_phase_two + } +} + +### Romeo & Juliet + +# A Nightly Visit... (Daughter) (AI) +character_event = { + id = REP.160 + hide_window = yes + + min_age = 15 + ai = yes + only_men = yes + capable_only = yes + prisoner = no + has_dlc = "The Republic" + is_married = no + + trigger = { + has_dynasty_flag = the_feuders + in_command = no + father = { + has_dynasty_flag = the_feuders + liege = { is_merchant_republic = yes } + is_patrician = yes + prisoner = no + in_command = no + NOT = { trait = incapable } + NOT = { is_inaccessible_trigger = yes } + } + NOT = { + age = 30 + trait = homosexual + trait = infirm + trait = incapable + trait = eunuch + } + NOT = { is_inaccessible_trigger = yes } + father = { + OR = { + liege = { + ai = no + has_dynasty_flag = the_victims + has_dynasty_flag = feud_phase_two + NOT = { has_dynasty_flag = romeo_juliet_feud } + is_patrician = yes + in_command = no + prisoner = no + NOT = { + trait = incapable + } + NOT = { is_inaccessible_trigger = yes } + any_child = { + is_female = yes + is_married = no + age = 15 + NOT = { age = 30 } + prisoner = no + NOT = { + trait = incapable + trait = infirm + trait = homosexual + } + NOT = { is_inaccessible_trigger = yes } + } + } + liege = { + any_vassal = { + is_patrician = yes + ai = no + has_dynasty_flag = the_victims + has_dynasty_flag = feud_phase_two + NOT = { has_dynasty_flag = romeo_juliet_feud } + prisoner = no + in_command = no + NOT = { trait = incapable } + NOT = { is_inaccessible_trigger = yes } + any_child = { + is_female = yes + is_married = no + age = 15 + NOT = { age = 30 } + prisoner = no + NOT = { + trait = incapable + trait = infirm + trait = homosexual + } + NOT = { is_inaccessible_trigger = yes } + } + } + } + } + } + } + + immediate = { + father = { + if = { + limit = { + liege = { + ai = no + has_dynasty_flag = the_victims + has_dynasty_flag = feud_phase_two + NOT = { is_inaccessible_trigger = yes } + } + } + liege = { + narrative_event = { id = REP.161 } + } + } + if = { + limit = { + liege = { + any_vassal = { + is_patrician = yes + ai = no + has_dynasty_flag = the_victims + has_dynasty_flag = feud_phase_two + NOT = { is_inaccessible_trigger = yes } + } + } + } + liege = { + random_vassal = { + limit = { + is_patrician = yes + ai = no + has_dynasty_flag = the_victims + has_dynasty_flag = feud_phase_two + prisoner = no + in_command = no + NOT = { trait = incapable } + NOT = { is_inaccessible_trigger = yes } + } + narrative_event = { id = REP.161 } + } + } + } + } + set_character_flag = romeo + } + + mean_time_to_happen = { + months = 100 + } +} + +# A Nightly Visit... (Daughter) +narrative_event = { + id = REP.161 + title = EVTNAME_REP_161 + desc = EVTDESC_REP_161 + picture = GFX_evt_family_feud_republic + + is_triggered_only = yes + + immediate = { + set_dynasty_flag = romeo_juliet_feud + } + + option = { + name = EVTOPTA_REP_161 + hidden_tooltip = { + random_list = { + 80 = { + narrative_event = { id = REP.164 days = 46 } + } + 20 = { + } + } + } + random_child = { + limit = { + is_female = yes + is_married = no + age = 15 + NOT = { age = 30 } + prisoner = no + NOT = { + trait = incapable + trait = infirm + trait = homosexual + } + } + set_character_flag = julia + custom_tooltip = { text = forbid_daughter_tooltip } + } + } + option = { + name = EVTOPTB_REP_161 + hidden_tooltip = { + random_list = { + 60 = { + narrative_event = { id = REP.164 days = 46 } + } + 40 = { + narrative_event = { id = REP.166 days = 46 } + } + } + } + random_child = { + limit = { + is_female = yes + is_married = no + age = 15 + NOT = { age = 30 } + prisoner = no + NOT = { + trait = incapable + trait = infirm + trait = homosexual + } + } + set_character_flag = julia + custom_tooltip = { text = permit_love_tooltip } + } + } +} + +# A Nightly Visit... (Son) (AI) +character_event = { + id = REP.162 + hide_window = yes + + min_age = 15 + ai = yes + only_women = yes + capable_only = yes + prisoner = no + has_dlc = "The Republic" + is_married = no + + trigger = { + has_dynasty_flag = the_feuders + father = { + has_dynasty_flag = the_feuders + liege = { is_merchant_republic = yes } + is_patrician = yes + prisoner = no + in_command = no + NOT = { trait = incapable } + NOT = { is_inaccessible_trigger = yes } + } + NOT = { + age = 30 + trait = homosexual + trait = incapable + } + NOT = { is_inaccessible_trigger = yes } + father = { + OR = { + liege = { + ai = no + has_dynasty_flag = the_victims + has_dynasty_flag = feud_phase_two + NOT = { has_dynasty_flag = romeo_juliet_feud } + prisoner = no + in_command = no + NOT = { trait = incapable } + NOT = { is_inaccessible_trigger = yes } + any_child = { + age = 15 + is_female = no + NOT = { + age = 30 + trait = homosexual + trait = infirm + trait = incapable + trait = eunuch + } + NOT = { is_inaccessible_trigger = yes } + prisoner = no + is_married = no + in_command = no + } + } + liege = { + any_vassal = { + is_patrician = yes + ai = no + has_dynasty_flag = the_victims + has_dynasty_flag = feud_phase_two + NOT = { has_dynasty_flag = romeo_juliet_feud } + prisoner = no + in_command = no + NOT = { trait = incapable } + NOT = { is_inaccessible_trigger = yes } + any_child = { + age = 15 + is_female = no + NOT = { + age = 30 + trait = homosexual + trait = infirm + trait = incapable + trait = eunuch + } + NOT = { is_inaccessible_trigger = yes } + prisoner = no + is_married = no + in_command = no + } + } + } + } + } + } + + immediate = { + father = { + if = { + limit = { + liege = { + ai = no + has_dynasty_flag = the_victims + has_dynasty_flag = feud_phase_two + } + } + liege = { + narrative_event = { id = REP.163 } + } + } + if = { + limit = { + liege = { + any_vassal = { + is_patrician = yes + ai = no + has_dynasty_flag = the_victims + has_dynasty_flag = feud_phase_two + } + } + } + liege = { + random_vassal = { + limit = { + is_patrician = yes + ai = no + has_dynasty_flag = the_victims + has_dynasty_flag = feud_phase_two + } + narrative_event = { id = REP.163 } + } + } + } + } + set_character_flag = julia + } + + mean_time_to_happen = { + months = 100 + } +} + +# A Nightly Visit... (Son) +narrative_event = { + id = REP.163 + title = EVTNAME_REP_161 + desc = EVTDESC_REP_163 + picture = GFX_evt_family_feud_republic + + is_triggered_only = yes + + immediate = { + set_dynasty_flag = romeo_juliet_feud + } + + option = { + name = EVTOPTA_REP_163 + hidden_tooltip = { + random_list = { + 80 = { + narrative_event = { id = REP.165 days = 46 } + } + 20 = { + } + } + } + random_child = { + limit = { + age = 15 + is_female = no + NOT = { + age = 30 + trait = homosexual + trait = infirm + trait = incapable + trait = eunuch + } + is_married = no + prisoner = no + in_command = no + } + set_character_flag = romeo + custom_tooltip = { text = forbid_son_tooltip } + } + } + option = { + name = EVTOPTB_REP_161 + hidden_tooltip = { + random_list = { + 60 = { + narrative_event = { id = REP.165 days = 46 } + } + 40 = { + narrative_event = { id = REP.166 days = 46 } + } + } + } + random_child = { + limit = { + age = 15 + is_female = no + NOT = { + age = 30 + trait = homosexual + trait = infirm + trait = incapable + trait = eunuch + } + is_married = no + prisoner = no + in_command = no + } + set_character_flag = romeo + custom_tooltip = { text = permit_love_tooltip } + } + } +} + +# Never Was a Story of More Woe... (Daughter) +narrative_event = { + id = REP.164 + title = EVTNAME_REP_164 + desc = EVTDESC_REP_164 + picture = GFX_evt_family_feud_republic + + hide_from = yes + + is_triggered_only = yes + + option = { + name = EVTOPTA_REP_164 + hidden_tooltip = { + character_event = { id = REP.167 days = 14 } + } + set_dynasty_flag = feud_peace_1 + FROMFROM = { + father = { set_dynasty_flag = feud_peace_2 } + death = { death_reason = death_suicide_poison } + } + random_child = { + limit = { has_character_flag = julia } + death = { death_reason = death_suicide_poison } + } + custom_tooltip = { text = end_feud_tooltip } + } + option = { + name = EVTOPTB_REP_164 + FROMFROM = { + death = { death_reason = death_suicide_poison } + } + random_child = { + limit = { has_character_flag = julia } + death = { death_reason = death_suicide_poison } + } + custom_tooltip = { text = continue_feud_tooltip } + } +} + +# Never Was a Story of More Woe... (Son) +narrative_event = { + id = REP.165 + title = EVTNAME_REP_164 + desc = EVTDESC_REP_165 + picture = GFX_evt_family_feud_republic + + hide_from = yes + + is_triggered_only = yes + + option = { + name = EVTOPTA_REP_164 + hidden_tooltip = { + character_event = { id = REP.167 days = 14 } + } + set_dynasty_flag = feud_peace_1 + FROMFROM = { + father = { set_dynasty_flag = feud_peace_2 } + death = { death_reason = death_suicide_poison } + } + random_child = { + limit = { has_character_flag = romeo } + death = { death_reason = death_suicide_poison } + } + custom_tooltip = { text = end_feud_tooltip } + } + option = { + name = EVTOPTB_REP_165 + FROMFROM = { + death = { death_reason = death_suicide_poison } + } + random_child = { + limit = { has_character_flag = romeo } + death = { death_reason = death_suicide_poison } + } + custom_tooltip = { text = continue_feud_tooltip } + } +} + +# Wedding Bells +narrative_event = { + id = REP.166 + title = EVTNAME_REP_166 + desc = EVTDESC_REP_166 + picture = GFX_evt_marriage + + hide_from = yes + + is_triggered_only = yes + + option = { + name = EVTOPTA_REP_166 + random_child = { + limit = { + OR = { + has_character_flag = romeo + has_character_flag = julia + } + } + add_spouse = FROMFROM + clr_character_flag = romeo + clr_character_flag = julia + } + FROMFROM = { + clr_character_flag = romeo + clr_character_flag = julia + } + prestige = 100 + clr_dynasty_flag = the_victims + FROMFROM = { + father = { + clr_dynasty_flag = the_feuders + prestige = 100 + any_dynasty_member = { + remove_opinion = { who = ROOT modifier = opinion_feuding_family } + remove_opinion = { who = ROOT modifier = opinion_feuding_family_light } + } + } + } + } +} + +# Two Funerals and a Truce (AI) +character_event = { + id = REP.167 + hide_window = yes + + is_patrician = yes + + trigger = { + has_dlc = "The Republic" + has_dynasty_flag = feud_peace_2 + OR = { + AND = { + liege = { ai = no } + has_dynasty_flag = feud_peace_1 + } + liege = { + any_vassal = { + is_patrician = yes + ai = no + has_dynasty_flag = feud_peace_1 + } + } + } + } + + mean_time_to_happen = { + days = 1 + } + + immediate = { + clr_dynasty_flag = feud_peace_2 + if = { + limit = { + liege = { + ai = no + has_dynasty_flag = feud_peace_1 + } + } + liege = { + narrative_event = { id = REP.168 } + clr_dynasty_flag = feud_peace_1 + } + } + if = { + limit = { + liege = { + any_vassal = { + is_patrician = yes + ai = no + has_dynasty_flag = feud_peace_1 + } + } + } + liege = { + random_vassal = { + limit = { + is_patrician = yes + ai = no + has_dynasty_flag = feud_peace_1 + } + narrative_event = { id = REP.168 } + clr_dynasty_flag = feud_peace_1 + } + } + } + } +} + +# Two Funerals and a Truce (Player) +narrative_event = { + id = REP.168 + title = EVTNAME_REP_168 + desc = EVTDESC_REP_168 + picture = GFX_evt_death + + is_triggered_only = yes + + option = { + name = EVTOPTA_REP_168 + clr_dynasty_flag = the_victims + hidden_tooltip = { + FROM = { + clr_dynasty_flag = the_feuders + remove_opinion = { who = ROOT modifier = opinion_feuding_family } + any_dynasty_member = { + remove_opinion = { who = FROM modifier = opinion_feuding_family_light } + } + } + } + } +} + +### The Smugglers + +# The Smugglers (AI Patrician) +character_event = { + id = REP.180 + hide_window = yes + + min_age = 30 + ai = yes + is_patrician = yes + capable_only = yes + prisoner = no + + trigger = { + has_dlc = "The Republic" + has_dynasty_flag = the_feuders + liege = { is_merchant_republic = yes } + wealth = 200 + OR = { + liege = { + is_patrician = yes + ai = no + in_command = no + prisoner = no + NOT = { trait = incapable } + has_dynasty_flag = the_victims + NOT = { has_dynasty_flag = smugglers_feud } + any_child = { + is_female = no + is_alive = yes + age = 16 + NOT = { age = 35 } + in_command = no + prisoner = no + NOT = { + trait = incapable + trait = infirm + trait = blinded + trait = craven + } + NOT = { is_inaccessible_trigger = yes } + } + } + liege = { + any_vassal = { + is_patrician = yes + ai = no + has_dynasty_flag = the_victims + NOT = { has_dynasty_flag = smugglers_feud } + any_child = { + is_female = no + is_alive = yes + age = 16 + NOT = { age = 35 } + in_command = no + prisoner = no + NOT = { + trait = incapable + trait = infirm + trait = blinded + trait = craven + } + NOT = { is_inaccessible_trigger = yes } + } + } + } + } + } + + mean_time_to_happen = { + months = 420 + } + + immediate = { + if = { + limit = { + liege = { + ai = no + has_dynasty_flag = the_victims + } + } + liege = { + random_child = { + limit = { + is_female = no + is_alive = yes + age = 16 + NOT = { age = 35 } + in_command = no + prisoner = no + NOT = { + trait = incapable + trait = infirm + trait = blinded + } + NOT = { is_inaccessible_trigger = yes } + } + character_event = { id = REP.181 } + } + } + } + if = { + limit = { + liege = { + any_vassal = { + is_patrician = yes + ai = no + has_dynasty_flag = the_victims + } + } + } + liege = { + random_vassal = { + limit = { + is_patrician = yes + ai = no + has_dynasty_flag = the_victims + } + random_child = { + limit = { + is_female = no + is_alive = yes + age = 16 + NOT = { age = 35 } + in_command = no + prisoner = no + NOT = { + trait = incapable + trait = infirm + trait = blinded + } + NOT = { is_inaccessible_trigger = yes } + } + character_event = { id = REP.181 } + } + } + } + } + } +} + +# The Smugglers (AI Son) +character_event = { + id = REP.181 + hide_window = yes + + ai = yes + + is_triggered_only = yes + + immediate = { + father = { + narrative_event = { id = REP.182 } + } + } +} + +# The Smugglers +narrative_event = { + id = REP.182 + title = EVTNAME_REP_182 + desc = EVTDESC_REP_182 + picture = GFX_evt_family_feud_republic + + is_triggered_only = yes + + immediate = { + set_dynasty_flag = smugglers_feud + } + + option = { + name = EVTOPTA_REP_182 + + custom_tooltip = { + text = approve_plan_tooltip + hidden_tooltip = { + FROMFROM = { + character_event = { id = REP.183 days = 26 } + } + } + } + } + option = { + name = EVTOPTB_REP_182 + custom_tooltip = { text = refuse_plan_tooltip } + } +} + +# Plan is approved (AI Patrician) +character_event = { + id = REP.183 + hide_window = yes + + is_triggered_only = yes + + immediate = { + FROMFROM = { + character_event = { id = REP.184 } + } + } +} + +# Plan is approved (AI Son) +character_event = { + id = REP.184 + hide_window = yes + + is_triggered_only = yes + + immediate = { + FROMFROM = { + random_list = { + 60 = { + narrative_event = { id = REP.185 } + } + 40 = { + narrative_event = { id = REP.186 } + } + } + } + } +} + +# The Only Good Smuggler... +narrative_event = { + id = REP.185 + title = EVTNAME_REP_185 + desc = EVTDESC_REP_185 + picture = GFX_evt_family_feud_republic + + is_triggered_only = yes + + option = { + name = EVTOPTA_REP_185 + wealth = 200 + prestige = 100 + FROMFROM = { + wealth = -200 + prestige = -100 + } + set_dynasty_flag = feud_phase_two + } +} + +# The Ultimate Sacrifice +narrative_event = { + id = REP.186 + title = EVTNAME_REP_186 + desc = EVTDESC_REP_186 + picture = GFX_evt_family_feud_republic + + is_triggered_only = yes + + immediate = { + set_dynasty_flag = feud_phase_two + } + + option = { + name = EVTOPTA_REP_186 + trigger = { + NOT = { wealth = 200 } + } + FROM = { + death = { + death_reason = death_murder_beheading + killer = FROM + } + } + } + option = { + name = EVTOPTB_REP_186 + trigger = { + wealth = 200 + } + wealth = -200 + } + option = { + name = EVTOPTC_REP_186 + FROM = { + death = { + death_reason = death_murder_beheading + killer = FROM + } + } + } +} + +### The Battle + +# The Right of Way (AI) +character_event = { + id = REP.190 + hide_window = yes + + min_age = 16 + ai = yes + is_patrician = yes + capable_only = yes + prisoner = no + + trigger = { + has_dlc = "The Republic" + in_command = no + NOT = { + trait = infirm + trait = blinded + } + NOT = { is_inaccessible_trigger = yes } + has_dynasty_flag = the_feuders + liege = { is_merchant_republic = yes } + OR = { + liege = { + ai = no + age = 16 + in_command = no + prisoner = no + is_patrician = yes + NOT = { + trait = incapable + trait = infirm + trait = blinded + } + NOT = { is_inaccessible_trigger = yes } + has_dynasty_flag = the_victims + has_dynasty_flag = feud_phase_two + NOT = { has_dynasty_flag = pirate_feud } + } + liege = { + any_vassal = { + is_patrician = yes + ai = no + age = 16 + in_command = no + prisoner = no + NOT = { + trait = incapable + trait = infirm + trait = blinded + } + NOT = { is_inaccessible_trigger = yes } + has_dynasty_flag = the_victims + has_dynasty_flag = feud_phase_two + NOT = { has_dynasty_flag = pirate_feud } + } + } + } + } + + mean_time_to_happen = { + months = 720 + } + + immediate = { + if = { + limit = { + liege = { + ai = no + has_dynasty_flag = the_victims + has_dynasty_flag = feud_phase_two + NOT = { has_dynasty_flag = pirate_feud } + NOT = { is_inaccessible_trigger = yes } + } + } + liege = { + narrative_event = { id = REP.191 } + } + } + if = { + limit = { + liege = { + any_vassal = { + is_patrician = yes + ai = no + has_dynasty_flag = the_victims + has_dynasty_flag = feud_phase_two + NOT = { has_dynasty_flag = pirate_feud } + NOT = { is_inaccessible_trigger = yes } + } + } + } + liege = { + random_vassal = { + limit = { + is_patrician = yes + ai = no + has_dynasty_flag = the_victims + has_dynasty_flag = feud_phase_two + NOT = { has_dynasty_flag = pirate_feud } + NOT = { is_inaccessible_trigger = yes } + } + narrative_event = { id = REP.191 } + } + } + } + } +} + +# The Right of Way +narrative_event = { + id = REP.191 + title = EVTNAME_REP_191 + desc = EVTDESC_REP_191 + picture = GFX_evt_busy_trading_dock_republic + + is_triggered_only = yes + + immediate = { + set_dynasty_flag = pirate_feud + } + + option = { + name = EVTOPTA_REP_191 + custom_tooltip = { + text = battle_tooltip + hidden_tooltip = { + narrative_event = { id = REP.192 days = 5 } + } + } + } + option = { + name = EVTOPTB_REP_191 + custom_tooltip = { text = no_battle_tooltip } + prestige = -100 + FROM = { prestige = 100 } + } +} + +# Battle is Joined! +narrative_event = { + id = REP.192 + title = EVTNAME_REP_192 + desc = EVTDESC_REP_192 + picture = GFX_evt_kraken + + is_triggered_only = yes + + option = { + name = EVTOPTA_REP_192 + custom_tooltip = { + text = flotsam_tooltip + hidden_tooltip = { + FROMFROM = { + character_event = { id = REP.193 } + } + } + } + } +} + +# Days of Toil and Hardship (AI) +character_event = { + id = REP.193 + hide_window = yes + + ai = yes + + is_triggered_only = yes + + immediate = { + FROM = { + narrative_event = { id = REP.194 } + } + } +} + +# Days of Toil and Hardship +narrative_event = { + id = REP.194 + title = EVTNAME_REP_194 + desc = EVTDESC_REP_194 + picture = GFX_evt_trade_post_republic + + is_triggered_only = yes + + option = { + name = EVTOPTA_REP_194 + FROM = { + death = { death_reason = death_dungeon } + } + custom_tooltip = { text = flee_ship_tooltip } + } + option = { + name = EVTOPTB_REP_194 + custom_tooltip = { + text = rescue_rival_tooltip + hidden_tooltip = { + narrative_event = { id = REP.195 } + } + } + } +} + +# The Mutiny +narrative_event = { + id = REP.195 + title = EVTNAME_REP_195 + desc = EVTDESC_REP_195 + picture = GFX_evt_merchant_ship_at_sea_republic + + is_triggered_only = yes + + option = { + name = EVTOPTA_REP_195 + custom_tooltip = { text = feud_over_tooltip } + clr_dynasty_flag = the_victims + FROMFROM = { + clr_dynasty_flag = the_feuders + remove_opinion = { who = ROOT modifier = opinion_feuding_family } + any_dynasty_member = { + remove_opinion = { who = FROM modifier = opinion_feuding_family_light } + } + } + } + option = { + name = EVTOPTB_REP_195 + custom_tooltip = { text = feud_continues_tooltip } + } +} + +### Rival Dynasty Rules the Republic + +# Rival Dynasty Rules the Republic (AI) +character_event = { + id = REP.200 + hide_window = yes + + min_age = 16 + ai = yes + is_patrician = yes + prisoner = no + capable_only = yes + + trigger = { + has_dlc = "The Republic" + has_dynasty_flag = the_feuders + is_merchant_republic = yes + any_vassal = { + is_patrician = yes + ai = no + has_dynasty_flag = the_victims + NOT = { has_dynasty_flag = evil_ruler_feud } + } + } + + mean_time_to_happen = { + months = 320 + } + + immediate = { + random_vassal = { + limit = { + is_patrician = yes + ai = no + has_dynasty_flag = the_victims + NOT = { has_dynasty_flag = evil_ruler_feud } + } + narrative_event = { id = REP.201 } + } + } +} + +# Rival Dynasty Rules the Republic +narrative_event = { + id = REP.201 + title = EVTNAME_REP_201 + desc = EVTDESC_REP_201 + picture = GFX_evt_doge_republic + + is_triggered_only = yes + + immediate = { + set_dynasty_flag = evil_ruler_feud + } + + option = { + name = EVTOPTA_REP_201 + prestige = -100 + FROM = { prestige = 50 } + } +} + +### Player Dynasty Rules the Republic + +# Player Dynasty Rules the Republic (AI) +character_event = { + id = REP.202 + hide_window = yes + + ai = yes + is_patrician = yes + + trigger = { + has_dlc = "The Republic" + has_dynasty_flag = the_feuders + liege = { is_merchant_republic = yes } + liege = { + ai = no + has_dynasty_flag = the_victims + NOT = { has_dynasty_flag = player_ruler_feud } + is_patrician = yes + age = 16 + prisoner = no + NOT = { trait = incapable } + } + } + + mean_time_to_happen = { + months = 320 + } + + immediate = { + liege = { + narrative_event = { id = REP.203 } + } + } +} + +# Player Dynasty Rules the Republic +narrative_event = { + id = REP.203 + title = EVTNAME_REP_201 + desc = EVTDESC_REP_203 + picture = GFX_evt_doge_republic + + is_triggered_only = yes + + immediate = { + set_dynasty_flag = player_ruler_feud + } + + option = { + name = EVTOPTA_REP_203 + prestige = 50 + FROM = { prestige = -100 } + } +} + +### Riots + +# Riots (AI) +character_event = { + id = REP.205 + hide_window = yes + + ai = yes + is_patrician = yes + + trigger = { + has_dlc = "The Republic" + has_dynasty_flag = the_feuders + liege = { is_merchant_republic = yes } + OR = { + liege = { + ai = no + has_dynasty_flag = the_victims + is_patrician = yes + } + liege = { + any_vassal = { + is_patrician = yes + ai = no + has_dynasty_flag = the_victims + } + } + } + } + + mean_time_to_happen = { + months = 420 + } + + immediate = { + if = { + limit = { + liege = { + ai = no + has_dynasty_flag = the_victims + } + } + liege = { + narrative_event = { id = REP.206 } + } + } + if = { + limit = { + liege = { + any_vassal = { + is_patrician = yes + ai = no + has_dynasty_flag = the_victims + } + } + } + liege = { + random_vassal = { + limit = { + is_patrician = yes + ai = no + has_dynasty_flag = the_victims + } + narrative_event = { id = REP.206 } + } + } + } + } +} + +# Riots +narrative_event = { + id = REP.206 + title = EVTNAME_REP_206 + desc = EVTDESC_REP_206 + picture = GFX_evt_family_feud_republic + + is_triggered_only = yes + + option = { + name = EVTOPTA_REP_206 + prestige = -100 + FROM = { prestige = -100 } + } +} diff --git a/LCDA/events/republic_trade_events.txt b/LCDA/events/republic_trade_events.txt new file mode 100644 index 0000000..96696d6 --- /dev/null +++ b/LCDA/events/republic_trade_events.txt @@ -0,0 +1,3877 @@ +################################# +# +# THE REPUBLIC +# - Trade Events +# +################################# + +# Written by Henrik Eklund + +namespace = REP + +### Shipping Events + +# Thieving Captain (AI) +character_event = { + id = REP.1 + hide_window = yes + + ai = yes + is_patrician = yes + + trigger = { + has_dlc = "The Republic" + liege = { is_merchant_republic = yes } + OR = { + liege = { ai = no } + liege = { + any_vassal = { + is_patrician = yes + ai = no + } + } + } + } + + mean_time_to_happen = { + months = 1820 + } + + immediate = { + if = { + limit = { + liege = { ai = no } + } + liege = { + character_event = { id = REP.2 } + } + } + if = { + limit = { + liege = { + any_vassal = { + is_patrician = yes + ai = no + } + } + } + liege = { + random_vassal = { + limit = { + is_patrician = yes + ai = no + } + character_event = { id = REP.2 } + } + } + } + } +} + +# Thieving Captain (Player) +character_event = { + id = REP.2 + desc = EVTDESC_REP_002 + picture = GFX_evt_trade_post_republic + + hide_from = yes + + is_triggered_only = yes + + option = { + name = EVTOPTA_REP_002 + wealth = -50 + } +} + +# Spoiled Cargo +character_event = { + id = REP.3 + desc = EVTDESC_REP_003 + picture = GFX_evt_merchant_ship_at_sea_republic + + ai = no + is_patrician = yes + + trigger = { + has_dlc = "The Republic" + } + + mean_time_to_happen = { + months = 1420 + } + + option = { + name = EVTOPTA_REP_003 + wealth = -50 + } +} + +# Ship Lost in Storm (AI) +character_event = { + id = REP.4 + hide_window = yes + + ai = yes + is_patrician = yes + + trigger = { + has_dlc = "The Republic" + liege = { is_merchant_republic = yes } + OR = { + liege = { ai = no } + liege = { + any_vassal = { + is_patrician = yes + ai = no + } + } + } + } + + mean_time_to_happen = { + months = 1820 + } + + immediate = { + if = { + limit = { + liege = { ai = no } + } + liege = { + character_event = { id = REP.5 } + } + } + if = { + limit = { + liege = { + any_vassal = { + is_patrician = yes + ai = no + } + } + } + liege = { + random_vassal = { + limit = { + is_patrician = yes + ai = no + } + character_event = { id = REP.5 } + } + } + } + } +} + +# Ship Lost in Storm (Player) +character_event = { + id = REP.5 + desc = EVTDESC_REP_005 + picture = GFX_evt_bad_news + + hide_from = yes + + is_triggered_only = yes + + option = { + name = EVTOPTA_REP_005 + wealth = -50 + } +} + +# Pirates Attack Ships +character_event = { + id = REP.6 + desc = EVTDESC_REP_006 + picture = GFX_evt_merchant_ship_at_sea_republic + + ai = no + is_patrician = yes + + trigger = { + has_dlc = "The Republic" + } + + mean_time_to_happen = { + months = 1420 + } + + option = { + name = EVTOPTA_REP_006 + wealth = -50 + } +} + +# Pirates Captured +character_event = { + id = REP.7 + desc = EVTDESC_REP_007 + picture = GFX_evt_merchant_ship_at_sea_republic + + ai = no + is_patrician = yes + + trigger = { + has_dlc = "The Republic" + } + + mean_time_to_happen = { + months = 1220 + } + + option = { + name = EVTOPTA_REP_007 + wealth = 100 + } +} + +# Valuable Spice Obtained +character_event = { + id = REP.8 + desc = EVTDESC_REP_008 + picture = GFX_evt_busy_trading_dock_republic + + ai = no + is_patrician = yes + + trigger = { + has_dlc = "The Republic" + in_revolt = no + } + + mean_time_to_happen = { + months = 1220 + } + + option = { + name = EVTOPTA_REP_008 + wealth = 100 + } +} + +# New Markets Discovered +character_event = { + id = REP.9 + desc = EVTDESC_REP_009 + picture = GFX_evt_trade_post_republic + + ai = no + is_patrician = yes + + trigger = { + has_dlc = "The Republic" + } + + mean_time_to_happen = { + months = 1220 + } + + option = { + name = EVTOPTA_REP_009 + wealth = 100 + } +} + +# Lost Ship Appears +character_event = { + id = REP.10 + desc = EVTDESC_REP_010 + picture = GFX_evt_merchant_ship_at_sea_republic + + ai = no + is_patrician = yes + + trigger = { + has_dlc = "The Republic" + } + + mean_time_to_happen = { + months = 1220 + } + + option = { + name = EVTOPTA_REP_010 + wealth = 100 + } +} + +# Dockworkers Strike +character_event = { + id = REP.11 + desc = EVTDESC_REP_011 + picture = GFX_evt_busy_trading_dock_republic + + ai = no + is_patrician = yes + + trigger = { + has_dlc = "The Republic" + } + + mean_time_to_happen = { + months = 1420 + } + + option = { + name = EVTOPTA_REP_011 + wealth = -50 + } +} + +# Warehouse Fire +character_event = { + id = REP.12 + desc = EVTDESC_REP_012 + picture = GFX_evt_burning_house + + ai = no + is_patrician = yes + + trigger = { + has_dlc = "The Republic" + } + + mean_time_to_happen = { + months = 1420 + } + + option = { + name = EVTOPTA_REP_012 + wealth = -50 + } +} + +# Noble Books Passage (AI) +character_event = { + id = REP.13 + hide_window = yes + + ai = yes + is_patrician = yes + + trigger = { + has_dlc = "The Republic" + liege = { is_merchant_republic = yes } + OR = { + liege = { ai = no } + liege = { + any_vassal = { + is_patrician = yes + ai = no + } + } + } + } + + mean_time_to_happen = { + months = 1820 + } + + immediate = { + if = { + limit = { + liege = { ai = no } + } + liege = { + character_event = { id = REP.14 } + } + } + if = { + limit = { + liege = { + any_vassal = { + is_patrician = yes + ai = no + } + } + } + liege = { + random_vassal = { + limit = { + is_patrician = yes + ai = no + } + character_event = { id = REP.14 } + } + } + } + } +} + +# Noble Books Passage (Player) +character_event = { + id = REP.14 + desc = EVTDESC_REP_014 + picture = GFX_evt_trade_post_republic + + hide_from = yes + + is_triggered_only = yes + + option = { + name = EVTOPTA_REP_014 + wealth = 100 + } +} + +# Efficient Dockworkers +character_event = { + id = REP.15 + desc = EVTDESC_REP_015 + picture = GFX_evt_busy_trading_dock_republic + + ai = no + is_patrician = yes + + trigger = { + has_dlc = "The Republic" + } + + mean_time_to_happen = { + months = 1220 + } + + option = { + name = EVTOPTA_REP_015 + wealth = 100 + } +} + +# Treasure Found! +character_event = { + id = REP.16 + desc = EVTDESC_REP_016 + picture = GFX_evt_trade_post_republic + + ai = no + is_patrician = yes + + trigger = { + has_dlc = "The Republic" + } + + mean_time_to_happen = { + months = 1220 + } + + option = { + name = EVTOPTA_REP_016 + wealth = 100 + } +} + +# Improved Charts +character_event = { + id = REP.17 + desc = EVTDESC_REP_017 + picture = GFX_evt_merchant_ship_at_sea_republic + + ai = no + is_patrician = yes + + trigger = { + has_dlc = "The Republic" + } + + mean_time_to_happen = { + months = 1220 + } + + option = { + name = EVTOPTA_REP_017 + wealth = 100 + } +} + +# Captain Rams Pier +character_event = { + id = REP.18 + desc = EVTDESC_REP_018 + picture = GFX_evt_busy_trading_dock_republic + + ai = no + is_patrician = yes + + trigger = { + has_dlc = "The Republic" + } + + mean_time_to_happen = { + months = 1420 + } + + option = { + name = EVTOPTA_REP_018 + trigger = { + NOT = { trait = drunkard } + } + wealth = -50 + } + option = { + name = EVTOPTB_REP_018 + tooltip_info = drunkard + trigger = { + trait = drunkard + } + wealth = -50 + } +} + +# Mutiny! (AI) +character_event = { + id = REP.19 + hide_window = yes + + ai = yes + is_patrician = yes + + trigger = { + has_dlc = "The Republic" + liege = { is_merchant_republic = yes } + OR = { + liege = { ai = no } + liege = { + any_vassal = { + is_patrician = yes + ai = no + } + } + } + } + + mean_time_to_happen = { + months = 1820 + } + + immediate = { + if = { + limit = { + liege = { ai = no } + } + liege = { + character_event = { id = REP.20 } + } + } + if = { + limit = { + liege = { + any_vassal = { + is_patrician = yes + ai = no + } + } + } + liege = { + random_vassal = { + limit = { + is_patrician = yes + ai = no + } + character_event = { id = REP.20 } + } + } + } + } +} + +# Mutiny! (Player) +character_event = { + id = REP.20 + desc = EVTDESC_REP_020 + picture = GFX_evt_merchant_ship_at_sea_republic + + hide_from = yes + + is_triggered_only = yes + + option = { + name = EVTOPTA_REP_020 + wealth = -50 + } +} + +### The Rise of the Hansa + +# Hansa formed in Hamburg (AI) +character_event = { + id = REP.40 + hide_window = yes + + ai = yes + only_playable = yes + + trigger = { + has_landed_title = c_hamburg + year = 1170 + top_liege = { + has_landed_title = e_hre + religion_group = christian + } + 261 = { + culture = german + religion_group = christian + } + OR = { + NOT = { is_merchant_republic = yes } + NOT = { liege = { is_merchant_republic = yes } } + NOT = { is_patrician = yes } + } + NOT = { has_global_flag = hansa_formed } + } + + immediate = { + top_liege = { character_event = { id = REP.45 } } + } + + mean_time_to_happen = { + months = 1020 + } +} + +# Hansa formed in Bremen (AI) +character_event = { + id = REP.41 + hide_window = yes + + ai = yes + only_playable = yes + + trigger = { + has_landed_title = c_bremen + year = 1170 + top_liege = { + has_landed_title = e_hre + religion_group = christian + } + 848 = { + culture = german + religion_group = christian + } + OR = { + NOT = { is_merchant_republic = yes } + NOT = { liege = { is_merchant_republic = yes } } + NOT = { is_patrician = yes } + } + NOT = { has_global_flag = hansa_formed } + } + + immediate = { + top_liege = { character_event = { id = REP.46 } } + } + + mean_time_to_happen = { + months = 1020 + } +} + +# Hansa formed in Lübeck (AI) +character_event = { + id = REP.42 + hide_window = yes + + ai = yes + only_playable = yes + + trigger = { + has_landed_title = c_lubeck + year = 1170 + top_liege = { + has_landed_title = e_hre + religion_group = christian + } + 262 = { + culture = german + religion_group = christian + } + OR = { + NOT = { is_merchant_republic = yes } + NOT = { liege = { is_merchant_republic = yes } } + NOT = { is_patrician = yes } + } + NOT = { has_global_flag = hansa_formed } + } + + immediate = { + top_liege = { character_event = { id = REP.47 } } + } + + mean_time_to_happen = { + months = 1020 + } +} + +# Hansa formed in Mecklenburg (AI) +character_event = { + id = REP.43 + hide_window = yes + + ai = yes + only_playable = yes + + trigger = { + has_landed_title = c_mecklemburg + year = 1170 + top_liege = { + has_landed_title = e_hre + religion_group = christian + } + 260 = { + culture = german + religion_group = christian + } + OR = { + NOT = { is_merchant_republic = yes } + NOT = { liege = { is_merchant_republic = yes } } + NOT = { is_patrician = yes } + } + NOT = { has_global_flag = hansa_formed } + } + + immediate = { + top_liege = { character_event = { id = REP.48 } } + } + + mean_time_to_happen = { + months = 1020 + } +} + +# Hansa formed in Rostock (AI) +character_event = { + id = REP.44 + hide_window = yes + + ai = yes + only_playable = yes + + trigger = { + has_landed_title = c_rostock + year = 1170 + top_liege = { + has_landed_title = e_hre + religion_group = christian + } + 306 = { + culture = german + religion_group = christian + } + OR = { + NOT = { is_merchant_republic = yes } + NOT = { liege = { is_merchant_republic = yes } } + NOT = { is_patrician = yes } + } + NOT = { has_global_flag = hansa_formed } + } + + immediate = { + top_liege = { character_event = { id = REP.49 } } + } + + mean_time_to_happen = { + months = 1020 + } +} + +# Permit Hansa in Hamburg? +character_event = { + id = REP.45 + desc = EVTDESC_REP_45 + picture = GFX_evt_busy_trading_dock_republic + border = GFX_event_normal_frame_intrigue + + hide_from = yes + + is_triggered_only = yes + + option = { + name = EVTOPTA_REP_45 + ai_chance = { factor = 100 } + hidden_tooltip = { + FROM = { character_event = { id = REP.50 } } + } + FROM = { + opinion = { + modifier = opinion_unhappy + who = ROOT + years = 4 + } + } + if = { + limit = { + FROM = { + liege = { + NOT = { character = ROOT } + } + } + } + FROM = { + liege = { + opinion = { + modifier = opinion_unhappy + who = ROOT + years = 4 + } + } + } + } + custom_tooltip = { text = permit_hansa_tooltip } + } + option = { + name = EVTOPTB_REP_45 + FROM = { + opinion = { + modifier = opinion_happy + who = ROOT + years = 4 + } + } + if = { + limit = { + FROM = { + liege = { + NOT = { character = ROOT } + } + } + } + FROM = { + liege = { + opinion = { + modifier = opinion_happy + who = ROOT + years = 4 + } + } + } + } + custom_tooltip = { text = deny_hansa_tooltip } + set_global_flag = hansa_formed + } +} + +# Permit Hansa in Bremen? +character_event = { + id = REP.46 + desc = EVTDESC_REP_46 + picture = GFX_evt_busy_trading_dock_republic + border = GFX_event_normal_frame_intrigue + + hide_from = yes + + is_triggered_only = yes + + option = { + name = EVTOPTA_REP_45 + ai_chance = { factor = 100 } + hidden_tooltip = { + FROM = { character_event = { id = REP.51 } } + } + FROM = { + opinion = { + modifier = opinion_unhappy + who = ROOT + years = 4 + } + } + if = { + limit = { + FROM = { + liege = { + NOT = { character = ROOT } + } + } + } + FROM = { + liege = { + opinion = { + modifier = opinion_unhappy + who = ROOT + years = 4 + } + } + } + } + custom_tooltip = { text = permit_hansa_tooltip } + } + option = { + name = EVTOPTB_REP_45 + FROM = { + opinion = { + modifier = opinion_happy + who = ROOT + years = 4 + } + } + if = { + limit = { + FROM = { + liege = { + NOT = { character = ROOT } + } + } + } + FROM = { + liege = { + opinion = { + modifier = opinion_happy + who = ROOT + years = 4 + } + } + } + } + custom_tooltip = { text = deny_hansa_tooltip } + set_global_flag = hansa_formed + } +} + +# Permit Hansa in Lübeck? +character_event = { + id = REP.47 + desc = EVTDESC_REP_47 + picture = GFX_evt_busy_trading_dock_republic + border = GFX_event_normal_frame_intrigue + + hide_from = yes + + is_triggered_only = yes + + option = { + name = EVTOPTA_REP_45 + ai_chance = { factor = 100 } + hidden_tooltip = { + FROM = { character_event = { id = REP.52 } } + } + FROM = { + opinion = { + modifier = opinion_unhappy + who = ROOT + years = 4 + } + } + if = { + limit = { + FROM = { + liege = { + NOT = { character = ROOT } + } + } + } + FROM = { + liege = { + opinion = { + modifier = opinion_unhappy + who = ROOT + years = 4 + } + } + } + } + custom_tooltip = { text = permit_hansa_tooltip } + } + option = { + name = EVTOPTB_REP_45 + FROM = { + opinion = { + modifier = opinion_happy + who = ROOT + years = 4 + } + } + if = { + limit = { + FROM = { + liege = { + NOT = { character = ROOT } + } + } + } + FROM = { + liege = { + opinion = { + modifier = opinion_happy + who = ROOT + years = 4 + } + } + } + } + custom_tooltip = { text = deny_hansa_tooltip } + set_global_flag = hansa_formed + } +} + +# Permit Hansa in Mecklenburg? +character_event = { + id = REP.48 + desc = EVTDESC_REP_48 + picture = GFX_evt_busy_trading_dock_republic + border = GFX_event_normal_frame_intrigue + + hide_from = yes + + is_triggered_only = yes + + option = { + name = EVTOPTA_REP_45 + ai_chance = { factor = 100 } + hidden_tooltip = { + FROM = { character_event = { id = REP.53 } } + } + FROM = { + opinion = { + modifier = opinion_unhappy + who = ROOT + years = 4 + } + } + if = { + limit = { + FROM = { + liege = { + NOT = { character = ROOT } + } + } + } + FROM = { + liege = { + opinion = { + modifier = opinion_unhappy + who = ROOT + years = 4 + } + } + } + } + custom_tooltip = { text = permit_hansa_tooltip } + } + option = { + name = EVTOPTB_REP_45 + FROM = { + opinion = { + modifier = opinion_happy + who = ROOT + years = 4 + } + } + if = { + limit = { + FROM = { + liege = { + NOT = { character = ROOT } + } + } + } + FROM = { + liege = { + opinion = { + modifier = opinion_happy + who = ROOT + years = 4 + } + } + } + } + custom_tooltip = { text = deny_hansa_tooltip } + set_global_flag = hansa_formed + } +} + +# Permit Hansa in Rostock? +character_event = { + id = REP.49 + desc = EVTDESC_REP_49 + picture = GFX_evt_busy_trading_dock_republic + border = GFX_event_normal_frame_intrigue + + hide_from = yes + + is_triggered_only = yes + + option = { + name = EVTOPTA_REP_45 + ai_chance = { factor = 100 } + hidden_tooltip = { + FROM = { character_event = { id = REP.54 } } + } + FROM = { + opinion = { + modifier = opinion_unhappy + who = ROOT + years = 4 + } + } + if = { + limit = { + FROM = { + liege = { + NOT = { character = ROOT } + } + } + } + FROM = { + liege = { + opinion = { + modifier = opinion_unhappy + who = ROOT + years = 4 + } + } + } + } + custom_tooltip = { text = permit_hansa_tooltip } + } + option = { + name = EVTOPTB_REP_45 + FROM = { + opinion = { + modifier = opinion_happy + who = ROOT + years = 4 + } + } + if = { + limit = { + FROM = { + liege = { + NOT = { character = ROOT } + } + } + } + FROM = { + liege = { + opinion = { + modifier = opinion_happy + who = ROOT + years = 4 + } + } + } + } + custom_tooltip = { text = deny_hansa_tooltip } + set_global_flag = hansa_formed + } +} + +### The Rise of the Hansa + +# Hansa formed in Hamburg (AI) +character_event = { + id = REP.50 + hide_window = yes + + ai = yes + + is_triggered_only = yes + + immediate = { + create_character = { + random_traits = yes + dynasty = random + religion = catholic + culture = german + female = no + age = 30 + } + new_character = { + b_altona = { + grant_title = PREV + } + c_hamburg = { + grant_title = PREV + } + k_hansa = { + grant_title = PREV + } + character_event = { id = REP.60 } + e_hre = { + holder_scope = { + set_defacto_vassal = PREVPREV + } + } + create_character = { # Extra courtiers + random_traits = yes + dynasty = none + religion = catholic + culture = german + female = no + age = 16 + } + create_character = { + random_traits = yes + dynasty = none + religion = catholic + culture = german + female = no + age = 18 + } + create_character = { + random_traits = yes + dynasty = none + religion = catholic + culture = german + female = no + age = 18 + } + create_character = { + random_traits = yes + dynasty = none + religion = catholic + culture = german + female = no + age = 20 + } + create_character = { + random_traits = yes + dynasty = none + religion = catholic + culture = german + female = no + age = 25 + } + create_character = { + random_traits = yes + dynasty = none + religion = catholic + culture = german + female = no + age = 26 + } + create_character = { + random_traits = yes + dynasty = none + religion = catholic + culture = german + female = no + age = 28 + } + create_character = { + random_traits = yes + dynasty = none + religion = catholic + culture = german + female = yes + age = 16 + } + create_character = { + random_traits = yes + dynasty = none + religion = catholic + culture = german + female = yes + age = 17 + } + create_character = { + random_traits = yes + dynasty = none + religion = catholic + culture = german + female = yes + age = 18 + } + create_character = { + random_traits = yes + dynasty = none + religion = catholic + culture = german + female = yes + age = 18 + } + create_character = { + random_traits = yes + dynasty = none + religion = catholic + culture = german + female = yes + age = 20 + } + } + set_global_flag = hansa_formed + } +} + +# Hansa formed in Bremen (AI) +character_event = { + id = REP.51 + hide_window = yes + + ai = yes + + is_triggered_only = yes + + immediate = { + create_character = { + random_traits = yes + dynasty = random + religion = catholic + culture = german + female = no + age = 30 + } + new_character = { + b_beverstedt = { + grant_title = PREV + } + c_bremen = { + grant_title = PREV + } + k_hansa = { + grant_title = PREV + } + character_event = { id = REP.60 } + e_hre = { + holder_scope = { + set_defacto_vassal = PREVPREV + } + } + create_character = { # Extra courtiers + random_traits = yes + dynasty = none + religion = catholic + culture = german + female = no + age = 16 + } + create_character = { + random_traits = yes + dynasty = none + religion = catholic + culture = german + female = no + age = 18 + } + create_character = { + random_traits = yes + dynasty = none + religion = catholic + culture = german + female = no + age = 18 + } + create_character = { + random_traits = yes + dynasty = none + religion = catholic + culture = german + female = no + age = 20 + } + create_character = { + random_traits = yes + dynasty = none + religion = catholic + culture = german + female = no + age = 25 + } + create_character = { + random_traits = yes + dynasty = none + religion = catholic + culture = german + female = no + age = 26 + } + create_character = { + random_traits = yes + dynasty = none + religion = catholic + culture = german + female = no + age = 28 + } + create_character = { + random_traits = yes + dynasty = none + religion = catholic + culture = german + female = yes + age = 16 + } + create_character = { + random_traits = yes + dynasty = none + religion = catholic + culture = german + female = yes + age = 17 + } + create_character = { + random_traits = yes + dynasty = none + religion = catholic + culture = german + female = yes + age = 18 + } + create_character = { + random_traits = yes + dynasty = none + religion = catholic + culture = german + female = yes + age = 18 + } + create_character = { + random_traits = yes + dynasty = none + religion = catholic + culture = german + female = yes + age = 20 + } + } + set_global_flag = hansa_formed + } +} + +# Hansa formed in Lübeck (AI) +character_event = { + id = REP.52 + hide_window = yes + + ai = yes + + is_triggered_only = yes + + immediate = { + create_character = { + random_traits = yes + dynasty = random + religion = catholic + culture = german + female = no + age = 30 + } + new_character = { + b_beverstedt = { + grant_title = PREV + } + c_lubeck = { + grant_title = PREV + } + k_hansa = { + grant_title = PREV + } + character_event = { id = REP.60 } + e_hre = { + holder_scope = { + set_defacto_vassal = PREVPREV + } + } + create_character = { # Extra courtiers + random_traits = yes + dynasty = none + religion = catholic + culture = german + female = no + age = 16 + } + create_character = { + random_traits = yes + dynasty = none + religion = catholic + culture = german + female = no + age = 18 + } + create_character = { + random_traits = yes + dynasty = none + religion = catholic + culture = german + female = no + age = 18 + } + create_character = { + random_traits = yes + dynasty = none + religion = catholic + culture = german + female = no + age = 20 + } + create_character = { + random_traits = yes + dynasty = none + religion = catholic + culture = german + female = no + age = 25 + } + create_character = { + random_traits = yes + dynasty = none + religion = catholic + culture = german + female = no + age = 26 + } + create_character = { + random_traits = yes + dynasty = none + religion = catholic + culture = german + female = no + age = 28 + } + create_character = { + random_traits = yes + dynasty = none + religion = catholic + culture = german + female = yes + age = 16 + } + create_character = { + random_traits = yes + dynasty = none + religion = catholic + culture = german + female = yes + age = 17 + } + create_character = { + random_traits = yes + dynasty = none + religion = catholic + culture = german + female = yes + age = 18 + } + create_character = { + random_traits = yes + dynasty = none + religion = catholic + culture = german + female = yes + age = 18 + } + create_character = { + random_traits = yes + dynasty = none + religion = catholic + culture = german + female = yes + age = 20 + } + } + set_global_flag = hansa_formed + } +} + +# Hansa formed in Mecklenburg (AI) +character_event = { + id = REP.53 + hide_window = yes + + ai = yes + + is_triggered_only = yes + + immediate = { + create_character = { + random_traits = yes + dynasty = random + religion = catholic + culture = german + female = no + age = 30 + } + new_character = { + b_wismar = { + grant_title = PREV + } + c_mecklemburg = { + grant_title = PREV + } + k_hansa = { + grant_title = PREV + } + character_event = { id = REP.60 } + e_hre = { + holder_scope = { + set_defacto_vassal = PREVPREV + } + } + create_character = { # Extra courtiers + random_traits = yes + dynasty = none + religion = catholic + culture = german + female = no + age = 16 + } + create_character = { + random_traits = yes + dynasty = none + religion = catholic + culture = german + female = no + age = 18 + } + create_character = { + random_traits = yes + dynasty = none + religion = catholic + culture = german + female = no + age = 18 + } + create_character = { + random_traits = yes + dynasty = none + religion = catholic + culture = german + female = no + age = 20 + } + create_character = { + random_traits = yes + dynasty = none + religion = catholic + culture = german + female = no + age = 25 + } + create_character = { + random_traits = yes + dynasty = none + religion = catholic + culture = german + female = no + age = 26 + } + create_character = { + random_traits = yes + dynasty = none + religion = catholic + culture = german + female = no + age = 28 + } + create_character = { + random_traits = yes + dynasty = none + religion = catholic + culture = german + female = yes + age = 16 + } + create_character = { + random_traits = yes + dynasty = none + religion = catholic + culture = german + female = yes + age = 17 + } + create_character = { + random_traits = yes + dynasty = none + religion = catholic + culture = german + female = yes + age = 18 + } + create_character = { + random_traits = yes + dynasty = none + religion = catholic + culture = german + female = yes + age = 18 + } + create_character = { + random_traits = yes + dynasty = none + religion = catholic + culture = german + female = yes + age = 20 + } + } + set_global_flag = hansa_formed + } +} + +# Hansa formed in Rostock (AI) +character_event = { + id = REP.54 + hide_window = yes + + ai = yes + + is_triggered_only = yes + + immediate = { + create_character = { + random_traits = yes + dynasty = random + religion = catholic + culture = german + female = no + age = 30 + } + new_character = { + b_gustrow = { + grant_title = PREV + } + c_rostock = { + grant_title = PREV + } + k_hansa = { + grant_title = PREV + } + character_event = { id = REP.60 } + e_hre = { + holder_scope = { + set_defacto_vassal = PREVPREV + } + } + create_character = { # Extra courtiers + random_traits = yes + dynasty = none + religion = catholic + culture = german + female = no + age = 16 + } + create_character = { + random_traits = yes + dynasty = none + religion = catholic + culture = german + female = no + age = 18 + } + create_character = { + random_traits = yes + dynasty = none + religion = catholic + culture = german + female = no + age = 18 + } + create_character = { + random_traits = yes + dynasty = none + religion = catholic + culture = german + female = no + age = 20 + } + create_character = { + random_traits = yes + dynasty = none + religion = catholic + culture = german + female = no + age = 25 + } + create_character = { + random_traits = yes + dynasty = none + religion = catholic + culture = german + female = no + age = 26 + } + create_character = { + random_traits = yes + dynasty = none + religion = catholic + culture = german + female = no + age = 28 + } + create_character = { + random_traits = yes + dynasty = none + religion = catholic + culture = german + female = yes + age = 16 + } + create_character = { + random_traits = yes + dynasty = none + religion = catholic + culture = german + female = yes + age = 17 + } + create_character = { + random_traits = yes + dynasty = none + religion = catholic + culture = german + female = yes + age = 18 + } + create_character = { + random_traits = yes + dynasty = none + religion = catholic + culture = german + female = yes + age = 18 + } + create_character = { + random_traits = yes + dynasty = none + religion = catholic + culture = german + female = yes + age = 20 + } + } + set_global_flag = hansa_formed + } +} + +# The Rise of the Hansa (AI) +character_event = { + id = REP.60 + hide_window = yes + + ai = yes + + is_triggered_only = yes + + immediate = { + narrative_event = { id = REP.61 } + character_event = { id = REP.65 days = 6 } + wealth = 1000 + location = { + if = { + limit = { has_trade_post = yes } + seize_trade_post = ROOT + any_neighbor_province = { + seize_trade_post = ROOT + } + } + } + } +} + +# The Rise of the Hansa +narrative_event = { + id = REP.61 + title = EVTNAME_REP_61 + desc = EVTDESC_REP_61 + major = yes + picture = GFX_evt_busy_trading_dock_republic + + is_triggered_only = yes + + major_trigger = { + ai = no + } + + option = { + name = EVTOPTA_REP_61 + trigger = { + OR = { + NOT = { is_merchant_republic = yes } + NOT = { liege = { is_merchant_republic = yes } } + NOT = { is_patrician = yes } + } + } + } + option = { + name = EVTOPTB_REP_61 + trigger = { + OR = { + is_merchant_republic = yes + is_patrician = yes + } + } + } +} + +# Set up Patricians +character_event = { + id = REP.65 + hide_window = yes + + ai = yes + + is_triggered_only = yes + + immediate = { + random_vassal = { + limit = { + is_patrician = yes + NOT = { + has_character_flag = patrician_1 + has_character_flag = patrician_2 + has_character_flag = patrician_3 + has_character_flag = patrician_4 + } + } + set_character_flag = patrician_1 + } + random_vassal = { + limit = { + is_patrician = yes + NOT = { + has_character_flag = patrician_1 + has_character_flag = patrician_2 + has_character_flag = patrician_3 + has_character_flag = patrician_4 + } + } + set_character_flag = patrician_2 + } + random_vassal = { + limit = { + is_patrician = yes + NOT = { + has_character_flag = patrician_1 + has_character_flag = patrician_2 + has_character_flag = patrician_3 + has_character_flag = patrician_4 + } + } + set_character_flag = patrician_3 + } + random_vassal = { + limit = { + is_patrician = yes + NOT = { + has_character_flag = patrician_1 + has_character_flag = patrician_2 + has_character_flag = patrician_3 + has_character_flag = patrician_4 + } + } + set_character_flag = patrician_4 + } + random_vassal = { + limit = { has_character_flag = patrician_1 } + character_event = { id = REP.66 } + } + random_vassal = { + limit = { has_character_flag = patrician_2 } + character_event = { id = REP.67 } + } + random_vassal = { + limit = { has_character_flag = patrician_3 } + character_event = { id = REP.68 } + } + random_vassal = { + limit = { has_character_flag = patrician_4 } + character_event = { id = REP.69 } + } + } +} + +# Set up Patrician 1 +character_event = { + id = REP.66 + hide_window = yes + + is_triggered_only = yes + + immediate = { + if = { + limit = { + 267 = { has_trade_post = yes } + } + 267 = { + trade_post_owner = { character_event = { id = REP.70 } } + seize_trade_post = ROOT + } + } + if = { + limit = { + 296 = { has_trade_post = yes } + } + 296 = { + trade_post_owner = { character_event = { id = REP.71 } } + seize_trade_post = ROOT + } + } + wealth = 1000 + } +} + +# Set up Patrician 2 +character_event = { + id = REP.67 + hide_window = yes + + is_triggered_only = yes + + immediate = { + if = { + limit = { + 84 = { has_trade_post = yes } + } + 84 = { + trade_post_owner = { character_event = { id = REP.72 } } + seize_trade_post = ROOT + } + } + if = { + limit = { + 83 = { has_trade_post = yes } + } + 83 = { + trade_post_owner = { character_event = { id = REP.73 } } + seize_trade_post = ROOT + } + } + wealth = 1000 + } +} + +# Set up Patrician 3 +character_event = { + id = REP.68 + hide_window = yes + + is_triggered_only = yes + + immediate = { + if = { + limit = { + 32 = { has_trade_post = yes } + } + 32 = { + trade_post_owner = { character_event = { id = REP.74 } } + seize_trade_post = ROOT + } + } + if = { + limit = { + 74 = { has_trade_post = yes } + } + 74 = { + trade_post_owner = { character_event = { id = REP.75 } } + seize_trade_post = ROOT + } + } + wealth = 1000 + } +} + +# Set up Patrician 4 +character_event = { + id = REP.69 + hide_window = yes + + is_triggered_only = yes + + immediate = { + if = { + limit = { + 368 = { has_trade_post = yes } + } + 368 = { + trade_post_owner = { character_event = { id = REP.76 } } + seize_trade_post = ROOT + } + } + if = { + limit = { + 370 = { has_trade_post = yes } + } + 370 = { + trade_post_owner = { character_event = { id = REP.77 } } + seize_trade_post = ROOT + } + } + wealth = 1000 + } +} + +# Former Trade Post Owner Informed 267 +character_event = { + id = REP.70 + desc = EVTDESC_REP_070 + picture = GFX_evt_trade_post_republic + + is_triggered_only = yes + + option = { + name = EVTOPTA_REP_070 + tooltip = { + 267 = { + seize_trade_post = FROM + } + } + } +} + +# Former Trade Post Owner Informed 296 +character_event = { + id = REP.71 + desc = EVTDESC_REP_070 + picture = GFX_evt_trade_post_republic + + is_triggered_only = yes + + option = { + name = EVTOPTA_REP_070 + tooltip = { + 296 = { + seize_trade_post = FROM + } + } + } +} + +# Former Trade Post Owner Informed 84 +character_event = { + id = REP.72 + desc = EVTDESC_REP_070 + picture = GFX_evt_trade_post_republic + + is_triggered_only = yes + + option = { + name = EVTOPTA_REP_070 + tooltip = { + 84 = { + seize_trade_post = FROM + } + } + } +} + +# Former Trade Post Owner Informed 83 +character_event = { + id = REP.73 + desc = EVTDESC_REP_070 + picture = GFX_evt_trade_post_republic + + is_triggered_only = yes + + option = { + name = EVTOPTA_REP_070 + tooltip = { + 83 = { + seize_trade_post = FROM + } + } + } +} + +# Former Trade Post Owner Informed 32 +character_event = { + id = REP.74 + desc = EVTDESC_REP_070 + picture = GFX_evt_trade_post_republic + + is_triggered_only = yes + + option = { + name = EVTOPTA_REP_070 + tooltip = { + 32 = { + seize_trade_post = FROM + } + } + } +} + +# Former Trade Post Owner Informed 74 +character_event = { + id = REP.75 + desc = EVTDESC_REP_070 + picture = GFX_evt_trade_post_republic + + is_triggered_only = yes + + option = { + name = EVTOPTA_REP_070 + tooltip = { + 74 = { + seize_trade_post = FROM + } + } + } +} + +# Former Trade Post Owner Informed 368 +character_event = { + id = REP.76 + desc = EVTDESC_REP_070 + picture = GFX_evt_trade_post_republic + + is_triggered_only = yes + + option = { + name = EVTOPTA_REP_070 + tooltip = { + 368 = { + seize_trade_post = FROM + } + } + } +} + +# Former Trade Post Owner Informed 370 +character_event = { + id = REP.77 + desc = EVTDESC_REP_070 + picture = GFX_evt_trade_post_republic + + is_triggered_only = yes + + option = { + name = EVTOPTA_REP_070 + tooltip = { + 370 = { + seize_trade_post = FROM + } + } + } +} + +### Seize Trade Post Plot + +# Decision Fired +character_event = { + id = REP.300 + desc = EVTDESC_REP_300 + picture = GFX_evt_trade_post_republic + + hide_from = yes + + is_triggered_only = yes + + option = { + name = EVTOPTA_REP_300 + trigger = { + plot_power = 1.0 + NOT = { plot_power = 1.5 } + } + + wealth = -100 + custom_tooltip = { + text = EVTOPTA_REP_300_tooltip + hidden_tooltip = { + plot_target_char = { + character_event = { id = REP.302 days = 5 } + } + } + } + } + option = { + name = EVTOPTB_REP_300 + trigger = { + plot_power = 1.5 + } + + wealth = -50 + custom_tooltip = { + text = EVTOPTB_REP_300_tooltip + hidden_tooltip = { + plot_target_char = { + character_event = { id = REP.308 days = 5 } + } + } + } + } + option = { + name = EVTOPTC_REP_300 + trigger = { + NOT = { plot_power = 1.0 } + } + + wealth = -200 + custom_tooltip = { + text = EVTOPTC_REP_300_tooltip + hidden_tooltip = { + plot_target_char = { + character_event = { id = REP.301 days = 5 } + } + } + } + } + option = { + name = EVTOPTE_REP_300 + trigger = { + is_merchant_republic = no + plot_target_char = { + is_merchant_republic = no + num_of_trade_post_diff = { + character = ROOT + value = 10 + } + } + } + custom_tooltip = { + text = EVTOPTE_REP_300_tooltip + hidden_tooltip = { + liege = { + letter_event = { id = REP.310 days = 5 } + } + } + } + } + option = { + name = EVTOPTD_REP_300 + custom_tooltip = { text = EVTOPTD_REP_300_tooltip } + cancel_plot = plot_seize_trade_post + clr_character_flag = plot_seize_trade_post_decision_taken + } +} + +# Trade Post Owner Informed Of Bribe +character_event = { + id = REP.301 + desc = EVTDESC_REP_301 + picture = GFX_evt_trade_post_republic + + is_triggered_only = yes + + option = { + name = EVTOPTA_REP_301 + + wealth = -250 + custom_tooltip = { + text = EVTOPTA_REP_301_tooltip + hidden_tooltip = { + FROM = { + character_event = { id = REP.303 days = 5 } + } + } + } + } + option = { + name = EVTOPTB_REP_301 + + custom_tooltip = { + text = EVTOPTB_REP_301_tooltip + hidden_tooltip = { + FROM = { + character_event = { id = REP.306 days = 5 } + } + } + } + } +} + +# Trade Post Owner Informed Of Plot Support +character_event = { + id = REP.302 + desc = EVTDESC_REP_302 + picture = GFX_evt_trade_post_republic + + is_triggered_only = yes + + option = { + name = EVTOPTA_REP_302 + + wealth = -250 + custom_tooltip = { + text = EVTOPTA_REP_302_tooltip + hidden_tooltip = { + FROM = { + character_event = { id = REP.303 days = 5 } + } + } + } + } + option = { + name = EVTOPTB_REP_302 + + custom_tooltip = { + text = EVTOPTB_REP_302_tooltip + hidden_tooltip = { + FROM = { + character_event = { id = REP.306 days = 5 } + } + } + } + } +} + +# Plotter Informed Of Bribe +character_event = { + id = REP.303 + desc = EVTDESC_REP_303 + picture = GFX_evt_trade_post_republic + + is_triggered_only = yes + + option = { + name = EVTOPTA_REP_303 + + wealth = -300 + custom_tooltip = { + text = EVTOPTA_REP_303_tooltip + hidden_tooltip = { + FROM = { + character_event = { id = REP.304 days = 5 } + } + } + } + } + option = { + name = EVTOPTB_REP_303 + cancel_plot = plot_seize_trade_post + clr_character_flag = plot_seize_trade_post_decision_taken + + custom_tooltip = { + text = EVTOPTB_REP_303_tooltip + hidden_tooltip = { + FROM = { + character_event = { id = REP.307 days = 5 } + } + } + } + } +} + +# Owner Informed Of Counter-Bribe +character_event = { + id = REP.304 + desc = EVTDESC_REP_304 + picture = GFX_evt_trade_post_republic + + is_triggered_only = yes + + option = { + name = EVTOPTA_REP_304 + + wealth = -350 + custom_tooltip = { + text = EVTOPTA_REP_304_tooltip + hidden_tooltip = { + FROM = { + character_event = { id = REP.305 days = 5 } + } + } + } + } + option = { + name = EVTOPTB_REP_304 + + custom_tooltip = { + text = EVTOPTB_REP_302_tooltip + hidden_tooltip = { + FROM = { + character_event = { id = REP.306 days = 5 } + } + } + } + } +} + +# Plotter Informed He Has Been Outbid +character_event = { + id = REP.305 + desc = EVTDESC_REP_305 + picture = GFX_evt_trade_post_republic + + is_triggered_only = yes + + option = { + name = EVTOPTA_REP_305 + cancel_plot = plot_seize_trade_post + clr_character_flag = plot_seize_trade_post_decision_taken + + prestige = -50 + custom_tooltip = { + text = EVTOPTB_REP_303_tooltip + hidden_tooltip = { + FROM = { + character_event = { id = REP.307 days = 5 } + } + } + } + } +} + +# Victorious Plotter Informed About Success +character_event = { + id = REP.306 + desc = EVTDESC_REP_306 + picture = GFX_evt_trade_post_republic + + is_triggered_only = yes + + option = { + name = EVTOPTA_REP_306 + plot_target_province = { + seize_trade_post = ROOT + } + clr_character_flag = plot_seize_trade_post_decision_taken + FROM = { + opinion = { + who = ROOT + modifier = opinion_seized_tp + months = 60 + } + } + } +} + +# Victorious Owner Informed About Success +character_event = { + id = REP.307 + desc = EVTDESC_REP_306 + picture = GFX_evt_trade_post_republic + + is_triggered_only = yes + + option = { + name = EVTOPTA_REP_306 + prestige = 50 + } +} + +# Trade Post Owner Informed Of Overwhelming Plot Support +character_event = { + id = REP.308 + desc = EVTDESC_REP_308 + picture = GFX_evt_trade_post_republic + + is_triggered_only = yes + + option = { + name = EVTOPTA_REP_308 + + custom_tooltip = { + text = EVTOPTB_REP_306_tooltip + hidden_tooltip = { + FROM = { + character_event = { id = REP.306 days = 5 } + } + } + } + } +} + +# Plotter goes to Doge +letter_event = { + id = REP.310 + desc = EVTDESC_REP_310 + + is_triggered_only = yes + + option = { + name = EVTOPTA_REP_310 + ai_chance = { + factor = 1 + modifier = { + factor = 1.5 + opinion = { who = FROM value = 25 } + } + modifier = { + factor = 2 + opinion = { who = FROM value = 50 } + } + modifier = { + factor = 3 + opinion = { who = FROM value = 75 } + } + modifier = { + factor = 0 + NOT = { opinion = { who = FROM value = 0 } } + } + } + FROM = { + plot_target_char = { + letter_event = { id = REP.311 days = 5 tooltip = EVTTOOLTIPREP.311 } + opinion = { + who = ROOT + modifier = opinion_disgruntled + months = 60 + } + } + } + FROM = { + letter_event = { id = REP.313 days = 5 tooltip = EVTTOOLTIPREP.311 } + opinion = { + who = ROOT + modifier = opinion_glad + } + } + } + option = { + name = EVTOPTB_REP_310 + ai_chance = { + factor = 1 + modifier = { + factor = 2 + NOT = { opinion = { who = FROM value = 10 } } + } + modifier = { + factor = 0 + opinion = { who = FROM value = 90 } + } + } + FROM = { + letter_event = { id = REP.312 days = 5 tooltip = EVTTOOLTIPREP.313 } + opinion = { + who = ROOT + modifier = opinion_disgruntled + months = 60 + } + } + } +} + +# Owner Told of Doge's Support +letter_event = { + id = REP.311 + desc = EVTDESC_REP_311 + + is_triggered_only = yes + + option = { + name = EVTOPTA_REP_311 + prestige = -30 + } +} + +# Plotter Told Doge Refuses Support +letter_event = { + id = REP.312 + desc = EVTDESC_REP_312 + + is_triggered_only = yes + + option = { + name = EVTOPTA_REP_312 + cancel_plot = plot_seize_trade_post + prestige = -50 + clr_character_flag = plot_seize_trade_post_decision_taken + } +} + +# Plotter Informed of Doge's Support +letter_event = { + id = REP.313 + desc = EVTDESC_REP_313 + + is_triggered_only = yes + + option = { + name = EVTOPTA_REP_313 + clr_character_flag = plot_seize_trade_post_decision_taken + plot_target_char = { + opinion = { + who = ROOT + modifier = opinion_seized_tp + months = 60 + } + } + plot_target_province = { + seize_trade_post = ROOT + } + } +} + +### Dynastic Marriage Events + +# Family member marries burgher daughter (AI) +character_event = { + id = REP.400 + hide_window = yes + + ai = yes + capable_only = yes + prisoner = no + min_age = 18 + only_men = yes + is_married = no + + trigger = { + NOT = { has_character_flag = getting_married } + is_betrothed = no + is_primary_heir = no + is_pretender = no + is_theocracy = no + is_priest = no + NOR = { + trait = chaste + is_ascetic_trigger = yes + } + liege = { + NOT = { any_child = { character = ROOT } } + is_patrician = yes + dynasty = ROOT + } + } + + mean_time_to_happen = { + months = 210 + } + + immediate = { + set_character_flag = getting_married + if = { + limit = { + age = 18 + NOT = { age = 30 } + } + liege = { + character_event = { id = REP.401 } + } + } + if = { + limit = { + age = 30 + NOT = { age = 45 } + } + liege = { + character_event = { id = REP.402 } + } + } + if = { + limit = { + age = 45 + } + liege = { + character_event = { id = REP.403 } + } + } + } +} + +# Family member marries burgher daughter (18 - 29) +character_event = { + id = REP.401 + desc = EVTDESC_REP_401 + picture = GFX_evt_marriage + + is_triggered_only = yes + + option = { + name = EVTOPTA_REP_401 + FROM = { + create_character = { + random_traits = yes + dynasty = NONE + female = yes + age = 24 + religion = FROM + culture = FROM + } + new_character = { + add_spouse = PREV + } + clr_character_flag = getting_married + } + } +} + +# Family member marries burgher daughter (30 - 44) +character_event = { + id = REP.402 + desc = EVTDESC_REP_401 + picture = GFX_evt_marriage + + is_triggered_only = yes + + option = { + name = EVTOPTA_REP_401 + FROM = { + create_character = { + random_traits = yes + dynasty = NONE + female = yes + age = 35 + religion = FROM + culture = FROM + } + new_character = { + add_spouse = PREV + } + clr_character_flag = getting_married + } + } +} + +# Family member marries burgher daughter (44+) +character_event = { + id = REP.403 + desc = EVTDESC_REP_401 + picture = GFX_evt_marriage + + is_triggered_only = yes + + option = { + name = EVTOPTA_REP_401 + FROM = { + create_character = { + random_traits = yes + dynasty = NONE + female = yes + age = 48 + religion = FROM + culture = FROM + } + new_character = { + add_spouse = PREV + } + clr_character_flag = getting_married + } + } +} + +# Family member marries bar wench/peasant girl/rich girl (AI) +character_event = { + id = REP.404 + hide_window = yes + + ai = yes + capable_only = yes + prisoner = no + min_age = 18 + max_age = 40 + only_men = yes + is_married = no + + trigger = { + NOT = { has_character_flag = getting_married } + is_betrothed = no + is_primary_heir = no + is_pretender = no + is_theocracy = no + is_priest = no + NOT = { trait = chaste } + liege = { + NOT = { any_child = { character = ROOT } } + is_patrician = yes + dynasty = ROOT + } + } + + mean_time_to_happen = { + months = 300 + } + + immediate = { + set_character_flag = getting_married + random_list = { + 33 = { + liege = { + character_event = { id = REP.405 } + } + } + 33 = { + liege = { + character_event = { id = REP.406 } + } + } + 33 = { + liege = { + character_event = { id = REP.407 } + } + } + } + } +} + +# Family member marries bar wench +character_event = { + id = REP.405 + desc = EVTDESC_REP_405 + picture = GFX_evt_marriage + + is_triggered_only = yes + + option = { + name = EVTOPTA_REP_405 + FROM = { + create_character = { + random_traits = yes + dynasty = NONE + female = yes + age = 25 + religion = FROM + culture = FROM + } + new_character = { + add_spouse = PREV + } + clr_character_flag = getting_married + } + } +} + +# Family member marries peasant girl +character_event = { + id = REP.406 + desc = EVTDESC_REP_406 + picture = GFX_evt_marriage + + is_triggered_only = yes + + option = { + name = EVTOPTA_REP_406 + FROM = { + create_character = { + random_traits = yes + dynasty = NONE + female = yes + age = 24 + religion = FROM + culture = FROM + trait = fair + } + new_character = { + add_spouse = PREV + } + clr_character_flag = getting_married + } + } +} + +# Family member marries rich girl +character_event = { + id = REP.407 + desc = EVTDESC_REP_407 + picture = GFX_evt_marriage + + is_triggered_only = yes + + option = { + name = EVTOPTA_REP_407 + FROM = { + create_character = { + random_traits = yes + dynasty = NONE + female = yes + age = 28 + religion = FROM + culture = FROM + trait = ugly + } + new_character = { + add_spouse = PREV + } + wealth = 100 + clr_character_flag = getting_married + } + } +} + +# Old family member marries young woman (AI) +character_event = { + id = REP.408 + hide_window = yes + + ai = yes + capable_only = yes + prisoner = no + min_age = 42 + only_men = yes + is_married = no + + trigger = { + is_betrothed = no + is_primary_heir = no + is_pretender = no + is_theocracy = no + is_priest = no + NOT = { trait = chaste } + liege = { + NOT = { any_child = { character = ROOT } } + is_patrician = yes + dynasty = ROOT + } + } + + mean_time_to_happen = { + months = 450 + } + + immediate = { + liege = { + character_event = { id = REP.409 } + } + } +} + +# Old family member marries young woman +character_event = { + id = REP.409 + desc = EVTDESC_REP_409 + picture = GFX_evt_marriage + + is_triggered_only = yes + + option = { + name = EVTOPTA_REP_409 + FROM = { + create_character = { + random_traits = yes + dynasty = NONE + female = yes + age = 20 + religion = FROM + culture = FROM + } + new_character = { + add_spouse = PREV + } + } + } +} + +# Young family member marries older woman (AI) +character_event = { + id = REP.410 + hide_window = yes + + ai = yes + capable_only = yes + prisoner = no + min_age = 18 + max_age = 26 + only_men = yes + is_married = no + + trigger = { + is_betrothed = no + is_primary_heir = no + is_pretender = no + is_theocracy = no + is_priest = no + NOT = { trait = chaste } + liege = { + NOT = { any_child = { character = ROOT } } + is_patrician = yes + dynasty = ROOT + } + } + + mean_time_to_happen = { + months = 450 + } + + immediate = { + liege = { + character_event = { id = REP.411 } + } + } +} + +# Young family member marries older woman +character_event = { + id = REP.411 + desc = EVTDESC_REP_411 + picture = GFX_evt_marriage + + is_triggered_only = yes + + option = { + name = EVTOPTA_REP_411 + FROM = { + create_character = { + random_traits = yes + dynasty = NONE + female = yes + age = 41 + religion = FROM + culture = FROM + } + new_character = { + add_spouse = PREV + } + } + } +} + +# Family member marries foreign woman (AI) +character_event = { + id = REP.412 + hide_window = yes + + ai = yes + capable_only = yes + prisoner = no + min_age = 18 + only_men = yes + is_married = no + + trigger = { + is_betrothed = no + is_primary_heir = no + is_pretender = no + is_theocracy = no + is_priest = no + NOT = { trait = chaste } + can_marry = yes + NOT = { culture = manden } + liege = { + NOT = { any_child = { character = ROOT } } + NOT = { culture = manden } + is_patrician = yes + dynasty = ROOT + } + } + + mean_time_to_happen = { + months = 450 + } + + immediate = { + liege = { + character_event = { id = REP.413 } + } + } +} + +# Family member marries foreign woman +character_event = { + id = REP.413 + desc = EVTDESC_REP_413 + picture = GFX_evt_marriage + + is_triggered_only = yes + + option = { + name = EVTOPTA_REP_413 + FROM = { + create_character = { + random_traits = yes + dynasty = NONE + female = yes + age = 26 + religion = FROM + culture = manden + } + new_character = { + add_spouse = PREV + } + } + } +} + +### Trade Post Decisions + +# Doge approached by Patrician +letter_event = { + id = REP.500 + desc = EVTDESC_REP_500 + + is_triggered_only = yes + + immediate = { + if = { + limit = { + FROM = { num_of_trade_posts = 1 } + any_vassal = { + is_patrician = yes + NOT = { character = FROM } + num_of_trade_post_diff = { + character = FROM + value = 10 + } + } + } + random_vassal = { + limit = { + is_patrician = yes + NOT = { character = FROM } + num_of_trade_post_diff = { + character = FROM + value = 10 + } + } + set_character_flag = target_patrician + } + } + if = { + limit = { + FROM = { NOT = { num_of_trade_posts = 1 } } + any_vassal = { + is_patrician = yes + num_of_trade_posts = 10 + } + } + random_vassal = { + limit = { + is_patrician = yes + num_of_trade_posts = 10 + } + set_character_flag = target_patrician + } + } + FROM = { set_character_flag = poor_patrician } + } + + option = { + name = EVTOPTA_REP_500 + FROM = { + letter_event = { id = REP.501 } + clr_character_flag = poor_patrician + } + hidden_tooltip = { + any_vassal = { + limit = { has_character_flag = target_patrician } + clr_character_flag = target_patrician + } + } + } + option = { + name = EVTOPTB_REP_500 + ai_chance = { factor = 100 } + any_vassal = { + limit = { has_character_flag = target_patrician } + letter_event = { id = REP.502 tooltip = EVTTOOLTIP_REP_502 } + } + } +} + +# Doge refuses request +letter_event = { + id = REP.501 + desc = EVTDESC_REP_501 + + is_triggered_only = yes + + option = { + name = EVTOPTA_REP_501 + prestige = -100 + } +} + +# Doge makes request to wealthy patrician +letter_event = { + id = REP.502 + desc = EVTDESC_REP_502 + + is_triggered_only = yes + + option = { + name = EVTOPTA_REP_502 + FROM = { + letter_event = { id = REP.503 tooltip = EVTTOOLTIP_REP_503 } + } + tooltip = { + random_trade_post = { + seize_trade_post = FROMFROM + any_neighbor_province = { + limit = { + trade_post_owner = { character = ROOT } + } + seize_trade_post = FROMFROM + } + } + } + } + option = { + name = EVTOPTB_REP_510 + tooltip_info = stewardship + trigger = { + stewardship = 10 + } + FROM = { + letter_event = { id = REP.505 tooltip = EVTTOOLTIP_REP_512 } + } + } + option = { + name = EVTOPTC_REP_510 + tooltip_info = diplomacy + trigger = { + diplomacy = 10 + } + FROM = { + letter_event = { id = REP.506 tooltip = EVTTOOLTIP_REP_513 } + } + } + option = { + name = EVTOPTD_REP_510 + tooltip_info = intrigue + trigger = { + intrigue = 10 + } + FROM = { + letter_event = { id = REP.507 tooltip = EVTTOOLTIP_REP_514 } + } + } +} + +# Patrician grants Doge's request +letter_event = { + id = REP.503 + desc = EVTDESC_REP_503 + + is_triggered_only = yes + + option = { + name = EVTOPTA_REP_503 + FROM = { + opinion = { + who = ROOT + modifier = opinion_disgruntled + months = 60 + } + } + any_vassal = { + limit = { has_character_flag = poor_patrician } + letter_event = { id = REP.504 tooltip = EVTTOOLTIP_REP_504 } + } + } +} + +# Doge informs original Patrician that request has been granted +letter_event = { + id = REP.504 + desc = EVTDESC_REP_504 + + is_triggered_only = yes + + option = { + name = EVTOPTA_REP_504 + clr_character_flag = poor_patrician + FROMFROM = { + opinion = { + who = ROOT + modifier = opinion_angry + months = 60 + } + clr_character_flag = target_patrician + random_trade_post = { + seize_trade_post = ROOT + any_neighbor_province = { + limit = { + trade_post_owner = { character = PREVPREVPREV } + } + seize_trade_post = ROOT + } + } + } + } +} + +# Patrician refuses demand due to stewardship +letter_event = { + id = REP.505 + desc = EVTDESC_REP_512 + + is_triggered_only = yes + + option = { + name = EVTOPTA_REP_505 + any_vassal = { + limit = { has_character_flag = poor_patrician } + letter_event = { id = REP.508 tooltip = EVTTOOLTIP_REP_508 } + } + } +} + +# Patrician refuses demand due to diplomacy +letter_event = { + id = REP.506 + desc = EVTDESC_REP_513 + + is_triggered_only = yes + + option = { + name = EVTOPTA_REP_505 + any_vassal = { + limit = { has_character_flag = poor_patrician } + letter_event = { id = REP.508 tooltip = EVTTOOLTIP_REP_508 } + } + } +} + +# Patrician refuses demand due to intrigue +letter_event = { + id = REP.507 + desc = EVTDESC_REP_514 + + is_triggered_only = yes + + option = { + name = EVTOPTA_REP_505 + any_vassal = { + limit = { has_character_flag = poor_patrician } + letter_event = { id = REP.508 tooltip = EVTTOOLTIP_REP_508 } + } + } +} + +# Doge informs Patrician of failure +letter_event = { + id = REP.508 + desc = EVTDESC_REP_508 + + is_triggered_only = yes + + option = { + name = EVTOPTA_REP_508 + hidden_tooltip = { + FROMFROM = { + clr_character_flag = target_patrician + } + } + clr_character_flag = poor_patrician + prestige = -50 + } +} + +# Patrician approached by Doge +letter_event = { + id = REP.510 + desc = EVTDESC_REP_510 + + is_triggered_only = yes + + option = { + name = EVTOPTA_REP_510 + hidden_tooltip = { + FROM = { + letter_event = { id = REP.511 } + } + } + tooltip = { + random_trade_post = { + seize_trade_post = FROM + any_neighbor_province = { + limit = { + trade_post_owner = { character = ROOT } + } + seize_trade_post = FROM + } + } + } + } + option = { + name = EVTOPTB_REP_510 + tooltip_info = stewardship + trigger = { + stewardship = 10 + FROM = { + NOT = { stewardship = 8 } + } + } + FROM = { + letter_event = { id = REP.512 tooltip = EVTTOOLTIP_REP_512 } + } + } + option = { + name = EVTOPTC_REP_510 + tooltip_info = diplomacy + trigger = { + diplomacy = 10 + FROM = { + NOT = { diplomacy = 8 } + } + } + FROM = { + letter_event = { id = REP.513 tooltip = EVTTOOLTIP_REP_513 } + } + } + option = { + name = EVTOPTD_REP_510 + tooltip_info = intrigue + trigger = { + intrigue = 10 + FROM = { + NOT = { intrigue = 8 } + } + } + FROM = { + letter_event = { id = REP.514 tooltip = EVTTOOLTIP_REP_514 } + } + } +} + +# Patrician agrees to demand +letter_event = { + id = REP.511 + desc = EVTDESC_REP_511 + + is_triggered_only = yes + + option = { + name = EVTOPTA_REP_511 + FROM = { + clr_character_flag = target_patrician_doge + opinion = { + who = ROOT + modifier = opinion_angry + months = 60 + } + random_trade_post = { + seize_trade_post = ROOT + any_neighbor_province = { + limit = { + trade_post_owner = { character = PREVPREVPREV } + } + seize_trade_post = ROOT + } + } + } + } +} + +# Patrician refuses demand due to stewardship +letter_event = { + id = REP.512 + desc = EVTDESC_REP_512 + + is_triggered_only = yes + + option = { + name = EVTOPTA_REP_512 + prestige = -50 + } +} + +# Patrician refuses demand due to diplomacy +letter_event = { + id = REP.513 + desc = EVTDESC_REP_513 + + is_triggered_only = yes + + option = { + name = EVTOPTA_REP_512 + prestige = -50 + } +} + +# Patrician refuses demand due to intrigue +letter_event = { + id = REP.514 + desc = EVTDESC_REP_514 + + is_triggered_only = yes + + option = { + name = EVTOPTA_REP_512 + prestige = -50 + } +} + +### Trade Post Razing + +# Province has TP +province_event = { + id = REP.600 + hide_window = yes + + trigger = { + has_trade_post = yes + owner = { + is_patrician = no + top_liege = { + is_patrician = no + } + } + + trade_post_owner = { + is_patrician = yes + ROOT = { + owner = { + NOT = { + any_realm_character = { character = PREVPREVPREV } + } + top_liege = { + NOR = { + is_vassal_or_below = PREVPREVPREV #this is backwards + opinion = { who = PREVPREVPREV value = 0 } + has_opinion_modifier = { who = PREVPREVPREV modifier = opinion_bribed_tp } + has_opinion_modifier = { who = PREVPREVPREV modifier = opinion_thwarted_tp_destruction } + has_opinion_modifier = { who = PREVPREVPREV modifier = opinion_burned_tp } + has_opinion_modifier = { who = PREVPREVPREV modifier = opinion_burned_tp_despite_bribe } + war_with = PREVPREVPREV + } + } + + # Only if there is no non-aggression-pact with the trade post owner + NOT = { + has_non_aggression_pact_with = PREVPREV + } + } + } + } + } + + mean_time_to_happen = { + months = 1620 + + modifier = { + factor = 0.7 + trade_post_owner = { + ROOT = { + owner = { + top_liege = { + NOT = { opinion = { who = PREVPREVPREV value = -20 } } + } + } + } + } + } + modifier = { + factor = 0.6 + trade_post_owner = { + ROOT = { + owner = { + top_liege = { + NOT = { opinion = { who = PREVPREVPREV value = -40 } } + } + } + } + } + } + modifier = { + factor = 0.5 + trade_post_owner = { + ROOT = { + owner = { + top_liege = { + NOT = { opinion = { who = PREVPREVPREV value = -60 } } + } + } + } + } + } + modifier = { + factor = 0.4 + trade_post_owner = { + ROOT = { + owner = { + top_liege = { + NOT = { opinion = { who = PREVPREVPREV value = -80 } } + } + } + } + } + } + } + + immediate = { + owner = { + top_liege = { + character_event = { id = REP.601 } + } + } + } +} + +# Liege informed +character_event = { + id = REP.601 + desc = EVTDESC_REP_601 + picture = GFX_evt_trade_post_republic + + is_triggered_only = yes + + option = { + name = EVTOPTA_REP_601 + ai_chance = { factor = 100 } + FROM = { + trade_post_owner = { + character_event = { id = REP.602 days = 6 tooltip = EVTTOOLTIP_REP_602 } + } + } + } + option = { + name = EVTOPTB_REP_601 + custom_tooltip = { text = tp_spare } + } +} + +# Trade Post Owner Confronted +character_event = { + id = REP.602 + desc = EVTDESC_REP_602 + picture = GFX_evt_trade_post_republic + + is_triggered_only = yes + + option = { # Accept + name = EVTOPTA_REP_602 + destroy_tradepost = FROMFROM + hidden_tooltip = { + FROM = { + character_event = { id = REP.603 } + } + } + } + option = { # Bribe + name = EVTOPTB_REP_602 + trigger = { + wealth = 100 + } + wealth = -100 + FROMFROM = { + province_event = { id = REP.608 days = 6 tooltip = EVTTOOLTIP_REP_604 } + } + tooltip = { + FROM = { wealth = 100 } + } + } + option = { # Stewardship + name = EVTOPTC_REP_602 + tooltip_info = stewardship + trigger = { + stewardship = 12 + } + FROM = { + character_event = { id = REP.605 days = 6 tooltip = EVTTOOLTIP_REP_605 } + } + } + option = { # Diplomacy + name = EVTOPTD_REP_602 + tooltip_info = diplomacy + trigger = { + diplomacy = 12 + } + FROM = { + character_event = { id = REP.606 days = 6 tooltip = EVTTOOLTIP_REP_605 } + } + } +} + +# Trade Post Destroyed +character_event = { + id = REP.603 + desc = EVTDESC_REP_603 + picture = GFX_evt_burning_house + + is_triggered_only = yes + + option = { + name = EVTOPTA_REP_603 + prestige = 30 + FROM = { + opinion = { + modifier = opinion_burned_tp + who = ROOT + } + } + } +} + +# Bribe Offered +character_event = { + id = REP.604 + desc = EVTDESC_REP_604 + picture = GFX_evt_trade_post_republic + + is_triggered_only = yes + + option = { + name = EVTOPTA_REP_604 + ai_chance = { factor = 70 } + wealth = 100 + opinion = { + modifier = opinion_bribed_tp + who = FROMFROM + } + tooltip = { + FROMFROM = { + wealth = -100 + } + } + } + option = { + name = EVTOPTB_REP_604 + ai_chance = { factor = 30 } + wealth = 100 + tooltip = { + FROMFROM = { + wealth = -100 + } + } + piety = -50 + FROMFROM = { + opinion = { + modifier = opinion_burned_tp_despite_bribe + who = ROOT + } + if = { + limit = { + liege = { + is_merchant_republic = yes + NOT = { character = FROMFROM } + } + } + liege = { + opinion = { + modifier = opinion_burned_tp_despite_bribe + who = ROOT + } + } + } + } + hidden_tooltip = { + FROMFROM = { + character_event = { id = REP.607 days = 6 } + } + } + tooltip = { + destroy_tradepost = FROM + } + } +} + +# Stewardship used to save TP +character_event = { + id = REP.605 + desc = EVTDESC_REP_605 + picture = GFX_evt_trade_post_republic + + is_triggered_only = yes + + option = { + name = EVTOPTA_REP_605 + opinion = { + modifier = opinion_thwarted_tp_destruction + who = FROM + } + prestige = -30 + } +} + +# Diplomacy used to save TP +character_event = { + id = REP.606 + desc = EVTDESC_REP_606 + picture = GFX_evt_trade_post_republic + + is_triggered_only = yes + + option = { + name = EVTOPTA_REP_605 + opinion = { + modifier = opinion_thwarted_tp_destruction + who = FROM + } + prestige = -30 + } +} + +# TP owner informed of treachery +character_event = { + id = REP.607 + desc = EVTDESC_REP_607 + picture = GFX_evt_burning_house + + is_triggered_only = yes + + option = { + name = EVTOPTA_REP_607 + destroy_tradepost = FROMFROM + } +} + +# Hidden province owner event +province_event = { + id = REP.608 + hide_window = yes + + is_triggered_only = yes + + immediate = { + FROMFROM = { + character_event = { id = REP.604 } + } + } +} \ No newline at end of file diff --git a/LCDA/events/rip_outbreak_events.txt b/LCDA/events/rip_outbreak_events.txt new file mode 100644 index 0000000..b6215d8 --- /dev/null +++ b/LCDA/events/rip_outbreak_events.txt @@ -0,0 +1,1555 @@ +namespace = RIP + +# The Black Death has been discovered +province_event = { + id = RIP.10000 + hide_window = yes + + is_triggered_only = yes + + trigger = { + disease = bubonic_plague + NOT = { has_global_flag = black_death_broadcasted } + } + + immediate = { + set_global_flag = black_death_broadcasted + save_event_target_as = plague_outbreak_location + owner = { + narrative_event = { id = RIP.10001 } + } + } +} + +# The Black Death has been discovered and is broadcasted +narrative_event = { + id = RIP.10001 + title = EVTNAME_RIP_10001 + picture = GFX_evt_plague_doctor + border = GFX_event_narrative_frame_religion + + desc = EVTDESC_RIP_10001 + + is_triggered_only = yes + + immediate = { + set_character_flag = black_death_close + any_playable_ruler = { + limit = { + ai = no + } + if = { + limit = { + distance = { value = 1000 where = FROM } + NOT = { is_vassal_or_below = ROOT } + } + narrative_event = { id = RIP.10002 days = 6 random = 3 } + } + if = { + limit = { + NOT = { distance = { value = 1000 where = FROM } } + NOT = { is_vassal_or_below = ROOT } + } + narrative_event = { id = RIP.10003 days = 3 random = 3 } + } + if = { + limit = { is_vassal_or_below = ROOT } + narrative_event = { id = RIP.10004 days = 2 random = 2 } + } + } + } + + option = { + name = EVTOPTA_RIP_10001 + } +} + +# The Black Death has been discovered and is broadcasted to rulers far away +narrative_event = { + id = RIP.10002 + title = EVTNAME_RIP_10002 + picture = GFX_evt_danse_macabre + border = GFX_event_narrative_frame_religion + + desc = EVTDESC_RIP_10002 + + only_playable = yes + is_triggered_only = yes + ai = no + + immediate = { + set_global_flag = black_death_broadcasted + random_list = { + 10 = { + set_character_flag = option_a + modifier = { + factor = 0 + OR = { + OR = { + trait = erudite + trait = shrewd + trait = genius + trait = quick + } + AND = { + NOT = { religion_group = FROM } + OR = { + trait = zealous + trait = cruel + } + } + OR = { + trait = kind + trait = charitable + } + NAND = { + OR = { + trait = strong + trait = robust + trait = brave + } + OR = { + trait = stubborn + trait = proud + } + } + trait = paranoid + } + } + } + 10 = { + set_character_flag = option_b + modifier = { + factor = 0 + NOR = { + trait = erudite + trait = shrewd + trait = genius + trait = quick + } + } + } + 10 = { + set_character_flag = option_c + modifier = { + factor = 0 + NAND = { + NOT = { religion_group = FROM } + OR = { + trait = zealous + trait = cruel + } + } + } + } + 10 = { + set_character_flag = option_d + modifier = { + factor = 0 + NOR = { + trait = kind + trait = charitable + } + } + } + 10 = { + set_character_flag = option_e + modifier = { + factor = 0 + NOR = { + trait = strong + trait = robust + trait = brave + } + NOR = { + trait = stubborn + trait = proud + } + } + } + 10 = { + set_character_flag = option_f + modifier = { + factor = 0 + NOT = { trait = paranoid } + } + } + } + chronicle = { + entry = CHRONICLE_DISTANT_PLAGUE + picture = GFX_evt_plague_spreading + } + } + + option = { + trigger = { + has_character_flag = option_a + } + name = EVTOPTA_RIP_10002 + clr_character_flag = option_a + } + + option = { + trigger = { + has_character_flag = option_b + } + name = EVTOPTB_RIP_10002 + clr_character_flag = option_b + } + + option = { + trigger = { + has_character_flag = option_c + } + name = EVTOPTC_RIP_10002 + clr_character_flag = option_c + } + + option = { + trigger = { + has_character_flag = option_d + } + name = EVTOPTD_RIP_10002 + clr_character_flag = option_d + } + + option = { + trigger = { + has_character_flag = option_e + } + name = EVTOPTE_RIP_10002 + clr_character_flag = option_e + } + + option = { + trigger = { + has_character_flag = option_f + } + name = EVTOPTF_RIP_10002 + clr_character_flag = option_f + } +} + +# The Black Death has been discovered and is broadcasted to nearby rulers +narrative_event = { + id = RIP.10003 + title = EVTNAME_RIP_10002 + picture = GFX_evt_bring_out_your_dead + border = GFX_event_narrative_frame_religion + + desc = EVTDESC_RIP_10003 + + only_playable = yes + is_triggered_only = yes + ai = no + + immediate = { + set_global_flag = black_death_broadcasted + random_list = { + 10 = { + set_character_flag = option_a + modifier = { + factor = 0 + OR = { + OR = { + trait = erudite + trait = shrewd + trait = genius + trait = quick + } + AND = { + NOT = { religion_group = FROM } + OR = { + trait = zealous + trait = cruel + } + } + OR = { + trait = kind + trait = charitable + } + NAND = { + OR = { + trait = strong + trait = robust + trait = brave + } + OR = { + trait = stubborn + trait = proud + } + } + trait = paranoid + } + } + } + 10 = { + set_character_flag = option_b + modifier = { + factor = 0 + NOR = { + trait = erudite + trait = shrewd + trait = genius + trait = quick + } + } + } + 10 = { + set_character_flag = option_c + modifier = { + factor = 0 + NAND = { + NOT = { religion_group = FROM } + OR = { + trait = zealous + trait = cruel + } + } + } + } + 10 = { + set_character_flag = option_d + modifier = { + factor = 0 + NOR = { + trait = kind + trait = charitable + } + } + } + 10 = { + set_character_flag = option_e + modifier = { + factor = 0 + NOR = { + trait = strong + trait = robust + trait = brave + } + NOR = { + trait = stubborn + trait = proud + } + } + } + 10 = { + set_character_flag = option_f + modifier = { + factor = 0 + NOT = { trait = paranoid } + } + } + } + chronicle = { + entry = CHRONICLE_NEARBY_PLAGUE + picture = GFX_evt_plague_spreading + } + } + + option = { + trigger = { + has_character_flag = option_a + } + name = EVTOPTA_RIP_10003 + } + + option = { + trigger = { + has_character_flag = option_b + } + name = EVTOPTB_RIP_10002 + clr_character_flag = option_b + } + + option = { + trigger = { + has_character_flag = option_c + } + name = EVTOPTC_RIP_10002 + clr_character_flag = option_c + } + + option = { + trigger = { + has_character_flag = option_d + } + name = EVTOPTD_RIP_10002 + clr_character_flag = option_d + } + + option = { + trigger = { + has_character_flag = option_e + } + name = EVTOPTE_RIP_10002 + clr_character_flag = option_e + } + + option = { + trigger = { + has_character_flag = option_f + } + name = EVTOPTF_RIP_10002 + clr_character_flag = option_f + } +} + +# The Black Death has been discovered and is broadcasted to liege and upwards +narrative_event = { + id = RIP.10004 + title = EVTNAME_RIP_10001 + picture = GFX_evt_bring_out_your_dead + border = GFX_event_narrative_frame_religion + + desc = EVTDESC_RIP_10001 + + only_playable = yes + is_triggered_only = yes + ai = no + + immediate = { + set_character_flag = black_death_close + + if = { + limit = { has_power_omen_modifier_trigger = yes } + set_character_flag = negative_event_flag + } + } + + option = { + name = EVTOPTA_RIP_10001 + trigger = { + has_power_omen_modifier_trigger = no + } + } + + option = { # Monks & Mystics - Hermetics Scrying reaction + name = EVTOPTA_SSI_006 + + calculate_scrying_outcome_effect = yes + remove_scrying_omen_modifiers_effect = yes + tooltip_info = yes + trigger = { + has_power_omen_modifier_trigger = yes + } + } +} + +## After first known outbreaks, Plague spreads + +province_event = { + id = RIP.10005 + hide_window = yes + + is_triggered_only = yes + + trigger = { + disease = bubonic_plague + has_global_flag = black_death_broadcasted + any_neighbor_province = { + OR = { + owner = { + ai = no + NOT = { has_character_flag = black_death_close } + } + owner = { + any_liege = { + ai = no + NOT = { has_character_flag = black_death_close } + } + } + } + } + } + + immediate = { + save_event_target_as = infected_province + any_neighbor_province = { + limit = { + owner = { NOT = { has_character_flag = black_death_close } } + } + save_event_target_as = bordering_province + owner = { + narrative_event = { id = RIP.10006 days = 10 } + any_liege = { narrative_event = { id = RIP.10006 days = 15 } } + } + } + } +} + +#Plague is in a province bordering realm +narrative_event = { + id = RIP.10006 + title = EVTNAME_RIP_10006 + picture = GFX_evt_bring_out_your_dead + border = GFX_event_narrative_frame_religion + desc = EVTDESC_RIP_10006 + + is_triggered_only = yes + + ai = no + has_global_flag = black_death_broadcasted + + trigger = { + NOT = { has_character_flag = black_death_close } + } + + immediate = { + set_character_flag = black_death_close + random_list = { + 10 = { + set_character_flag = option_a + modifier = { + factor = 0 + OR = { + OR = { + trait = erudite + trait = shrewd + trait = genius + trait = quick + } + AND = { + NOT = { religion_group = FROM } + OR = { + trait = zealous + trait = cruel + } + } + OR = { + trait = kind + trait = charitable + } + NAND = { + OR = { + trait = strong + trait = robust + trait = brave + } + OR = { + trait = stubborn + trait = proud + } + } + trait = paranoid + } + } + } + 10 = { + set_character_flag = option_b + modifier = { + factor = 0 + NOR = { + trait = erudite + trait = shrewd + trait = genius + trait = quick + } + } + } + 10 = { + set_character_flag = option_c + modifier = { + factor = 0 + NAND = { + NOT = { religion_group = FROM } + OR = { + trait = zealous + trait = cruel + } + } + } + } + 10 = { + set_character_flag = option_d + modifier = { + factor = 0 + NOR = { + trait = kind + trait = charitable + } + } + } + 10 = { + set_character_flag = option_e + modifier = { + factor = 0 + NOR = { + trait = strong + trait = robust + trait = brave + } + NOR = { + trait = stubborn + trait = proud + } + } + } + 10 = { + set_character_flag = option_f + modifier = { + factor = 0 + NOT = { trait = paranoid } + } + } + } + chronicle = { + entry = CHRONICLE_BORDERING_PLAGUE + picture = GFX_evt_plague_spreading + } + if = { + limit = { has_power_omen_modifier_trigger = yes } + set_character_flag = negative_event_flag + } + } + + option = { + trigger = { + has_character_flag = option_a + has_power_omen_modifier_trigger = no + } + name = EVTOPTA_RIP_10006 + } + + option = { + trigger = { + has_character_flag = option_b + has_power_omen_modifier_trigger = no + } + name = EVTOPTB_RIP_10006 + clr_character_flag = option_b + } + + option = { + trigger = { + has_character_flag = option_c + has_power_omen_modifier_trigger = no + } + name = EVTOPTC_RIP_10006 + clr_character_flag = option_c + } + + option = { + trigger = { + has_character_flag = option_d + has_power_omen_modifier_trigger = no + } + name = EVTOPTD_RIP_10006 + clr_character_flag = option_d + } + + option = { + trigger = { + has_character_flag = option_e + has_power_omen_modifier_trigger = no + } + name = EVTOPTE_RIP_10006 + clr_character_flag = option_e + } + + option = { + trigger = { + has_character_flag = option_f + has_power_omen_modifier_trigger = no + } + name = EVTOPTF_RIP_10006 + clr_character_flag = option_f + } + + ### Hermetics: Scrying Omen result options below... ### + option = { + trigger = { + has_character_flag = option_a + has_power_omen_modifier_trigger = yes + } + name = EVTOPTA_RIP_10006 + + calculate_scrying_outcome_effect = yes + remove_scrying_omen_modifiers_effect = yes + tooltip_info = yes + } + + option = { + trigger = { + has_character_flag = option_b + has_power_omen_modifier_trigger = yes + } + name = EVTOPTB_RIP_10006 + calculate_scrying_outcome_effect = yes + remove_scrying_omen_modifiers_effect = yes + tooltip_info = yes + clr_character_flag = option_b + } + + option = { + trigger = { + has_character_flag = option_c + has_power_omen_modifier_trigger = yes + } + name = EVTOPTC_RIP_10006 + calculate_scrying_outcome_effect = yes + remove_scrying_omen_modifiers_effect = yes + tooltip_info = yes + clr_character_flag = option_c + } + + option = { + trigger = { + has_character_flag = option_d + has_power_omen_modifier_trigger = yes + } + name = EVTOPTD_RIP_10006 + calculate_scrying_outcome_effect = yes + remove_scrying_omen_modifiers_effect = yes + tooltip_info = yes + clr_character_flag = option_d + } + + option = { + trigger = { + has_character_flag = option_e + has_power_omen_modifier_trigger = yes + } + name = EVTOPTE_RIP_10006 + calculate_scrying_outcome_effect = yes + remove_scrying_omen_modifiers_effect = yes + tooltip_info = yes + clr_character_flag = option_e + } + + option = { + trigger = { + has_character_flag = option_f + has_power_omen_modifier_trigger = yes + } + name = EVTOPTF_RIP_10006 + calculate_scrying_outcome_effect = yes + remove_scrying_omen_modifiers_effect = yes + tooltip_info = yes + clr_character_flag = option_f + } + +} + +#See if any world_region has been severely damaged by the plague +character_event = { + id = RIP.10012 + is_triggered_only = yes + + hide_window = yes + ai = no + + trigger = { + NAND = { + has_global_flag = bp_world_india_broadcasted + has_global_flag = bp_world_persia_broadcasted + has_global_flag = bp_world_middle_east_broadcasted + has_global_flag = bp_world_africa_broadcasted + has_global_flag = bp_world_asia_minor_broadcasted + has_global_flag = bp_world_europe_east_broadcasted + has_global_flag = bp_world_europe_south_broadcasted + has_global_flag = bp_world_europe_west_broadcasted + has_global_flag = bp_world_europe_north_broadcasted + has_global_flag = bp_world_steppe_broadcasted + } + } + + immediate = { + if = { + limit = { + NOT = { has_global_flag = bp_world_india_broadcasted } + regional_percentage = { + region = world_india + percentage = 0.5 + OR = { + has_province_modifier = depopulated_1 + has_province_modifier = depopulated_2 + has_province_modifier = depopulated_3 + } + } + } + set_global_flag = bp_world_india_broadcasted + capital_scope = { province_event = { id = RIP.10115 } } + chronicle = { + entry = CHRONICLE_INDIA_GONE + picture = GFX_evt_monk + } + } + if = { + limit = { + NOT = { has_global_flag = bp_world_persia_broadcasted } + regional_percentage = { + region = world_persia + percentage = 0.5 + OR = { + has_province_modifier = depopulated_1 + has_province_modifier = depopulated_2 + has_province_modifier = depopulated_3 + } + } + } + set_global_flag = bp_world_persia_broadcasted + capital_scope = { province_event = { id = RIP.10116 } } + chronicle = { + entry = CHRONICLE_PERSIA_GONE + picture = GFX_evt_monk + } + } + if = { + limit = { + NOT = { has_global_flag = bp_world_middle_east_broadcasted } + regional_percentage = { + region = world_middle_east + percentage = 0.5 + OR = { + has_province_modifier = depopulated_1 + has_province_modifier = depopulated_2 + has_province_modifier = depopulated_3 + } + } + } + set_global_flag = bp_world_middle_east_broadcasted + capital_scope = { province_event = { id = RIP.10117 } } + chronicle = { + entry = CHRONICLE_MIDDLEEAST_GONE + picture = GFX_evt_monk + } + } + if = { + limit = { + NOT = { has_global_flag = bp_world_africa_broadcasted } + regional_percentage = { + region = world_africa + percentage = 0.5 + OR = { + has_province_modifier = depopulated_1 + has_province_modifier = depopulated_2 + has_province_modifier = depopulated_3 + } + } + } + set_global_flag = bp_world_africa_broadcasted + capital_scope = { province_event = { id = RIP.10118 } } + chronicle = { + entry = CHRONICLE_AFRICA_GONE + picture = GFX_evt_monk + } + } + if = { + limit = { + NOT = { has_global_flag = bp_world_asia_minor_broadcasted } + regional_percentage = { + region = world_asia_minor + percentage = 0.5 + OR = { + has_province_modifier = depopulated_1 + has_province_modifier = depopulated_2 + has_province_modifier = depopulated_3 + } + } + } + set_global_flag = bp_world_asia_minor_broadcasted + capital_scope = { province_event = { id = RIP.10119 } } + chronicle = { + entry = CHRONICLE_ASIAMINOR_GONE + picture = GFX_evt_monk + } + } + if = { + limit = { + NOT = { has_global_flag = bp_world_europe_east_broadcasted } + regional_percentage = { + region = world_europe_east + percentage = 0.5 + OR = { + has_province_modifier = depopulated_1 + has_province_modifier = depopulated_2 + has_province_modifier = depopulated_3 + } + } + } + set_global_flag = bp_world_europe_east_broadcasted + capital_scope = { province_event = { id = RIP.10120 } } + chronicle = { + entry = CHRONICLE_EASTEUROPE_GONE + picture = GFX_evt_monk + } + } + if = { + limit = { + NOT = { has_global_flag = bp_world_europe_south_broadcasted } + regional_percentage = { + region = world_europe_south + percentage = 0.5 + OR = { + has_province_modifier = depopulated_1 + has_province_modifier = depopulated_2 + has_province_modifier = depopulated_3 + } + } + } + set_global_flag = bp_world_europe_south_broadcasted + capital_scope = { province_event = { id = RIP.10121 } } + chronicle = { + entry = CHRONICLE_SOUTHEUROPE_GONE + picture = GFX_evt_monk + } + } + if = { + limit = { + NOT = { has_global_flag = bp_world_europe_west_broadcasted } + regional_percentage = { + region = world_europe_west + percentage = 0.5 + OR = { + has_province_modifier = depopulated_1 + has_province_modifier = depopulated_2 + has_province_modifier = depopulated_3 + } + } + } + set_global_flag = bp_world_europe_west_broadcasted + capital_scope = { province_event = { id = RIP.10122 } } + chronicle = { + entry = CHRONICLE_WESTEUROPE_GONE + picture = GFX_evt_monk + } + } + if = { + limit = { + NOT = { has_global_flag = bp_world_europe_north_broadcasted } + regional_percentage = { + region = world_europe_north + percentage = 0.5 + OR = { + has_province_modifier = depopulated_1 + has_province_modifier = depopulated_2 + has_province_modifier = depopulated_3 + } + } + } + set_global_flag = bp_world_europe_north_broadcasted + capital_scope = { province_event = { id = RIP.10123 } } + chronicle = { + entry = CHRONICLE_NORTHEUROPE_GONE + picture = GFX_evt_monk + } + } + if = { + limit = { + NOT = { has_global_flag = bp_world_steppe_broadcasted } + regional_percentage = { + region = world_steppe + percentage = 0.5 + OR = { + has_province_modifier = depopulated_1 + has_province_modifier = depopulated_2 + has_province_modifier = depopulated_3 + } + } + } + set_global_flag = bp_world_steppe_broadcasted + capital_scope = { province_event = { id = RIP.10124 } } + chronicle = { + entry = CHRONICLE_STEPPE_GONE + picture = GFX_evt_monk + } + } + } +} + +# The Black Death has ravaged india +province_event = { + id = RIP.10115 + hide_window = yes + is_triggered_only = yes + + immediate = { province_event = { id = RIP.10215 days = 10 random = 250 } } +} + +province_event = { + id = RIP.10215 + hide_window = yes + is_triggered_only = yes + + immediate = { owner = { narrative_event = { id = RIP.10015 } } } +} + +narrative_event = { + id = RIP.10015 + title = EVTNAME_RIP_10015 + picture = GFX_evt_danse_macabre + border = GFX_event_narrative_frame_religion + + desc = EVTDESC_RIP_10015 + + is_triggered_only = yes + + hide_from = yes + + major = yes + + option = { + name = EVTOPTA_RIP_10015 + } +} + +# The Black Death has ravaged Persia +province_event = { + id = RIP.10116 + hide_window = yes + is_triggered_only = yes + + immediate = { province_event = { id = RIP.10216 days = 20 random = 250 } } +} + +province_event = { + id = RIP.10216 + hide_window = yes + is_triggered_only = yes + + immediate = { owner = { narrative_event = { id = RIP.10016 } } } +} + +narrative_event = { + id = RIP.10016 + title = EVTNAME_RIP_10016 + picture = GFX_evt_danse_macabre + border = GFX_event_narrative_frame_religion + + desc = EVTDESC_RIP_10016 + + is_triggered_only = yes + hide_from = yes + + major = yes + + option = { + name = EVTOPTA_RIP_10015 + } +} + +# The Black Death has ravaged the Middle East +province_event = { + id = RIP.10117 + hide_window = yes + is_triggered_only = yes + + immediate = { province_event = { id = RIP.10217 days = 30 random = 250 } } +} + +province_event = { + id = RIP.10217 + hide_window = yes + is_triggered_only = yes + + immediate = { owner = { narrative_event = { id = RIP.10017 } } } +} + +narrative_event = { + id = RIP.10017 + title = EVTNAME_RIP_10017 + picture = GFX_evt_danse_macabre + border = GFX_event_narrative_frame_religion + + desc = EVTDESC_RIP_10017 + + is_triggered_only = yes + hide_from = yes + + major = yes + + option = { + name = EVTOPTA_RIP_10015 + } +} + +# The Black Death has ravaged Africa +province_event = { + id = RIP.10118 + hide_window = yes + is_triggered_only = yes + + immediate = { province_event = { id = RIP.10218 days = 40 random = 250 } } +} + +province_event = { + id = RIP.10218 + hide_window = yes + is_triggered_only = yes + + immediate = { owner = { narrative_event = { id = RIP.10018 } } } +} + +narrative_event = { + id = RIP.10018 + title = EVTNAME_RIP_10018 + picture = GFX_evt_danse_macabre + border = GFX_event_narrative_frame_religion + + desc = EVTDESC_RIP_10018 + + is_triggered_only = yes + hide_from = yes + + major = yes + + option = { + name = EVTOPTA_RIP_10015 + } +} + +# The Black Death has ravaged Asia Minor (Turkey) +province_event = { + id = RIP.10119 + hide_window = yes + is_triggered_only = yes + + immediate = { province_event = { id = RIP.10219 days = 50 random = 250 } } +} + +province_event = { + id = RIP.10219 + hide_window = yes + is_triggered_only = yes + + immediate = { owner = { narrative_event = { id = RIP.10019 } } } +} + +narrative_event = { + id = RIP.10019 + title = EVTNAME_RIP_10019 + picture = GFX_evt_danse_macabre + border = GFX_event_narrative_frame_religion + + desc = EVTDESC_RIP_10019 + + is_triggered_only = yes + hide_from = yes + + major = yes + + option = { + name = EVTOPTA_RIP_10015 + } +} + +# The Black Death has ravaged Europe East +province_event = { + id = RIP.10120 + hide_window = yes + is_triggered_only = yes + + immediate = { province_event = { id = RIP.10220 days = 60 random = 250 } } +} + +province_event = { + id = RIP.10220 + hide_window = yes + is_triggered_only = yes + + immediate = { owner = { narrative_event = { id = RIP.10020 } } } +} + +narrative_event = { + id = RIP.10020 + title = EVTNAME_RIP_10020 + picture = GFX_evt_danse_macabre + border = GFX_event_narrative_frame_religion + + desc = EVTDESC_RIP_10020 + + is_triggered_only = yes + hide_from = yes + + major = yes + + option = { + name = EVTOPTA_RIP_10015 + } +} + +# The Black Death has ravaged Europe South +province_event = { + id = RIP.10121 + hide_window = yes + is_triggered_only = yes + + immediate = { province_event = { id = RIP.10221 days = 70 random = 250 } } +} + +province_event = { + id = RIP.10221 + hide_window = yes + is_triggered_only = yes + + immediate = { owner = { narrative_event = { id = RIP.10021 } } } +} + +narrative_event = { + id = RIP.10021 + title = EVTNAME_RIP_10021 + picture = GFX_evt_danse_macabre + border = GFX_event_narrative_frame_religion + + desc = EVTDESC_RIP_10021 + + is_triggered_only = yes + hide_from = yes + + major = yes + + option = { + name = EVTOPTA_RIP_10015 + } +} + +# The Black Death has ravaged Europe West +province_event = { + id = RIP.10122 + hide_window = yes + is_triggered_only = yes + + immediate = { province_event = { id = RIP.10222 days = 80 random = 250 } } +} + +province_event = { + id = RIP.10222 + hide_window = yes + is_triggered_only = yes + + immediate = { owner = { narrative_event = { id = RIP.10022 } } } +} + +narrative_event = { + id = RIP.10022 + title = EVTNAME_RIP_10022 + picture = GFX_evt_danse_macabre + border = GFX_event_narrative_frame_religion + + desc = EVTDESC_RIP_10022 + + is_triggered_only = yes + hide_from = yes + + major = yes + + option = { + name = EVTOPTA_RIP_10015 + } +} + +# The Black Death has ravaged Europe North +province_event = { + id = RIP.10123 + hide_window = yes + is_triggered_only = yes + + immediate = { province_event = { id = RIP.10223 days = 90 random = 250 } } +} + +province_event = { + id = RIP.10223 + hide_window = yes + is_triggered_only = yes + + immediate = { owner = { narrative_event = { id = RIP.10023 } } } +} + +narrative_event = { + id = RIP.10023 + title = EVTNAME_RIP_10023 + picture = GFX_evt_danse_macabre + border = GFX_event_narrative_frame_religion + + desc = EVTDESC_RIP_10023 + + is_triggered_only = yes + hide_from = yes + + major = yes + + option = { + name = EVTOPTA_RIP_10015 + } +} + +# The Black Death has ravaged the Steppe +province_event = { + id = RIP.10124 + hide_window = yes + is_triggered_only = yes + + immediate = { province_event = { id = RIP.10224 days = 100 random = 250 } } +} + +province_event = { + id = RIP.10224 + hide_window = yes + is_triggered_only = yes + + immediate = { owner = { narrative_event = { id = RIP.10024 } } } +} + +narrative_event = { + id = RIP.10024 + title = EVTNAME_RIP_10024 + picture = GFX_evt_danse_macabre + border = GFX_event_narrative_frame_religion + + desc = EVTDESC_RIP_10024 + + is_triggered_only = yes + hide_from = yes + + major = yes + + option = { + name = EVTOPTA_RIP_10015 + } +} + +#depopulation modifier dissipating +province_event = { + id = RIP.10030 + hide_window = yes + + is_triggered_only = yes + + trigger = { + OR = { + has_province_modifier = depopulated_1 + has_province_modifier = depopulated_2 + has_province_modifier = depopulated_3 + } + NOT = { + has_disease = yes + } + } + + immediate = { + random_list = { + 30 = { + modifier = { + factor = 1.5 + is_capital = yes + } + modifier = { + factor = 1.3 + port = yes + } + modifier = { + factor = 1.3 + has_trade_post = yes + } + modifier = { + factor = 1.3 + holder_scope = { + stewardship = 20 + } + } + modifier = { + factor = 1.2 + holder_scope = { + stewardship = 15 + } + } + modifier = { + factor = 1.1 + holder_scope = { + stewardship = 10 + } + } + modifier = { + factor = 1.1 + num_of_settlements = 2 + } + modifier = { + factor = 1.1 + num_of_settlements = 3 + } + modifier = { + factor = 1.1 + num_of_settlements = 4 + } + modifier = { + factor = 1.1 + num_of_settlements = 5 + } + modifier = { + factor = 1.1 + num_of_settlements = 6 + } + modifier = { + factor = 1.1 + num_of_settlements = 7 + } + modifier = { + factor = 1.1 + hospital_level = 1 + } + modifier = { + factor = 1.1 + hospital_level = 2 + } + modifier = { + factor = 1.1 + hospital_level = 3 + } + modifier = { + factor = 1.1 + hospital_level = 4 + } + modifier = { + factor = 1.1 + hospital_level = 5 + } + modifier = { + factor = 1.1 + hospital_level = 6 + } + decrease_depopulation_effect = yes + } + 70 = { # Nothing Happens + modifier = { + factor = 3 + is_occupied = yes + } + modifier = { + factor = 1.2 + is_winter = yes + } + modifier = { + factor = 1.5 + has_province_modifier = depopulated_2 + } + modifier = { + factor = 2 + has_province_modifier = depopulated_3 + } + } + } + } +} + +character_event = { + id = RIP.10031 + hide_window = yes + + ai = no + has_global_flag = black_death_broadcasted + + is_triggered_only = yes + + trigger = { + NOR = { + any_province = { + disease = bubonic_plague + } + regional_percentage = { + region = world_india + percentage = 0.5 + OR = { + has_province_modifier = depopulated_1 + has_province_modifier = depopulated_2 + has_province_modifier = depopulated_3 + } + } + regional_percentage = { + region = world_persia + percentage = 0.5 + OR = { + has_province_modifier = depopulated_1 + has_province_modifier = depopulated_2 + has_province_modifier = depopulated_3 + } + } + regional_percentage = { + region = world_middle_east + percentage = 0.5 + OR = { + has_province_modifier = depopulated_1 + has_province_modifier = depopulated_2 + has_province_modifier = depopulated_3 + } + } + regional_percentage = { + region = world_africa + percentage = 0.5 + OR = { + has_province_modifier = depopulated_1 + has_province_modifier = depopulated_2 + has_province_modifier = depopulated_3 + } + } + regional_percentage = { + region = world_asia_minor + percentage = 0.5 + OR = { + has_province_modifier = depopulated_1 + has_province_modifier = depopulated_2 + has_province_modifier = depopulated_3 + } + } + regional_percentage = { + region = world_europe_east + percentage = 0.5 + OR = { + has_province_modifier = depopulated_1 + has_province_modifier = depopulated_2 + has_province_modifier = depopulated_3 + } + } + regional_percentage = { + region = world_europe_south + percentage = 0.5 + OR = { + has_province_modifier = depopulated_1 + has_province_modifier = depopulated_2 + has_province_modifier = depopulated_3 + } + } + regional_percentage = { + region = world_europe_west + percentage = 0.5 + OR = { + has_province_modifier = depopulated_1 + has_province_modifier = depopulated_2 + has_province_modifier = depopulated_3 + } + } + regional_percentage = { + region = world_europe_north + percentage = 0.5 + OR = { + has_province_modifier = depopulated_1 + has_province_modifier = depopulated_2 + has_province_modifier = depopulated_3 + } + } + regional_percentage = { + region = world_steppe + percentage = 0.5 + OR = { + has_province_modifier = depopulated_1 + has_province_modifier = depopulated_2 + has_province_modifier = depopulated_3 + } + } + } + } + + immediate = { + clr_global_flag = black_death_broadcasted + clr_global_flag = bp_world_india_broadcasted + clr_global_flag = bp_world_persia_broadcasted + clr_global_flag = bp_world_middle_east_broadcasted + clr_global_flag = bp_world_africa_broadcasted + clr_global_flag = bp_world_asia_minor_broadcasted + clr_global_flag = bp_world_europe_east_broadcasted + clr_global_flag = bp_world_europe_south_broadcasted + clr_global_flag = bp_world_europe_west_broadcasted + clr_global_flag = bp_world_europe_north_broadcasted + clr_global_flag = bp_world_steppe_broadcasted + } +} \ No newline at end of file diff --git a/LCDA/events/rip_physician_events.txt b/LCDA/events/rip_physician_events.txt new file mode 100644 index 0000000..b44fe7e --- /dev/null +++ b/LCDA/events/rip_physician_events.txt @@ -0,0 +1,4558 @@ +########################################### +# # +# RIP Physician Events # +# ID RIP.11050-RIP.11500 # +# # +########################################### + +# Written by Alexander Oltner + +namespace = RIP + +### Look for a Court Physician + +character_event = { + id = RIP.11050 + desc = EVTDESC_RIP_11050 + picture = GFX_evt_courier + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + immediate = { + set_character_flag = looking_for_court_physician + } + + option = { + name = EVTOPTA_RIP_11050 + hidden_tooltip = { character_event = { id = RIP.11051 days = 10 random = 10 } } + } +} + +# Found a Court Physician +character_event = { + id = RIP.11051 + hide_window = yes + + is_triggered_only = yes + + immediate = { + clr_character_flag = looking_for_court_physician + set_character_flag = found_court_physician + random_list = { + 4 = { # Drunk Village Physician (Unschooled, 18+ Learning) + modifier = { + factor = 0 + AND = { + has_character_flag = got_physician_village_drunkard + NOT = { had_character_flag = { flag = got_physician_village_drunkard days = 3650 } } + } + } + random_list = { + 75 = { # Same Religion & Culture as ROOT + create_character = { + religion = ROOT + culture = ROOT + dynasty = none + age = 35 + random_traits = yes + female = no + attributes = { + learning = 20 + } + health = 6 + trait = detached_priest + trait = drunkard + flag = is_court_physician + flag = physician_village_drunkard + } + new_character = { + remove_trait = temperate + remove_trait = scholar + remove_trait = mystic + if = { + limit = { + religion_group = muslim + } + add_trait = decadent + } + if = { + limit = { + religion_group = indian_group + } + add_trait = brahmin + character_event = { id = RoI.30121 } + } + random_list = { # Is the Physician a Quack? + 90 = { + } + 10 = { + set_character_flag = physician_is_quack + } + } + save_event_target_as = recruited_physician_target + character_event = { id = RIP.11052 } + } + } + 25 = { # Jewish Religion & Culture (Ashkenazi) + modifier = { + factor = 0 + OR = { + has_character_modifier = expelled_jewish + capital_scope = { + region = world_europe_west_iberia + } + } + } + modifier = { + factor = 0 + NOR = { + religion_group = christian + religion_group = muslim + religion_group = zoroastrian_group + religion_group = jewish_group + culture = khazar + } + } + create_character = { + culture = ashkenazi + religion = jewish + dynasty = culture + age = 35 + random_traits = yes + female = no + attributes = { + learning = 20 + } + health = 6 + trait = detached_priest + trait = drunkard + flag = ai_flag_refuse_conversion + flag = is_court_physician + flag = physician_village_drunkard + } + new_character = { + remove_trait = temperate + remove_trait = scholar + remove_trait = mystic + random_list = { # Randomize Religion + 90 = { + religion = jewish + } + 5 = { + religion = samaritan + } + 5 = { + religion = karaite + } + } + random_list = { # Is the Physician a Quack? + 90 = { + } + 10 = { + set_character_flag = physician_is_quack + } + } + save_event_target_as = recruited_physician_target + character_event = { id = RIP.11052 } + } + } + 25 = { # Jewish Religion & Culture (Sephardi) + modifier = { + factor = 0 + OR = { + has_character_modifier = expelled_jewish + NOT = { + capital_scope = { + region = world_europe_west_iberia + } + } + } + } + modifier = { + factor = 0 + NOR = { + religion_group = christian + religion_group = muslim + religion_group = zoroastrian_group + religion_group = jewish_group + culture = khazar + } + } + create_character = { + culture = sephardi + religion = jewish + dynasty = culture + age = 35 + random_traits = yes + female = no + attributes = { + learning = 20 + } + health = 6 + trait = detached_priest + trait = drunkard + flag = ai_flag_refuse_conversion + flag = is_court_physician + flag = physician_village_drunkard + } + new_character = { + remove_trait = temperate + remove_trait = scholar + remove_trait = mystic + random_list = { # Randomize Religion + 90 = { + religion = jewish + } + 5 = { + religion = samaritan + } + 5 = { + religion = karaite + } + } + random_list = { # Is the Physician a Quack? + 90 = { + } + 10 = { + set_character_flag = physician_is_quack + } + } + save_event_target_as = recruited_physician_target + character_event = { id = RIP.11052 } + } + } + } + } + 5 = { # Ship's Physician (Physician) + modifier = { + factor = 0 + AND = { + has_character_flag = got_physician_ships_physician + NOT = { had_character_flag = { flag = got_physician_ships_physician days = 3650 } } + } + } + modifier = { + factor = 0 + NOT = { + any_realm_province = { + port = yes + } + } + } + any_realm_province = { + limit = { + port = yes + } + save_event_target_as = physician_port_target + } + random_list = { + 75 = { # Same Religion & Culture as ROOT + create_character = { + religion = ROOT + culture = ROOT + dynasty = none + age = 30 + random_traits = yes + female = no + attributes = { + learning = 10 + } + health = 6 + trait = underhanded_rogue + trait = physician + trait = one_legged + trait = greedy + flag = is_court_physician + flag = physician_ships_physician + } + new_character = { + remove_trait = charitable + remove_trait = mystic + remove_trait = poet + remove_trait = socializer + remove_trait = gamer + remove_trait = hedonist + remove_trait = duelist + remove_trait = hunter + remove_trait = strategist + remove_trait = administrator + remove_trait = architect + remove_trait = gardener + remove_trait = schemer + remove_trait = impaler + remove_trait = seducer + remove_trait = seductress + remove_trait = theologian + remove_trait = scholar + add_character_modifier = { + modifier = pet_parrot + duration = -1 + } + if = { + limit = { + religion_group = indian_group + } + add_trait = brahmin + character_event = { id = RoI.30121 } + } + if = { + limit = { + religion_group = muslim + } + remove_trait = scholar + add_trait = mutazilite + } + random_list = { # Is the Physician a Quack? + 90 = { + } + 10 = { + set_character_flag = physician_is_quack + } + } + give_nickname = nick_the_sea_devil + save_event_target_as = recruited_physician_target + character_event = { id = RIP.11052 } + } + } + 25 = { # Jewish Religion & Culture (Ashkenazi) + modifier = { + factor = 0 + OR = { + has_character_modifier = expelled_jewish + capital_scope = { + region = world_europe_west_iberia + } + } + } + modifier = { + factor = 0 + NOR = { + religion_group = christian + religion_group = muslim + religion_group = zoroastrian_group + religion_group = jewish_group + culture = khazar + } + } + create_character = { + culture = ashkenazi + religion = jewish + dynasty = culture + age = 30 + random_traits = yes + female = no + attributes = { + learning = 10 + } + health = 6 + trait = underhanded_rogue + trait = physician + trait = one_legged + trait = greedy + flag = is_court_physician + flag = physician_ships_physician + flag = ai_flag_refuse_conversion + } + new_character = { + remove_trait = charitable + remove_trait = mystic + remove_trait = poet + remove_trait = socializer + remove_trait = gamer + remove_trait = hedonist + remove_trait = duelist + remove_trait = hunter + remove_trait = strategist + remove_trait = administrator + remove_trait = architect + remove_trait = gardener + remove_trait = schemer + remove_trait = impaler + remove_trait = seducer + remove_trait = seductress + remove_trait = theologian + remove_trait = scholar + add_character_modifier = { + modifier = pet_parrot + duration = -1 + } + random_list = { # Randomize Religion + 90 = { + religion = jewish + } + 5 = { + religion = samaritan + } + 5 = { + religion = karaite + } + } + random_list = { # Is the Physician a Quack? + 90 = { + } + 10 = { + set_character_flag = physician_is_quack + } + } + give_nickname = nick_the_sea_devil + save_event_target_as = recruited_physician_target + character_event = { id = RIP.11052 } + } + } + 25 = { # Jewish Religion & Culture (Sephardi) + modifier = { + factor = 0 + OR = { + has_character_modifier = expelled_jewish + NOT = { + capital_scope = { + region = world_europe_west_iberia + } + } + } + } + modifier = { + factor = 0 + NOR = { + religion_group = christian + religion_group = muslim + religion_group = zoroastrian_group + religion_group = jewish_group + culture = khazar + } + } + create_character = { + culture = sephardi + religion = jewish + dynasty = culture + age = 30 + random_traits = yes + female = no + attributes = { + learning = 10 + } + health = 6 + trait = underhanded_rogue + trait = physician + trait = one_legged + trait = greedy + flag = is_court_physician + flag = physician_ships_physician + flag = ai_flag_refuse_conversion + } + new_character = { + remove_trait = charitable + remove_trait = mystic + remove_trait = socializer + remove_trait = gamer + remove_trait = hedonist + remove_trait = duelist + remove_trait = hunter + remove_trait = strategist + remove_trait = administrator + remove_trait = architect + remove_trait = gardener + remove_trait = schemer + remove_trait = impaler + remove_trait = seducer + remove_trait = seductress + remove_trait = theologian + remove_trait = scholar + add_character_modifier = { + modifier = pet_parrot + duration = -1 + } + random_list = { # Randomize Religion + 90 = { + religion = jewish + } + 5 = { + religion = samaritan + } + 5 = { + religion = karaite + } + } + random_list = { # Is the Physician a Quack? + 90 = { + } + 10 = { + set_character_flag = physician_is_quack + } + } + give_nickname = nick_the_sea_devil + save_event_target_as = recruited_physician_target + character_event = { id = RIP.11052 } + } + } + } + } + 5 = { # Wise Hermit Dwarf (Physician) + modifier = { + factor = 0 + AND = { + has_character_flag = got_physician_wise_dwarf + NOT = { had_character_flag = { flag = got_physician_wise_dwarf days = 3650 } } + } + } + modifier = { + factor = 0 + NOT = { + any_realm_province = { + OR = { + terrain = forest + terrain = jungle + } + } + } + } + any_realm_province = { + limit = { + OR = { + terrain = forest + terrain = jungle + } + } + save_event_target_as = physician_forest_target + } + create_character = { + religion = ROOT + culture = ROOT + dynasty = none + age = 40 + random_traits = yes + female = no + attributes = { + learning = 8 + martial = 1 + } + health = 6 + trait = martial_cleric + trait = physician + trait = ugly + trait = dwarf + trait = shrewd + trait = shy + flag = is_court_physician + flag = physician_wise_dwarf + flag = ai_flag_refuse_conversion + } + new_character = { + remove_trait = fair + remove_trait = gregarious + remove_trait = slow + remove_trait = imbecile + remove_trait = dull + remove_trait = mystic + remove_trait = socializer + remove_trait = gamer + remove_trait = hedonist + remove_trait = duelist + remove_trait = hunter + remove_trait = strategist + remove_trait = administrator + remove_trait = architect + remove_trait = gardener + remove_trait = schemer + remove_trait = impaler + remove_trait = seducer + remove_trait = seductress + remove_trait = theologian + remove_trait = scholar + become_heretic = yes + if = { + limit = { + religion_group = indian_group + } + add_trait = brahmin + character_event = { id = RoI.30121 } + } + if = { + limit = { + religion_group = muslim + } + remove_trait = scholar + add_trait = mutazilite + } + random_list = { # Is the Physician a Quack? + 90 = { + } + 10 = { + set_character_flag = physician_is_quack + } + } + save_event_target_as = recruited_physician_target + character_event = { id = RIP.11052 } + } + + } + 8 = { # Jewish Exile (Physician or Mystic) + modifier = { + factor = 0 + AND = { + has_character_flag = got_physician_jewish_exile + NOT = { had_character_flag = { flag = got_physician_jewish_exile days = 3650 } } + } + } + modifier = { + factor = 0 + has_character_modifier = expelled_jewish + } + modifier = { + factor = 0 + NOR = { + religion_group = christian + religion_group = muslim + religion_group = zoroastrian_group + religion_group = jewish_group + culture = khazar + } + } + random_list = { + 50 = { # Jewish Religion & Culture (Ashkenazi & Physician) + modifier = { + factor = 0 + capital_scope = { + region = world_europe_west_iberia + } + } + modifier = { + factor = 0 + NOR = { + religion_group = christian + religion_group = muslim + religion_group = zoroastrian_group + religion_group = jewish_group + culture = khazar + } + } + create_character = { + culture = ashkenazi + religion = jewish + dynasty = culture + age = 24 + random_traits = yes + female = no + attributes = { + learning = 6 + } + health = 6 + trait = martial_cleric + trait = physician + flag = is_court_physician + flag = physician_jewish_exile + flag = ai_flag_refuse_conversion + } + new_character = { + remove_trait = charitable + remove_trait = mystic + remove_trait = scholar + remove_trait = socializer + remove_trait = gamer + remove_trait = hedonist + remove_trait = duelist + remove_trait = hunter + remove_trait = strategist + remove_trait = administrator + remove_trait = architect + remove_trait = gardener + remove_trait = schemer + remove_trait = impaler + remove_trait = seducer + remove_trait = seductress + remove_trait = theologian + random_list = { # Random chance to add Scholar + 50 = { + add_trait = scholar + change_learning = -2 + } + 50 = { + + } + } + random_list = { # Randomize Religion + 90 = { + religion = jewish + } + 5 = { + religion = samaritan + } + 5 = { + religion = karaite + } + } + random_list = { # Is the Physician a Quack? + 90 = { + } + 10 = { + set_character_flag = physician_is_quack + } + } + save_event_target_as = recruited_physician_target + character_event = { id = RIP.11052 } + } + } + 50 = { # Jewish Religion & Culture (Sephardi & Physician) + modifier = { + factor = 0 + NOT = { + capital_scope = { + region = world_europe_west_iberia + } + } + } + modifier = { + factor = 0 + NOR = { + religion_group = christian + religion_group = muslim + religion_group = zoroastrian_group + religion_group = jewish_group + culture = khazar + } + } + create_character = { + culture = sephardi + religion = jewish + dynasty = culture + age = 24 + random_traits = yes + female = no + attributes = { + learning = 6 + } + health = 6 + trait = martial_cleric + trait = physician + flag = is_court_physician + flag = physician_jewish_exile + flag = ai_flag_refuse_conversion + } + new_character = { + remove_trait = charitable + remove_trait = mystic + remove_trait = scholar + remove_trait = socializer + remove_trait = gamer + remove_trait = hedonist + remove_trait = duelist + remove_trait = hunter + remove_trait = strategist + remove_trait = administrator + remove_trait = architect + remove_trait = gardener + remove_trait = schemer + remove_trait = impaler + remove_trait = seducer + remove_trait = seductress + remove_trait = theologian + random_list = { # Random chance to add scholar + 50 = { + add_trait = scholar + change_learning = -2 + } + 50 = { + + } + } + random_list = { # Randomize Religion + 90 = { + religion = jewish + } + 5 = { + religion = samaritan + } + 5 = { + religion = karaite + } + } + random_list = { # Is the Physician a Quack? + 90 = { + } + 10 = { + set_character_flag = physician_is_quack + } + } + save_event_target_as = recruited_physician_target + character_event = { id = RIP.11052 } + } + } + 50 = { # Jewish Religion & Culture (Ashkenazi & Mystic) + modifier = { + factor = 0 + capital_scope = { + region = world_europe_west_iberia + } + } + modifier = { + factor = 0 + NOR = { + religion_group = christian + religion_group = muslim + religion_group = zoroastrian_group + religion_group = jewish_group + culture = khazar + } + } + create_character = { + culture = ashkenazi + religion = jewish + dynasty = culture + age = 24 + random_traits = yes + female = no + attributes = { + learning = 6 + } + health = 6 + trait = martial_cleric + trait = mystic + flag = is_court_physician + flag = physician_jewish_exile + flag = ai_flag_refuse_conversion + } + new_character = { + remove_trait = charitable + remove_trait = scholar + remove_trait = socializer + remove_trait = gamer + remove_trait = hedonist + remove_trait = duelist + remove_trait = hunter + remove_trait = strategist + remove_trait = administrator + remove_trait = architect + remove_trait = gardener + remove_trait = schemer + remove_trait = impaler + remove_trait = seducer + remove_trait = seductress + remove_trait = theologian + random_list = { # Random chance to add Physician + 50 = { + add_trait = physician + change_learning = -2 + } + 50 = { + + } + } + random_list = { # Randomize Religion + 90 = { + religion = jewish + } + 5 = { + religion = samaritan + } + 5 = { + religion = karaite + } + } + random_list = { # Is the Physician a Quack? + 90 = { + } + 10 = { + set_character_flag = physician_is_quack + } + } + save_event_target_as = recruited_physician_target + character_event = { id = RIP.11052 } + } + } + 50 = { # Jewish Religion & Culture (Sephardi & Mystic) + modifier = { + factor = 0 + NOT = { + capital_scope = { + region = world_europe_west_iberia + } + } + } + modifier = { + factor = 0 + NOR = { + religion_group = christian + religion_group = muslim + religion_group = zoroastrian_group + religion_group = jewish_group + culture = khazar + } + } + create_character = { + culture = sephardi + religion = jewish + dynasty = culture + age = 24 + random_traits = yes + female = no + attributes = { + learning = 6 + } + health = 6 + trait = martial_cleric + trait = mystic + flag = is_court_physician + flag = physician_jewish_exile + flag = ai_flag_refuse_conversion + } + new_character = { + remove_trait = charitable + remove_trait = scholar + remove_trait = socializer + remove_trait = gamer + remove_trait = hedonist + remove_trait = duelist + remove_trait = hunter + remove_trait = strategist + remove_trait = administrator + remove_trait = architect + remove_trait = gardener + remove_trait = schemer + remove_trait = impaler + remove_trait = seducer + remove_trait = seductress + remove_trait = theologian + random_list = { # Random chance to add Physician + 50 = { + add_trait = physician + change_learning = -2 + } + 50 = { + + } + } + random_list = { # Randomize Religion + 90 = { + religion = jewish + } + 5 = { + religion = samaritan + } + 5 = { + religion = karaite + } + } + random_list = { # Is the Physician a Quack? + 90 = { + } + 10 = { + set_character_flag = physician_is_quack + } + } + save_event_target_as = recruited_physician_target + character_event = { id = RIP.11052 } + } + } + } + } + 5 = { # Condemned Sorcerer (Mystic) + modifier = { + factor = 0 + AND = { + has_character_flag = got_physician_condemned_sorcerer + NOT = { had_character_flag = { flag = got_physician_condemned_sorcerer days = 3650 } } + } + } + modifier = { + factor = 0 + NOT = { + job_spymaster = { + always = yes + } + } + } + modifier = { + factor = 0 + NOT = { + any_realm_province = { + any_province_holding = { + holding_type = city + } + } + } + } + any_realm_province = { + limit = { + any_province_holding = { + holding_type = city + } + } + random_province_holding = { + limit = { + holding_type = city + } + save_event_target_as = sorcerer_city_target + } + } + random_list = { + 75 = { # Same Religion & Culture as ROOT + create_character = { + religion = ROOT + culture = ROOT + dynasty = none + age = 28 + random_traits = yes + female = no + attributes = { + learning = 9 + } + health = 6 + trait = naive_appeaser + trait = mystic + flag = is_court_physician + flag = physician_condemned_sorcerer + } + new_character = { + remove_trait = scholar + remove_trait = socializer + remove_trait = gamer + remove_trait = hedonist + remove_trait = duelist + remove_trait = hunter + remove_trait = strategist + remove_trait = administrator + remove_trait = architect + remove_trait = gardener + remove_trait = schemer + remove_trait = impaler + remove_trait = seducer + remove_trait = seductress + remove_trait = theologian + if = { + limit = { + religion_group = indian_group + } + add_trait = brahmin + character_event = { id = RoI.30121 } + } + random_list = { # Is the Physician a Quack? + 80 = { + } + 20 = { + set_character_flag = physician_is_quack + } + } + become_heretic = yes + save_event_target_as = recruited_physician_target + character_event = { id = RIP.11052 } + } + } + 25 = { # Jewish Religion & Culture (Ashkenazi) + modifier = { + factor = 0 + OR = { + has_character_modifier = expelled_jewish + capital_scope = { + region = world_europe_west_iberia + } + } + } + modifier = { + factor = 0 + NOR = { + religion_group = christian + religion_group = muslim + religion_group = zoroastrian_group + religion_group = jewish_group + culture = khazar + } + } + create_character = { + culture = ashkenazi + religion = jewish + dynasty = culture + age = 28 + random_traits = yes + female = no + attributes = { + learning = 8 + } + health = 6 + trait = naive_appeaser + trait = mystic + flag = is_court_physician + flag = physician_condemned_sorcerer + flag = ai_flag_refuse_conversion + } + new_character = { + remove_trait = scholar + remove_trait = socializer + remove_trait = gamer + remove_trait = hedonist + remove_trait = duelist + remove_trait = hunter + remove_trait = strategist + remove_trait = administrator + remove_trait = architect + remove_trait = gardener + remove_trait = schemer + remove_trait = impaler + remove_trait = seducer + remove_trait = seductress + remove_trait = theologian + random_list = { # Randomize Religion + 90 = { + religion = jewish + } + 5 = { + religion = samaritan + } + 5 = { + religion = karaite + } + } + random_list = { # Is the Physician a Quack? + 80 = { + } + 20 = { + set_character_flag = physician_is_quack + } + } + save_event_target_as = recruited_physician_target + character_event = { id = RIP.11052 } + } + } + 25 = { # Jewish Religion & Culture (Sephardi) + modifier = { + factor = 0 + OR = { + has_character_modifier = expelled_jewish + NOT = { + capital_scope = { + region = world_europe_west_iberia + } + } + } + } + modifier = { + factor = 0 + NOR = { + religion_group = christian + religion_group = muslim + religion_group = zoroastrian_group + religion_group = jewish_group + culture = khazar + } + } + create_character = { + culture = sephardi + religion = jewish + dynasty = culture + age = 28 + random_traits = yes + female = no + attributes = { + learning = 8 + } + health = 6 + trait = naive_appeaser + trait = mystic + flag = is_court_physician + flag = physician_condemned_sorcerer + flag = ai_flag_refuse_conversion + } + new_character = { + remove_trait = scholar + remove_trait = socializer + remove_trait = gamer + remove_trait = hedonist + remove_trait = duelist + remove_trait = hunter + remove_trait = strategist + remove_trait = administrator + remove_trait = architect + remove_trait = gardener + remove_trait = schemer + remove_trait = impaler + remove_trait = seducer + remove_trait = seductress + remove_trait = theologian + random_list = { # Randomize Religion + 90 = { + religion = jewish + } + 5 = { + religion = samaritan + } + 5 = { + religion = karaite + } + } + random_list = { # Is the Physician a Quack? + 80 = { + } + 20 = { + set_character_flag = physician_is_quack + } + } + save_event_target_as = recruited_physician_target + character_event = { id = RIP.11052 } + } + } + } + } + 5 = { # Cynical Clergyman (Mystic) + modifier = { + factor = 0 + AND = { + has_character_flag = got_physician_cynical_clergyman + NOT = { had_character_flag = { flag = got_physician_cynical_clergyman days = 3650 } } + } + } + modifier = { + factor = 0 + NOT = { + any_realm_province = { + any_province_holding = { + holding_type = temple + } + } + } + } + any_realm_province = { + limit = { + any_province_holding = { + holding_type = temple + } + } + random_province_holding = { + limit = { + holding_type = temple + } + save_event_target_as = clergyman_temple_target + } + } + create_character = { + religion = ROOT + culture = ROOT + dynasty = none + age = 60 + random_traits = yes + female = no + attributes = { + learning = 4 + } + health = 7 + trait = mastermind_theologian + trait = mystic + trait = cynical + flag = is_court_physician + flag = physician_cynical_clergyman + } + new_character = { + remove_trait = zealous + remove_trait = scholar + remove_trait = socializer + remove_trait = gamer + remove_trait = hedonist + remove_trait = duelist + remove_trait = hunter + remove_trait = strategist + remove_trait = administrator + remove_trait = architect + remove_trait = gardener + remove_trait = schemer + remove_trait = impaler + remove_trait = seducer + remove_trait = seductress + remove_trait = theologian + random_list = { # Random chance to add Physician + 50 = { + add_trait = physician + change_learning = -2 + } + 50 = { + + } + } + random_list = { # Random chance to add Physician + 50 = { + add_trait = physician + } + 50 = { + + } + } + if = { + limit = { + religion_group = christian + } + add_trait = monk + give_nickname = nick_the_monk + } + if = { + limit = { + religion_group = indian_group + } + add_trait = brahmin + character_event = { id = RoI.30121 } + } + random_list = { # Is the Physician a Quack? + 90 = { + } + 10 = { + set_character_flag = physician_is_quack + } + } + save_event_target_as = recruited_physician_target + character_event = { id = RIP.11052 } + } + } + 5 = { # Chinese Doctor (Mystic) + modifier = { + factor = 0 + AND = { + has_character_flag = got_physician_chinese_doctor + NOT = { had_character_flag = { flag = got_physician_chinese_doctor days = 3650 } } + } + } + modifier = { + factor = 0 + NOT = { + any_realm_province = { + trade_route = silk_road + } + } + } + any_realm_province = { + limit = { + trade_route = silk_road + } + save_event_target_as = chinese_silk_road_target + } + create_character = { + religion = buddhist + culture = khitan + dynasty = none + age = 50 + random_traits = yes + female = no + attributes = { + diplomacy = 2 + learning = 8 + } + health = 7 + trait = charismatic_negotiator + trait = mystic + trait = poet + trait = mahayana_buddhist + flag = is_court_physician + flag = physician_chinese_doctor + flag = ai_flag_refuse_conversion + } + new_character = { + remove_trait = scholar + remove_trait = falconer + remove_trait = vajrayana_buddhist + remove_trait = theravada_buddhist + remove_trait = socializer + remove_trait = gamer + remove_trait = hedonist + remove_trait = duelist + remove_trait = hunter + remove_trait = strategist + remove_trait = administrator + remove_trait = architect + remove_trait = gardener + remove_trait = schemer + remove_trait = impaler + remove_trait = seducer + remove_trait = seductress + remove_trait = theologian + random_list = { # Random chance to add Physician + 50 = { + add_trait = physician + } + 50 = { + + } + } + random_list = { # Random chance to be Nestorian + 50 = { + religion = nestorian + } + 50 = { + + } + } + random_list = { # Is the Physician a Quack? + 90 = { + } + 10 = { + set_character_flag = physician_is_quack + } + } + save_event_target_as = recruited_physician_target + character_event = { id = RIP.11052 } + } + } + 5 = { # Travelling Arab Scholar (Scholar or Mystic) + modifier = { + factor = 0 + AND = { + has_character_flag = got_physician_arab_scholar + NOT = { had_character_flag = { flag = got_physician_arab_scholar days = 3650 } } + } + } + modifier = { + factor = 0 + NOT = { + any_realm_province = { + has_trade_post = yes + } + } + } + modifier = { + factor = 0 + NOR = { + religion_group = christian + religion_group = muslim + religion_group = zoroastrian_group + religion_group = jewish_group + religion_group = indian_group + } + } + any_realm_province = { + limit = { + has_trade_post = yes + } + save_event_target_as = arab_scholar_trade_post_target + } + random_list = { + 25 = { # Arabic Sunni (Mutazilite) + create_character = { + culture = bedouin_arabic + religion = sunni + dynasty = culture + age = 35 + random_traits = yes + female = no + attributes = { + learning = 8 + } + health = 6 + trait = martial_cleric + trait = mutazilite + flag = is_court_physician + flag = physician_arab_scholar + flag = ai_flag_refuse_conversion + } + new_character = { + remove_trait = mystic + remove_trait = scholar + random_list = { # Random chance to add Physician + 50 = { + add_trait = physician + } + 50 = { + + } + } + random_list = { # Is the Physician a Quack? + 90 = { + } + 10 = { + set_character_flag = physician_is_quack + } + } + save_event_target_as = recruited_physician_target + character_event = { id = RIP.11052 } + } + } + 25 = { # Berber Kharijite (Mystic) + create_character = { + culture = maghreb_arabic + religion = kharijite + dynasty = culture + age = 35 + random_traits = yes + female = no + attributes = { + learning = 8 + } + health = 6 + trait = martial_cleric + trait = mystic + flag = is_court_physician + flag = physician_arab_scholar + flag = ai_flag_refuse_conversion + } + new_character = { + remove_trait = scholar + remove_trait = socializer + remove_trait = gamer + remove_trait = hedonist + remove_trait = duelist + remove_trait = hunter + remove_trait = strategist + remove_trait = administrator + remove_trait = architect + remove_trait = gardener + remove_trait = schemer + remove_trait = impaler + remove_trait = seducer + remove_trait = seductress + remove_trait = theologian + random_list = { # Random chance to add Physician + 50 = { + add_trait = physician + } + 50 = { + + } + } + random_list = { # Is the Physician a Quack? + 90 = { + } + 10 = { + set_character_flag = physician_is_quack + } + } + save_event_target_as = recruited_physician_target + character_event = { id = RIP.11052 } + } + } + 25 = { # Egyptian Shia (Mutazilite) + create_character = { + culture = egyptian_arabic + religion = shiite + dynasty = culture + age = 35 + random_traits = yes + female = no + attributes = { + learning = 8 + } + health = 6 + trait = martial_cleric + trait = mutazilite + flag = is_court_physician + flag = physician_arab_scholar + flag = ai_flag_refuse_conversion + } + new_character = { + remove_trait = mystic + remove_trait = scholar + random_list = { # Random chance to add Physician + 50 = { + add_trait = physician + } + 50 = { + + } + } + random_list = { # Is the Physician a Quack? + 90 = { + } + 10 = { + set_character_flag = physician_is_quack + } + } + save_event_target_as = recruited_physician_target + character_event = { id = RIP.11052 } + } + } + 25 = { # Levantine Druze (Mystic) + create_character = { + culture = levantine_arabic + religion = druze + dynasty = culture + age = 35 + random_traits = yes + female = no + attributes = { + learning = 8 + } + health = 6 + trait = martial_cleric + trait = mystic + flag = is_court_physician + flag = physician_arab_scholar + flag = ai_flag_refuse_conversion + } + new_character = { + remove_trait = scholar + remove_trait = socializer + remove_trait = gamer + remove_trait = hedonist + remove_trait = duelist + remove_trait = hunter + remove_trait = strategist + remove_trait = administrator + remove_trait = architect + remove_trait = gardener + remove_trait = schemer + remove_trait = impaler + remove_trait = seducer + remove_trait = seductress + remove_trait = theologian + random_list = { # Random chance to add Physician + 50 = { + add_trait = physician + } + 50 = { + + } + } + random_list = { # Is the Physician a Quack? + 90 = { + } + 10 = { + set_character_flag = physician_is_quack + } + } + save_event_target_as = recruited_physician_target + character_event = { id = RIP.11052 } + } + } + } + } + 5 = { # Beloved Wise Man (Physician) + modifier = { + factor = 0 + AND = { + has_character_flag = got_physician_beloved_wise_man + NOT = { had_character_flag = { flag = got_physician_beloved_wise_man days = 3650 } } + } + } + random_list = { + 75 = { + create_character = { + religion = ROOT + culture = ROOT + dynasty = none + age = 70 + random_traits = yes + female = no + attributes = { + diplomacy = 2 + learning = 6 + } + health = 7 + trait = mastermind_theologian + trait = physician + trait = kind + trait = charitable + trait = quick + trait = celibate + flag = is_court_physician + flag = physician_beloved_wise_man + } + new_character = { + remove_trait = greedy + remove_trait = wroth + remove_trait = cruel + remove_trait = lustful + remove_trait = dull + remove_trait = slow + remove_trait = imbecile + remove_trait = genius + remove_trait = socializer + remove_trait = gamer + remove_trait = hedonist + remove_trait = duelist + remove_trait = hunter + remove_trait = strategist + remove_trait = administrator + remove_trait = architect + remove_trait = gardener + remove_trait = schemer + remove_trait = impaler + remove_trait = seducer + remove_trait = seductress + remove_trait = theologian + remove_trait = scholar + random_list = { # Random chance to add Scholar + 30 = { + add_trait = scholar + change_learning = -2 + } + 70 = { + + } + } + if = { + limit = { + religion_group = muslim + } + remove_trait = scholar + add_trait = mutazilite + } + if = { + limit = { + religion_group = indian_group + } + add_trait = brahmin + character_event = { id = RoI.30121 } + } + random_list = { # Is the Physician a Quack? + 90 = { + } + 10 = { + set_character_flag = physician_is_quack + } + } + save_event_target_as = recruited_physician_target + character_event = { id = RIP.11052 } + } + } + 25 = { + create_character = { + religion = ROOT + culture = ROOT + dynasty = none + age = 70 + random_traits = yes + female = yes + attributes = { + diplomacy = 2 + learning = 6 + } + health = 7 + trait = mastermind_theologian + trait = physician + trait = kind + trait = charitable + trait = quick + trait = celibate + flag = is_court_physician + flag = physician_beloved_wise_man + } + new_character = { + remove_trait = greedy + remove_trait = wroth + remove_trait = cruel + remove_trait = lustful + remove_trait = dull + remove_trait = slow + remove_trait = imbecile + remove_trait = genius + remove_trait = socializer + remove_trait = gamer + remove_trait = hedonist + remove_trait = duelist + remove_trait = hunter + remove_trait = strategist + remove_trait = administrator + remove_trait = architect + remove_trait = gardener + remove_trait = schemer + remove_trait = impaler + remove_trait = seducer + remove_trait = seductress + remove_trait = theologian + remove_trait = scholar + random_list = { # Random chance to add Scholar + 30 = { + add_trait = scholar + change_learning = -2 + } + 70 = { + + } + } + if = { + limit = { + religion_group = muslim + } + remove_trait = scholar + add_trait = mutazilite + } + if = { + limit = { + religion_group = indian_group + } + add_trait = brahmin + character_event = { id = RoI.30121 } + } + random_list = { # Is the Physician a Quack? + 90 = { + } + 10 = { + set_character_flag = physician_is_quack + } + } + save_event_target_as = recruited_physician_target + character_event = { id = RIP.11052 } + } + } + } + } + 4 = { # Wandering Genius (18+ Learning) + modifier = { + factor = 0 + AND = { + has_character_flag = got_physician_wandering_genius + NOT = { had_character_flag = { flag = got_physician_wandering_genius days = 3650 } } + } + } + create_character = { + religion = ROOT + culture = random + dynasty = none + age = 43 + random_traits = yes + female = no + attributes = { + learning = 12 + } + health = 6 + trait = mastermind_theologian + trait = genius + trait = adventurer + trait = one_eyed + trait = celibate + flag = is_court_physician + flag = physician_wandering_genius + flag = ai_flag_refuse_conversion + } + new_character = { + remove_trait = dull + remove_trait = slow + remove_trait = imbecile + remove_trait = quick + remove_trait = lustful + give_nickname = nick_the_wise + if = { + limit = { + religion_group = muslim + } + remove_trait = scholar + add_trait = mutazilite + } + if = { + limit = { + religion_group = indian_group + } + add_trait = brahmin + character_event = { id = RoI.30121 } + } + random_list = { # Is the Physician a Quack? + 90 = { + } + 10 = { + set_character_flag = physician_is_quack + } + } + save_event_target_as = recruited_physician_target + character_event = { id = RIP.11052 } + } + } + 5 = { # Erudite Herbalist (High Learning) + modifier = { + factor = 0 + AND = { + has_character_flag = got_physician_erudite_herbalist + NOT = { had_character_flag = { flag = got_physician_erudite_herbalist days = 3650 } } + } + } + random_list = { + 1 = { + create_character = { + religion = ROOT + culture = ROOT + dynasty = none + age = 51 + random_traits = yes + female = no + attributes = { + learning = 9 + } + health = 5 + trait = martial_cleric + trait = erudite + trait = gardener + flag = is_court_physician + flag = physician_erudite_herbalist + } + new_character = { + remove_trait = mystic + remove_trait = scholar + remove_trait = socializer + remove_trait = gamer + remove_trait = hedonist + remove_trait = duelist + remove_trait = hunter + remove_trait = strategist + remove_trait = administrator + remove_trait = architect + remove_trait = schemer + remove_trait = impaler + remove_trait = seducer + remove_trait = seductress + remove_trait = theologian + if = { + limit = { + religion_group = muslim + } + remove_trait = scholar + add_trait = mutazilite + } + if = { + limit = { + religion_group = indian_group + } + add_trait = brahmin + character_event = { id = RoI.30121 } + } + random_list = { # Is the Physician a Quack? + 90 = { + } + 10 = { + set_character_flag = physician_is_quack + } + } + save_event_target_as = recruited_physician_target + character_event = { id = RIP.11052 } + } + } + 25 = { + create_character = { + religion = ROOT + culture = ROOT + dynasty = none + age = 51 + random_traits = yes + female = yes + attributes = { + learning = 9 + } + health = 5 + trait = martial_cleric + trait = erudite + trait = gardener + flag = is_court_physician + flag = physician_erudite_herbalist + } + new_character = { + remove_trait = mystic + remove_trait = scholar + remove_trait = socializer + remove_trait = gamer + remove_trait = hedonist + remove_trait = duelist + remove_trait = hunter + remove_trait = strategist + remove_trait = administrator + remove_trait = architect + remove_trait = schemer + remove_trait = impaler + remove_trait = seducer + remove_trait = seductress + remove_trait = theologian + if = { + limit = { + religion_group = muslim + } + remove_trait = scholar + add_trait = mutazilite + } + if = { + limit = { + religion_group = indian_group + } + add_trait = brahmin + character_event = { id = RoI.30121 } + } + random_list = { # Is the Physician a Quack? + 90 = { + } + 10 = { + set_character_flag = physician_is_quack + } + } + save_event_target_as = recruited_physician_target + character_event = { id = RIP.11052 } + } + } + } + } + 5 = { # Pagan Mystic (Mystic) + modifier = { + factor = 0 + AND = { + has_character_flag = got_physician_pagan_mystic + NOT = { had_character_flag = { flag = got_physician_pagan_mystic days = 3650 } } + } + } + modifier = { + factor = 0 + religion_group = pagan_group + } + random_list = { + 50 = { # Tengri Mystic + modifier = { + factor = 0 + NOR = { + capital_scope = { + region = world_india + } + capital_scope = { + region = world_steppe + } + capital_scope = { + region = world_asia_minor + } + capital_scope = { + region = world_persia + } + } + } + create_character = { + culture = cuman + religion = tengri_pagan + dynasty = none + age = 33 + random_traits = yes + female = no + attributes = { + learning = 5 + } + health = 6 + trait = martial_cleric + trait = mystic + trait = zealous + flag = is_court_physician + flag = physician_pagan_mystic + flag = ai_flag_refuse_conversion + } + new_character = { + remove_trait = cynical + remove_trait = scholar + remove_trait = socializer + remove_trait = gamer + remove_trait = hedonist + remove_trait = duelist + remove_trait = hunter + remove_trait = strategist + remove_trait = administrator + remove_trait = architect + remove_trait = gardener + remove_trait = schemer + remove_trait = impaler + remove_trait = seducer + remove_trait = seductress + remove_trait = theologian + random_list = { # Is the Physician a Quack? + 90 = { + } + 10 = { + set_character_flag = physician_is_quack + } + } + save_event_target_as = recruited_physician_target + character_event = { id = RIP.11052 } + } + } + 50 = { # Slavic Mystic + modifier = { + factor = 0 + NOR = { + capital_scope = { + region = world_europe_east + } + capital_scope = { + region = world_europe_south_east + } + capital_scope = { + region = world_asia_minor + } + } + } + create_character = { + culture = croatian + religion = slavic_pagan + dynasty = none + age = 33 + random_traits = yes + female = no + attributes = { + learning = 5 + } + health = 6 + trait = martial_cleric + trait = mystic + trait = zealous + flag = is_court_physician + flag = physician_pagan_mystic + flag = ai_flag_refuse_conversion + } + new_character = { + remove_trait = cynical + remove_trait = scholar + remove_trait = socializer + remove_trait = gamer + remove_trait = hedonist + remove_trait = duelist + remove_trait = hunter + remove_trait = strategist + remove_trait = administrator + remove_trait = architect + remove_trait = gardener + remove_trait = schemer + remove_trait = impaler + remove_trait = seducer + remove_trait = seductress + remove_trait = theologian + random_list = { # Is the Physician a Quack? + 90 = { + } + 10 = { + set_character_flag = physician_is_quack + } + } + save_event_target_as = recruited_physician_target + character_event = { id = RIP.11052 } + } + } + 50 = { # Norse Mystic + modifier = { + factor = 0 + NOR = { + capital_scope = { + region = world_europe_north + } + capital_scope = { + region = world_europe_west + } + capital_scope = { + region = world_europe_south + } + } + } + create_character = { + culture = norse + religion = norse_pagan + dynasty = none + age = 33 + random_traits = yes + female = no + attributes = { + learning = 5 + } + health = 6 + trait = martial_cleric + trait = mystic + trait = zealous + flag = is_court_physician + flag = physician_pagan_mystic + flag = ai_flag_refuse_conversion + } + new_character = { + remove_trait = cynical + remove_trait = scholar + remove_trait = socializer + remove_trait = gamer + remove_trait = hedonist + remove_trait = duelist + remove_trait = hunter + remove_trait = strategist + remove_trait = administrator + remove_trait = architect + remove_trait = gardener + remove_trait = schemer + remove_trait = impaler + remove_trait = seducer + remove_trait = seductress + remove_trait = theologian + random_list = { # Is the Physician a Quack? + 90 = { + } + 10 = { + set_character_flag = physician_is_quack + } + } + save_event_target_as = recruited_physician_target + character_event = { id = RIP.11052 } + } + } + 50 = { # African Mystic + modifier = { + factor = 0 + NOR = { + capital_scope = { + region = world_africa + } + capital_scope = { + region = world_middle_east + } + } + } + create_character = { + culture = manden + religion = west_african_pagan + dynasty = none + age = 33 + random_traits = yes + female = no + attributes = { + learning = 5 + } + health = 6 + trait = martial_cleric + trait = mystic + trait = zealous + flag = is_court_physician + flag = physician_pagan_mystic + flag = ai_flag_refuse_conversion + } + new_character = { + remove_trait = cynical + remove_trait = scholar + remove_trait = socializer + remove_trait = gamer + remove_trait = hedonist + remove_trait = duelist + remove_trait = hunter + remove_trait = strategist + remove_trait = administrator + remove_trait = architect + remove_trait = gardener + remove_trait = schemer + remove_trait = impaler + remove_trait = seducer + remove_trait = seductress + remove_trait = theologian + random_list = { # Is the Physician a Quack? + 90 = { + } + 10 = { + set_character_flag = physician_is_quack + } + } + save_event_target_as = recruited_physician_target + character_event = { id = RIP.11052 } + } + } + } + } + 5 = { # Insane Zealot (Scholar) + modifier = { + factor = 0 + AND = { + has_character_flag = got_physician_insane_zealot + NOT = { had_character_flag = { flag = got_physician_insane_zealot days = 3650 } } + } + } + modifier = { + factor = 0 + NOT = { + any_realm_province = { + any_province_holding = { + holding_type = temple + } + } + } + } + any_realm_province = { + limit = { + any_province_holding = { + holding_type = temple + } + } + random_province_holding = { + limit = { + holding_type = temple + } + save_event_target_as = zealot_temple_target + } + } + create_character = { + religion = ROOT + culture = ROOT + dynasty = none + age = 54 + random_traits = yes + female = no + attributes = { + learning = 2 + } + health = 6 + trait = mastermind_theologian + trait = scholar + trait = zealous + trait = cruel + trait = possessed + trait = stubborn + flag = is_court_physician + flag = physician_insane_zealot + } + new_character = { + remove_trait = cynical + remove_trait = kind + remove_trait = mystic + remove_trait = socializer + remove_trait = gamer + remove_trait = hedonist + remove_trait = duelist + remove_trait = hunter + remove_trait = strategist + remove_trait = administrator + remove_trait = architect + remove_trait = gardener + remove_trait = schemer + remove_trait = impaler + remove_trait = seducer + remove_trait = seductress + remove_trait = theologian + random_list = { # Random chance to add Physician + 50 = { + add_trait = physician + change_learning = -2 + } + 50 = { + + } + } + if = { + limit = { + religion_group = christian + } + add_trait = monk + } + if = { + limit = { + religion_group = muslim + } + remove_trait = scholar + add_trait = mutazilite + } + if = { + limit = { + religion_group = indian_group + } + add_trait = brahmin + character_event = { id = RoI.30121 } + } + random_list = { # Is the Physician a Quack? + 90 = { + } + 10 = { + set_character_flag = physician_is_quack + } + } + save_event_target_as = recruited_physician_target + character_event = { id = RIP.11052 } + } + } + 5 = { # Well-Traveled Pilgrim (Mystic) + modifier = { + factor = 0 + AND = { + has_character_flag = got_physician_well_traveled_pilgrim + NOT = { had_character_flag = { flag = got_physician_well_traveled_pilgrim days = 3650 } } + } + } + create_character = { + religion = ROOT + culture = ROOT + dynasty = none + age = 41 + random_traits = yes + female = no + attributes = { + learning = 6 + } + health = 6 + trait = scholarly_theologian + trait = mystic + trait = pilgrim + trait = scarred + trait = humble + flag = is_court_physician + flag = physician_well_traveled_pilgrim + } + new_character = { + remove_trait = scholar + remove_trait = proud + remove_trait = socializer + remove_trait = gamer + remove_trait = hedonist + remove_trait = duelist + remove_trait = hunter + remove_trait = strategist + remove_trait = administrator + remove_trait = architect + remove_trait = gardener + remove_trait = schemer + remove_trait = impaler + remove_trait = seducer + remove_trait = seductress + remove_trait = theologian + random_list = { # Random chance to add Physician + 50 = { + add_trait = physician + change_learning = -2 + } + 50 = { + + } + } + if = { + limit = { + religion_group = christian + } + add_trait = monk + } + if = { + limit = { + religion_group = muslim + } + remove_trait = pilgrim + add_trait = hajjaj + } + if = { + limit = { + religion_group = indian_group + } + add_trait = brahmin + character_event = { id = RoI.30121 } + } + random_list = { # Is the Physician a Quack? + 90 = { + } + 10 = { + set_character_flag = physician_is_quack + } + } + save_event_target_as = recruited_physician_target + character_event = { id = RIP.11052 } + } + } + 5 = { # Student of Medicine (Physician) + modifier = { + factor = 0 + AND = { + has_character_flag = got_physician_student_of_medicine + NOT = { had_character_flag = { flag = got_physician_student_of_medicine days = 3650 } } + } + } + modifier = { + factor = 0 + NOT = { + any_realm_province = { + any_province_holding = { + holding_type = city + } + } + } + } + any_realm_province = { + limit = { + any_province_holding = { + holding_type = city + } + } + random_province_holding = { + limit = { + holding_type = city + } + save_event_target_as = student_city_target + } + } + create_character = { + religion = ROOT + culture = ROOT + dynasty = none + age = 19 + random_traits = yes + female = no + attributes = { + learning = 2 + } + health = 6 + trait = martial_cleric + trait = physician + flag = is_court_physician + flag = physician_student_of_medicine + } + new_character = { + remove_trait = mystic + remove_trait = scholar + remove_trait = socializer + remove_trait = gamer + remove_trait = hedonist + remove_trait = duelist + remove_trait = hunter + remove_trait = strategist + remove_trait = administrator + remove_trait = architect + remove_trait = gardener + remove_trait = schemer + remove_trait = impaler + remove_trait = seducer + remove_trait = seductress + remove_trait = theologian + random_list = { # Flavor Randomization + 80 = { + # Nothing + } + 10 = { + add_trait = legit_bastard + } + 10 = { + add_trait = drunkard + } + } + if = { + limit = { + religion_group = muslim + } + remove_trait = scholar + add_trait = mutazilite + } + if = { + limit = { + religion_group = indian_group + } + add_trait = brahmin + character_event = { id = RoI.30121 } + } + random_list = { # Is the Physician a Quack? + 90 = { + } + 10 = { + set_character_flag = physician_is_quack + } + } + save_event_target_as = recruited_physician_target + character_event = { id = RIP.11052 } + } + } + 4 = { # Blind Miracle Worker (Mystic) + modifier = { + factor = 0 + AND = { + has_character_flag = got_physician_blind_miracle_worker + NOT = { had_character_flag = { flag = got_physician_blind_miracle_worker days = 3650 } } + } + } + random_list = { + 75 = { # Same Religion & Culture as ROOT + create_character = { + religion = ROOT + culture = ROOT + dynasty = none + age = 37 + random_traits = yes + female = no + attributes = { + learning = 15 + } + health = 6 + trait = martial_cleric + trait = mystic + trait = blinded + flag = is_court_physician + flag = physician_blind_miracle_worker + } + new_character = { + remove_trait = scholar + remove_trait = socializer + remove_trait = gamer + remove_trait = hedonist + remove_trait = duelist + remove_trait = hunter + remove_trait = strategist + remove_trait = administrator + remove_trait = architect + remove_trait = gardener + remove_trait = schemer + remove_trait = impaler + remove_trait = seducer + remove_trait = seductress + remove_trait = theologian + give_nickname = nick_the_blind + if = { + limit = { + religion_group = indian_group + } + add_trait = brahmin + character_event = { id = RoI.30121 } + } + random_list = { # Is the Physician a Quack? + 90 = { + } + 10 = { + set_character_flag = physician_is_quack + } + } + save_event_target_as = recruited_physician_target + character_event = { id = RIP.11052 } + } + } + 25 = { # Jewish Religion & Culture (Ashkenazi) + modifier = { + factor = 0 + OR = { + has_character_modifier = expelled_jewish + capital_scope = { + region = world_europe_west_iberia + } + } + } + modifier = { + factor = 0 + NOR = { + religion_group = christian + religion_group = muslim + religion_group = zoroastrian_group + religion_group = jewish_group + culture = khazar + } + } + create_character = { + culture = ashkenazi + religion = jewish + dynasty = culture + age = 37 + random_traits = yes + female = no + attributes = { + learning = 10 + } + health = 6 + trait = martial_cleric + trait = mystic + trait = blinded + flag = is_court_physician + flag = physician_blind_miracle_worker + } + new_character = { + remove_trait = scholar + remove_trait = socializer + remove_trait = gamer + remove_trait = hedonist + remove_trait = duelist + remove_trait = hunter + remove_trait = strategist + remove_trait = administrator + remove_trait = architect + remove_trait = gardener + remove_trait = schemer + remove_trait = impaler + remove_trait = seducer + remove_trait = seductress + remove_trait = theologian + give_nickname = nick_the_blind + random_list = { # Randomize Religion + 90 = { + religion = jewish + } + 5 = { + religion = samaritan + } + 5 = { + religion = karaite + } + } + random_list = { # Is the Physician a Quack? + 90 = { + } + 10 = { + set_character_flag = physician_is_quack + } + } + save_event_target_as = recruited_physician_target + character_event = { id = RIP.11052 } + } + } + 25 = { # Jewish Religion & Culture (Sephardi) + modifier = { + factor = 0 + OR = { + has_character_modifier = expelled_jewish + NOT = { + capital_scope = { + region = world_europe_west_iberia + } + } + } + } + modifier = { + factor = 0 + NOR = { + religion_group = christian + religion_group = muslim + religion_group = zoroastrian_group + religion_group = jewish_group + culture = khazar + } + } + create_character = { + culture = sephardi + religion = jewish + dynasty = culture + age = 37 + random_traits = yes + female = no + attributes = { + learning = 10 + } + health = 6 + trait = martial_cleric + trait = mystic + trait = blinded + flag = is_court_physician + flag = physician_blind_miracle_worker + } + new_character = { + remove_trait = scholar + remove_trait = socializer + remove_trait = gamer + remove_trait = hedonist + remove_trait = duelist + remove_trait = hunter + remove_trait = strategist + remove_trait = administrator + remove_trait = architect + remove_trait = gardener + remove_trait = schemer + remove_trait = impaler + remove_trait = seducer + remove_trait = seductress + remove_trait = theologian + give_nickname = nick_the_blind + random_list = { # Randomize Religion + 90 = { + religion = jewish + } + 5 = { + religion = samaritan + } + 5 = { + religion = karaite + } + } + random_list = { # Is the Physician a Quack? + 90 = { + } + 10 = { + set_character_flag = physician_is_quack + } + } + save_event_target_as = recruited_physician_target + character_event = { id = RIP.11052 } + } + } + } + } + 4 = { # Field Surgeon (Physician) + modifier = { + factor = 0 + AND = { + has_character_flag = got_physician_field_surgeon + NOT = { had_character_flag = { flag = got_physician_field_surgeon days = 3650 } } + } + } + create_character = { + religion = ROOT + culture = ROOT + dynasty = none + age = 30 + random_traits = yes + female = no + attributes = { + martial = 8 + learning = 15 + } + health = 6 + trait = tough_soldier + trait = physician + trait = scarred + trait = robust + trait = wroth + trait = cruel + flag = is_court_physician + flag = physician_field_surgeon + } + new_character = { + remove_trait = mystic + remove_trait = scholar + remove_trait = socializer + remove_trait = gamer + remove_trait = hedonist + remove_trait = duelist + remove_trait = hunter + remove_trait = strategist + remove_trait = administrator + remove_trait = architect + remove_trait = gardener + remove_trait = schemer + remove_trait = impaler + remove_trait = seducer + remove_trait = seductress + remove_trait = theologian + remove_trait = weak + remove_trait = feeble + remove_trait = kind + remove_trait = patient + random_list = { # Flavor Randomization + 20 = { + # Nothing + } + 20 = { + add_trait = one_handed + } + 20 = { + add_trait = one_eyed + } + 20 = { + add_trait = legit_bastard + } + 20 = { + add_trait = drunkard + } + } + if = { + limit = { + religion_group = muslim + } + remove_trait = scholar + add_trait = mutazilite + } + if = { + limit = { + religion_group = indian_group + } + add_trait = brahmin + character_event = { id = RoI.30121 } + } + random_list = { # Is the Physician a Quack? + 90 = { + } + 10 = { + set_character_flag = physician_is_quack + } + } + save_event_target_as = recruited_physician_target + character_event = { id = RIP.11052 } + } + } + 5 = { # Schooled Eunuch (Physician) + modifier = { + factor = 0 + AND = { + has_character_flag = got_physician_schooled_eunuch + NOT = { had_character_flag = { flag = got_physician_schooled_eunuch days = 3650 } } + } + } + create_character = { + religion = ROOT + culture = ROOT + dynasty = none + age = 26 + random_traits = yes + female = no + attributes = { + learning = 10 + } + health = 6 + trait = flamboyant_schemer + trait = shrewd + trait = eunuch + trait = physician + trait = gluttonous + flag = is_court_physician + flag = physician_schooled_eunuch + flag = ai_flag_refuse_conversion + } + new_character = { + remove_trait = mystic + remove_trait = scholar + remove_trait = socializer + remove_trait = gamer + remove_trait = hedonist + remove_trait = duelist + remove_trait = hunter + remove_trait = strategist + remove_trait = administrator + remove_trait = architect + remove_trait = gardener + remove_trait = schemer + remove_trait = impaler + remove_trait = seducer + remove_trait = seductress + remove_trait = theologian + remove_trait = temperate + remove_trait = dull + remove_trait = slow + remove_trait = imbecile + if = { + limit = { + religion_group = muslim + } + remove_trait = scholar + add_trait = mutazilite + } + if = { + limit = { + religion_group = indian_group + } + add_trait = brahmin + character_event = { id = RoI.30121 } + } + random_list = { # Is the Physician a Quack? + 90 = { + } + 10 = { + set_character_flag = physician_is_quack + } + } + save_event_target_as = recruited_physician_target + character_event = { id = RIP.11052 } + } + } + 5 = { # Pus-Sucking Nun (Physician) + modifier = { + factor = 0 + AND = { + has_character_flag = got_physician_pus_sucking_nun + NOT = { had_character_flag = { flag = got_physician_pus_sucking_nun days = 3650 } } + } + } + modifier = { + factor = 0 + NOT = { religion_group = christian } + } + modifier = { + factor = 0 + NOT = { + any_realm_province = { + any_province_holding = { + holding_type = temple + } + } + } + } + any_realm_province = { + limit = { + any_province_holding = { + holding_type = temple + } + } + random_province_holding = { + limit = { + holding_type = temple + } + save_event_target_as = nun_temple_target + } + } + create_character = { + religion = ROOT + culture = ROOT + dynasty = none + age = 41 + random_traits = yes + female = yes + attributes = { + learning = 6 + } + health = 10 + trait = scholarly_theologian + trait = celibate + trait = nun + trait = physician + trait = kind + flag = is_court_physician + flag = physician_pus_sucking_nun + flag = ai_flag_refuse_conversion + flag = immune_bubonic_plague + flag = immune_smallpox + } + new_character = { + remove_trait = mystic + remove_trait = physician + remove_trait = socializer + remove_trait = gamer + remove_trait = hedonist + remove_trait = duelist + remove_trait = hunter + remove_trait = strategist + remove_trait = administrator + remove_trait = architect + remove_trait = gardener + remove_trait = schemer + remove_trait = impaler + remove_trait = seducer + remove_trait = seductress + remove_trait = theologian + remove_trait = cruel + remove_trait = lustful + give_nickname = nick_the_holy + random_list = { # Is the Physician a Quack? + 90 = { + } + 10 = { + set_character_flag = physician_is_quack + } + } + save_event_target_as = recruited_physician_target + character_event = { id = RIP.11052 } + } + } + 7 = { # Witch (Mystic) + modifier = { + factor = 0 + AND = { + has_character_flag = got_physician_witch + NOT = { had_character_flag = { flag = got_physician_witch days = 3650 } } + } + } + random_list = { + 50 = { # Same Religion & Culture as ROOT + Attractive + create_character = { + religion = ROOT + culture = ROOT + dynasty = none + age = 21 + random_traits = yes + female = yes + attributes = { + learning = 12 + intrigue = 6 + } + health = 6 + trait = intricate_webweaver + trait = mystic + trait = fair + flag = is_court_physician + flag = physician_witch + } + new_character = { + remove_trait = scholar + remove_trait = socializer + remove_trait = gamer + remove_trait = hedonist + remove_trait = duelist + remove_trait = hunter + remove_trait = strategist + remove_trait = administrator + remove_trait = architect + remove_trait = gardener + remove_trait = schemer + remove_trait = impaler + remove_trait = seducer + remove_trait = seductress + remove_trait = theologian + remove_trait = ugly + random_list = { # Random chance to add Physician + 10 = { + add_trait = physician + change_learning = -2 + } + 90 = { + + } + } + if = { + limit = { + religion_group = indian_group + } + add_trait = brahmin + character_event = { id = RoI.30121 } + } + random_list = { # Is the Physician a Quack? + 90 = { + } + 10 = { + set_character_flag = physician_is_quack + } + } + save_event_target_as = recruited_physician_target + character_event = { id = RIP.11052 } + } + } + 50 = { # Same Religion & Culture as ROOT + Disfigured + create_character = { + religion = ROOT + culture = ROOT + dynasty = none + age = 53 + random_traits = yes + female = yes + attributes = { + learning = 8 + intrigue = 6 + } + health = 6 + trait = intricate_webweaver + trait = mystic + trait = disfigured + flag = is_court_physician + flag = physician_witch + } + new_character = { + remove_trait = scholar + remove_trait = socializer + remove_trait = gamer + remove_trait = hedonist + remove_trait = duelist + remove_trait = hunter + remove_trait = strategist + remove_trait = administrator + remove_trait = architect + remove_trait = gardener + remove_trait = schemer + remove_trait = impaler + remove_trait = seducer + remove_trait = seductress + remove_trait = theologian + remove_trait = fair + random_list = { # Random chance to add Physician + 50 = { + add_trait = physician + change_learning = -2 + } + 50 = { + + } + } + if = { + limit = { + religion_group = indian_group + } + add_trait = brahmin + character_event = { id = RoI.30121 } + } + random_list = { # Is the Physician a Quack? + 90 = { + } + 10 = { + set_character_flag = physician_is_quack + } + } + save_event_target_as = recruited_physician_target + character_event = { id = RIP.11052 } + } + } + } + } + 4 = { # Horse M.D. + modifier = { + factor = 0 + AND = { + has_character_flag = got_physician_horse_md + NOT = { had_character_flag = { flag = got_physician_horse_md days = 3650 } } + } + } + modifier = { + factor = 0 + NOT = { trait = lunatic } + } + modifier = { + factor = 0 + AND = { + ai = yes + NOT = { + has_game_rule = { + name = supernatural_events + value = unrestricted + } + } + } + } + modifier = { + factor = 0 + has_game_rule = { + name = supernatural_events + value = off + } + } + create_character = { + name = "Horse M.D." + age = 16 + religion = ROOT + culture = horse + race = horse + dynasty = NONE + trait = horse + trait = imbecile + trait = stubborn + trait = fair + trait = strong + flag = is_court_physician + flag = physician_horse_md + } + new_character = { + if = { + limit = { + religion_group = indian_group + } + add_trait = brahmin + character_event = { id = RoI.30121 } + } + save_event_target_as = recruited_physician_target + character_event = { id = RIP.11052 } + } + } + + 4 = { # Travelling Nestorian (High Learning) + modifier = { + factor = 0 + AND = { + has_character_flag = got_physician_travelling_nestorian + NOT = { had_character_flag = { flag = got_physician_travelling_nestorian days = 3650 } } + } + } + modifier = { + factor = 0 + NOR = { + capital_scope = { + region = world_india + } + capital_scope = { + region = world_steppe + } + capital_scope = { + region = world_persia + } + capital_scope = { + region = world_middle_east_jerusalem + } + capital_scope = { + region = world_middle_east_arabia + } + } + } + create_character = { + culture = persian + religion = nestorian + dynasty = none + age = 42 + random_traits = yes + female = no + attributes = { + learning = 8 + } + health = 6 + trait = scholarly_theologian + trait = theologian + trait = zealous + flag = is_court_physician + flag = physician_travelling_nestorian + flag = ai_flag_refuse_conversion + } + new_character = { + remove_trait = cynical + remove_trait = scholar + remove_trait = socializer + remove_trait = gamer + remove_trait = hedonist + remove_trait = duelist + remove_trait = hunter + remove_trait = strategist + remove_trait = administrator + remove_trait = architect + remove_trait = gardener + remove_trait = schemer + remove_trait = impaler + remove_trait = seducer + remove_trait = seductress + remove_trait = mystic + random_list = { # Is the Physician a Quack? + 90 = { + } + 10 = { + set_character_flag = physician_is_quack + } + } + save_event_target_as = recruited_physician_target + character_event = { id = RIP.11052 } + } + } + + 4 = { # Mazdan Doctor (Physician) + modifier = { + factor = 0 + AND = { + has_character_flag = got_physician_mazdan_doctor + NOT = { had_character_flag = { flag = got_physician_mazdan_doctor days = 3650 } } + } + } + modifier = { + factor = 0 + NOR = { + capital_scope = { + region = world_india + } + capital_scope = { + region = world_steppe + } + capital_scope = { + region = world_persia + } + capital_scope = { + region = world_middle_east_jerusalem + } + capital_scope = { + region = world_middle_east_arabia + } + } + } + create_character = { + culture = persian + religion = zoroastrian + dynasty = none + age = 51 + random_traits = yes + female = no + attributes = { + learning = 7 + } + health = 6 + trait = scholarly_theologian + trait = physician + trait = erudite + flag = is_court_physician + flag = physician_mazdan_doctor + flag = ai_flag_refuse_conversion + } + new_character = { + remove_trait = scholar + remove_trait = socializer + remove_trait = gamer + remove_trait = hedonist + remove_trait = duelist + remove_trait = hunter + remove_trait = strategist + remove_trait = administrator + remove_trait = architect + remove_trait = gardener + remove_trait = schemer + remove_trait = impaler + remove_trait = seducer + remove_trait = seductress + remove_trait = mystic + remove_trait = theologian + random_list = { # Is the Physician a Quack? + 90 = { + } + 10 = { + set_character_flag = physician_is_quack + } + } + save_event_target_as = recruited_physician_target + character_event = { id = RIP.11052 } + } + } + + 4 = { # Manichean Merchant + modifier = { + factor = 0 + AND = { + has_character_flag = got_physician_manichean_merchant + NOT = { had_character_flag = { flag = got_physician_manichean_merchant days = 3650 } } + } + } + modifier = { + factor = 0 + NOT = { + any_realm_province = { + trade_route = silk_road + } + } + } + modifier = { + factor = 0 + religion_group = zoroastrian_group + } + create_character = { + culture = khitan + religion = manichean + dynasty = none + age = 38 + random_traits = yes + female = no + attributes = { + learning = 6 + } + health = 6 + trait = thrifty_clerk + flag = is_court_physician + flag = physician_manichean_merchant + flag = ai_flag_refuse_conversion + } + new_character = { + remove_trait = scholar + remove_trait = socializer + remove_trait = gamer + remove_trait = hedonist + remove_trait = duelist + remove_trait = hunter + remove_trait = strategist + remove_trait = administrator + remove_trait = architect + remove_trait = gardener + remove_trait = schemer + remove_trait = impaler + remove_trait = seducer + remove_trait = seductress + remove_trait = mystic + remove_trait = theologian + random_list = { # Is the Physician a Quack? + 90 = { + } + 10 = { + set_character_flag = physician_is_quack + } + } + save_event_target_as = recruited_physician_target + character_event = { id = RIP.11052 } + } + } + } + } +} + +# Court Physician ping +character_event = { + id = RIP.11052 + + hide_window = yes + + is_triggered_only = yes + + immediate = { + FROM = { character_event = { id = RIP.11053 } } + } +} + +# Notify player of Court Physician +character_event = { + id = RIP.11053 + picture = GFX_evt_bishop + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + desc = { + text = EVTDESC_RIP_11053_VILLAGE_DRUNKARD + picture = GFX_evt_drunk + trigger = { + event_target:recruited_physician_target = { has_character_flag = physician_village_drunkard } + } + } + + desc = { + text = EVTDESC_RIP_11053_SHIPS_PHYSICIAN + picture = GFX_evt_busy_trading_dock_republic + trigger = { + event_target:recruited_physician_target = { has_character_flag = physician_ships_physician } + } + } + + desc = { + text = EVTDESC_RIP_11053_WISE_DWARF + picture = GFX_evt_performing_experiments + trigger = { + event_target:recruited_physician_target = { has_character_flag = physician_wise_dwarf } + } + } + + desc = { + text = EVTDESC_RIP_11053_JEWISH_EXILE + picture = GFX_evt_jewish_market + trigger = { + event_target:recruited_physician_target = { has_character_flag = physician_jewish_exile } + } + } + + desc = { + text = EVTDESC_RIP_11053_CONDEMNED_SORCERER + picture = GFX_evt_heretic + trigger = { + event_target:recruited_physician_target = { has_character_flag = physician_condemned_sorcerer } + } + } + + desc = { + text = EVTDESC_RIP_11053_CYNICAL_CLERGYMAN + picture = GFX_evt_monk + trigger = { + event_target:recruited_physician_target = { has_character_flag = physician_cynical_clergyman } + } + } + + desc = { + text = EVTDESC_RIP_11053_CHINESE_DOCTOR + picture = GFX_evt_chinese_emissary + trigger = { + event_target:recruited_physician_target = { has_character_flag = physician_chinese_doctor } + } + } + + desc = { + text = EVTDESC_RIP_11053_ARAB_SCHOLAR + picture = GFX_evt_council_speaker + trigger = { + event_target:recruited_physician_target = { has_character_flag = physician_arab_scholar } + } + } + + desc = { + text = EVTDESC_RIP_11053_BELOVED_WISE_MAN + picture = GFX_evt_scientist + trigger = { + event_target:recruited_physician_target = { has_character_flag = physician_beloved_wise_man } + } + } + + desc = { + text = EVTDESC_RIP_11053_WANDERING_GENIUS + picture = GFX_evt_desert + trigger = { + event_target:recruited_physician_target = { has_character_flag = physician_wandering_genius } + } + } + + desc = { + text = EVTDESC_RIP_11053_ERUDITE_HERBALIST + picture = GFX_evt_wise_woman + trigger = { + event_target:recruited_physician_target = { has_character_flag = physician_erudite_herbalist } + } + } + + desc = { + text = EVTDESC_RIP_11053_PAGAN_MYSTIC + picture = GFX_evt_shaman + trigger = { + event_target:recruited_physician_target = { has_character_flag = physician_pagan_mystic } + } + } + + desc = { + text = EVTDESC_RIP_11053_INSANE_ZEALOT + picture = GFX_evt_experiments_failed + trigger = { + event_target:recruited_physician_target = { has_character_flag = physician_insane_zealot } + } + } + + desc = { + text = EVTDESC_RIP_11053_WELL_TRAVELLED_PILGRIM + picture = GFX_evt_pilgrims_epic_journey + trigger = { + event_target:recruited_physician_target = { has_character_flag = physician_well_traveled_pilgrim } + } + } + + desc = { + text = EVTDESC_RIP_11053_STUDENT_OF_MEDICINE + picture = GFX_evt_doctor_crazy_treatment + trigger = { + event_target:recruited_physician_target = { has_character_flag = physician_student_of_medicine } + } + } + + desc = { + text = EVTDESC_RIP_11053_BLIND_MIRACLE_WORKER + picture = GFX_evt_religious_exultation + trigger = { + event_target:recruited_physician_target = { has_character_flag = physician_blind_miracle_worker } + } + } + + desc = { + text = EVTDESC_RIP_11053_FIELD_SURGEON + picture = GFX_evt_bloody_tools + trigger = { + event_target:recruited_physician_target = { has_character_flag = physician_field_surgeon } + } + } + + desc = { + text = EVTDESC_RIP_11053_SCHOOLED_EUNUCH + picture = GFX_evt_feast + trigger = { + event_target:recruited_physician_target = { has_character_flag = physician_schooled_eunuch } + } + } + + desc = { + text = EVTDESC_RIP_11053_PUS_SUCKING_NUN + picture = GFX_evt_monastery_nuns + trigger = { + event_target:recruited_physician_target = { has_character_flag = physician_pus_sucking_nun } + } + } + + desc = { + text = EVTDESC_RIP_11053_WITCH + picture = GFX_evt_wise_woman + trigger = { + event_target:recruited_physician_target = { has_character_flag = physician_witch } + } + } + + desc = { + text = EVTDESC_RIP_11053_HORSE_MD + picture = GFX_evt_horse_friend + trigger = { + event_target:recruited_physician_target = { has_character_flag = physician_horse_md } + } + } + + desc = { + text = EVTDESC_RIP_11053_TRAVELLING_NESTORIAN + picture = GFX_evt_monk_muslim + trigger = { + event_target:recruited_physician_target = { has_character_flag = physician_travelling_nestorian } + } + } + + desc = { + text = EVTDESC_RIP_11053_MAZDAN_DOCTOR + picture = GFX_evt_council_arabic + trigger = { + event_target:recruited_physician_target = { has_character_flag = physician_mazdan_doctor } + } + } + + desc = { + text = EVTDESC_RIP_11053_MANICHEAN_MERCHANT + picture = GFX_evt_market + trigger = { + event_target:recruited_physician_target = { has_character_flag = physician_manichean_merchant } + } + } + + option = { + name = EVTOPTB_RIP_11053 + trigger = { + event_target:recruited_physician_target = { has_character_flag = physician_village_drunkard } + } + hidden_tooltip = { + set_character_flag = got_physician_village_drunkard + if = { + limit = { + any_courtier_or_vassal = { + liege = { character = ROOT } + has_minor_title = title_court_physician + } + } + any_courtier_or_vassal = { + limit = { + liege = { character = ROOT } + has_minor_title = title_court_physician + } + remove_title = title_court_physician + } + } + } + transfer_scaled_wealth = { + to = event_target:recruited_physician_target + min = 10 + value = 0.1 + } + event_target:recruited_physician_target = { + opinion = { + modifier = opinion_glad + who = ROOT + years = 5 + } + give_minor_title = title_court_physician + } + } + + option = { + name = EVTOPTC_RIP_11053 + trigger = { + event_target:recruited_physician_target = { has_character_flag = physician_ships_physician } + } + hidden_tooltip = { + set_character_flag = got_physician_ships_physician + if = { + limit = { + any_courtier_or_vassal = { + liege = { character = ROOT } + has_minor_title = title_court_physician + } + } + any_courtier_or_vassal = { + limit = { + liege = { character = ROOT } + has_minor_title = title_court_physician + } + remove_title = title_court_physician + } + } + } + transfer_scaled_wealth = { + to = event_target:recruited_physician_target + min = 10 + value = 0.3 + } + event_target:recruited_physician_target = { + opinion = { + modifier = opinion_glad + who = ROOT + years = 5 + } + give_minor_title = title_court_physician + } + } + + option = { + name = EVTOPTD_RIP_11053 + trigger = { + event_target:recruited_physician_target = { has_character_flag = physician_wise_dwarf } + } + hidden_tooltip = { + set_character_flag = got_physician_wise_dwarf + if = { + limit = { + any_courtier_or_vassal = { + liege = { character = ROOT } + has_minor_title = title_court_physician + } + } + any_courtier_or_vassal = { + limit = { + liege = { character = ROOT } + has_minor_title = title_court_physician + } + remove_title = title_court_physician + } + } + } + piety = -25 + transfer_scaled_wealth = { + to = event_target:recruited_physician_target + min = 10 + value = 0.05 + } + event_target:recruited_physician_target = { + opinion = { + modifier = opinion_glad + who = ROOT + years = 5 + } + give_minor_title = title_court_physician + } + } + + option = { + name = EVTOPTE_RIP_11053 + trigger = { + event_target:recruited_physician_target = { has_character_flag = physician_jewish_exile } + } + hidden_tooltip = { + set_character_flag = got_physician_jewish_exile + if = { + limit = { + any_courtier_or_vassal = { + liege = { character = ROOT } + has_minor_title = title_court_physician + } + } + any_courtier_or_vassal = { + limit = { + liege = { character = ROOT } + has_minor_title = title_court_physician + } + remove_title = title_court_physician + } + } + } + transfer_scaled_wealth = { + to = event_target:recruited_physician_target + min = 10 + value = 0.2 + } + event_target:recruited_physician_target = { + opinion = { + modifier = opinion_glad + who = ROOT + years = 5 + } + give_minor_title = title_court_physician + } + } + + option = { + name = EVTOPTF_RIP_11053 + trigger = { + event_target:recruited_physician_target = { has_character_flag = physician_condemned_sorcerer } + } + hidden_tooltip = { + set_character_flag = got_physician_condemned_sorcerer + if = { + limit = { + any_courtier_or_vassal = { + liege = { character = ROOT } + has_minor_title = title_court_physician + } + } + any_courtier_or_vassal = { + limit = { + liege = { character = ROOT } + has_minor_title = title_court_physician + } + remove_title = title_court_physician + } + } + } + prestige = -25 + piety = -25 + event_target:recruited_physician_target = { + opinion = { + modifier = opinion_very_grateful + who = ROOT + years = 5 + } + give_minor_title = title_court_physician + } + } + + option = { + name = EVTOPTG_RIP_11053 + trigger = { + event_target:recruited_physician_target = { has_character_flag = physician_cynical_clergyman } + } + hidden_tooltip = { + set_character_flag = got_physician_cynical_clergyman + if = { + limit = { + any_courtier_or_vassal = { + liege = { character = ROOT } + has_minor_title = title_court_physician + } + } + any_courtier_or_vassal = { + limit = { + liege = { character = ROOT } + has_minor_title = title_court_physician + } + remove_title = title_court_physician + } + } + } + add_character_modifier = { + name = annoyed_religious + years = 1 + } + event_target:recruited_physician_target = { + opinion = { + modifier = opinion_glad + who = ROOT + years = 5 + } + give_minor_title = title_court_physician + } + } + + option = { + name = EVTOPTH_RIP_11053 + trigger = { + event_target:recruited_physician_target = { has_character_flag = physician_chinese_doctor } + } + hidden_tooltip = { + set_character_flag = got_physician_chinese_doctor + if = { + limit = { + any_courtier_or_vassal = { + liege = { character = ROOT } + has_minor_title = title_court_physician + } + } + any_courtier_or_vassal = { + limit = { + liege = { character = ROOT } + has_minor_title = title_court_physician + } + remove_title = title_court_physician + } + } + } + transfer_scaled_wealth = { + to = event_target:recruited_physician_target + min = 10 + value = 0.2 + } + event_target:recruited_physician_target = { + opinion = { + modifier = opinion_glad + who = ROOT + years = 5 + } + give_minor_title = title_court_physician + } + } + + option = { + name = EVTOPTI_RIP_11053 + trigger = { + event_target:recruited_physician_target = { has_character_flag = physician_arab_scholar } + } + hidden_tooltip = { + set_character_flag = got_physician_arab_scholar + if = { + limit = { + any_courtier_or_vassal = { + liege = { character = ROOT } + has_minor_title = title_court_physician + } + } + any_courtier_or_vassal = { + limit = { + liege = { character = ROOT } + has_minor_title = title_court_physician + } + remove_title = title_court_physician + } + } + } + transfer_scaled_wealth = { + to = event_target:recruited_physician_target + min = 10 + value = 0.15 + } + if = { + limit = { + NOT = { + religion_group = muslim + } + } + add_character_modifier = { + name = annoyed_religious + years = 1 + } + } + event_target:recruited_physician_target = { + opinion = { + modifier = opinion_glad + who = ROOT + years = 5 + } + give_minor_title = title_court_physician + } + } + + option = { + name = EVTOPTJ_RIP_11053 + trigger = { + event_target:recruited_physician_target = { has_character_flag = physician_beloved_wise_man } + } + hidden_tooltip = { + set_character_flag = got_physician_beloved_wise_man + if = { + limit = { + any_courtier_or_vassal = { + liege = { character = ROOT } + has_minor_title = title_court_physician + } + } + any_courtier_or_vassal = { + limit = { + liege = { character = ROOT } + has_minor_title = title_court_physician + } + remove_title = title_court_physician + } + } + } + scaled_wealth = { value = -0.2 min = -10 } + event_target:recruited_physician_target = { + opinion = { + modifier = opinion_glad + who = ROOT + years = 5 + } + give_minor_title = title_court_physician + } + } + + option = { + name = EVTOPTK_RIP_11053 + trigger = { + event_target:recruited_physician_target = { has_character_flag = physician_wandering_genius } + } + hidden_tooltip = { + set_character_flag = got_physician_wandering_genius + if = { + limit = { + any_courtier_or_vassal = { + liege = { character = ROOT } + has_minor_title = title_court_physician + } + } + any_courtier_or_vassal = { + limit = { + liege = { character = ROOT } + has_minor_title = title_court_physician + } + remove_title = title_court_physician + } + } + } + transfer_scaled_wealth = { + to = event_target:recruited_physician_target + min = 10 + value = 0.35 + } + event_target:recruited_physician_target = { + opinion = { + modifier = opinion_glad + who = ROOT + years = 5 + } + give_minor_title = title_court_physician + } + } + + option = { + name = EVTOPTL_RIP_11053 + trigger = { + event_target:recruited_physician_target = { has_character_flag = physician_erudite_herbalist } + } + hidden_tooltip = { + set_character_flag = got_physician_erudite_herbalist + if = { + limit = { + any_courtier_or_vassal = { + liege = { character = ROOT } + has_minor_title = title_court_physician + } + } + any_courtier_or_vassal = { + limit = { + liege = { character = ROOT } + has_minor_title = title_court_physician + } + remove_title = title_court_physician + } + } + } + transfer_scaled_wealth = { + to = event_target:recruited_physician_target + min = 10 + value = 0.05 + } + event_target:recruited_physician_target = { + opinion = { + modifier = opinion_glad + who = ROOT + years = 5 + } + give_minor_title = title_court_physician + } + } + + option = { + name = EVTOPTM_RIP_11053 + trigger = { + event_target:recruited_physician_target = { has_character_flag = physician_pagan_mystic } + } + hidden_tooltip = { + set_character_flag = got_physician_pagan_mystic + if = { + limit = { + any_courtier_or_vassal = { + liege = { character = ROOT } + has_minor_title = title_court_physician + } + } + any_courtier_or_vassal = { + limit = { + liege = { character = ROOT } + has_minor_title = title_court_physician + } + remove_title = title_court_physician + } + } + } + piety = -25 + transfer_scaled_wealth = { + to = event_target:recruited_physician_target + min = 10 + value = 0.05 + } + event_target:recruited_physician_target = { + opinion = { + modifier = opinion_glad + who = ROOT + years = 5 + } + give_minor_title = title_court_physician + } + } + + option = { + name = EVTOPTN_RIP_11053 + trigger = { + event_target:recruited_physician_target = { has_character_flag = physician_insane_zealot } + } + hidden_tooltip = { + set_character_flag = got_physician_insane_zealot + if = { + limit = { + any_courtier_or_vassal = { + liege = { character = ROOT } + has_minor_title = title_court_physician + } + } + any_courtier_or_vassal = { + limit = { + liege = { character = ROOT } + has_minor_title = title_court_physician + } + remove_title = title_court_physician + } + } + } + piety = 50 + transfer_scaled_wealth = { + to = event_target:recruited_physician_target + min = 10 + value = 0.05 + } + event_target:recruited_physician_target = { + opinion = { + modifier = opinion_glad + who = ROOT + years = 5 + } + give_minor_title = title_court_physician + } + } + + option = { + name = EVTOPTO_RIP_11053 + trigger = { + event_target:recruited_physician_target = { has_character_flag = physician_well_traveled_pilgrim } + } + hidden_tooltip = { + set_character_flag = got_physician_well_traveled_pilgrim + if = { + limit = { + any_courtier_or_vassal = { + liege = { character = ROOT } + has_minor_title = title_court_physician + } + } + any_courtier_or_vassal = { + limit = { + liege = { character = ROOT } + has_minor_title = title_court_physician + } + remove_title = title_court_physician + } + } + } + transfer_scaled_wealth = { + to = event_target:recruited_physician_target + min = 10 + value = 0.15 + } + event_target:recruited_physician_target = { + opinion = { + modifier = opinion_glad + who = ROOT + years = 5 + } + give_minor_title = title_court_physician + } + } + + option = { + name = EVTOPTP_RIP_11053 + trigger = { + event_target:recruited_physician_target = { has_character_flag = physician_student_of_medicine } + } + hidden_tooltip = { + set_character_flag = got_physician_student_of_medicine + if = { + limit = { + any_courtier_or_vassal = { + liege = { character = ROOT } + has_minor_title = title_court_physician + } + } + any_courtier_or_vassal = { + limit = { + liege = { character = ROOT } + has_minor_title = title_court_physician + } + remove_title = title_court_physician + } + } + } + transfer_scaled_wealth = { + to = event_target:recruited_physician_target + min = 10 + value = 0.03 + } + event_target:recruited_physician_target = { + opinion = { + modifier = opinion_glad + who = ROOT + years = 5 + } + give_minor_title = title_court_physician + } + } + + option = { + name = EVTOPTQ_RIP_11053 + trigger = { + event_target:recruited_physician_target = { has_character_flag = physician_blind_miracle_worker } + } + hidden_tooltip = { + set_character_flag = got_physician_blind_miracle_worker + if = { + limit = { + any_courtier_or_vassal = { + liege = { character = ROOT } + has_minor_title = title_court_physician + } + } + any_courtier_or_vassal = { + limit = { + liege = { character = ROOT } + has_minor_title = title_court_physician + } + remove_title = title_court_physician + } + } + } + transfer_scaled_wealth = { + to = event_target:recruited_physician_target + min = 10 + value = 0.2 + } + event_target:recruited_physician_target = { + opinion = { + modifier = opinion_glad + who = ROOT + years = 5 + } + give_minor_title = title_court_physician + } + } + + option = { + name = EVTOPTR_RIP_11053 + trigger = { + event_target:recruited_physician_target = { has_character_flag = physician_field_surgeon } + } + hidden_tooltip = { + set_character_flag = got_physician_field_surgeon + if = { + limit = { + any_courtier_or_vassal = { + liege = { character = ROOT } + has_minor_title = title_court_physician + } + } + any_courtier_or_vassal = { + limit = { + liege = { character = ROOT } + has_minor_title = title_court_physician + } + remove_title = title_court_physician + } + } + } + transfer_scaled_wealth = { + to = event_target:recruited_physician_target + min = 10 + value = 0.3 + } + event_target:recruited_physician_target = { + opinion = { + modifier = opinion_glad + who = ROOT + years = 5 + } + give_minor_title = title_court_physician + } + } + + option = { + name = EVTOPTS_RIP_11053 + trigger = { + event_target:recruited_physician_target = { has_character_flag = physician_schooled_eunuch } + } + hidden_tooltip = { + set_character_flag = got_physician_schooled_eunuch + if = { + limit = { + any_courtier_or_vassal = { + liege = { character = ROOT } + has_minor_title = title_court_physician + } + } + any_courtier_or_vassal = { + limit = { + liege = { character = ROOT } + has_minor_title = title_court_physician + } + remove_title = title_court_physician + } + } + } + transfer_scaled_wealth = { + to = event_target:recruited_physician_target + min = 10 + value = 0.15 + } + event_target:recruited_physician_target = { + opinion = { + modifier = opinion_glad + who = ROOT + years = 5 + } + give_minor_title = title_court_physician + } + } + + option = { + name = EVTOPTT_RIP_11053 + trigger = { + event_target:recruited_physician_target = { has_character_flag = physician_pus_sucking_nun } + } + hidden_tooltip = { + set_character_flag = got_physician_pus_sucking_nun + if = { + limit = { + any_courtier_or_vassal = { + liege = { character = ROOT } + has_minor_title = title_court_physician + } + } + any_courtier_or_vassal = { + limit = { + liege = { character = ROOT } + has_minor_title = title_court_physician + } + remove_title = title_court_physician + } + } + } + scaled_wealth = { value = -0.3 min = -10 } + event_target:recruited_physician_target = { + opinion = { + modifier = opinion_glad + who = ROOT + years = 5 + } + give_minor_title = title_court_physician + } + } + + option = { + name = EVTOPTU_RIP_11053 + trigger = { + event_target:recruited_physician_target = { has_character_flag = physician_witch } + } + hidden_tooltip = { + set_character_flag = got_physician_witch + if = { + limit = { + any_courtier_or_vassal = { + liege = { character = ROOT } + has_minor_title = title_court_physician + } + } + any_courtier_or_vassal = { + limit = { + liege = { character = ROOT } + has_minor_title = title_court_physician + } + remove_title = title_court_physician + } + } + } + piety = -25 + random_list = { + 90 = { + } + 10 = { + add_trait = infection + hidden_tooltip = { + character_event = { id = RIP.11001 days = 365 random = 1095 } + } + } + } + event_target:recruited_physician_target = { + opinion = { + modifier = opinion_glad + who = ROOT + years = 5 + } + give_minor_title = title_court_physician + } + } + + option = { + name = EVTOPTV_RIP_11053 + tooltip_info = lunatic + trigger = { + event_target:recruited_physician_target = { has_character_flag = physician_horse_md } + } + hidden_tooltip = { + set_character_flag = got_physician_horse_md + if = { + limit = { + any_courtier_or_vassal = { + liege = { character = ROOT } + has_minor_title = title_court_physician + } + } + any_courtier_or_vassal = { + limit = { + liege = { character = ROOT } + has_minor_title = title_court_physician + } + remove_title = title_court_physician + } + } + } + prestige = -50 + event_target:recruited_physician_target = { + hidden_tooltip = { + opinion = { + modifier = opinion_my_master + who = ROOT + years = 100 + } + reverse_opinion = { + modifier = opinion_my_horse + who = ROOT + years = 100 + } + } + give_minor_title = title_court_physician + } + } + + option = { + name = EVTOPTW_RIP_11053 + trigger = { + event_target:recruited_physician_target = { has_character_flag = physician_travelling_nestorian } + } + hidden_tooltip = { + set_character_flag = got_physician_travelling_nestorian + if = { + limit = { + any_courtier_or_vassal = { + liege = { character = ROOT } + has_minor_title = title_court_physician + } + } + any_courtier_or_vassal = { + limit = { + liege = { character = ROOT } + has_minor_title = title_court_physician + } + remove_title = title_court_physician + } + } + } + transfer_scaled_wealth = { + to = event_target:recruited_physician_target + min = 10 + value = 0.2 + } + event_target:recruited_physician_target = { + opinion = { + modifier = opinion_glad + who = ROOT + years = 5 + } + give_minor_title = title_court_physician + } + } + + option = { + name = EVTOPTX_RIP_11053 + trigger = { + event_target:recruited_physician_target = { has_character_flag = physician_mazdan_doctor } + } + hidden_tooltip = { + set_character_flag = got_physician_mazdan_doctor + if = { + limit = { + any_courtier_or_vassal = { + liege = { character = ROOT } + has_minor_title = title_court_physician + } + } + any_courtier_or_vassal = { + limit = { + liege = { character = ROOT } + has_minor_title = title_court_physician + } + remove_title = title_court_physician + } + } + } + transfer_scaled_wealth = { + to = event_target:recruited_physician_target + min = 10 + value = 0.25 + } + event_target:recruited_physician_target = { + opinion = { + modifier = opinion_glad + who = ROOT + years = 5 + } + give_minor_title = title_court_physician + } + } + + option = { + name = EVTOPTY_RIP_11053 + trigger = { + event_target:recruited_physician_target = { has_character_flag = physician_manichean_merchant } + } + hidden_tooltip = { + set_character_flag = got_physician_manichean_merchant + if = { + limit = { + any_courtier_or_vassal = { + liege = { character = ROOT } + has_minor_title = title_court_physician + } + } + any_courtier_or_vassal = { + limit = { + liege = { character = ROOT } + has_minor_title = title_court_physician + } + remove_title = title_court_physician + } + } + } + prestige = -25 + piety = -25 + event_target:recruited_physician_target = { + opinion = { + modifier = opinion_very_grateful + who = ROOT + years = 5 + } + give_minor_title = title_court_physician + } + } + + option = { + name = EVTOPTA_RIP_11053 + + ai_chance = { + factor = 0 + } + + hidden_tooltip = { + event_target:recruited_physician_target = { + death = { + death_reason = death_missing + } + } + } + } +} \ No newline at end of file diff --git a/LCDA/events/roi_various_events.txt b/LCDA/events/roi_various_events.txt new file mode 100644 index 0000000..f59a81e --- /dev/null +++ b/LCDA/events/roi_various_events.txt @@ -0,0 +1,4970 @@ +########################################### +# # +# RoI India various events # +# # +########################################### + +# Written by Tobias Bodlund & Henrik Fåhraeus + +namespace = RoI + +# Choose patron deity 1 +character_event = { + id = RoI.100 + desc = EVTDESC_RoI_100 + picture = GFX_evt_bishop + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + option = { + name = EVTOPTA_RoI_100 + add_character_modifier = { + name = patron_shiva + duration = -1 + } + if = { + limit = { ai = no } + chronicle = { + entry = CHRONICLE_PATRON_DEITY_SHIVA + picture = GFX_evt_bishop_hindu + } + } + } + option = { + name = EVTOPTB_RoI_100 + add_character_modifier = { + name = patron_vishnu + duration = -1 + } + if = { + limit = { ai = no } + chronicle = { + entry = CHRONICLE_PATRON_DEITY_VISHNU + picture = GFX_evt_bishop_hindu + } + } + } + option = { + name = EVTOPTC_RoI_100 + add_character_modifier = { + name = patron_brahma + duration = -1 + } + if = { + limit = { ai = no } + chronicle = { + entry = CHRONICLE_PATRON_DEITY_BRAHMA + picture = GFX_evt_bishop_hindu + } + } + } + option = { + name = EVTOPTD_RoI_100 + hidden_tooltip = { character_event = { id = RoI.101 } } + } +} + +# Choose patron deity 2 +character_event = { + id = RoI.101 + desc = EVTDESC_RoI_101 + picture = GFX_evt_bishop + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + option = { + name = EVTOPTA_RoI_101 + add_character_modifier = { + name = patron_kali + duration = -1 + } + if = { + limit = { ai = no } + chronicle = { + entry = CHRONICLE_PATRON_DEITY_KALI + picture = GFX_evt_bishop_hindu + } + } + } + option = { + name = EVTOPTB_RoI_101 + add_character_modifier = { + name = patron_ganesha + duration = -1 + } + if = { + limit = { ai = no } + chronicle = { + entry = CHRONICLE_PATRON_DEITY_GANESHA + picture = GFX_evt_bishop_hindu + } + } + } + option = { + name = EVTOPTC_RoI_101 + add_character_modifier = { + name = patron_ganga + duration = -1 + } + if = { + limit = { ai = no } + chronicle = { + entry = CHRONICLE_PATRON_DEITY_GANGA + picture = GFX_evt_bishop_hindu + } + } + } + option = { + name = EVTOPTD_RoI_101 + hidden_tooltip = { character_event = { id = RoI.100 } } + } +} + +# Converted to Hinduism - choose branch +character_event = { + id = RoI.110 + desc = EVTDESC_RoI_110 + picture = GFX_evt_bishop + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + option = { + name = EVTOPTA_RoI_110 + add_trait = shaivist_hindu + } + + option = { + name = EVTOPTB_RoI_110 + add_trait = vaishnavist_hindu + } + + option = { + name = EVTOPTC_RoI_110 + add_trait = shaktist_hindu + } + + option = { + name = EVTOPTD_RoI_110 + add_trait = smartist_hindu + } +} + +# Converted to Buddhism - choose branch +character_event = { + id = RoI.111 + desc = EVTDESC_RoI_111 + picture = GFX_evt_bishop + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + option = { + name = EVTOPTA_RoI_111 + add_trait = mahayana_buddhist + } + + option = { + name = EVTOPTB_RoI_111 + add_trait = vajrayana_buddhist + } + + option = { + name = EVTOPTC_RoI_111 + add_trait = theravada_buddhist + } +} + +# Converted to Jainism - choose branch +character_event = { + id = RoI.112 + desc = EVTDESC_RoI_112 + picture = GFX_evt_bishop + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + option = { + name = EVTOPTA_RoI_112 + add_trait = digambara_jain + } + + option = { + name = EVTOPTB_RoI_112 + add_trait = svetambara_jain + } +} + +# Converted within Hinduism - choose branch +character_event = { + id = RoI.115 + desc = EVTDESC_RoI_115 + picture = GFX_evt_bishop + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + option = { + name = EVTOPTA_RoI_110 + trigger = { + NOT = { trait = shaivist_hindu } + } + add_trait = shaivist_hindu + any_courtier = { + limit = { + is_close_relative = ROOT + NOT = { trait = zealous } + religion = hindu + NOT = { trait = shaivist_hindu } + } + add_trait = shaivist_hindu + } + any_spouse = { + limit = { + is_consort = no + NOT = { trait = zealous } + religion = hindu + NOT = { trait = shaivist_hindu } + } + add_trait = shaivist_hindu + } + if = { + limit = { ai = no } + chronicle = { + entry = CHRONICLE_CHANGE_HINDU_BRANCH_TO_SHAIVIST + picture = GFX_evt_bishop_hindu + } + } + } + + option = { + name = EVTOPTB_RoI_110 + trigger = { + NOT = { trait = vaishnavist_hindu } + } + add_trait = vaishnavist_hindu + any_courtier = { + limit = { + is_close_relative = ROOT + NOT = { trait = zealous } + religion = hindu + NOT = { trait = vaishnavist_hindu } + } + add_trait = vaishnavist_hindu + } + any_spouse = { + limit = { + is_consort = no + NOT = { trait = zealous } + religion = hindu + NOT = { trait = vaishnavist_hindu } + } + add_trait = vaishnavist_hindu + } + if = { + limit = { ai = no } + chronicle = { + entry = CHRONICLE_CHANGE_HINDU_BRANCH_TO_VAISHNAVIST + picture = GFX_evt_bishop_hindu + } + } + } + + option = { + name = EVTOPTC_RoI_110 + trigger = { + NOT = { trait = shaktist_hindu } + } + add_trait = shaktist_hindu + any_courtier = { + limit = { + is_close_relative = ROOT + NOT = { trait = zealous } + religion = hindu + NOT = { trait = shaktist_hindu } + } + add_trait = shaktist_hindu + } + any_spouse = { + limit = { + is_consort = no + NOT = { trait = zealous } + religion = hindu + NOT = { trait = shaktist_hindu } + } + add_trait = shaktist_hindu + } + if = { + limit = { ai = no } + chronicle = { + entry = CHRONICLE_CHANGE_HINDU_BRANCH_TO_SHAKTIST + picture = GFX_evt_bishop_hindu + } + } + } + + option = { + name = EVTOPTD_RoI_110 + trigger = { + NOT = { trait = smartist_hindu } + } + add_trait = smartist_hindu + any_courtier = { + limit = { + is_close_relative = ROOT + NOT = { trait = zealous } + religion = hindu + NOT = { trait = smartist_hindu } + } + add_trait = smartist_hindu + } + any_spouse = { + limit = { + is_consort = no + NOT = { trait = zealous } + religion = hindu + NOT = { trait = smartist_hindu } + } + add_trait = smartist_hindu + } + if = { + limit = { ai = no } + chronicle = { + entry = CHRONICLE_CHANGE_HINDU_BRANCH_TO_SMARTIST + picture = GFX_evt_bishop_hindu + } + } + } +} + +# Converted within Buddhism - choose branch +character_event = { + id = RoI.116 + desc = EVTDESC_RoI_116 + picture = GFX_evt_bishop + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + option = { + name = EVTOPTA_RoI_111 + trigger = { + NOT = { trait = mahayana_buddhist } + } + add_trait = mahayana_buddhist + any_courtier = { + limit = { + is_close_relative = ROOT + NOT = { trait = zealous } + religion = buddhist + NOT = { trait = mahayana_buddhist } + } + add_trait = mahayana_buddhist + } + any_spouse = { + limit = { + is_consort = no + NOT = { trait = zealous } + religion = buddhist + NOT = { trait = mahayana_buddhist } + } + add_trait = mahayana_buddhist + } + if = { + limit = { ai = no } + chronicle = { + entry = CHRONICLE_CHANGE_BUDDHIST_BRANCH_TO_MAHAYANA + picture = GFX_evt_bishop_indian_group + } + } + } + + option = { + name = EVTOPTB_RoI_111 + trigger = { + NOT = { trait = vajrayana_buddhist } + } + add_trait = vajrayana_buddhist + any_courtier = { + limit = { + is_close_relative = ROOT + NOT = { trait = zealous } + religion = buddhist + NOT = { trait = vajrayana_buddhist } + } + add_trait = vajrayana_buddhist + } + any_spouse = { + limit = { + is_consort = no + NOT = { trait = zealous } + religion = buddhist + NOT = { trait = vajrayana_buddhist } + } + add_trait = vajrayana_buddhist + } + if = { + limit = { ai = no } + chronicle = { + entry = CHRONICLE_CHANGE_BUDDHIST_BRANCH_TO_VAJRAYANA + picture = GFX_evt_bishop_indian_group + } + } + } + + option = { + name = EVTOPTC_RoI_111 + trigger = { + NOT = { trait = theravada_buddhist } + } + add_trait = theravada_buddhist + any_courtier = { + limit = { + is_close_relative = ROOT + NOT = { trait = zealous } + religion = buddhist + NOT = { trait = theravada_buddhist } + } + add_trait = theravada_buddhist + } + any_spouse = { + limit = { + is_consort = no + NOT = { trait = zealous } + religion = buddhist + NOT = { trait = theravada_buddhist } + } + add_trait = theravada_buddhist + } + if = { + limit = { ai = no } + chronicle = { + entry = CHRONICLE_CHANGE_BUDDHIST_BRANCH_TO_THERAVADA + picture = GFX_evt_bishop_indian_group + } + } + } +} + +# Converted within Jainism - choose branch +character_event = { + id = RoI.117 + desc = EVTDESC_RoI_117 + picture = GFX_evt_bishop + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + option = { + name = EVTOPTA_RoI_117 + trigger = { + NOT = { trait = digambara_jain } + } + add_trait = digambara_jain + any_courtier = { + limit = { + is_close_relative = ROOT + NOT = { trait = zealous } + religion = jain + NOT = { trait = digambara_jain } + } + add_trait = digambara_jain + } + any_spouse = { + limit = { + is_consort = no + NOT = { trait = zealous } + religion = jain + NOT = { trait = digambara_jain } + } + add_trait = digambara_jain + } + if = { + limit = { ai = no } + chronicle = { + entry = CHRONICLE_CHANGE_JAIN_BRANCH_TO_DIGAMBARA + picture = GFX_evt_bishop_indian_group + } + } + } + + option = { + name = EVTOPTB_RoI_117 + trigger = { + NOT = { trait = svetambara_jain } + } + add_trait = svetambara_jain + any_courtier = { + limit = { + is_close_relative = ROOT + NOT = { trait = zealous } + religion = jain + NOT = { trait = svetambara_jain } + } + add_trait = svetambara_jain + } + any_spouse = { + limit = { + is_consort = no + NOT = { trait = zealous } + religion = jain + NOT = { trait = svetambara_jain } + } + add_trait = svetambara_jain + } + if = { + limit = { ai = no } + chronicle = { + entry = CHRONICLE_CHANGE_JAIN_BRANCH_TO_SVETAMBARA + picture = GFX_evt_bishop_indian_group + } + } + } +} + +# After diplomacy action conversion +character_event = { + id = RoI.120 + + hide_window = yes + + is_triggered_only = yes + + immediate = { + if = { + limit = { + FROMFROMFROM = { trait = shaivist_hindu } + } + add_trait = shaivist_hindu + } + if = { + limit = { + FROMFROMFROM = { trait = vaishnavist_hindu } + } + add_trait = vaishnavist_hindu + } + if = { + limit = { + FROMFROMFROM = { trait = shaktist_hindu } + } + add_trait = shaktist_hindu + } + if = { + limit = { + FROMFROMFROM = { trait = smartist_hindu } + } + add_trait = smartist_hindu + } + if = { + limit = { + FROMFROMFROM = { trait = mahayana_buddhist } + } + add_trait = mahayana_buddhist + } + if = { + limit = { + FROMFROMFROM = { trait = vajrayana_buddhist } + } + add_trait = vajrayana_buddhist + } + if = { + limit = { + FROMFROMFROM = { trait = theravada_buddhist } + } + add_trait = theravada_buddhist + } + if = { + limit = { + FROMFROMFROM = { trait = digambara_jain } + } + add_trait = digambara_jain + } + if = { + limit = { + FROMFROMFROM = { trait = svetambara_jain } + } + add_trait = svetambara_jain + } + } +} + +# After conversion, set religious branch randomly +character_event = { + id = RoI.30120 + + hide_window = yes + + is_triggered_only = yes + + immediate = { + if = { + limit = { religion = hindu } + random_list = { + 10 = { add_trait = shaivist_hindu } + 10 = { add_trait = vaishnavist_hindu } + 10 = { add_trait = shaktist_hindu } + 10 = { add_trait = smartist_hindu } + } + } + if = { + limit = { religion = buddhist } + random_list = { + 10 = { add_trait = mahayana_buddhist } + 10 = { add_trait = vajrayana_buddhist } + 10 = { add_trait = theravada_buddhist } + } + } + if = { + limit = { religion = jain } + random_list = { + 10 = { add_trait = digambara_jain } + 10 = { add_trait = svetambara_jain } + } + } + } +} + +# After conversion, set religious branch to liege's branch +character_event = { + id = RoI.30121 + + hide_window = yes + + is_triggered_only = yes + + immediate = { + if = { + limit = { + liege = { trait = shaivist_hindu } + } + add_trait = shaivist_hindu + } + if = { + limit = { + liege = { trait = vaishnavist_hindu } + } + add_trait = vaishnavist_hindu + } + if = { + limit = { + liege = { trait = shaktist_hindu } + } + add_trait = shaktist_hindu + } + if = { + limit = { + liege = { trait = smartist_hindu } + } + add_trait = smartist_hindu + } + if = { + limit = { + liege = { trait = mahayana_buddhist } + } + add_trait = mahayana_buddhist + } + if = { + limit = { + liege = { trait = vajrayana_buddhist } + } + add_trait = vajrayana_buddhist + } + if = { + limit = { + liege = { trait = theravada_buddhist } + } + add_trait = theravada_buddhist + } + if = { + limit = { + liege = { trait = digambara_jain } + } + add_trait = digambara_jain + } + if = { + limit = { + liege = { trait = svetambara_jain } + } + add_trait = svetambara_jain + } + } +} + +# After conversion, set religious branch to FROM's branch +character_event = { + id = RoI.30122 + + hide_window = yes + + is_triggered_only = yes + + immediate = { + if = { + limit = { + FROM = { trait = shaivist_hindu } + } + add_trait = shaivist_hindu + } + if = { + limit = { + FROM = { trait = vaishnavist_hindu } + } + add_trait = vaishnavist_hindu + } + if = { + limit = { + FROM = { trait = shaktist_hindu } + } + add_trait = shaktist_hindu + } + if = { + limit = { + FROM = { trait = smartist_hindu } + } + add_trait = smartist_hindu + } + if = { + limit = { + FROM = { trait = mahayana_buddhist } + } + add_trait = mahayana_buddhist + } + if = { + limit = { + FROM = { trait = vajrayana_buddhist } + } + add_trait = vajrayana_buddhist + } + if = { + limit = { + FROM = { trait = theravada_buddhist } + } + add_trait = theravada_buddhist + } + if = { + limit = { + FROM = { trait = digambara_jain } + } + add_trait = digambara_jain + } + if = { + limit = { + FROM = { trait = svetambara_jain } + } + add_trait = svetambara_jain + } + } +} + +########################################### +# Reincarnation Events +########################################### +# by Henrik Fåhraeus +########################################### + +# [on_birth] Child might be a reincarnation +character_event = { + id = RoI.10000 + hide_window = yes + + is_triggered_only = yes + + only_men = yes + religion_group = indian_group + + trigger = { + has_dlc = "Rajas of India" + NOT = { + has_game_rule = { + name = supernatural_events + value = off + } + } + OR = { + father = { + OR = { + ai = no + has_game_rule = { + name = supernatural_events + value = unrestricted + } + } + is_reincarnated = no + father_even_if_dead = { + OR = { + is_alive = no + father_even_if_dead = { + is_alive = no + } + } + } + NOT = { + any_sibling = { + is_reincarnated = yes + } + } + } + mother = { + ai = no + is_reincarnated = no + father_even_if_dead = { + OR = { + is_alive = no + father_even_if_dead = { + is_alive = no + } + } + } + NOT = { + any_sibling = { + is_reincarnated = yes + } + } + } + } + NOT = { + any_sibling = { + is_reincarnated = yes + } + } + } + + option = { + if = { + limit = { + father = { + OR = { + ai = no + has_game_rule = { + name = supernatural_events + value = unrestricted + } + } + } + } + if = { + limit = { + father = { + father_even_if_dead = { + father_even_if_dead = { + is_alive = no + } + } + } + } + father = { + father_even_if_dead = { + father_even_if_dead = { + ROOT = { + set_reincarnation = PREV + } + } + } + } + } + if = { + limit = { + is_reincarnated = no + } + father = { + father_even_if_dead = { + ROOT = { + set_reincarnation = PREV + } + } + } + } + + father = { + character_event = { + id = RoI.10001 + days = 3 + } + } + } + if = { + limit = { + mother = { ai = no } + is_reincarnated = no + } + if = { + limit = { + mother = { + father_even_if_dead = { + father_even_if_dead = { + is_alive = no + } + } + } + } + mother = { + father_even_if_dead = { + father_even_if_dead = { + ROOT = { + set_reincarnation = PREV + } + } + } + } + } + if = { + limit = { + is_reincarnated = no + } + mother = { + father_even_if_dead = { + ROOT = { + set_reincarnation = PREV + } + } + } + } + + mother = { + character_event = { + id = RoI.10001 + days = 3 + } + } + } + } +} + +# Reincarnation: Player notices the similarities +character_event = { + id = RoI.10001 + desc = EVTDESC_RoI_10001 + picture = GFX_evt_reincarnation + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + option = { + name = EVTOPTA_RoI_10001 # Yes, clearly + + hidden_tooltip = { + FROM = { + add_trait = reincarnation + character_event = { + id = RoI.10002 + days = 912 + } + } + } + } + + option = { + name = EVTOPTB_RoI_10001 # Nonsense! + + hidden_tooltip = { + FROM = { + set_reincarnation = 0 + } + } + } +} + +# Reincarnation: Toddler thinks of the past life +character_event = { + id = RoI.10002 + desc = EVTDESC_RoI_10002 + picture = GFX_evt_reincarnation + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + option = { + name = EVTOPTA_RoI_10002 + hidden_tooltip = { + FROM = { + character_event = { + id = RoI.10003 + days = 2 + } + } + } + } +} + +# Reincarnation: Toddler speaks of the past life +character_event = { + id = RoI.10003 + desc = EVTDESC_RoI_10003 + picture = GFX_evt_reincarnation + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + option = { + name = EVTOPTA_RoI_10003 + hidden_tooltip = { + FROM = { + set_character_flag = reincarnation_education + } + } + } + option = { + name = EVTOPTB_RoI_10003 + } +} + +# [on_yearly_childhood_pulse] Reincarnation: Youth picks up a personality trait from the previous life +character_event = { + id = RoI.10010 + desc = EVTDESC_RoI_10010 + picture = GFX_evt_reincarnation + border = GFX_event_normal_frame_religion + + religion_group = indian_group + + is_triggered_only = yes + + trigger = { + has_dlc = "Rajas of India" + has_character_flag = reincarnation_education + NOT = { personality_traits = 5 } + reincarnation_scope = { + ROOT = { + can_copy_personality_trait_from = PREV + } + } + } + + option = { + name = EVTOPTA_RoI_10010 + reincarnation_scope = { + ROOT = { + copy_random_personality_trait = PREV + } + } + hidden_tooltip = { + if = { + limit = { + father = { + ai = no + } + } + father = { + character_event = { + id = RoI.10011 + days = 2 + } + } + } + if = { + limit = { + mother = { + ai = no + } + } + mother = { + character_event = { + id = RoI.10011 + days = 2 + } + } + } + if = { + limit = { + guardian = { + ai = no + } + } + guardian = { + character_event = { + id = RoI.10011 + days = 2 + } + } + } + } + } +} + +# Reincarnation: Notification of a youth picking up a personality trait from the previous life +character_event = { + id = RoI.10011 + desc = EVTDESC_RoI_10011 + picture = GFX_evt_reincarnation + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + option = { + name = EVTOPTA_RoI_10011 + } +} + +# [on_yearly_pulse] Reincarnation: Reincarnated player remembers his murderer +character_event = { + id = RoI.10020 + desc = EVTDESC_RoI_10020 + picture = GFX_evt_shadow + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + ai = no + min_age = 14 + + trigger = { + is_reincarnated = yes + trait = reincarnation + has_dlc = "Rajas of India" + reincarnation_scope = { + OR = { + death_murder_trigger = yes + death_execution_trigger = yes + } + killer = { + always = yes + } + } + NOT = { has_character_flag = reinc_remembered_killer } + } + + option = { + name = EVTOPTA_RoI_10020 + + set_character_flag = reinc_remembered_killer + + if = { + limit = { + reincarnation_scope = { + killer = { + is_alive = yes + } + } + } + reincarnation_scope = { + killer = { + reverse_opinion = { + who = ROOT + years = 100 + modifier = opinion_dishonorable + } + } + } + } + } +} + +# [on_yearly_pulse] Reincarnation: Reincarnated player remembers spouse +character_event = { + id = RoI.10021 + desc = EVTDESC_RoI_10021 + picture = GFX_evt_lovers + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + ai = no + min_age = 14 + + trigger = { + is_reincarnated = yes + trait = reincarnation + has_dlc = "Rajas of India" + reincarnation_scope = { + spouse_even_if_dead = { + always = yes + } + } + NOT = { has_character_flag = reinc_remembered_spouse } + } + + option = { + name = EVTOPTA_RoI_10021 + + set_character_flag = reinc_remembered_spouse + } +} + +# [on_yearly_pulse] Reincarnation: Reincarnated player remembers child +character_event = { + id = RoI.10022 + desc = EVTDESC_RoI_10022 + picture = GFX_evt_child_play + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + ai = no + min_age = 14 + + trigger = { + is_reincarnated = yes + trait = reincarnation + has_dlc = "Rajas of India" + reincarnation_scope = { + num_of_children = 1 + any_child = { + always = yes + } + } + NOT = { has_character_flag = reinc_remembered_child } + } + + immediate = { + reincarnation_scope = { + random_child = { + save_event_target_as = target_child + } + } + } + + option = { + name = EVTOPTA_RoI_10022 + + set_character_flag = reinc_remembered_child + } +} + +########################################### +# Ascetics # +########################################### + +# Hindu ascetic comes to visit +character_event = { + id = RoI.203 + desc = EVTDESC_RoI_203 + picture = GFX_evt_throne_room + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + ai = no + only_capable = yes + prisoner = no + + trigger = { + has_dlc = "Rajas of India" + OR = { + religion = buddhist + religion = jain + } + } + + option = { + name = EVTOPTA_RoI_203 + trigger = { NOT = { trait = zealous } } + hidden_tooltip = { character_event = { id = RoI.204 } } + } + option = { + name = EVTOPTB_RoI_203 + } + option = { + name = EVTOPTC_RoI_203 + prestige = 20 + custom_tooltip = { text = realm_hindus_insulted } + hidden_tooltip = { + any_realm_character = { + limit = { religion = hindu } + opinion = { + who = ROOT + years = 2 + modifier = insulted + } + } + } + } +} + +# Tell me more, Hindu ascetic +character_event = { + id = RoI.204 + desc = EVTDESC_RoI_204 + picture = GFX_evt_bishop_hindu + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + option = { + name = EVTOPTA_RoI_204 + religion = hindu + add_trait = shaivist_hindu + set_character_flag = india_converted + add_character_modifier = { + name = hindu_ascetic + duration = -1 + } + } + option = { + name = EVTOPTB_RoI_204 + religion = hindu + add_trait = shaivist_hindu + set_character_flag = india_converted + } + option = { + name = EVTOPTC_RoI_204 + } +} + +# Buddhist ascetic comes to visit +character_event = { + id = RoI.206 + desc = EVTDESC_RoI_206 + picture = GFX_evt_throne_room + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + ai = no + only_capable = yes + prisoner = no + + trigger = { + has_dlc = "Rajas of India" + OR = { + religion = hindu + religion = jain + } + } + + option = { + name = EVTOPTA_RoI_203 + trigger = { NOT = { trait = zealous } } + hidden_tooltip = { character_event = { id = RoI.207 } } + } + option = { + name = EVTOPTB_RoI_203 + } + option = { + name = EVTOPTC_RoI_206 + prestige = 20 + custom_tooltip = { text = realm_buddhists_insulted } + hidden_tooltip = { + any_realm_character = { + limit = { religion = buddhist } + opinion = { + who = ROOT + years = 2 + modifier = insulted + } + } + } + } +} + +# Tell me more, Buddhist ascetic +character_event = { + id = RoI.207 + desc = EVTDESC_RoI_204 + picture = GFX_evt_bishop_indian_group + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + option = { + name = EVTOPTA_RoI_207 + religion = buddhist + add_trait = mahayana_buddhist + set_character_flag = india_converted + add_character_modifier = { + name = buddhist_ascetic + duration = -1 + } + } + option = { + name = EVTOPTB_RoI_207 + religion = buddhist + add_trait = mahayana_buddhist + set_character_flag = india_converted + } + option = { + name = EVTOPTC_RoI_207 + } +} + +# Jain ascetic comes to visit +character_event = { + id = RoI.209 + desc = EVTDESC_RoI_209 + picture = GFX_evt_throne_room + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + ai = no + only_capable = yes + prisoner = no + + trigger = { + has_dlc = "Rajas of India" + OR = { + religion = hindu + religion = buddhist + } + } + + option = { + name = EVTOPTA_RoI_203 + trigger = { NOT = { trait = zealous } } + hidden_tooltip = { character_event = { id = RoI.210 } } + } + option = { + name = EVTOPTB_RoI_209 + } + option = { + name = EVTOPTC_RoI_209 + prestige = 20 + custom_tooltip = { text = realm_jains_insulted } + hidden_tooltip = { + any_realm_character = { + limit = { religion = jain } + opinion = { + who = ROOT + years = 2 + modifier = insulted + } + } + } + } +} + +# Tell me more, Jain ascetic +character_event = { + id = RoI.210 + desc = EVTDESC_RoI_210 + picture = GFX_evt_bishop_indian_group + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + option = { + name = EVTOPTA_RoI_210 + religion = jain + add_trait = digambara_jain + set_character_flag = india_converted + add_character_modifier = { + name = jain_naked_ascetic + duration = -1 + } + } + option = { + name = EVTOPTB_RoI_210 + religion = jain + add_trait = digambara_jain + set_character_flag = india_converted + } + option = { + name = EVTOPTC_RoI_210 + } +} + +########################################### +# The cursed diamond # +########################################### + +# Diamond is found +character_event = { + id = RoI.215 + desc = EVTDESC_RoI_215 + picture = GFX_evt_emissary + + is_triggered_only = yes + + ai = no + only_capable = yes + prisoner = no + + trigger = { + has_dlc = "Rajas of India" + NOT = { primary_title = { tier = COUNT } } + NOT = { has_global_flag = cursed_diamond } + capital_scope = { + region = world_india + } + NOT = { is_inaccessible_trigger = yes } + } + + immediate = { + set_global_flag = cursed_diamond + } + + option = { + name = EVTOPTA_RoI_215 + wealth = -30 + prestige = 30 + add_artifact = cursed_diamond_crown + set_character_flag = cursed_diamond_crown + hidden_tooltip = { character_event = { id = RoI.216 days = 60 } } # Make a grand crown + } + option = { + name = EVTOPTB_RoI_215 + add_artifact = cursed_diamond + new_artifact = { + set_creation_date = 1.1.1 + } + set_character_flag = cursed_diamond + hidden_tooltip = { character_event = { id = RoI.221 days = 60 } } # Put it in the treasury + } + option = { + name = EVTOPTC_RoI_215 + trigger = { + is_married = yes + spouse = { ai= yes } + } + spouse = { + add_lover = ROOT + add_artifact = cursed_diamond + new_artifact = { + set_creation_date = 1.1.1 + } + set_character_flag = spouse_diamond + hidden_tooltip = { character_event = { id = RoI.225 days = 60 } } # Give it to your spouse + } + } + option = { + name = EVTOPTD_RoI_215 + wealth = 100 + } +} + +# Diamond sparkles in crown +character_event = { + id = RoI.216 + desc = EVTDESC_RoI_216 + picture = GFX_evt_throne_room + + is_triggered_only = yes + + option = { + name = EVTOPTA_RoI_216 + prestige = 10 + hidden_tooltip = { + random_list = { + 10 = { character_event = { id = RoI.217 days = 60 } } + 10 = { character_event = { id = RoI.218 days = 60 } } + 10 = { + random_courtier = { + limit = { + ai = yes + NOT = { father = { character = ROOT } } + NOT = { mother = { character = ROOT } } + NOT = { spouse = { character = ROOT } } + } + character_event = { id = RoI.219 days = 60 } + } + } + } + } + } +} + +# Thief tries to steal crown +character_event = { + id = RoI.217 + desc = EVTDESC_RoI_217 + picture = GFX_evt_large_army + + is_triggered_only = yes + + option = { + name = EVTOPTA_RoI_217 + if = { + limit = { NOT = { trait = stressed } } + random = { + chance = 20 + add_trait = stressed + hidden_tooltip = { + character_event = { + id = 38282 #Notify Stressed + } + } + } + } + hidden_tooltip = { character_event = { id = RoI.240 } } + } +} + +# Diamonds sparkles and frightens elephant +character_event = { + id = RoI.218 + desc = EVTDESC_RoI_218 + picture = GFX_evt_india_rural_scene + + is_triggered_only = yes + + option = { + name = EVTOPTA_RoI_218 + random_courtier = { + limit = { + NOT = { trait = incapable } + NOT = { trait = mangled } + NOT = { trait = maimed } + immortal = no + } + random_list = { + 70 = { add_trait = wounded } + 25 = { + if = { + limit = { + NOT = { + has_dlc = "Reapers" + } + } + add_trait = maimed + hidden_tooltip = { + character_event = { id = 38281 } + } + } + if = { + limit = { + has_dlc = "Reapers" + } + add_trait = mangled + add_trait = severely_injured + resolve_severely_injured_effect = yes + hidden_tooltip = { character_event = { id = RIP.11505 } } + } + } + 5 = { + if = { + limit = { + immortal = no + } + add_trait = incapable + } + } + } + } + hidden_tooltip = { character_event = { id = RoI.240 } } + } +} + +# Courtier tries to murder owner of diamond +character_event = { + id = RoI.219 + + hide_window = yes + + is_triggered_only = yes + + immediate = { + FROM = { character_event = { id = RoI.220 } } + } +} + +# Owner subjected to murder attempt +character_event = { + id = RoI.220 + desc = EVTDESC_RoI_220 + picture = GFX_evt_bad_news + + is_triggered_only = yes + + option = { + name = EVTOPTA_RoI_220 + random = { + chance = 20 + add_trait = wounded + hidden_tooltip = { + character_event = { + id = 38280 #Notify Wounded + } + } + } + FROM = { + death = { + death_reason = death_execution + killer = ROOT + } + } + hidden_tooltip = { character_event = { id = RoI.240 } } + } +} + +# Diamond is lovely in your treasury +character_event = { + id = RoI.221 + desc = EVTDESC_RoI_221 + picture = GFX_evt_throne_room + + is_triggered_only = yes + + option = { + name = EVTOPTA_RoI_221 + prestige = 10 + hidden_tooltip = { + random_list = { + 10 = { character_event = { id = RoI.222 days = 60 } } + 10 = { character_event = { id = RoI.223 days = 60 } } + 10 = { character_event = { id = RoI.224 days = 60 } } + } + } + } +} + +# Spending too much time in the treasury with the Precious... becoming troglodytic and weird +character_event = { + id = RoI.222 + desc = EVTDESC_RoI_222 + picture = GFX_evt_lunatic + + is_triggered_only = yes + + option = { + name = EVTOPTA_RoI_222 + set_character_flag = loves_diamond + if = { + limit = { NOT = { trait = shy } } + add_trait = shy + } + if = { + limit = { NOT = { trait = greedy } } + random = { + chance = 30 + add_trait = greedy + hidden_tooltip = { + character_event = { + id = 38252 #Notify Greedy + } + } + } + } + if = { + limit = { NOT = { trait = envious } } + random = { + chance = 30 + add_trait = envious + hidden_tooltip = { + character_event = { + id = 38271 #Notify Envious + } + } + } + } + if = { + limit = { NOT = { trait = lunatic } } + random = { + chance = 10 + add_trait = lunatic + hidden_tooltip = { + character_event = { id = 38304 } # notify lunatic + } + } + } + hidden_tooltip = { character_event = { id = RoI.240 } } + } +} + +# Diamond is stolen from your treasury +character_event = { + id = RoI.223 + desc = EVTDESC_RoI_223 + picture = GFX_evt_emissary + + is_triggered_only = yes + + immediate = { + destroy_artifact = cursed_diamond + destroy_artifact = cursed_diamond_crown + } + + option = { + name = EVTOPTA_RoI_223 + prestige = -30 + if = { + limit = { NOT = { trait = paranoid } } + random = { + chance = 30 + add_trait = paranoid + hidden_tooltip = { + character_event = { + id = 38275 #Notify Paranoid + } + } + } + } + if = { + limit = { NOT = { trait = stressed } } + random = { + chance = 10 + add_trait = stressed + hidden_tooltip = { + character_event = { + id = 38282 #Notify Stressed + } + } + } + } + } +} + +# Worries about diamond +character_event = { + id = RoI.224 + desc = EVTDESC_RoI_224 + picture = GFX_evt_bad_news + + is_triggered_only = yes + + option = { + name = EVTOPTA_RoI_224 + if = { + limit = { + trait = stressed + NOT = { trait = paranoid } + } + add_trait = paranoid + } + if = { + limit = { + NOT = { trait = stressed } + } + random = { + chance = 30 + add_trait = stressed + hidden_tooltip = { + character_event = { + id = 38282 #Notify Stressed + } + } + } + } + hidden_tooltip = { character_event = { id = RoI.240 } } + } +} + +# Spouse +character_event = { + id = RoI.225 + + hide_window = yes + + is_triggered_only = yes + + immediate = { + if = { + limit = { has_character_flag = spouse_diamond } # Still same spouse? + spouse = { + character_event = { id = RoI.226 } + } + } + } +} + +# Spouse is happy about magnificent diamond +character_event = { + id = RoI.226 + desc = EVTDESC_RoI_226 + picture = GFX_evt_throne_room + + is_triggered_only = yes + + option = { + name = EVTOPTA_RoI_226 + spouse = { + prestige = 30 + } + hidden_tooltip = { + random_list = { + 10 = { spouse = { character_event = { id = RoI.227 days = 60 } } } + 10 = { spouse = { character_event = { id = RoI.229 days = 60 } } } + 10 = { spouse = { character_event = { id = RoI.231 days = 60 } } } + } + } + } +} + +# Spouse +character_event = { + id = RoI.227 + + hide_window = yes + + is_triggered_only = yes + + immediate = { + if = { + limit = { has_character_flag = spouse_diamond } # Still same spouse? + FROM = { + character_event = { id = RoI.228 } + } + } + } +} + +# Spouse is robbed of diamond +character_event = { + id = RoI.228 + desc = EVTDESC_RoI_228 + picture = GFX_evt_market + + is_triggered_only = yes + + immediate = { + spouse = { + destroy_artifact = cursed_diamond + } + } + + option = { + name = EVTOPTA_RoI_228 + prestige = -20 + } +} + +# Spouse +character_event = { + id = RoI.229 + + hide_window = yes + + is_triggered_only = yes + + immediate = { + if = { + limit = { has_character_flag = spouse_diamond } # Still same spouse? + FROM = { + character_event = { id = RoI.230 } + } + } + } +} + +# Diamond drives spouse insane +character_event = { + id = RoI.230 + desc = EVTDESC_RoI_230 + picture = GFX_evt_lunatic + + is_triggered_only = yes + + option = { + name = EVTOPTA_RoI_230 + spouse = { + if = { + limit = { NOT = { trait = lunatic } } + add_trait = lunatic + } + if = { + limit = { trait = lunatic } + add_trait = possessed + } + } + hidden_tooltip = { character_event = { id = RoI.240 } } + } +} + +# Spouse +character_event = { + id = RoI.231 + + hide_window = yes + + is_triggered_only = yes + + immediate = { + if = { + limit = { has_character_flag = spouse_diamond } # Still same spouse? + FROM = { + character_event = { id = RoI.232 } + } + } + } +} + +# Spouse killed by robbers but diamond retained +character_event = { + id = RoI.232 + desc = EVTDESC_RoI_232 + picture = GFX_evt_throne_room + + is_triggered_only = yes + + immediate = { + random_artifact = { + limit = { + artifact_type = cursed_diamond + } + transfer_artifact = { + from = spouse + to = ROOT + } + } + } + + option = { + name = EVTOPTA_RoI_232 + spouse = { + death = { + death_reason = death_murder + } + } + random = { + chance = 20 + add_trait = depressed + hidden_tooltip = { + character_event = { + id = 38288 #Notify Depressed + } + } + } + hidden_tooltip = { character_event = { id = RoI.240 } } + } +} + +# Diamond may be cursed. What to do with it? +character_event = { + id = RoI.240 + desc = EVTDESC_RoI_240 + picture = GFX_evt_throne_room + + is_triggered_only = yes + + option = { + name = EVTOPTA_RoI_240 + trigger = { + NOT = { has_character_flag = loves_diamond } + } + wealth = 100 + hidden_effect = { + character_event = { id = RoI.241 days = 30 } + } + if = { + limit = { + has_artifact = cursed_diamond + } + destroy_artifact = cursed_diamond + } + if = { + limit = { + has_artifact = cursed_diamond_crown + } + destroy_artifact = cursed_diamond_crown + } + } + option = { + name = EVTOPTB_RoI_240 + hidden_effect = { + character_event = { id = RoI.243 days = 30 } + } + if = { + limit = { + has_artifact = cursed_diamond + } + destroy_artifact = cursed_diamond + } + if = { + limit = { + has_artifact = cursed_diamond_crown + } + destroy_artifact = cursed_diamond_crown + } + } + option = { + name = EVTOPTC_RoI_240 + hidden_effect = { character_event = { id = RoI.245 days = 30 } } + } + option = { + name = EVTOPTD_RoI_240 + trigger = { + has_character_flag = loves_diamond + } + death = { + death_reason = death_suicide + } + if = { + limit = { + has_artifact = cursed_diamond + } + destroy_artifact = cursed_diamond + } + if = { + limit = { + has_artifact = cursed_diamond_crown + } + destroy_artifact = cursed_diamond_crown + } + } +} + +# Sold diamond but regrets it +character_event = { + id = RoI.241 + desc = EVTDESC_RoI_241 + picture = GFX_evt_large_army + + is_triggered_only = yes + + option = { + name = EVTOPTA_RoI_241 + hidden_tooltip = { character_event = { id = RoI.242 } } + } + option = { + name = EVTOPTB_RoI_241 + } +} + +# Sends riders after buyers +character_event = { + id = RoI.242 + desc = EVTDESC_RoI_242 + picture = GFX_evt_throne_room + + is_triggered_only = yes + + option = { + name = EVTOPTA_RoI_242 + add_character_modifier = { + name = the_diamond_thief + duration = 1800 + } + if = { + limit = { has_character_flag = cursed_diamond_crown } + add_artifact = cursed_diamond_crown + } + if = { + limit = { has_character_flag = cursed_diamond } + add_artifact = cursed_diamond + } + hidden_tooltip = { character_event = { id = RoI.245 days = 60 } } + } +} + +# Threw diamond in river but regrets it +character_event = { + id = RoI.243 + desc = EVTDESC_RoI_243 + picture = GFX_evt_bad_news + + is_triggered_only = yes + + option = { + name = EVTOPTA_RoI_243 + hidden_tooltip = { character_event = { id = RoI.244 } } + } + option = { + name = EVTOPTB_RoI_243 + } +} + +# Searches but cannot find diamond +character_event = { + id = RoI.244 + desc = EVTDESC_RoI_244 + picture = GFX_evt_india_rural_scene + + is_triggered_only = yes + + option = { + name = EVTOPTA_RoI_244 + + if = { + limit = { is_ill = yes } + + random = { + chance = 30 + if = { + limit = { NOT = { has_dlc = "Reapers" } } + add_trait = pneumonic + } + if = { + limit = { has_dlc = "Reapers" } + add_trait = infection + hidden_tooltip = { character_event = { id = RIP.11001 days = 365 random = 1095 } } + } + } + } + + if = { + limit = { is_ill = no } + + random = { + chance = 30 + if = { limit = { NOT = { has_dlc = "Reapers" } } + add_trait = ill + } + if = { limit = { has_dlc = "Reapers" } + add_symptom_effect = yes + } + } + } + } +} + +# Keeps diamond +character_event = { + id = RoI.245 + desc = EVTDESC_RoI_245 + picture = GFX_evt_bad_news + + is_triggered_only = yes + + immediate = { + destroy_artifact = cursed_diamond + destroy_artifact = cursed_diamond_crown + clr_character_flag = cursed_diamond + clr_character_flag = cursed_diamond_crown + } + + option = { + name = EVTOPTA_RoI_245 + trigger = { + any_spouse = { + NOT = { has_character_flag = spouse_diamond } + ai = yes + at_location = ROOT + } + } + random_spouse = { + limit = { + ai = yes + at_location = ROOT + } + hidden_tooltip = { character_event = { id = RoI.246 } } + } + } + option = { + name = EVTOPTB_RoI_245 + trigger = { + any_sibling = { + ai = yes + at_location = ROOT + } + } + random_sibling = { + limit = { + ai = yes + at_location = ROOT + } + hidden_tooltip = { character_event = { id = RoI.246 } } + } + } + option = { + name = EVTOPTC_RoI_245 + trigger = { + any_courtier = { + ai = yes + is_councillor = yes + at_location = ROOT + } + } + random_courtier = { + limit = { + ai = yes + is_councillor = yes + at_location = ROOT + } + hidden_tooltip = { character_event = { id = RoI.246 } } + } + } + option = { + name = EVTOPTD_RoI_245 + trigger = { + NOT = { + any_courtier = { + ai = yes + is_councillor = yes + at_location = ROOT + } + } + NOT = { + any_sibling = { + ai = yes + at_location = ROOT + } + } + NOT = { + any_spouse = { + NOT = { has_character_flag = spouse_diamond } + ai = yes + at_location = ROOT + } + } + } + random_courtier = { + limit = { + ai = yes + at_location = ROOT + } + hidden_tooltip = { character_event = { id = RoI.246 } } + } + } +} + +# Blamed character +character_event = { + id = RoI.246 + + hide_window = yes + + is_triggered_only = yes + + immediate = { + FROM = { character_event = { id = RoI.247 } } + } +} + +# Verdict - guilty or innocent? +character_event = { + id = RoI.247 + desc = EVTDESC_RoI_247 + picture = GFX_evt_into_the_dungeon + + is_triggered_only = yes + + option = { + name = EVTOPTA_RoI_247 + FROM = { + opinion = { + who = ROOT + modifier = insulted + years = 5 + } + } + } + option = { + name = EVTOPTB_RoI_247 + FROM = { + death = { + death_reason = death_execution + killer = ROOT + } + } + } +} + +# On Death - clearing the treasury +character_event = { + id = RoI.248 + + hide_window = yes + + is_triggered_only = yes + + trigger = { + has_artifact = cursed_diamond_crown + has_artifact = cursed_diamond + } + + immediate = { + destroy_artifact = cursed_diamond + destroy_artifact = cursed_diamond_crown + save_event_target_as = cursed_diamond_parent + current_heir = { + character_event = { id = RoI.249 days = 7 } + } + } +} + +# Heir finds out famous diamond has disappeared +character_event = { + id = RoI.249 + desc = EVTDESC_RoI.249 + picture = GFX_evt_bad_news + + is_triggered_only = yes + + option = { + name = EVTOPTA_RoI.249 + } +} + +########################################### +# Thugs # +########################################### + +character_event = { + id = RoI.20147 + + hide_window = yes + + is_triggered_only = yes + + ai = no + only_capable = yes + prisoner = no + + trigger = { + has_dlc = "Rajas of India" + NOT = { has_global_flag = thugs_global } + capital_scope = { + region = world_india + } + NOT = { is_inaccessible_trigger = yes } + } + + immediate = { + set_global_flag = thugs_global + random_demesne_province = { + limit = { + region = world_india + } + set_province_flag = thugs + province_event = { id = RoI.20148 } + } + } +} + +province_event = { + id = RoI.20148 + + hide_window = yes + + is_triggered_only = yes + + immediate = { + FROM = { character_event = { id = RoI.147 } } + } +} + +# Thug problem appears +character_event = { + id = RoI.147 + desc = EVTDESC_RoI_147 + picture = GFX_evt_india_rural_scene + + is_triggered_only = yes + + option = { + name = EVTOPTA_RoI_147 + hidden_tooltip = { character_event = { id = RoI.148 days = 60 } } + } + option = { + name = EVTOPTB_RoI_147 + random_demesne_province = { + limit = { + has_province_flag = thugs + } + add_province_modifier = { + name = thugs_rampant + duration = 3650 + } + } + } +} + +# Agents disappear +character_event = { + id = RoI.148 + desc = EVTDESC_RoI_148 + picture = GFX_evt_india_rural_scene + + is_triggered_only = yes + + option = { + name = EVTOPTA_RoI_148 + hidden_tooltip = { character_event = { id = RoI.155 days = 60 } } + } + option = { + name = EVTOPTB_RoI_148 + hidden_tooltip = { character_event = { id = RoI.149 days = 120 } } + if = { + limit = { NOT = { trait = cruel } } + add_trait = cruel + } + } + option = { + name = EVTOPTC_RoI_148 + random_demesne_province = { + limit = { + has_province_flag = thugs + } + add_province_modifier = { + name = thugs_rampant + duration = 3650 + } + } + } +} + +# Terror in the countryside but the peasants are not to blame +character_event = { + id = RoI.149 + desc = EVTDESC_RoI_149 + picture = GFX_evt_india_rural_scene + + is_triggered_only = yes + + option = { + name = EVTOPTA_RoI_149 + hidden_tooltip = { character_event = { id = RoI.150 days = 60 } } + scaled_wealth = -0.1 + } + option = { + name = EVTOPTB_RoI_149 + random_demesne_province = { + limit = { + has_province_flag = thugs + } + add_province_modifier = { + name = thugs_rampant + duration = 3650 + } + } + } +} + +# Send out armed parties? +character_event = { + id = RoI.150 + desc = EVTDESC_RoI_150 + picture = GFX_evt_india_rural_scene + + is_triggered_only = yes + + option = { + name = EVTOPTA_RoI_150 + scaled_wealth = -0.2 + hidden_tooltip = { character_event = { id = RoI.155 days = 60 } } + } + option = { + name = EVTOPTB_RoI_150 + scaled_wealth = -0.1 + hidden_tooltip = { character_event = { id = RoI.151 days = 60 } } + } +} + +# Thug assassin arrives +character_event = { + id = RoI.151 + desc = EVTDESC_RoI_151 + picture = GFX_evt_emissary + + is_triggered_only = yes + + option = { + name = EVTOPTA_RoI_151 + if = { + limit = { + any_courtier = { + ai = yes + at_location = ROOT + prisoner = no + NOT = { trait = incapable } + opinion = { who = ROOT value = 25 } + NOT = { trait = craven } + } + } + random_courtier = { + limit = { + ai = yes + at_location = ROOT + prisoner = no + NOT = { trait = incapable } + opinion = { who = ROOT value = 25 } + NOT = { trait = craven } + } + hidden_tooltip = { character_event = { id = RoI.20152 } } + } + } + if = { + limit = { + NOT = { + any_courtier = { + ai = yes + at_location = ROOT + prisoner = no + NOT = { trait = incapable } + opinion = { who = ROOT value = 25 } + NOT = { trait = craven } + } + } + } + random_courtier = { + limit = { + ai = yes + at_location = ROOT + prisoner = no + NOT = { trait = incapable } + } + hidden_tooltip = { character_event = { id = RoI.20152 } } + } + } + if = { + limit = { + NOT = { + any_courtier = { + ai = yes + at_location = ROOT + prisoner = no + NOT = { trait = incapable } + } + } + } + random_courtier = { + limit = { + ai = yes + at_location = ROOT + NOT = { trait = incapable } + } + hidden_tooltip = { character_event = { id = RoI.20152 } } + } + } + } +} + +# Courtier that will save us from thug assassin +character_event = { + id = RoI.20152 + + hide_window = yes + + is_triggered_only = yes + + immediate = { + FROM = { narrative_event = { id = RoI.152 } } + } +} + +# Thug assassin strikes +narrative_event = { + id = RoI.152 + title = EVTNAME_RoI_152 + desc = EVTDESC_RoI_152 + picture = GFX_evt_emissary + + is_triggered_only = yes + + option = { + name = EVTOPTA_RoI_152 + FROM = { + death = { + death_reason = death_murder + } + } + hidden_tooltip = { character_event = { id = RoI.153 } } + } +} + +# Hold council after assassination attempt - what to do? +character_event = { + id = RoI.153 + desc = EVTDESC_RoI_153 + picture = GFX_evt_council + + is_triggered_only = yes + + option = { + name = EVTOPTA_RoI_153 + hidden_tooltip = { character_event = { id = RoI.155 } } + } + option = { + name = EVTOPTB_RoI_153 + prestige = -100 + if = { + limit = { NOR = { trait = craven trait = berserker } } + add_trait = craven + } + random_demesne_province = { + limit = { + has_province_flag = thugs + } + add_province_modifier = { + name = thugs_rampant + duration = 3650 + } + } + } +} + +# Riders haven't found thugs - what to do? +character_event = { + id = RoI.155 + desc = EVTDESC_RoI_155 + picture = GFX_evt_india_rural_scene + + is_triggered_only = yes + + option = { + name = EVTOPTA_RoI_155 + scaled_wealth = -0.4 + hidden_tooltip = { + random_demesne_province = { + limit = { + has_province_flag = thugs + } + province_event = { id = RoI.20156 } + } + } + } + option = { + name = EVTOPTB_RoI_155 + random_demesne_province = { + limit = { + has_province_flag = thugs + } + add_province_modifier = { + name = thugs_rampant + duration = 3650 + } + } + } +} + +province_event = { + id = RoI.20156 + + hide_window = yes + + is_triggered_only = yes + + immediate = { + FROM = { + character_event = { id = RoI.156 } + } + } +} + +# Thugs have left, not our problem anymore +character_event = { + id = RoI.156 + desc = EVTDESC_RoI_156 + picture = GFX_evt_india_rural_scene + + is_triggered_only = yes + + option = { + name = EVTOPTA_RoI_156 + } +} + +########################################### +# Elephants # +########################################### + +# Peasants need elephants for clearing forest +character_event = { + id = RoI.157 + desc = EVTDESC_RoI_157 + picture = GFX_evt_india_rural_scene + + is_triggered_only = yes + + ai = no + only_capable = yes + prisoner = no + + trigger = { + has_dlc = "Rajas of India" + capital_scope = { + region = world_india + } + } + + option = { + name = EVTOPTA_RoI_157 + scaled_wealth = -0.2 + prestige = 50 + } + option = { + name = EVTOPTB_RoI_157 + scaled_wealth = -0.1 + prestige = 25 + } + option = { + name = EVTOPTC_RoI_157 + random_demesne_province = { + add_province_modifier = { + name = neglected_development + duration = 1085 + } + } + } +} + +# Crazed elephant runs amuck +character_event = { + id = RoI.158 + desc = EVTDESC_RoI_158 + picture = GFX_evt_india_rural_scene + + is_triggered_only = yes + + ai = no + only_capable = yes + prisoner = no + + trigger = { + has_dlc = "Rajas of India" + NOT = { has_character_flag = crazed_elephant } + capital_scope = { + OR = { + region = world_india + duchy = { title = d_sistan } + duchy = { title = d_baluchistan } + duchy = { title = d_kerman } + } + } + } + + immediate = { + set_character_flag = crazed_elephant + } + + option = { + name = EVTOPTA_RoI_158 + hidden_tooltip = { + random_list = { + 50 = { character_event = { id = RoI.159 } } + 50 = { character_event = { id = RoI.160 } } + } + } + } + option = { + name = EVTOPTB_RoI_158 + hidden_tooltip = { + random_list = { + 50 = { character_event = { id = RoI.161 } } + 50 = { character_event = { id = RoI.162 } } + } + } + } +} + +# Crazed elephant is killed by soldiers in a messy way +character_event = { + id = RoI.159 + desc = EVTDESC_RoI_159 + picture = GFX_evt_india_rural_scene + + is_triggered_only = yes + + option = { + name = EVTOPTA_RoI_159 + capital_scope = { + add_province_modifier = { + name = peasants_upset + duration = 1460 + } + } + } +} + +# Crazed elephant is killed by soldiers in a discrete way +character_event = { + id = RoI.160 + desc = EVTDESC_RoI_160 + picture = GFX_evt_india_rural_scene + + is_triggered_only = yes + + option = { + name = EVTOPTA_RoI_160 + capital_scope = { + add_province_modifier = { + name = peasants_protected + duration = 1460 + } + } + } +} + +# Crazed elephant kills people, then escapes +character_event = { + id = RoI.161 + desc = EVTDESC_RoI_161 + picture = GFX_evt_india_rural_scene + + is_triggered_only = yes + + option = { + name = EVTOPTA_RoI_161 + scaled_wealth = -0.1 + prestige = -20 + capital_scope = { + add_province_modifier = { + name = peasants_upset + duration = 1460 + } + } + } +} + +# Crazed elephant is captured +character_event = { + id = RoI.162 + desc = EVTDESC_RoI_162 + picture = GFX_evt_india_rural_scene + + is_triggered_only = yes + + option = { + name = EVTOPTA_RoI_162 + capital_scope = { + add_province_modifier = { + name = peasants_protected + duration = 1460 + } + } + } +} + +# Temple elephants are dying +character_event = { + id = RoI.163 + desc = EVTDESC_RoI_163 + picture = GFX_evt_india_temple + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + ai = no + only_capable = yes + prisoner = no + religion_group = indian_group + + trigger = { + has_dlc = "Rajas of India" + capital_scope = { + region = world_india + } + } + + option = { + name = EVTOPTA_RoI_163 + add_character_modifier = { + name = annoyed_religious + duration = 1460 + } + } + option = { + name = EVTOPTB_RoI_163 + scaled_wealth = -0.2 + add_character_modifier = { + name = religious_appreciate + duration = 1460 + } + capital_scope = { + add_province_modifier = { + name = peasants_protected + duration = 1460 + } + } + } +} + +########################################### +# The White Elephant # +########################################### + +# Determine who gives player the white elephant +character_event = { + id = RoI.20164 + + hide_window = yes + + is_triggered_only = yes + + ai = no + only_capable = yes + prisoner = no + religion_group = indian_group + + trigger = { + has_dlc = "Rajas of India" + NOT = { has_global_flag = white_elephant } + NOT = { primary_title = { tier = COUNT } } + capital_scope = { + region = world_india + } + OR = { + AND = { + independent = no + liege = { ai = yes } + } + AND = { + independent = yes + any_independent_ruler = { + ai = yes + religion_group = indian_group + capital_scope = { + region = world_india + } + } + } + } + } + + immediate = { + set_global_flag = white_elephant + if = { + limit = { + independent = no + liege = { ai = yes } + } + liege = { + character_event = { id = RoI.20165 } + } + } + if = { + limit = { + independent = yes + } + random_independent_ruler = { + limit = { + ai = yes + religion_group = indian_group + capital_scope = { + region = world_india + } + } + character_event = { id = RoI.20165 } + } + } + } +} + +# Giver of white elephant +character_event = { + id = RoI.20165 + + hide_window = yes + + is_triggered_only = yes + + immediate = { + set_character_flag = gave_white_elephant + FROM = { character_event = { id = RoI.164 } } + } +} + +# White elephant is offered as a gift +character_event = { + id = RoI.164 + desc = EVTDESC_RoI_164 + picture = GFX_evt_emissary + + is_triggered_only = yes + + option = { + name = EVTOPTA_RoI_164 + add_friend = FROM + hidden_tooltip = { character_event = { id = RoI.165 days = 5 } } + } + option = { + name = EVTOPTB_RoI_164 + add_rival = FROM + FROM = { + opinion = { + modifier = grievously_offended + who = ROOT + years = 10 + } + } + } +} + +# White elephant needs a suitable stable +character_event = { + id = RoI.165 + desc = EVTDESC_RoI_165 + picture = GFX_evt_india_temple + + is_triggered_only = yes + + option = { + name = EVTOPTA_RoI_165 + scaled_wealth = -0.4 + set_character_flag = white_elephant_nice_stable + hidden_tooltip = { character_event = { id = RoI.166 days = 60 } } + } + option = { + name = EVTOPTB_RoI_165 + scaled_wealth = -0.05 + add_rival = FROMFROM + FROMFROM = { + opinion = { + modifier = grievously_offended + who = ROOT + years = 10 + } + } + hidden_tooltip = { character_event = { id = RoI.166 days = 60 } } + } +} + +# Weird local Ganesha cult steals white elephant's droppings +character_event = { + id = RoI.166 + desc = EVTDESC_RoI_166 + picture = GFX_evt_hindu_temple_interior + + is_triggered_only = yes + + option = { + name = EVTOPTA_RoI_166 + scaled_wealth = -0.4 + if = { + limit = { NOT = { trait = cruel } } + add_trait = cruel + } + hidden_tooltip = { character_event = { id = RoI.167 days = 60 } } + } + option = { + name = EVTOPTB_RoI_166 + if = { + limit = { NOT = { trait = charitable } } + add_trait = charitable + } + hidden_tooltip = { character_event = { id = RoI.167 days = 60 } } + } + option = { + name = EVTOPTC_RoI_166 + random = { + chance = 30 + change_stewardship = 1 + } + hidden_tooltip = { character_event = { id = RoI.167 days = 60 } } + } +} + +# Elephant is bored and trashes stable +character_event = { + id = RoI.167 + desc = EVTDESC_RoI_167 + picture = GFX_evt_india_temple + + is_triggered_only = yes + + option = { + name = EVTOPTA_RoI_167 + if = { + limit = { has_character_flag = white_elephant_nice_stable } + scaled_wealth = -0.3 + } + if = { + limit = { NOT = { has_character_flag = white_elephant_nice_stable } } + scaled_wealth = -0.03 + } + hidden_tooltip = { character_event = { id = RoI.168 days = 60 } } + } + option = { + name = EVTOPTB_RoI_167 + any_playable_ruler = { + limit = { has_character_flag = gave_white_elephant } + add_rival = ROOT + opinion = { + modifier = grievously_offended + who = ROOT + years = 10 + } + } + } + option = { + name = EVTOPTC_RoI_167 + scaled_wealth = 0.2 + any_playable_ruler = { + limit = { has_character_flag = gave_white_elephant } + add_rival = ROOT + opinion = { + modifier = grievously_offended + who = ROOT + years = 10 + } + } + } + option = { + name = EVTOPTD_RoI_167 + hidden_tooltip = { character_event = { id = RoI.169 } } + } +} + +# Elephant escapes and tries to mate with other elephants +character_event = { + id = RoI.168 + desc = EVTDESC_RoI_168 + picture = GFX_evt_india_rural_scene + + is_triggered_only = yes + + option = { + name = EVTOPTA_RoI_168 + scaled_wealth = -0.05 + hidden_tooltip = { character_event = { id = RoI.177 days = 60 } } + } + option = { + name = EVTOPTB_RoI_168 + any_playable_ruler = { + limit = { has_character_flag = gave_white_elephant } + add_rival = ROOT + opinion = { + modifier = grievously_offended + who = ROOT + years = 10 + } + } + } + option = { + name = EVTOPTC_RoI_168 + wealth = 30 + if = { + limit = { religion_group = indian_group } + piety = -100 + } + custom_tooltip = { text = sacrilege_tooltip } + hidden_tooltip = { + any_realm_character = { + limit = { religion_group = indian_group } + opinion = { + who = ROOT + years = 3 + modifier = opinion_sacrilege + } + } + any_playable_ruler = { + limit = { religion_group = indian_group } + opinion = { + who = ROOT + years = 3 + modifier = opinion_sacrilege + } + } + } + any_playable_ruler = { + limit = { has_character_flag = gave_white_elephant } + add_rival = ROOT + opinion = { + modifier = grievously_offended + who = ROOT + years = 10 + } + } + } + option = { + name = EVTOPTD_RoI_168 + hidden_tooltip = { character_event = { id = RoI.169 } } + } +} + +# Killing the white elephant +character_event = { + id = RoI.169 + desc = EVTDESC_RoI_169 + picture = GFX_evt_throne_room + + is_triggered_only = yes + + option = { + name = EVTOPTA_RoI_169 + hidden_tooltip = { + random_list = { + 50 = { character_event = { id = RoI.170 } } + 50 = { character_event = { id = RoI.171 } } + } + } + } + option = { + name = EVTOPTB_RoI_169 + hidden_tooltip = { + random_list = { + 50 = { character_event = { id = RoI.172 days = 10 } } + 50 = { character_event = { id = RoI.173 days = 10 } } + } + } + } + option = { + name = EVTOPTC_RoI_169 + hidden_tooltip = { + random_list = { + 50 = { character_event = { id = RoI.174 days = 3 } } + 50 = { character_event = { id = RoI.175 days = 3 } } + } + } + } + option = { + name = EVTOPTD_RoI_169 + hidden_tooltip = { character_event = { id = RoI.176 } } + } +} + +# Poisons elephant and gets away with it +character_event = { + id = RoI.170 + desc = EVTDESC_RoI_170 + picture = GFX_evt_india_temple + + is_triggered_only = yes + + option = { + name = EVTOPTA_RoI_170 + random = { + chance = 20 + change_intrigue = 1 + } + } +} + +# Poisons elephant but is found out +character_event = { + id = RoI.171 + desc = EVTDESC_RoI_171 + picture = GFX_evt_bad_news + + is_triggered_only = yes + + option = { + name = EVTOPTA_RoI_171 + any_playable_ruler = { + limit = { has_character_flag = gave_white_elephant } + add_rival = ROOT + opinion = { + modifier = grievously_offended + who = ROOT + years = 10 + } + } + custom_tooltip = { text = sacrilege_tooltip } + hidden_tooltip = { + any_realm_character = { + limit = { religion_group = indian_group } + opinion = { + who = ROOT + years = 3 + modifier = opinion_sacrilege + } + } + any_playable_ruler = { + limit = { religion_group = indian_group } + opinion = { + who = ROOT + years = 3 + modifier = opinion_sacrilege + } + } + } + } +} + +# Starves elephant to death and gets away with it +character_event = { + id = RoI.172 + desc = EVTDESC_RoI_172 + picture = GFX_evt_india_temple + + is_triggered_only = yes + + option = { + name = EVTOPTA_RoI_172 + change_intrigue = 1 + } +} + +# Starves elephant to death but is found out +character_event = { + id = RoI.173 + desc = EVTDESC_RoI_173 + picture = GFX_evt_bad_news + + is_triggered_only = yes + + option = { + name = EVTOPTA_RoI_173 + any_playable_ruler = { + limit = { has_character_flag = gave_white_elephant } + add_rival = ROOT + opinion = { + modifier = grievously_offended + who = ROOT + years = 10 + } + } + custom_tooltip = { text = sacrilege_tooltip } + hidden_tooltip = { + any_realm_character = { + limit = { religion_group = indian_group } + opinion = { + who = ROOT + years = 3 + modifier = opinion_sacrilege + } + } + any_playable_ruler = { + limit = { religion_group = indian_group } + opinion = { + who = ROOT + years = 3 + modifier = opinion_sacrilege + } + } + } + } +} + +# Pushes elephant over cliff and gets away with it +character_event = { + id = RoI.174 + desc = EVTDESC_RoI_174 + picture = GFX_evt_india_temple + + is_triggered_only = yes + + option = { + name = EVTOPTA_RoI_174 + change_intrigue = 1 + } +} + +# Pushes elephant over cliff but is found out +character_event = { + id = RoI.175 + desc = EVTDESC_RoI_175 + picture = GFX_evt_bad_news + + is_triggered_only = yes + + option = { + name = EVTOPTA_RoI_175 + any_playable_ruler = { + limit = { has_character_flag = gave_white_elephant } + add_rival = ROOT + opinion = { + modifier = grievously_offended + who = ROOT + years = 10 + } + } + custom_tooltip = { text = sacrilege_tooltip } + hidden_tooltip = { + any_realm_character = { + limit = { religion_group = indian_group } + opinion = { + who = ROOT + years = 3 + modifier = opinion_sacrilege + } + } + any_playable_ruler = { + limit = { religion_group = indian_group } + opinion = { + who = ROOT + years = 3 + modifier = opinion_sacrilege + } + } + } + } +} + +# Elephant is killed with lances and dies, no attempt at subterfuge +character_event = { + id = RoI.176 + desc = EVTDESC_RoI_176 + picture = GFX_evt_india_temple + + is_triggered_only = yes + + option = { + name = EVTOPTA_RoI_176 + any_playable_ruler = { + limit = { has_character_flag = gave_white_elephant } + add_rival = ROOT + opinion = { + modifier = grievously_offended + who = ROOT + years = 10 + } + } + custom_tooltip = { text = sacrilege_tooltip } + hidden_tooltip = { + any_realm_character = { + limit = { religion_group = indian_group } + opinion = { + who = ROOT + years = 3 + modifier = opinion_sacrilege + } + } + any_playable_ruler = { + limit = { religion_group = indian_group } + opinion = { + who = ROOT + years = 3 + modifier = opinion_sacrilege + } + } + } + } +} + +# Elephant is alive and has calmed down now. Happy ending. +character_event = { + id = RoI.177 + desc = EVTDESC_RoI_177 + picture = GFX_evt_india_temple + + is_triggered_only = yes + + option = { + name = EVTOPTA_RoI_177 + prestige = 10 + } +} + +########################################### +# Levitating yogi # +########################################### + +# Hears of levitating yogi +character_event = { + id = RoI.193 + desc = EVTDESC_RoI_193 + picture = GFX_evt_india_temple + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + ai = no + min_age = 16 + + trigger = { + has_dlc = "Rajas of India" + in_command = no + capital_scope = { region = world_india } + NOT = { is_inaccessible_trigger = yes } + } + + option = { + name = EVTOPTA_RoI_193 + hidden_tooltip = { character_event = { id = RoI.194 } } + } + option = { + name = EVTOPTB_RoI_193 + trigger = { + NOT = { + trait = zealous + religion_group = indian_group + } + } + } +} + + +# Arrives and sees yogi +character_event = { + id = RoI.194 + desc = EVTDESC_RoI_194 + picture = GFX_evt_bishop + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + option = { + name = EVTOPTA_RoI_194 + piety = 5 + } + option = { + name = EVTOPTB_RoI_194 + scaled_wealth = -0.1 + piety = 30 + } + option = { + name = EVTOPTC_RoI_194 + hidden_tooltip = { character_event = { id = RoI.196 } } + } + option = { + name = EVTOPTD_RoI_194 + hidden_tooltip = { character_event = { id = RoI.198 } } + } +} + +# Leaves, pondering yogis +character_event = { + id = RoI.195 + desc = EVTDESC_RoI_195 + picture = GFX_evt_bishop + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + option = { + name = EVTOPTA_RoI_195 + } +} + +# Pokes yogi +character_event = { + id = RoI.196 + desc = EVTDESC_RoI_196 + picture = GFX_evt_bishop + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + option = { + name = EVTOPTA_RoI_196 + hidden_tooltip = { character_event = { id = RoI.197 } } + } + option = { + name = EVTOPTB_RoI_196 + hidden_tooltip = { character_event = { id = RoI.195 } } + } + option = { + name = EVTOPTC_RoI_196 + hidden_tooltip = { character_event = { id = RoI.198 } } + } +} + +# Pokes yogi AGAIN +character_event = { + id = RoI.197 + desc = EVTDESC_RoI_197 + picture = GFX_evt_bishop + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + option = { + name = EVTOPTA_RoI_197 + prestige = 20 + capital_scope = { + add_province_modifier = { + name = peasants_upset + duration = 1460 + } + } + } +} + +# Shoves yogi +character_event = { + id = RoI.198 + desc = EVTDESC_RoI_198 + picture = GFX_evt_bishop + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + option = { + name = EVTOPTA_RoI_198 + prestige = 40 + capital_scope = { + add_province_modifier = { + name = peasants_upset + duration = 1460 + } + } + if = { + limit = { + NOT = { trait = cynical } + } + add_trait = cynical + } + } +} + +########################################### +# Marco Polo # +########################################### + +# The Polos arrive +character_event = { + id = RoI.500 + desc = EVTDESC_RoI_500 + picture = GFX_evt_throne_room + + is_triggered_only = yes + + ai = no + only_capable = yes + prisoner = no + + trigger = { + has_dlc = "Rajas of India" + is_adult = yes + NOT = { has_global_flag = marco_polo_persia } + year = 1200 + capital_scope = { + region = world_persia + } + } + + immediate = { + set_global_flag = marco_polo_persia + } + + option = { + name = EVTOPTA_RoI_500 + hidden_tooltip = { character_event = { id = RoI.501 } } + } + option = { + name = EVTOPTB_RoI_500 + } +} + +# Help the Polos? +character_event = { + id = RoI.501 + desc = EVTDESC_RoI_501 + picture = GFX_evt_emissary + + is_triggered_only = yes + + option = { + name = EVTOPTA_RoI_501 + scaled_wealth = -0.05 + prestige = 5 + hidden_tooltip = { character_event = { id = RoI.502 } } + } + option = { + name = EVTOPTB_RoI_501 + scaled_wealth = -0.1 + prestige = 10 + set_character_flag = helped_marco_polo_lots + hidden_tooltip = { character_event = { id = RoI.502 } } + } + option = { + name = EVTOPTC_RoI_501 + hidden_tooltip = { character_event = { id = RoI.503 } } + } +} + +# Helped the Polos +character_event = { + id = RoI.502 + desc = EVTDESC_RoI_502 + picture = GFX_evt_carriage + + is_triggered_only = yes + + option = { + name = EVTOPTA_RoI_502 + hidden_tooltip = { character_event = { id = RoI.504 days = 4000 } } + } +} + +# Didn't help the Polos +character_event = { + id = RoI.503 + desc = EVTDESC_RoI_503 + picture = GFX_evt_carriage + + is_triggered_only = yes + + option = { + name = EVTOPTA_RoI_503 + } +} + +# The Polos return +character_event = { + id = RoI.504 + desc = EVTDESC_RoI_504 + picture = GFX_evt_emissary + + is_triggered_only = yes + + option = { + name = EVTOPTA_RoI_504 + trigger = { + has_character_flag = helped_marco_polo_lots + } + scaled_wealth = 0.3 + prestige = 50 + change_learning = 1 + } + option = { + name = EVTOPTA_RoI_504 + trigger = { + NOT = { has_character_flag = helped_marco_polo_lots } + } + scaled_wealth = 0.1 + prestige = 20 + change_learning = 1 + } +} + +########################################### +# Minor events # +########################################### + +# Greek troops not wanting to cross the Indus +character_event = { + id = RoI.146 + desc = EVTDESC_RoI_146 + picture = GFX_evt_large_army + + ai = no + culture = greek + has_dlc = "Rajas of India" + war = yes + + trigger = { + in_command = yes + NOT = { has_character_flag = crossing_indus } + NOT = { + any_realm_province = { + region = world_india + } + } + location = { + region = world_india + } + any_current_enemy = { + primary_title = { + capital_scope = { + region = world_india + } + } + } + } + + mean_time_to_happen = { + days = 10 + } + + option = { + name = EVTOPTA_RoI_146 + trigger = { + NOT = { trait = inspiring_leader } + } + add_character_modifier = { + name = troops_war_weary + duration = 730 + } + set_character_flag = crossing_indus + } + option = { + name = EVTOPTB_RoI_146 + tooltip_info = inspiring_leader + trigger = { + trait = inspiring_leader + } + prestige = 30 + set_character_flag = crossing_indus + } +} + +# Kung fu monks +character_event = { + id = RoI.180 + desc = EVTDESC_RoI_180 + picture = GFX_evt_meditating_in_temple + + is_triggered_only = yes + + ai = no + + trigger = { + has_dlc = "Rajas of India" + capital_scope = { + region = world_india + } + NOT = { is_inaccessible_trigger = yes } + } + + option = { + name = EVTOPTA_RoI_180 + random = { + chance = 30 + change_martial = 1 + } + } + option = { + name = EVTOPTB_RoI_180 + trigger = { + NOT = { + trait = paranoid + trait = wroth + } + } + if = { + limit = { trait = paranoid } + random = { + chance = 50 + add_trait = wroth + hidden_tooltip = { + character_event = { + id = 38254 #Notify Wroth + } + } + } + } + if = { + limit = { NOT = { trait = paranoid } } + random = { + chance = 50 + add_trait = paranoid + hidden_tooltip = { + character_event = { + id = 38275 #Notify Paranoid + } + } + } + } + } +} + +# U-boat up the Indus +character_event = { + id = RoI.190 + desc = EVTDESC_RoI_190 + picture = GFX_evt_emissary + + is_triggered_only = yes + + ai = no + only_capable = yes + prisoner = no + + trigger = { + has_dlc = "Rajas of India" + NOT = { has_global_flag = indus_uboat } + in_command = no + capital_scope = { + NOT = { + distance = { + where = 1333 # Siwistan + value = 100 # Means we live fairly near the lower Indus + } + } + } + NOT = { is_inaccessible_trigger = yes } + } + + immediate = { + set_global_flag = indus_uboat + } + + option = { + name = EVTOPTA_RoI_190 + wealth = -20 + hidden_tooltip = { character_event = { id = RoI.191 } } + } + option = { + name = EVTOPTB_RoI_190 + } +} + +# U-boat sails +character_event = { + id = RoI.191 + desc = EVTDESC_RoI_191 + picture = GFX_evt_india_temple + + is_triggered_only = yes + + option = { + name = EVTOPTA_RoI_191 + random = { + chance = 30 + change_learning = 1 + } + } +} + +# Tolerant character making Indian friend +character_event = { + id = RoI.400 + desc = EVTDESC_RoI_400 + picture = GFX_evt_courtiers_talking + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + only_rulers = yes + only_capable = yes + prisoner = no + min_age = 16 + + trigger = { + has_dlc = "Rajas of India" + trait = sympathy_indian + any_realm_character = { + religion_group = indian_group + NOT = { is_friend = ROOT } + } + } + + option = { + name = EVTOPTA_RoI_400 + random_realm_character = { + limit = { + religion_group = indian_group + } + add_friend = ROOT + } + } +} + +# Visit Nalanda University? +character_event = { + id = RoI.401 + desc = EVTDESC_RoI_401 + picture = GFX_evt_india_temple + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + ai = no + prisoner = no + only_capable = yes + min_age = 16 + + trigger = { + has_dlc = "Rajas of India" + prestige = 100 + in_command = no + capital_scope = { + region = world_india + } + OR = { + religion_group = indian_group + trait = sympathy_indian + } + NOT = { has_character_flag = do_not_disturb } + NOT = { is_inaccessible_trigger = yes } + } + + option = { + name = EVTOPTA_RoI_401 + scaled_wealth = -0.05 + set_character_flag = do_not_disturb + hidden_tooltip = { narrative_event = { id = RoI.402 days = 20 } } + } + option = { + name = EVTOPTB_RoI_401 + piety = -5 + } +} + +# Visiting Nalanda University +narrative_event = { + id = RoI.402 + title = EVTNAME_RoI_402 + desc = EVTDESC_RoI_402 + picture = GFX_evt_india_temple + border = GFX_event_narrative_frame_religion + + is_triggered_only = yes + + option = { + name = EVTOPTA_RoI_402 + random = { + chance = 50 + change_stewardship = 1 + } + clr_character_flag = do_not_disturb + } + option = { + name = EVTOPTB_RoI_402 + if = { + limit = { + NOT = { lifestyle_traits = 1 } + NOT = { has_dlc = "Way of Life" } + } + random = { + chance = 50 + add_trait = scholar + } + } + random = { + chance = 30 + change_learning = 1 + } + clr_character_flag = do_not_disturb + } + option = { + name = EVTOPTC_RoI_402 + trigger = { + NOT = { trait = cynical } + } + piety = 30 + if = { + limit = { NOT = { trait = zealous } } + random = { + chance = 50 + add_trait = zealous + hidden_tooltip = { + character_event = { + id = 38269 #Notify Zealous + } + } + } + } + } +} + +# Visit the Ganges? +character_event = { + id = RoI.403 + desc = EVTDESC_RoI_403 + picture = GFX_evt_india_temple + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + ai = no + only_capable = yes + prisoner = no + religion = hindu + + trigger = { + has_dlc = "Rajas of India" + in_command = no + NOT = { has_character_flag = do_not_disturb } + NOT = { is_inaccessible_trigger = yes } + capital_scope = { + NOT = { + distance = { + where = 1319 # Bikrampur + value = 100 # Means we live fairly near the lower Ganges + } + } + } + } + + option = { + name = EVTOPTA_RoI_403 + clr_character_flag = do_not_disturb + scaled_wealth = -0.1 + hidden_tooltip = { character_event = { id = RoI.404 days = 20 } } + } + option = { + name = EVTOPTB_RoI_403 + piety = -5 + } +} + +# Visiting Ganges +character_event = { + id = RoI.404 + desc = EVTDESC_RoI_404 + picture = GFX_evt_india_temple + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + option = { + name = EVTOPTA_RoI_404 + piety = 20 + add_character_modifier = { + name = religious_appreciate + duration = 365 + } + clr_character_flag = do_not_disturb + } +} + +# Local Hindu temple asks for donations +character_event = { + id = RoI.410 + desc = EVTDESC_RoI_410 + picture = GFX_evt_india_temple + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + ai = no + only_capable = yes + prisoner = no + religion = hindu + + trigger = { + has_dlc = "Rajas of India" + in_command = no + } + + option = { + name = EVTOPTG_RoI_410 + scaled_wealth = -0.1 + piety = 5 + } + option = { + name = EVTOPTA_RoI_410 + trigger = { + has_character_modifier = patron_shiva + } + scaled_wealth = -0.3 + piety = 30 + add_character_modifier = { + name = religious_appreciate + duration = 1460 + } + } + option = { + name = EVTOPTB_RoI_410 + trigger = { + has_character_modifier = patron_vishnu + } + scaled_wealth = -0.3 + piety = 30 + add_character_modifier = { + name = religious_appreciate + duration = 1460 + } + } + option = { + name = EVTOPTC_RoI_410 + trigger = { + has_character_modifier = patron_brahma + } + scaled_wealth = -0.3 + piety = 30 + add_character_modifier = { + name = religious_appreciate + duration = 1460 + } + } + option = { + name = EVTOPTD_RoI_410 + trigger = { + has_character_modifier = patron_kali + } + scaled_wealth = -0.3 + piety = 30 + add_character_modifier = { + name = religious_appreciate + duration = 1460 + } + } + option = { + name = EVTOPTE_RoI_410 + trigger = { + has_character_modifier = patron_ganesha + } + scaled_wealth = -0.3 + piety = 30 + add_character_modifier = { + name = religious_appreciate + duration = 1460 + } + } + option = { + name = EVTOPTF_RoI_410 + trigger = { + has_character_modifier = patron_ganga + } + scaled_wealth = -0.3 + piety = 30 + add_character_modifier = { + name = religious_appreciate + duration = 1460 + } + } + option = { + name = EVTOPTH_RoI_410 + add_character_modifier = { + name = annoyed_religious + duration = 1460 + } + } +} + +# Buddhist or Jain monks ask for donations +character_event = { + id = RoI.411 + desc = EVTDESC_RoI_411 + picture = GFX_evt_india_temple + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + ai = no + only_capable = yes + prisoner = no + + trigger = { + has_dlc = "Rajas of India" + in_command = no + OR = { + religion = buddhist + religion = jain + } + } + + option = { + name = EVTOPTA_RoI_411 + scaled_wealth = -0.3 + piety = 30 + add_character_modifier = { + name = religious_appreciate + duration = 1460 + } + } + option = { + name = EVTOPTB_RoI_411 + scaled_wealth = -0.1 + piety = 10 + } + option = { + name = EVTOPTC_RoI_411 + add_character_modifier = { + name = annoyed_religious + duration = 1460 + } + } +} + +# Non-Indian merchants upset about naked Jain ascetics +character_event = { + id = RoI.412 + desc = EVTDESC_RoI_412 + picture = GFX_evt_meditating_in_temple + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + ai = no + only_capable = yes + prisoner = no + + trigger = { + has_dlc = "Rajas of India" + in_command = no + NOT = { religion_group = indian_group } + any_demesne_province = { + NOT = { religion_group = indian_group } + } + OR = { + any_realm_province = { + religion = jain + } + any_demesne_province = { + any_neighbor_province = { + religion = jain + } + } + } + } + + option = { + name = EVTOPTA_RoI_412 + random_demesne_province = { + limit = { + NOT = { religion_group = indian_group } + } + } + } + option = { + name = EVTOPTB_RoI_412 + trigger = { + diplomacy = 12 + } + tooltip_info = diplomacy + custom_tooltip = { text = realm_jains_upset } + hidden_tooltip = { + any_realm_character = { + limit = { religion = jain } + opinion = { + who = ROOT + years = 4 + modifier = opinion_upset + } + } + } + } + option = { + name = EVTOPTC_RoI_412 + custom_tooltip = { text = sacrilege_tooltip } + hidden_tooltip = { + any_realm_character = { + limit = { religion = jain } + opinion = { + who = ROOT + years = 4 + modifier = opinion_sacrilege + } + } + any_playable_ruler = { + limit = { religion = jain } + opinion = { + who = ROOT + years = 4 + modifier = opinion_sacrilege + } + } + } + } +} + +########################################### +# Low religion authority events # +########################################### + +# Temple corruption +character_event = { + id = RoI.3500 + + hide_window = yes + + religion_group = indian_group + + is_triggered_only = yes + + trigger = { + NOT = { religion_authority = 0.3 } + any_demesne_province = { + religion = ROOT + NOT = { has_province_modifier = temple_corruption } + NOT = { has_province_modifier = local_death_cult } + NOT = { has_province_modifier = religious_tension } + } + } + + immediate = { + random_demesne_province = { + limit = { + religion = ROOT + NOT = { has_province_modifier = temple_corruption } + NOT = { has_province_modifier = local_death_cult } + NOT = { has_province_modifier = religious_tension } + } + province_event = { id = RoI.3501 } + } + } +} + +# Province bounce event +province_event = { + id = RoI.3501 + + hide_window = yes + + is_triggered_only = yes + + immediate = { + FROM = { + character_event = { id = RoI.3505 } + } + } +} + +character_event = { + id = RoI.3505 + desc = EVTDESC_RoI_3505 + picture = GFX_evt_india_temple + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + option = { + name = EVTOPTA_RoI_3505 + FROM = { + add_province_modifier = { + name = temple_corruption + duration = -1 + } + } + } +} + +# Temple corruption removed - Indian +character_event = { + id = RoI.3506 + + hide_window = yes + + religion_group = indian_group + + is_triggered_only = yes + + trigger = { + religion_authority = 0.5 + any_demesne_province = { + religion = ROOT + has_province_modifier = temple_corruption + } + } + + immediate = { + random_demesne_province = { + limit = { + religion = ROOT + has_province_modifier = temple_corruption + } + province_event = { id = RoI.3507 } + } + } +} + +# Province bounce event +province_event = { + id = RoI.3507 + + hide_window = yes + + is_triggered_only = yes + + immediate = { + FROM = { + character_event = { id = RoI.3509 } + } + } +} + +character_event = { + id = RoI.3509 + desc = EVTDESC_RoI_3509 + picture = GFX_evt_india_temple + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + option = { + name = EVTOPTA_RoI_3509 + FROM = { + remove_province_modifier = temple_corruption + } + } +} + +# Local death cult +character_event = { + id = RoI.3510 + + hide_window = yes + + religion_group = indian_group + + is_triggered_only = yes + + trigger = { + NOT = { religion_authority = 0.3 } + any_demesne_province = { + religion = ROOT + NOT = { has_province_modifier = temple_corruption } + NOT = { has_province_modifier = local_death_cult } + NOT = { has_province_modifier = religious_tension } + } + } + + immediate = { + random_demesne_province = { + limit = { + religion = ROOT + NOT = { has_province_modifier = temple_corruption } + NOT = { has_province_modifier = local_death_cult } + NOT = { has_province_modifier = religious_tension } + } + province_event = { id = RoI.3511 } + } + } +} + +# Province bounce event +province_event = { + id = RoI.3511 + + hide_window = yes + + is_triggered_only = yes + + immediate = { + FROM = { + character_event = { id = RoI.3515 } + } + } +} + +character_event = { + id = RoI.3515 + desc = EVTDESC_RoI_3515 + picture = GFX_evt_india_temple + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + option = { + name = EVTOPTA_RoI_3515 + FROM = { + add_province_modifier = { + name = local_death_cult + duration = -1 + } + } + } +} + +# Local death cult removed - Indian +character_event = { + id = RoI.3516 + + hide_window = yes + + religion_group = indian_group + + is_triggered_only = yes + + trigger = { + religion_authority = 0.5 + any_demesne_province = { + religion = ROOT + has_province_modifier = local_death_cult + } + } + + immediate = { + random_demesne_province = { + limit = { + religion = ROOT + has_province_modifier = local_death_cult + } + province_event = { id = RoI.3517 } + } + } +} + +# Province bounce event +province_event = { + id = RoI.3517 + + hide_window = yes + + is_triggered_only = yes + + immediate = { + FROM = { + character_event = { id = RoI.3519 } + } + } +} + +character_event = { + id = RoI.3519 + desc = EVTDESC_RoI_3519 + picture = GFX_evt_india_temple + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + option = { + name = EVTOPTA_RoI_3519 + FROM = { + remove_province_modifier = local_death_cult + } + } +} + +# Religious tensions +character_event = { + id = RoI.3530 + + hide_window = yes + + religion_group = indian_group + + is_triggered_only = yes + + trigger = { + NOT = { religion_authority = 0.3 } + any_demesne_province = { + religion = ROOT + NOT = { has_province_modifier = temple_corruption } + NOT = { has_province_modifier = local_death_cult } + NOT = { has_province_modifier = religious_tension } + } + } + + immediate = { + random_demesne_province = { + limit = { + religion = ROOT + NOT = { has_province_modifier = temple_corruption } + NOT = { has_province_modifier = local_death_cult } + NOT = { has_province_modifier = religious_tension } + } + province_event = { id = RoI.3531 } + } + } +} + +# Province bounce event +province_event = { + id = RoI.3531 + + hide_window = yes + + is_triggered_only = yes + + immediate = { + FROM = { + character_event = { id = RoI.3535 } + } + } +} + +character_event = { + id = RoI.3535 + desc = EVTDESC_RoI_3535 + picture = GFX_evt_india_temple + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + option = { + name = EVTOPTA_RoI_3535 + FROM = { + add_province_modifier = { + name = religious_tension + duration = 730 + } + } + } +} + +# Religious unrest removed +#character_event = { +# id = RoI.3536 +# +# hide_window = yes +# +# is_triggered_only = yes +# +# trigger = { +# has_dlc = "Rajas of India" +# religion_group = indian_group +# religion_authority = 0.5 +# any_demesne_province = { +# religion = ROOT +# has_province_modifier = religious_tension +# } +# } +# +# immediate = { +# random_demesne_province = { +# limit = { +# religion = ROOT +# has_province_modifier = religious_tension +# } +# province_event = { id = RoI.3537 } +# } +# } +#} + +# Province bounce event +#province_event = { +# id = RoI.3537 +# +# hide_window = yes +# +# is_triggered_only = yes +# +# immediate = { +# FROM = { +# character_event = { id = RoI.3539 } +# } +# } +#} + +#character_event = { +# id = RoI.3539 +# desc = EVTDESC_RoI_3539 +# picture = GFX_evt_india_temple +# border = GFX_event_normal_frame_religion +# +# is_triggered_only = yes +# +# option = { +# name = EVTOPTA_RoI_3539 +# FROM = { +# remove_province_modifier = religious_tension +# } +# } +#} + +# Province converts to other religion! +character_event = { + id = RoI.3520 + + hide_window = yes + + is_triggered_only = yes + + only_playable = yes + religion_group = indian_group + + trigger = { + has_dlc = "Rajas of India" + NOT = { religion_authority = 0.3 } + OR = { + culture_group = dravidian_group + culture_group = indo_aryan_group + } + any_independent_ruler = { + any_realm_province = { + religion_group = indian_group + NOT = { religion = ROOT } + religion_authority = 0.7 + } + } + any_demesne_province = { + religion = ROOT + any_province_holding = { + NOT = { holding_type = nomad } + } + } + } + + immediate = { + random_demesne_province = { + limit = { + religion = ROOT + any_province_holding = { + NOT = { holding_type = nomad } + } + } + province_event = { id = RoI.3521 } + } + } +} + +# Province bounce event +province_event = { + id = RoI.3521 + + hide_window = yes + + is_triggered_only = yes + + immediate = { + if = { + limit = { + any_neighbor_province = { + religion_group = indian_group + NOT = { religion = ROOT } + religion_authority = 0.7 + } + } + random_neighbor_province = { + limit = { + religion_group = indian_group + NOT = { religion = ROOT } + religion_authority = 0.7 + } + ROOT = { + religion = PREV + } + } + FROM = { character_event = { id = RoI.3525 } } + break = yes + } + if = { + limit = { + religion = hindu + NOT = { + any_neighbor_province = { + religion_group = indian_group + NOT = { religion = ROOT } + religion_authority = 0.7 + } + } + } + random_list = { + 10 = { religion = buddhist } + 10 = { religion = jain } + } + FROM = { character_event = { id = RoI.3525 } } + break = yes + } + if = { + limit = { + religion = buddhist + NOT = { + any_neighbor_province = { + religion_group = indian_group + NOT = { religion = ROOT } + religion_authority = 0.7 + } + } + } + random_list = { + 10 = { religion = hindu } + 10 = { religion = jain } + } + FROM = { character_event = { id = RoI.3525 } } + break = yes + } + if = { + limit = { + religion = jain + NOT = { + any_neighbor_province = { + religion_group = indian_group + NOT = { religion = ROOT } + religion_authority = 0.7 + } + } + } + random_list = { + 10 = { religion = buddhist } + 10 = { religion = hindu } + } + FROM = { character_event = { id = RoI.3525 } } + } + } +} + +character_event = { + id = RoI.3525 + desc = EVTDESC_RoI_3525 + picture = GFX_evt_india_temple + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + option = { + name = EVTOPTA_RoI_3535 + tooltip = { FROM = { religion = THIS } } + } +} + +# Temple corruption removed - non-Indian +province_event = { + id = RoI.3550 + + hide_window = yes + + trigger = { + has_province_modifier = temple_corruption + owner = { + NOT = { religion_group = indian_group } + } + } + + mean_time_to_happen = { + days = 1 + } + + immediate = { + remove_province_modifier = temple_corruption + } +} + +# Local death cult removed - non-Indian +province_event = { + id = RoI.3551 + + hide_window = yes + + trigger = { + has_province_modifier = local_death_cult + owner = { + NOT = { religion_group = indian_group } + } + } + + mean_time_to_happen = { + days = 1 + } + + immediate = { + remove_province_modifier = local_death_cult + } +} + +#character_event = { +# id = RoI.3552 +# hide_window = yes + +# religion_group = indian_group +# trigger = { +# OR = { +# religion = hindu +# religion = buddhist +# } +# } + +# is_triggered_only = yes + +# trigger = { + +# } + + +#} diff --git a/LCDA/events/roman_events.txt b/LCDA/events/roman_events.txt new file mode 100644 index 0000000..5dee488 --- /dev/null +++ b/LCDA/events/roman_events.txt @@ -0,0 +1,978 @@ +####################################### +# +# Roman Events +# +# Event ID LoR.1 - LoR.199 reserved +# +####################################### + +# Written by Henrik Eklund + +namespace = LoR + +### Lost Roman Provinces + +# Provincia Syria Palaestina +narrative_event = { + id = LoR.1 + title = EVTNAMELoR.1 + desc = EVTDESCLoR.1 + + picture = GFX_evt_victory_arch_byzantine + + ai = no + religion_group = christian + + trigger = { + has_dlc = "Legacy of Rome" + OR = { + has_landed_title = e_byzantium + has_landed_title = e_roman_empire + } + + NOT = { has_global_flag = syria_palaestina } + completely_controls = d_oultrejourdain ### WARNING: completely_controls is a very demanding trigger. + completely_controls = d_edessa + completely_controls = d_antioch + completely_controls = d_aleppo + completely_controls = d_tripoli + completely_controls = d_syria + completely_controls = d_damascus + completely_controls = d_galilee + completely_controls = d_jerusalem + completely_controls = d_ascalon + } + + mean_time_to_happen = { + days = 1 + } + + option = { + name = EVTOPTALoR.1 + set_global_flag = syria_palaestina + prestige = 100 + } +} + +# Provincia Aegyptus +narrative_event = { + id = LoR.2 + title = EVTNAMELoR.2 + desc = EVTDESCLoR.2 + + picture = GFX_evt_victory_arch_byzantine + + ai = no + religion_group = christian + + trigger = { + has_dlc = "Legacy of Rome" + OR = { + has_landed_title = e_byzantium + has_landed_title = e_roman_empire + } + NOT = { has_global_flag = aegyptus } + completely_controls = d_aswan + completely_controls = d_alexandria + completely_controls = d_damietta + completely_controls = d_cairo + completely_controls = d_sinai + } + + mean_time_to_happen = { + days = 1 + } + + option = { + name = EVTOPTALoR.1 + set_global_flag = aegyptus + prestige = 100 + } +} + +# Provincia Cyrenaica +narrative_event = { + id = LoR.3 + title = EVTNAMELoR.3 + desc = EVTDESCLoR.3 + + picture = GFX_evt_victory_arch_byzantine + + ai = no + religion_group = christian + + trigger = { + has_dlc = "Legacy of Rome" + OR = { + has_landed_title = e_byzantium + has_landed_title = e_roman_empire + } + NOT = { has_global_flag = cyrenaica } + completely_controls = d_cyrenaica + } + + mean_time_to_happen = { + days = 1 + } + + option = { + name = EVTOPTALoR.1 + set_global_flag = cyrenaica + prestige = 100 + } +} + +# Provincia Africa +narrative_event = { + id = LoR.4 + title = EVTNAMELoR.4 + desc = EVTDESCLoR.4 + + picture = GFX_evt_victory_arch_byzantine + + ai = no + religion_group = christian + + trigger = { + has_dlc = "Legacy of Rome" + OR = { + has_landed_title = e_byzantium + has_landed_title = e_roman_empire + } + NOT = { has_global_flag = africa } + completely_controls = d_tripolitania + completely_controls = d_tunis + completely_controls = d_kabylia + } + + mean_time_to_happen = { + days = 1 + } + + option = { + name = EVTOPTALoR.1 + set_global_flag = africa + prestige = 100 + } +} + +# Provincia Illyricum +narrative_event = { + id = LoR.5 + title = EVTNAMELoR.5 + desc = EVTDESCLoR.5 + + picture = GFX_evt_victory_arch_byzantine + + ai = no + religion_group = christian + + trigger = { + has_dlc = "Legacy of Rome" + OR = { + has_landed_title = e_byzantium + has_landed_title = e_roman_empire + } + NOT = { has_global_flag = illyricum } + completely_controls = d_carinthia + completely_controls = d_rashka + completely_controls = d_dioclea + completely_controls = d_slavonia + completely_controls = d_bosnia + completely_controls = d_croatia + completely_controls = d_dalmatia + } + + mean_time_to_happen = { + days = 1 + } + + option = { + name = EVTOPTALoR.1 + set_global_flag = illyricum + prestige = 100 + } +} + +# Provincia Italia +narrative_event = { + id = LoR.6 + title = EVTNAMELoR.6 + desc = EVTDESCLoR.6 + + picture = GFX_evt_victory_arch_byzantine + + ai = no + religion_group = christian + + trigger = { + has_dlc = "Legacy of Rome" + OR = { + has_landed_title = e_byzantium + has_landed_title = e_roman_empire + } + NOT = { has_global_flag = italia } + completely_controls = d_latium + completely_controls = d_venice + completely_controls = d_verona + completely_controls = d_susa + completely_controls = d_lombardia + completely_controls = d_genoa + completely_controls = d_modena + completely_controls = d_ferrara + completely_controls = d_toscana + completely_controls = d_pisa + completely_controls = d_ancona + completely_controls = d_spoleto + completely_controls = d_benevento + completely_controls = d_capua + completely_controls = d_apulia + completely_controls = d_salerno + completely_controls = d_calabria + completely_controls = d_sicily + } + + mean_time_to_happen = { + days = 1 + } + + option = { + name = EVTOPTALoR.1 + set_global_flag = italia + prestige = 100 + } +} + +# Provincia Gallia +narrative_event = { + id = LoR.7 + title = EVTNAMELoR.7 + desc = EVTDESCLoR.7 + + picture = GFX_evt_victory_arch_byzantine + + ai = no + religion_group = christian + + trigger = { + has_dlc = "Legacy of Rome" + OR = { + has_landed_title = e_byzantium + has_landed_title = e_roman_empire + } + NOT = { has_global_flag = gallia } + completely_controls = d_normandy + completely_controls = d_berry + completely_controls = d_anjou + completely_controls = d_orleans + completely_controls = d_champagne + completely_controls = d_valois + completely_controls = d_burgundy + completely_controls = d_aquitaine + completely_controls = d_toulouse + completely_controls = d_gascogne + completely_controls = d_poitou + completely_controls = d_auvergne + completely_controls = d_bourbon + completely_controls = d_brittany + completely_controls = d_provence + completely_controls = d_savoie + completely_controls = d_dauphine + completely_controls = d_upper_burgundy + } + + mean_time_to_happen = { + days = 1 + } + + option = { + name = EVTOPTALoR.1 + set_global_flag = gallia + prestige = 100 + } +} + +# Provincia Germania +narrative_event = { + id = LoR.8 + title = EVTNAMELoR.8 + desc = EVTDESCLoR.8 + + picture = GFX_evt_victory_arch_byzantine + + ai = no + religion_group = christian + + trigger = { + has_dlc = "Legacy of Rome" + OR = { + has_landed_title = e_byzantium + has_landed_title = e_roman_empire + } + NOT = { has_global_flag = germania } + completely_controls = d_mecklemburg + completely_controls = d_brunswick + completely_controls = d_thuringia + completely_controls = d_koln + completely_controls = d_franconia + completely_controls = d_baden + completely_controls = d_swabia + completely_controls = d_luxembourg + completely_controls = d_upper_lorraine + completely_controls = d_lower_lorraine + completely_controls = d_alsace + completely_controls = d_holland + completely_controls = d_gelre + completely_controls = d_brabant + completely_controls = d_flanders + completely_controls = d_pommerania + completely_controls = d_pomeralia + completely_controls = d_saxony + completely_controls = d_brandenburg + completely_controls = d_meissen + completely_controls = d_bavaria + completely_controls = d_osterreich + completely_controls = d_tyrol + } + + mean_time_to_happen = { + days = 1 + } + + option = { + name = EVTOPTALoR.1 + set_global_flag = germania + prestige = 100 + } +} + +# Provincia Britannia +narrative_event = { + id = LoR.9 + title = EVTNAMELoR.9 + desc = EVTDESCLoR.9 + + picture = GFX_evt_victory_arch_byzantine + + ai = no + religion_group = christian + + trigger = { + has_dlc = "Legacy of Rome" + OR = { + has_landed_title = e_byzantium + has_landed_title = e_roman_empire + } + NOT = { has_global_flag = britannia } + completely_controls = d_northumberland + completely_controls = d_lancaster + completely_controls = d_york + completely_controls = d_norfolk + completely_controls = d_bedford + completely_controls = d_hereford + completely_controls = d_gloucester + completely_controls = d_canterbury + completely_controls = d_somerset + completely_controls = d_gwynedd + completely_controls = d_deheubarth + completely_controls = d_cornwall + } + + mean_time_to_happen = { + days = 1 + } + + option = { + name = EVTOPTALoR.1 + set_global_flag = britannia + prestige = 100 + } +} + +# Provincia Hispania +narrative_event = { + id = LoR.10 + title = EVTNAMELoR.10 + desc = EVTDESCLoR.10 + + picture = GFX_evt_victory_arch_byzantine + + ai = no + religion_group = christian + + trigger = { + has_dlc = "Legacy of Rome" + OR = { + has_landed_title = e_byzantium + has_landed_title = e_roman_empire + } + NOT = { has_global_flag = hispania } + completely_controls = d_galicia + completely_controls = d_castilla + completely_controls = d_aragon + completely_controls = d_barcelona + completely_controls = d_valencia + completely_controls = d_mallorca + completely_controls = d_navarra + completely_controls = d_asturias + completely_controls = d_leon + completely_controls = d_porto + completely_controls = d_beja + completely_controls = d_algarve + completely_controls = d_cordoba + completely_controls = d_murcia + completely_controls = d_granada + completely_controls = d_sevilla + completely_controls = d_badajoz + completely_controls = d_toledo + } + + mean_time_to_happen = { + days = 1 + } + + option = { + name = EVTOPTALoR.1 + set_global_flag = hispania + prestige = 100 + } +} + +# Provincia Mauretania +narrative_event = { + id = LoR.11 + title = EVTNAMELoR.11 + desc = EVTDESCLoR.11 + + picture = GFX_evt_victory_arch_byzantine + + ai = no + religion_group = christian + + trigger = { + has_dlc = "Legacy of Rome" + OR = { + has_landed_title = e_byzantium + has_landed_title = e_roman_empire + } + NOT = { has_global_flag = mauretania } + completely_controls = d_marrakech + completely_controls = d_tangiers + completely_controls = d_fes + completely_controls = d_alger + completely_controls = d_tlemcen + } + + mean_time_to_happen = { + days = 1 + } + + option = { + name = EVTOPTALoR.1 + set_global_flag = mauretania + prestige = 100 + } +} + +# Provincia Mesopotamia +narrative_event = { + id = LoR.12 + title = EVTNAMELoR.12 + desc = EVTDESCLoR.12 + + picture = GFX_evt_victory_arch_byzantine + + ai = no + religion_group = christian + + trigger = { + has_dlc = "Legacy of Rome" + OR = { + has_landed_title = e_byzantium + has_landed_title = e_roman_empire + } + NOT = { has_global_flag = mesopotamia } + completely_controls = d_tigris + completely_controls = d_mesopotamia + completely_controls = d_mosul + completely_controls = d_baghdad + } + + mean_time_to_happen = { + days = 1 + } + + option = { + name = EVTOPTALoR.1 + set_global_flag = mesopotamia + prestige = 100 + } +} + +# Provincia Caledonia +narrative_event = { + id = LoR.13 + title = EVTNAMELoR.13 + desc = EVTDESCLoR.13 + + picture = GFX_evt_victory_arch_byzantine + + ai = no + religion_group = christian + + trigger = { + has_dlc = "Legacy of Rome" + OR = { + has_landed_title = e_byzantium + has_landed_title = e_roman_empire + } + NOT = { has_global_flag = caledonia } + completely_controls = d_albany + completely_controls = d_galloway + completely_controls = d_western_isles + completely_controls = d_lothian + completely_controls = d_moray + } + + mean_time_to_happen = { + days = 1 + } + + option = { + name = EVTOPTALoR.1 + set_global_flag = caledonia + prestige = 100 + } +} + +# Provincia Hibernia +narrative_event = { + id = LoR.14 + title = EVTNAMELoR.14 + desc = EVTDESCLoR.14 + + picture = GFX_evt_victory_arch_byzantine + + ai = no + religion_group = christian + + trigger = { + has_dlc = "Legacy of Rome" + OR = { + has_landed_title = e_byzantium + has_landed_title = e_roman_empire + } + NOT = { has_global_flag = hibernia } + completely_controls = d_connacht + completely_controls = d_ulster + completely_controls = d_meath + completely_controls = d_leinster + completely_controls = d_munster + } + + mean_time_to_happen = { + days = 1 + } + + option = { + name = EVTOPTALoR.1 + set_global_flag = hibernia + prestige = 100 + } +} + +### Roman Empire Restored + +# The Restoration of Rome +narrative_event = { + id = LoR.20 + title = EVTNAMELoR.20 + desc = EVTDESCLoR.20 + + picture = GFX_evt_rome_restored_byzantine + + is_triggered_only = yes + + immediate = { + if = { + limit = { + ai = no + } + set_character_flag = achievement_legacy_of_rome + } + } + + option = { + name = EVTOPTALoR.20 + hidden_tooltip = { + primary_title = { + any_direct_de_jure_vassal_title = { + de_jure_liege = e_roman_empire + } + } + } + e_roman_empire = { + grant_title = ROOT + make_primary_title = yes + copy_title_laws = e_byzantium + copy_title_history = e_byzantium + } + e_byzantium = { + destroy_landed_title = THIS + } + hidden_tooltip = { + activate_title = { title = e_byzantium status = no } + any_playable_ruler = { + limit = { + NOT = { has_landed_title = e_byzantium } + ai = no + } + narrative_event = { id = LoR.21 } + } + } + add_trait = augustus + give_nickname = nick_the_glorious + } +} + +# Informed about Restoration of Rome +narrative_event = { + id = LoR.21 + title = EVTNAMELoR.21 + desc = EVTDESCLoR.21 + + picture = GFX_evt_rome_restored_byzantine + + is_triggered_only = yes + + option = { + name = EVTOPTALoR.21 + trigger = { + NOT = { has_landed_title = e_hre } + } + } + option = { + name = EVTOPTBLoR.21 + trigger = { + has_landed_title = e_hre + } + prestige = -500 + } +} + +### Victory Triumphs + +# Triumph Expected +character_event = { + id = LoR.30 + desc = EVTDESCLoR.30 + picture = GFX_evt_victory_arch_byzantine + + hide_from = yes + + religion_group = christian + + is_triggered_only = yes + + trigger = { + OR = { + has_landed_title = e_byzantium + has_landed_title = e_roman_empire + } + } + + option = { + name = EVTOPTALoR.30 + character_event = { id = LoR.31 days = 12 tooltip = EVTTOOLTIPLoR.31 } + scaled_wealth = -0.3 + prestige = 75 + } + option = { + name = EVTOPTBLoR.30 + scaled_wealth = -0.1 + prestige = 25 + } + option = { + name = EVTOPTCLoR.30 + prestige = -30 + } +} + +# Triumph Held +character_event = { + id = LoR.31 + desc = EVTDESCLoR.31 + picture = GFX_evt_victory_arch_byzantine + + hide_from = yes + + is_triggered_only = yes + + option = { + name = EVTOPTALoR.31 + custom_tooltip = { + text = triumph_held + hidden_tooltip = { + any_realm_lord = { + limit = { + primary_title = { higher_tier_than = BARON } + NOT = { character = ROOT } + } + opinion = { + modifier = opinion_triumph_held + who = ROOT + } + character_event = { id = LoR.32 } + } + } + } + } +} + +# Triumph Held Vassals +character_event = { + id = LoR.32 + desc = EVTDESCLoR.32 + picture = GFX_evt_victory_arch_byzantine + + is_triggered_only = yes + + option = { + name = EVTOPTALoR.32 + } +} + +### Roman Borders Restored + +# Roman Borders +narrative_event = { + id = LoR.40 + title = EVTNAMELoR.40 + desc = EVTDESCLoR.40 + + picture = GFX_evt_rome_restored_byzantine + + ai = no + religion_group = christian + + trigger = { + has_dlc = "Legacy of Rome" + OR = { + has_landed_title = e_byzantium + has_landed_title = e_roman_empire + } + NOT = { has_global_flag = roman_borders } + + completely_controls = d_northumberland + completely_controls = d_lancaster + completely_controls = d_york + completely_controls = d_norfolk + completely_controls = d_bedford + completely_controls = d_hereford + completely_controls = d_gloucester + completely_controls = d_canterbury + completely_controls = d_somerset + completely_controls = d_gwynedd + completely_controls = d_deheubarth + completely_controls = d_cornwall + + #completely_controls = d_latium + #completely_controls = d_venice + #completely_controls = d_verona + #completely_controls = d_susa + #completely_controls = d_lombardia + #completely_controls = d_genoa + #completely_controls = d_modena + #completely_controls = d_ferrara + #completely_controls = d_toscana + #completely_controls = d_pisa + #completely_controls = d_ancona + #completely_controls = d_spoleto + #completely_controls = d_benevento + #completely_controls = d_capua + #completely_controls = d_apulia + #completely_controls = d_salerno + #completely_controls = d_calabria + #completely_controls = d_sicily + + #completely_controls = d_oultrejourdain + completely_controls = d_edessa + #completely_controls = d_antioch + #completely_controls = d_aleppo + #completely_controls = d_tripoli + completely_controls = d_syria + completely_controls = d_damascus + #completely_controls = d_galilee + #completely_controls = d_jerusalem + #completely_controls = d_ascalon + + + #completely_controls = d_aswan + #completely_controls = d_alexandria + #completely_controls = d_damietta + #completely_controls = d_cairo + #completely_controls = d_sinai + + #completely_controls = d_cyrenaica + + #completely_controls = d_tripolitania + #completely_controls = d_tunis + #completely_controls = d_kabylia + + #completely_controls = d_carinthia + #completely_controls = d_rashka + #completely_controls = d_dioclea + #completely_controls = d_slavonia + #completely_controls = d_bosnia + #completely_controls = d_croatia + #completely_controls = d_dalmatia + + completely_controls = d_normandy + completely_controls = d_berry + completely_controls = d_anjou + completely_controls = d_orleans + completely_controls = d_champagne + completely_controls = d_valois + completely_controls = d_burgundy + completely_controls = d_aquitaine + completely_controls = d_toulouse + completely_controls = d_gascogne + completely_controls = d_poitou + completely_controls = d_auvergne + completely_controls = d_bourbon + completely_controls = d_brittany + completely_controls = d_provence + completely_controls = d_savoie + completely_controls = d_dauphine + completely_controls = d_upper_burgundy + + #completely_controls = d_galicia + #completely_controls = d_castilla + #completely_controls = d_aragon + #completely_controls = d_barcelona + #completely_controls = d_valencia + #completely_controls = d_mallorca + #completely_controls = d_navarra + #completely_controls = d_asturias + #completely_controls = d_leon + #completely_controls = d_porto + #completely_controls = d_beja + #completely_controls = d_algarve + #completely_controls = d_cordoba + #completely_controls = d_murcia + #completely_controls = d_granada + #completely_controls = d_sevilla + #completely_controls = d_badajoz + #completely_controls = d_toledo + + #completely_controls = d_marrakech + #completely_controls = d_tangiers + #completely_controls = d_fes + #completely_controls = d_alger + #completely_controls = d_tlemcen + + completely_controls = d_nikaea + completely_controls = d_samos + completely_controls = d_aegean_islands + #completely_controls = d_thrace + #completely_controls = d_adrianopolis + #completely_controls = d_thessalonika + #completely_controls = d_dyrrachion + #completely_controls = d_epirus + #completely_controls = d_athens + #completely_controls = d_achaia + #completely_controls = d_krete + #completely_controls = d_cyprus + completely_controls = d_cibyrrhaeot + + completely_controls = d_anatolia + completely_controls = d_thracesia + completely_controls = d_charsianon + completely_controls = d_armeniacon + completely_controls = d_paphlagonia + completely_controls = d_trebizond + + completely_controls = d_coloneia + completely_controls = d_armenia_minor + + #completely_controls = d_vidin + #completely_controls = d_turnovo + #completely_controls = d_karvuna + + completely_controls_region = world_middle_east_jerusalem + completely_controls_region = world_europe_south + completely_controls_region = world_europe_west_iberia + completely_controls_region = world_africa_north + } + + immediate = { + if = { + limit = { + ai = no + } + set_character_flag = achievement_spqr + } + } + + mean_time_to_happen = { + days = 1 + } + + option = { + name = EVTOPTALoR.40 + set_global_flag = roman_borders + prestige = 1000 + } +} + +### The Augustus Trait + +# Augustus Trait Gained +character_event = { + id = LoR.45 + desc = EVTDESCLoR.45 + picture = GFX_evt_rome_restored_byzantine + + only_playable = yes + has_global_flag = rome_restored + has_dlc = "Legacy of Rome" + + trigger = { + has_landed_title = e_roman_empire + NOT = { trait = augustus } + } + + mean_time_to_happen = { + days = 1 + } + + option = { + name = EVTOPTALoR.45 + add_trait = augustus + } +} + +# Augustus Trait Lost +character_event = { + id = LoR.46 + desc = EVTDESCLoR.46 + picture = GFX_evt_rome_restored_byzantine + + has_dlc = "Legacy of Rome" + has_global_flag = rome_restored + + trigger = { + trait = augustus + NOT = { has_landed_title = e_roman_empire } + is_alive = yes + } + + mean_time_to_happen = { + days = 1 + } + + option = { + name = EVTOPTALoR.46 + remove_trait = augustus + } +} \ No newline at end of file diff --git a/LCDA/events/schism_events.txt b/LCDA/events/schism_events.txt new file mode 100644 index 0000000..f62e2ea --- /dev/null +++ b/LCDA/events/schism_events.txt @@ -0,0 +1,208 @@ +####################################### +# +# Schism Events +# +# Event ID ID LoR.200 - LoR.399 reserved +# +####################################### + +namespace = LoR + +### The Pentarchy + +# Patriarchate of Antioch +character_event = { + id = LoR.200 + desc = EVTDESCLoR.200 + picture = GFX_evt_bishop_byzantine + + ai = no + religion = orthodox + + trigger = { + has_dlc = "Legacy of Rome" + NOT = { has_global_flag = pat_antioch } + OR = { + has_landed_title = e_byzantium + has_landed_title = e_roman_empire + } + completely_controls = c_antiocheia + } + + mean_time_to_happen = { + days = 1 + } + + option = { + name = EVTOPTALoR.200 + set_global_flag = pat_antioch + piety = 100 + } +} + +# Patriarchate of Jerusalem +character_event = { + id = LoR.201 + desc = EVTDESCLoR.201 + picture = GFX_evt_bishop_byzantine + + ai = no + religion = orthodox + + trigger = { + has_dlc = "Legacy of Rome" + NOT = { has_global_flag = pat_jerusalem } + OR = { + has_landed_title = e_byzantium + has_landed_title = e_roman_empire + } + completely_controls = c_jerusalem + } + + mean_time_to_happen = { + days = 1 + } + + option = { + name = EVTOPTALoR.200 + set_global_flag = pat_jerusalem + piety = 100 + } +} + +# Patriarchate of Alexandria +character_event = { + id = LoR.202 + desc = EVTDESCLoR.202 + picture = GFX_evt_bishop_byzantine + + ai = no + religion = orthodox + + trigger = { + has_dlc = "Legacy of Rome" + NOT = { has_global_flag = pat_alexandria } + OR = { + has_landed_title = e_byzantium + has_landed_title = e_roman_empire + } + completely_controls = c_alexandria + } + + mean_time_to_happen = { + days = 1 + } + + option = { + name = EVTOPTALoR.200 + set_global_flag = pat_alexandria + piety = 100 + } +} + +# Patriarchate of Rome +character_event = { + id = LoR.203 + desc = EVTDESCLoR.203 + picture = GFX_evt_bishop_byzantine + + ai = no + religion = orthodox + + trigger = { + has_dlc = "Legacy of Rome" + NOT = { has_global_flag = pat_rome } + OR = { + has_landed_title = e_byzantium + has_landed_title = e_roman_empire + } + completely_controls = c_roma + } + + mean_time_to_happen = { + days = 1 + } + + option = { + name = EVTOPTALoR.200 + set_global_flag = pat_rome + piety = 100 + } +} + +### The Great Schism Mended + +# The Schism Mended +narrative_event = { + id = LoR.210 + title = EVTNAMELoR.210 + desc = EVTDESCLoR.210 + + picture = GFX_evt_icon + + is_triggered_only = yes + + option = { + name = EVTOPTALoR.200 + + if = { + limit = { religion = orthodox } + set_parent_religion = { religion = catholic parent = orthodox } + } + if = { + limit = { religion = monothelite } + set_parent_religion = { religion = catholic parent = monothelite } + } + if = { + limit = { religion = iconoclast } + set_parent_religion = { religion = catholic parent = iconoclast } + } + if = { + limit = { religion = paulician } + set_parent_religion = { religion = catholic parent = paulician } + } + + set_global_flag = schism_mended + give_nickname = nick_the_saint + hidden_tooltip = { + any_playable_ruler = { + limit = { + religion = catholic + controls_religion = no + } + narrative_event = { id = LoR.211 } + } + } + } +} + +# Convert or Not? +narrative_event = { + id = LoR.211 + title = EVTNAMELoR.210 + desc = EVTDESCLoR.210 + + picture = GFX_evt_icon + + is_triggered_only = yes + + option = { # Yes + name = EVTOPTALoR.211 + ai_chance = { factor = 75 } + religion = FROM + any_courtier = { + limit = { + religion = catholic + liege = { character = ROOT } + } + religion = FROM + } + capital_scope = { + religion = FROM + } + } + option = { # No + name = EVTOPTBLoR.211 + ai_chance = { factor = 25 } + } +} \ No newline at end of file diff --git a/LCDA/events/siege_events.txt b/LCDA/events/siege_events.txt new file mode 100644 index 0000000..c64de59 --- /dev/null +++ b/LCDA/events/siege_events.txt @@ -0,0 +1,1809 @@ +# Siege Events: 62000 - 62299 + +character_event = { + + id = 62000 + desc = EVTDESC62000 + title = EVTNAME62000 + + picture = GFX_evt_siege + border = GFX_event_normal_frame_war + + is_triggered_only = yes + + notification = yes + + trigger = { + siege = { + is_attacker = yes + troops = { + who = troops + value = 0.1 + enemy = yes + } + } + } + + weight_multiplier = { + months = 1 + modifier = { + factor = 0.75 + NOT = { martial = 2 } + } + modifier = { + factor = 0.75 + NOT = { martial = 4 } + } + modifier = { + factor = 1.25 + siege = { + enemy = { + leader = { + martial = 7 + } + } + } + } + modifier = { + factor = 1.25 + siege = { + enemy = { + leader = { + martial = 10 + } + } + } + } + } + + immediate = { + siege = { + troops = -0.05 + } + + siege = { + enemy = { + morale = 0.1 + troops = -0.025 + leader = { + any_liege = { + limit = { + war_with = ROOT + NOT = { + ROOT = { + liege = { has_landed_title = e_rebels } + } + } + } + character_event = { id = 62030 } + } + if = { + limit = { + war_with = ROOT + } + character_event = { id = 62030 } + } + } + } + } + } + + option = { + name = EVTOPTA62000 + + tooltip = { + siege = { + troops = -0.05 + } + + siege = { + enemy = { + morale = 0.1 + troops = -0.025 + } + } + } + } +} + +character_event = { # Other side gets event + id = 62030 + desc = EVTDESC62000 + title = EVTNAME62000 + + picture = GFX_evt_siege + border = GFX_event_normal_frame_war + + is_triggered_only = yes + + notification = yes + + trigger = { + ai = no + } + + option = { + name = EVTOPTA62000 + custom_tooltip = { text = successful_sally } + } +} + +character_event = { + id = 62001 + desc = EVTDESC62000 + title = EVTNAME62001 + picture = GFX_evt_siege + border = GFX_event_normal_frame_war + + is_triggered_only = yes + + notification = yes + + trigger = { + siege = { + is_attacker = no + troops = { + who = troops + value = 9 + enemy = yes + } + } + } + + weight_multiplier = { + months = 1 + + modifier = { + factor = 2.5 + trait = wroth + } + + modifier = { + factor = 0.75 + martial = 7 + } + modifier = { + factor = 0.75 + martial = 10 + } + modifier = { + factor = 1.25 + siege = { + enemy = { + leader = { + NOT = { martial = 2 } + } + } + } + } + modifier = { + factor = 1.25 + siege = { + enemy = { + leader = { + NOT = { martial = 4 } + } + } + } + } + } + + immediate = { + siege = { + morale = 0.1 + troops = -0.025 + } + + siege = { + enemy = { + troops = -0.05 + leader = { + any_liege = { + limit = { + war_with = ROOT + NOT = { + ROOT = { + liege = { has_landed_title = e_rebels } + } + } + } + character_event = { id = 62031 } + } + if = { + limit = { + war_with = ROOT + } + character_event = { id = 62031 } + } + } + } + } + } + + option = { + name = EVTOPTA62000 + tooltip = { + siege = { + morale = 0.1 + troops = -0.025 + } + + siege = { + enemy = { + troops = -0.05 + } + } + } + } +} + +character_event = { # Other side gets event + id = 62031 + desc = EVTDESC62000 + title = EVTNAME62001 + + picture = GFX_evt_siege + border = GFX_event_normal_frame_war + + is_triggered_only = yes + + notification = yes + + trigger = { + ai = no + } + + option = { + name = EVTOPTA62000 + custom_tooltip = { text = successful_sally_attacker } + } +} + +character_event = { + id = 62003 + desc = EVTDESC62002 + title = EVTNAME62003 + picture = GFX_evt_siege + border = GFX_event_normal_frame_war + + is_triggered_only = yes + + notification = yes + + trigger = { + siege = { + is_attacker = yes + troops = { + who = troops + value = 0.1 + enemy = yes + } + } + } + + weight_multiplier = { + months = 1 + modifier = { + factor = 2.5 + trait = patient + } + modifier = { + factor = 0.75 + NOT = { martial = 7 } + } + modifier = { + factor = 0.75 + NOT = { martial = 10 } + } + modifier = { + factor = 1.25 + siege = { + enemy = { + leader = { + martial = 2 + } + } + } + } + modifier = { + factor = 1.25 + siege = { + enemy = { + leader = { + martial = 4 + } + } + } + } + } + + immediate = { + siege = { + troops = -0.025 + } + + siege = { + enemy = { + morale = -0.1 + troops = -0.05 + leader = { + any_liege = { + limit = { + war_with = ROOT + NOT = { + ROOT = { + liege = { has_landed_title = e_rebels } + } + } + } + character_event = { id = 62033 } + } + if = { + limit = { + war_with = ROOT + } + character_event = { id = 62033 } + } + } + } + } + } + + option = { + name = EVTOPTA62002 + tooltip = { + siege = { + troops = -0.025 + } + + siege = { + enemy = { + morale = -0.1 + troops = -0.05 + } + } + } + } +} + +character_event = { # Other side gets event + id = 62033 + desc = EVTDESC62002 + title = EVTNAME62003 + + picture = GFX_evt_siege + border = GFX_event_normal_frame_war + + is_triggered_only = yes + + notification = yes + + trigger = { + ai = no + } + + option = { + name = EVTOPTA62002 + custom_tooltip = { text = failed_sally } + } +} + +character_event = { + id = 62004 + desc = EVTDESC62004 + title = EVTNAME62004 + picture = GFX_evt_siege + border = GFX_event_normal_frame_war + + is_triggered_only = yes + + notification = yes + + trigger = { + siege = { + is_attacker = no + troops = { + who = troops + value = 9 + enemy = yes + } + } + } + + weight_multiplier = { + months = 1 + modifier = { + factor = 0.75 + trait = cruel + } + modifier = { + factor = 0.75 + intrigue = 8 + } + modifier = { + factor = 1.25 + trait = kind + } + modifier = { + factor = 1.25 + NOT = { intrigue = 4 } + } + } + + immediate = { + siege = { + morale = 0.1 + } + siege = { + enemy = { + leader = { + any_liege = { + limit = { + war_with = ROOT + NOT = { + ROOT = { + liege = { has_landed_title = e_rebels } + } + } + } + character_event = { id = 62034 } + } + if = { + limit = { + war_with = ROOT + } + character_event = { id = 62034 } + } + } + } + } + } + + option = { + name = EVTOPTA62004 + tooltip = { + siege = { + morale = 0.1 + } + } + } +} + +character_event = { # Other side gets event + id = 62034 + desc = EVTDESC62004 + title = EVTNAME62004 + + picture = GFX_evt_siege + border = GFX_event_normal_frame_war + + is_triggered_only = yes + + notification = yes + + trigger = { + ai = no + } + + option = { + name = EVTOPTA62034 + custom_tooltip = { text = siege_execute } + } +} + +character_event = { + id = 62005 + desc = EVTDESC62005 + title = EVTNAME62005 + picture = GFX_evt_siege + border = GFX_event_normal_frame_war + + is_triggered_only = yes + + notification = yes + + trigger = { + siege = { + is_attacker = yes + } + } + + weight_multiplier = { + months = 1 + modifier = { + factor = 0.75 + trait = elusive_shadow + } + modifier = { + factor = 0.75 + intrigue = 8 + } + modifier = { + factor = 1.25 + trait = amateurish_plotter + } + modifier = { + factor = 1.25 + NOT = { intrigue = 4 } + } + } + + immediate = { + siege = { + enemy = { + morale = -0.1 + leader = { + any_liege = { + limit = { + war_with = ROOT + NOT = { + ROOT = { + liege = { has_landed_title = e_rebels } + } + } + } + character_event = { id = 62035 } + } + if = { + limit = { + war_with = ROOT + } + character_event = { id = 62035 } + } + } + } + } + } + + option = { + name = EVTOPTA62005 + tooltip = { + siege = { + enemy = { + morale = -0.1 + } + } + } + } +} + +character_event = { # Other side gets event + id = 62035 + desc = EVTDESC62005 + title = EVTNAME62005 + + picture = GFX_evt_siege + border = GFX_event_normal_frame_war + + is_triggered_only = yes + + notification = yes + + trigger = { + ai = no + } + + option = { + name = EVTOPTA62005 + custom_tooltip = { text = siege_treachery } + } +} + +character_event = { + id = 62006 + desc = EVTDESC62006 + title = EVTNAME62006 + picture = GFX_evt_siege + border = GFX_event_normal_frame_war + + is_triggered_only = yes + + notification = yes + + trigger = { + siege = { + is_attacker = yes + } + } + + weight_multiplier = { + months = 1 + modifier = { + factor = 0.75 + NOT = { martial = 2 } + } + modifier = { + factor = 0.75 + NOT = { martial = 4 } + } + modifier = { + factor = 1.25 + martial = 6 + } + modifier = { + factor = 1.25 + martial = 8 + } + } + + immediate = { + siege = { + troops = -0.05 + } + siege = { + enemy = { + leader = { + any_liege = { + limit = { + war_with = ROOT + NOT = { + ROOT = { + liege = { has_landed_title = e_rebels } + } + } + } + character_event = { id = 62036 } + } + if = { + limit = { + war_with = ROOT + } + character_event = { id = 62036 } + } + } + } + } + } + + option = { + name = EVTOPTA62006 + tooltip = { + siege = { + troops = -0.05 + } + } + } +} + +character_event = { # Other side gets event + id = 62036 + desc = EVTDESC62006 + title = EVTNAME62006 + + picture = GFX_evt_siege + border = GFX_event_normal_frame_war + + is_triggered_only = yes + + notification = yes + + trigger = { + ai = no + } + + option = { + name = EVTOPTA62006 + custom_tooltip = { text = siege_disease } + } +} + +character_event = { + id = 62007 + desc = EVTDESC62007 + title = EVTNAME62007 + picture = GFX_evt_siege + border = GFX_event_normal_frame_war + + is_triggered_only = yes + + notification = yes + + trigger = { + siege = { + is_attacker = no + } + } + + weight_multiplier = { + months = 1 + modifier = { + factor = 0.75 + NOT = { martial = 2 } + } + modifier = { + factor = 0.75 + NOT = { martial = 4 } + } + modifier = { + factor = 1.25 + martial = 6 + } + modifier = { + factor = 1.25 + martial = 8 + } + } + + immediate = { + siege = { + troops = -0.05 + } + siege = { + enemy = { + leader = { + any_liege = { + limit = { + war_with = ROOT + NOT = { + ROOT = { + liege = { has_landed_title = e_rebels } + } + } + } + character_event = { id = 62037 } + } + if = { + limit = { + war_with = ROOT + } + character_event = { id = 62037 } + } + } + } + } + } + + option = { + name = EVTOPTA62007 + tooltip = { + siege = { + troops = -0.05 + } + } + } +} + +character_event = { # Other side gets event + id = 62037 + desc = EVTDESC62007 + title = EVTNAME62007 + + picture = GFX_evt_siege + border = GFX_event_normal_frame_war + + is_triggered_only = yes + + notification = yes + + trigger = { + ai = no + } + + option = { + name = EVTOPTA62007 + custom_tooltip = { text = siege_hunger } + } +} + +character_event = { + id = 62008 + desc = EVTDESC62008 + title = EVTNAME62008 + picture = GFX_evt_siege + border = GFX_event_normal_frame_war + + is_triggered_only = yes + + trigger = { + siege = { + is_attacker = no + } + } + + notification = yes + + weight_multiplier = { + months = 1 + modifier = { + factor = 0.75 + diplomacy = 6 + } + modifier = { + factor = 0.75 + trait = grey_eminence + } + modifier = { + factor = 1.25 + NOT = { diplomacy = 2 } + } + modifier = { + factor = 1.25 + trait = naive_appeaser + } + } + + immediate = { + siege = { + morale = 0.1 + } + siege = { + enemy = { + leader = { + any_liege = { + limit = { + war_with = ROOT + NOT = { + ROOT = { + liege = { has_landed_title = e_rebels } + } + } + } + character_event = { id = 62038 } + } + if = { + limit = { + war_with = ROOT + } + character_event = { id = 62038 } + } + } + } + } + } + + option = { + name = EVTOPTA62008 + tooltip = { + siege = { + morale = 0.1 + } + } + } +} + +character_event = { # Other side gets event + id = 62038 + desc = EVTDESC62008 + title = EVTNAME62008 + + picture = GFX_evt_siege + border = GFX_event_normal_frame_war + + is_triggered_only = yes + + notification = yes + + trigger = { + ai = no + } + + option = { + name = EVTOPTA62008 + custom_tooltip = { text = siege_trader } + } +} + +character_event = { + id = 62009 + desc = EVTDESC62009 + title = EVTNAME62009 + picture = GFX_evt_siege + border = GFX_event_normal_frame_war + + is_triggered_only = yes + + notification = yes + + trigger = { + siege = { + is_attacker = yes + } + location = { + NOT = { + OR = { + province_id = 323 + province_id = 328 + province_id = 330 + } + } + } + } + + weight_multiplier = { + months = 1 + modifier = { + factor = 0.75 + NOT = { martial = 2 } + } + modifier = { + factor = 0.75 + NOT = { martial = 4 } + } + modifier = { + factor = 1.25 + martial = 6 + } + modifier = { + factor = 1.25 + martial = 8 + } + } + + immediate = { + siege = { + troops = -0.01 + } + siege = { + enemy = { + leader = { + any_liege = { + limit = { + war_with = ROOT + NOT = { + ROOT = { + liege = { has_landed_title = e_rebels } + } + } + } + character_event = { id = 62039 } + } + if = { + limit = { + war_with = ROOT + } + character_event = { id = 62039 } + } + } + } + } + } + + option = { + name = EVTOPTA62009 + tooltip = { + siege = { + troops = -0.01 + } + } + } +} + +character_event = { # Other side gets event + id = 62039 + desc = EVTDESC62009 + title = EVTNAME62009 + + picture = GFX_evt_siege + border = GFX_event_normal_frame_war + + is_triggered_only = yes + + notification = yes + + trigger = { + ai = no + } + + option = { + name = EVTOPTA62039 + custom_tooltip = { text = siege_raiders } + } +} + +character_event = { + id = 62010 + desc = EVTDESC62010 + title = EVTNAME62010 + picture = GFX_evt_siege + border = GFX_event_normal_frame_war + + is_triggered_only = yes + + trigger = { + siege = { + is_attacker = yes + } + location = { + OR = { + province_id = 323 + province_id = 328 + province_id = 330 + } + } + } + + weight_multiplier = { + months = 1 + modifier = { + factor = 0.75 + NOT = { martial = 2 } + } + modifier = { + factor = 0.75 + NOT = { martial = 4 } + } + modifier = { + factor = 1.25 + martial = 6 + } + modifier = { + factor = 1.25 + martial = 8 + } + } + + immediate = { + siege = { + troops = -0.01 + } + siege = { + enemy = { + leader = { + any_liege = { + limit = { + war_with = ROOT + NOT = { + ROOT = { + liege = { has_landed_title = e_rebels } + } + } + } + character_event = { id = 62040 } + } + if = { + limit = { + war_with = ROOT + } + character_event = { id = 62040 } + } + } + } + } + } + + option = { + name = EVTOPTA62010 + tooltip = { + siege = { + troops = -0.01 + } + } + } +} + +character_event = { # Other side gets event + id = 62040 + desc = EVTDESC62040 + title = EVTNAME62010 + + picture = GFX_evt_siege + border = GFX_event_normal_frame_war + + is_triggered_only = yes + + notification = yes + + trigger = { + ai = no + } + + option = { + name = EVTOPTA62010 + custom_tooltip = { text = siege_raiders } + } +} + +narrative_event = { + id = 62011 + desc = EVTDESC62011 + title = EVTNAME62011 + picture = GFX_evt_siege + border = GFX_event_narrative_frame_war + + is_triggered_only = yes + + notification = yes + + trigger = { + siege = { + is_attacker = no + } + religion_group = christian + enemy = { + religion_group = pagan_group + } + } + + weight_multiplier = { + months = 1 + modifier = { + factor = 0.75 + trait = zealous + } + modifier = { + factor = 0.75 + piety = 500 + } + modifier = { + factor = 1.25 + trait = cynical + } + modifier = { + factor = 1.25 + NOT = { piety = 0 } + } + } + + immediate = { + siege = { + morale = 1 + } + siege = { + enemy = { + morale = -0.9 + troops = -0.9 + leader = { + any_liege = { + limit = { + war_with = ROOT + } + narrative_event = { id = 62041 } + } + if = { + limit = { + war_with = ROOT + } + narrative_event = { id = 62041 } + } + } + } + } + } + + option = { + name = EVTOPTA62011 + tooltip = { + siege = { + morale = 1 + } + siege = { + enemy = { + morale = -0.9 + troops = -0.9 + } + } + } + } +} + +narrative_event = { # Other side gets event + id = 62041 + desc = EVTDESC62011 + title = EVTNAME62041 + + picture = GFX_evt_siege + border = GFX_event_narrative_frame_war + + is_triggered_only = yes + + notification = yes + + trigger = { + ai = no + } + + option = { + name = EVTOPTA62041 + custom_tooltip = { text = siege_miracle } + } +} + +narrative_event = { + id = 62012 + desc = EVTDESC62012 + title = EVTNAME62011 + picture = GFX_evt_siege + border = GFX_event_narrative_frame_war + + is_triggered_only = yes + + notification = yes + + trigger = { + siege = { + is_attacker = no + } + religion_group = christian + enemy = { + religion_group = muslim + } + } + + weight_multiplier = { + months = 1 + modifier = { + factor = 0.75 + trait = zealous + } + modifier = { + factor = 0.75 + piety = 500 + } + modifier = { + factor = 1.25 + trait = cynical + } + modifier = { + factor = 1.25 + NOT = { piety = 0 } + } + } + + immediate = { + siege = { + morale = 1 + } + siege = { + enemy = { + morale = -0.9 + troops = -0.9 + leader = { + any_liege = { + limit = { + war_with = ROOT + } + narrative_event = { id = 62042 } + } + if = { + limit = { + war_with = ROOT + } + narrative_event = { id = 62042 } + } + } + } + } + } + + option = { + name = EVTOPTA62012 + tooltip = { + siege = { + morale = 1 + } + siege = { + enemy = { + morale = -0.9 + troops = -0.9 + } + } + } + } +} + +narrative_event = { # Other side gets event + id = 62042 + desc = EVTDESC62012 + title = EVTNAME62041 + + picture = GFX_evt_siege + border = GFX_event_narrative_frame_war + + is_triggered_only = yes + + notification = yes + + trigger = { + ai = no + } + + option = { + name = EVTOPTA62041 + custom_tooltip = { text = siege_miracle } + } +} + +#Miracle +narrative_event = { + id = 62013 + desc = EVTDESC62013 + title = EVTNAME62011 + picture = GFX_evt_siege + border = GFX_event_narrative_frame_war + + is_triggered_only = yes + + notification = yes + + trigger = { + siege = { + is_attacker = no + } + religion_group = muslim + enemy = { + NOT = { religion_group = muslim } + } + } + + weight_multiplier = { + months = 1 + modifier = { + factor = 0.75 + trait = zealous + } + modifier = { + factor = 0.75 + piety = 500 + } + modifier = { + factor = 1.25 + trait = cynical + } + modifier = { + factor = 1.25 + NOT = { piety = 0 } + } + } + + immediate = { + siege = { + morale = 1 + } + siege = { + enemy = { + morale = -0.9 + troops = -0.9 + leader = { + any_liege = { + limit = { + war_with = ROOT + } + narrative_event = { id = 62043 } + } + if = { + limit = { + war_with = ROOT + } + narrative_event = { id = 62043 } + } + } + } + } + } + + option = { + name = EVTOPTA62013 + tooltip = { + siege = { + morale = 1 + } + siege = { + enemy = { + morale = -0.9 + troops = -0.9 + } + } + } + } +} + +narrative_event = { # Other side gets event + id = 62043 + desc = EVTDESC62013 + title = EVTNAME62041 + + picture = GFX_evt_siege + border = GFX_event_narrative_frame_war + + is_triggered_only = yes + + notification = yes + + trigger = { + ai = no + } + + option = { + name = EVTOPTA62041 + custom_tooltip = { text = siege_miracle } + } +} + +#Assault +character_event = { + id = 62014 + desc = EVTDESC62014 + title = EVTNAME62014 + picture = GFX_evt_crusaders + border = GFX_event_normal_frame_religion + + religion_group = christian + + is_triggered_only = yes + + notification = yes + + trigger = { + siege = { + is_attacker = yes + } + NOT = { trait = craven } + NOT = { trait = cynical } + can_be_maimed_trigger = yes + NOT = { trait = wounded } + enemy = { + NOT = { religion_group = christian } + } + } + + weight_multiplier = { + months = 1 + modifier = { + factor = 2.0 + trait = zealous + } + modifier = { + factor = 2.0 + trait = brave + } + } + + immediate = { + siege = { + enemy = { + morale = -0.1 + leader = { + any_liege = { + limit = { + war_with = ROOT + } + character_event = { id = 62044 } + } + if = { + limit = { + war_with = ROOT + } + character_event = { id = 62044 } + } + } + } + } + random_list = { + 80 = {add_trait = crusader } + 10 = { add_maimed_trait_effect = yes } + 10 = { add_trait = wounded hidden_tooltip = { character_event = { id = 38280 } } } + } + } + + option = { + name = EVTOPTA62014 + + tooltip = { + siege = { + enemy = { + morale = -0.1 + } + } + random_list = { + 80 = {add_trait = crusader } + 10 = { add_maimed_trait_effect = yes } + 10 = { add_trait = wounded hidden_tooltip = { character_event = { id = 38280 } } } + } + } + } +} + +character_event = { # Other side gets event + id = 62044 + desc = EVTDESC62044 + title = EVTNAME62044 + + picture = GFX_evt_siege + border = GFX_event_normal_frame_war + + is_triggered_only = yes + + notification = yes + + trigger = { + ai = no + } + + option = { + name = EVTOPTA62044 + custom_tooltip = { text = siege_treachery } + } +} + +#Ill, pneumonic, leper or syphilitic +character_event = { + id = 62015 + desc = EVTDESC62015 + title = EVTNAME62015 + picture = GFX_evt_crusaders + border = GFX_event_normal_frame_war + + is_triggered_only = yes + + trigger = { + is_ill = yes + NOT = { + trait = craven + } + } + + weight_multiplier = { + days = 1 + } + + option = { + name = EVTOPTA62015 + siege = { + troops = -0.1 + } + siege = { + enemy = { + morale = -0.2 + troops = -0.2 + leader = { + any_liege = { + limit = { + war_with = ROOT + } + character_event = { id = 62045 } + } + if = { + limit = { + war_with = ROOT + } + character_event = { id = 62045 } + } + } + } + } + random_list = { + 60 = { + add_maimed_trait_effect = yes + prestige = 50 + } + 40 = { + death = { + death_reason = death_battle + killer = FROM + } + } + } + } + option = { + name = EVTOPTB62015 + siege = { + troops = -0.15 + } + siege = { + enemy = { + morale = -0.05 + troops = -0.05 + leader = { + any_liege = { + limit = { + war_with = ROOT + } + character_event = { id = 62046 } + } + if = { + limit = { + war_with = ROOT + } + character_event = { id = 62046 } + } + } + } + } + if = { + limit = { NOR = { trait = craven trait = berserker } } + random = { + chance = 50 + add_trait = craven + hidden_tooltip = { + character_event = { + id = 38257 #Notify Craven + } + } + } + } + prestige = -50 + } +} + +character_event = { # Other side gets event + id = 62045 + desc = EVTDESC62045 + title = EVTNAME62044 + + picture = GFX_evt_siege + border = GFX_event_normal_frame_war + + is_triggered_only = yes + + trigger = { + ai = no + } + + option = { + name = EVTOPTA62045 + custom_tooltip = { text = siege_assault } + } +} + +character_event = { # Other side gets event + id = 62046 + desc = EVTDESC62045 + title = EVTNAME62044 + + picture = GFX_evt_siege + border = GFX_event_normal_frame_war + + is_triggered_only = yes + + trigger = { + ai = no + } + + option = { + name = EVTOPTA62045 + custom_tooltip = { text = siege_hide } + } +} + +# Imprisoned by the winner. Fired from 'on_siege_over_loc_chars'. +# Siege winner unit owner in the 'new_character' scope, lost holding title in FROM, local character in ROOT. +character_event = { + id = 62100 + picture = GFX_evt_siege + + desc = EVTDESC62100 + + is_triggered_only = yes + + trigger = { + new_character = { + NOT = { has_landed_title = e_rebels } + rebel = no + NOT = { # Handled by SSI.61 + OR = { + has_landed_title = e_mexikha + any_liege = { + has_landed_title = e_mexikha + } + } + } + } + + OR = { + is_ruler = yes + AND = { + is_female = yes + NOT = { age = 40 } + } + + host = { + OR = { + is_close_relative = ROOT + any_spouse = { + character = ROOT + } + any_consort = { + character = ROOT + } + } + } + new_character = { + ROOT = { + prisoner = yes + employer = { + character = PREVPREV + } + } + } + + AND = { + new_character = { + ROOT = { + host = { + top_liege = { + war_with = PREVPREVPREV + } + } + } + } + + host = { + top_liege = { + is_close_relative = ROOT + } + } + } + } + } + + weight_multiplier = { + days = 1 + modifier = { + factor = 2 + is_female = yes + new_character = { + OR = { + religion_group = pagan_group + religion_group = zoroastrian_group + } + } + } + modifier = { + factor = 4 # Free prisoner + new_character = { + ROOT = { + prisoner = yes + employer = { + character = PREVPREV + } + } + } + } + } + + option = { + name = EVTOPTA62100 + trigger = { + center_flank_leader = { + mercenary = no + } + } + new_character = { + ROOT = { + imprison = PREV + } + } + hidden_tooltip = { + new_character = { + character_event = { id = 62101 } + } + } + } + + option = { + name = EVTOPTA62100 + trigger = { + center_flank_leader = { + mercenary = yes + } + } + center_flank_leader = { + ROOT = { + imprison = PREV + } + } + } +} + +# Jailor informed +character_event = { + id = 62101 + picture = GFX_evt_siege + desc = EVTDESC62101 + border = GFX_event_normal_frame_war + + is_triggered_only = yes + + notification = yes + + ai = no + + option = { + name = EVTOPTA62101 + tooltip = { + FROM = { + imprison = yes + } + } + } +} diff --git a/LCDA/events/soa_heresy_events.txt b/LCDA/events/soa_heresy_events.txt new file mode 100644 index 0000000..f836539 --- /dev/null +++ b/LCDA/events/soa_heresy_events.txt @@ -0,0 +1,1632 @@ +########################################### +# +# Heresy Events - Sons of Abraham +# +# ID SoA 4000-4999 is reserved +# +########################################### +# Written by Henrik Fåhraeus +########################################### + +namespace = SoA + +################################################### +# Heresy Appears in Province +################################################### + +# Heresy Appears in Province +province_event = { + id = SoA.4000 + desc = EVTDESC39000 + picture = GFX_evt_heretic + border = GFX_event_normal_frame_religion + + trigger = { + has_dlc = "Sons of Abraham" + + is_heretic = no + + has_heresies = yes + + # Heretic top lieges must spread the faith themselves + owner = { + top_liege = { + NOT = { is_heresy_of = ROOT } + } + } + + num_of_settlements = 1 + any_province_holding = { + NOT = { holding_type = nomad } + } + + NOT = { religion_authority = 0.9 } + } + + mean_time_to_happen = { + months = 9600 # 800 years + modifier = { + factor = 1.5 + religion_authority = 0.6 + } + modifier = { + factor = 1.5 + religion_authority = 0.7 + } + modifier = { + factor = 1.5 + religion_authority = 0.8 + } + modifier = { + factor = 2.0 + religion_authority = 0.9 + } + modifier = { + factor = 3.0 + OR = { + province_id = 333 # Rome + province_id = 497 # Thrace + province_id = 719 # Mecca + } + } + modifier = { + factor = 0.5 + NOT = { religion_authority = 0.2 } + } + modifier = { + factor = 0.75 + NOT = { religion_authority = 0.3 } + } + modifier = { + factor = 0.75 + NOT = { religion_authority = 0.4 } + } + modifier = { + factor = 0.75 + NOT = { religion_authority = 0.5 } + } + + modifier = { + factor = 0.5 + any_neighbor_province = { + is_land = yes + is_heresy_of = ROOT + } + } + modifier = { + factor = 0.25 + any_neighbor_province = { + is_land = yes + is_heresy_of = ROOT + has_province_modifier = heretic_stronghold + } + } + } + + immediate = { + + # Prefer a neighboring heresy + random_neighbor_province = { + limit = { + is_land = yes + is_heresy_of = ROOT + } + ROOT = { + religion = PREV + } + } + + # Prefer an existing heresy in the realm + if = { + limit = { + is_heretic = no + } + owner = { + top_liege = { + random_realm_province = { + limit = { + is_land = yes + is_heresy_of = ROOT + } + ROOT = { + religion = PREV + } + } + } + } + } + + # ...otherwise, just pick a heresy + if = { + limit = { + is_heretic = no + } + become_heretic = yes + } + + # Two years of much higher revolt risk + add_province_modifier = { + name = religious_unrest + duration = 730 + } + + # One heretic province in the realm is the epicentre of the heresy + if = { + limit = { + owner = { + top_liege = { + NOT = { + any_realm_province = { + religion = ROOT + has_province_modifier = heretic_stronghold + } + } + } + } + } + add_province_modifier = { + name = heretic_stronghold # Ten years of even higher revolt risk + duration = 3650 + } + } + + # Notify the lieges + owner = { + any_liege = { + character_event = { id = 39400 } + } + } + owner = { + if = { + limit = { ai = no } + chronicle = { + entry = CHRONICLE_HERESY_SPREAD + picture = GFX_evt_heretic + } + } + } + owner = { + any_liege = { + if = { + limit = { ai = no } + chronicle = { + entry = CHRONICLE_HERESY_SPREAD + picture = GFX_evt_heretic + } + } + } + } + } + + option = { + name = EVTOPTA39000 # The owner is of the parent religion + trigger = { owner = { is_parent_religion = ROOT } } + + owner = { piety = -10 } + + ai_chance = { + factor = 95 + } + } + + option = { + name = EVTOPTB39000 # The owner is of the same heresy + trigger = { owner = { religion = ROOT } } + ai_chance = { + factor = 95 + } + } + + option = { + name = EVTOPTC_SOA_4000 # The owner is of some other religion + trigger = { + owner = { + NOT = { religion = ROOT } + NOT = { is_parent_religion = ROOT } + } + } + ai_chance = { + factor = 95 + } + } + + option = { + name = EVTOPTD_SOA_4000 # The owner is of the parent religion and interested in the heresy + trigger = { + owner = { + owner = { is_parent_religion = ROOT } + } + } + + owner = { + piety = -250 + set_secret_religion = { target_type = public target = ROOT } + any_spouse = { + limit = { + ai = yes + has_secret_religion = no + } + set_secret_religion = { target_type = public target = ROOT } + } + any_child = { + limit = { + ai = yes + has_secret_religion = no + } + set_secret_religion = { target_type = public target = ROOT } + } + } + + ai_chance = { + factor = 5 + modifier = { + factor = 0 + owner = { + trait = zealous + } + } + modifier = { + factor = 2 + owner = { + trait = cynical + } + } + } + } +} + +################################################### +# Character picks up province religion +################################################### + +# SoA.4020 - Character picks up province religion, if it's in the same religion group but not the top liege's religion +# - Notify liege: SoA 4021 + +# Character converts to local religion +character_event = { + id = SoA.4020 + desc = EVTDESC_SOA_4020 + picture = GFX_evt_heretic + border = GFX_event_normal_frame_religion + + min_age = 16 + max_age = 50 + capable_only = yes + prisoner = no + + is_triggered_only = yes + + trigger = { + has_dlc = "Sons of Abraham" + + NOT = { religion_group = pagan_group } + + is_heretic = no # Heretics, already people of strong conviction, never change religion spontaneously + + is_theocracy = no + + can_change_religion = yes + + NOT = { religion_authority = 0.9 } + + + NOR = { + is_inaccessible_trigger = yes + trait = zealous + } + + + location = { + NOT = { religion_group = pagan_group } + religion_group = ROOT + NOT = { religion = ROOT } + OR = { + is_heretic = yes + religion_authority = ROOT # The local religion has at least the same authority as my religion + } + } + } + + weight_multiplier = { + days = 1 + modifier = { + factor = 1.75 + trait = cynical + independent = no + location = { + ROOT = { + top_liege = { + religion = PREVPREV + } + } + } + } + modifier = { + factor = 0.75 + religion_authority = 0.6 + } + modifier = { + factor = 0.75 + religion_authority = 0.7 + } + modifier = { + factor = 0.75 + religion_authority = 0.8 + } + modifier = { + factor = 0.5 + religion_authority = 0.9 + } + modifier = { + factor = 0.25 + NOT = { is_heresy_of = ROOT } + } + modifier = { + factor = 1.5 + NOT = { religion_authority = 0.2 } + } + modifier = { + factor = 1.75 + NOT = { religion_authority = 0.3 } + } + modifier = { + factor = 1.75 + NOT = { religion_authority = 0.4 } + } + modifier = { + factor = 1.75 + NOT = { religion_authority = 0.5 } + } + } + + option = { + name = EVTOPTA_SOA_4020 + ai_chance = { factor = 100 } + + hidden_tooltip = { + if = { + limit = { + independent = no + liege = { + religion = ROOT + } + } + liege = { + character_event = { id = SoA.4021 days = 3 } + } + } + } + + location = { + reverse_religion = ROOT + } + hidden_tooltip = { + if = { + limit = { religion_group = indian_group } + set_character_flag = india_converted + character_event = { id = RoI.30120 } # Set religious branch randomly + } + } + } + option = { + name = EVTOPTB_SOA_4020 + ai_chance = { factor = 0 } + } +} + +# SoA.4021 - Liege response +character_event = { + id = SoA.4021 + desc = EVTDESC_SOA_4021 + picture = GFX_evt_heretic + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + option = { # Demand reconversion + name = EVTOPTA_SOA_4021 + ai_chance = { + factor = 100 + modifier = { + factor = 10.0 + trait = zealous + } + } + FROM = { + letter_event = { id = SoA.4022 days = 7 tooltip = EVTTOOLTIP_SOA_4022 } + } + } + option = { # Let it slide + name = EVTOPTB_SOA_4021 + ai_chance = { factor = 100 } + } + option = { # Debate for reconversion + name = EVTOPTC_SOA_4021 + tooltip_info = learning + trigger = { + learning = 7 + } + ai_chance = { + factor = 1000 + modifier = { + factor = 5.0 + trait = zealous + } + } + FROM = { + letter_event = { id = SoA.4025 days = 7 tooltip = EVTTOOLTIP_SOA_4025 } + } + } +} + +# SoA.4022 - Reconversion demanded +letter_event = { + id = SoA.4022 + desc = EVTDESC_SOA_4022 + border = GFX_event_letter_frame_religion + + is_triggered_only = yes + + immediate = { + opinion = { + who = FROM + modifier = opinion_demanded_conversion + } + } + + option = { # Accept + name = ACCEPT + ai_chance = { + factor = 50 + modifier = { + factor = 0.5 + NOT = { + opinion = { + who = FROM + value = -50 + } + } + } + modifier = { + factor = 0.5 + NOT = { + opinion = { + who = FROM + value = 0 + } + } + } + modifier = { + factor = 4.0 + opinion = { + who = FROM + value = 50 + } + } + } + + religion = FROM + hidden_tooltip = { + if = { + limit = { religion_group = indian_group } + set_character_flag = india_converted + character_event = { id = RoI.30121 } # Set religious branch to liege's branch + } + } + + + + FROM = { + letter_event = { id = SoA.4023 tooltip = EVTTOOLTIP_SOA_4023 } + } + } + option = { # Accept + name = ACCEPT_SECRETLY_WORSHIP_OLD_RELIGION + ai_chance = { + factor = 50 + modifier = { + factor = 0.5 + NOT = { + opinion = { + who = FROM + value = -50 + } + } + } + modifier = { + factor = 0.5 + NOT = { + opinion = { + who = FROM + value = 0 + } + } + } + modifier = { + factor = 4.0 + opinion = { + who = FROM + value = 50 + } + } + } + + add_secret_religion_trait_trigger_is_religion_or_old_religion_flag_clear_flag_after_effect_is_run_this_name_is_a_tribute_to_m_effect = yes + religion = FROM + hidden_tooltip = { + if = { + limit = { religion_group = indian_group } + set_character_flag = india_converted + character_event = { id = RoI.30121 } # Set religious branch to liege's branch + } + } + + + + FROM = { + letter_event = { id = SoA.4023 tooltip = EVTTOOLTIP_SOA_4023 } + } + } + option = { # Refuse + name = DECLINE + ai_chance = { + factor = 50 + } + + FROM = { + letter_event = { id = SoA.4024 tooltip = EVTTOOLTIP_SOA_4024 } + } + } +} + +# SoA.4023 - Liege notified, conversion accepted +letter_event = { + id = SoA.4023 + desc = EVTDESC_SOA_4023 + border = GFX_event_letter_frame_religion + + is_triggered_only = yes + + option = { + name = EXCELLENT + } +} + +# SoA.4024 - Liege notified, conversion refused +letter_event = { + id = SoA.4024 + desc = EVTDESC_SOA_4024 + border = GFX_event_letter_frame_religion + + is_triggered_only = yes + + option = { + name = EVTOPTC_SOA_4024 + } +} + +# SoA.4025 - Reconversion debate +letter_event = { + id = SoA.4025 + desc = EVTDESC_SOA_4025 + border = GFX_event_letter_frame_religion + + is_triggered_only = yes + + option = { # Accept + name = ACCEPT + ai_chance = { + factor = 80 + } + + religion = FROM + + FROM = { + letter_event = { id = SoA.4026 tooltip = EVTTOOLTIP_SOA_4023 } + } + } + option = { # Accept, but keep old religion secretly + name = ACCEPT_SECRETLY_WORSHIP_OLD_RELIGION + ai_chance = { + #TODO_MNM maybe more AI modifiers? + modifier = { + factor = 2.0 + trait = zealous + } + factor = 20 + } + add_secret_religion_trait_trigger_is_religion_or_old_religion_flag_clear_flag_after_effect_is_run_this_name_is_a_tribute_to_m_effect = yes + religion = FROM + + FROM = { + letter_event = { id = SoA.4026 tooltip = EVTTOOLTIP_SOA_4023 } + } + } + option = { # Refuse + name = DECLINE + ai_chance = { + factor = 0 + } + + FROM = { + letter_event = { id = SoA.4024 tooltip = EVTTOOLTIP_SOA_4024 } + } + } +} + +# SoA.4026 - Acceptance notification +letter_event = { + id = SoA.4026 + desc = EVTDESC_SOA_4026 + border = GFX_event_letter_frame_religion + + is_triggered_only = yes + + option = { + name = EXCELLENT + } +} + +###################################################################################################### +# Courtier with minority religion attempts to convert another character at court +###################################################################################################### + +# SoA.4030 - Courtier with minority religion attempts to convert another character at court +character_event = { + id = SoA.4030 + desc = OK + picture = GFX_evt_heretic + border = GFX_event_normal_frame_religion + + min_age = 16 + capable_only = yes + prisoner = no + + trigger = { + is_ruler = no + + liege = { + NOT = { religion = ROOT } + religion_group = ROOT + NOT = { religion_authority = 0.9 } + } + + any_courtier = { + age = 16 + prisoner = no + NOT = { trait = incapable } + OR = { + same_liege = ROOT + is_liege_of = ROOT + } + ROOT = { + liege = { + religion = PREVPREV + } + } + mercenary = no + holy_order = no + } + + has_dlc = "Sons of Abraham" + } + + mean_time_to_happen = { + months = 120 + modifier = { + factor = 10.0 + trait = cynical + } + modifier = { + factor = 0.25 + trait = zealous + } + modifier = { + factor = 0.5 + trait = diligent + } + modifier = { + factor = 3.0 + trait = slothful + } + modifier = { + factor = 2.0 + NOT = { religion_authority = 0.2 } + } + modifier = { + factor = 2.0 + NOT = { religion_authority = 0.4 } + } + modifier = { + factor = 0.75 + religion_authority = 0.6 + } + modifier = { + factor = 0.75 + religion_authority = 0.8 + } + modifier = { + factor = 0.75 + liege = { + NOT = { religion_authority = 0.2 } + } + } + modifier = { + factor = 0.75 + liege = { + NOT = { religion_authority = 0.4 } + } + } + modifier = { + factor = 2.0 + liege = { + religion_authority = 0.6 + } + } + modifier = { + factor = 2.0 + liege = { + religion_authority = 0.8 + } + } + modifier = { + factor = 6.0 + is_heretic = no + } + } + + option = { + name = OK + random_courtier = { + limit = { + age = 16 + prisoner = no + NOT = { trait = incapable } + mercenary = no + holy_order = no + OR = { + same_liege = ROOT + is_liege_of = ROOT + } + ROOT = { + liege = { + religion = PREVPREV + } + } + } + character_event = { id = SoA.4031 } + } + } +} + +# SoA.4031 - Character is approached about conversion +character_event = { + id = SoA.4031 + desc = EVTDESC_SOA_4031 + picture = GFX_evt_heretic + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + option = { # Accept + name = EVTOPTA_SOA_4031 + ai_chance = { + factor = 100 + modifier = { + factor = 0.1 + NOT = { + opinion = { + who = FROM + value = 0 + } + } + } + modifier = { + factor = 0.1 + trait = zealous + } + modifier = { + factor = 2.0 + opinion = { + who = FROM + value = 25 + } + } + modifier = { + factor = 2.0 + opinion = { + who = FROM + value = 50 + } + } + modifier = { + factor = 2.0 + opinion = { + who = FROM + value = 75 + } + } + } + + religion = FROM + hidden_tooltip = { + if = { + limit = { religion_group = indian_group } + set_character_flag = india_converted + character_event = { id = RoI.30122 } + } + } + } + + option = { # Refuse + name = EVTOPTB_SOA_4031 + trigger = { + OR = { + NOT = { learning = 7 } + NOT = { is_liege_of = FROM } + } + } + ai_chance = { + factor = 100 + } + } + + option = { # Debate for reconversion + name = EVTOPTC_SOA_4031 + tooltip_info = learning + trigger = { + learning = 7 + is_liege_of = FROM + } + ai_chance = { + factor = 100 + } + FROM = { + letter_event = { id = SoA.4025 days = 7 tooltip = EVTTOOLTIP_SOA_4025 } + } + } + + option = { # Imprison (if liege) + name = EVTOPTD_SOA_4031 + trigger = { + is_liege_of = FROM + } + ai_chance = { + factor = 100 + modifier = { + factor = 0 + opinion = { + who = FROM + value = 0 + } + } + modifier = { + factor = 3.0 + NOT = { + opinion = { + who = FROM + value = -25 + } + } + } + } + + reverse_imprison = FROM + } + + option = { # Refuse and blab to liege (if not liege) + name = EVTOPTE_SOA_4031 + trigger = { + NOT = { is_liege_of = FROM } + intrigue = 7 + } + + ai_chance = { + factor = 100 + modifier = { + factor = 0 + opinion = { + who = FROM + value = 0 + } + } + modifier = { + factor = 3.0 + NOT = { + opinion = { + who = FROM + value = -25 + } + } + } + } + + FROM = { + liege ={ + letter_event = { id = SoA.4032 days = 7 } + } + } + } +} + +# SoA.4032 - Liege learns of conversion attempt +letter_event = { + id = SoA.4032 + desc = EVTDESC_SOA_4032 + border = GFX_event_letter_frame_religion + + is_triggered_only = yes + + option = { # Demand reconversion + name = EVTOPTA_SOA_4021 + ai_chance = { + factor = 100 + modifier = { + factor = 10.0 + trait = zealous + } + } + FROMFROM = { + letter_event = { id = SoA.4022 days = 7 tooltip = EVTTOOLTIP_SOA_4022 } + } + } + + option = { # Let it slide + name = EVTOPTB_SOA_4021 + ai_chance = { factor = 100 } + } + + option = { # Debate for reconversion + name = EVTOPTC_SOA_4032 + tooltip_info = learning + trigger = { + learning = 7 + } + ai_chance = { + factor = 1000 + modifier = { + factor = 5.0 + trait = zealous + } + } + FROMFROM = { + letter_event = { id = SoA.4025 days = 7 tooltip = EVTTOOLTIP_SOA_4025 } + } + } +} + +###################################################################################################### +# Heretic province worries parent religion Head +###################################################################################################### + +# SoA.4100 - Heretic province worries parent religion Head (hidden province event) +# Immediate: SoA 4101 (head) + +province_event = { + id = SoA.4100 + hide_window = yes + + trigger = { + has_dlc = "Sons of Abraham" + + is_heretic = yes + + owner = { + is_nomadic = no + top_liege = { + is_parent_religion = ROOT + } + } + + parent_religion_head = { + character = yes # There is a head of the parent religion + wealth = 100 + } + + NOT = { has_province_modifier = theological_dialogue } + NOT = { has_province_modifier = active_inquisition } + } + + mean_time_to_happen = { + months = 1200 + modifier = { + factor = 3.0 # Do not spam human players with this + parent_religion_head = { + ai = no + } + } + } + + immediate = { + parent_religion_head = { + character_event = { id = SoA.4101 } + } + } +} + +# SoA.4101 - Heretic province worries parent religion Head +# - A: Send in the Inquisition! Costs 100 gold. SoA 4110. +# - B: Dispatch Legate to Ruler: (top liege) SoA 4120. +# - C: Open Dialogue. (High learning) Costs 50 gold. SoA 4130. +# - D: Do nothing + +character_event = { + id = SoA.4101 + desc = EVTDESC_SOA_4101 + picture = GFX_evt_heretic + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + option = { # Send in the Inquisition! + name = EVTOPTA_SOA_4101 + ai_chance = { + factor = 200 + modifier = { + factor = 10 + trait = cruel + } + modifier = { + factor = 3 + trait = zealous + } + } + + wealth = -100 + + FROM = { + province_event = { id = SoA.4110 tooltip = EVTTOOLTIP_SOA_4110 } + } + } + + option = { # Dispatch Legate to Ruler + name = EVTOPTB_SOA_4101 + trigger = { + NOT = { + FROM = { + owner = { + top_liege = { character = ROOT } + } + } + } + } + ai_chance = { + factor = 100 + } + + FROM = { + owner = { + top_liege = { + character_event = { id = SoA.4120 days = 2 tooltip = EVTTOOLTIP_SOA_4120 } + } + } + } + } + + option = { # Open Dialogue + name = EVTOPTC_SOA_4101 + tooltip_info = learning + trigger = { + learning = 7 + } + + ai_chance = { + factor = 1000 + } + + wealth = -50 + + FROM = { + province_event = { id = SoA.4130 tooltip = EVTTOOLTIP_SOA_4130 } + } + } + + option = { # Do nothing + name = EVTOPTD_SOA_4101 + ai_chance = { + factor = 1 + } + } +} + +# SoA.4110 - Inquisition arrives in province. +province_event = { + id = SoA.4110 + desc = EVTDESC_SOA_4110 + picture = GFX_evt_bishop + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + immediate = { + add_province_modifier = { + name = active_inquisition + days = 730 + } + random_list = { + 50 = { + province_event = { + id = SoA.4111 days = 730 + } + } + 50 = { + province_event = { + id = SoA.4113 days = 730 + } + } + } + } + + option = { + name = EVTOPTA_SOA_4110 + } +} + +# SoA.4111 - Inquisition fails! Fire SoA.4112 to the head of religion. +province_event = { + id = SoA.4111 + desc = EVTDESC_SOA_4111 + picture = GFX_evt_burning_house + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + trigger = { + is_heretic = yes + } + + immediate = { + remove_province_modifier = active_inquisition + FROMFROM = { + character_event = { + id = SoA.4112 + } + } + add_province_modifier = { + name = religious_unrest + days = 365 + } + } + + option = { + name = EVTOPTA_SOA_4111 + } +} + +# SoA.4112 - Notification: Inquisition fails! Loss of authority. +character_event = { + id = SoA.4112 + desc = EVTDESC_SOA_4112 + picture = GFX_evt_burning_house + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + option = { + name = EVTOPTA_SOA_4112 + religion_authority = { + modifier = failed_inquisition + } + } +} + +# SoA.4113 - Inquisition succeeds. Fire SoA.4114 to the head of religion. +province_event = { + id = SoA.4113 + desc = EVTDESC_SOA_4113 + picture = GFX_evt_bishop + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + trigger = { + is_heretic = yes + } + + immediate = { + religion = FROMFROM + remove_province_modifier = active_inquisition + remove_province_modifier = religious_unrest + remove_province_modifier = heretic_stronghold + + FROMFROM = { + character_event = { + id = SoA.4114 + } + } + } + + option = { + name = EVTOPTA_SOA_4113 + } +} + +# SoA.4114 - Notification: Inquisition succeeds! +character_event = { + id = SoA.4114 + desc = EVTDESC_SOA_4114 + picture = GFX_evt_bishop + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + option = { + name = EVTOPTA_SOA_4114 + religion_authority = { + modifier = successful_inquisition + } + } +} + +# SoA.4120 - Legate berates ruler about heretic province +character_event = { + id = SoA.4120 + desc = EVTDESC_SOA_4120 + picture = GFX_evt_pope + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + immediate = { + add_character_modifier = { + name = promised_to_clear_out_heresy +# hidden = yes + duration = 3650 + } + FROMFROM = { + add_province_modifier = { + name = promised_to_clear_out_heresy +# hidden = yes + duration = 3650 + } + } + } + + option = { + name = EVTOPTA_SOA_4120 + } +} + +# SoA.4121 - The heresy is eradicated in the county. On-action. +province_event = { + id = SoA.4121 + hide_window = yes + + is_triggered_only = yes + + trigger = { + has_dlc = "Sons of Abraham" + has_province_modifier = promised_to_clear_out_heresy + owner = { + top_liege = { + religion = ROOT + has_character_modifier = promised_to_clear_out_heresy + } + } + } + + immediate = { + remove_province_modifier = promised_to_clear_out_heresy + religion_head = { + character_event = { + id = SoA.4122 + } + } + } +} + +# SoA.4122 - The heresy has been eradicated in the county. +character_event = { + id = SoA.4122 + desc = EVTDESC_SOA_4122 + picture = GFX_evt_bishop + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + immediate = { + FROM = { + owner = { + top_liege = { + reverse_opinion = { + who = ROOT + modifier = opinion_grateful + months = 120 + } + } + } + } + } + + option = { # Reward the ruler with money + name = EVTOPTA_SOA_4122 + trigger = { + wealth = 100 + } + ai_chance = { factor = 10 } + + wealth = -100 + + FROM = { + owner = { + top_liege = { + character_event = { + id = SoA.4123 tooltip = EVTTOOLTIP_SOA_4123 + } + } + } + } + } + + option = { # Reward the ruler with piety + name = EVTOPTB_SOA_4122 + ai_chance = { factor = 10 } + FROM = { + owner = { + top_liege = { + character_event = { + id = SoA.4124 tooltip = EVTTOOLTIP_SOA_4124 + } + } + } + } + } + + option = { # Lift the excommunication + name = EVTOPTC_SOA_4122 + trigger = { + FROM = { + owner = { + top_liege = { + excommunicated_for = ROOT + } + } + } + } + ai_chance = { factor = 1000 } + FROM = { + owner = { + top_liege = { + character_event = { + id = SoA.4125 tooltip = EVTTOOLTIP_SOA_4125 + } + } + } + } + } +} + +# SoA.4123 - Reward the ruler with money +character_event = { + id = SoA.4123 + desc = EVTDESC_SOA_4123 + picture = GFX_evt_bishop + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + option = { + name = EVTOPTA_SOA_4123 + wealth = 100 + opinion = { + who = FROM + modifier = opinion_grateful + months = 120 + } + } +} + +# SoA.4124 - Reward the ruler with piety +character_event = { + id = SoA.4124 + desc = EVTDESC_SOA_4124 + picture = GFX_evt_bishop + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + option = { + name = EVTOPTA_SOA_4123 + piety = 200 + opinion = { + who = FROM + modifier = opinion_grateful + months = 120 + } + } +} + +# SoA.4125 - Excommunication is lifted +character_event = { + id = SoA.4125 + desc = EVTDESC_SOA_4125 + picture = GFX_evt_bishop + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + option = { + name = EVTOPTA_SOA_4123 + + excommunicate = no + + opinion = { + who = FROM + modifier = opinion_grateful + months = 120 + } + } +} + +# SoA.4130 - Theologians arrive in the province. +province_event = { + id = SoA.4130 + desc = EVTDESC_SOA_4130 + picture = GFX_evt_bishop + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + immediate = { + add_province_modifier = { + name = theological_dialogue + days = 730 + } + random_list = { + 50 = { + province_event = { + id = SoA.4131 days = 730 + } + } + 50 = { + province_event = { + id = SoA.4133 days = 730 + } + } + } + } + + option = { + name = EVTOPTA_SOA_4130 + } +} + +# SoA.4131 - Dialogue fails! Fire SoA.4132 to the head of religion. +province_event = { + id = SoA.4131 + desc = EVTDESC_SOA_4131 + picture = GFX_evt_heretic + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + trigger = { + is_heretic = yes + } + + immediate = { + remove_province_modifier = theological_dialogue + FROMFROM = { + character_event = { + id = SoA.4132 + } + } + } + + option = { + name = EVTOPTA_SOA_4131 + } +} + +# SoA.4132 - Notification: Dialogue fails! Loss of authority. +character_event = { + id = SoA.4132 + desc = EVTDESC_SOA_4132 + picture = GFX_evt_heretic + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + option = { + name = EVTOPTA_SOA_4132 + religion_authority = { + modifier = failed_heretic_dialogue + } + } +} + +# SoA.4133 - Dialogue succeeds. Fire SoA.4134 to the head of religion. +province_event = { + id = SoA.4133 + desc = EVTDESC_SOA_4133 + picture = GFX_evt_bishop + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + trigger = { + is_heretic = yes + } + + immediate = { + religion = FROMFROM + remove_province_modifier = theological_dialogue + remove_province_modifier = religious_unrest + remove_province_modifier = heretic_stronghold + + FROMFROM = { + character_event = { + id = SoA.4134 + } + } + } + + option = { + name = EVTOPTA_SOA_4133 + } +} + +# SoA.4134 - Notification: Dialogue succeeds! +character_event = { + id = SoA.4134 + desc = EVTDESC_SOA_4134 + picture = GFX_evt_bishop + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + option = { + name = EVTOPTA_SOA_4134 + religion_authority = { + modifier = successful_heretic_dialogue + } + } +} + +# SoA.4200 - A heresy has become the new orthodoxy. On-action. There are temporary characters in FROM and FROMFROM with the correct religions set. +narrative_event = { + id = SoA.4200 + title = EVTTITLE_SOA_4200 + desc = EVTDESC_SOA_4200 + picture = GFX_evt_bishop + border = GFX_event_narrative_frame_religion + hide_from = yes + + major = yes + + is_triggered_only = yes + + option = { + name = EVTOPTA_SOA_4200 + trigger = { + religion = FROM + } + if = { + limit = { ai = no } + chronicle = { + entry = CHRONICLE_HERESY_TAKEOVER_PLAYER_IS_NEW + portrait = [Root.GetID] + } + } + } + option = { + name = EVTOPTB_SOA_4200 + trigger = { + religion = FROMFROM + } + if = { + limit = { ai = no } + chronicle = { + entry = CHRONICLE_HERESY_TAKEOVER_PLAYER_IS_OLD + portrait = [Root.GetID] + } + } + } + option = { + name = EVTOPTC_SOA_4200 + trigger = { + NOT = { religion = FROM } + NOT = { religion = FROMFROM } + } + } +} \ No newline at end of file diff --git a/LCDA/events/soa_holy_order_events.txt b/LCDA/events/soa_holy_order_events.txt new file mode 100644 index 0000000..d504a4a --- /dev/null +++ b/LCDA/events/soa_holy_order_events.txt @@ -0,0 +1,13279 @@ +########################################### +# +# Holy Order Events +# +# ID SoA 1000-2999 is reserved +# +########################################### +# Written by Henrik Fåhraeus +########################################### + +namespace = SoA + +######################################## +# The Knights Templar +######################################## + +# The Grand Master demands one of your sons due to debt +character_event = { + id = SoA.1000 + hide_window = yes + + min_age = 16 + only_playable = yes + religion_group = christian + + trigger = { + OR = { + religion = catholic + religion = cathar + religion = fraticelli + religion = waldensian + religion = lollard + } + is_heretic = no + has_character_modifier = borrowed_from_knights_templar + NOT = { has_character_flag = sent_son_to_knights_templar } + any_child = { + is_female = no + is_adult = yes + is_ruler = no + prisoner = no + NOT = { trait = incapable } + ROOT = { + NOT = { + current_heir = { + character = PREVPREV + } + } + } + } + has_dlc = "Sons of Abraham" + } + + mean_time_to_happen = { + months = 120 + } + + immediate = { + random_child = { + limit = { + is_female = no + is_adult = yes + is_ruler = no + prisoner = no + NOT = { trait = incapable } + ROOT = { + NOT = { + current_heir = { + character = PREVPREV + } + } + } + } + character_event = { + id = SoA.1001 + } + } + } +} + +character_event = { + id = SoA.1001 + hide_window = yes + + is_triggered_only = yes + + immediate = { + d_knights_templar = { + holder_scope = { + character_event = { + id = SoA.1002 + } + } + } + } +} + +character_event = { + id = SoA.1002 + + hide_window = yes + + is_triggered_only = yes + + immediate = { + FROMFROM = { + letter_event = { + id = SoA.1003 + } + } + } +} + +letter_event = { + id = SoA.1003 + desc = EVTDESC_SOA_1003 + border = GFX_event_letter_frame_religion + + is_triggered_only = yes + + option = { + name = EVTOPTA_SOA_1003 # Agree + ai_chance = { + factor = 100 + } + + set_character_flag = sent_son_to_knights_templar + + piety = 100 + + d_knights_templar = { + holder_scope = { + FROMFROM = { + hidden_tooltip = { + clear_wealth = PREV + } + spouse = { + remove_spouse = spouse + hidden_tooltip = { character_event = { id = SoA.2862 } } + } + move_character = PREV + add_trait = celibate + end_inaccessibility_effect = yes #removes in_hiding or in_seclusion + + } + } + } + } + + option = { + name = EVTOPTB_SOA_1003 # Pay them back + wealth = -300 + hidden_tooltip = { + remove_character_modifier = borrowed_from_knights_templar + } + FROM = { + wealth = 300 + } + } + + option = { + name = EVTOPTC_SOA_1003 # Refuse + piety = -1000 + } +} + +# Ping event when borrowing money from the Templars +character_event = { + id = SoA.1010 + + hide_window = yes + + is_triggered_only = yes + + immediate = { + wealth = -300 + FROM = { + letter_event = { + id = SoA.1011 + } + } + } +} + +# Notification event when borrowing money from the Templars +letter_event = { + id = SoA.1011 + desc = EVTDESC_SOA_1011 + border = GFX_event_letter_frame_religion + + is_triggered_only = yes + + option = { + name = EXCELLENT + } +} + +# Ping event when vassalizing the Templars +character_event = { + id = SoA.1015 + + hide_window = yes + + is_triggered_only = yes + + immediate = { + set_defacto_liege = FROM + FROM = { + letter_event = { + id = SoA.1016 + } + } + } +} + +# Notification event when vassalizing the Templars +letter_event = { + id = SoA.1016 + desc = EVTDESC_SOA_1016 + border = GFX_event_letter_frame_religion + + is_triggered_only = yes + + option = { + name = EXCELLENT + } +} + +# The Grand Master demands the right to build a castle in your demesne +character_event = { + id = SoA.1020 + + hide_window = yes + + min_age = 16 + only_playable = yes + religion_group = christian + + trigger = { + OR = { + religion = catholic + religion = cathar + religion = fraticelli + religion = waldensian + religion = lollard + } + is_heretic = no + + has_character_modifier = borrowed_from_knights_templar + NOT = { has_character_flag = sent_son_to_knights_templar } + + any_demesne_province = { + has_empty_holding = yes + } + + d_knights_templar = { + holder_scope = { + wealth = 300 + } + } + has_dlc = "Sons of Abraham" + + NOT = { has_character_modifier = expelled_d_knights_templar } + NOT = { + any_liege = { + has_character_modifier = expelled_d_knights_templar + } + } + } + + mean_time_to_happen = { + months = 60 + } + + immediate = { + random_demesne_province = { + limit = { + has_empty_holding = yes + } + province_event = { + id = SoA.1021 + } + } + } +} + +province_event = { + id = SoA.1021 + + hide_window = yes + + is_triggered_only = yes + + immediate = { + d_knights_templar = { + holder_scope = { + character_event = { + id = SoA.1022 + } + } + } + } +} + +character_event = { + id = SoA.1022 + + hide_window = yes + + is_triggered_only = yes + + immediate = { + FROMFROM = { + letter_event = { + id = SoA.1023 + } + } + } +} + +letter_event = { + id = SoA.1023 + desc = EVTDESC_SOA_1023 + border = GFX_event_letter_frame_religion + + is_triggered_only = yes + + option = { + name = EVTOPTA_SOA_1023 # Agree + ai_chance = { + factor = 100 + } + + hidden_tooltip = { + remove_character_modifier = borrowed_from_knights_templar + remove_character_modifier = expelled_d_knights_templar + FROMFROM = { + province_event = { id = SoA.1024 } + } + } + + piety = 100 + } + + option = { + name = EVTOPTB_SOA_1003 # Pay them back + wealth = -300 + hidden_tooltip = { + remove_character_modifier = borrowed_from_knights_templar + } + FROM = { + wealth = 300 + } + } + + option = { + name = EVTOPTC_SOA_1003 # Refuse + piety = -1000 + } +} + +# Castle has been erected +province_event = { + id = SoA.1024 + desc = EVTDESC_SOA_1024 + picture = GFX_evt_castle_construction + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + immediate = { + FROMFROM = { + wealth = -300 + } + } + + option = { + name = EVTOPTA_SOA_1024 + build_holding = { + type = castle + holder = FROMFROM + } + } +} + +# The son of a ruler volunteers to join the Knights Templar +character_event = { + id = SoA.1030 + hide_window = yes + + only_men = yes + min_age = 16 + max_age = 45 + only_capable = yes + prisoner = no + religion_group = christian + + trigger = { + is_ruler = no + OR = { + religion = catholic + religion = cathar + religion = fraticelli + religion = waldensian + religion = lollard + } + is_heretic = no + + martial = 5 + + is_title_active = d_knights_templar + + OR = { + father_even_if_dead = { + primary_title = { higher_tier_than = BARON } + } + mother_even_if_dead = { + primary_title = { higher_tier_than = BARON } + } + } + + liege = { + holy_order = no + liege = { + holy_order = no + } + } + + has_dlc = "Sons of Abraham" + + NOT = { has_character_modifier = expelled_d_knights_templar } + NOT = { + any_liege = { + has_character_modifier = expelled_d_knights_templar + } + } + + NOT = { + any_spouse = { + OR = { + is_landed = yes + AND = { + is_pregnant = yes + father_of_unborn = { character = ROOT } # Won't happen if spouse is pregnant with non-bastard child + } + } + } + } + } + + mean_time_to_happen = { + years = 100 + modifier = { + factor = 0.25 + trait = zealous + } + modifier = { + factor = 0.5 + trait = celibate + } + modifier = { + factor = 0.5 + trait = homosexual + } + modifier = { + factor = 0.7 + trait = content + } + modifier = { + factor = 0.75 + trait = chaste + } + modifier = { + factor = 0.75 + NOT = { age = 25 } + } + modifier = { + factor = 1.5 + trait = slothful + } + modifier = { + factor = 2.0 + trait = lustful + } + modifier = { + factor = 2.0 + trait = cynical + } + modifier = { + factor = 2.0 + trait = hedonist + } + modifier = { + factor = 2.0 + trait = ambitious + } + modifier = { + factor = 2.0 + any_heir_title = { + always = yes + } + } + modifier = { + factor = 2.0 + is_primary_heir = yes + } + modifier = { + factor = 2 + any_spouse = { + reverse_opinion = { who = ROOT value = 100 } + } + } + modifier = { + factor = 3.0 # Prefer the Teutonic Order + OR = { + culture_group = north_germanic + culture_group = central_germanic + culture_group = magyar + culture_group = south_slavic + culture_group = west_slavic + } + } + } + + immediate = { + liege = { + character_event = { + id = SoA.1031 + } + } + } +} + +# Son or brother asks to join the Knights Templar +character_event = { + id = SoA.1031 + desc = EVTDESC_SOA_1031 + picture = GFX_evt_crusaders + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + option = { + name = EVTOPTA_SOA_1031 # Agree + ai_chance = { + factor = 100 + } + + if = { + limit = { + religion = FROM + } + piety = 100 + } + + FROM = { + character_event = { + id = SoA.1032 + tooltip = EVTTOOLTIP_SOA_1032 + } + } + } + + option = { + name = EVTOPTB_SOA_1031 # Refuse + + if = { + limit = { + religion = FROM + } + piety = -100 + } + + FROM = { + character_event = { + id = SoA.1033 + tooltip = EVTTOOLTIP_SOA_1033 + } + } + } +} + +# Son or brother joins the Knights Templar +character_event = { + id = SoA.1032 + hide_window = yes + + is_triggered_only = yes + + immediate = { + d_knights_templar = { + holder_scope = { + save_event_target_as = order_target + ROOT = { + character_event = { id = SoA.2864 } + } + } + } + } +} + +# Liege refuses request to join the Knights Templar +character_event = { + id = SoA.1033 + hide_window = yes + + is_triggered_only = yes + + immediate = { + opinion = { + who = FROM + modifier = opinion_refused_request_holy_order + } + } +} + +# The Grand Master humbly requests the right to build a castle in your demesne +character_event = { + id = SoA.1050 + hide_window = yes + + min_age = 16 + only_playable = yes + religion_group = christian + + trigger = { + OR = { + religion = catholic + religion = cathar + religion = fraticelli + religion = waldensian + religion = lollard + } + is_heretic = no + + d_knights_templar = { + holder_scope = { + wealth = 300 + NOT = { + realm_size = 10 + } + NOT = { + num_of_count_titles = 1 + } + } + } + + any_demesne_province = { + has_empty_holding = yes + OR = { + region = world_persia + region = world_middle_east + region = world_asia_minor + region = world_africa_north + region = world_europe_south + region = world_europe_west + } + } + + has_dlc = "Sons of Abraham" + + NOT = { has_character_modifier = expelled_d_knights_templar } + NOT = { + any_liege = { + has_character_modifier = expelled_d_knights_templar + } + } + } + + mean_time_to_happen = { + months = 240 + modifier = { + factor = 0.5 + d_knights_templar = { + holder_scope = { + NOT = { demesne_size = 1 } + } + } + } + modifier = { + factor = 0.5 + d_knights_templar = { + holder_scope = { + NOT = { demesne_size = 2 } + } + } + } + modifier = { + factor = 2.0 + d_knights_templar = { + holder_scope = { + realm_size = 5 + } + } + } + } + + immediate = { + random_demesne_province = { + limit = { + has_empty_holding = yes + OR = { + region = world_persia + region = world_middle_east + region = world_asia_minor + region = world_africa_north + region = world_europe_south + region = world_europe_west + } + } + province_event = { + id = SoA.1051 + } + } + } +} + +province_event = { + id = SoA.1051 + hide_window = yes + + is_triggered_only = yes + + immediate = { + d_knights_templar = { + holder_scope = { + character_event = { + id = SoA.1052 + } + } + } + } +} + +character_event = { + id = SoA.1052 + hide_window = yes + + is_triggered_only = yes + + immediate = { + FROMFROM = { + letter_event = { + id = SoA.1053 + } + } + } +} + +letter_event = { + id = SoA.1053 + desc = EVTDESC_SOA_1053 + border = GFX_event_letter_frame_religion + + is_triggered_only = yes + + option = { + name = EVTOPTA_SOA_1023 # Agree + ai_chance = { + factor = 80 + modifier = { + factor = 0 + has_character_modifier = expelled_d_knights_templar + } + } + + hidden_tooltip = { + FROMFROM = { + province_event = { id = SoA.1054 } + } + remove_character_modifier = expelled_d_knights_templar + } + + piety = 200 + wealth = 100 + } + + option = { + name = EVTOPTB_SOA_1031 # Refuse + ai_chance = { + factor = 20 + } + + piety = -100 + } +} + +# Castle has been erected +province_event = { + id = SoA.1054 + desc = EVTDESC_SOA_1054 + picture = GFX_evt_castle_construction + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + immediate = { + FROMFROM = { + wealth = -300 + } + } + + option = { + name = EVTOPTA_SOA_1024 + build_holding = { + type = castle + holder = FROMFROM + } + } +} + + +# Ping event when expelling a Christian Holy Order +character_event = { + id = SoA.1060 + hide_window = yes + + is_triggered_only = yes + + immediate = { + any_title_under = { + limit = { + tier = BARON + location = { + owner = { + OR = { + character = FROM + is_liege_or_above = FROM + } + } + } + } + usurp_title = FROM + } + + if = { + limit = { + is_liege_or_above = FROM + } + set_defacto_liege = THIS + } + + FROM = { + letter_event = { + id = SoA.1061 + } + } + + opinion = { + who = FROM + modifier = opinion_expelled_from_realm + } + } +} + +# Notification event when expelling a Christian Holy Order +letter_event = { + id = SoA.1061 + desc = EVTDESC_SOA_1061 + border = GFX_event_letter_frame_religion + + is_triggered_only = yes + + immediate = { + remove_character_modifier = donated_to_holy_order + } + + option = { + name = EVTOPTB_SOA_1061 + } +} + +######################################## +# The Knights of St John +######################################## + +# Ping event when vassalizing the Hospitallers +character_event = { + id = SoA.1115 + hide_window = yes + + is_triggered_only = yes + + immediate = { + set_defacto_liege = FROM + FROM = { + letter_event = { + id = SoA.1116 + } + } + } +} + +# Notification event when vassalizing the Hospitallers +letter_event = { + id = SoA.1116 + desc = EVTDESC_SOA_1116 + border = GFX_event_letter_frame_religion + + is_triggered_only = yes + + option = { + name = EXCELLENT + } +} + +# The son of a ruler volunteers to join the Knights of St John +character_event = { + id = SoA.1130 + hide_window = yes + + only_men = yes + min_age = 16 + max_age = 45 + only_capable = yes + prisoner = no + religion_group = christian + + trigger = { + is_ruler = no + OR = { + religion = catholic + religion = cathar + religion = fraticelli + religion = waldensian + religion = lollard + } + is_heretic = no + + martial = 5 + + is_title_active = d_knights_hospitaler + + OR = { + father_even_if_dead = { + primary_title = { higher_tier_than = BARON } + } + mother_even_if_dead = { + primary_title = { higher_tier_than = BARON } + } + } + + liege = { + holy_order = no + liege = { + holy_order = no + } + } + + has_dlc = "Sons of Abraham" + + NOT = { has_character_modifier = expelled_d_knights_hospitaler } + NOT = { + any_liege = { + has_character_modifier = expelled_d_knights_hospitaler + } + } + + NOT = { + any_spouse = { + OR = { + is_landed = yes + AND = { + is_pregnant = yes + father_of_unborn = { character = ROOT } # Won't happen if spouse is pregnant with non-bastard child + } + } + } + } + } + + mean_time_to_happen = { + years = 100 + modifier = { + factor = 0.25 + trait = zealous + } + modifier = { + factor = 0.5 + trait = celibate + } + modifier = { + factor = 0.5 + trait = homosexual + } + modifier = { + factor = 0.7 + trait = content + } + modifier = { + factor = 0.75 + trait = chaste + } + modifier = { + factor = 0.75 + NOT = { age = 25 } + } + modifier = { + factor = 1.5 + trait = slothful + } + modifier = { + factor = 2.0 + trait = lustful + } + modifier = { + factor = 2.0 + trait = cynical + } + modifier = { + factor = 2.0 + trait = hedonist + } + modifier = { + factor = 2.0 + trait = ambitious + } + modifier = { + factor = 2.0 + any_heir_title = { + always = yes + } + } + modifier = { + factor = 2.0 + is_primary_heir = yes + } + modifier = { + factor = 2 + any_spouse = { + reverse_opinion = { who = ROOT value = 100 } + } + } + modifier = { + factor = 3.0 # Prefer the Teutonic Order + OR = { + culture_group = north_germanic + culture_group = central_germanic + culture_group = magyar + culture_group = south_slavic + culture_group = west_slavic + } + } + } + + immediate = { + liege = { + character_event = { + id = SoA.1131 + } + } + } +} + +# Son or brother asks to join the Knights of St John +character_event = { + id = SoA.1131 + desc = EVTDESC_SOA_1131 + picture = GFX_evt_crusaders + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + option = { + name = EVTOPTA_SOA_1031 # Agree + ai_chance = { + factor = 100 + } + + if = { + limit = { + religion = FROM + } + piety = 100 + } + + FROM = { + character_event = { + id = SoA.1132 + tooltip = EVTTOOLTIP_SOA_1132 + } + } + } + + option = { + name = EVTOPTB_SOA_1031 # Refuse + + if = { + limit = { + religion = FROM + } + piety = -100 + } + + FROM = { + character_event = { + id = SoA.1133 + tooltip = EVTTOOLTIP_SOA_1033 + } + } + } +} + +# Son or brother joins the Knights of St John +character_event = { + id = SoA.1132 + hide_window = yes + + is_triggered_only = yes + + immediate = { + d_knights_hospitaler = { + holder_scope = { + save_event_target_as = order_target + ROOT = { + character_event = { id = SoA.2864 } + } + } + } + } +} + +# Liege refuses request to join the Knights of St John +character_event = { + id = SoA.1133 + hide_window = yes + + is_triggered_only = yes + + immediate = { + opinion = { + who = FROM + modifier = opinion_refused_request_holy_order + } + } +} + +# Ping event when donating money to the Hospitallers (also used for Bektashi, Assassins, Haruriyyah and Templar orders) +character_event = { + id = SoA.1140 + hide_window = yes + + is_triggered_only = yes + + immediate = { + wealth = 300 + if = { + limit = { religion_group = christian } + FROM = { + letter_event = { + id = SoA.1141 + } + } + } + if = { + limit = { religion_group = muslim } + FROM = { + letter_event = { + id = CM.4399 + } + } + } + opinion = { + who = FROM + modifier = opinion_generous_donation + } + } +} + +# Notification event when donating money to the Hospitallers +letter_event = { + id = SoA.1141 + desc = EVTDESC_SOA_1141 + border = GFX_event_letter_frame_religion + + is_triggered_only = yes + + option = { + name = EXCELLENT + } +} + +# The Grand Master humbly requests the right to build a castle in your demesne +character_event = { + id = SoA.1150 + hide_window = yes + + min_age = 16 + only_playable = yes + religion_group = christian + + trigger = { + OR = { + religion = catholic + religion = cathar + religion = fraticelli + religion = waldensian + religion = lollard + } + is_heretic = no + + d_knights_hospitaler = { + holder_scope = { + wealth = 300 + NOT = { + realm_size = 10 + } + } + } + + any_demesne_province = { + has_empty_holding = yes + OR = { + region = world_persia + region = world_middle_east + region = world_asia_minor + region = world_india_rajastan + region = world_africa_north + } + } + + has_dlc = "Sons of Abraham" + + NOT = { has_character_modifier = expelled_d_knights_hospitaler } + NOT = { + any_liege = { + has_character_modifier = expelled_d_knights_hospitaler + } + } + } + + mean_time_to_happen = { + months = 240 + modifier = { + factor = 0.5 + d_knights_hospitaler = { + holder_scope = { + NOT = { demesne_size = 1 } + } + } + } + modifier = { + factor = 0.5 + d_knights_hospitaler = { + holder_scope = { + NOT = { demesne_size = 2 } + } + } + } + modifier = { + factor = 2.0 + d_knights_hospitaler = { + holder_scope = { + num_of_count_titles = 1 + } + } + } + modifier = { + factor = 2.0 + d_knights_hospitaler = { + holder_scope = { + realm_size = 5 + } + } + } + } + + immediate = { + random_demesne_province = { + limit = { + has_empty_holding = yes + OR = { + region = world_persia + region = world_middle_east + region = world_asia_minor + region = world_india_rajastan + region = world_africa_north + } + } + province_event = { + id = SoA.1151 + } + } + } +} + +province_event = { + id = SoA.1151 + hide_window = yes + + is_triggered_only = yes + + immediate = { + d_knights_hospitaler = { + holder_scope = { + character_event = { + id = SoA.1152 + } + } + } + } +} + +character_event = { + id = SoA.1152 + hide_window = yes + + is_triggered_only = yes + + immediate = { + FROMFROM = { + letter_event = { + id = SoA.1153 + } + } + } +} + +letter_event = { + id = SoA.1153 + desc = EVTDESC_SOA_1153 + border = GFX_event_letter_frame_religion + + is_triggered_only = yes + + option = { + name = EVTOPTA_SOA_1023 # Agree + ai_chance = { + factor = 80 + modifier = { + factor = 0 + has_character_modifier = expelled_d_knights_hospitaler + } + } + + hidden_tooltip = { + FROMFROM = { + province_event = { id = SoA.1154 } + } + remove_character_modifier = expelled_d_knights_hospitaler + } + + piety = 200 + wealth = 100 + } + + option = { + name = EVTOPTB_SOA_1153 # Refuse + ai_chance = { + factor = 20 + } + + piety = -100 + } +} + +# Castle has been erected +province_event = { + id = SoA.1154 + desc = EVTDESC_SOA_1154 + picture = GFX_evt_castle_construction + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + immediate = { + FROMFROM = { + wealth = -300 + } + } + + option = { + name = EVTOPTA_SOA_1024 + build_holding = { + type = castle + holder = FROMFROM + } + } +} + +######################################## +# The Bektashi Order +######################################## + +# The Grand Master demands one of your sons due to debt +character_event = { + id = SoA.1200 + hide_window = yes + + min_age = 16 + only_playable = yes + religion_group = muslim + + trigger = { + OR = { + religion = sunni + religion = zikri + religion = yazidi + } + is_heretic = no + has_character_modifier = borrowed_from_bektashi + NOT = { has_character_flag = sent_son_to_bektashi } + any_child = { + is_female = no + is_adult = yes + is_ruler = no + prisoner = no + NOT = { trait = incapable } + ROOT = { + NOT = { + current_heir = { + character = PREVPREV + } + } + } + } + has_dlc = "Sons of Abraham" + } + + mean_time_to_happen = { + months = 120 + } + + immediate = { + random_child = { + limit = { + is_female = no + is_adult = yes + is_ruler = no + prisoner = no + NOT = { trait = incapable } + ROOT = { + NOT = { + current_heir = { + character = PREVPREV + } + } + } + } + character_event = { + id = SoA.1201 + } + } + } +} + +character_event = { + id = SoA.1201 + hide_window = yes + + is_triggered_only = yes + + immediate = { + d_bektashi = { + holder_scope = { + character_event = { + id = SoA.1202 + } + } + } + } +} + +character_event = { + id = SoA.1202 + hide_window = yes + + is_triggered_only = yes + + immediate = { + FROMFROM = { + letter_event = { + id = SoA.1203 + } + } + } +} + +letter_event = { + id = SoA.1203 + desc = EVTDESC_SOA_1203 + border = GFX_event_letter_frame_religion + + is_triggered_only = yes + + option = { + name = EVTOPTA_SOA_1003 # Agree + ai_chance = { + factor = 100 + } + + set_character_flag = sent_son_to_bektashi + + piety = 100 + + d_bektashi = { + holder_scope = { + FROMFROM = { + move_character = PREV + hidden_tooltip = { + clear_wealth = PREV + } + end_inaccessibility_effect = yes #removes in_hiding or in_seclusion + } + } + } + } + + option = { + name = EVTOPTB_SOA_1003 # Pay them back + wealth = -300 + hidden_tooltip = { + remove_character_modifier = borrowed_from_bektashi + } + FROM = { + wealth = 300 + } + } + + option = { + name = EVTOPTC_SOA_1003 # Refuse + piety = -1000 + } +} + + +# Birth of the Bektashi Order +narrative_event = { + id = SoA.1209 + title = EVTTITLE_SOA_1209 + desc = EVTDESC_SOA_1209 + picture = GFX_evt_moors + + major = yes + hide_from = yes + + only_playable = yes + only_men = yes + religion_group = muslim + has_global_flag = muslim_jihads_unlocked + has_dlc = "Sons of Abraham" + + trigger = { + OR = { + religion = sunni + religion = zikri + religion = yazidi + } + is_heretic = no + NOT = { + is_title_active = d_bektashi + } + + + OR = { + year = 1228 # Historical + + 693 = { # Baghdad + NOT = { owner = { religion_group = muslim } } + } + 728 = { # Damascus + NOT = { owner = { religion_group = muslim } } + } + 796 = { # Cairo + NOT = { owner = { religion_group = muslim } } + } + 774 = { # Jerusalem + NOT = { owner = { religion_group = muslim } } + } + 719 = { # Mecca + NOT = { owner = { religion_group = muslim } } + } + } + } + + mean_time_to_happen = { + months = 6 + } + + immediate = { + activate_title = { title = d_bektashi status = yes } + create_character = { + random_traits = no + name = Bektash + dynasty = random + religion = ROOT + culture = persian + female = no + age = 25 + attributes = { + martial = 10 + diplomacy = 9 + stewardship = 9 + intrigue = 7 + learning = 9 + } + health = 6 + fertility = 0.5 + trait = brilliant_strategist + trait = sayyid + trait = hajjaj + trait = hafiz + trait = patient + trait = zealous + trait = scholar + trait = temperate + } + new_character = { + wealth = 500 + d_bektashi = { + grant_title = PREV + } + set_government_type = feudal_government + create_character = { + random_traits = yes + dynasty = random + religion = ROOT + culture = persian + female = no + age = 16 + } + create_character = { + random_traits = yes + dynasty = random + religion = ROOT + culture = persian + female = no + age = 18 + } + create_character = { + random_traits = yes + dynasty = random + religion = ROOT + culture = persian + female = no + age = 18 + } + create_character = { + random_traits = yes + dynasty = random + religion = ROOT + culture = persian + female = no + age = 20 + } + create_character = { + random_traits = yes + dynasty = random + religion = ROOT + culture = persian + female = no + age = 25 + } + create_character = { + random_traits = yes + dynasty = random + religion = ROOT + culture = persian + female = no + age = 26 + } + create_character = { + random_traits = yes + dynasty = random + religion = ROOT + culture = persian + female = no + age = 28 + } + create_character = { + random_traits = yes + dynasty = random + religion = ROOT + culture = persian + female = yes + age = 16 + } + create_character = { + random_traits = yes + dynasty = random + religion = ROOT + culture = persian + female = yes + age = 17 + } + } + } + + option = { + name = EVTOPTA_SOA_1209 + trigger = { + religion = ROOT + } + } + option = { + name = EVTOPTB_SOA_1209 + trigger = { + NOT = { religion = ROOT } + } + } +} + +# Ping event when borrowing money from the Bektashi +character_event = { + id = SoA.1210 + hide_window = yes + + is_triggered_only = yes + + immediate = { + wealth = -300 + FROM = { + letter_event = { + id = SoA.1211 + } + } + } +} + +# Notification event when borrowing money from the Bektashi +letter_event = { + id = SoA.1211 + desc = EVTDESC_SOA_1211 + border = GFX_event_letter_frame_religion + + is_triggered_only = yes + + option = { + name = EXCELLENT + } +} + + +# The Grand Master demands the right to build a castle in your demesne +character_event = { + id = SoA.1220 + hide_window = yes + + min_age = 16 + only_playable = yes + religion_group = muslim + + trigger = { + OR = { + religion = sunni + religion = zikri + religion = yazidi + } + is_heretic = no + + has_character_modifier = borrowed_from_bektashi + NOT = { has_character_flag = sent_son_to_bektashi } + + any_demesne_province = { + has_empty_holding = yes + } + + d_bektashi = { + holder_scope = { + wealth = 300 + } + } + has_dlc = "Sons of Abraham" + + NOT = { has_character_modifier = expelled_d_bektashi } + NOT = { + any_liege = { + has_character_modifier = expelled_d_bektashi + } + } + } + + mean_time_to_happen = { + months = 60 + } + + immediate = { + random_demesne_province = { + limit = { + has_empty_holding = yes + } + province_event = { + id = SoA.1221 + } + } + } +} + +province_event = { + id = SoA.1221 + hide_window = yes + + is_triggered_only = yes + + immediate = { + d_bektashi = { + holder_scope = { + character_event = { + id = SoA.1222 + } + } + } + } +} + +character_event = { + id = SoA.1222 + hide_window = yes + + is_triggered_only = yes + + immediate = { + FROMFROM = { + letter_event = { + id = SoA.1223 + } + } + } +} + +letter_event = { + id = SoA.1223 + desc = EVTDESC_SOA_1223 + border = GFX_event_letter_frame_religion + + is_triggered_only = yes + + option = { + name = EVTOPTA_SOA_1023 # Agree + ai_chance = { + factor = 100 + } + + hidden_tooltip = { + remove_character_modifier = borrowed_from_bektashi + FROMFROM = { + province_event = { id = SoA.1224 } + } + } + + piety = 100 + } + + option = { + name = EVTOPTB_SOA_1003 # Pay them back + wealth = -300 + hidden_tooltip = { + remove_character_modifier = borrowed_from_bektashi + } + FROM = { + wealth = 300 + } + } + + option = { + name = EVTOPTC_SOA_1003 # Refuse + piety = -1000 + } +} + +# Castle has been erected +province_event = { + id = SoA.1224 + desc = EVTDESC_SOA_1224 + picture = GFX_evt_castle_construction + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + immediate = { + FROMFROM = { + wealth = -300 + } + } + + option = { + name = EVTOPTA_SOA_1024 + build_holding = { + type = castle + holder = FROMFROM + } + } +} + +# The son of a ruler volunteers to join the Bektashi Order +character_event = { + id = SoA.1230 + hide_window = yes + + only_men = yes + min_age = 16 + max_age = 45 + only_capable = yes + prisoner = no + religion_group = muslim + + trigger = { + is_ruler = no + OR = { + religion = sunni + religion = zikri + religion = yazidi + } + is_heretic = no + + martial = 5 + + is_title_active = d_bektashi + + OR = { + father_even_if_dead = { + primary_title = { higher_tier_than = BARON } + } + mother_even_if_dead = { + primary_title = { higher_tier_than = BARON } + } + } + + liege = { + holy_order = no + liege = { + holy_order = no + } + } + + has_dlc = "Sons of Abraham" + + NOT = { has_character_modifier = expelled_d_bektashi } + NOT = { + any_liege = { + has_character_modifier = expelled_d_bektashi + } + } + + NOT = { + any_spouse = { + OR = { + is_landed = yes + AND = { + is_pregnant = yes + father_of_unborn = { character = ROOT } # Won't happen if spouse is pregnant with non-bastard child + } + } + } + } + } + + mean_time_to_happen = { + years = 100 + modifier = { + factor = 0.25 + trait = zealous + } + modifier = { + factor = 0.5 + trait = celibate + } + modifier = { + factor = 0.5 + trait = homosexual + } + modifier = { + factor = 0.7 + trait = content + } + modifier = { + factor = 0.75 + trait = chaste + } + modifier = { + factor = 0.75 + NOT = { age = 25 } + } + modifier = { + factor = 1.5 + trait = slothful + } + modifier = { + factor = 2.0 + trait = lustful + } + modifier = { + factor = 2.0 + trait = cynical + } + modifier = { + factor = 2.0 + trait = hedonist + } + modifier = { + factor = 2.0 + trait = ambitious + } + modifier = { + factor = 2.0 + any_heir_title = { + always = yes + } + } + modifier = { + factor = 2.0 + is_primary_heir = yes + } + modifier = { + factor = 2 + any_spouse = { + reverse_opinion = { who = ROOT value = 100 } + } + } + } + + immediate = { + liege = { + character_event = { + id = SoA.1231 + } + } + } +} + +# Son or brother asks to join the Bektashi +character_event = { + id = SoA.1231 + desc = EVTDESC_SOA_1231 + picture = GFX_evt_moors + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + option = { + name = EVTOPTA_SOA_1031 # Agree + ai_chance = { + factor = 100 + } + + if = { + limit = { + religion = FROM + } + piety = 100 + } + + FROM = { + character_event = { + id = SoA.1232 + tooltip = EVTTOOLTIP_SOA_1232 + } + } + } + + option = { + name = EVTOPTB_SOA_1031 # Refuse + + if = { + limit = { + religion = FROM + } + piety = -100 + } + + FROM = { + character_event = { + id = SoA.1233 + tooltip = EVTTOOLTIP_SOA_1033 + } + } + } +} + +# Son or brother joins the Bektashi Order +character_event = { + id = SoA.1232 + + hide_window = yes + + is_triggered_only = yes + + immediate = { + d_bektashi = { + holder_scope = { + save_event_target_as = order_target + ROOT = { + character_event = { id = SoA.2864 } + } + } + } + } +} + +# Liege refuses request to join the Bektashi +character_event = { + id = SoA.1233 + + hide_window = yes + + is_triggered_only = yes + + immediate = { + opinion = { + who = FROM + modifier = opinion_refused_request_holy_order + } + } +} + + +# The Grand Master requests the right to build a castle in your demesne +character_event = { + id = SoA.1250 + hide_window = yes + + min_age = 16 + only_playable = yes + religion_group = muslim + + trigger = { + is_heretic = no + OR = { + religion = sunni + religion = zikri + religion = yazidi + } + + d_bektashi = { + holder_scope = { + wealth = 300 + NOT = { + realm_size = 10 + } + NOT = { + num_of_count_titles = 1 + } + } + } + + any_demesne_province = { + has_empty_holding = yes + port = yes + } + + has_dlc = "Sons of Abraham" + + NOT = { has_character_modifier = expelled_d_bektashi } + NOT = { + any_liege = { + has_character_modifier = expelled_d_bektashi + } + } + } + + mean_time_to_happen = { + months = 240 + modifier = { + factor = 0.5 + d_bektashi = { + holder_scope = { + NOT = { demesne_size = 1 } + } + } + } + modifier = { + factor = 0.5 + d_bektashi = { + holder_scope = { + NOT = { demesne_size = 2 } + } + } + } + modifier = { + factor = 2.0 + d_bektashi = { + holder_scope = { + realm_size = 5 + } + } + } + } + + immediate = { + random_demesne_province = { + limit = { + has_empty_holding = yes + port = yes + } + province_event = { + id = SoA.1251 + } + } + } +} + +province_event = { + id = SoA.1251 + hide_window = yes + + is_triggered_only = yes + + immediate = { + d_bektashi = { + holder_scope = { + character_event = { + id = SoA.1252 + } + } + } + } +} + +character_event = { + id = SoA.1252 + hide_window = yes + + is_triggered_only = yes + + immediate = { + FROMFROM = { + letter_event = { + id = SoA.1253 + } + } + } +} + +letter_event = { + id = SoA.1253 + desc = EVTDESC_SOA_1253 + border = GFX_event_letter_frame_religion + + is_triggered_only = yes + + option = { + name = EVTOPTA_SOA_1023 # Agree + ai_chance = { + factor = 100 + modifier = { + factor = 0 + has_character_modifier = expelled_d_bektashi + } + } + + hidden_tooltip = { + FROMFROM = { + province_event = { id = SoA.1254 } + } + remove_character_modifier = expelled_d_bektashi + } + + piety = 200 + wealth = 100 + } + + option = { + name = EVTOPTB_SOA_1031 # Refuse + ai_chance = { + factor = 20 + } + + piety = -100 + } +} + +# Castle has been erected +province_event = { + id = SoA.1254 + desc = EVTDESC_SOA_1224 + picture = GFX_evt_moors + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + immediate = { + FROMFROM = { + wealth = -300 + } + } + + option = { + name = EVTOPTA_SOA_1024 + build_holding = { + type = castle + holder = FROMFROM + } + } +} + + +######################################## +# The Teutonic Order +######################################## + +# The son of a ruler volunteers to join the Teutonic Order +character_event = { + id = SoA.1330 + hide_window = yes + + only_men = yes + min_age = 16 + max_age = 45 + only_capable = yes + prisoner = no + religion_group = christian + + trigger = { + is_ruler = no + OR = { + religion = catholic + religion = cathar + religion = fraticelli + religion = waldensian + religion = lollard + } + is_heretic = no + + martial = 5 + + is_title_active = d_teutonic_order + + OR = { + father_even_if_dead = { + primary_title = { higher_tier_than = BARON } + } + mother_even_if_dead = { + primary_title = { higher_tier_than = BARON } + } + } + + liege = { + holy_order = no + liege = { + holy_order = no + } + } + + has_dlc = "Sons of Abraham" + + NOT = { has_character_modifier = expelled_d_teutonic_order } + NOT = { + any_liege = { + has_character_modifier = expelled_d_teutonic_order + } + } + + NOT = { + any_spouse = { + OR = { + is_landed = yes + AND = { + is_pregnant = yes + father_of_unborn = { character = ROOT } # Won't happen if spouse is pregnant with non-bastard child + } + } + } + } + } + + mean_time_to_happen = { + years = 100 + modifier = { + factor = 0.25 + trait = zealous + } + modifier = { + factor = 0.5 + trait = celibate + } + modifier = { + factor = 0.5 + trait = homosexual + } + modifier = { + factor = 0.7 + trait = content + } + modifier = { + factor = 0.75 + trait = chaste + } + modifier = { + factor = 0.75 + NOT = { age = 25 } + } + modifier = { + factor = 1.5 + trait = slothful + } + modifier = { + factor = 2.0 + trait = lustful + } + modifier = { + factor = 2.0 + trait = cynical + } + modifier = { + factor = 2.0 + trait = hedonist + } + modifier = { + factor = 2.0 + trait = ambitious + } + modifier = { + factor = 2.0 + any_heir_title = { + always = yes + } + } + modifier = { + factor = 2.0 + is_primary_heir = yes + } + modifier = { + factor = 2 + any_spouse = { + reverse_opinion = { who = ROOT value = 100 } + } + } + modifier = { + factor = 3.0 # Prefer the other Holy Orders + NOT = { + OR = { + culture_group = north_germanic + culture_group = central_germanic + culture_group = magyar + culture_group = south_slavic + culture_group = west_slavic + } + } + } + } + + immediate = { + liege = { + character_event = { + id = SoA.1331 + } + } + } +} + +# Son or brother asks to join the Teutonic Order +character_event = { + id = SoA.1331 + desc = EVTDESC_SOA_1331 + picture = GFX_evt_crusaders + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + option = { + name = EVTOPTA_SOA_1031 # Agree + ai_chance = { + factor = 100 + } + + if = { + limit = { + religion = FROM + } + piety = 100 + } + + FROM = { + character_event = { + id = SoA.1332 + tooltip = EVTTOOLTIP_SOA_1332 + } + } + } + + option = { + name = EVTOPTB_SOA_1031 # Refuse + + if = { + limit = { + religion = FROM + } + piety = -100 + } + + FROM = { + character_event = { + id = SoA.1333 + tooltip = EVTTOOLTIP_SOA_1033 + } + } + } +} + +# Son or brother joins the Teutonic Order +character_event = { + id = SoA.1332 + hide_window = yes + + is_triggered_only = yes + + immediate = { + d_teutonic_order = { + holder_scope = { + save_event_target_as = order_target + ROOT = { + character_event = { id = SoA.2864 } + } + } + } + } +} + +# Liege refuses request to join the Teutonic Order +character_event = { + id = SoA.1333 + hide_window = yes + + is_triggered_only = yes + + immediate = { + opinion = { + who = FROM + modifier = opinion_refused_request_holy_order + } + } +} + +# Ping event when donating money to the Teutonic Order +character_event = { + id = SoA.1340 + hide_window = yes + + is_triggered_only = yes + + immediate = { + wealth = 300 + FROM = { + letter_event = { + id = SoA.1141 # We can just reuse this + } + } + opinion = { + who = FROM + modifier = opinion_generous_donation + } + } +} + +# The Grand Master humbly requests the right to build a castle in your demesne +character_event = { + id = SoA.1350 + hide_window = yes + + min_age = 16 + only_playable = yes + religion_group = christian + + trigger = { + OR = { + religion = catholic + religion = cathar + religion = fraticelli + religion = waldensian + religion = lollard + } + is_heretic = no + + d_teutonic_order = { + holder_scope = { + wealth = 300 + NOT = { + realm_size = 10 + } + } + } + + any_demesne_province = { + has_empty_holding = yes + OR = { + region = world_europe_east + region = world_steppe + } + } + + has_dlc = "Sons of Abraham" + + NOT = { has_character_modifier = expelled_d_teutonic_order } + NOT = { + any_liege = { + has_character_modifier = expelled_d_teutonic_order + } + } + } + + mean_time_to_happen = { + months = 240 + modifier = { + factor = 0.5 + d_teutonic_order = { + holder_scope = { + NOT = { demesne_size = 1 } + } + } + } + modifier = { + factor = 0.5 + d_teutonic_order = { + holder_scope = { + NOT = { demesne_size = 2 } + } + } + } + modifier = { + factor = 2.0 + d_teutonic_order = { + holder_scope = { + num_of_count_titles = 1 + } + } + } + modifier = { + factor = 2.0 + d_teutonic_order = { + holder_scope = { + realm_size = 5 + } + } + } + } + + immediate = { + random_demesne_province = { + limit = { + has_empty_holding = yes + OR = { + region = world_europe_east + region = world_steppe + } + } + province_event = { + id = SoA.1351 + } + } + } +} + +province_event = { + id = SoA.1351 + hide_window = yes + + is_triggered_only = yes + + immediate = { + d_teutonic_order = { + holder_scope = { + character_event = { + id = SoA.1352 + } + } + } + } +} + +character_event = { + id = SoA.1352 + hide_window = yes + + is_triggered_only = yes + + immediate = { + FROMFROM = { + letter_event = { + id = SoA.1353 + } + } + } +} + +letter_event = { + id = SoA.1353 + desc = EVTDESC_SOA_1353 + border = GFX_event_letter_frame_religion + + is_triggered_only = yes + + option = { + name = EVTOPTA_SOA_1023 # Agree + ai_chance = { + factor = 80 + modifier = { + factor = 0 + has_character_modifier = expelled_d_teutonic_order + } + modifier = { + factor = 0.05 + NOT = { culture_group = central_germanic } + } + } + + hidden_tooltip = { + FROMFROM = { + province_event = { id = SoA.1354 } + } + remove_character_modifier = expelled_d_teutonic_order + } + + piety = 200 + wealth = 100 + } + + option = { + name = EVTOPTB_SOA_1153 # Refuse + ai_chance = { + factor = 20 + } + + if = { + limit = { + religion = FROM + } + piety = -100 + } + } +} + +# Castle has been erected +province_event = { + id = SoA.1354 + desc = EVTDESC_SOA_1354 + picture = GFX_evt_castle_construction + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + immediate = { + FROMFROM = { + wealth = -300 + } + } + + option = { + name = EVTOPTA_SOA_1024 + build_holding = { + type = castle + holder = FROMFROM + } + } +} + +######################################## +# The Hashshashin +######################################## + +# The Grand Master demands one of your sons due to debt +character_event = { + id = SoA.1400 + hide_window = yes + + min_age = 16 + only_playable = yes + religion_group = muslim + + trigger = { + OR = { + religion = shiite + religion = druze + religion = hurufi + } + is_heretic = no + has_character_modifier = borrowed_from_assassins + NOT = { has_character_flag = sent_son_to_assassins } + any_child = { + is_female = no + is_adult = yes + is_ruler = no + prisoner = no + NOT = { trait = incapable } + ROOT = { + NOT = { + current_heir = { + character = PREVPREV + } + } + } + } + has_dlc = "Sons of Abraham" + + NOT = { has_character_modifier = expelled_d_hashshashin } + NOT = { + any_liege = { + has_character_modifier = expelled_d_hashshashin + } + } + } + + mean_time_to_happen = { + months = 120 + } + + immediate = { + random_child = { + limit = { + is_female = no + is_adult = yes + is_ruler = no + prisoner = no + NOT = { trait = incapable } + ROOT = { + NOT = { + current_heir = { + character = PREVPREV + } + } + } + } + character_event = { + id = SoA.1401 + } + } + } +} + +character_event = { + id = SoA.1401 + hide_window = yes + + is_triggered_only = yes + + immediate = { + d_hashshashin = { + holder_scope = { + character_event = { + id = SoA.1402 + } + } + } + } +} + +character_event = { + id = SoA.1402 + hide_window = yes + + is_triggered_only = yes + + immediate = { + FROMFROM = { + letter_event = { + id = SoA.1403 + } + } + } +} + +letter_event = { + id = SoA.1403 + desc = EVTDESC_SOA_1203 + border = GFX_event_letter_frame_religion + + is_triggered_only = yes + + option = { + name = EVTOPTA_SOA_1403 # Agree + + set_character_flag = sent_son_to_assassins + + piety = 100 + + d_hashshashin = { + holder_scope = { + FROMFROM = { + move_character = PREV + hidden_tooltip = { + clear_wealth = PREV + add_trait = disinherited + } + end_inaccessibility_effect = yes #removes in_hiding or in_seclusion + } + } + } + ai_chance = { + factor = 10 + } + } + + option = { + name = EVTOPTB_SOA_1003 # Pay them back + wealth = -300 + hidden_tooltip = { + remove_character_modifier = borrowed_from_assassins + } + FROM = { + wealth = 300 + } + + ai_chance = { + factor = 5 + modifier = { + factor = 0 + NOT = { wealth = 300 } + } + } + } + + option = { + name = EVTOPTC_SOA_1003 # Refuse + + if = { + limit = { NOT = { has_dlc = "Mystics" } } + piety = -1000 + } + if = { + limit = { has_dlc = "Mystics" } + piety = -200 + set_character_flag = assassins_refused_to_pay_debt + } + + ai_chance = { + factor = 3 + modifier = { + factor = 2 + NOT = { wealth = 300 } + } + modifier = { + factor = 2 + trait = greedy + } + modifier = { + factor = 2 + is_impious_trigger = yes + } + modifier = { + factor = 0 + NOT = { has_dlc = "Mystics" } + } + } + } +} + +# Ping event when borrowing money from the Hashshashins +character_event = { + id = SoA.1410 + hide_window = yes + + is_triggered_only = yes + + immediate = { + wealth = -300 + FROM = { + letter_event = { + id = SoA.1411 + } + } + } +} + +# Notification event when borrowing money from the Hashshashins +letter_event = { + id = SoA.1411 + desc = EVTDESC_SOA_1411 + border = GFX_event_letter_frame_religion + + is_triggered_only = yes + + option = { + + name = EXCELLENT + } +} + +# The Grand Master demands the right to build a castle in your demesne +character_event = { + id = SoA.1420 + hide_window = yes + + min_age = 16 + only_playable = yes + religion_group = muslim + + trigger = { + OR = { + religion = shiite + religion = druze + religion = hurufi + } + is_heretic = no + + has_character_modifier = borrowed_from_assassins + NOT = { has_character_flag = sent_son_to_assassins } + + any_demesne_province = { + has_empty_holding = yes + } + + d_hashshashin = { + holder_scope = { + wealth = 300 + } + } + has_dlc = "Sons of Abraham" + + NOT = { has_character_modifier = expelled_d_hashshashin } + NOT = { + any_liege = { + has_character_modifier = expelled_d_hashshashin + } + } + } + + mean_time_to_happen = { + months = 60 + } + + immediate = { + random_demesne_province = { + limit = { + has_empty_holding = yes + } + province_event = { + id = SoA.1421 + } + } + } +} + +province_event = { + id = SoA.1421 + hide_window = yes + + is_triggered_only = yes + + immediate = { + d_hashshashin = { + holder_scope = { + character_event = { + id = SoA.1422 + } + } + } + } +} + +character_event = { + id = SoA.1422 + hide_window = yes + + is_triggered_only = yes + + immediate = { + FROMFROM = { + letter_event = { + id = SoA.1423 + } + } + } +} + +letter_event = { + id = SoA.1423 + desc = EVTDESC_SOA_1223 + border = GFX_event_letter_frame_religion + + is_triggered_only = yes + + option = { + name = EVTOPTA_SOA_1023 # Agree + + hidden_tooltip = { + remove_character_modifier = borrowed_from_assassins + FROMFROM = { + province_event = { id = SoA.1424 } + } + } + + piety = 100 + + ai_chance = { + factor = 10 + } + } + + option = { + name = EVTOPTB_SOA_1003 # Pay them back + wealth = -300 + hidden_tooltip = { + remove_character_modifier = borrowed_from_assassins + } + FROM = { + wealth = 300 + } + + ai_chance = { + factor = 5 + modifier = { + factor = 0 + NOT = { wealth = 300 } + } + } + } + + option = { + name = EVTOPTC_SOA_1003 # Refuse + + if = { + limit = { NOT = { has_dlc = "Mystics" } } + piety = -1000 + } + if = { + limit = { has_dlc = "Mystics" } + piety = -200 + set_character_flag = assassins_refused_to_pay_debt + } + + ai_chance = { + factor = 3 + modifier = { + factor = 2 + NOT = { wealth = 300 } + } + modifier = { + factor = 2 + trait = greedy + } + modifier = { + factor = 2 + is_impious_trigger = yes + } + modifier = { + factor = 0 + NOT = { has_dlc = "Mystics" } + } + } + } +} + +# Castle has been erected +province_event = { + id = SoA.1424 + desc = EVTDESC_SOA_1424 + picture = GFX_evt_castle_construction + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + immediate = { + FROMFROM = { + wealth = -300 + } + } + + option = { + name = EVTOPTA_SOA_1024 + build_holding = { + type = castle + holder = FROMFROM + } + } +} + +# The son of a ruler volunteers to join the Hashshashins +character_event = { + id = SoA.1430 + hide_window = yes + + only_men = yes + min_age = 16 + max_age = 45 + only_capable = yes + prisoner = no + religion_group = muslim + + trigger = { + OR = { + religion = shiite + religion = druze + religion = hurufi + } + is_heretic = no + + is_ruler = no + + martial = 5 + + is_title_active = d_hashshashin + + OR = { + father_even_if_dead = { + primary_title = { higher_tier_than = BARON } + } + mother_even_if_dead = { + primary_title = { higher_tier_than = BARON } + } + } + + liege = { + holy_order = no + liege = { + holy_order = no + } + } + + has_dlc = "Sons of Abraham" + + NOT = { has_character_modifier = expelled_d_hashshashin } + NOT = { + any_liege = { + has_character_modifier = expelled_d_hashshashin + } + } + + NOT = { + any_spouse = { + OR = { + is_landed = yes + AND = { + is_pregnant = yes + father_of_unborn = { character = ROOT } # Won't happen if spouse is pregnant with non-bastard child + } + } + } + } + } + + mean_time_to_happen = { + years = 100 + modifier = { + factor = 0.25 + trait = zealous + } + modifier = { + factor = 0.5 + trait = celibate + } + modifier = { + factor = 0.5 + trait = homosexual + } + modifier = { + factor = 0.7 + trait = content + } + modifier = { + factor = 0.75 + trait = chaste + } + modifier = { + factor = 0.75 + NOT = { age = 25 } + } + modifier = { + factor = 1.5 + trait = slothful + } + modifier = { + factor = 2.0 + trait = lustful + } + modifier = { + factor = 2.0 + trait = cynical + } + modifier = { + factor = 2.0 + trait = hedonist + } + modifier = { + factor = 2.0 + trait = ambitious + } + modifier = { + factor = 2.0 + any_heir_title = { + always = yes + } + } + modifier = { + factor = 2.0 + is_primary_heir = yes + } + modifier = { + factor = 2 + any_spouse = { + reverse_opinion = { who = ROOT value = 100 } + } + } + } + + immediate = { + liege = { + character_event = { + id = SoA.1431 + } + } + } +} + +# Son or brother asks to join the Hashshashins +character_event = { + id = SoA.1431 + desc = EVTDESC_SOA_1431 + picture = GFX_evt_moors + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + option = { + name = EVTOPTA_SOA_1031 # Agree + ai_chance = { + factor = 100 + } + + if = { + limit = { + religion = FROM + } + piety = 100 + } + + FROM = { + character_event = { + id = SoA.1432 + tooltip = EVTTOOLTIP_SOA_1432 + } + } + } + + option = { + name = EVTOPTB_SOA_1031 # Refuse + + if = { + limit = { + religion = FROM + } + piety = -100 + } + + FROM = { + character_event = { + id = SoA.1433 + tooltip = EVTTOOLTIP_SOA_1033 + } + } + } +} + +# Son or brother joins the Hashshashins +character_event = { + id = SoA.1432 + hide_window = yes + + is_triggered_only = yes + + immediate = { + d_hashshashin = { + holder_scope = { + save_event_target_as = order_target + ROOT = { + character_event = { id = SoA.2864 } + } + } + } + } +} + +# Liege refuses request to join the Hashshashins +character_event = { + id = SoA.1433 + hide_window = yes + + is_triggered_only = yes + + immediate = { + opinion = { + who = FROM + modifier = opinion_refused_request_holy_order + } + } +} + +# The Grand Master requests the right to build a castle in your demesne +character_event = { + id = SoA.1450 + hide_window = yes + + min_age = 16 + only_playable = yes + religion_group = muslim + + trigger = { + OR = { + religion = shiite + religion = druze + religion = hurufi + } + is_heretic = no + + d_hashshashin = { + holder_scope = { + wealth = 300 + NOT = { + realm_size = 10 + } + NOT = { + num_of_count_titles = 1 + } + } + } + + any_demesne_province = { + has_empty_holding = yes + port = yes + } + + has_dlc = "Sons of Abraham" + + NOT = { has_character_modifier = expelled_d_hashshashin } + NOT = { + any_liege = { + has_character_modifier = expelled_d_hashshashin + } + } + } + + mean_time_to_happen = { + months = 240 + modifier = { + factor = 0.5 + d_hashshashin = { + holder_scope = { + NOT = { demesne_size = 1 } + } + } + } + modifier = { + factor = 0.5 + d_hashshashin = { + holder_scope = { + NOT = { demesne_size = 2 } + } + } + } + modifier = { + factor = 2.0 + d_hashshashin = { + holder_scope = { + realm_size = 5 + } + } + } + } + + immediate = { + random_demesne_province = { + limit = { + has_empty_holding = yes + port = yes + } + province_event = { + id = SoA.1451 + } + } + } +} + +province_event = { + id = SoA.1451 + hide_window = yes + + is_triggered_only = yes + + immediate = { + d_hashshashin = { + holder_scope = { + character_event = { + id = SoA.1452 + } + } + } + } +} + +character_event = { + id = SoA.1452 + hide_window = yes + + is_triggered_only = yes + + immediate = { + FROMFROM = { + letter_event = { + id = SoA.1453 + } + } + } +} + +letter_event = { + id = SoA.1453 + desc = EVTDESC_SOA_1253 # Reuse this + border = GFX_event_letter_frame_religion + + is_triggered_only = yes + + option = { + name = EVTOPTA_SOA_1023 # Agree + ai_chance = { + factor = 100 + modifier = { + factor = 0 + has_character_modifier = expelled_d_hashshashin + } + } + + hidden_tooltip = { + FROMFROM = { + province_event = { id = SoA.1454 } + } + remove_character_modifier = expelled_d_hashshashin + } + + piety = 200 + wealth = 100 + } + + option = { + name = EVTOPTB_SOA_1031 # Refuse + ai_chance = { + factor = 20 + } + + piety = -100 + } +} + +# Castle has been erected +province_event = { + id = SoA.1454 + desc = EVTDESC_SOA_1454 + picture = GFX_evt_moors + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + immediate = { + FROMFROM = { + wealth = -300 + } + } + + option = { + name = EVTOPTA_SOA_1024 + build_holding = { + type = castle + holder = FROMFROM + } + } +} + + +# Ping event when expelling a Muslim Holy Order +character_event = { + id = SoA.1460 + hide_window = yes + + is_triggered_only = yes + + immediate = { + any_title_under = { + limit = { + tier = BARON + location = { + owner = { + OR = { + character = FROM + is_liege_or_above = FROM + } + } + } + } + usurp_title = FROM + } + + if = { + limit = { + is_liege_or_above = FROM + } + set_defacto_liege = THIS + } + + FROM = { + letter_event = { + id = SoA.1461 + } + } + + opinion = { + who = FROM + modifier = opinion_expelled_from_realm + } + } +} + +# Notification event when expelling a Muslim Holy Order +letter_event = { + id = SoA.1461 + desc = EVTDESC_SOA_1461 + border = GFX_event_letter_frame_religion + + is_triggered_only = yes + + immediate = { + remove_character_modifier = donated_to_holy_order + } + + option = { + name = EVTOPTB_SOA_1061 + } +} + + +######################################## +# The Jomsvikings +######################################## + +# The son of a ruler volunteers to join the Jomsvikings +character_event = { + id = SoA.1530 + hide_window = yes + + only_men = yes + min_age = 16 + max_age = 45 + only_capable = yes + prisoner = no + religion_group = pagan_group + + trigger = { + is_ruler = no + OR = { + religion = norse_pagan + religion = norse_pagan_reformed + } + + martial = 5 + + is_title_active = d_jomsvikings + + OR = { + father_even_if_dead = { + primary_title = { higher_tier_than = BARON } + } + mother_even_if_dead = { + primary_title = { higher_tier_than = BARON } + } + } + + liege = { + holy_order = no + liege = { + holy_order = no + } + } + + has_dlc = "Sons of Abraham" + + NOT = { has_character_modifier = expelled_d_jomsvikings } + NOT = { + any_liege = { + has_character_modifier = expelled_d_jomsvikings + } + } + + NOT = { + any_spouse = { + OR = { + is_landed = yes + AND = { + is_pregnant = yes + father_of_unborn = { character = ROOT } # Won't happen if spouse is pregnant with non-bastard child + } + } + } + } + } + + mean_time_to_happen = { + years = 100 + modifier = { + factor = 0.25 + trait = zealous + } + modifier = { + factor = 0.5 + trait = celibate + } + modifier = { + factor = 0.5 + trait = homosexual + } + modifier = { + factor = 0.7 + trait = content + } + modifier = { + factor = 0.75 + trait = chaste + } + modifier = { + factor = 0.75 + NOT = { age = 25 } + } + modifier = { + factor = 1.5 + trait = slothful + } + modifier = { + factor = 2.0 + trait = lustful + } + modifier = { + factor = 2.0 + trait = cynical + } + modifier = { + factor = 2.0 + trait = hedonist + } + modifier = { + factor = 2.0 + trait = ambitious + } + modifier = { + factor = 2.0 + any_heir_title = { + always = yes + } + } + modifier = { + factor = 2.0 + is_primary_heir = yes + } + modifier = { + factor = 2 + any_spouse = { + reverse_opinion = { who = ROOT value = 100 } + } + } + } + + immediate = { + liege = { + character_event = { + id = SoA.1531 + } + } + } +} + +# Son or brother asks to join the Jomsvikings +character_event = { + id = SoA.1531 + desc = EVTDESC_SOA_1531 + picture = GFX_evt_vikings_arriving_oldgods + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + option = { + name = EVTOPTA_SOA_1031 # Agree + ai_chance = { + factor = 100 + } + + if = { + limit = { + religion = FROM + } + piety = 100 + } + + FROM = { + character_event = { + id = SoA.1532 + tooltip = EVTTOOLTIP_SOA_1532 + } + } + } + + option = { + name = EVTOPTB_SOA_1031 # Refuse + + if = { + limit = { + religion = FROM + } + piety = -100 + } + + FROM = { + character_event = { + id = SoA.1533 + tooltip = EVTTOOLTIP_SOA_1033 + } + } + } +} + +# Son or brother joins the Jomsvikings +character_event = { + id = SoA.1532 + hide_window = yes + + is_triggered_only = yes + + immediate = { + d_jomsvikings = { + holder_scope = { + save_event_target_as = order_target + ROOT = { + character_event = { id = SoA.2864 } + } + } + } + } +} + +# Liege refuses request to join the Jomsvikings +character_event = { + id = SoA.1533 + hide_window = yes + + is_triggered_only = yes + + immediate = { + opinion = { + who = FROM + modifier = opinion_refused_request_holy_order + } + } +} + +# Ping event when donating money to the Jomsvikings +character_event = { + id = SoA.1540 + hide_window = yes + + is_triggered_only = yes + + immediate = { + wealth = 300 + FROM = { + letter_event = { + id = SoA.1541 + } + } + opinion = { + who = FROM + modifier = opinion_generous_donation + } + } +} + +# Notification event when donating money to the Jomsvikings +letter_event = { + id = SoA.1541 + desc = EVTDESC_SOA_1541 + border = GFX_event_letter_frame_religion + + is_triggered_only = yes + + option = { + name = EXCELLENT + } +} + +# The Warchief requests the right to build a castle in your demesne +character_event = { + id = SoA.1550 + hide_window = yes + + min_age = 16 + only_playable = yes + religion_group = pagan_group + + trigger = { + OR = { + religion = norse_pagan + religion = norse_pagan_reformed + } + + d_jomsvikings = { + holder_scope = { + wealth = 300 + NOT = { + realm_size = 10 + } + } + } + + any_demesne_province = { + has_empty_holding = yes + port = yes + } + + has_dlc = "Sons of Abraham" + + NOT = { has_character_modifier = expelled_d_jomsvikings } + NOT = { + any_liege = { + has_character_modifier = expelled_d_jomsvikings + } + } + } + + mean_time_to_happen = { + months = 240 + modifier = { + factor = 0.5 + d_jomsvikings = { + holder_scope = { + NOT = { demesne_size = 1 } + } + } + } + modifier = { + factor = 0.5 + d_jomsvikings = { + holder_scope = { + NOT = { demesne_size = 2 } + } + } + } + modifier = { + factor = 2.0 + d_jomsvikings = { + holder_scope = { + num_of_count_titles = 1 + } + } + } + modifier = { + factor = 2.0 + d_jomsvikings = { + holder_scope = { + realm_size = 5 + } + } + } + } + + immediate = { + random_demesne_province = { + limit = { + has_empty_holding = yes + port = yes + } + province_event = { + id = SoA.1551 + } + } + } +} + +province_event = { + id = SoA.1551 + hide_window = yes + + is_triggered_only = yes + + immediate = { + d_jomsvikings = { + holder_scope = { + character_event = { + id = SoA.1552 + } + } + } + } +} + +character_event = { + id = SoA.1552 + hide_window = yes + + is_triggered_only = yes + + immediate = { + FROMFROM = { + letter_event = { + id = SoA.1553 + } + } + } +} + +letter_event = { + id = SoA.1553 + desc = EVTDESC_SOA_1553 + border = GFX_event_letter_frame_religion + + is_triggered_only = yes + + option = { + name = EVTOPTA_SOA_1023 # Agree + ai_chance = { + factor = 80 + modifier = { + factor = 0 + has_character_modifier = expelled_d_jomsvikings + } + modifier = { + factor = 0.01 + FROMFROM = { + region = world_europe_north + } + } + } + + hidden_tooltip = { + FROMFROM = { + province_event = { id = SoA.1554 } + } + remove_character_modifier = expelled_d_jomsvikings + } + + piety = 200 + wealth = 100 + } + + option = { + name = EVTOPTB_SOA_1553 # Refuse + ai_chance = { + factor = 20 + } + + piety = -100 + } +} + +# Castle has been erected +province_event = { + id = SoA.1554 + desc = EVTDESC_SOA_1554 + picture = GFX_evt_castle_construction + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + immediate = { + FROMFROM = { + wealth = -300 + } + } + + option = { + name = EVTOPTA_SOA_1024 + build_holding = { + type = castle + holder = FROMFROM + } + } +} + +# Ping event when expelling a Pagan Holy Order +character_event = { + id = SoA.1560 + hide_window = yes + + is_triggered_only = yes + + immediate = { + any_title_under = { + limit = { + tier = BARON + location = { + owner = { + OR = { + character = FROM + is_liege_or_above = FROM + } + } + } + } + usurp_title = FROM + } + + if = { + limit = { + is_liege_or_above = FROM + } + set_defacto_liege = THIS + } + + FROM = { + letter_event = { + id = SoA.1561 + } + } + + opinion = { + who = FROM + modifier = opinion_expelled_from_realm + } + } +} + +# Notification event when expelling a Pagan Holy Order +letter_event = { + id = SoA.1561 + desc = EVTDESC_SOA_1561 + border = GFX_event_letter_frame_religion + + is_triggered_only = yes + + immediate = { + remove_character_modifier = donated_to_holy_order + } + + option = { + name = EVTOPTB_SOA_1061 + } +} + +######################################## +# The Brotherhood of the Holy Sepulchre +######################################## + +# Brotherhood of the Holy Sepulchre becomes a Chivalric Order +narrative_event = { + id = SoA.1609 + title = EVTTITLE_SOA_1609 + desc = EVTDESC_SOA_1609 + major = yes + + picture = GFX_evt_western_knights_byzantine + hide_from = yes + + only_playable = yes + religion_group = christian + + trigger = { + OR = { + AND = { + 764 = { # Antioch is Orthodox + holder_scope = { religion = orthodox } + religion = orthodox + } + 774 = { # Jerusalem is Orthodox + holder_scope = { religion = orthodox } + religion = orthodox + } + religion = orthodox + } + AND = { + 764 = { # Antioch is bogomilist + holder_scope = { religion = bogomilist } + religion = bogomilist + } + 774 = { # Jerusalem is bogomilist + holder_scope = { religion = bogomilist } + religion = bogomilist + } + religion = bogomilist + } + AND = { + 764 = { # Antioch is monothelite + holder_scope = { religion = monothelite } + religion = monothelite + } + 774 = { # Jerusalem is monothelite + holder_scope = { religion = monothelite } + religion = monothelite + } + religion = monothelite + } + AND = { + 764 = { # Antioch is iconoclast + holder_scope = { religion = iconoclast } + religion = iconoclast + } + 774 = { # Jerusalem is iconoclast + holder_scope = { religion = iconoclast } + religion = iconoclast + } + religion = iconoclast + } + AND = { + 764 = { # Antioch is paulician + holder_scope = { religion = paulician } + religion = paulician + } + 774 = { # Jerusalem is paulician + holder_scope = { religion = paulician } + religion = paulician + } + religion = paulician + } + } + is_heretic = no + + NOT = { + is_title_active = d_holy_sepulchre + } + } + + mean_time_to_happen = { + months = 36 + } + + immediate = { + activate_title = { title = d_holy_sepulchre status = yes } + create_character = { + random_traits = no + dynasty = random + religion = ROOT + culture = greek + female = no + age = 31 + trait = brilliant_strategist + trait = zealous + trait = humble + trait = ambitious + trait = strategist + trait = holy_warrior + } + new_character = { + wealth = 500 + d_holy_sepulchre = { + grant_title = PREV + } + set_government_type = feudal_government + create_character = { + random_traits = yes + dynasty = random + religion = ROOT + culture = greek + female = no + age = 16 + } + create_character = { + random_traits = yes + dynasty = random + religion = ROOT + culture = greek + female = no + age = 18 + } + create_character = { + random_traits = yes + dynasty = random + religion = ROOT + culture = greek + female = no + age = 18 + } + create_character = { + random_traits = yes + dynasty = random + religion = ROOT + culture = greek + female = no + age = 20 + } + create_character = { + random_traits = yes + dynasty = random + religion = ROOT + culture = greek + female = no + age = 25 + } + create_character = { + random_traits = yes + dynasty = random + religion = ROOT + culture = greek + female = no + age = 26 + } + create_character = { + random_traits = yes + dynasty = random + religion = ROOT + culture = greek + female = no + age = 28 + } + create_character = { + random_traits = yes + dynasty = random + religion = ROOT + culture = greek + female = yes + age = 16 + } + create_character = { + random_traits = yes + dynasty = random + religion = ROOT + culture = greek + female = yes + age = 17 + } + } + } + + option = { + name = EVTOPTA_SOA_1609 + trigger = { + religion = ROOT + } + } + option = { + name = EVTOPTB_SOA_1609 + trigger = { + NOT = { religion = ROOT } + } + } +} + +# The son of a ruler volunteers to join the Brotherhood +character_event = { + id = SoA.1630 + hide_window = yes + + only_men = yes + min_age = 16 + max_age = 45 + only_capable = yes + prisoner = no + religion_group = christian + + trigger = { + is_ruler = no + OR = { + religion = orthodox + religion = bogomilist + religion = monothelite + religion = iconoclast + religion = paulician + } + is_heretic = no + + martial = 5 + + is_title_active = d_holy_sepulchre + + OR = { + father_even_if_dead = { + primary_title = { higher_tier_than = BARON } + } + mother_even_if_dead = { + primary_title = { higher_tier_than = BARON } + } + } + + liege = { + holy_order = no + liege = { + holy_order = no + } + } + + has_dlc = "Sons of Abraham" + + NOT = { has_character_modifier = expelled_d_holy_sepulchre } + NOT = { + any_liege = { + has_character_modifier = expelled_d_holy_sepulchre + } + } + + NOT = { + any_spouse = { + OR = { + is_landed = yes + AND = { + is_pregnant = yes + father_of_unborn = { character = ROOT } # Won't happen if spouse is pregnant with non-bastard child + } + } + } + } + } + + mean_time_to_happen = { + years = 100 + modifier = { + factor = 0.25 + trait = zealous + } + modifier = { + factor = 0.5 + trait = celibate + } + modifier = { + factor = 0.5 + trait = homosexual + } + modifier = { + factor = 0.7 + trait = content + } + modifier = { + factor = 0.75 + trait = chaste + } + modifier = { + factor = 0.75 + NOT = { age = 25 } + } + modifier = { + factor = 1.5 + trait = slothful + } + modifier = { + factor = 2.0 + trait = lustful + } + modifier = { + factor = 2.0 + trait = cynical + } + modifier = { + factor = 2.0 + trait = hedonist + } + modifier = { + factor = 2.0 + trait = ambitious + } + modifier = { + factor = 2.0 + any_heir_title = { + always = yes + } + } + modifier = { + factor = 2.0 + is_primary_heir = yes + } + modifier = { + factor = 2 + any_spouse = { + reverse_opinion = { who = ROOT value = 100 } + } + } + } + + immediate = { + liege = { + character_event = { + id = SoA.1631 + } + } + } +} + +# Son or brother asks to join the Brotherhood +character_event = { + id = SoA.1631 + desc = EVTDESC_SOA_1631 + picture = GFX_evt_western_knights_byzantine + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + option = { + name = EVTOPTA_SOA_1031 # Agree + ai_chance = { + factor = 100 + } + + if = { + limit = { + religion = FROM + } + piety = 100 + } + + FROM = { + character_event = { + id = SoA.1632 + tooltip = EVTTOOLTIP_SOA_1632 + } + } + } + + option = { + name = EVTOPTB_SOA_1031 # Refuse + + if = { + limit = { + religion = FROM + } + piety = -100 + } + + FROM = { + character_event = { + id = SoA.1633 + tooltip = EVTTOOLTIP_SOA_1033 + } + } + } +} + +# Son or brother joins the Brotherhood +character_event = { + id = SoA.1632 + hide_window = yes + + is_triggered_only = yes + + immediate = { + d_holy_sepulchre = { + holder_scope = { + save_event_target_as = order_target + ROOT = { + character_event = { id = SoA.2864 } + } + } + } + } +} + +# Liege refuses request to join the Brotherhood +character_event = { + id = SoA.1633 + hide_window = yes + + is_triggered_only = yes + + immediate = { + opinion = { + who = FROM + modifier = opinion_refused_request_holy_order + } + } +} + +# Ping event when donating money to the Brotherhood +character_event = { + id = SoA.1640 + hide_window = yes + + is_triggered_only = yes + + immediate = { + wealth = 300 + FROM = { + letter_event = { + id = SoA.1641 + } + } + opinion = { + who = FROM + modifier = opinion_generous_donation + } + } +} + +# Notification event when donating money to the Brotherhood +letter_event = { + id = SoA.1641 + desc = EVTDESC_SOA_1141 + border = GFX_event_letter_frame_religion + + is_triggered_only = yes + + option = { + name = EXCELLENT + } +} + +# The Grand Master humbly requests the right to build a castle in your demesne +character_event = { + id = SoA.1650 + hide_window = yes + + min_age = 16 + only_playable = yes + religion_group = christian + + trigger = { + OR = { + religion = orthodox + religion = bogomilist + religion = monothelite + religion = iconoclast + religion = paulician + } + is_heretic = no + + d_holy_sepulchre = { + holder_scope = { + wealth = 300 + NOT = { + realm_size = 10 + } + } + } + + any_demesne_province = { + has_empty_holding = yes + } + + has_dlc = "Sons of Abraham" + + NOT = { has_character_modifier = expelled_d_holy_sepulchre } + NOT = { + any_liege = { + has_character_modifier = expelled_d_holy_sepulchre + } + } + } + + mean_time_to_happen = { + months = 240 + modifier = { + factor = 0.5 + d_holy_sepulchre = { + holder_scope = { + NOT = { demesne_size = 1 } + } + } + } + modifier = { + factor = 0.5 + d_holy_sepulchre = { + holder_scope = { + NOT = { demesne_size = 2 } + } + } + } + modifier = { + factor = 2.0 + d_holy_sepulchre = { + holder_scope = { + num_of_count_titles = 1 + } + } + } + modifier = { + factor = 2.0 + d_holy_sepulchre = { + holder_scope = { + realm_size = 5 + } + } + } + } + + immediate = { + random_demesne_province = { + limit = { + has_empty_holding = yes + } + province_event = { + id = SoA.1651 + } + } + } +} + +province_event = { + id = SoA.1651 + hide_window = yes + + is_triggered_only = yes + + immediate = { + d_holy_sepulchre = { + holder_scope = { + character_event = { + id = SoA.1652 + } + } + } + } +} + +character_event = { + id = SoA.1652 + hide_window = yes + + is_triggered_only = yes + + immediate = { + FROMFROM = { + letter_event = { + id = SoA.1653 + } + } + } +} + +letter_event = { + id = SoA.1653 + desc = EVTDESC_SOA_1653 + border = GFX_event_letter_frame_religion + + is_triggered_only = yes + + option = { + name = EVTOPTA_SOA_1023 # Agree + ai_chance = { + factor = 80 + modifier = { + factor = 0 + has_character_modifier = expelled_d_holy_sepulchre + } + } + + hidden_tooltip = { + FROMFROM = { + province_event = { id = SoA.1654 } + } + remove_character_modifier = expelled_d_holy_sepulchre + } + + piety = 200 + wealth = 100 + } + + option = { + name = EVTOPTB_SOA_1153 # Refuse + ai_chance = { + factor = 20 + } + + piety = -100 + } +} + +# Castle has been erected +province_event = { + id = SoA.1654 + desc = EVTDESC_SOA_1654 + picture = GFX_evt_castle_construction + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + immediate = { + FROMFROM = { + wealth = -300 + } + } + + option = { + name = EVTOPTA_SOA_1024 + build_holding = { + type = castle + holder = FROMFROM + } + } +} + +# Ping event when expelling the Brotherhood +character_event = { + id = SoA.1660 + hide_window = yes + + is_triggered_only = yes + + immediate = { + any_title_under = { + limit = { + tier = BARON + location = { + owner = { + OR = { + character = FROM + is_liege_or_above = FROM + } + } + } + } + usurp_title = FROM + } + + FROM = { + letter_event = { + id = SoA.1661 + } + } + + opinion = { + who = FROM + modifier = opinion_expelled_from_realm + } + } +} + +# Notification event when expelling the Brotherhood +letter_event = { + id = SoA.1661 + desc = EVTDESC_SOA_1661 + border = GFX_event_letter_frame_religion + + is_triggered_only = yes + + option = { + name = EVTOPTB_SOA_1061 + } +} + +######################################## +# The Order of Saint Anthony +######################################## + +# The Order of Saint Anthony is reborn +narrative_event = { + id = SoA.1709 + title = EVTTITLE_SOA_1709 + desc = EVTDESC_SOA_1709 + major = yes + + picture = GFX_evt_western_knights_byzantine + hide_from = yes + + only_playable = yes + religion_group = christian + + trigger = { + OR = { + AND = { + 875 = { # Aksum is Miaphysite-controlled + holder_scope = { religion = miaphysite } + religion = miaphysite + } + 793 = { # Makuria is Miaphysite-controlled + holder_scope = { religion = miaphysite } + religion = miaphysite + } + 802 = { # Alexandria is Miaphysite-controlled + holder_scope = { religion = miaphysite } + religion = miaphysite + } + religion = miaphysite + } + AND = { + 875 = { # Aksum is monophysite-controlled + holder_scope = { religion = monophysite } + religion = monophysite + } + 793 = { # Makuria is monophysite-controlled + holder_scope = { religion = monophysite } + religion = monophysite + } + 802 = { # Alexandria is monophysite-controlled + holder_scope = { religion = monophysite } + religion = monophysite + } + religion = monophysite + } + } + is_heretic = no + + NOT = { + is_title_active = d_saint_anthony + } + } + + mean_time_to_happen = { + months = 36 + } + + immediate = { + activate_title = { title = d_saint_anthony status = yes } + create_character = { + random_traits = no + dynasty = random + religion = ROOT + culture = ethiopian + female = no + age = 33 + trait = brilliant_strategist + trait = zealous + trait = humble + trait = ambitious + trait = strategist + trait = holy_warrior + } + new_character = { + wealth = 500 + d_saint_anthony = { + grant_title = PREV + } + set_government_type = feudal_government + create_character = { + random_traits = yes + dynasty = random + religion = ROOT + culture = ethiopian + female = no + age = 16 + } + create_character = { + random_traits = yes + dynasty = random + religion = ROOT + culture = ethiopian + female = no + age = 18 + } + create_character = { + random_traits = yes + dynasty = random + religion = ROOT + culture = ethiopian + female = no + age = 18 + } + create_character = { + random_traits = yes + dynasty = random + religion = ROOT + culture = ethiopian + female = no + age = 20 + } + create_character = { + random_traits = yes + dynasty = random + religion = ROOT + culture = ethiopian + female = no + age = 25 + } + create_character = { + random_traits = yes + dynasty = random + religion = ROOT + culture = ethiopian + female = no + age = 26 + } + create_character = { + random_traits = yes + dynasty = random + religion = ROOT + culture = ethiopian + female = no + age = 28 + } + create_character = { + random_traits = yes + dynasty = random + religion = ROOT + culture = ethiopian + female = yes + age = 16 + } + create_character = { + random_traits = yes + dynasty = random + religion = ROOT + culture = ethiopian + female = yes + age = 17 + } + } + } + + option = { + name = EVTOPTA_SOA_1709 + trigger = { + religion = ROOT + } + } + option = { + name = EVTOPTB_SOA_1709 + trigger = { + NOT = { religion = ROOT } + } + } +} + +# The son of a ruler volunteers to join the Order +character_event = { + id = SoA.1730 + hide_window = yes + + only_men = yes + min_age = 16 + max_age = 45 + only_capable = yes + prisoner = no + religion_group = christian + + trigger = { + is_ruler = no + OR = { + religion = miaphysite + religion = monophysite + } + is_heretic = no + + martial = 5 + + is_title_active = d_saint_anthony + + OR = { + father_even_if_dead = { + primary_title = { higher_tier_than = BARON } + } + mother_even_if_dead = { + primary_title = { higher_tier_than = BARON } + } + } + + liege = { + holy_order = no + liege = { + holy_order = no + } + } + + has_dlc = "Sons of Abraham" + + NOT = { has_character_modifier = expelled_d_saint_anthony } + NOT = { + any_liege = { + has_character_modifier = expelled_d_saint_anthony + } + } + + NOT = { + any_spouse = { + OR = { + is_landed = yes + AND = { + is_pregnant = yes + father_of_unborn = { character = ROOT } # Won't happen if spouse is pregnant with non-bastard child + } + } + } + } + } + + mean_time_to_happen = { + years = 100 + modifier = { + factor = 0.25 + trait = zealous + } + modifier = { + factor = 0.5 + trait = celibate + } + modifier = { + factor = 0.5 + trait = homosexual + } + modifier = { + factor = 0.7 + trait = content + } + modifier = { + factor = 0.75 + trait = chaste + } + modifier = { + factor = 0.75 + NOT = { age = 25 } + } + modifier = { + factor = 1.5 + trait = slothful + } + modifier = { + factor = 2.0 + trait = lustful + } + modifier = { + factor = 2.0 + trait = cynical + } + modifier = { + factor = 2.0 + trait = hedonist + } + modifier = { + factor = 2.0 + trait = ambitious + } + modifier = { + factor = 2.0 + any_heir_title = { + always = yes + } + } + modifier = { + factor = 2.0 + is_primary_heir = yes + } + modifier = { + factor = 2 + any_spouse = { + reverse_opinion = { who = ROOT value = 100 } + } + } + } + + immediate = { + liege = { + character_event = { + id = SoA.1731 + } + } + } +} + +# Son or brother asks to join the Order +character_event = { + id = SoA.1731 + desc = EVTDESC_SOA_1731 + picture = GFX_evt_western_knights_byzantine + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + option = { + name = EVTOPTA_SOA_1031 # Agree + ai_chance = { + factor = 100 + } + + if = { + limit = { + religion = FROM + } + piety = 100 + } + + FROM = { + character_event = { + id = SoA.1732 + tooltip = EVTTOOLTIP_SOA_1732 + } + } + } + + option = { + name = EVTOPTB_SOA_1031 # Refuse + + if = { + limit = { + religion = FROM + } + piety = -100 + } + + FROM = { + character_event = { + id = SoA.1733 + tooltip = EVTTOOLTIP_SOA_1033 + } + } + } +} + +# Son or brother joins the Order +character_event = { + id = SoA.1732 + hide_window = yes + + is_triggered_only = yes + + immediate = { + d_saint_anthony = { + holder_scope = { + save_event_target_as = order_target + ROOT = { + character_event = { id = SoA.2864 } + } + } + } + } +} + +# Liege refuses request to join the Order +character_event = { + id = SoA.1733 + hide_window = yes + + is_triggered_only = yes + + immediate = { + opinion = { + who = FROM + modifier = opinion_refused_request_holy_order + } + } +} + +# Ping event when donating money to the Order +character_event = { + id = SoA.1740 + hide_window = yes + + is_triggered_only = yes + + immediate = { + wealth = 300 + FROM = { + letter_event = { + id = SoA.1741 + } + } + opinion = { + who = FROM + modifier = opinion_generous_donation + } + } +} + +# Notification event when donating money to the Order +letter_event = { + id = SoA.1741 + desc = EVTDESC_SOA_1141 + border = GFX_event_letter_frame_religion + + is_triggered_only = yes + + option = { + name = EXCELLENT + } +} + +# The Grand Master humbly requests the right to build a castle in your demesne +character_event = { + id = SoA.1750 + hide_window = yes + + min_age = 16 + only_playable = yes + religion_group = christian + + trigger = { + OR = { + religion = miaphysite + religion = monophysite + } + is_heretic = no + + d_saint_anthony = { + holder_scope = { + wealth = 300 + NOT = { + realm_size = 10 + } + } + } + + any_demesne_province = { + has_empty_holding = yes + } + + has_dlc = "Sons of Abraham" + + NOT = { has_character_modifier = expelled_d_saint_anthony } + NOT = { + any_liege = { + has_character_modifier = expelled_d_saint_anthony + } + } + } + + mean_time_to_happen = { + months = 240 + modifier = { + factor = 0.5 + d_saint_anthony = { + holder_scope = { + NOT = { demesne_size = 1 } + } + } + } + modifier = { + factor = 0.5 + d_saint_anthony = { + holder_scope = { + NOT = { demesne_size = 2 } + } + } + } + modifier = { + factor = 2.0 + d_saint_anthony = { + holder_scope = { + num_of_count_titles = 1 + } + } + } + modifier = { + factor = 2.0 + d_saint_anthony = { + holder_scope = { + realm_size = 5 + } + } + } + } + + immediate = { + random_demesne_province = { + limit = { + has_empty_holding = yes + } + province_event = { + id = SoA.1751 + } + } + } +} + +province_event = { + id = SoA.1751 + hide_window = yes + + is_triggered_only = yes + + immediate = { + d_saint_anthony = { + holder_scope = { + character_event = { + id = SoA.1752 + } + } + } + } +} + +character_event = { + id = SoA.1752 + hide_window = yes + + is_triggered_only = yes + + immediate = { + FROMFROM = { + letter_event = { + id = SoA.1753 + } + } + } +} + +letter_event = { + id = SoA.1753 + desc = EVTDESC_SOA_1053 + border = GFX_event_letter_frame_religion + + is_triggered_only = yes + + option = { + name = EVTOPTA_SOA_1023 # Agree + ai_chance = { + factor = 80 + modifier = { + factor = 0 + has_character_modifier = expelled_d_saint_anthony + } + } + + hidden_tooltip = { + FROMFROM = { + province_event = { id = SoA.1754 } + } + remove_character_modifier = expelled_d_saint_anthony + } + + piety = 200 + wealth = 100 + } + + option = { + name = EVTOPTB_SOA_1153 # Refuse + ai_chance = { + factor = 20 + } + + piety = -100 + } +} + +# Castle has been erected +province_event = { + id = SoA.1754 + desc = EVTDESC_SOA_1754 + picture = GFX_evt_castle_construction + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + immediate = { + FROMFROM = { + wealth = -300 + } + } + + option = { + name = EVTOPTA_SOA_1024 + build_holding = { + type = castle + holder = FROMFROM + } + } +} + +# Ping event when expelling the Order +character_event = { + id = SoA.1760 + hide_window = yes + + is_triggered_only = yes + + immediate = { + any_title_under = { + limit = { + tier = BARON + location = { + owner = { + OR = { + character = FROM + is_liege_or_above = FROM + } + } + } + } + usurp_title = FROM + } + + FROM = { + letter_event = { + id = SoA.1761 + } + } + + opinion = { + who = FROM + modifier = opinion_expelled_from_realm + } + } +} + +# Notification event when expelling the Order +letter_event = { + id = SoA.1761 + desc = EVTDESC_SOA_1061 + border = GFX_event_letter_frame_religion + + is_triggered_only = yes + + option = { + name = EVTOPTB_SOA_1061 + } +} + +######################################## +# The Immortals +######################################## + +# The Immortals are reborn +narrative_event = { + id = SoA.1809 + title = EVTTITLE_SOA_1809 + desc = EVTDESC_SOA_1809 + major = yes + + picture = GFX_evt_melee + border = GFX_event_narrative_frame_religion + hide_from = yes + + only_playable = yes + religion_group = zoroastrian_group + has_global_flag = zoroastrian_priesthood_founded + + trigger = { + is_heretic = no + NOT = { + is_title_active = d_immortals + } + } + + mean_time_to_happen = { + months = 36 + } + + immediate = { + activate_title = { title = d_immortals status = yes } + create_character = { + random_traits = no + dynasty = random + religion = ROOT + culture = persian + female = no + age = 27 + trait = brilliant_strategist + trait = zealous + trait = humble + trait = ambitious + trait = strategist + trait = holy_warrior + } + new_character = { + wealth = 500 + d_immortals = { + grant_title = PREV + } + set_government_type = feudal_government + create_character = { + random_traits = yes + dynasty = random + religion = ROOT + culture = persian + female = no + age = 16 + } + create_character = { + random_traits = yes + dynasty = random + religion = ROOT + culture = persian + female = no + age = 18 + } + create_character = { + random_traits = yes + dynasty = random + religion = ROOT + culture = persian + female = no + age = 18 + } + create_character = { + random_traits = yes + dynasty = random + religion = ROOT + culture = persian + female = no + age = 20 + } + create_character = { + random_traits = yes + dynasty = random + religion = ROOT + culture = persian + female = no + age = 25 + } + create_character = { + random_traits = yes + dynasty = random + religion = ROOT + culture = persian + female = no + age = 26 + } + create_character = { + random_traits = yes + dynasty = random + religion = ROOT + culture = persian + female = no + age = 28 + } + create_character = { + random_traits = yes + dynasty = random + religion = ROOT + culture = persian + female = yes + age = 16 + } + create_character = { + random_traits = yes + dynasty = random + religion = ROOT + culture = persian + female = yes + age = 17 + } + } + } + + option = { + name = EVTOPTA_SOA_1809 + trigger = { + religion = ROOT + } + } + option = { + name = EVTOPTB_SOA_1809 + trigger = { + NOT = { religion = ROOT } + } + } +} + +# The son of a ruler volunteers to join the Immortals +character_event = { + id = SoA.1830 + hide_window = yes + + only_men = yes + min_age = 16 + max_age = 45 + only_capable = yes + prisoner = no + religion_group = zoroastrian_group + + trigger = { + is_ruler = no + is_heretic = no + + martial = 5 + + is_title_active = d_immortals + + OR = { + father_even_if_dead = { + primary_title = { higher_tier_than = BARON } + } + mother_even_if_dead = { + primary_title = { higher_tier_than = BARON } + } + } + + liege = { + holy_order = no + liege = { + holy_order = no + } + } + + has_dlc = "Sons of Abraham" + + NOT = { has_character_modifier = expelled_d_immortals } + NOT = { + any_liege = { + has_character_modifier = expelled_d_immortals + } + } + + NOT = { + any_spouse = { + OR = { + is_landed = yes + AND = { + is_pregnant = yes + father_of_unborn = { character = ROOT } # Won't happen if spouse is pregnant with non-bastard child + } + } + } + } + } + + mean_time_to_happen = { + years = 100 + modifier = { + factor = 0.25 + trait = zealous + } + modifier = { + factor = 0.5 + trait = celibate + } + modifier = { + factor = 0.5 + trait = homosexual + } + modifier = { + factor = 0.7 + trait = content + } + modifier = { + factor = 0.75 + trait = chaste + } + modifier = { + factor = 0.75 + NOT = { age = 25 } + } + modifier = { + factor = 1.5 + trait = slothful + } + modifier = { + factor = 2.0 + trait = lustful + } + modifier = { + factor = 2.0 + trait = cynical + } + modifier = { + factor = 2.0 + trait = hedonist + } + modifier = { + factor = 2.0 + trait = ambitious + } + modifier = { + factor = 2.0 + any_heir_title = { + always = yes + } + } + modifier = { + factor = 2.0 + is_primary_heir = yes + } + modifier = { + factor = 2 + any_spouse = { + reverse_opinion = { who = ROOT value = 100 } + } + } + } + + immediate = { + liege = { + character_event = { + id = SoA.1831 + } + } + } +} + +# Son or brother asks to join the Immortals +character_event = { + id = SoA.1831 + desc = EVTDESC_SOA_1831 + picture = GFX_evt_melee + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + option = { + name = EVTOPTA_SOA_1031 # Agree + ai_chance = { + factor = 100 + } + + if = { + limit = { + religion = FROM + } + piety = 100 + } + + FROM = { + character_event = { + id = SoA.1832 + tooltip = EVTTOOLTIP_SOA_1832 + } + } + } + + option = { + name = EVTOPTB_SOA_1031 # Refuse + + if = { + limit = { + religion = FROM + } + piety = -100 + } + + FROM = { + character_event = { + id = SoA.1833 + tooltip = EVTTOOLTIP_SOA_1033 + } + } + } +} + +# Son or brother joins the Immortals +character_event = { + id = SoA.1832 + hide_window = yes + + is_triggered_only = yes + + immediate = { + d_immortals = { + holder_scope = { + save_event_target_as = order_target + ROOT = { + character_event = { id = SoA.2864 } + } + } + } + } +} + +# Liege refuses request to join the Immortals +character_event = { + id = SoA.1833 + hide_window = yes + + is_triggered_only = yes + + immediate = { + opinion = { + who = FROM + modifier = opinion_refused_request_holy_order + } + } +} + +# Ping event when donating money to the Immortals +character_event = { + id = SoA.1840 + hide_window = yes + + is_triggered_only = yes + + immediate = { + wealth = 300 + FROM = { + letter_event = { + id = SoA.1841 + } + } + opinion = { + who = FROM + modifier = opinion_generous_donation + } + } +} + +# Notification event when donating money to the Immortals +letter_event = { + id = SoA.1841 + desc = EVTDESC_SOA_1841 + border = GFX_event_letter_frame_religion + + is_triggered_only = yes + + option = { + name = EXCELLENT + } +} + +# The Grand Master humbly requests the right to build a castle in your demesne +character_event = { + id = SoA.1850 + hide_window = yes + + min_age = 16 + only_playable = yes + religion_group = zoroastrian_group + + trigger = { + is_heretic = no + + d_immortals = { + holder_scope = { + wealth = 300 + NOT = { + realm_size = 10 + } + } + } + + any_demesne_province = { + has_empty_holding = yes + } + + has_dlc = "Sons of Abraham" + + NOT = { has_character_modifier = expelled_d_immortals } + NOT = { + any_liege = { + has_character_modifier = expelled_d_immortals + } + } + } + + mean_time_to_happen = { + months = 240 + modifier = { + factor = 0.5 + d_immortals = { + holder_scope = { + NOT = { demesne_size = 1 } + } + } + } + modifier = { + factor = 0.5 + d_immortals = { + holder_scope = { + NOT = { demesne_size = 2 } + } + } + } + modifier = { + factor = 2.0 + d_immortals = { + holder_scope = { + num_of_count_titles = 1 + } + } + } + modifier = { + factor = 2.0 + d_immortals = { + holder_scope = { + realm_size = 5 + } + } + } + } + + immediate = { + random_demesne_province = { + limit = { + has_empty_holding = yes + } + province_event = { + id = SoA.1851 + } + } + } +} + +province_event = { + id = SoA.1851 + hide_window = yes + + is_triggered_only = yes + + immediate = { + d_immortals = { + holder_scope = { + character_event = { + id = SoA.1852 + } + } + } + } +} + +character_event = { + id = SoA.1852 + hide_window = yes + + is_triggered_only = yes + + immediate = { + FROMFROM = { + letter_event = { + id = SoA.1853 + } + } + } +} + +letter_event = { + id = SoA.1853 + desc = EVTDESC_SOA_1853 + border = GFX_event_letter_frame_religion + + is_triggered_only = yes + + option = { + name = EVTOPTA_SOA_1023 # Agree + ai_chance = { + factor = 80 + modifier = { + factor = 0 + has_character_modifier = expelled_d_immortals + } + } + + hidden_tooltip = { + FROMFROM = { + province_event = { id = SoA.1854 } + } + remove_character_modifier = expelled_d_immortals + } + + piety = 200 + wealth = 100 + } + + option = { + name = EVTOPTB_SOA_1153 # Refuse + ai_chance = { + factor = 20 + } + + piety = -100 + } +} + +# Castle has been erected +province_event = { + id = SoA.1854 + desc = EVTDESC_SOA_1854 + picture = GFX_evt_castle_construction + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + immediate = { + FROMFROM = { + wealth = -300 + } + } + + option = { + name = EVTOPTA_SOA_1024 + build_holding = { + type = castle + holder = FROMFROM + } + } +} + +# Ping event when expelling the Immortals +character_event = { + id = SoA.1860 + hide_window = yes + + is_triggered_only = yes + + immediate = { + any_title_under = { + limit = { + tier = BARON + location = { + owner = { + OR = { + character = FROM + is_liege_or_above = FROM + } + } + } + } + usurp_title = FROM + } + + FROM = { + letter_event = { + id = SoA.1861 + } + } + + opinion = { + who = FROM + modifier = opinion_expelled_from_realm + } + } +} + +# Notification event when expelling the Immortals +letter_event = { + id = SoA.1861 + desc = EVTDESC_SOA_1861 + border = GFX_event_letter_frame_religion + + is_triggered_only = yes + + option = { + name = EVTOPTB_SOA_1061 + } +} + +######################################## +# The Zealots +######################################## + +# The Zealots are reborn +narrative_event = { + id = SoA.1909 + title = EVTTITLE_SOA_1909 + desc = EVTDESC_SOA_1909 + major = yes + + picture = GFX_evt_melee + + only_playable = yes + hide_from = yes + religion_group = jewish_group + has_global_flag = jewish_priesthood_founded + + trigger = { + is_heretic = no + NOT = { + is_title_active = d_zealots + } + } + + mean_time_to_happen = { + months = 36 + } + + immediate = { + activate_title = { title = d_zealots status = yes } + create_character = { + random_traits = no + dynasty = random + religion = ROOT + culture = ashkenazi + female = no + age = 29 + trait = brilliant_strategist + trait = zealous + trait = humble + trait = ambitious + trait = strategist + trait = holy_warrior + } + new_character = { + wealth = 500 + d_zealots = { + grant_title = PREV + } + set_government_type = feudal_government + create_character = { + random_traits = yes + dynasty = random + religion = ROOT + culture = ashkenazi + female = no + age = 16 + } + create_character = { + random_traits = yes + dynasty = random + religion = ROOT + culture = ashkenazi + female = no + age = 18 + } + create_character = { + random_traits = yes + dynasty = random + religion = ROOT + culture = ashkenazi + female = no + age = 18 + } + create_character = { + random_traits = yes + dynasty = random + religion = ROOT + culture = ashkenazi + female = no + age = 20 + } + create_character = { + random_traits = yes + dynasty = random + religion = ROOT + culture = ashkenazi + female = no + age = 25 + } + create_character = { + random_traits = yes + dynasty = random + religion = ROOT + culture = ashkenazi + female = no + age = 26 + } + create_character = { + random_traits = yes + dynasty = random + religion = ROOT + culture = ashkenazi + female = no + age = 28 + } + create_character = { + random_traits = yes + dynasty = random + religion = ROOT + culture = ashkenazi + female = yes + age = 16 + } + create_character = { + random_traits = yes + dynasty = random + religion = ROOT + culture = ashkenazi + female = yes + age = 17 + } + } + } + + option = { + name = EVTOPTA_SOA_1909 + trigger = { + religion = ROOT + } + } + option = { + name = EVTOPTB_SOA_1909 + trigger = { + NOT = { religion = ROOT } + } + } +} + +# The son of a ruler volunteers to join the Zealots +character_event = { + id = SoA.1930 + hide_window = yes + + only_men = yes + min_age = 16 + max_age = 45 + only_capable = yes + prisoner = no + religion_group = jewish_group + + trigger = { + is_ruler = no + is_heretic = no + + martial = 5 + + is_title_active = d_zealots + + OR = { + father_even_if_dead = { + primary_title = { higher_tier_than = BARON } + } + mother_even_if_dead = { + primary_title = { higher_tier_than = BARON } + } + } + + liege = { + holy_order = no + liege = { + holy_order = no + } + } + + has_dlc = "Sons of Abraham" + + NOT = { has_character_modifier = expelled_d_zealots } + NOT = { + any_liege = { + has_character_modifier = expelled_d_zealots + } + } + + NOT = { + any_spouse = { + OR = { + is_landed = yes + AND = { + is_pregnant = yes + father_of_unborn = { character = ROOT } # Won't happen if spouse is pregnant with non-bastard child + } + } + } + } + } + + mean_time_to_happen = { + years = 100 + modifier = { + factor = 0.25 + trait = zealous + } + modifier = { + factor = 0.5 + trait = celibate + } + modifier = { + factor = 0.5 + trait = homosexual + } + modifier = { + factor = 0.7 + trait = content + } + modifier = { + factor = 0.75 + trait = chaste + } + modifier = { + factor = 0.75 + NOT = { age = 25 } + } + modifier = { + factor = 1.5 + trait = slothful + } + modifier = { + factor = 2.0 + trait = lustful + } + modifier = { + factor = 2.0 + trait = cynical + } + modifier = { + factor = 2.0 + trait = hedonist + } + modifier = { + factor = 2.0 + trait = ambitious + } + modifier = { + factor = 2.0 + any_heir_title = { + always = yes + } + } + modifier = { + factor = 2.0 + is_primary_heir = yes + } + modifier = { + factor = 2 + any_spouse = { + reverse_opinion = { who = ROOT value = 100 } + } + } + } + + immediate = { + liege = { + character_event = { + id = SoA.1931 + } + } + } +} + +# Son or brother asks to join the Zealots +character_event = { + id = SoA.1931 + desc = EVTDESC_SOA_1931 + picture = GFX_evt_melee + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + option = { + name = EVTOPTA_SOA_1031 # Agree + ai_chance = { + factor = 100 + } + + if = { + limit = { + religion = FROM + } + piety = 100 + } + + FROM = { + character_event = { + id = SoA.1932 + tooltip = EVTTOOLTIP_SOA_1932 + } + } + } + + option = { + name = EVTOPTB_SOA_1031 # Refuse + + if = { + limit = { + religion = FROM + } + piety = -100 + } + + FROM = { + character_event = { + id = SoA.1933 + tooltip = EVTTOOLTIP_SOA_1033 + } + } + } +} + +# Son or brother joins the Zealots +character_event = { + id = SoA.1932 + hide_window = yes + + is_triggered_only = yes + + immediate = { + d_zealots = { + holder_scope = { + save_event_target_as = order_target + ROOT = { + character_event = { id = SoA.2864 } + } + } + } + } +} + +# Liege refuses request to join the Zealots +character_event = { + id = SoA.1933 + hide_window = yes + + is_triggered_only = yes + + immediate = { + opinion = { + who = FROM + modifier = opinion_refused_request_holy_order + } + } +} + +# Ping event when donating money to the Zealots +character_event = { + id = SoA.1940 + hide_window = yes + + is_triggered_only = yes + + immediate = { + wealth = 300 + FROM = { + letter_event = { + id = SoA.1941 + } + } + opinion = { + who = FROM + modifier = opinion_generous_donation + } + } +} + +# Notification event when donating money to the Zealots +letter_event = { + id = SoA.1941 + desc = EVTDESC_SOA_1941 + border = GFX_event_letter_frame_religion + + is_triggered_only = yes + + option = { + name = EXCELLENT + } +} + +# The Grand Master humbly requests the right to build a castle in your demesne +character_event = { + id = SoA.1950 + hide_window = yes + + min_age = 16 + only_playable = yes + religion_group = jewish_group + + trigger = { + is_heretic = no + + d_zealots = { + holder_scope = { + wealth = 300 + NOT = { + realm_size = 10 + } + } + } + + any_demesne_province = { + has_empty_holding = yes + } + + has_dlc = "Sons of Abraham" + + NOT = { has_character_modifier = expelled_d_zealots } + NOT = { + any_liege = { + has_character_modifier = expelled_d_zealots + } + } + } + + mean_time_to_happen = { + months = 240 + modifier = { + factor = 0.5 + d_zealots = { + holder_scope = { + NOT = { demesne_size = 1 } + } + } + } + modifier = { + factor = 0.5 + d_zealots = { + holder_scope = { + NOT = { demesne_size = 2 } + } + } + } + modifier = { + factor = 2.0 + d_zealots = { + holder_scope = { + num_of_count_titles = 1 + } + } + } + modifier = { + factor = 2.0 + d_zealots = { + holder_scope = { + realm_size = 5 + } + } + } + } + + immediate = { + random_demesne_province = { + limit = { + has_empty_holding = yes + } + province_event = { + id = SoA.1951 + } + } + } +} + +province_event = { + id = SoA.1951 + hide_window = yes + + is_triggered_only = yes + + immediate = { + d_zealots = { + holder_scope = { + character_event = { + id = SoA.1952 + } + } + } + } +} + +character_event = { + id = SoA.1952 + hide_window = yes + + is_triggered_only = yes + + immediate = { + FROMFROM = { + letter_event = { + id = SoA.1953 + } + } + } +} + +letter_event = { + id = SoA.1953 + desc = EVTDESC_SOA_1953 + border = GFX_event_letter_frame_religion + + is_triggered_only = yes + + option = { + name = EVTOPTA_SOA_1023 # Agree + ai_chance = { + factor = 80 + modifier = { + factor = 0 + has_character_modifier = expelled_d_zealots + } + } + + hidden_tooltip = { + FROMFROM = { + province_event = { id = SoA.1954 } + } + remove_character_modifier = expelled_d_zealots + } + + piety = 200 + wealth = 100 + } + + option = { + name = EVTOPTB_SOA_1153 # Refuse + ai_chance = { + factor = 20 + } + + piety = -100 + } +} + +# Castle has been erected +province_event = { + id = SoA.1954 + desc = EVTDESC_SOA_1954 + picture = GFX_evt_castle_construction + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + immediate = { + FROMFROM = { + wealth = -300 + } + } + + option = { + name = EVTOPTA_SOA_1024 + build_holding = { + type = castle + holder = FROMFROM + } + } +} + +# Ping event when expelling the Zealots +character_event = { + id = SoA.1960 + hide_window = yes + + is_triggered_only = yes + + immediate = { + any_title_under = { + limit = { + tier = BARON + location = { + owner = { + OR = { + character = FROM + is_liege_or_above = FROM + } + } + } + } + usurp_title = FROM + } + + FROM = { + letter_event = { + id = SoA.1961 + } + } + + opinion = { + who = FROM + modifier = opinion_expelled_from_realm + } + } +} + +# Notification event when expelling the Zealots +letter_event = { + id = SoA.1961 + desc = EVTDESC_SOA_1961 + border = GFX_event_letter_frame_religion + + is_triggered_only = yes + + option = { + name = EVTOPTB_SOA_1061 + } +} + +######################################## +# The Lords of the Sky +######################################## + +# The birth of the Lords of the Sky +narrative_event = { + id = SoA.2009 + title = EVTTITLE_SOA_2009 + desc = EVTDESC_SOA_2009 + major = yes + + picture = GFX_evt_mongols_pillage_oldgods + hide_from = yes + + only_playable = yes + religion = catholic + has_global_flag = tengri_reformation + + trigger = { + has_dlc = "Sons of Abraham" + NOT = { + is_title_active = d_sky_lords + } + controls_religion = yes # Let it happen for the Pope - he's always around + } + + mean_time_to_happen = { + months = 36 + } + + immediate = { + activate_title = { title = d_sky_lords status = yes } + create_character = { + random_traits = no + dynasty = random + religion = tengri_pagan_reformed + culture = cuman + female = no + age = 28 + trait = brilliant_strategist + trait = zealous + trait = humble + trait = ambitious + trait = strategist + trait = holy_warrior + } + new_character = { + wealth = 500 + d_sky_lords = { + grant_title = PREV + } + set_government_type = feudal_government + create_character = { + random_traits = yes + dynasty = random + religion = tengri_pagan_reformed + culture = cuman + female = no + age = 16 + } + create_character = { + random_traits = yes + dynasty = random + religion = tengri_pagan_reformed + culture = cuman + female = no + age = 18 + } + create_character = { + random_traits = yes + dynasty = random + religion = tengri_pagan_reformed + culture = cuman + female = no + age = 18 + } + create_character = { + random_traits = yes + dynasty = random + religion = tengri_pagan_reformed + culture = cuman + female = no + age = 20 + } + create_character = { + random_traits = yes + dynasty = random + religion = tengri_pagan_reformed + culture = cuman + female = no + age = 25 + } + create_character = { + random_traits = yes + dynasty = random + religion = tengri_pagan_reformed + culture = cuman + female = no + age = 26 + } + create_character = { + random_traits = yes + dynasty = random + religion = tengri_pagan_reformed + culture = cuman + female = no + age = 28 + } + create_character = { + random_traits = yes + dynasty = random + religion = tengri_pagan_reformed + culture = cuman + female = yes + age = 16 + } + create_character = { + random_traits = yes + dynasty = random + religion = tengri_pagan_reformed + culture = cuman + female = yes + age = 17 + } + } + } + + option = { + name = EVTOPTA_SOA_2009 + trigger = { + religion = tengri_pagan_reformed + } + } + option = { + name = EVTOPTB_SOA_2009 + trigger = { + NOT = { religion = tengri_pagan_reformed } + } + } +} + +# The son of a ruler volunteers to join the Lords of the Sky +character_event = { + id = SoA.2030 + hide_window = yes + + only_men = yes + min_age = 16 + max_age = 45 + only_capable = yes + prisoner = no + religion = tengri_pagan_reformed + + trigger = { + is_ruler = no + + martial = 5 + + is_title_active = d_sky_lords + + OR = { + father_even_if_dead = { + primary_title = { higher_tier_than = BARON } + } + mother_even_if_dead = { + primary_title = { higher_tier_than = BARON } + } + } + + liege = { + holy_order = no + liege = { + holy_order = no + } + } + + has_dlc = "Sons of Abraham" + + NOT = { has_character_modifier = expelled_d_sky_lords } + NOT = { + any_liege = { + has_character_modifier = expelled_d_sky_lords + } + } + + NOT = { + any_spouse = { + OR = { + is_landed = yes + AND = { + is_pregnant = yes + father_of_unborn = { character = ROOT } # Won't happen if spouse is pregnant with non-bastard child + } + } + } + } + } + + mean_time_to_happen = { + years = 100 + modifier = { + factor = 0.25 + trait = zealous + } + modifier = { + factor = 0.5 + trait = celibate + } + modifier = { + factor = 0.5 + trait = homosexual + } + modifier = { + factor = 0.7 + trait = content + } + modifier = { + factor = 0.75 + trait = chaste + } + modifier = { + factor = 0.75 + NOT = { age = 25 } + } + modifier = { + factor = 1.5 + trait = slothful + } + modifier = { + factor = 2.0 + trait = lustful + } + modifier = { + factor = 2.0 + trait = cynical + } + modifier = { + factor = 2.0 + trait = hedonist + } + modifier = { + factor = 2.0 + trait = ambitious + } + modifier = { + factor = 2.0 + any_heir_title = { + always = yes + } + } + modifier = { + factor = 2.0 + is_primary_heir = yes + } + modifier = { + factor = 2 + any_spouse = { + reverse_opinion = { who = ROOT value = 100 } + } + } + } + + immediate = { + liege = { + character_event = { + id = SoA.2031 + } + } + } +} + +# Son or brother asks to join the Lords of the Sky +character_event = { + id = SoA.2031 + desc = EVTDESC_SOA_2031 + picture = GFX_evt_throne_room_altaic + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + option = { + name = EVTOPTA_SOA_1031 # Agree + ai_chance = { + factor = 100 + } + + if = { + limit = { + religion = FROM + } + piety = 100 + } + + FROM = { + character_event = { + id = SoA.2032 + tooltip = EVTTOOLTIP_SOA_2032 + } + } + } + + option = { + name = EVTOPTB_SOA_1031 # Refuse + + if = { + limit = { + religion = FROM + } + piety = -100 + } + + FROM = { + character_event = { + id = SoA.2033 + tooltip = EVTTOOLTIP_SOA_1033 + } + } + } +} + +# Son or brother joins the Lords of the Sky +character_event = { + id = SoA.2032 + hide_window = yes + + is_triggered_only = yes + + immediate = { + d_sky_lords = { + holder_scope = { + save_event_target_as = order_target + ROOT = { + character_event = { id = SoA.2864 } + } + } + } + } +} + +# Liege refuses request to join the Lords of the Sky +character_event = { + id = SoA.2033 + hide_window = yes + + is_triggered_only = yes + + immediate = { + opinion = { + who = FROM + modifier = opinion_refused_request_holy_order + } + } +} + +# Ping event when donating money to the Lords of the Sky +character_event = { + id = SoA.2040 + hide_window = yes + + is_triggered_only = yes + + immediate = { + wealth = 300 + FROM = { + letter_event = { + id = SoA.2041 + } + } + opinion = { + who = FROM + modifier = opinion_generous_donation + } + } +} + +# Notification event when donating money to the Lords of the Sky +letter_event = { + id = SoA.2041 + desc = EVTDESC_SOA_2041 + border = GFX_event_letter_frame_religion + + is_triggered_only = yes + + option = { + name = EXCELLENT + } +} + +# The Grand Master humbly requests the right to build a castle in your demesne +character_event = { + id = SoA.2050 + hide_window = yes + + min_age = 16 + only_playable = yes + religion = tengri_pagan_reformed + + trigger = { + d_sky_lords = { + holder_scope = { + wealth = 300 + NOT = { + realm_size = 10 + } + } + } + + any_demesne_province = { + has_empty_holding = yes + } + + has_dlc = "Sons of Abraham" + + NOT = { has_character_modifier = expelled_d_sky_lords } + NOT = { + any_liege = { + has_character_modifier = expelled_d_sky_lords + } + } + } + + mean_time_to_happen = { + months = 240 + modifier = { + factor = 0.5 + d_sky_lords = { + holder_scope = { + NOT = { demesne_size = 1 } + } + } + } + modifier = { + factor = 0.5 + d_sky_lords = { + holder_scope = { + NOT = { demesne_size = 2 } + } + } + } + modifier = { + factor = 2.0 + d_sky_lords = { + holder_scope = { + num_of_count_titles = 1 + } + } + } + modifier = { + factor = 2.0 + d_sky_lords = { + holder_scope = { + realm_size = 5 + } + } + } + } + + immediate = { + random_demesne_province = { + limit = { + has_empty_holding = yes + } + province_event = { + id = SoA.2051 + } + } + } +} + +province_event = { + id = SoA.2051 + hide_window = yes + + is_triggered_only = yes + + immediate = { + d_sky_lords = { + holder_scope = { + character_event = { + id = SoA.2052 + } + } + } + } +} + +character_event = { + id = SoA.2052 + hide_window = yes + + is_triggered_only = yes + + immediate = { + FROMFROM = { + letter_event = { + id = SoA.2053 + } + } + } +} + +letter_event = { + id = SoA.2053 + desc = EVTDESC_SOA_2053 + border = GFX_event_letter_frame_religion + + is_triggered_only = yes + + option = { + name = EVTOPTA_SOA_1023 # Agree + ai_chance = { + factor = 80 + modifier = { + factor = 0 + has_character_modifier = expelled_d_sky_lords + } + } + + hidden_tooltip = { + FROMFROM = { + province_event = { id = SoA.2054 } + } + remove_character_modifier = expelled_d_sky_lords + } + + piety = 200 + wealth = 100 + } + + option = { + name = EVTOPTB_SOA_1153 # Refuse + ai_chance = { + factor = 20 + } + + piety = -100 + } +} + +# Castle has been erected +province_event = { + id = SoA.2054 + desc = EVTDESC_SOA_2054 + picture = GFX_evt_castle_construction + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + immediate = { + FROMFROM = { + wealth = -300 + } + } + + option = { + name = EVTOPTA_SOA_1024 + build_holding = { + type = castle + holder = FROMFROM + } + } +} + +# Ping event when expelling the Lords of the Sky +character_event = { + id = SoA.2060 + hide_window = yes + + is_triggered_only = yes + + immediate = { + any_title_under = { + limit = { + tier = BARON + location = { + owner = { + OR = { + character = FROM + is_liege_or_above = FROM + } + } + } + } + usurp_title = FROM + } + + FROM = { + letter_event = { + id = SoA.2061 + } + } + + opinion = { + who = FROM + modifier = opinion_expelled_from_realm + } + } +} + +# Notification event when expelling the Lords of the Sky +letter_event = { + id = SoA.2061 + desc = EVTDESC_SOA_2061 + border = GFX_event_letter_frame_religion + + is_triggered_only = yes + + option = { + name = EVTOPTB_SOA_1061 + } +} + +######################################## +# The Spirit Guardians +######################################## + +# The birth of the Spirit Guardians +narrative_event = { + id = SoA.2109 + title = EVTTITLE_SOA_2109 + desc = EVTDESC_SOA_2109 + major = yes + + picture = GFX_evt_melee + + only_playable = yes + hide_from = yes + religion = catholic + has_dlc = "Sons of Abraham" + has_global_flag = west_african_reformation + + trigger = { + NOT = { + is_title_active = d_spirit_guardians + } + controls_religion = yes # Let it happen for the Pope - he's always around + } + + mean_time_to_happen = { + months = 36 + } + + immediate = { + activate_title = { title = d_spirit_guardians status = yes } + create_character = { + random_traits = no + dynasty = random + religion = west_african_pagan_reformed + culture = manden + female = no + age = 32 + trait = brilliant_strategist + trait = zealous + trait = humble + trait = ambitious + trait = strategist + trait = holy_warrior + } + new_character = { + wealth = 500 + d_spirit_guardians = { + grant_title = PREV + } + set_government_type = feudal_government + create_character = { + random_traits = yes + dynasty = random + religion = west_african_pagan_reformed + culture = manden + female = no + age = 16 + } + create_character = { + random_traits = yes + dynasty = random + religion = west_african_pagan_reformed + culture = manden + female = no + age = 18 + } + create_character = { + random_traits = yes + dynasty = random + religion = west_african_pagan_reformed + culture = manden + female = no + age = 18 + } + create_character = { + random_traits = yes + dynasty = random + religion = west_african_pagan_reformed + culture = manden + female = no + age = 20 + } + create_character = { + random_traits = yes + dynasty = random + religion = west_african_pagan_reformed + culture = manden + female = no + age = 25 + } + create_character = { + random_traits = yes + dynasty = random + religion = west_african_pagan_reformed + culture = manden + female = no + age = 26 + } + create_character = { + random_traits = yes + dynasty = random + religion = west_african_pagan_reformed + culture = manden + female = no + age = 28 + } + create_character = { + random_traits = yes + dynasty = random + religion = west_african_pagan_reformed + culture = manden + female = yes + age = 16 + } + create_character = { + random_traits = yes + dynasty = random + religion = west_african_pagan_reformed + culture = manden + female = yes + age = 17 + } + } + } + + option = { + name = EVTOPTA_SOA_2109 + trigger = { + religion = west_african_pagan_reformed + } + } + option = { + name = EVTOPTB_SOA_2009 + trigger = { + NOT = { religion = west_african_pagan_reformed } + } + } +} + +# The son of a ruler volunteers to join the Spirit Guardians +character_event = { + id = SoA.2130 + hide_window = yes + + only_men = yes + min_age = 16 + max_age = 45 + only_capable = yes + prisoner = no + religion = west_african_pagan_reformed + + trigger = { + is_ruler = no + + martial = 5 + + is_title_active = d_spirit_guardians + + OR = { + father_even_if_dead = { + primary_title = { higher_tier_than = BARON } + } + mother_even_if_dead = { + primary_title = { higher_tier_than = BARON } + } + } + + liege = { + holy_order = no + liege = { + holy_order = no + } + } + + has_dlc = "Sons of Abraham" + + NOT = { has_character_modifier = expelled_d_spirit_guardians } + NOT = { + any_liege = { + has_character_modifier = expelled_d_spirit_guardians + } + } + + NOT = { + any_spouse = { + OR = { + is_landed = yes + AND = { + is_pregnant = yes + father_of_unborn = { character = ROOT } # Won't happen if spouse is pregnant with non-bastard child + } + } + } + } + } + + mean_time_to_happen = { + years = 100 + modifier = { + factor = 0.25 + trait = zealous + } + modifier = { + factor = 0.5 + trait = celibate + } + modifier = { + factor = 0.5 + trait = homosexual + } + modifier = { + factor = 0.7 + trait = content + } + modifier = { + factor = 0.75 + trait = chaste + } + modifier = { + factor = 0.75 + NOT = { age = 25 } + } + modifier = { + factor = 1.5 + trait = slothful + } + modifier = { + factor = 2.0 + trait = lustful + } + modifier = { + factor = 2.0 + trait = cynical + } + modifier = { + factor = 2.0 + trait = hedonist + } + modifier = { + factor = 2.0 + trait = ambitious + } + modifier = { + factor = 2.0 + any_heir_title = { + always = yes + } + } + modifier = { + factor = 2.0 + is_primary_heir = yes + } + modifier = { + factor = 2 + any_spouse = { + reverse_opinion = { who = ROOT value = 100 } + } + } + } + + immediate = { + liege = { + character_event = { + id = SoA.2131 + } + } + } +} + +# Son or brother asks to join the Spirit Guardians +character_event = { + id = SoA.2131 + desc = EVTDESC_SOA_2131 + picture = GFX_evt_melee + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + option = { + name = EVTOPTA_SOA_1031 # Agree + ai_chance = { + factor = 100 + } + + if = { + limit = { + religion = FROM + } + piety = 100 + } + + FROM = { + character_event = { + id = SoA.2132 + tooltip = EVTTOOLTIP_SOA_2132 + } + } + } + + option = { + name = EVTOPTB_SOA_1031 # Refuse + + if = { + limit = { + religion = FROM + } + piety = -100 + } + + FROM = { + character_event = { + id = SoA.2133 + tooltip = EVTTOOLTIP_SOA_1033 + } + } + } +} + +# Son or brother joins the Spirit Guardians +character_event = { + id = SoA.2132 + hide_window = yes + + is_triggered_only = yes + + immediate = { + d_spirit_guardians = { + holder_scope = { + save_event_target_as = order_target + ROOT = { + character_event = { id = SoA.2864 } + } + } + } + } +} + +# Liege refuses request to join the Spirit Guardians +character_event = { + id = SoA.2133 + hide_window = yes + + is_triggered_only = yes + + immediate = { + opinion = { + who = FROM + modifier = opinion_refused_request_holy_order + } + } +} + +# Ping event when donating money to the Spirit Guardians +character_event = { + id = SoA.2140 + hide_window = yes + + is_triggered_only = yes + + immediate = { + wealth = 300 + FROM = { + letter_event = { + id = SoA.2141 + } + } + opinion = { + who = FROM + modifier = opinion_generous_donation + } + } +} + +# Notification event when donating money to the Spirit Guardians +letter_event = { + id = SoA.2141 + desc = EVTDESC_SOA_2141 + border = GFX_event_letter_frame_religion + + is_triggered_only = yes + + option = { + name = EXCELLENT + } +} + +# The Grand Master humbly requests the right to build a castle in your demesne +character_event = { + id = SoA.2150 + hide_window = yes + + only_playable = yes + religion = west_african_pagan_reformed + + trigger = { + d_spirit_guardians = { + holder_scope = { + wealth = 300 + NOT = { + realm_size = 10 + } + } + } + + any_demesne_province = { + has_empty_holding = yes + } + + has_dlc = "Sons of Abraham" + + NOT = { has_character_modifier = expelled_d_spirit_guardians } + NOT = { + any_liege = { + has_character_modifier = expelled_d_spirit_guardians + } + } + } + + mean_time_to_happen = { + months = 240 + modifier = { + factor = 0.5 + d_spirit_guardians = { + holder_scope = { + NOT = { demesne_size = 1 } + } + } + } + modifier = { + factor = 0.5 + d_spirit_guardians = { + holder_scope = { + NOT = { demesne_size = 2 } + } + } + } + modifier = { + factor = 2.0 + d_spirit_guardians = { + holder_scope = { + num_of_count_titles = 1 + } + } + } + modifier = { + factor = 2.0 + d_spirit_guardians = { + holder_scope = { + realm_size = 5 + } + } + } + } + + immediate = { + random_demesne_province = { + limit = { + has_empty_holding = yes + } + province_event = { + id = SoA.2151 + } + } + } +} + +province_event = { + id = SoA.2151 + hide_window = yes + + is_triggered_only = yes + + immediate = { + d_spirit_guardians = { + holder_scope = { + character_event = { + id = SoA.2152 + } + } + } + } +} + +character_event = { + id = SoA.2152 + hide_window = yes + + is_triggered_only = yes + + immediate = { + FROMFROM = { + letter_event = { + id = SoA.2153 + } + } + } +} + +letter_event = { + id = SoA.2153 + desc = EVTDESC_SOA_2153 + border = GFX_event_letter_frame_religion + + is_triggered_only = yes + + option = { + name = EVTOPTA_SOA_1023 # Agree + ai_chance = { + factor = 80 + modifier = { + factor = 0 + has_character_modifier = expelled_d_spirit_guardians + } + } + + hidden_tooltip = { + FROMFROM = { + province_event = { id = SoA.2154 } + } + remove_character_modifier = expelled_d_spirit_guardians + } + + piety = 200 + wealth = 100 + } + + option = { + name = EVTOPTB_SOA_1153 # Refuse + ai_chance = { + factor = 20 + } + + piety = -100 + } +} + +# Castle has been erected +province_event = { + id = SoA.2154 + desc = EVTDESC_SOA_2154 + picture = GFX_evt_castle_construction + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + immediate = { + FROMFROM = { + wealth = -300 + } + } + + option = { + name = EVTOPTA_SOA_1024 + build_holding = { + type = castle + holder = FROMFROM + } + } +} + +# Ping event when expelling the Spirit Guardians +character_event = { + id = SoA.2160 + hide_window = yes + + is_triggered_only = yes + + immediate = { + any_title_under = { + limit = { + tier = BARON + location = { + owner = { + OR = { + character = FROM + is_liege_or_above = FROM + } + } + } + } + usurp_title = FROM + } + + FROM = { + letter_event = { + id = SoA.2161 + } + } + + opinion = { + who = FROM + modifier = opinion_expelled_from_realm + } + } +} + +# Notification event when expelling the Spirit Guardians +letter_event = { + id = SoA.2161 + desc = EVTDESC_SOA_2161 + border = GFX_event_letter_frame_religion + + is_triggered_only = yes + + option = { + name = EVTOPTB_SOA_1061 + } +} + +######################################## +# The Warriors of Perun +######################################## + +# The birth of the Warriors of Perun +narrative_event = { + id = SoA.2209 + title = EVTTITLE_SOA_2209 + desc = EVTDESC_SOA_2209 + major = yes + + picture = GFX_evt_throne_room_norse_pagan + + only_playable = yes + hide_from = yes + religion = catholic + has_dlc = "Sons of Abraham" + has_global_flag = slavic_reformation + + trigger = { + NOT = { + is_title_active = d_warriors_perun + } + controls_religion = yes # Let it happen for the Pope - he's always around + } + + mean_time_to_happen = { + months = 36 + } + + immediate = { + activate_title = { title = d_warriors_perun status = yes } + create_character = { + random_traits = no + dynasty = random + religion = slavic_pagan_reformed + culture = russian + female = no + age = 35 + trait = brilliant_strategist + trait = zealous + trait = humble + trait = ambitious + trait = strategist + trait = holy_warrior + } + new_character = { + wealth = 500 + d_warriors_perun = { + grant_title = PREV + } + set_government_type = feudal_government + create_character = { + random_traits = yes + dynasty = random + religion = slavic_pagan_reformed + culture = russian + female = no + age = 16 + } + create_character = { + random_traits = yes + dynasty = random + religion = slavic_pagan_reformed + culture = russian + female = no + age = 18 + } + create_character = { + random_traits = yes + dynasty = random + religion = slavic_pagan_reformed + culture = russian + female = no + age = 18 + } + create_character = { + random_traits = yes + dynasty = random + religion = slavic_pagan_reformed + culture = russian + female = no + age = 20 + } + create_character = { + random_traits = yes + dynasty = random + religion = slavic_pagan_reformed + culture = russian + female = no + age = 25 + } + create_character = { + random_traits = yes + dynasty = random + religion = slavic_pagan_reformed + culture = russian + female = no + age = 26 + } + create_character = { + random_traits = yes + dynasty = random + religion = slavic_pagan_reformed + culture = russian + female = no + age = 28 + } + create_character = { + random_traits = yes + dynasty = random + religion = slavic_pagan_reformed + culture = russian + female = yes + age = 16 + } + create_character = { + random_traits = yes + dynasty = random + religion = slavic_pagan_reformed + culture = russian + female = yes + age = 17 + } + } + } + + option = { + name = EVTOPTA_SOA_2209 + trigger = { + religion = slavic_pagan_reformed + } + } + option = { + name = EVTOPTB_SOA_2009 + trigger = { + NOT = { religion = slavic_pagan_reformed } + } + } +} + +# The son of a ruler volunteers to join the Warriors of Perun +character_event = { + id = SoA.2230 + hide_window = yes + + only_men = yes + min_age = 16 + max_age = 45 + only_capable = yes + prisoner = no + religion = slavic_pagan_reformed + + trigger = { + is_ruler = no + + martial = 5 + + is_title_active = d_warriors_perun + + OR = { + father_even_if_dead = { + primary_title = { higher_tier_than = BARON } + } + mother_even_if_dead = { + primary_title = { higher_tier_than = BARON } + } + } + + liege = { + holy_order = no + liege = { + holy_order = no + } + } + + has_dlc = "Sons of Abraham" + + NOT = { has_character_modifier = expelled_d_warriors_perun } + NOT = { + any_liege = { + has_character_modifier = expelled_d_warriors_perun + } + } + + NOT = { + any_spouse = { + OR = { + is_landed = yes + AND = { + is_pregnant = yes + father_of_unborn = { character = ROOT } # Won't happen if spouse is pregnant with non-bastard child + } + } + } + } + } + + mean_time_to_happen = { + years = 100 + modifier = { + factor = 0.25 + trait = zealous + } + modifier = { + factor = 0.5 + trait = celibate + } + modifier = { + factor = 0.5 + trait = homosexual + } + modifier = { + factor = 0.7 + trait = content + } + modifier = { + factor = 0.75 + trait = chaste + } + modifier = { + factor = 0.75 + NOT = { age = 25 } + } + modifier = { + factor = 1.5 + trait = slothful + } + modifier = { + factor = 2.0 + trait = lustful + } + modifier = { + factor = 2.0 + trait = cynical + } + modifier = { + factor = 2.0 + trait = hedonist + } + modifier = { + factor = 2.0 + trait = ambitious + } + modifier = { + factor = 2.0 + any_heir_title = { + always = yes + } + } + modifier = { + factor = 2.0 + is_primary_heir = yes + } + modifier = { + factor = 2 + any_spouse = { + reverse_opinion = { who = ROOT value = 100 } + } + } + } + + immediate = { + liege = { + character_event = { + id = SoA.2231 + } + } + } +} + +# Son or brother asks to join the Warriors of Perun +character_event = { + id = SoA.2231 + desc = EVTDESC_SOA_2231 + picture = GFX_evt_throne_room_norse_pagan + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + option = { + name = EVTOPTA_SOA_1031 # Agree + ai_chance = { + factor = 100 + } + + if = { + limit = { + religion = FROM + } + piety = 100 + } + + FROM = { + character_event = { + id = SoA.2232 + tooltip = EVTTOOLTIP_SOA_2232 + } + } + } + + option = { + name = EVTOPTB_SOA_1031 # Refuse + + if = { + limit = { + religion = FROM + } + piety = -100 + } + + FROM = { + character_event = { + id = SoA.2233 + tooltip = EVTTOOLTIP_SOA_1033 + } + } + } +} + +# Son or brother joins the Warriors of Perun +character_event = { + id = SoA.2232 + hide_window = yes + + is_triggered_only = yes + + immediate = { + d_warriors_perun = { + holder_scope = { + save_event_target_as = order_target + ROOT = { + character_event = { id = SoA.2864 } + } + } + } + } +} + +# Liege refuses request to join the Warriors of Perun +character_event = { + id = SoA.2233 + hide_window = yes + + is_triggered_only = yes + + immediate = { + opinion = { + who = FROM + modifier = opinion_refused_request_holy_order + } + } +} + +# Ping event when donating money to the Warriors of Perun +character_event = { + id = SoA.2240 + hide_window = yes + + is_triggered_only = yes + + immediate = { + wealth = 300 + FROM = { + letter_event = { + id = SoA.2241 + } + } + opinion = { + who = FROM + modifier = opinion_generous_donation + } + } +} + +# Notification event when donating money to the Warriors of Perun +letter_event = { + id = SoA.2241 + desc = EVTDESC_SOA_2241 + border = GFX_event_letter_frame_religion + + is_triggered_only = yes + + option = { + name = EXCELLENT + } +} + +# The Grand Master humbly requests the right to build a castle in your demesne +character_event = { + id = SoA.2250 + hide_window = yes + + min_age = 16 + only_playable = yes + religion = slavic_pagan_reformed + + trigger = { + d_warriors_perun = { + holder_scope = { + wealth = 300 + NOT = { + realm_size = 10 + } + } + } + + any_demesne_province = { + has_empty_holding = yes + } + + has_dlc = "Sons of Abraham" + + NOT = { has_character_modifier = expelled_d_warriors_perun } + NOT = { + any_liege = { + has_character_modifier = expelled_d_warriors_perun + } + } + } + + mean_time_to_happen = { + months = 240 + modifier = { + factor = 0.5 + d_warriors_perun = { + holder_scope = { + NOT = { demesne_size = 1 } + } + } + } + modifier = { + factor = 0.5 + d_warriors_perun = { + holder_scope = { + NOT = { demesne_size = 2 } + } + } + } + modifier = { + factor = 2.0 + d_warriors_perun = { + holder_scope = { + num_of_count_titles = 1 + } + } + } + modifier = { + factor = 2.0 + d_warriors_perun = { + holder_scope = { + realm_size = 5 + } + } + } + } + + immediate = { + random_demesne_province = { + limit = { + has_empty_holding = yes + } + province_event = { + id = SoA.2251 + } + } + } +} + +province_event = { + id = SoA.2251 + hide_window = yes + + is_triggered_only = yes + + immediate = { + d_warriors_perun = { + holder_scope = { + character_event = { + id = SoA.2252 + } + } + } + } +} + +character_event = { + id = SoA.2252 + hide_window = yes + + is_triggered_only = yes + + immediate = { + FROMFROM = { + letter_event = { + id = SoA.2253 + } + } + } +} + +letter_event = { + id = SoA.2253 + desc = EVTDESC_SOA_2253 + border = GFX_event_letter_frame_religion + + is_triggered_only = yes + + option = { + name = EVTOPTA_SOA_1023 # Agree + ai_chance = { + factor = 80 + modifier = { + factor = 0 + has_character_modifier = expelled_d_warriors_perun + } + } + + hidden_tooltip = { + FROMFROM = { + province_event = { id = SoA.2254 } + } + remove_character_modifier = expelled_d_warriors_perun + } + + piety = 200 + wealth = 100 + } + + option = { + name = EVTOPTB_SOA_1153 # Refuse + ai_chance = { + factor = 20 + } + + piety = -100 + } +} + +# Castle has been erected +province_event = { + id = SoA.2254 + desc = EVTDESC_SOA_2254 + picture = GFX_evt_castle_construction + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + immediate = { + FROMFROM = { + wealth = -300 + } + } + + option = { + name = EVTOPTA_SOA_1024 + build_holding = { + type = castle + holder = FROMFROM + } + } +} + +# Ping event when expelling the Warriors of Perun +character_event = { + id = SoA.2260 + hide_window = yes + + is_triggered_only = yes + + immediate = { + any_title_under = { + limit = { + tier = BARON + location = { + owner = { + OR = { + character = FROM + is_liege_or_above = FROM + } + } + } + } + usurp_title = FROM + } + + FROM = { + letter_event = { + id = SoA.2261 + } + } + + opinion = { + who = FROM + modifier = opinion_expelled_from_realm + } + } +} + +# Notification event when expelling the Warriors of Perun +letter_event = { + id = SoA.2261 + desc = EVTDESC_SOA_2261 + border = GFX_event_letter_frame_religion + + is_triggered_only = yes + + option = { + name = EVTOPTB_SOA_1061 + } +} + +######################################## +# The Chosen of Perkunas +######################################## + +# The birth of the Chosen of Perkunas +narrative_event = { + id = SoA.2309 + title = EVTTITLE_SOA_2309 + desc = EVTDESC_SOA_2309 + major = yes + + picture = GFX_evt_throne_room_norse_pagan + + only_playable = yes + hide_from = yes + religion = catholic + has_dlc = "Sons of Abraham" + has_global_flag = baltic_reformation + + trigger = { + NOT = { + is_title_active = d_chosen_perkunas + } + controls_religion = yes # Let it happen for the Pope - he's always around + } + + mean_time_to_happen = { + months = 36 + } + + immediate = { + activate_title = { title = d_chosen_perkunas status = yes } + create_character = { + random_traits = no + dynasty = random + religion = baltic_pagan_reformed + culture = lettigallish + female = no + age = 26 + trait = brilliant_strategist + trait = zealous + trait = humble + trait = ambitious + trait = strategist + trait = holy_warrior + } + new_character = { + wealth = 500 + d_chosen_perkunas = { + grant_title = PREV + } + set_government_type = feudal_government + create_character = { + random_traits = yes + dynasty = random + religion = baltic_pagan_reformed + culture = lettigallish + female = no + age = 16 + } + create_character = { + random_traits = yes + dynasty = random + religion = baltic_pagan_reformed + culture = lettigallish + female = no + age = 18 + } + create_character = { + random_traits = yes + dynasty = random + religion = baltic_pagan_reformed + culture = lettigallish + female = no + age = 18 + } + create_character = { + random_traits = yes + dynasty = random + religion = baltic_pagan_reformed + culture = lettigallish + female = no + age = 20 + } + create_character = { + random_traits = yes + dynasty = random + religion = baltic_pagan_reformed + culture = lettigallish + female = no + age = 25 + } + create_character = { + random_traits = yes + dynasty = random + religion = baltic_pagan_reformed + culture = lettigallish + female = no + age = 26 + } + create_character = { + random_traits = yes + dynasty = random + religion = baltic_pagan_reformed + culture = lettigallish + female = no + age = 28 + } + create_character = { + random_traits = yes + dynasty = random + religion = baltic_pagan_reformed + culture = lettigallish + female = yes + age = 16 + } + create_character = { + random_traits = yes + dynasty = random + religion = baltic_pagan_reformed + culture = lettigallish + female = yes + age = 17 + } + } + } + + option = { + name = EVTOPTA_SOA_2309 + trigger = { + religion = baltic_pagan_reformed + } + } + option = { + name = EVTOPTB_SOA_2009 + trigger = { + NOT = { religion = baltic_pagan_reformed } + } + } +} + +# The son of a ruler volunteers to join the Chosen of Perkunas +character_event = { + id = SoA.2330 + hide_window = yes + + only_men = yes + min_age = 16 + max_age = 45 + only_capable = yes + prisoner = no + religion = baltic_pagan_reformed + + trigger = { + is_ruler = no + + martial = 5 + + is_title_active = d_chosen_perkunas + + OR = { + father_even_if_dead = { + primary_title = { higher_tier_than = BARON } + } + mother_even_if_dead = { + primary_title = { higher_tier_than = BARON } + } + } + + liege = { + holy_order = no + liege = { + holy_order = no + } + } + + has_dlc = "Sons of Abraham" + + NOT = { has_character_modifier = expelled_d_chosen_perkunas } + NOT = { + any_liege = { + has_character_modifier = expelled_d_chosen_perkunas + } + } + + NOT = { + any_spouse = { + OR = { + is_landed = yes + AND = { + is_pregnant = yes + father_of_unborn = { character = ROOT } # Won't happen if spouse is pregnant with non-bastard child + } + } + } + } + } + + mean_time_to_happen = { + years = 100 + modifier = { + factor = 0.25 + trait = zealous + } + modifier = { + factor = 0.5 + trait = celibate + } + modifier = { + factor = 0.5 + trait = homosexual + } + modifier = { + factor = 0.7 + trait = content + } + modifier = { + factor = 0.75 + trait = chaste + } + modifier = { + factor = 0.75 + NOT = { age = 25 } + } + modifier = { + factor = 1.5 + trait = slothful + } + modifier = { + factor = 2.0 + trait = lustful + } + modifier = { + factor = 2.0 + trait = cynical + } + modifier = { + factor = 2.0 + trait = hedonist + } + modifier = { + factor = 2.0 + trait = ambitious + } + modifier = { + factor = 2.0 + any_heir_title = { + always = yes + } + } + modifier = { + factor = 2.0 + is_primary_heir = yes + } + modifier = { + factor = 2 + any_spouse = { + reverse_opinion = { who = ROOT value = 100 } + } + } + } + + immediate = { + liege = { + character_event = { + id = SoA.2331 + } + } + } +} + +# Son or brother asks to join the Chosen of Perkunas +character_event = { + id = SoA.2331 + desc = EVTDESC_SOA_2331 + picture = GFX_evt_throne_room_norse_pagan + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + option = { + name = EVTOPTA_SOA_1031 # Agree + ai_chance = { + factor = 100 + } + + if = { + limit = { + religion = FROM + } + piety = 100 + } + + FROM = { + character_event = { + id = SoA.2332 + tooltip = EVTTOOLTIP_SOA_2332 + } + } + } + + option = { + name = EVTOPTB_SOA_1031 # Refuse + + if = { + limit = { + religion = FROM + } + piety = -100 + } + + FROM = { + character_event = { + id = SoA.2333 + tooltip = EVTTOOLTIP_SOA_1033 + } + } + } +} + +# Son or brother joins the Chosen of Perkunas +character_event = { + id = SoA.2332 + hide_window = yes + + is_triggered_only = yes + + immediate = { + d_chosen_perkunas = { + holder_scope = { + save_event_target_as = order_target + ROOT = { + character_event = { id = SoA.2864 } + } + } + } + } +} + +# Liege refuses request to join the Chosen of Perkunas +character_event = { + id = SoA.2333 + hide_window = yes + + is_triggered_only = yes + + immediate = { + opinion = { + who = FROM + modifier = opinion_refused_request_holy_order + } + } +} + +# Ping event when donating money to the Chosen of Perkunas +character_event = { + id = SoA.2340 + hide_window = yes + + is_triggered_only = yes + + immediate = { + wealth = 300 + FROM = { + letter_event = { + id = SoA.2341 + } + } + opinion = { + who = FROM + modifier = opinion_generous_donation + } + } +} + +# Notification event when donating money to the Chosen of Perkunas +letter_event = { + id = SoA.2341 + desc = EVTDESC_SOA_2341 + border = GFX_event_letter_frame_religion + + is_triggered_only = yes + + option = { + name = EXCELLENT + } +} + +# The Grand Master humbly requests the right to build a castle in your demesne +character_event = { + id = SoA.2350 + hide_window = yes + + min_age = 16 + only_playable = yes + religion = baltic_pagan_reformed + + trigger = { + d_chosen_perkunas = { + holder_scope = { + wealth = 300 + NOT = { + realm_size = 10 + } + } + } + + any_demesne_province = { + has_empty_holding = yes + } + + has_dlc = "Sons of Abraham" + NOT = { has_character_modifier = expelled_d_chosen_perkunas } + NOT = { + any_liege = { + has_character_modifier = expelled_d_chosen_perkunas + } + } + } + + mean_time_to_happen = { + months = 240 + modifier = { + factor = 0.5 + d_chosen_perkunas = { + holder_scope = { + NOT = { demesne_size = 1 } + } + } + } + modifier = { + factor = 0.5 + d_chosen_perkunas = { + holder_scope = { + NOT = { demesne_size = 2 } + } + } + } + modifier = { + factor = 2.0 + d_chosen_perkunas = { + holder_scope = { + num_of_count_titles = 1 + } + } + } + modifier = { + factor = 2.0 + d_chosen_perkunas = { + holder_scope = { + realm_size = 5 + } + } + } + } + + immediate = { + random_demesne_province = { + limit = { + has_empty_holding = yes + } + province_event = { + id = SoA.2351 + } + } + } +} + +province_event = { + id = SoA.2351 + hide_window = yes + + is_triggered_only = yes + + immediate = { + d_chosen_perkunas = { + holder_scope = { + character_event = { + id = SoA.2352 + } + } + } + } +} + +character_event = { + id = SoA.2352 + hide_window = yes + + is_triggered_only = yes + + immediate = { + FROMFROM = { + letter_event = { + id = SoA.2353 + } + } + } +} + +letter_event = { + id = SoA.2353 + desc = EVTDESC_SOA_2353 + border = GFX_event_letter_frame_religion + + is_triggered_only = yes + + option = { + name = EVTOPTA_SOA_1023 # Agree + ai_chance = { + factor = 80 + modifier = { + factor = 0 + has_character_modifier = expelled_d_chosen_perkunas + } + } + + hidden_tooltip = { + FROMFROM = { + province_event = { id = SoA.2354 } + } + remove_character_modifier = expelled_d_chosen_perkunas + } + + piety = 200 + wealth = 100 + } + + option = { + name = EVTOPTB_SOA_1153 # Refuse + ai_chance = { + factor = 20 + } + + piety = -100 + } +} + +# Castle has been erected +province_event = { + id = SoA.2354 + desc = EVTDESC_SOA_2354 + picture = GFX_evt_castle_construction + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + immediate = { + FROMFROM = { + wealth = -300 + } + } + + option = { + name = EVTOPTA_SOA_1024 + build_holding = { + type = castle + holder = FROMFROM + } + } +} + +# Ping event when expelling the Chosen of Perkunas +character_event = { + id = SoA.2360 + hide_window = yes + + is_triggered_only = yes + + immediate = { + any_title_under = { + limit = { + tier = BARON + location = { + owner = { + OR = { + character = FROM + is_liege_or_above = FROM + } + } + } + } + usurp_title = FROM + } + + FROM = { + letter_event = { + id = SoA.2361 + } + } + + opinion = { + who = FROM + modifier = opinion_expelled_from_realm + } + } +} + +# Notification event when expelling the Chosen of Perkunas +letter_event = { + id = SoA.2361 + desc = EVTDESC_SOA_2361 + border = GFX_event_letter_frame_religion + + is_triggered_only = yes + + option = { + name = EVTOPTB_SOA_1061 + } +} + +######################################## +# The Sons of Kaleva +######################################## + +# The birth of the Sons of Kaleva +narrative_event = { + id = SoA.2409 + title = EVTTITLE_SOA_2409 + desc = EVTDESC_SOA_2409 + major = yes + + picture = GFX_evt_throne_room_norse_pagan + + only_playable = yes + hide_from = yes + religion = catholic + has_dlc = "Sons of Abraham" + has_global_flag = finnish_reformation + + trigger = { + NOT = { + is_title_active = d_sons_kaleva + } + controls_religion = yes # Let it happen for the Pope - he's always around + } + + mean_time_to_happen = { + months = 36 + } + + immediate = { + activate_title = { title = d_sons_kaleva status = yes } + create_character = { + random_traits = no + dynasty = random + religion = finnish_pagan_reformed + culture = finnish + female = no + age = 31 + trait = brilliant_strategist + trait = zealous + trait = humble + trait = ambitious + trait = strategist + trait = holy_warrior + } + new_character = { + wealth = 500 + d_sons_kaleva = { + grant_title = PREV + } + set_government_type = feudal_government + create_character = { + random_traits = yes + dynasty = random + religion = finnish_pagan_reformed + culture = finnish + female = no + age = 16 + } + create_character = { + random_traits = yes + dynasty = random + religion = finnish_pagan_reformed + culture = finnish + female = no + age = 18 + } + create_character = { + random_traits = yes + dynasty = random + religion = finnish_pagan_reformed + culture = finnish + female = no + age = 18 + } + create_character = { + random_traits = yes + dynasty = random + religion = finnish_pagan_reformed + culture = finnish + female = no + age = 20 + } + create_character = { + random_traits = yes + dynasty = random + religion = finnish_pagan_reformed + culture = finnish + female = no + age = 25 + } + create_character = { + random_traits = yes + dynasty = random + religion = finnish_pagan_reformed + culture = finnish + female = no + age = 26 + } + create_character = { + random_traits = yes + dynasty = random + religion = finnish_pagan_reformed + culture = finnish + female = no + age = 28 + } + create_character = { + random_traits = yes + dynasty = random + religion = finnish_pagan_reformed + culture = finnish + female = yes + age = 16 + } + create_character = { + random_traits = yes + dynasty = random + religion = finnish_pagan_reformed + culture = finnish + female = yes + age = 17 + } + } + } + + option = { + name = EVTOPTA_SOA_2409 + trigger = { + religion = finnish_pagan_reformed + } + } + option = { + name = EVTOPTB_SOA_2009 + trigger = { + NOT = { religion = finnish_pagan_reformed } + } + } +} + +# The son of a ruler volunteers to join the Sons of Kaleva +character_event = { + id = SoA.2430 + hide_window = yes + + only_men = yes + min_age = 16 + max_age = 45 + only_capable = yes + prisoner = no + religion = finnish_pagan_reformed + + trigger = { + is_ruler = no + + martial = 5 + + is_title_active = d_sons_kaleva + + OR = { + father_even_if_dead = { + primary_title = { higher_tier_than = BARON } + } + mother_even_if_dead = { + primary_title = { higher_tier_than = BARON } + } + } + + liege = { + holy_order = no + liege = { + holy_order = no + } + } + + has_dlc = "Sons of Abraham" + NOT = { has_character_modifier = expelled_d_sons_kaleva } + NOT = { + any_liege = { + has_character_modifier = expelled_d_sons_kaleva + } + } + + NOT = { + any_spouse = { + OR = { + is_landed = yes + AND = { + is_pregnant = yes + father_of_unborn = { character = ROOT } # Won't happen if spouse is pregnant with non-bastard child + } + } + } + } + } + + mean_time_to_happen = { + years = 100 + modifier = { + factor = 0.25 + trait = zealous + } + modifier = { + factor = 0.5 + trait = celibate + } + modifier = { + factor = 0.5 + trait = homosexual + } + modifier = { + factor = 0.7 + trait = content + } + modifier = { + factor = 0.75 + trait = chaste + } + modifier = { + factor = 0.75 + NOT = { age = 25 } + } + modifier = { + factor = 1.5 + trait = slothful + } + modifier = { + factor = 2.0 + trait = lustful + } + modifier = { + factor = 2.0 + trait = cynical + } + modifier = { + factor = 2.0 + trait = hedonist + } + modifier = { + factor = 2.0 + trait = ambitious + } + modifier = { + factor = 2.0 + any_heir_title = { + always = yes + } + } + modifier = { + factor = 2.0 + is_primary_heir = yes + } + modifier = { + factor = 2 + any_spouse = { + reverse_opinion = { who = ROOT value = 100 } + } + } + } + + immediate = { + liege = { + character_event = { + id = SoA.2431 + } + } + } +} + +# Son or brother asks to join the Sons of Kaleva +character_event = { + id = SoA.2431 + desc = EVTDESC_SOA_2431 + picture = GFX_evt_throne_room_norse_pagan + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + option = { + name = EVTOPTA_SOA_1031 # Agree + ai_chance = { + factor = 100 + } + + if = { + limit = { + religion = FROM + } + piety = 100 + } + + FROM = { + character_event = { + id = SoA.2432 + tooltip = EVTTOOLTIP_SOA_2432 + } + } + } + + option = { + name = EVTOPTB_SOA_1031 # Refuse + + if = { + limit = { + religion = FROM + } + piety = -100 + } + + FROM = { + character_event = { + id = SoA.2433 + tooltip = EVTTOOLTIP_SOA_1033 + } + } + } +} + +# Son or brother joins the Sons of Kaleva +character_event = { + id = SoA.2432 + hide_window = yes + + is_triggered_only = yes + + immediate = { + d_sons_kaleva = { + holder_scope = { + save_event_target_as = order_target + ROOT = { + character_event = { id = SoA.2864 } + } + } + } + } +} + +# Liege refuses request to join the Sons of Kaleva +character_event = { + id = SoA.2433 + hide_window = yes + + is_triggered_only = yes + + immediate = { + opinion = { + who = FROM + modifier = opinion_refused_request_holy_order + } + } +} + +# Ping event when donating money to the Sons of Kaleva +character_event = { + id = SoA.2440 + hide_window = yes + + is_triggered_only = yes + + immediate = { + wealth = 300 + FROM = { + letter_event = { + id = SoA.2441 + } + } + opinion = { + who = FROM + modifier = opinion_generous_donation + } + } +} + +# Notification event when donating money to the Sons of Kaleva +letter_event = { + id = SoA.2441 + desc = EVTDESC_SOA_2441 + border = GFX_event_letter_frame_religion + + is_triggered_only = yes + + option = { + name = EXCELLENT + } +} + +# The Grand Master humbly requests the right to build a castle in your demesne +character_event = { + id = SoA.2450 + hide_window = yes + + min_age = 16 + only_playable = yes + religion = finnish_pagan_reformed + + trigger = { + d_sons_kaleva = { + holder_scope = { + wealth = 300 + NOT = { + realm_size = 10 + } + } + } + + any_demesne_province = { + has_empty_holding = yes + } + + has_dlc = "Sons of Abraham" + NOT = { has_character_modifier = expelled_d_sons_kaleva } + NOT = { + any_liege = { + has_character_modifier = expelled_d_sons_kaleva + } + } + } + + mean_time_to_happen = { + months = 240 + modifier = { + factor = 0.5 + d_sons_kaleva = { + holder_scope = { + NOT = { demesne_size = 1 } + } + } + } + modifier = { + factor = 0.5 + d_sons_kaleva = { + holder_scope = { + NOT = { demesne_size = 2 } + } + } + } + modifier = { + factor = 2.0 + d_sons_kaleva = { + holder_scope = { + num_of_count_titles = 1 + } + } + } + modifier = { + factor = 2.0 + d_sons_kaleva = { + holder_scope = { + realm_size = 5 + } + } + } + } + + immediate = { + random_demesne_province = { + limit = { + has_empty_holding = yes + } + province_event = { + id = SoA.2451 + } + } + } +} + +province_event = { + id = SoA.2451 + hide_window = yes + + is_triggered_only = yes + + immediate = { + d_sons_kaleva = { + holder_scope = { + character_event = { + id = SoA.2452 + } + } + } + } +} + +character_event = { + id = SoA.2452 + hide_window = yes + + is_triggered_only = yes + + immediate = { + FROMFROM = { + letter_event = { + id = SoA.2453 + } + } + } +} + +letter_event = { + id = SoA.2453 + desc = EVTDESC_SOA_2453 + border = GFX_event_letter_frame_religion + + is_triggered_only = yes + + option = { + name = EVTOPTA_SOA_1023 # Agree + ai_chance = { + factor = 80 + modifier = { + factor = 0 + has_character_modifier = expelled_d_sons_kaleva + } + } + + hidden_tooltip = { + FROMFROM = { + province_event = { id = SoA.2454 } + } + remove_character_modifier = expelled_d_sons_kaleva + } + + piety = 200 + wealth = 100 + } + + option = { + name = EVTOPTB_SOA_1153 # Refuse + ai_chance = { + factor = 20 + } + + piety = -100 + } +} + +# Castle has been erected +province_event = { + id = SoA.2454 + desc = EVTDESC_SOA_2454 + picture = GFX_evt_castle_construction + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + immediate = { + FROMFROM = { + wealth = -300 + } + } + + option = { + name = EVTOPTA_SOA_1024 + build_holding = { + type = castle + holder = FROMFROM + } + } +} + +# Ping event when expelling the Sons of Kaleva +character_event = { + id = SoA.2460 + hide_window = yes + + is_triggered_only = yes + + immediate = { + any_title_under = { + limit = { + tier = BARON + location = { + owner = { + OR = { + character = FROM + is_liege_or_above = FROM + } + } + } + } + usurp_title = FROM + } + + FROM = { + letter_event = { + id = SoA.2461 + } + } + + opinion = { + who = FROM + modifier = opinion_expelled_from_realm + } + } +} + +# Notification event when expelling the Sons of Kaleva +letter_event = { + id = SoA.2461 + desc = EVTDESC_SOA_2461 + border = GFX_event_letter_frame_religion + + is_triggered_only = yes + + option = { + name = EVTOPTB_SOA_1061 + } +} + +######################################## +# The Cult of Huitzilopochtli +######################################## + +# The birth of the Cult of Huitzilopochtli +narrative_event = { + id = SoA.2509 + title = EVTTITLE_SOA_2509 + desc = EVTDESC_SOA_2509 + major = yes + + picture = GFX_evt_bishop_aztec + + only_playable = yes + hide_from = yes + religion = catholic + has_dlc = "Sons of Abraham" + has_global_flag = aztec_reformation + + trigger = { + NOT = { + is_title_active = d_huitzilopochtli + } + controls_religion = yes # Let it happen for the Pope - he's always around + } + + mean_time_to_happen = { + months = 36 + } + + immediate = { + activate_title = { title = d_huitzilopochtli status = yes } + create_character = { + random_traits = no + dynasty = random + religion = aztec_reformed + culture = nahuatl + female = no + age = 37 + trait = brilliant_strategist + trait = zealous + trait = humble + trait = ambitious + trait = strategist + trait = holy_warrior + } + new_character = { + wealth = 500 + d_huitzilopochtli = { + grant_title = PREV + } + set_government_type = feudal_government + create_character = { + random_traits = yes + dynasty = random + religion = aztec_reformed + culture = nahuatl + female = no + age = 16 + } + create_character = { + random_traits = yes + dynasty = random + religion = aztec_reformed + culture = nahuatl + female = no + age = 18 + } + create_character = { + random_traits = yes + dynasty = random + religion = aztec_reformed + culture = nahuatl + female = no + age = 18 + } + create_character = { + random_traits = yes + dynasty = random + religion = aztec_reformed + culture = nahuatl + female = no + age = 20 + } + create_character = { + random_traits = yes + dynasty = random + religion = aztec_reformed + culture = nahuatl + female = no + age = 25 + } + create_character = { + random_traits = yes + dynasty = random + religion = aztec_reformed + culture = nahuatl + female = no + age = 26 + } + create_character = { + random_traits = yes + dynasty = random + religion = aztec_reformed + culture = nahuatl + female = no + age = 28 + } + create_character = { + random_traits = yes + dynasty = random + religion = aztec_reformed + culture = nahuatl + female = yes + age = 16 + } + create_character = { + random_traits = yes + dynasty = random + religion = aztec_reformed + culture = nahuatl + female = yes + age = 17 + } + } + } + + option = { + name = EVTOPTA_SOA_2509 + trigger = { + religion = aztec_reformed + } + } + option = { + name = EVTOPTB_SOA_2009 + trigger = { + NOT = { religion = aztec_reformed } + } + } +} + +# The son of a ruler volunteers to join the Cult of Huitzilopochtli +character_event = { + id = SoA.2530 + hide_window = yes + + only_men = yes + min_age = 16 + max_age = 45 + only_capable = yes + prisoner = no + religion = aztec_reformed + + trigger = { + is_ruler = no + + martial = 5 + + is_title_active = d_huitzilopochtli + + OR = { + father_even_if_dead = { + primary_title = { higher_tier_than = BARON } + } + mother_even_if_dead = { + primary_title = { higher_tier_than = BARON } + } + } + + liege = { + holy_order = no + liege = { + holy_order = no + } + } + + has_dlc = "Sons of Abraham" + NOT = { has_character_modifier = expelled_d_huitzilopochtli } + NOT = { + any_liege = { + has_character_modifier = expelled_d_huitzilopochtli + } + } + + NOT = { + any_spouse = { + OR = { + is_landed = yes + AND = { + is_pregnant = yes + father_of_unborn = { character = ROOT } # Won't happen if spouse is pregnant with non-bastard child + } + } + } + } + } + + mean_time_to_happen = { + years = 100 + modifier = { + factor = 0.25 + trait = zealous + } + modifier = { + factor = 0.5 + trait = celibate + } + modifier = { + factor = 0.5 + trait = homosexual + } + modifier = { + factor = 0.7 + trait = content + } + modifier = { + factor = 0.75 + trait = chaste + } + modifier = { + factor = 0.75 + NOT = { age = 25 } + } + modifier = { + factor = 1.5 + trait = slothful + } + modifier = { + factor = 2.0 + trait = lustful + } + modifier = { + factor = 2.0 + trait = cynical + } + modifier = { + factor = 2.0 + trait = hedonist + } + modifier = { + factor = 2.0 + trait = ambitious + } + modifier = { + factor = 2.0 + any_heir_title = { + always = yes + } + } + modifier = { + factor = 2.0 + is_primary_heir = yes + } + modifier = { + factor = 2 + any_spouse = { + reverse_opinion = { who = ROOT value = 100 } + } + } + } + + immediate = { + liege = { + character_event = { + id = SoA.2531 + } + } + } +} + +# Son or brother asks to join the Cult of Huitzilopochtli +character_event = { + id = SoA.2531 + desc = EVTDESC_SOA_2531 + picture = GFX_evt_throne_room_mesoamerican + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + option = { + name = EVTOPTA_SOA_1031 # Agree + ai_chance = { + factor = 100 + } + + if = { + limit = { + religion = FROM + } + piety = 100 + } + + FROM = { + character_event = { + id = SoA.2532 + tooltip = EVTTOOLTIP_SOA_2532 + } + } + } + + option = { + name = EVTOPTB_SOA_1031 # Refuse + + if = { + limit = { + religion = FROM + } + piety = -100 + } + + FROM = { + character_event = { + id = SoA.2533 + tooltip = EVTTOOLTIP_SOA_1033 + } + } + } +} + +# Son or brother joins the Cult of Huitzilopochtli +character_event = { + id = SoA.2532 + hide_window = yes + + is_triggered_only = yes + + immediate = { + d_huitzilopochtli = { + holder_scope = { + save_event_target_as = order_target + ROOT = { + character_event = { id = SoA.2864 } + } + } + } + } +} + +# Liege refuses request to join the Cult of Huitzilopochtli +character_event = { + id = SoA.2533 + hide_window = yes + + is_triggered_only = yes + + immediate = { + opinion = { + who = FROM + modifier = opinion_refused_request_holy_order + } + } +} + +# Ping event when donating money to the Cult of Huitzilopochtli +character_event = { + id = SoA.2540 + hide_window = yes + + is_triggered_only = yes + + immediate = { + wealth = 300 + FROM = { + letter_event = { + id = SoA.2541 + } + } + opinion = { + who = FROM + modifier = opinion_generous_donation + } + } +} + +# Notification event when donating money to the Cult of Huitzilopochtli +letter_event = { + id = SoA.2541 + desc = EVTDESC_SOA_2541 + border = GFX_event_letter_frame_religion + + is_triggered_only = yes + + option = { + name = EXCELLENT + } +} + +# The Grand Master humbly requests the right to build a castle in your demesne +character_event = { + id = SoA.2550 + hide_window = yes + + min_age = 16 + only_playable = yes + religion = aztec_reformed + + trigger = { + d_huitzilopochtli = { + holder_scope = { + wealth = 300 + NOT = { + realm_size = 10 + } + } + } + + any_demesne_province = { + has_empty_holding = yes + } + + has_dlc = "Sons of Abraham" + NOT = { has_character_modifier = expelled_d_huitzilopochtli } + NOT = { + any_liege = { + has_character_modifier = expelled_d_huitzilopochtli + } + } + } + + mean_time_to_happen = { + months = 240 + modifier = { + factor = 0.5 + d_huitzilopochtli = { + holder_scope = { + NOT = { demesne_size = 1 } + } + } + } + modifier = { + factor = 0.5 + d_huitzilopochtli = { + holder_scope = { + NOT = { demesne_size = 2 } + } + } + } + modifier = { + factor = 2.0 + d_huitzilopochtli = { + holder_scope = { + num_of_count_titles = 1 + } + } + } + modifier = { + factor = 2.0 + d_huitzilopochtli = { + holder_scope = { + realm_size = 5 + } + } + } + } + + immediate = { + random_demesne_province = { + limit = { + has_empty_holding = yes + } + province_event = { + id = SoA.2551 + } + } + } +} + +province_event = { + id = SoA.2551 + hide_window = yes + + is_triggered_only = yes + + immediate = { + d_huitzilopochtli = { + holder_scope = { + character_event = { + id = SoA.2552 + } + } + } + } +} + +character_event = { + id = SoA.2552 + hide_window = yes + + is_triggered_only = yes + + immediate = { + FROMFROM = { + letter_event = { + id = SoA.2553 + } + } + } +} + +letter_event = { + id = SoA.2553 + desc = EVTDESC_SOA_2553 + border = GFX_event_letter_frame_religion + + is_triggered_only = yes + + option = { + name = EVTOPTA_SOA_1023 # Agree + ai_chance = { + factor = 80 + modifier = { + factor = 0 + has_character_modifier = expelled_d_huitzilopochtli + } + } + + hidden_tooltip = { + FROMFROM = { + province_event = { id = SoA.2554 } + } + remove_character_modifier = expelled_d_huitzilopochtli + } + + piety = 200 + wealth = 100 + } + + option = { + name = EVTOPTB_SOA_1153 # Refuse + ai_chance = { + factor = 20 + } + + piety = -100 + } +} + +# Castle has been erected +province_event = { + id = SoA.2554 + desc = EVTDESC_SOA_2554 + picture = GFX_evt_castle_construction + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + immediate = { + FROMFROM = { + wealth = -300 + } + } + + option = { + name = EVTOPTA_SOA_1024 + build_holding = { + type = castle + holder = FROMFROM + } + } +} + +# Ping event when expelling the Cult of Huitzilopochtli +character_event = { + id = SoA.2560 + hide_window = yes + + is_triggered_only = yes + + immediate = { + any_title_under = { + limit = { + tier = BARON + location = { + owner = { + OR = { + character = FROM + is_liege_or_above = FROM + } + } + } + } + usurp_title = FROM + } + + FROM = { + letter_event = { + id = SoA.2561 + } + } + + opinion = { + who = FROM + modifier = opinion_expelled_from_realm + } + } +} + +# Notification event when expelling the Cult of Huitzilopochtli +letter_event = { + id = SoA.2561 + desc = EVTDESC_SOA_2561 + border = GFX_event_letter_frame_religion + + is_triggered_only = yes + + option = { + name = EVTOPTB_SOA_1061 + } +} + +######################################## +# The Order of Santiago +######################################## + +# The birth of the Order of Santiago +narrative_event = { + id = SoA.2609 + title = EVTTITLE_SOA_2609 + desc = EVTDESC_SOA_2609 + major = yes + + picture = GFX_evt_knight_kneeling + + only_playable = yes + hide_from = yes + religion_group = christian + has_global_flag = christian_crusades_unlocked + + trigger = { + has_dlc = "Sons of Abraham" + OR = { + religion = catholic + religion = cathar + religion = fraticelli + religion = waldensian + religion = lollard + } + is_heretic = no + + NOT = { is_title_active = d_knights_santiago } + + + OR = { + year = 1175 # Historical + 221 = { # Provence + NOT = { owner = { religion_group = christian } } + } + 214 = { # Toulouse + NOT = { owner = { religion_group = christian } } + } + 112 = { # Paris + NOT = { owner = { religion_group = christian } } + } + 119 = { # Cologne + NOT = { owner = { religion_group = christian } } + } + 257 = { # Braunschweig + NOT = { owner = { religion_group = christian } } + } + 149 = { # Bordeaux + NOT = { owner = { religion_group = christian } } + } + } + } + + mean_time_to_happen = { + months = 36 + } + + immediate = { + activate_title = { title = d_knights_santiago status = yes } + create_character = { + random_traits = no + dynasty = random + religion = ROOT + culture = castillan + female = no + age = 31 + trait = brilliant_strategist + trait = zealous + trait = humble + trait = ambitious + trait = strategist + trait = holy_warrior + } + new_character = { + wealth = 500 + d_knights_santiago = { + grant_title = PREV + } + set_government_type = feudal_government + create_character = { + random_traits = yes + dynasty = random + religion = ROOT + culture = castillan + female = no + age = 16 + } + create_character = { + random_traits = yes + dynasty = random + religion = ROOT + culture = castillan + female = no + age = 18 + } + create_character = { + random_traits = yes + dynasty = random + religion = ROOT + culture = castillan + female = no + age = 18 + } + create_character = { + random_traits = yes + dynasty = random + religion = ROOT + culture = castillan + female = no + age = 20 + } + create_character = { + random_traits = yes + dynasty = random + religion = ROOT + culture = castillan + female = no + age = 25 + } + create_character = { + random_traits = yes + dynasty = random + religion = ROOT + culture = castillan + female = no + age = 26 + } + create_character = { + random_traits = yes + dynasty = random + religion = ROOT + culture = castillan + female = no + age = 28 + } + create_character = { + random_traits = yes + dynasty = random + religion = ROOT + culture = castillan + female = yes + age = 16 + } + create_character = { + random_traits = yes + dynasty = random + religion = ROOT + culture = castillan + female = yes + age = 17 + } + } + } + + option = { + name = EVTOPTA_SOA_2609 + trigger = { + religion = ROOT + } + } + option = { + name = EVTOPTB_SOA_2609 + trigger = { + NOT = { religion = ROOT } + } + } +} + +# The son of a ruler volunteers to join the Order +character_event = { + id = SoA.2630 + hide_window = yes + + only_men = yes + min_age = 16 + max_age = 45 + only_capable = yes + prisoner = no + religion_group = christian + + trigger = { + is_ruler = no + OR = { + religion = catholic + religion = cathar + religion = fraticelli + religion = waldensian + religion = lollard + } + is_heretic = no + + martial = 5 + + is_title_active = d_knights_santiago + + OR = { + father_even_if_dead = { + primary_title = { higher_tier_than = BARON } + } + mother_even_if_dead = { + primary_title = { higher_tier_than = BARON } + } + } + + liege = { + holy_order = no + liege = { + holy_order = no + } + } + + has_dlc = "Sons of Abraham" + + NOT = { has_character_modifier = expelled_d_knights_santiago } + NOT = { + any_liege = { + has_character_modifier = expelled_d_knights_santiago + } + } + + NOT = { + any_spouse = { + OR = { + is_landed = yes + AND = { + is_pregnant = yes + father_of_unborn = { character = ROOT } # Won't happen if spouse is pregnant with non-bastard child + } + } + } + } + } + + mean_time_to_happen = { + years = 100 + modifier = { + factor = 0.25 + trait = zealous + } + modifier = { + factor = 0.5 + trait = celibate + } + modifier = { + factor = 0.5 + trait = homosexual + } + modifier = { + factor = 0.7 + trait = content + } + modifier = { + factor = 0.75 + trait = chaste + } + modifier = { + factor = 0.75 + NOT = { age = 25 } + } + modifier = { + factor = 1.5 + trait = slothful + } + modifier = { + factor = 2.0 + trait = lustful + } + modifier = { + factor = 2.0 + trait = cynical + } + modifier = { + factor = 2.0 + trait = hedonist + } + modifier = { + factor = 2.0 + trait = ambitious + } + modifier = { + factor = 2.0 + any_heir_title = { + always = yes + } + } + modifier = { + factor = 2.0 + is_primary_heir = yes + } + modifier = { + factor = 2 + any_spouse = { + reverse_opinion = { who = ROOT value = 100 } + } + } + modifier = { + factor = 3.0 # Prefer the Order of Santiago + OR = { + culture_group = iberian + culture = andalusian_arabic + } + } + } + + immediate = { + liege = { + character_event = { + id = SoA.2631 + } + } + } +} + +# Son or brother asks to join the Order +character_event = { + id = SoA.2631 + desc = EVTDESC_SOA_2631 + picture = GFX_evt_knight_kneeling + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + option = { + name = EVTOPTA_SOA_1031 # Agree + ai_chance = { + factor = 100 + } + + if = { + limit = { + religion = FROM + } + piety = 100 + } + + FROM = { + character_event = { + id = SoA.2632 + tooltip = EVTTOOLTIP_SOA_2632 + } + } + } + + option = { + name = EVTOPTB_SOA_1031 # Refuse + + if = { + limit = { + religion = FROM + } + piety = -100 + } + + FROM = { + character_event = { + id = SoA.2633 + tooltip = EVTTOOLTIP_SOA_1033 + } + } + } +} + +# Son or brother joins the Order +character_event = { + id = SoA.2632 + hide_window = yes + + is_triggered_only = yes + + immediate = { + d_knights_santiago = { + holder_scope = { + save_event_target_as = order_target + ROOT = { + character_event = { id = SoA.2864 } + } + } + } + } +} + +# Liege refuses request to join the Order +character_event = { + id = SoA.2633 + hide_window = yes + + is_triggered_only = yes + + immediate = { + opinion = { + who = FROM + modifier = opinion_refused_request_holy_order + } + } +} + +# Ping event when donating money to the Order +character_event = { + id = SoA.2640 + hide_window = yes + + is_triggered_only = yes + + immediate = { + wealth = 300 + FROM = { + letter_event = { + id = SoA.2641 + } + } + opinion = { + who = FROM + modifier = opinion_generous_donation + } + } +} + +# Notification event when donating money to the Order +letter_event = { + id = SoA.2641 + desc = EVTDESC_SOA_1141 + border = GFX_event_letter_frame_religion + + is_triggered_only = yes + + option = { + name = EXCELLENT + } +} + +# The Grand Master humbly requests the right to build a castle in your demesne +character_event = { + id = SoA.2650 + hide_window = yes + + min_age = 16 + only_playable = yes + religion_group = christian + + trigger = { + OR = { + religion = catholic + religion = cathar + religion = fraticelli + religion = waldensian + religion = lollard + } + is_heretic = no + + d_knights_santiago = { + holder_scope = { + wealth = 300 + NOT = { + realm_size = 10 + } + } + } + + any_demesne_province = { + has_empty_holding = yes + region = world_europe_west_iberia + } + + has_dlc = "Sons of Abraham" + NOT = { has_character_modifier = expelled_d_knights_santiago } + NOT = { + any_liege = { + has_character_modifier = expelled_d_knights_santiago + } + } + } + + mean_time_to_happen = { + months = 240 + modifier = { + factor = 0.5 + d_knights_santiago = { + holder_scope = { + NOT = { demesne_size = 1 } + } + } + } + modifier = { + factor = 0.5 + d_knights_santiago = { + holder_scope = { + NOT = { demesne_size = 2 } + } + } + } + modifier = { + factor = 2.0 + d_knights_santiago = { + holder_scope = { + num_of_count_titles = 1 + } + } + } + modifier = { + factor = 2.0 + d_knights_santiago = { + holder_scope = { + realm_size = 5 + } + } + } + } + + immediate = { + random_demesne_province = { + limit = { + has_empty_holding = yes + } + province_event = { + id = SoA.2651 + } + } + } +} + +province_event = { + id = SoA.2651 + hide_window = yes + + is_triggered_only = yes + + immediate = { + d_knights_santiago = { + holder_scope = { + character_event = { + id = SoA.2652 + } + } + } + } +} + +character_event = { + id = SoA.2652 + hide_window = yes + + is_triggered_only = yes + + immediate = { + FROMFROM = { + letter_event = { + id = SoA.2653 + } + } + } +} + +letter_event = { + id = SoA.2653 + desc = EVTDESC_SOA_1053 + border = GFX_event_letter_frame_religion + + is_triggered_only = yes + + option = { + name = EVTOPTA_SOA_1023 # Agree + ai_chance = { + factor = 80 + modifier = { + factor = 0 + has_character_modifier = expelled_d_knights_santiago + } + } + + hidden_tooltip = { + FROMFROM = { + province_event = { id = SoA.2654 } + } + remove_character_modifier = expelled_d_knights_santiago + } + + piety = 200 + wealth = 100 + } + + option = { + name = EVTOPTB_SOA_1153 # Refuse + ai_chance = { + factor = 20 + } + + piety = -100 + } +} + +# Castle has been erected +province_event = { + id = SoA.2654 + desc = EVTDESC_SOA_2654 + picture = GFX_evt_castle_construction + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + immediate = { + FROMFROM = { + wealth = -300 + } + } + + option = { + name = EVTOPTA_SOA_1024 + build_holding = { + type = castle + holder = FROMFROM + } + } +} + +# Ping event when expelling the Order +character_event = { + id = SoA.2660 + hide_window = yes + + is_triggered_only = yes + + immediate = { + any_title_under = { + limit = { + tier = BARON + location = { + owner = { + OR = { + character = FROM + is_liege_or_above = FROM + } + } + } + } + usurp_title = FROM + } + + FROM = { + letter_event = { + id = SoA.2661 + } + } + + opinion = { + who = FROM + modifier = opinion_expelled_from_realm + } + } +} + +# Notification event when expelling the Order +letter_event = { + id = SoA.2661 + desc = EVTDESC_SOA_1061 + border = GFX_event_letter_frame_religion + + is_triggered_only = yes + + option = { + name = EVTOPTB_SOA_1061 + } +} + +######################################## +# The Order of Calatrava +######################################## + +# The birth of the Order of Calatrava +narrative_event = { + id = SoA.2709 + title = EVTTITLE_SOA_2709 + desc = EVTDESC_SOA_2709 + major = yes + + picture = GFX_evt_knight_kneeling + + only_playable = yes + hide_from = yes + religion_group = christian + has_global_flag = christian_crusades_unlocked + + trigger = { + has_dlc = "Sons of Abraham" + OR = { + religion = catholic + religion = cathar + religion = fraticelli + religion = waldensian + religion = lollard + } + is_heretic = no + + NOT = { is_title_active = d_knights_calatrava } + + + OR = { + year = 1164 # Historical + 221 = { # Provence + NOT = { owner = { religion_group = christian } } + } + 214 = { # Toulouse + NOT = { owner = { religion_group = christian } } + } + 112 = { # Paris + NOT = { owner = { religion_group = christian } } + } + 119 = { # Cologne + NOT = { owner = { religion_group = christian } } + } + 257 = { # Braunschweig + NOT = { owner = { religion_group = christian } } + } + 149 = { # Bordeaux + NOT = { owner = { religion_group = christian } } + } + } + } + + mean_time_to_happen = { + months = 36 + } + + immediate = { + activate_title = { title = d_knights_calatrava status = yes } + create_character = { + random_traits = no + dynasty = random + religion = ROOT + culture = castillan + female = no + age = 31 + trait = brilliant_strategist + trait = zealous + trait = humble + trait = ambitious + trait = strategist + trait = holy_warrior + } + new_character = { + wealth = 500 + d_knights_calatrava = { + grant_title = PREV + } + set_government_type = feudal_government + create_character = { + random_traits = yes + dynasty = random + religion = ROOT + culture = castillan + female = no + age = 16 + } + create_character = { + random_traits = yes + dynasty = random + religion = ROOT + culture = castillan + female = no + age = 18 + } + create_character = { + random_traits = yes + dynasty = random + religion = ROOT + culture = castillan + female = no + age = 18 + } + create_character = { + random_traits = yes + dynasty = random + religion = ROOT + culture = castillan + female = no + age = 20 + } + create_character = { + random_traits = yes + dynasty = random + religion = ROOT + culture = castillan + female = no + age = 25 + } + create_character = { + random_traits = yes + dynasty = random + religion = ROOT + culture = castillan + female = no + age = 26 + } + create_character = { + random_traits = yes + dynasty = random + religion = ROOT + culture = castillan + female = no + age = 28 + } + create_character = { + random_traits = yes + dynasty = random + religion = ROOT + culture = castillan + female = yes + age = 16 + } + create_character = { + random_traits = yes + dynasty = random + religion = ROOT + culture = castillan + female = yes + age = 17 + } + } + } + + option = { + name = EVTOPTA_SOA_2709 + trigger = { + religion = ROOT + } + } + option = { + name = EVTOPTB_SOA_2709 + trigger = { + NOT = { religion = ROOT } + } + } +} + +# The son of a ruler volunteers to join the Order +character_event = { + id = SoA.2730 + hide_window = yes + + only_men = yes + min_age = 16 + max_age = 45 + only_capable = yes + prisoner = no + religion_group = christian + + trigger = { + is_ruler = no + OR = { + religion = catholic + religion = cathar + religion = fraticelli + religion = waldensian + religion = lollard + } + is_heretic = no + + martial = 5 + + is_title_active = d_knights_calatrava + + OR = { + father_even_if_dead = { + primary_title = { higher_tier_than = BARON } + } + mother_even_if_dead = { + primary_title = { higher_tier_than = BARON } + } + } + + liege = { + holy_order = no + liege = { + holy_order = no + } + } + + has_dlc = "Sons of Abraham" + + NOT = { has_character_modifier = expelled_d_knights_calatrava } + NOT = { + any_liege = { + has_character_modifier = expelled_d_knights_calatrava + } + } + + NOT = { + any_spouse = { + OR = { + is_landed = yes + AND = { + is_pregnant = yes + father_of_unborn = { character = ROOT } # Won't happen if spouse is pregnant with non-bastard child + } + } + } + } + } + + mean_time_to_happen = { + years = 100 + modifier = { + factor = 0.25 + trait = zealous + } + modifier = { + factor = 0.5 + trait = celibate + } + modifier = { + factor = 0.5 + trait = homosexual + } + modifier = { + factor = 0.7 + trait = content + } + modifier = { + factor = 0.75 + trait = chaste + } + modifier = { + factor = 0.75 + NOT = { age = 25 } + } + modifier = { + factor = 1.5 + trait = slothful + } + modifier = { + factor = 2.0 + trait = lustful + } + modifier = { + factor = 2.0 + trait = cynical + } + modifier = { + factor = 2.0 + trait = hedonist + } + modifier = { + factor = 2.0 + trait = ambitious + } + modifier = { + factor = 2.0 + any_heir_title = { + always = yes + } + } + modifier = { + factor = 2.0 + is_primary_heir = yes + } + modifier = { + factor = 2 + any_spouse = { + reverse_opinion = { who = ROOT value = 100 } + } + } + modifier = { + factor = 3.0 # Prefer the Order of Calatrava + OR = { + culture_group = iberian + culture = andalusian_arabic + } + } + } + + immediate = { + liege = { + character_event = { + id = SoA.2731 + } + } + } +} + +# Son or brother asks to join the Order +character_event = { + id = SoA.2731 + desc = EVTDESC_SOA_2731 + picture = GFX_evt_knight_kneeling + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + option = { + name = EVTOPTA_SOA_1031 # Agree + ai_chance = { + factor = 100 + } + + if = { + limit = { + religion = FROM + } + piety = 100 + } + + FROM = { + character_event = { + id = SoA.2732 + tooltip = EVTTOOLTIP_SOA_2732 + } + } + } + + option = { + name = EVTOPTB_SOA_1031 # Refuse + + if = { + limit = { + religion = FROM + } + piety = -100 + } + + FROM = { + character_event = { + id = SoA.2733 + tooltip = EVTTOOLTIP_SOA_1033 + } + } + } +} + +# Son or brother joins the Order +character_event = { + id = SoA.2732 + hide_window = yes + + is_triggered_only = yes + + immediate = { + + d_knights_calatrava = { + holder_scope = { + save_event_target_as = order_target + ROOT = { + character_event = { id = SoA.2864 } + } + } + } + } +} + +# Liege refuses request to join the Order +character_event = { + id = SoA.2733 + hide_window = yes + + is_triggered_only = yes + + immediate = { + opinion = { + who = FROM + modifier = opinion_refused_request_holy_order + } + } +} + +# Ping event when donating money to the Order +character_event = { + id = SoA.2740 + hide_window = yes + + is_triggered_only = yes + + immediate = { + wealth = 300 + FROM = { + letter_event = { + id = SoA.2741 + } + } + opinion = { + who = FROM + modifier = opinion_generous_donation + } + } +} + +# Notification event when donating money to the Order +letter_event = { + id = SoA.2741 + desc = EVTDESC_SOA_1141 + border = GFX_event_letter_frame_religion + + is_triggered_only = yes + + option = { + name = EXCELLENT + } +} + +# The Grand Master humbly requests the right to build a castle in your demesne +character_event = { + id = SoA.2750 + hide_window = yes + + min_age = 16 + only_playable = yes + religion_group = christian + + trigger = { + OR = { + religion = catholic + religion = cathar + religion = fraticelli + religion = waldensian + religion = lollard + } + is_heretic = no + + d_knights_calatrava = { + holder_scope = { + wealth = 300 + NOT = { + realm_size = 10 + } + } + } + + any_demesne_province = { + has_empty_holding = yes + region = world_europe_west_iberia + } + + has_dlc = "Sons of Abraham" + NOT = { has_character_modifier = expelled_d_knights_calatrava } + NOT = { + any_liege = { + has_character_modifier = expelled_d_knights_calatrava + } + } + } + + mean_time_to_happen = { + months = 240 + modifier = { + factor = 0.5 + d_knights_calatrava = { + holder_scope = { + NOT = { demesne_size = 1 } + } + } + } + modifier = { + factor = 0.5 + d_knights_calatrava = { + holder_scope = { + NOT = { demesne_size = 2 } + } + } + } + modifier = { + factor = 2.0 + d_knights_calatrava = { + holder_scope = { + num_of_count_titles = 1 + } + } + } + modifier = { + factor = 2.0 + d_knights_calatrava = { + holder_scope = { + realm_size = 5 + } + } + } + } + + immediate = { + random_demesne_province = { + limit = { + has_empty_holding = yes + } + province_event = { + id = SoA.2751 + } + } + } +} + +province_event = { + id = SoA.2751 + hide_window = yes + + is_triggered_only = yes + + immediate = { + d_knights_calatrava = { + holder_scope = { + character_event = { + id = SoA.2752 + } + } + } + } +} + +character_event = { + id = SoA.2752 + hide_window = yes + + is_triggered_only = yes + + immediate = { + FROMFROM = { + letter_event = { + id = SoA.2753 + } + } + } +} + +letter_event = { + id = SoA.2753 + desc = EVTDESC_SOA_1053 + border = GFX_event_letter_frame_religion + + is_triggered_only = yes + + option = { + name = EVTOPTA_SOA_1023 # Agree + ai_chance = { + factor = 80 + modifier = { + factor = 0 + has_character_modifier = expelled_d_knights_calatrava + } + } + + hidden_tooltip = { + FROMFROM = { + province_event = { id = SoA.2754 } + } + remove_character_modifier = expelled_d_knights_calatrava + } + + piety = 200 + wealth = 100 + } + + option = { + name = EVTOPTB_SOA_1153 # Refuse + ai_chance = { + factor = 20 + } + + piety = -100 + } +} + +# Castle has been erected +province_event = { + id = SoA.2754 + desc = EVTDESC_SOA_2754 + picture = GFX_evt_castle_construction + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + immediate = { + FROMFROM = { + wealth = -300 + } + } + + option = { + name = EVTOPTA_SOA_1024 + build_holding = { + type = castle + holder = FROMFROM + } + } +} + +# Ping event when expelling the Order +character_event = { + id = SoA.2760 + hide_window = yes + + is_triggered_only = yes + + immediate = { + any_title_under = { + limit = { + tier = BARON + location = { + owner = { + OR = { + character = FROM + is_liege_or_above = FROM + } + } + } + } + usurp_title = FROM + } + + FROM = { + letter_event = { + id = SoA.2761 + } + } + + opinion = { + who = FROM + modifier = opinion_expelled_from_realm + } + } +} + +# Notification event when expelling the Order +letter_event = { + id = SoA.2761 + desc = EVTDESC_SOA_1061 + border = GFX_event_letter_frame_religion + + is_triggered_only = yes + + option = { + name = EVTOPTB_SOA_1061 + } +} + + + +######################################## +# The Order of Saint Addai +######################################## + +# The birth of the Order of St Addai +narrative_event = { + id = SoA.2809 + title = EVTTITLE_SOA_2809 + desc = EVTDESC_SOA_2809 + major = yes + + picture = GFX_evt_knight_kneeling + + only_playable = yes + hide_from = yes + religion_group = christian + + trigger = { + has_dlc = "Sons of Abraham" + + OR = { + religion = nestorian + religion = messalian + } + + is_heretic = no + + NOT = { is_title_active = d_saint_addai } + + OR = { + AND = { + religion = nestorian + 693 = { # Baghdad is Nestorian + holder_scope = { religion = nestorian } + religion = nestorian + } + 774 = { # Jerusalem is Nestorian + holder_scope = { religion = nestorian } + religion = nestorian + } + } + AND = { + religion = messalian + 693 = { # Baghdad is Messalian + holder_scope = { religion = messalian } + religion = messalian + } + 774 = { # Jerusalem is Messalian + holder_scope = { religion = messalian } + religion = messalian + } + } + } + } + + mean_time_to_happen = { + months = 36 + } + + immediate = { + activate_title = { title = d_saint_addai status = yes } + create_character = { + random_traits = no + dynasty = random + religion = ROOT + culture = persian + female = no + age = 31 + trait = brilliant_strategist + trait = zealous + trait = humble + trait = ambitious + trait = strategist + trait = holy_warrior + } + new_character = { + wealth = 500 + d_saint_addai = { + grant_title = PREV + } + set_government_type = feudal_government + create_character = { + random_traits = yes + dynasty = random + religion = ROOT + culture = persian + female = no + age = 16 + } + create_character = { + random_traits = yes + dynasty = random + religion = ROOT + culture = persian + female = no + age = 18 + } + create_character = { + random_traits = yes + dynasty = random + religion = ROOT + culture = persian + female = no + age = 18 + } + create_character = { + random_traits = yes + dynasty = random + religion = ROOT + culture = persian + female = no + age = 20 + } + create_character = { + random_traits = yes + dynasty = random + religion = ROOT + culture = persian + female = no + age = 25 + } + create_character = { + random_traits = yes + dynasty = random + religion = ROOT + culture = persian + female = no + age = 26 + } + create_character = { + random_traits = yes + dynasty = random + religion = ROOT + culture = kurdish + female = no + age = 28 + } + create_character = { + random_traits = yes + dynasty = random + religion = ROOT + culture = kurdish + female = yes + age = 16 + } + create_character = { + random_traits = yes + dynasty = random + religion = ROOT + culture = kurdish + female = yes + age = 17 + } + } + } + + option = { + name = EVTOPTA_SOA_2809 + trigger = { + religion = ROOT + } + } + option = { + name = EVTOPTB_SOA_2809 + trigger = { + NOT = { religion = ROOT } + } + } +} + +# The son of a ruler volunteers to join the Order +character_event = { + id = SoA.2830 + hide_window = yes + + only_men = yes + min_age = 16 + max_age = 45 + only_capable = yes + prisoner = no + religion_group = christian + + trigger = { + is_ruler = no + OR = { + religion = nestorian + religion = messalian + } + is_heretic = no + + martial = 5 + + is_title_active = d_saint_addai + + OR = { + father_even_if_dead = { + primary_title = { higher_tier_than = BARON } + } + mother_even_if_dead = { + primary_title = { higher_tier_than = BARON } + } + } + + liege = { + holy_order = no + liege = { + holy_order = no + } + } + + has_dlc = "Sons of Abraham" + + NOT = { has_character_modifier = expelled_d_saint_addai } + NOT = { + any_liege = { + has_character_modifier = expelled_d_saint_addai + } + } + + NOT = { + any_spouse = { + OR = { + is_landed = yes + AND = { + is_pregnant = yes + father_of_unborn = { character = ROOT } # Won't happen if spouse is pregnant with non-bastard child + } + } + } + } + } + + mean_time_to_happen = { + years = 100 + modifier = { + factor = 0.25 + trait = zealous + } + modifier = { + factor = 0.5 + trait = celibate + } + modifier = { + factor = 0.5 + trait = homosexual + } + modifier = { + factor = 0.7 + trait = content + } + modifier = { + factor = 0.75 + trait = chaste + } + modifier = { + factor = 0.75 + NOT = { age = 25 } + } + modifier = { + factor = 1.5 + trait = slothful + } + modifier = { + factor = 2.0 + trait = lustful + } + modifier = { + factor = 2.0 + trait = cynical + } + modifier = { + factor = 2.0 + trait = hedonist + } + modifier = { + factor = 2.0 + trait = ambitious + } + modifier = { + factor = 2.0 + any_heir_title = { + always = yes + } + } + modifier = { + factor = 2.0 + is_primary_heir = yes + } + modifier = { + factor = 2 + any_spouse = { + reverse_opinion = { who = ROOT value = 100 } + } + } + } + + immediate = { + liege = { + character_event = { + id = SoA.2831 + } + } + } +} + +# Son or brother asks to join the Order +character_event = { + id = SoA.2831 + desc = EVTDESC_SOA_2831 + picture = GFX_evt_knight_kneeling + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + option = { + name = EVTOPTA_SOA_1031 # Agree + ai_chance = { + factor = 100 + } + + if = { + limit = { + religion = FROM + } + piety = 100 + } + + FROM = { + character_event = { + id = SoA.2832 + tooltip = EVTTOOLTIP_SOA_2832 + } + } + } + + option = { + name = EVTOPTB_SOA_1031 # Refuse + + if = { + limit = { + religion = FROM + } + piety = -100 + } + + FROM = { + character_event = { + id = SoA.2833 + tooltip = EVTTOOLTIP_SOA_1033 + } + } + } +} + +# Son or brother joins the Order +character_event = { + id = SoA.2832 + hide_window = yes + + is_triggered_only = yes + + immediate = { + d_saint_addai = { + holder_scope = { + save_event_target_as = order_target + ROOT = { + character_event = { id = SoA.2864 } + } + } + } + } +} + +# Liege refuses request to join the Order +character_event = { + id = SoA.2833 + hide_window = yes + + is_triggered_only = yes + + immediate = { + opinion = { + who = FROM + modifier = opinion_refused_request_holy_order + } + } +} + +# Ping event when donating money to the Order +character_event = { + id = SoA.2840 + hide_window = yes + + is_triggered_only = yes + + immediate = { + wealth = 300 + FROM = { + letter_event = { + id = SoA.2841 + } + } + opinion = { + who = FROM + modifier = opinion_generous_donation + } + } +} + +# Notification event when donating money to the Order +letter_event = { + id = SoA.2841 + desc = EVTDESC_SOA_1141 + border = GFX_event_letter_frame_religion + + is_triggered_only = yes + + option = { + name = EXCELLENT + } +} + +# The Grand Master humbly requests the right to build a castle in your demesne +character_event = { + id = SoA.2850 + hide_window = yes + + min_age = 16 + only_playable = yes + religion_group = christian + + trigger = { + OR = { + religion = nestorian + religion = messalian + } + + is_heretic = no + + d_saint_addai = { + holder_scope = { + wealth = 300 + NOT = { + realm_size = 10 + } + } + } + + any_demesne_province = { + has_empty_holding = yes + OR = { + region = world_persia + region = world_middle_east + region = world_asia_minor + region = world_india_rajastan + region = world_africa_north + } + } + + has_dlc = "Sons of Abraham" + NOT = { has_character_modifier = expelled_d_saint_addai } + NOT = { + any_liege = { + has_character_modifier = expelled_d_saint_addai + } + } + } + + mean_time_to_happen = { + months = 240 + modifier = { + factor = 0.5 + d_saint_addai = { + holder_scope = { + NOT = { demesne_size = 1 } + } + } + } + modifier = { + factor = 0.5 + d_saint_addai = { + holder_scope = { + NOT = { demesne_size = 2 } + } + } + } + modifier = { + factor = 2.0 + d_saint_addai = { + holder_scope = { + num_of_count_titles = 1 + } + } + } + modifier = { + factor = 2.0 + d_saint_addai = { + holder_scope = { + realm_size = 5 + } + } + } + } + + immediate = { + random_demesne_province = { + limit = { + has_empty_holding = yes + } + province_event = { + id = SoA.2851 + } + } + } +} + +province_event = { + id = SoA.2851 + hide_window = yes + + is_triggered_only = yes + + immediate = { + d_saint_addai = { + holder_scope = { + character_event = { + id = SoA.2852 + } + } + } + } +} + +character_event = { + id = SoA.2852 + hide_window = yes + + is_triggered_only = yes + + immediate = { + FROMFROM = { + letter_event = { + id = SoA.2853 + } + } + } +} + +letter_event = { + id = SoA.2853 + desc = EVTDESC_SOA_1053 + border = GFX_event_letter_frame_religion + + is_triggered_only = yes + + option = { + name = EVTOPTA_SOA_1023 # Agree + ai_chance = { + factor = 80 + modifier = { + factor = 0 + has_character_modifier = expelled_d_saint_addai + } + } + + hidden_tooltip = { + FROMFROM = { + province_event = { id = SoA.2854 } + } + remove_character_modifier = expelled_d_saint_addai + } + + piety = 200 + wealth = 100 + } + + option = { + name = EVTOPTB_SOA_1153 # Refuse + ai_chance = { + factor = 20 + } + + piety = -100 + } +} + +# Castle has been erected +province_event = { + id = SoA.2854 + desc = EVTDESC_SOA_2854 + picture = GFX_evt_castle_construction + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + immediate = { + FROMFROM = { + wealth = -300 + } + } + + option = { + name = EVTOPTA_SOA_1024 + build_holding = { + type = castle + holder = FROMFROM + } + } +} + +# Ping event when expelling the Order +character_event = { + id = SoA.2860 + hide_window = yes + + is_triggered_only = yes + + immediate = { + any_title_under = { + limit = { + tier = BARON + location = { + owner = { + OR = { + character = FROM + is_liege_or_above = FROM + } + } + } + } + usurp_title = FROM + } + + FROM = { + letter_event = { + id = SoA.2861 + } + } + + opinion = { + who = FROM + modifier = opinion_expelled_from_realm + } + } +} + +# Notification event when expelling the Order +letter_event = { + id = SoA.2861 + desc = EVTDESC_SOA_1061 + border = GFX_event_letter_frame_religion + + is_triggered_only = yes + + option = { + name = EVTOPTB_SOA_1061 + } +} + +# Spouse notified of divorce due to husband going off to join holy order +character_event = { + id = SoA.2862 + desc = EVTDESC_SoA_2862 + picture = GFX_evt_melee + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + option = { + name = ALAS + trigger = { + opinion = { who = FROMFROMFROM value = 0 } + } + tooltip = { remove_spouse = FROMFROMFROM } + } + option = { + name = GOOD_RIDDANCE + trigger = { + NOT = { opinion = { who = FROMFROMFROM value = 0 } } + } + tooltip = { remove_spouse = FROMFROMFROM } + } +} + +# Spouse notified of character joining holy order +character_event = { + id = SoA.2863 + desc = EVTDESC_SoA_2863 + picture = GFX_evt_melee + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + option = { + name = ALAS + trigger = { + opinion = { who = FROM value = 0 } + } + tooltip = { remove_spouse = FROM } + } + option = { + name = GOOD_RIDDANCE + trigger = { + NOT = { opinion = { who = FROM value = 0 } } + } + tooltip = { remove_spouse = FROM } + } +} + +# Character joining holy order effects +character_event = { + id = SoA.2864 + hide_window = yes + + is_triggered_only = yes + + immediate = { + if = { + limit = { + has_minor_title = title_commander + } + remove_title = title_commander + } + if = { + limit = { + has_minor_title = title_appointed_regent + } + remove_title = title_appointed_regent + } + if = { + limit = { + has_minor_title = title_patrician_heir + } + remove_title = title_patrician_heir + } + clear_wealth = event_target:order_target + spouse = { + remove_spouse = spouse + character_event = { id = SoA.2863 } + } + move_character = event_target:order_target + add_trait = celibate + end_inaccessibility_effect = yes #removes in_hiding or in_seclusion + } +} + +# Expelling a Holy Order confirmation event +character_event = { + id = SoA.2990 + desc = "EVTDESC_SOA_2990" + picture = "GFX_evt_crusaders" + border = "GFX_event_normal_frame_religion" + + desc = { + trigger = { + religion_group = christian + } + text = EVTDESC_SOA_2990 + picture = "GFX_evt_crusaders" + } + desc = { + trigger = { + OR = { + religion_group = muslim + religion_group = zoroastrian_group + } + } + text = EVTDESC_SOA_2990 + picture = "GFX_evt_moors" + } + desc = { + trigger = { + religion_group = pagan_group + NOR = { + religion = aztec + religion = aztec_reformed + } + } + text = EVTDESC_SOA_2990 + picture = "GFX_evt_vikings_arriving_oldgods" + } + desc = { + trigger = { + OR = { + religion = aztec + religion = aztec_reformed + } + } + text = EVTDESC_SOA_2990 + picture = "GFX_evt_battle_mesoamerican" + } + desc = { + trigger = { + religion_group = jewish_group + } + text = EVTDESC_SOA_2990 + picture = "GFX_evt_synagogue" + } + + title = { # Knights Templar + trigger = { + has_character_flag = expel_the_knights_templar_check + } + text = expel_the_knights_templar + } + title = { # Knights Hospitaler + trigger = { + has_character_flag = expel_the_knights_hospitaler_check + } + text = expel_the_knights_hospitaler + } + title = { # Teutonic Order + trigger = { + has_character_flag = expel_the_teutonic_order_check + } + text = expel_the_teutonic_order + } + title = { # Jomsvikings + trigger = { + has_character_flag = expel_the_jomsvikings_check + } + text = expel_the_jomsvikings + } + title = { # Hashshashin + trigger = { + has_character_flag = expel_the_assassins_check + } + text = expel_the_assassins + } + title = { # Bektashi + trigger = { + has_character_flag = expel_the_bektashi_check + } + text = expel_the_bektashi + } + title = { # Haruriyyah + trigger = { + has_character_flag = expel_the_haruriyyah_check + } + text = expel_the_haruriyyah + } + title = { # Holy Sepulchre + trigger = { + has_character_flag = expel_the_holy_sepulchre_check + } + text = expel_the_holy_sepulchre + } + title = { # Saint Anthony + trigger = { + has_character_flag = expel_saint_anthony_check + } + text = expel_saint_anthony + } + title = { # Immortals + trigger = { + has_character_flag = expel_immortals_check + } + text = expel_immortals + } + title = { # Zealots + trigger = { + has_character_flag = expel_zealots_check + } + text = expel_zealots + } + title = { # Sky Lords + trigger = { + has_character_flag = expel_sky_lords_check + } + text = expel_sky_lords + } + title = { # Spirit Guardians + trigger = { + has_character_flag = expel_spirit_guardians_check + } + text = expel_spirit_guardians + } + title = { # Warriors of Perun + trigger = { + has_character_flag = expel_warriors_perun_check + } + text = expel_warriors_perun + } + title = { # Chosen of Perkunas + trigger = { + has_character_flag = expel_chosen_perkunas_check + } + text = expel_chosen_perkunas + } + title = { # Sons of Kaleva + trigger = { + has_character_flag = expel_sons_kaleva_check + } + text = expel_sons_kaleva + } + title = { # Huitzilopochtli + trigger = { + has_character_flag = expel_huitzilopochtli_check + } + text = expel_huitzilopochtli + } + title = { # Knights of Santiago + trigger = { + has_character_flag = expel_knights_santiago_check + } + text = expel_knights_santiago + } + title = { # Knights of Calatrava + trigger = { + has_character_flag = expel_knights_calatrava_check + } + text = expel_knights_calatrava + } + title = { # Order of St Addai + trigger = { + has_character_flag = expel_order_of_addai_check + } + text = expel_order_of_addai + } + title = { # Zun Warriors + trigger = { + has_character_flag = expel_zun_warriors_check + } + text = expel_zun_warriors + } + + only_rulers = yes + + is_triggered_only = yes + + option = { # Knights Templar + trigger = { + has_character_flag = expel_the_knights_templar_check + } + name = "EVTOPTA_SOA_2990" + piety = -1000 + + religion_authority = { + modifier = holy_order_expelled + years = 20 + } + custom_tooltip = { + text = expelling_holy_order_event_tooltip_a + } + hidden_tooltip = { + d_knights_templar = { + holder_scope = { + character_event = { + id = SoA.1060 + } + } + } + add_character_modifier = { + name = expelled_d_knights_templar + duration = -1 + inherit = yes + } + clr_character_flag = expel_the_knights_templar_check + } + } + option = { # Knights Hospitaler + trigger = { + has_character_flag = expel_the_knights_hospitaler_check + } + name = "EVTOPTA_SOA_2990" + piety = -1000 + + religion_authority = { + modifier = holy_order_expelled + years = 20 + } + custom_tooltip = { + text = expelling_holy_order_event_tooltip_a + } + hidden_tooltip = { + d_knights_hospitaler = { + holder_scope = { + character_event = { + id = SoA.1060 + } + } + } + add_character_modifier = { + name = expelled_d_knights_hospitaler + duration = -1 + inherit = yes + } + clr_character_flag = expel_the_knights_hospitaler_check + } + } + option = { # Teutonic Order + trigger = { + has_character_flag = expel_the_teutonic_order_check + } + name = "EVTOPTA_SOA_2990" + piety = -1000 + + religion_authority = { + modifier = holy_order_expelled + years = 20 + } + custom_tooltip = { + text = expelling_holy_order_event_tooltip_a + } + hidden_tooltip = { + add_character_modifier = { + name = expelled_d_teutonic_order + duration = -1 + inherit = yes + } + d_teutonic_order = { + holder_scope = { + character_event = { + id = SoA.1060 + } + } + } + clr_character_flag = expel_the_teutonic_order_check + } + } + option = { # Jomsvikings + trigger = { + has_character_flag = expel_the_jomsvikings_check + } + name = "EVTOPTA_SOA_2990" + piety = -1000 + + religion_authority = { + modifier = holy_order_expelled + years = 20 + } + custom_tooltip = { + text = expelling_holy_order_event_tooltip_a + } + hidden_tooltip = { + d_jomsvikings = { + holder_scope = { + character_event = { + id = SoA.1560 + } + } + } + add_character_modifier = { + name = expelled_d_jomsvikings + duration = -1 + inherit = yes + } + clr_character_flag = expel_the_jomsvikings_check + } + } + option = { # Hashshashin + trigger = { + has_character_flag = expel_the_assassins_check + } + name = "EVTOPTA_SOA_2990" + piety = -1000 + + religion_authority = { + modifier = holy_order_expelled + years = 20 + } + custom_tooltip = { + text = expelling_holy_order_event_tooltip_a + } + hidden_tooltip = { + d_hashshashin = { + holder_scope = { + character_event = { + id = SoA.1460 + } + } + } + + add_character_modifier = { + name = expelled_d_hashshashin + duration = -1 + inherit = yes + } + clr_character_flag = expel_the_assassins_check + } + } + option = { # Bektashi + trigger = { + has_character_flag = expel_the_bektashi_check + } + name = "EVTOPTA_SOA_2990" + piety = -1000 + + religion_authority = { + modifier = holy_order_expelled + years = 20 + } + custom_tooltip = { + text = expelling_holy_order_event_tooltip_a + } + hidden_tooltip = { + d_hashshashin = { + holder_scope = { + character_event = { + id = SoA.1460 + } + } + } + + add_character_modifier = { + name = expelled_d_hashshashin + duration = -1 + inherit = yes + } + clr_character_flag = expel_the_bektashi_check + } + } + option = { # Haruriyyah + trigger = { + has_character_flag = expel_the_haruriyyah_check + } + name = "EVTOPTA_SOA_2990" + piety = -1000 + + religion_authority = { + modifier = holy_order_expelled + years = 20 + } + custom_tooltip = { + text = expelling_holy_order_event_tooltip_a + } + hidden_tooltip = { + d_haruriyyah = { + holder_scope = { + character_event = { + id = SoA.1460 + } + } + } + + add_character_modifier = { + name = expelled_d_haruriyyah + duration = -1 + inherit = yes + } + clr_character_flag = expel_the_haruriyyah_check + } + } + option = { # Holy Sepulchre + trigger = { + has_character_flag = expel_the_holy_sepulchre_check + } + name = "EVTOPTA_SOA_2990" + piety = -1000 + + religion_authority = { + modifier = holy_order_expelled + years = 20 + } + custom_tooltip = { + text = expelling_holy_order_event_tooltip_a + } + hidden_tooltip = { + d_holy_sepulchre = { + holder_scope = { + character_event = { + id = SoA.1660 + } + } + } + add_character_modifier = { + name = expelled_d_holy_sepulchre + duration = -1 + inherit = yes + } + clr_character_flag = expel_the_holy_sepulchre_check + } + } + option = { # Saint Anthony + trigger = { + has_character_flag = expel_saint_anthony_check + } + name = "EVTOPTA_SOA_2990" + piety = -1000 + + religion_authority = { + modifier = holy_order_expelled + years = 20 + } + custom_tooltip = { + text = expelling_holy_order_event_tooltip_a + } + hidden_tooltip = { + d_saint_anthony = { + holder_scope = { + character_event = { + id = SoA.1760 + } + } + } + add_character_modifier = { + name = expelled_d_saint_anthony + duration = -1 + inherit = yes + } + clr_character_flag = expel_saint_anthony_check + } + } + option = { # Immortals + trigger = { + has_character_flag = expel_immortals_check + } + name = "EVTOPTA_SOA_2990" + piety = -1000 + + religion_authority = { + modifier = holy_order_expelled + years = 20 + } + custom_tooltip = { + text = expelling_holy_order_event_tooltip_a + } + hidden_tooltip = { + d_immortals = { + holder_scope = { + character_event = { + id = SoA.1860 + } + } + } + add_character_modifier = { + name = expelled_d_immortals + duration = -1 + inherit = yes + } + clr_character_flag = expel_immortals_check + } + } + option = { # Zealots + trigger = { + has_character_flag = expel_zealots_check + } + name = "EVTOPTA_SOA_2990" + piety = -1000 + + religion_authority = { + modifier = holy_order_expelled + years = 20 + } + custom_tooltip = { + text = expelling_holy_order_event_tooltip_a + } + hidden_tooltip = { + d_zealots = { + holder_scope = { + character_event = { + id = SoA.1960 + } + } + } + add_character_modifier = { + name = expelled_d_zealots + duration = -1 + inherit = yes + } + clr_character_flag = expel_zealots_check + } + } + option = { # Sky Lords + trigger = { + has_character_flag = expel_sky_lords_check + } + name = "EVTOPTA_SOA_2990" + piety = -1000 + + religion_authority = { + modifier = holy_order_expelled + years = 20 + } + custom_tooltip = { + text = expelling_holy_order_event_tooltip_a + } + hidden_tooltip = { + d_sky_lords = { + holder_scope = { + character_event = { + id = SoA.2060 + } + } + } + add_character_modifier = { + name = expelled_d_sky_lords + duration = -1 + inherit = yes + } + clr_character_flag = expel_sky_lords_check + } + } + option = { # Spirit Guardians + trigger = { + has_character_flag = expel_spirit_guardians_check + } + name = "EVTOPTA_SOA_2990" + piety = -1000 + + religion_authority = { + modifier = holy_order_expelled + years = 20 + } + custom_tooltip = { + text = expelling_holy_order_event_tooltip_a + } + hidden_tooltip = { + d_spirit_guardians = { + holder_scope = { + character_event = { + id = SoA.2160 + } + } + } + add_character_modifier = { + name = expelled_d_spirit_guardians + duration = -1 + inherit = yes + } + clr_character_flag = expel_spirit_guardians_check + } + } + option = { # Warriors of Perun + trigger = { + has_character_flag = expel_warriors_perun_check + } + name = "EVTOPTA_SOA_2990" + piety = -1000 + + religion_authority = { + modifier = holy_order_expelled + years = 20 + } + custom_tooltip = { + text = expelling_holy_order_event_tooltip_a + } + hidden_tooltip = { + d_warriors_perun = { + holder_scope = { + character_event = { + id = SoA.2260 + } + } + } + add_character_modifier = { + name = expelled_d_warriors_perun + duration = -1 + inherit = yes + } + clr_character_flag = expel_warriors_perun_check + } + } + option = { # Chosen of Perkunas + trigger = { + has_character_flag = expel_chosen_perkunas_check + } + name = "EVTOPTA_SOA_2990" + piety = -1000 + + religion_authority = { + modifier = holy_order_expelled + years = 20 + } + custom_tooltip = { + text = expelling_holy_order_event_tooltip_a + } + hidden_tooltip = { + d_chosen_perkunas = { + holder_scope = { + character_event = { + id = SoA.2360 + } + } + } + add_character_modifier = { + name = expelled_d_chosen_perkunas + duration = -1 + inherit = yes + } + clr_character_flag = expel_chosen_perkunas_check + } + } + option = { # Sons of Kaleva + trigger = { + has_character_flag = expel_sons_kaleva_check + } + name = "EVTOPTA_SOA_2990" + piety = -1000 + + religion_authority = { + modifier = holy_order_expelled + years = 20 + } + custom_tooltip = { + text = expelling_holy_order_event_tooltip_a + } + hidden_tooltip = { + d_sons_kaleva = { + holder_scope = { + character_event = { + id = SoA.2460 + } + } + } + add_character_modifier = { + name = expelled_d_sons_kaleva + duration = -1 + inherit = yes + } + clr_character_flag = expel_sons_kaleva_check + } + } + option = { # Huitzilopochtli + trigger = { + has_character_flag = expel_huitzilopochtli_check + } + name = "EVTOPTA_SOA_2990" + piety = -1000 + + religion_authority = { + modifier = holy_order_expelled + years = 20 + } + custom_tooltip = { + text = expelling_holy_order_event_tooltip_a + } + hidden_tooltip = { + d_huitzilopochtli = { + holder_scope = { + character_event = { + id = SoA.2560 + } + } + } + add_character_modifier = { + name = expelled_d_huitzilopochtli + duration = -1 + inherit = yes + } + clr_character_flag = expel_huitzilopochtli_check + } + } + option = { # Knights of Santiago + trigger = { + has_character_flag = expel_knights_santiago_check + } + name = "EVTOPTA_SOA_2990" + piety = -1000 + + religion_authority = { + modifier = holy_order_expelled + years = 20 + } + custom_tooltip = { + text = expelling_holy_order_event_tooltip_a + } + hidden_tooltip = { + d_knights_santiago = { + holder_scope = { + character_event = { + id = SoA.2660 + } + } + } + add_character_modifier = { + name = expelled_d_knights_santiago + duration = -1 + inherit = yes + } + clr_character_flag = expel_knights_santiago_check + } + } + option = { # Knights of Calatrava + trigger = { + has_character_flag = expel_knights_calatrava_check + } + name = "EVTOPTA_SOA_2990" + piety = -1000 + + religion_authority = { + modifier = holy_order_expelled + years = 20 + } + custom_tooltip = { + text = expelling_holy_order_event_tooltip_a + } + hidden_tooltip = { + d_knights_calatrava = { + holder_scope = { + character_event = { + id = SoA.2760 + } + } + } + add_character_modifier = { + name = expelled_d_knights_calatrava + duration = -1 + inherit = yes + } + clr_character_flag = expel_knights_calatrava_check + } + } + option = { # Order of St Addai + trigger = { + has_character_flag = expel_order_of_addai_check + } + name = "EVTOPTA_SOA_2990" + piety = -1000 + + religion_authority = { + modifier = holy_order_expelled + years = 20 + } + custom_tooltip = { + text = expelling_holy_order_event_tooltip_a + } + hidden_tooltip = { + d_saint_addai = { + holder_scope = { + character_event = { + id = SoA.2860 + } + } + } + add_character_modifier = { + name = expelled_d_saint_addai + duration = -1 + inherit = yes + } + clr_character_flag = expel_order_of_addai_check + } + } + option = { # Zun Warriors + trigger = { + has_character_flag = expel_zun_warriors_check + } + name = "EVTOPTA_SOA_2990" + piety = -1000 + + religion_authority = { + modifier = holy_order_expelled + years = 20 + } + custom_tooltip = { + text = expelling_holy_order_event_tooltip_a + } + hidden_tooltip = { + d_zun_warriors = { + holder_scope = { + character_event = { + id = CM.4012 + } + } + } + add_character_modifier = { + name = expelled_d_zun_warriors + duration = -1 + inherit = yes + } + clr_character_flag = expel_zun_warriors_check + } + } + option = { # Allow them to stay + name = "EVTOPTB_SOA_2990" + custom_tooltip = { + text = expelling_holy_order_event_tooltip_b + } + hidden_tooltip = { + clr_character_flag = expel_the_knights_templar_check + clr_character_flag = expel_the_knights_hospitaler_check + clr_character_flag = expel_the_teutonic_order_check + clr_character_flag = expel_the_jomsvikings_check + clr_character_flag = expel_the_assassins_check + clr_character_flag = expel_the_bektashi_check + clr_character_flag = expel_the_haruriyyah_check + clr_character_flag = expel_the_holy_sepulchre_check + clr_character_flag = expel_saint_anthony_check + clr_character_flag = expel_immortals_check + clr_character_flag = expel_zealots_check + clr_character_flag = expel_sky_lords_check + clr_character_flag = expel_spirit_guardians_check + clr_character_flag = expel_warriors_perun_check + clr_character_flag = expel_chosen_perkunas_check + clr_character_flag = expel_sons_kaleva_check + clr_character_flag = expel_huitzilopochtli_check + clr_character_flag = expel_knights_santiago_check + clr_character_flag = expel_knights_calatrava_check + clr_character_flag = expel_order_of_addai_check + clr_character_flag = expel_zun_warriors_check + } + } +} \ No newline at end of file diff --git a/LCDA/events/soa_misc_religious_events.txt b/LCDA/events/soa_misc_religious_events.txt new file mode 100644 index 0000000..a79c7f0 --- /dev/null +++ b/LCDA/events/soa_misc_religious_events.txt @@ -0,0 +1,4312 @@ + +########################################### +# # +# SoA minor religious events # +# # +# ID SoA.5200-SoA.5399 # +# # +########################################### + +# Written by Tobias Bodlund + +namespace = SoA + +########################################### +# # +# Relics - ID SoA.5200-SoA.5209 # +# # +########################################### + + +# Plunders relic in war +character_event = { + id = SoA.5200 + desc = EVTDESC_SoA_5200 + picture = GFX_evt_large_army + border = GFX_event_normal_frame_religion + + min_age = 16 + only_capable = yes + prisoner = no + only_playable = yes + religion_group = christian + war = yes + has_dlc = "Sons of Abraham" + + trigger = { + in_command = yes + is_landed = yes + NOT = { + has_artifact = finger_of_st_john + } + } + + mean_time_to_happen = { + months = 10000 + } + + option = { + name = EVTOPTA_SoA_5200 + add_artifact = finger_of_st_john + new_artifact = { + set_creation_date = -1.1.1 + } + piety = 10 + } + option = { + name = EVTOPTB_SoA_5200 + add_trait = charitable + piety = 10 + } +} + +# Buys relic at market +character_event = { + id = SoA.5201 + desc = EVTDESC_SoA_5201 + picture = GFX_evt_market + border = GFX_event_normal_frame_religion + + min_age = 16 + only_capable = yes + prisoner = no + only_playable = yes + religion_group = christian + + trigger = { + has_dlc = "Sons of Abraham" + wealth = 20 + NOT = { + has_artifact = finger_of_st_john + } + } + + mean_time_to_happen = { + months = 5000 + } + + option = { + name = EVTOPTA_SoA_5201 + wealth = -10 + add_artifact = finger_of_st_john + new_artifact = { + set_creation_date = -1.1.1 + } + piety = 10 + } + option = { + name = EVTOPTB_SoA_5201 + if = { + limit = { NOT = { trait = cynical } } + random = { + chance = 20 + add_trait = cynical + hidden_tooltip = { + character_event = { + id = 38258 #Notify Cynical + } + } + } + } + } +} + +# Given relic by priest who feels he cannot protect it at his little church +character_event = { + id = SoA.5202 + desc = EVTDESC_SoA_5202 + picture = GFX_evt_throne_room + border = GFX_event_normal_frame_religion + + min_age = 16 + only_capable = yes + prisoner = no + only_playable = yes + + religion_group = christian + + trigger = { + has_dlc = "Sons of Abraham" + NOT = { + has_artifact = finger_of_st_john + } + } + + mean_time_to_happen = { + months = 5000 + } + + option = { + name = EVTOPTA_SoA_5202 + add_artifact = finger_of_st_john + new_artifact = { + set_creation_date = -1.1.1 + } + piety = 10 + } +} + +# Misplaced relic +character_event = { + id = SoA.5203 + desc = EVTDESC_SoA_5203 + picture = GFX_evt_bad_news + border = GFX_event_normal_frame_religion + + min_age = 16 + only_capable = yes + prisoner = no + only_playable = yes + religion_group = christian + + trigger = { + OR = { + is_dumb_trigger = yes + trait = slothful + } + has_dlc = "Sons of Abraham" + has_artifact = finger_of_st_john + } + + mean_time_to_happen = { + months = 2500 + } + + option = { + name = EVTOPTA_SoA_5203 + destroy_artifact = finger_of_st_john + } +} + +# Relic is stolen by raiders +character_event = { + id = SoA.5204 + desc = EVTDESC_SoA_5204 + picture = GFX_evt_burning_house + border = GFX_event_normal_frame_religion + + only_playable = yes + only_capable = yes + prisoner = no + religion_group = christian + + trigger = { + is_landed = yes + has_dlc = "Sons of Abraham" + NOT = { + any_demesne_province = { + controlled_by = ROOT + } + } + has_artifact = finger_of_st_john + } + + mean_time_to_happen = { + months = 50 + } + + option = { + name = EVTOPTA_SoA_5204 + destroy_artifact = finger_of_st_john + } +} + +# Relic mixed up with other bones +character_event = { + id = SoA.5205 + desc = EVTDESC_SoA_5205 + picture = GFX_evt_son_asking_father + border = GFX_event_normal_frame_religion + + min_age = 16 + only_playable = yes + only_capable = yes + prisoner = no + religion_group = christian + + trigger = { + has_dlc = "Sons of Abraham" + has_artifact = finger_of_st_john + } + + mean_time_to_happen = { + months = 10000 + } + + option = { + name = EVTOPTA_SoA_5205 + destroy_artifact = finger_of_st_john + } + option = { + name = EVTOPTB_SoA_5205 + trigger = { + NOT = { trait = zealous } + } + random = { + chance = 30 + add_trait = arbitrary + hidden_tooltip = { + character_event = { + id = 38266 #Notify Arbitrary + } + } + } + } + option = { + name = EVTOPTC_SoA_5205 + tooltip_info = learning + trigger = { + learning = 13 + } + } +} + +# Use relic to heal sickness? +character_event = { + id = SoA.5206 + desc = EVTDESC_SoA_5206 + picture = GFX_evt_illness + border = GFX_event_normal_frame_religion + + min_age = 16 + only_playable = yes + only_capable = yes + prisoner = no + is_sick = yes + religion_group = christian + + trigger = { + trait = ill + has_dlc = "Sons of Abraham" + NOT = { + has_dlc = "Reapers" + } + has_artifact = finger_of_st_john + } + + mean_time_to_happen = { + months = 250 + } + + option = { + name = EVTOPTA_SoA_5206 + trigger = { + NOT = { trait = cynical } + } + random = { + chance = 20 + remove_trait = ill + if = { + limit = { + NOT = { + trait = zealous + } + } + add_trait = zealous + hidden_tooltip = { + character_event = { + id = 38269 #Notify Zealous + } + } + } + } + } + option = { + name = EVTOPTB_SoA_5206 + trigger = { + NOT = { trait = zealous } + } + random = { + chance = 20 + remove_trait = ill + if = { + limit = { + NOT = { + trait = cynical + } + } + add_trait = cynical + hidden_tooltip = { + character_event = { + id = 38258 #Notify Cynical + } + } + } + } + } +} + +# Bring relic out to bless the fields +character_event = { + id = SoA.5207 + desc = EVTDESC_SoA_5207 + picture = GFX_evt_stone_church + border = GFX_event_normal_frame_religion + + min_age = 16 + only_playable = yes + only_capable = yes + prisoner = no + religion_group = christian + + trigger = { + has_dlc = "Sons of Abraham" + month = 4 + NOT = { month = 7 } + has_artifact = finger_of_st_john + } + + mean_time_to_happen = { + months = 250 + } + + option = { + name = EVTOPTA_SoA_5207 + random_demesne_province = { + add_province_modifier = { + name = appeased_religious + duration = 1800 + } + } + } + option = { + name = EVTOPTB_SoA_5207 + if = { + limit = { + NOT = { + trait = cynical + } + } + add_trait = cynical + } + } +} + +# Commerce with relics +character_event = { + id = SoA.5208 + desc = EVTDESC_SoA_5208 + picture = GFX_evt_market + border = GFX_event_normal_frame_religion + + ai = no + min_age = 16 + only_capable = yes + prisoner = no + religion = catholic + + trigger = { + has_dlc = "Sons of Abraham" + + NOT = { + has_character_modifier = defied_church + } + NOT = { + has_character_modifier = church_appreciates + } + } + + mean_time_to_happen = { + months = 2500 + } + + option = { + name = EVTOPTA_SoA_5208 + piety = 10 + scaled_wealth = -0.1 + add_character_modifier = { + name = church_appreciates + duration = 24 + } + } + option = { + name = EVTOPTB_SoA_5208 + add_character_modifier = { + name = defied_church + duration = 24 + } + } + option = { + name = EVTOPTC_SoA_5208 + trigger = { + NOT = { trait = zealous } + } + scaled_wealth = 0.2 + add_character_modifier = { + name = defied_church + duration = 24 + } + if = { + limit = { NOT = { trait = greedy } } + add_trait = greedy + } + if = { + limit = { NOT = { trait = cynical } } + random = { + chance = 30 + add_trait = cynical + hidden_tooltip = { + character_event = { + id = 38258 #Notify Cynical + } + } + } + } + } +} + +# Donate owned relic to church? +character_event = { + id = SoA.5209 + desc = EVTDESC_SoA_5209 + picture = GFX_evt_throne_room + border = GFX_event_normal_frame_religion + + min_age = 16 + only_playable = yes + only_capable = yes + prisoner = no + religion_group = christian + + trigger = { + has_dlc = "Sons of Abraham" + has_artifact = finger_of_st_john + } + + mean_time_to_happen = { + months = 3000 + } + + option = { + name = EVTOPTA_SoA_5209 + destroy_artifact = finger_of_st_john + piety = 30 + if = { + limit = { NOT = { trait = humble } } + add_trait = humble + } + } + option = { + name = EVTOPTB_SoA_5209 + destroy_artifact = finger_of_st_john + piety = 30 + prestige = 30 + add_character_modifier = { + name = church_appreciates + duration = 36 + } + } + option = { + name = EVTOPTC_SoA_5209 + add_character_modifier = { + name = defied_church + duration = 36 + } + } +} + +# Remove relic modifier if no longer Christian +character_event = { + id = SoA.5229 + desc = EVTDESC_SoA_5229 + picture = GFX_evt_throne_room + border = GFX_event_normal_frame_religion + + min_age = 16 + only_playable = yes + + trigger = { + has_dlc = "Sons of Abraham" + has_artifact = finger_of_st_john + NOT = { religion_group = christian } + NOT = { has_character_flag = kept_finger_as_trinket } + } + + mean_time_to_happen = { + days = 1 + } + + option = { + name = EVTOPTA_SoA_5229 + prestige = 30 + set_character_flag = kept_finger_as_trinket + } + option = { + name = EVTOPTB_SoA_5229 + destroy_artifact = finger_of_st_john + wealth = 30 + } + option = { + name = EVTOPTC_SoA_5229 + destroy_artifact = finger_of_st_john + hidden_tooltip = { + any_realm_character = { + limit = { religion_group = christian } + opinion = { + modifier = insulted + who = ROOT + years = 5 + } + } + } + custom_tooltip = { text = insulted_realm_christians } + } +} + +########################################### +# # +# Monks events - ID SoA.5210-SoA.5239 # +# # +########################################### + + +# Monks make fantastic beer +character_event = { + id = SoA.5210 + desc = EVTDESC_SoA_5210 + picture = GFX_evt_monastery_monks + border = GFX_event_normal_frame_religion + + min_age = 16 + only_playable = yes + only_capable = yes + prisoner = no + religion_group = christian + + trigger = { + has_dlc = "Sons of Abraham" + + OR = { + location = { + region = world_europe_west + } + location = { + region = world_europe_south + } + } + } + + mean_time_to_happen = { + months = 2500 + } + + option = { + name = EVTOPTA_SoA_5210 + random = { + chance = 50 + change_learning = 1 + } + if = { + limit = { NOT = { trait = drunkard } } + random = { + chance = 20 + add_trait = drunkard + hidden_tooltip = { + character_event = { + id = 38286 #Notify Drunkard + } + } + } + } + } + option = { + name = EVTOPTB_SoA_5210 + if = { + limit = { NOT = { trait = temperate } } + random = { + chance = 20 + add_trait = temperate + hidden_tooltip = { + character_event = { + id = 38276 #Notify Temperate + } + } + } + } + } +} + +# Monks make great wine +character_event = { + id = SoA.5211 + desc = EVTDESC_SoA_5211 + picture = GFX_evt_monastery_monks + border = GFX_event_normal_frame_religion + + min_age = 16 + only_playable = yes + only_capable = yes + prisoner = no + religion_group = christian + + trigger = { + has_dlc = "Sons of Abraham" + + location = { + OR = { + region = world_europe_west + region = world_europe_south + } + } + } + + mean_time_to_happen = { + months = 2500 + } + + option = { + name = EVTOPTA_SoA_5211 + random = { + chance = 50 + change_learning = 1 + } + if = { + limit = { NOT = { trait = drunkard } } + random = { + chance = 20 + add_trait = drunkard + hidden_tooltip = { + character_event = { + id = 38286 #Notify Drunkard + } + } + } + } + } + option = { + name = EVTOPTB_SoA_5211 + if = { + limit = { NOT = { trait = temperate } } + random = { + chance = 20 + add_trait = temperate + hidden_tooltip = { + character_event = { + id = 38276 #Notify Temperate + } + } + } + } + } +} + +# Monks have healing herbs +character_event = { + id = SoA.5212 + desc = EVTDESC_SoA_5212 + picture = GFX_evt_monastery_monks + border = GFX_event_normal_frame_religion + + only_playable = yes + only_capable = yes + prisoner = no + religion_group = christian + is_sick = yes + + trigger = { + has_dlc = "Sons of Abraham" + + trait = ill + piety = 1 + } + + mean_time_to_happen = { + months = 1000 + } + + option = { + name = EVTOPTA_SoA_5212 + random = { + chance = 30 + remove_trait = ill + } + } + option = { + name = EVTOPTB_SoA_5212 + if = { + limit = { NOT = { trait = paranoid } } + add_trait = paranoid + } + } +} + +# Monk is fantastic painter +character_event = { + id = SoA.5213 + desc = EVTDESC_SoA_5213 + picture = GFX_evt_stone_church + border = GFX_event_normal_frame_religion + + min_age = 16 + only_playable = yes + only_capable = yes + prisoner = no + religion_group = christian + + trigger = { + has_dlc = "Sons of Abraham" + + NOT = { trait = blinded } + } + + mean_time_to_happen = { + months = 5000 + } + + option = { + name = EVTOPTA_SoA_5213 + wealth = -10 + prestige = 30 + } + option = { + name = EVTOPTB_SoA_5213 + } +} + +# Monks produce beautiful books +character_event = { + id = SoA.5214 + desc = EVTDESC_SoA_5214 + picture = GFX_evt_monk + border = GFX_event_normal_frame_religion + + min_age = 16 + only_playable = yes + only_capable = yes + prisoner = no + religion_group = christian + + trigger = { + has_dlc = "Sons of Abraham" + + NOT = { trait = blinded } + } + + mean_time_to_happen = { + months = 4000 + } + + option = { + name = EVTOPTA_SoA_5214 + wealth = -40 + prestige = 30 + random = { + chance = 20 + change_learning = 1 + } + } + option = { + name = EVTOPTB_SoA_5214 + + } +} + +# Local monks come to visit often +character_event = { + id = SoA.5215 + desc = EVTDESC_SoA_5215 + picture = GFX_evt_monastery_monks + border = GFX_event_normal_frame_religion + + min_age = 16 + only_playable = yes + only_capable = yes + prisoner = no + religion_group = christian + + trigger = { + has_dlc = "Sons of Abraham" + NOT = { has_character_modifier = in_seclusion } + } + + mean_time_to_happen = { + months = 4000 + } + + option = { + name = EVTOPTA_SoA_5215 + piety = 20 + random = { + chance = 30 + change_learning = 1 + } + } + option = { + name = EVTOPTB_SoA_5215 + if = { + limit = { NOT = { trait = cynical } } + add_trait = cynical + } + } +} + +# Child wants to be monk/nun - select child +character_event = { + id = SoA.5216 + + hide_window = yes + + min_age = 16 + only_capable = yes + prisoner = no + ai = no + religion_group = christian + + trigger = { + has_dlc = "Sons of Abraham" + + any_child = { + is_ruler = no + age = 13 + NOT = { age = 16 } + NOT = { trait = cynical } + NOT = { is_ascetic_trigger = yes } + } + } + + mean_time_to_happen = { + months = 1000 + } + + immediate = { + random_child = { + limit = { + is_ruler = no + age = 13 + NOT = { age = 16 } + NOT = { trait = cynical } + NOT = { is_ascetic_trigger = yes } + } + character_event = { id = SoA.5217 } + } + } +} + +# Child bounce event +character_event = { + id = SoA.5217 + + is_triggered_only = yes + + hide_window = yes + + immediate = { + FROM = { + character_event = { id = SoA.5218 } + } + } +} + +# Child wants to be monk/nun - parent response +character_event = { + id = SoA.5218 + desc = EVTDESC_SoA_5218 + picture = GFX_evt_courtiers_talking + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + option = { + name = EVTOPTA_SoA_5218 + ai_chance = { + factor = 0 + } + FROM = { + if = { + limit = { + is_female = yes + } + add_trait = nun + } + if = { + limit = { + is_female = no + } + add_trait = monk + } + opinion = { + modifier = opinion_grateful + who = ROOT + years = 100 + } + } + custom_tooltip = { text = EVTTOOLTIPA_SOA_5218 } + } + option = { + name = EVTOPTB_SoA_5218 + ai_chance = { + factor = 100 + } + FROM = { + add_trait = stressed + opinion = { + modifier = opinion_angry + who = ROOT + years = 3 + } + } + custom_tooltip = { text = EVTTOOLTIPB_SOA_5218 } + } +} + +# Donate to local monastery +character_event = { + id = SoA.5219 + desc = EVTDESC_SoA_5219 + picture = GFX_evt_monastery_monks + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + min_age = 16 + only_playable = yes + only_capable = yes + prisoner = no + religion_group = christian + + trigger = { + has_dlc = "Sons of Abraham" + scaled_wealth = 0.1 + } + + option = { + name = EVTOPTA_SoA_5219 + wealth = -30 + piety = 30 + } + option = { + name = EVTOPTB_SoA_5219 + piety = -5 + } +} + +########################################### +# # +# Miracle events - ID SoA.5240-SoA.5259 # +# # +########################################### + +# Stigmata +character_event = { + id = SoA.5240 + desc = EVTDESC_SoA_5240 + picture = GFX_evt_bad_news + border = GFX_event_normal_frame_religion + + only_playable = yes + min_age = 16 + only_capable = yes + prisoner = no + religion = catholic + + trigger = { + has_dlc = "Sons of Abraham" + } + + mean_time_to_happen = { + months = 5000 + modifier = { + factor = 0.3 + has_focus = focus_theology + } + } + + option = { + name = EVTOPTA_SoA_5240 + if = { + limit = { NOT = { trait = zealous } } + add_trait = zealous + } + piety = 10 + } + option = { + name = EVTOPTB_SoA_5240 + if = { + limit = { NOT = { trait = cynical } } + random = { + chance = 50 + add_trait = cynical + hidden_tooltip = { + character_event = { + id = 38258 #Notify Cynical + } + } + } + } + if = { + limit = { NOT = { trait = stressed } } + random = { + chance = 20 + add_trait = stressed + hidden_tooltip = { + character_event = { + id = 38282 #Notify Stressed + } + } + } + } + } +} + +# I saw the Virgin +character_event = { + id = SoA.5241 + desc = EVTDESC_SoA_5241 + picture = GFX_evt_comet + border = GFX_event_normal_frame_religion + + only_playable = yes + min_age = 16 + only_capable = yes + prisoner = no + religion = catholic + + trigger = { + has_dlc = "Sons of Abraham" + } + + mean_time_to_happen = { + months = 5000 + modifier = { + factor = 0.3 + has_focus = focus_theology + } + } + + option = { + name = EVTOPTA_SoA_5241 + trigger = { + NOT = { + trait = cynical + } + } + if = { + limit = { NOT = { trait = zealous } } + add_trait = zealous + } + piety = 30 + } + option = { + name = EVTOPTB_SoA_5241 + trigger = { + NOT = { + trait = zealous + } + } + if = { + limit = { NOT = { trait = cynical } } + random = { + chance = 30 + add_trait = cynical + hidden_tooltip = { + character_event = { + id = 38258 #Notify Cynical + } + } + } + } + } +} + +# Virgin birth +character_event = { + id = SoA.5242 + desc = EVTDESC_SoA_5242 + picture = GFX_evt_pregnancy + border = GFX_event_normal_frame_religion + + only_women = yes + capable_only = yes + prisoner = no + min_age = 17 + max_age = 45 + religion_group = christian + is_married = yes + has_dlc = "Sons of Abraham" + + trigger = { + is_pregnant = no + spouse = { + trait = chaste + trait = celibate + } + NOT = { + trait = chaste + } + NOT = { + trait = celibate + } + NOT = { + trait = homosexual + } + } + + mean_time_to_happen = { + months = 1000 + modifier = { + factor = 0.5 + trait = lustful + } + modifier = { + factor = 0.8 + trait = hedonist + } + } + + option = { + name = EVTOPTA_SoA_5242 + if = { + limit = { NOT = { trait = zealous } } + add_trait = zealous + } + hidden_tooltip = { spouse = { character_event = { id = SoA.5243 } } } + } + option = { + name = EVTOPTB_SoA_5242 + if = { + limit = { NOT = { trait = deceitful } } + add_trait = deceitful + } + hidden_tooltip = { spouse = { character_event = { id = SoA.5243 } } } + } +} + +# Husband notified of virgin birth +character_event = { + id = SoA.5243 + desc = EVTDESC_SoA_5243 + picture = GFX_evt_pregnancy + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + option = { + name = EVTOPTA_SoA_5243 + spouse = { + impregnate = ROOT + add_trait = pregnant + } + if = { + limit = { NOT = { trait = zealous } } + add_trait = zealous + } + } + option = { + name = EVTOPTB_SoA_5243 + spouse = { + impregnate = ROOT + add_trait = pregnant + } + opinion = { + modifier = opinion_angry + who = FROM + years = 5 + } + } + option = { + name = EVTOPTC_SoA_5243 + spouse = { + impregnate = 0 + add_trait = pregnant + } + opinion = { + modifier = opinion_angry + who = FROM + years = 5 + } + } +} + +# Exorcism +character_event = { + id = SoA.5244 + desc = EVTDESC_SoA_5244 + picture = GFX_evt_throne_room + border = GFX_event_normal_frame_religion + + only_playable = yes + only_capable = yes + prisoner = no + religion_group = christian + + trigger = { + trait = possessed + has_dlc = "Sons of Abraham" + } + + mean_time_to_happen = { + months = 400 + } + + option = { + name = EVTOPTA_SoA_5244 + random = { + chance = 40 + remove_trait = possessed + clr_character_flag = demon_child + clr_character_flag = demon_child_fake + clr_character_flag = child_exorcism + remove_character_modifier = voice_of_satan + remove_character_modifier = voice_of_jesus + remove_character_modifier = holy_comet + remove_character_modifier = lycanthropy + if = { + limit = { NOT = { trait = zealous } } + add_trait = zealous + hidden_tooltip = { + character_event = { + id = 38269 #Notify Zealous + } + } + } + } + random = { + chance = 20 + if = { + limit = { + NOT = { + has_dlc = "Reapers" + } + } + add_trait = ill + } + if = { + limit = { + has_dlc = "Reapers" + } + add_symptom_effect = yes + } + } + random = { + chance = 10 + add_trait = wounded + hidden_tooltip = { + character_event = { + id = 38280 #Notify Wounded + } + } + } + } + option = { + name = EVTOPTB_SoA_5244 + if = { + limit = { NOT = { trait = paranoid } } + add_trait = paranoid + } + } + option = { + name = EVTOPTC_SoA_5244 + random = { + chance = 20 + remove_trait = possessed + clr_character_flag = demon_child + clr_character_flag = demon_child_fake + clr_character_flag = child_exorcism + remove_character_modifier = voice_of_satan + remove_character_modifier = voice_of_jesus + remove_character_modifier = holy_comet + remove_character_modifier = lycanthropy + } + } +} + +########################################### +# # +# Immoral priest events # +# ID SoA.5300-SoA.5339 # +# # +########################################### + +# Christian becoming a wicked priest +character_event = { + + id = SoA.5300 + + hide_window = yes + + is_triggered_only = yes + + min_age = 16 + only_capable = yes + prisoner = no + religion_group = christian + + trigger = { + NOR = { + intrigue = 3 + diplomacy = 3 + trait = bad_priest_christian + } + is_priest = yes + has_dlc = "Sons of Abraham" + OR = { + trait = cynical + trait = lustful + trait = gluttonous + trait = greedy + trait = slothful + trait = envious + trait = wroth + trait = proud + trait = lunatic + trait = possessed + trait = homosexual + trait = hedonist + } + } + + immediate = { + add_trait = bad_priest_christian + if = { + limit = { + is_ruler = yes + has_nickname = no + NOT = { trait = possessed } + NOT = { trait = lunatic } + } + random_list = { + 70 = { + give_nickname = nick_the_wicked + } + 10 = { + give_nickname = nick_the_black + } + } + } + if = { + limit = { + is_ruler = yes + has_nickname = no + trait = possessed + } + give_nickname = nick_the_bewitched + } + if = { + limit = { + is_ruler = yes + has_nickname = no + trait = lunatic + } + give_nickname = nick_the_mad + } + } +} + +# Muslim becoming a wicked caliph +character_event = { + id = SoA.5301 + desc = EVTDESC_SoA_5301 + picture = GFX_evt_scandal + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + only_playable = yes + min_age = 16 + only_capable = yes + prisoner = no + religion_group = muslim + + trigger = { + NOR = { + intrigue = 3 + diplomacy = 3 + trait = bad_priest_muslim + } + controls_religion = yes + has_dlc = "Sons of Abraham" + OR = { + trait = cynical + trait = lustful + trait = gluttonous + trait = greedy + trait = slothful + trait = envious + trait = wroth + trait = proud + trait = lunatic + trait = possessed + trait = hedonist + } + } + + option = { + name = EVTOPTA_SoA_5301 + add_trait = bad_priest_muslim + if = { + limit = { + is_ruler = yes + has_nickname = no + NOT = { trait = possessed } + NOT = { trait = lunatic } + } + give_nickname = nick_the_wicked + } + if = { + limit = { + is_ruler = yes + has_nickname = no + trait = possessed + } + give_nickname = nick_the_bewitched + } + if = { + limit = { + is_ruler = yes + has_nickname = no + trait = lunatic + } + give_nickname = nick_the_mad + } + } +} + +# Norse becoming an unworthy priest +character_event = { + id = SoA.5302 + desc = EVTDESC_SoA_5302 + picture = GFX_evt_scandal + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + min_age = 16 + only_capable = yes + prisoner = no + religion_group = pagan_group + + trigger = { + NOR = { + intrigue = 3 + diplomacy = 3 + trait = bad_priest_norse + } + OR = { + religion = norse_pagan + religion = norse_pagan_reformed + } + OR = { + is_priest = yes + has_landed_title = d_norse_pagan_reformed + } + has_dlc = "Sons of Abraham" + OR = { + trait = cynical + trait = gluttonous + trait = greedy + trait = slothful + trait = envious + trait = wroth + trait = craven + trait = lunatic + trait = possessed + trait = hedonist + trait = arbitrary + } + } + + option = { + name = EVTOPTA_SoA_5302 + add_trait = bad_priest_norse + if = { + limit = { + is_ruler = yes + has_nickname = no + NOT = { trait = possessed } + NOT = { trait = lunatic } + } + give_nickname = nick_the_unready + } + if = { + limit = { + is_ruler = yes + has_nickname = no + trait = possessed + } + give_nickname = nick_the_bewitched + } + if = { + limit = { + is_ruler = yes + has_nickname = no + trait = lunatic + } + give_nickname = nick_the_mad + } + } +} + +# Tengri becoming an unworthy priest +character_event = { + id = SoA.5303 + + hide_window = yes + + is_triggered_only = yes + + min_age = 16 + only_capable = yes + prisoner = no + religion_group = pagan_group + + trigger = { + NOR = { + intrigue = 3 + diplomacy = 3 + trait = bad_priest_tengri + } + OR = { + religion = tengri_pagan + religion = tengri_pagan_reformed + } + OR = { + is_priest = yes + has_landed_title = d_tengri_pagan_reformed + } + OR = { + trait = cynical + trait = arbitrary + trait = paranoid + trait = greedy + trait = slothful + trait = envious + trait = wroth + trait = lunatic + trait = cruel + } + has_dlc = "Sons of Abraham" + } + + immediate = { + add_trait = bad_priest_tengri + if = { + limit = { + is_ruler = yes + has_nickname = no + NOT = { trait = possessed } + NOT = { trait = lunatic } + } + give_nickname = nick_the_wicked + } + if = { + limit = { + is_ruler = yes + has_nickname = no + trait = possessed + } + give_nickname = nick_the_bewitched + } + if = { + limit = { + is_ruler = yes + has_nickname = no + trait = lunatic + } + give_nickname = nick_the_mad + } + } +} + +# Zoroastrian becoming an immoral priest +character_event = { + id = SoA.5304 + + hide_window = yes + + is_triggered_only = yes + + min_age = 16 + only_capable = yes + prisoner = no + religion_group = zoroastrian_group + + trigger = { + NOR = { + intrigue = 3 + diplomacy = 3 + trait = bad_priest_zoroastrian + } + OR = { + is_priest = yes + controls_religion = yes + } + OR = { + trait = cynical + trait = arbitrary + trait = greedy + trait = slothful + trait = envious + trait = wroth + trait = proud + trait = lunatic + trait = possessed + trait = cruel + } + has_dlc = "Sons of Abraham" + } + + immediate = { + add_trait = bad_priest_zoroastrian + if = { + limit = { + is_ruler = yes + has_nickname = no + NOT = { trait = possessed } + NOT = { trait = lunatic } + } + give_nickname = nick_the_wicked + } + if = { + limit = { + is_ruler = yes + has_nickname = no + trait = possessed + } + give_nickname = nick_the_bewitched + } + if = { + limit = { + is_ruler = yes + has_nickname = no + trait = lunatic + } + give_nickname = nick_the_mad + } + } +} + +# Aztec becoming an unworthy priest +character_event = { + id = SoA.5305 + + hide_window = yes + + is_triggered_only = yes + + min_age = 16 + only_capable = yes + prisoner = no + religion_group = pagan_group + + trigger = { + is_priest = yes + OR = { + religion = aztec + religion = aztec_reformed + } + NOR = { + intrigue = 3 + diplomacy = 3 + trait = bad_priest_aztec + } + OR = { + trait = cynical + trait = craven + trait = kind + trait = slothful + trait = gluttonous + trait = lustful + trait = hedonist + trait = lunatic + trait = possessed + trait = arbitrary + } + has_dlc = "Sons of Abraham" + } + + immediate = { + add_trait = bad_priest_aztec + if = { + limit = { + is_ruler = yes + has_nickname = no + NOT = { trait = possessed } + NOT = { trait = lunatic } + NOT = { trait = craven } + NOT = { trait = kind } + } + give_nickname = nick_the_unready + } + if = { + limit = { + is_ruler = yes + has_nickname = no + trait = possessed + } + give_nickname = nick_the_bewitched + } + if = { + limit = { + is_ruler = yes + has_nickname = no + trait = lunatic + } + give_nickname = nick_the_mad + } + if = { + limit = { + is_ruler = yes + has_nickname = no + OR = { + trait = craven + trait = kind + } + } + give_nickname = nick_the_kind + } + } +} + +# Check for Cadaver Synod +character_event = { + id = SoA.5306 + + hide_window = yes + + is_triggered_only = yes # Checked for pope on death on_event + + trigger = { + has_dlc = "Sons of Abraham" + has_landed_title = k_papal_state + trait = bad_priest_christian + NOT = { year = 1049 } + } + + immediate = { + give_nickname = nick_the_accursed + any_playable_ruler = { + limit = { + ai = no + religion = catholic + } + narrative_event = { id = SoA.5307 days = 300 } + } + } +} + +# The Cadaver Synod +narrative_event = { + id = SoA.5307 + title = EVTNAME_SoA_5307 + desc = EVTDESC_SoA_5307 + picture = GFX_evt_shadowy_cabal + border = GFX_event_narrative_frame_religion + + is_triggered_only = yes + + option = { + name = EVTOPTA_SoA_5307 + } +} + +# Wicked Pope or Patriarch! +character_event = { + id = SoA.5311 + + hide_window = yes + + only_playable = yes + min_age = 16 + only_capable = yes + prisoner = no + religion_group = christian + + trigger = { + controls_religion = yes + has_dlc = "Sons of Abraham" + trait = bad_priest_christian + NOT = { has_character_modifier = bad_rel_head } + } + + mean_time_to_happen = { + days = 1 + } + + immediate = { + add_character_modifier = { + name = bad_rel_head + duration = -1 + hidden = yes + } + any_player = { + limit = { + religion_head = { + character = ROOT + } + } + character_event = { id = SoA.5312 days = 8 random = 7 } # Notify players + } + } +} + +# Wicked Pope or Patriarch player notification +character_event = { + id = SoA.5312 + desc = EVTDESC_SoA_5312 + picture = GFX_evt_pope_feast + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + option = { + name = EVTOPTA_SoA_5312 + } +} + +# Wicked Caliph! +character_event = { + id = SoA.5313 + + hide_window = yes + + only_playable = yes + min_age = 16 + only_capable = yes + prisoner = no + religion_group = muslim + + trigger = { + controls_religion = yes + has_dlc = "Sons of Abraham" + trait = bad_priest_muslim + NOT = { has_character_modifier = bad_rel_head } + } + + mean_time_to_happen = { + days = 1 + } + + immediate = { + add_character_modifier = { + name = bad_rel_head + duration = -1 + hidden = yes + } + any_playable_ruler = { + limit = { + ai = no + religion_head = { + character = ROOT + } + } + character_event = { id = SoA.5314 days = 8 random = 7 } # Notify player + } + } +} + +# Wicked Caliph player notification +character_event = { + id = SoA.5314 + desc = EVTDESC_SoA_5314 + picture = GFX_evt_throne_room + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + option = { + name = EVTOPTA_SoA_5314 + } +} + +# Unworthy Fylkir! +character_event = { + id = SoA.5315 + + hide_window = yes + + only_playable = yes + min_age = 16 + only_capable = yes + prisoner = no + religion = norse_pagan_reformed + + trigger = { + has_dlc = "Sons of Abraham" + has_landed_title = d_norse_pagan_reformed + trait = bad_priest_norse + NOT = { has_character_modifier = bad_rel_head } + } + + mean_time_to_happen = { + days = 1 + } + + immediate = { + add_character_modifier = { + name = bad_rel_head + duration = -1 + hidden = yes + } + any_playable_ruler = { + limit = { + ai = no + religion_head = { + character = ROOT + } + } + character_event = { id = SoA.5316 days = 8 random = 7 } # Notify player + } + } +} + +# Unworthy Fylkir player notification +character_event = { + id = SoA.5316 + desc = EVTDESC_SoA_5316 + picture = GFX_evt_viking_throneroom_oldgods + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + option = { + name = EVTOPTA_SoA_5316 + } +} + +# Unworthy Head Priest! (Tengri) +character_event = { + id = SoA.5317 + + hide_window = yes + + only_playable = yes + min_age = 16 + only_capable = yes + prisoner = no + religion = tengri_pagan_reformed + + trigger = { + has_dlc = "Sons of Abraham" + has_landed_title = d_tengri_pagan_reformed + trait = bad_priest_tengri + NOT = { has_character_modifier = bad_rel_head } + } + + mean_time_to_happen = { + days = 1 + } + + immediate = { + add_character_modifier = { + name = bad_rel_head + duration = -1 + hidden = yes + } + any_playable_ruler = { + limit = { + ai = no + religion_head = { + character = ROOT + } + } + character_event = { id = SoA.5318 days = 8 random = 7 } # Notify player + } + } +} + +# Unworthy Head Priest player notification (Tengri) +character_event = { + id = SoA.5318 + desc = EVTDESC_SoA_5318 + picture = GFX_evt_tengri_throneroom_oldgods + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + option = { + name = EVTOPTA_SoA_5318 + } +} + +# Immoral Moabadan-Moabad! +character_event = { + id = SoA.5319 + + hide_window = yes + + only_playable = yes + min_age = 16 + only_capable = yes + prisoner = no + religion_group = zoroastrian_group + + trigger = { + has_dlc = "Sons of Abraham" + controls_religion = yes + trait = bad_priest_zoroastrian + NOT = { has_character_modifier = bad_rel_head } + } + + mean_time_to_happen = { + days = 1 + } + + immediate = { + add_character_modifier = { + name = bad_rel_head + duration = -1 + hidden = yes + } + any_playable_ruler = { + limit = { + ai = no + religion_head = { + character = ROOT + } + } + character_event = { id = SoA.5320 days = 8 random = 7 } # Notify player + } + } +} + +# Immoral Moabadan-Moabad player notification +character_event = { + id = SoA.5320 + desc = EVTDESC_SoA_5320 + picture = GFX_evt_marriage_zoroastrian_group + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + option = { + name = EVTOPTA_SoA_5320 + } +} + +# Unworthy Head Priest! (Aztec) +character_event = { + id = SoA.5321 + + hide_window = yes + + only_playable = yes + min_age = 16 + only_capable = yes + prisoner = no + religion = aztec_reformed + + trigger = { + has_dlc = "Sons of Abraham" + has_landed_title = d_aztec_reformed + trait = bad_priest_aztec + NOT = { has_character_modifier = bad_rel_head } + } + + mean_time_to_happen = { + days = 1 + } + + immediate = { + add_character_modifier = { + name = bad_rel_head + duration = -1 + hidden = yes + } + any_playable_ruler = { + limit = { + ai = no + religion_head = { + character = ROOT + } + } + character_event = { id = SoA.5322 days = 8 random = 7 } # Notify player + } + } +} + +# Unworthy Head Priest player notification (Aztec) +character_event = { + id = SoA.5322 + desc = EVTDESC_SoA_5322 + picture = GFX_evt_throne_room + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + option = { + name = EVTOPTA_SoA_5322 + } +} + + +########################################### +# # +# Cluny Abbey # +# ID SoA.5340-SoA.5343 # +# # +########################################### + +# Cluny priests are very influential +character_event = { + id = SoA.5340 + + hide_window = yes + + only_rulers = yes + min_age = 16 + ai = yes + only_capable = yes + prisoner = no + religion_group = christian + + trigger = { + is_priest = yes + year = 950 + OR = { + religion = catholic + religion = cathar + religion = fraticelli + religion = waldensian + religion = lollard + } + has_landed_title = b_cluny + + has_dlc = "Sons of Abraham" + } + + mean_time_to_happen = { + months = 36 + } + + immediate = { + piety = 50 + prestige = 25 + } +} + +# Donate to Cluny Abbey +narrative_event = { + id = SoA.5341 + title = EVTNAME_SoA_5341 + desc = EVTDESC_SoA_5341 + picture = GFX_evt_monastery_monks + border = GFX_event_narrative_frame_religion + + only_playable = yes + min_age = 16 + only_capable = yes + prisoner = no + religion_group = christian + + trigger = { + wealth = 200 + has_dlc = "Sons of Abraham" + year = 950 + OR = { + religion = catholic + religion = cathar + religion = fraticelli + religion = waldensian + religion = lollard + } + b_cluny = { + holder_scope = { + is_priest = yes + religion = ROOT + } + } + } + + mean_time_to_happen = { + months = 2000 + modifier = { + factor = 0.3 + has_focus = focus_theology + } + } + + option = { + name = EVTOPTA_SoA_5341 + ai_chance = { + factor = 20 + } + if = { + limit = { NOT = { wealth = 600 } } + wealth = -100 + prestige = 50 + piety = 50 + b_cluny = { + holder_scope = { + wealth = 100 + } + } + } + if = { + limit = { + wealth = 600 + } + wealth = -300 + prestige = 100 + piety = 100 + b_cluny = { + holder_scope = { + wealth = 300 + } + } + } + } + option = { + name = EVTOPTB_SoA_5341 + ai_chance = { + factor = 80 + } + } +} + +# Visit Cluny? +narrative_event = { + id = SoA.5342 + title = EVTNAME_SoA_5342 + desc = EVTDESC_SoA_5342 + picture = GFX_evt_monastery_monks + border = GFX_event_narrative_frame_religion + + ai = no + prisoner = no + only_capable = yes + min_age = 16 + religion_group = christian + + trigger = { + has_dlc = "Sons of Abraham" + year = 950 + in_command = no + NOT = { trait = blinded } + b_cluny = { + holder_scope = { + is_priest = yes + religion = ROOT + } + } + OR = { + religion = catholic + religion = fraticelli + religion = waldensian + religion = lollard + religion = cathar + } + distance = { + where = 225 # Cluny + value = 300 # Not too far away + } + NOT = { has_character_flag = do_not_disturb } + NOT = { is_inaccessible_trigger = yes } + } + + mean_time_to_happen = { + months = 2000 + modifier = { + factor = 0.5 + has_focus = focus_theology + } + } + + option = { + name = EVTOPTA_SoA_5342 + wealth = -10 + set_character_flag = do_not_disturb + hidden_tooltip = { narrative_event = { id = SoA.5343 days = 10 } } + } + option = { + name = EVTOPTB_SoA_5342 + piety = -5 + } +} + +# Visiting Cluny +narrative_event = { + id = SoA.5343 + title = EVTNAME_SoA_5343 + desc = EVTDESC_SoA_5343 + picture = GFX_evt_monastery_nuns + border = GFX_event_narrative_frame_religion + + is_triggered_only = yes + + immediate = { + clr_character_flag = do_not_disturb + } + + option = { + name = EVTOPTA_SoA_5343 + random = { + chance = 20 + change_stewardship = 1 + } + } + option = { + name = EVTOPTB_SoA_5343 + if = { + limit = { + NOT = { lifestyle_traits = 1 } + NOT = { has_dlc = "Way of Life" } + } + random = { + chance = 50 + add_trait = scholar + } + } + random = { + chance = 20 + change_learning = 1 + } + } + option = { + name = EVTOPTC_SoA_5343 + if = { + limit = { + NOT = { lifestyle_traits = 1 } + NOT = { has_dlc = "Way of Life" } + } + random = { + chance = 50 + add_trait = hedonist + } + } + random = { + chance = 20 + change_intrigue = 1 + } + } + option = { + name = EVTOPTD_SoA_5343 + piety = 30 + add_character_modifier = { + name = the_pious + duration = 240 + } + } +} + +########################################### +# # +# Mount Athos # +# ID SoA.5344-SoA.5349 # +# # +########################################### + +# Priests at Mount Athos are very influential +character_event = { + id = SoA.5344 + + hide_window = yes + + only_rulers = yes + ai = yes + only_capable = yes + prisoner = no + religion_group = christian + + trigger = { + has_dlc = "Sons of Abraham" + year = 885 + is_priest = yes + has_landed_title = b_mntathos + OR = { + religion = orthodox + religion = bogomilist + religion = nestorian + religion = monothelite + religion = iconoclast + } + } + + mean_time_to_happen = { + months = 36 + } + + immediate = { + piety = 50 + prestige = 25 + } +} + +# Donate to Mount Athos monasteries +narrative_event = { + id = SoA.5345 + title = EVTNAME_SoA_5345 + desc = EVTDESC_SoA_5345 + picture = GFX_evt_monastery_monks + border = GFX_event_narrative_frame_religion + + only_playable = yes + min_age = 16 + only_capable = yes + prisoner = no + religion_group = christian + + trigger = { + wealth = 200 + has_dlc = "Sons of Abraham" + year = 885 + b_mntathos = { + holder_scope = { + is_priest = yes + religion = ROOT + } + } + OR = { + religion = orthodox + religion = bogomilist + religion = nestorian + religion = monothelite + religion = iconoclast + } + } + + mean_time_to_happen = { + months = 2000 + modifier = { + factor = 0.3 + has_focus = focus_theology + } + } + + option = { + name = EVTOPTA_SoA_5345 + ai_chance = { + factor = 20 + } + if = { + limit = { NOT = { wealth = 600 } } + wealth = -100 + prestige = 50 + piety = 50 + } + if = { + limit = { + wealth = 600 + } + wealth = -300 + prestige = 100 + piety = 100 + } + } + option = { + name = EVTOPTB_SoA_5345 + ai_chance = { + factor = 80 + } + } +} + +# Visit Mount Athos? +narrative_event = { + id = SoA.5346 + title = EVTNAME_SoA_5346 + desc = EVTDESC_SoA_5346 + picture = GFX_evt_icon + border = GFX_event_narrative_frame_religion + + ai = no + prisoner = no + only_capable = yes + only_men = yes + min_age = 16 + religion_group = christian + + trigger = { + has_dlc = "Sons of Abraham" + year = 885 + in_command = no + NOT = { trait = blinded } + NOT = { has_character_flag = do_not_disturb } + NOT = { is_inaccessible_trigger = yes } + b_mntathos = { + holder_scope = { + is_priest = yes + religion = ROOT + } + } + OR = { + religion = orthodox + religion = bogomilist + religion = nestorian + religion = monothelite + religion = iconoclast + } + distance = { + where = 491 # Mount Athos + value = 300 # Not too far away + } + } + + mean_time_to_happen = { + months = 2000 + modifier = { + factor = 0.5 + has_focus = focus_theology + } + } + + option = { + name = EVTOPTA_SoA_5346 + wealth = -10 + set_character_flag = do_not_disturb + hidden_tooltip = { narrative_event = { id = SoA.5347 days = 10 } } + } + option = { + name = EVTOPTB_SoA_5346 + piety = -5 + } +} + +# Visiting Mount Athos +narrative_event = { + id = SoA.5347 + title = EVTNAME_SoA_5347 + desc = EVTDESC_SoA_5347 + picture = GFX_evt_monastery_monks + border = GFX_event_narrative_frame_religion + + is_triggered_only = yes + + immediate = { + clr_character_flag = do_not_disturb + } + + option = { + name = EVTOPTA_SoA_5347 + random = { + chance = 20 + change_stewardship = 1 + } + } + option = { + name = EVTOPTB_SoA_5347 + random = { + chance = 20 + change_learning = 1 + } + if = { + limit = { + NOT = { lifestyle_traits = 1 } + NOT = { has_dlc = "Way of Life" } + } + random = { + chance = 50 + add_trait = scholar + } + } + } + option = { + name = EVTOPTC_SoA_5347 + piety = 30 + add_character_modifier = { + name = the_pious + duration = 240 + } + } +} + +########################################### +# # +# Jeanne d'Arc events # +# ID SoA.5350-SoA.5399 # +# # +########################################### + +character_event = { + id = SoA.5350 + + hide_window = yes + + ai = no + only_rulers = yes + only_independent = yes + prisoner = no + min_age = 16 + religion_group = christian + has_dlc = "Sons of Abraham" + war = yes + + trigger = { + NOR = { + has_game_rule = { + name = gender + value = all + } + has_law = status_of_women_4 + religion = cathar + religion = messalian + } + year = 1000 + OR = { + tier = emperor + tier = king + } + is_republic = no + is_priest = no + + primary_title = { + culture = ROOT + } + NOT = { has_global_flag = jeanne_darc_spawned } + } + + mean_time_to_happen = { + months = 3000 + } + + immediate = { + set_global_flag = jeanne_darc_spawned + create_character = { + random_traits = no + dynasty = NONE + religion = ROOT + culture = ROOT + female = yes + age = 17 + trait = zealous + trait = celibate + trait = chaste + trait = honest + trait = brave + trait = trusting + trait = brilliant_strategist + trait = inspiring_leader + trait = aggressive_leader + attributes = { + diplomacy = 15 + martial = 20 + stewardship = 5 + intrigue = 3 + learning = 3 + } + } + new_character = { + set_character_flag = is_jeanne_darc + set_character_flag = special_marshal + if = { + limit = { culture = frankish } + set_name = Jeanne + give_nickname = nick_darc + } + if = { + limit = { NOT = { culture = frankish } } + give_nickname = nick_the_maid + } + add_character_modifier = { + name = voice_of_jesus + duration = -1 + } + opinion = { + modifier = opinion_loyal_servant + who = ROOT + years = 100 + } + character_event = { id = SoA.5351 } + } + } +} + +# Jeanne event +character_event = { + id = SoA.5351 + + hide_window = yes + + is_triggered_only = yes + + immediate = { + liege = { + random_realm_province = { province_event = { id = SoA.5352 } } + } + } +} + +# Jeanne's home province +province_event = { + id = SoA.5352 + + hide_window = yes + + is_triggered_only = yes + + immediate = { + set_province_flag = home_of_jeanne_darc + FROMFROM = { narrative_event = { id = SoA.5353 } } + } +} + +# Notify monarch of this new servant of the crown +narrative_event = { + id = SoA.5353 + title = EVTNAME_SoA_5353 + desc = EVTDESC_SoA_5353 + picture = GFX_evt_large_army + border = GFX_event_narrative_frame_religion + + is_triggered_only = yes + + option = { + name = EVTOPTA_SoA_5353 + custom_tooltip = { text = jeanne_arrives_message } + hidden_tooltip = { + FROMFROM = { + character_event = { id = SoA.5354 days = 90 random = 60 } + } + } + } +} + +# Jeanne d'Arc - Nobles react +character_event = { + id = SoA.5354 + + hide_window = yes + + is_triggered_only = yes + + immediate = { + liege = { narrative_event = { id = SoA.5355 } } + } +} + +narrative_event = { + id = SoA.5355 + title = EVTNAME_SoA_5355 + desc = EVTDESC_SoA_5355 + picture = GFX_evt_scandal + + is_triggered_only = yes + + option = { + name = EVTOPTA_SoA_5355 + hidden_tooltip = { + any_realm_lord = { + limit = { + is_priest = no + is_republic = no + NOT = { trait = charitable } + NOT = { trait = kind } + NOT = { trait = humble } + } + hidden_tooltip = { + opinion = { + modifier = opinion_angry + who = ROOT + months = 18 + } + } + } + } + custom_tooltip = { text = most_lords_angry } + any_courtier = { + limit = { has_character_flag = is_jeanne_darc } + hidden_tooltip = { character_event = { id = SoA.5356 days = 90 random = 60 } } + } + } + option = { + name = EVTOPTB_SoA_5355 + trigger = { + diplomacy = 15 + } + prestige = 10 + tooltip_info = diplomacy + any_courtier = { + limit = { has_character_flag = is_jeanne_darc } + hidden_tooltip = { character_event = { id = SoA.5356 days = 90 random = 60 } } + } + } + option = { + name = EVTOPTC_SoA_5355 + any_courtier = { + limit = { + has_character_flag = is_jeanne_darc + } + prisoner = yes + clr_character_flag = special_marshal + hidden_tooltip = { character_event = { id = SoA.5390 days = 5 } } # Trial for heresy! + } + } +} + +# Jeanne d'Arc approaches liege to talk of God and life +character_event = { + id = SoA.5356 + + hide_window = yes + + is_triggered_only = yes + + immediate = { + liege = { + narrative_event = { id = SoA.5357 } + } + } +} + +narrative_event = { + id = SoA.5357 + title = EVTNAME_SoA_5357 + desc = EVTDESC_SoA_5357 + picture = GFX_evt_daughter_asking_father + border = GFX_event_narrative_frame_religion + + is_triggered_only = yes + + option = { + name = EVTOPTA_SoA_5357 + hidden_tooltip = { narrative_event = { id = SoA.5358 } } + } + option = { + name = EVTOPTB_SoA_5357 + piety = 30 + add_trait = zealous + hidden_tooltip = { narrative_event = { id = SoA.5359 } } + } + option = { + name = EVTOPTC_SoA_5357 + prestige = 30 + FROM = { + prestige = -30 + } + hidden_tooltip = { narrative_event = { id = SoA.5360 } } + } + option = { + name = EVTOPTD_SoA_5357 + custom_tooltip = { + text = TOOLTIP_SoA_5357 + } + trigger = { + trait = lustful + trait = cynical + intrigue = 10 + is_female = no + } + random_list = { + 20 = { + add_lover = FROM + FROM = { + remove_trait = celibate + prestige = -50 + if = { + limit = { has_nickname = nick_the_maid } + give_nickname = nick_the_bold + } + } + hidden_tooltip = { narrative_event = { id = SoA.5361 } } + } + 80 = { + hidden_tooltip = { narrative_event = { id = SoA.5362 } } + } + } + } +} + +narrative_event = { + id = SoA.5358 + title = EVTNAME_SoA_5358 + desc = EVTDESC_SoA_5358 + picture = GFX_evt_daughter_asking_father + border = GFX_event_narrative_frame_religion + + is_triggered_only = yes + + option = { + name = EVTOPTA_SoA_5358 + any_courtier = { + limit = { has_character_flag = is_jeanne_darc } + hidden_tooltip = { character_event = { id = SoA.5363 days = 90 random = 60 } } + } + } +} + +narrative_event = { + id = SoA.5359 + title = EVTNAME_SoA_5359 + desc = EVTDESC_SoA_5359 + picture = GFX_evt_knight_kneeling + border = GFX_event_narrative_frame_religion + + is_triggered_only = yes + + option = { + name = EVTOPTA_SoA_5359 + any_courtier = { + limit = { has_character_flag = is_jeanne_darc } + hidden_tooltip = { character_event = { id = SoA.5363 days = 90 random = 60 } } + } + } +} + +narrative_event = { + id = SoA.5360 + title = EVTNAME_SoA_5360 + desc = EVTDESC_SoA_5360 + picture = GFX_evt_bad_news_female + border = GFX_event_narrative_frame_religion + + is_triggered_only = yes + + option = { + name = EVTOPTA_SoA_5360 + any_courtier = { + limit = { has_character_flag = is_jeanne_darc } + hidden_tooltip = { character_event = { id = SoA.5363 days = 90 random = 60 } } + } + } +} + +narrative_event = { + id = SoA.5361 + title = EVTNAME_SoA_5361 + desc = EVTDESC_SoA_5361 + picture = GFX_evt_lovers + border = GFX_event_narrative_frame_religion + + is_triggered_only = yes + + option = { + name = EVTOPTA_SoA_5361 + any_courtier = { + limit = { has_character_flag = is_jeanne_darc } + hidden_tooltip = { character_event = { id = SoA.5363 days = 90 random = 60 } } + } + } +} + +narrative_event = { + id = SoA.5362 + title = EVTNAME_SoA_5362 + desc = EVTDESC_SoA_5362 + picture = GFX_evt_bad_news_female + border = GFX_event_narrative_frame_religion + + is_triggered_only = yes + + option = { + name = EVTOPTA_SoA_5362 + any_courtier = { + limit = { has_character_flag = is_jeanne_darc } + hidden_tooltip = { character_event = { id = SoA.5363 days = 90 random = 60 } } + } + } +} + +# Peasants like Jeanne +character_event = { + id = SoA.5363 + + hide_window = yes + + is_triggered_only = yes + + immediate = { + liege = { + narrative_event = { id = SoA.5364 } + } + } +} + +narrative_event = { + id = SoA.5364 + title = EVTNAME_SoA_5364 + desc = EVTDESC_SoA_5364 + picture = GFX_evt_stone_church + + is_triggered_only = yes + + option = { + name = EVTOPTA_SoA_5364 + add_character_modifier = { + name = realm_religious_fervor + duration = 365 + } + any_courtier = { + limit = { has_character_flag = is_jeanne_darc } + hidden_tooltip = { character_event = { id = SoA.5365 days = 90 random = 60 } } + } + } +} + +# Jeanne comes with advice to liege +character_event = { + id = SoA.5365 + + hide_window = yes + + is_triggered_only = yes + + immediate = { + liege = { + narrative_event = { id = SoA.5366 } + } + } +} + +narrative_event = { + id = SoA.5366 + title = EVTNAME_SoA_5366 + desc = EVTDESC_SoA_5366 + picture = GFX_evt_throne_room + + is_triggered_only = yes + + option = { + name = EVTOPTA_SoA_5366 + piety = 30 + military_techpoints = 50 + any_realm_lord = { + limit = { + is_priest = no + is_republic = no + NOT = { trait = brilliant_strategist } + NOT = { trait = skilled_tactician } + NOT = { trait = humble } + } + hidden_tooltip = { + opinion = { + modifier = opinion_angry + who = ROOT + months = 18 + } + } + } + custom_tooltip = { text = most_lords_angry } + any_courtier = { + limit = { has_character_flag = is_jeanne_darc } + hidden_tooltip = { character_event = { id = SoA.5367 days = 90 random = 60 } } + } + } + option = { + name = EVTOPTB_SoA_5366 + prestige = 30 + any_courtier = { + limit = { has_character_flag = is_jeanne_darc } + prestige = -30 + hidden_tooltip = { character_event = { id = SoA.5367 days = 90 random = 60 } } + } + } + option = { + name = EVTOPTC_SoA_5366 + any_courtier = { + limit = { + has_character_flag = is_jeanne_darc + } + prisoner = yes + clr_character_flag = special_marshal + hidden_tooltip = { character_event = { id = SoA.5390 days = 5 } } # Trial for heresy! + } + } +} + +# Jeanne d'Arc - Church reacts +character_event = { + id = SoA.5367 + + hide_window = yes + + is_triggered_only = yes + + immediate = { + liege = { + narrative_event = { id = SoA.5368 } + } + } +} + +narrative_event = { + id = SoA.5368 + title = EVTNAME_SoA_5368 + desc = EVTDESC_SoA_5368 + picture = GFX_evt_courtiers_talking + border = GFX_event_narrative_frame_religion + + is_triggered_only = yes + + option = { + name = EVTOPTA_SoA_5368 + hidden_tooltip = { + any_realm_lord = { + limit = { + is_priest = yes + NOT = { trait = charitable } + NOT = { trait = kind } + NOT = { trait = humble } + } + hidden_tooltip = { + opinion = { + modifier = opinion_angry + who = ROOT + months = 18 + } + } + } + } + custom_tooltip = { text = most_clergy_angry } + any_courtier = { + limit = { has_character_flag = is_jeanne_darc } + hidden_tooltip = { character_event = { id = SoA.5369 days = 90 random = 60 } } + } + } + option = { + name = EVTOPTB_SoA_5368 + trigger = { + diplomacy = 15 + } + prestige = 20 + tooltip_info = diplomacy + any_courtier = { + limit = { has_character_flag = is_jeanne_darc } + hidden_tooltip = { character_event = { id = SoA.5369 days = 90 random = 60 } } + } + } + option = { + name = EVTOPTC_SoA_5368 + any_courtier = { + limit = { + has_character_flag = is_jeanne_darc + } + prisoner = yes + clr_character_flag = special_marshal + hidden_tooltip = { character_event = { id = SoA.5390 days = 5 } } # Trial for heresy! + } + } +} + +# Jeanne d'Arc - Jeanne's ways affect liege +character_event = { + id = SoA.5369 + + hide_window = yes + + is_triggered_only = yes + + immediate = { + liege = { + narrative_event = { id = SoA.5370 } + } + } +} + +narrative_event = { + id = SoA.5370 + title = EVTNAME_SoA_5370 + desc = EVTDESC_SoA_5370 + picture = GFX_evt_princess_byzantine + border = GFX_event_narrative_frame_religion + + is_triggered_only = yes + + option = { + name = EVTOPTA_SoA_5370 + piety = 30 + if = { + limit = { NOT = { trait = zealous } } + random = { + chance = 20 + add_trait = zealous + hidden_tooltip = { + character_event = { + id = 38269 #Notify Zealous + } + } + } + } + any_courtier = { + limit = { has_character_flag = is_jeanne_darc } + hidden_tooltip = { character_event = { id = SoA.5371 days = 90 random = 60 } } + } + } + option = { + name = EVTOPTB_SoA_5370 + if = { + limit = { NOT = { trait = cynical } } + random = { + chance = 30 + add_trait = cynical + hidden_tooltip = { + character_event = { + id = 38258 #Notify Cynical + } + } + } + } + any_courtier = { + limit = { has_character_flag = is_jeanne_darc } + hidden_tooltip = { character_event = { id = SoA.5371 days = 90 random = 60 } } + } + } +} + +# Jeanne d'Arc - Nobles complain again - issue of low birth +character_event = { + id = SoA.5371 + + hide_window = yes + + is_triggered_only = yes + + immediate = { + any_independent_ruler = { + any_realm_province = { + limit = { has_province_flag = home_of_jeanne_darc } + province_event = { id = SoA.5372 } + } + } + } +} + +province_event = { + id = SoA.5372 + + hide_window = yes + + is_triggered_only = yes + + immediate = { + FROMFROM = { narrative_event = { id = SoA.5373 } } + } +} + +narrative_event = { + id = SoA.5373 + title = EVTNAME_SoA_5373 + desc = EVTDESC_SoA_5373 + picture = GFX_evt_courtiers_talking + + is_triggered_only = yes + + option = { + name = EVTOPTA_SoA_5373 + any_realm_lord = { + limit = { + is_priest = no + is_republic = no + NOT = { trait = charitable } + NOT = { trait = kind } + NOT = { trait = humble } + } + hidden_tooltip = { + opinion = { + modifier = opinion_angry + who = ROOT + months = 18 + } + } + } + custom_tooltip = { text = most_lords_angry } + any_courtier = { + limit = { + has_character_flag = is_jeanne_darc + } + hidden_tooltip = { character_event = { id = SoA.5396 days = 1460 } } + } + } + option = { + name = EVTOPTB_SoA_5373 + any_courtier = { + limit = { + has_character_flag = is_jeanne_darc + } + prestige = -100 + hidden_tooltip = { character_event = { id = SoA.5396 days = 1460 } } + } + } + option = { + name = EVTOPTC_SoA_5373 + any_courtier = { + limit = { + has_character_flag = is_jeanne_darc + NOT = { has_nickname = nick_darc } + } + prestige = 200 + dynasty = 849 # New dynasty + hidden_tooltip = { character_event = { id = SoA.5396 days = 1460 } } + } + any_courtier = { + limit = { + has_character_flag = is_jeanne_darc + has_nickname = nick_darc + } + prestige = 100 + give_nickname = nick_the_maid + dynasty = 848 # d'Arc + hidden_tooltip = { character_event = { id = SoA.5396 days = 1460 } } + } + } + option = { + name = EVTOPTD_SoA_5373 + any_courtier = { + limit = { + has_character_flag = is_jeanne_darc + } + prisoner = yes + clr_character_flag = special_marshal + hidden_tooltip = { character_event = { id = SoA.5390 days = 5 } } # Trial for heresy! + } + } +} + +# If Jeanne d'Arc marries +character_event = { + id = SoA.5380 + + hide_window = yes + + ai = no + religion_group = christian + + trigger = { + has_global_flag = jeanne_darc_spawned + NOT = { has_global_flag = jeanne_darc_married } + any_courtier = { + has_character_flag = is_jeanne_darc + is_married = yes + } + } + + mean_time_to_happen = { + days = 1 + } + + immediate = { + any_courtier = { + limit = { has_character_flag = is_jeanne_darc } + character_event = { id = SoA.5381 } + } + } +} + +character_event = { + id = SoA.5381 + + hide_window = yes + + is_triggered_only = yes + + immediate = { + FROM = { + narrative_event = { id = SoA.5382 } + } + } +} + +narrative_event = { + id = SoA.5382 + title = EVTNAME_SoA_5382 + desc = EVTDESC_SoA_5382 + picture = GFX_evt_marriage + + is_triggered_only = yes + + option = { + name = EVTOPTA_SoA_5382 + set_global_flag = jeanne_darc_married + FROM = { + clr_character_flag = special_marshal + remove_title = job_marshal + if = { + limit = { has_nickname = nick_the_maid } + give_nickname = nick_the_bold + } + } + } +} + +# If Jeanne d'Arc has a child +character_event = { + id = SoA.5383 + + hide_window = yes + + ai = no + religion_group = christian + + trigger = { + has_global_flag = jeanne_darc_spawned + NOT = { has_global_flag = jeanne_darc_mother } + any_courtier = { + has_character_flag = is_jeanne_darc + num_of_children = 1 + } + } + + mean_time_to_happen = { + days = 1 + } + + immediate = { + any_courtier = { + limit = { has_character_flag = is_jeanne_darc } + character_event = { id = SoA.5384 } + } + } +} + +character_event = { + id = SoA.5384 + + hide_window = yes + + is_triggered_only = yes + + immediate = { + FROM = { + narrative_event = { id = SoA.5385 } + } + } +} + +narrative_event = { + id = SoA.5385 + title = EVTNAME_SoA_5385 + desc = EVTDESC_SoA_5385 + picture = GFX_evt_birth + + is_triggered_only = yes + + option = { + name = EVTOPTA_SoA_5385 + set_global_flag = jeanne_darc_mother + FROM = { + if = { + limit = { has_nickname = nick_the_maid } + give_nickname = nick_the_bold + } + } + } +} + +# Trial of Jeanne d'Arc begins +character_event = { + id = SoA.5390 + + hide_window = yes + + is_triggered_only = yes + + immediate = { + liege = { + narrative_event = { id = SoA.5391 } + } + } +} + +narrative_event = { + id = SoA.5391 + title = EVTNAME_SoA_5391 + desc = EVTDESC_SoA_5391 + picture = GFX_evt_scandal + border = GFX_event_narrative_frame_religion + + is_triggered_only = yes + + option = { + name = EVTOPTA_SoA_5391 + hidden_tooltip = { + any_courtier = { + limit = { has_character_flag = is_jeanne_darc } + hidden_tooltip = { character_event = { id = SoA.5450 days = 30 random = 30 } } + } + } + } +} + +character_event = { + id = SoA.5450 + + hide_window = yes + + is_triggered_only = yes + + immediate = { + liege = { + narrative_event = { id = SoA.5392 } + } + } +} + +# Trial of Jeanne d'Arc - give verdict +narrative_event = { + id = SoA.5392 + title = EVTNAME_SoA_5392 + desc = EVTDESC_SoA_5392 + picture = GFX_evt_into_the_dungeon + border = GFX_event_narrative_frame_religion + + is_triggered_only = yes + + option = { + name = EVTOPTA_SoA_5392 + any_courtier = { + limit = { has_character_flag = is_jeanne_darc } + set_character_flag = jeanne_guilty + hidden_tooltip = { character_event = { id = SoA.5393 } } + } + } + option = { + name = EVTOPTB_SoA_5392 + any_courtier = { + limit = { has_character_flag = is_jeanne_darc } + set_character_flag = jeanne_innocent + hidden_tooltip = { character_event = { id = SoA.5393 } } + } + } +} + +character_event = { + id = SoA.5393 + + hide_window = yes + + is_triggered_only = yes + + immediate = { + if = { + limit = { + has_character_flag = jeanne_guilty + } + liege = { + narrative_event = { id = SoA.5394 } + } + } + if = { + limit = { + has_character_flag = jeanne_innocent + } + liege = { + narrative_event = { id = SoA.5395 } + } + } + } +} + +# Jeanne d'Arc is burned at the stake +narrative_event = { + id = SoA.5394 + title = EVTNAME_SoA_5394 + desc = EVTDESC_SoA_5394 + picture = GFX_evt_riots_byzantine + border = GFX_event_narrative_frame_religion + + is_triggered_only = yes + + option = { + name = EVTOPTA_SoA_5394 + any_courtier = { + limit = { + has_character_flag = is_jeanne_darc + } + death = { + death_reason = death_execution_burning + } + } + } +} + +# Jeanne d'Arc aquitted +narrative_event = { + id = SoA.5395 + title = EVTNAME_SoA_5395 + desc = EVTDESC_SoA_5395 + picture = GFX_evt_monastery_nuns + border = GFX_event_narrative_frame_religion + + is_triggered_only = yes + + option = { + name = EVTOPTA_SoA_5395 + any_courtier = { + limit = { + has_character_flag = is_jeanne_darc + } + prisoner = no + add_trait = nun + hidden_tooltip = { character_event = { id = SoA.5396 days = 1460 } } + } + } +} + +# Stormy times over for Jeanne d'Arc +character_event = { + id = SoA.5396 + + hide_window = yes + + is_triggered_only = yes + + immediate = { + any_independent_ruler = { + any_realm_province = { + limit = { has_province_flag = home_of_jeanne_darc } + province_event = { id = SoA.5397 } + } + } + } +} + +province_event = { + id = SoA.5397 + + hide_window = yes + + is_triggered_only = yes + + immediate = { + FROM = { + liege = { + narrative_event = { id = SoA.5398 } + } + } + } +} + +# Notification of stormy times over for Jeanne d'Arc +narrative_event = { + id = SoA.5398 + title = EVTNAME_SoA_5398 + desc = EVTDESC_SoA_5398 + picture = GFX_evt_princess_byzantine + border = GFX_event_narrative_frame_religion + + is_triggered_only = yes + + option = { + name = EVTOPTA_SoA_5398 + } +} + +########################################### +# # +# Unfortunate crusade-related events # +# ID SoA.5400-SoA.5409 # +# # +########################################### + +# Massacre at Beziers - fires from on_siege_over_winner +narrative_event = { + id = SoA.5400 + title = EVTNAME_SoA_5400 + desc = EVTDESC_SoA_5400 + picture = GFX_evt_burning_house + border = GFX_event_narrative_frame_war + + is_triggered_only = yes + + only_rulers = yes + + trigger = { + has_dlc = "Sons of Abraham" + any_war = { + using_cb = crusade + } + top_liege = { + is_parent_religion = ROOT + } + FROM = { + holder_scope = { + is_heretic = yes + is_republic = yes + } + } + } + + option = { + name = EVTOPTA_SoA_5400 + if = { + limit = { NOT = { trait = cruel } } + add_trait = cruel + } + wealth = 30 + FROM = { + destroy_random_building = yes + destroy_random_building = yes + holder_scope = { + any_courtier = { + limit = { + at_location = FROM + } + random = { + chance = 50 + death = { + death_reason = death_murder + killer = ROOT + } + } + } + if = { + limit = { + at_location = FROM + } + random = { + chance = 50 + death = { + death_reason = death_murder + killer = ROOT + } + } + } + } + } + } + option = { + name = EVTOPTB_SoA_5400 + if = { + limit = { NOT = { trait = kind } } + random = { + chance = 30 + add_trait = kind + hidden_tooltip = { + character_event = { + id = 38268 #Notify Kind + } + } + } + } + } +} + +# Shepherds' Crusade +narrative_event = { + id = SoA.5401 + title = EVTNAME_SoA_5401 + desc = EVTDESC_SoA_5401 + picture = GFX_evt_peasants + border = GFX_event_narrative_frame_war + + only_playable = yes + religion_group = christian + war = yes + has_dlc = "Sons of Abraham" + + trigger = { + higher_tier_than = DUKE + OR = { + religion = catholic + religion = fraticelli + religion = waldensian + religion = lollard + religion = cathar + } + any_war = { + using_cb = crusade + } + any_war = { + NOT = { + OR = { + using_cb = depose_liege + using_cb = bid_for_independence + } + } + } + NOT = { has_global_flag = shepherds_crusade } + } + + mean_time_to_happen = { + months = 1000 + } + + immediate = { + set_global_flag = shepherds_crusade + } + + option = { + name = EVTOPTA_SoA_5401 + trigger = { + wealth = 500 + } + wealth = -500 + } + + option = { + name = EVTOPTC_SoA_5401 + set_global_flag = shepherds_crusade_active + random_realm_province = { province_event = { id = SoA.5405 } } + } +} + +province_event = { + id = SoA.5405 + + hide_window = yes + + is_triggered_only = yes + + immediate = { + create_character = { + random_traits = yes + dynasty = none + religion = FROM + culture = hungarian + female = no + age = 60 + trait = martial_cleric + trait = zealous + trait = monk + } + new_character = { + set_character_flag = shepherds_crusade_leader + set_character_flag = special_marshal + give_nickname = nick_the_master_of_hungary + prestige = 50 + piety = 200 + create_title = { + tier = DUKE + landless = yes + temporary = yes + rebel = yes + culture = ROOT + name = "SHEPHERDS_CRUSADE" + holder = THIS + } + spawn_unit = { + owner = THIS + #leader = THIS + province = ROOT + home = ROOT + troops = { + light_infantry = { 10000 10000 } + } + attrition = 1.0 + disband_on_peace = yes + } + spawn_unit = { + owner = THIS + province = ROOT + home = ROOT + troops = { + light_infantry = { 10000 10000 } + } + attrition = 1.0 + disband_on_peace = yes + } + spawn_unit = { + owner = THIS + province = ROOT + home = ROOT + troops = { + light_infantry = { 10000 10000 } + } + attrition = 1.0 + disband_on_peace = yes + } + set_defacto_liege = FROM + FROM = { + capital_scope = { + holder_scope = { + reverse_war = { + target = PREVPREVPREV + casus_belli = depose_liege + } + } + } + } + character_event = { id = SoA.5402 days = 365 random = 180 } # Collapse which will come later + } + } +} + +# Shepherds crusade collapses +character_event = { + id = SoA.5402 + + hide_window = yes + + is_triggered_only = yes + + immediate = { + any_war = { + limit = { + attacker = { character = ROOT } + } + end_war = invalid + } + death = { + death_reason = death_accident + } + clr_global_flag = shepherds_crusade_active + FROMFROM = { + character_event = { id = SoA.5403 } + } + } +} + +# Notify player of Shepherds crusade collapse +character_event = { + id = SoA.5403 + desc = EVTDESC_SoA_5403 + picture = GFX_evt_stone_church + + is_triggered_only = yes + + option = { + name = EVTOPTA_SoA_5403 + } +} + +# Shepherds' Crusade kills a local Jew or priest. Fired from 'on_siege_over_loc_chars'. +# Siege winner unit owner in the 'new_character' scope, lost holding title in FROM, local character in ROOT. +character_event = { + id = SoA.5406 + + hide_window = yes + + is_triggered_only = yes + + trigger = { + OR = { + religion_group = jewish_group + is_priest = yes + } + new_character = { + rebel = yes + has_character_flag = shepherds_crusade_leader + } + } + + immediate = { + random = { + chance = 50 + new_character = { + ROOT = { + death = { + death_reason = death_rabble + killer = PREV + } + } + } + any_liege = { # Inform the victim's lieges + character_event = { + id = SoA.5409 + } + } + } + } +} + +# Liege notified of killing of character by Shepherds' Crusade +character_event = { + id = SoA.5409 + desc = EVTDESC_SoA_5409 + picture = GFX_evt_beheading + border = GFX_event_normal_frame_war + + is_triggered_only = yes + + option = { + name = EVTOPTA_SoA_5409 + } +} + +########################################### +# # +# Religious tolerance events # +# ID SoA.5410-SoA. # +# # +########################################### + +# Tolerant character making Christian friend +character_event = { + id = SoA.5410 + desc = EVTDESC_SoA_5410 + picture = GFX_evt_courtiers_talking + border = GFX_event_normal_frame_religion + + only_playable = yes + prisoner = no + only_capable = yes + min_age = 16 + + trigger = { + trait = sympathy_christendom + has_dlc = "Sons of Abraham" + any_courtier = { + religion_group = christian + prisoner = no + is_adult = yes + NOT = { trait = incapable } + NOT = { is_friend = ROOT } + } + } + + mean_time_to_happen = { + months = 300 + } + + option = { + name = EVTOPTA_SoA_5410 + any_courtier = { + limit = { + religion_group = christian + prisoner = no + is_adult = yes + NOT = { trait = incapable } + NOT = { is_friend = ROOT } + } + add_friend = ROOT + } + } +} + +# Tolerant character making Muslim friend +character_event = { + id = SoA.5411 + desc = EVTDESC_SoA_5411 + picture = GFX_evt_courtiers_talking + border = GFX_event_normal_frame_religion + + only_playable = yes + prisoner = no + only_capable = yes + min_age = 16 + + trigger = { + trait = sympathy_islam + has_dlc = "Sons of Abraham" + any_courtier = { + religion_group = muslim + prisoner = no + is_adult = yes + NOT = { trait = incapable } + NOT = { is_friend = ROOT } + } + } + + mean_time_to_happen = { + months = 300 + } + + option = { + name = EVTOPTA_SoA_5411 + random_courtier = { + limit = { + religion_group = muslim + prisoner = no + is_adult = yes + NOT = { trait = incapable } + NOT = { is_friend = ROOT } + } + add_friend = ROOT + } + } +} + +# Tolerant character making Pagan friend +character_event = { + id = SoA.5412 + desc = EVTDESC_SoA_5412 + picture = GFX_evt_courtiers_talking + border = GFX_event_normal_frame_religion + + only_playable = yes + prisoner = no + only_capable = yes + min_age = 16 + + trigger = { + trait = sympathy_pagans + has_dlc = "Sons of Abraham" + any_courtier = { + religion_group = pagan_group + prisoner = no + is_adult = yes + NOT = { trait = incapable } + NOT = { is_friend = ROOT } + } + } + + mean_time_to_happen = { + months = 300 + } + + option = { + name = EVTOPTA_SoA_5412 + random_courtier = { + limit = { + religion_group = pagan_group + prisoner = no + is_adult = yes + NOT = { trait = incapable } + NOT = { is_friend = ROOT } + } + add_friend = ROOT + } + } +} + +# Tolerant character making Zoroastrian friend +character_event = { + id = SoA.5413 + desc = EVTDESC_SoA_5413 + picture = GFX_evt_courtiers_talking + border = GFX_event_normal_frame_religion + + only_playable = yes + prisoner = no + only_capable = yes + min_age = 16 + + trigger = { + trait = sympathy_zoroastrianism + has_dlc = "Sons of Abraham" + any_courtier = { + religion_group = zoroastrian_group + prisoner = no + is_adult = yes + NOT = { trait = incapable } + NOT = { is_friend = ROOT } + } + } + + mean_time_to_happen = { + months = 300 + } + + option = { + name = EVTOPTA_SoA_5413 + random_courtier = { + limit = { + religion_group = zoroastrian_group + prisoner = no + is_adult = yes + NOT = { trait = incapable } + NOT = { is_friend = ROOT } + } + add_friend = ROOT + } + } +} + +# Tolerant character making Jewish friend +character_event = { + id = SoA.5414 + desc = EVTDESC_SoA_5414 + picture = GFX_evt_courtiers_talking + border = GFX_event_normal_frame_religion + + only_playable = yes + prisoner = no + only_capable = yes + min_age = 16 + + trigger = { + trait = sympathy_judaism + has_dlc = "Sons of Abraham" + any_courtier = { + religion_group = jewish_group + prisoner = no + is_adult = yes + NOT = { trait = incapable } + NOT = { is_friend = ROOT } + } + } + + mean_time_to_happen = { + months = 300 + } + + option = { + name = EVTOPTA_SoA_5414 + random_courtier = { + limit = { + religion_group = jewish_group + prisoner = no + is_adult = yes + NOT = { trait = incapable } + NOT = { is_friend = ROOT } + } + add_friend = ROOT + } + } +} + +# Zealous character insults other religions +character_event = { + id = SoA.5420 + desc = EVTDESC_SoA_5420 + picture = GFX_evt_scandal + border = GFX_event_normal_frame_religion + + only_playable = yes + prisoner = no + only_capable = yes + min_age = 16 + + trigger = { + trait = zealous + trait = wroth + NOT = { diplomacy = 5 } + has_dlc = "Sons of Abraham" + higher_tier_than = COUNT + } + + mean_time_to_happen = { + months = 300 + } + + option = { + name = EVTOPTA_SoA_5420 + hidden_tooltip = { + any_realm_character = { + limit = { + NOT = { religion_group = ROOT } + prisoner = no + is_adult = yes + NOT = { trait = incapable } + NOT = { is_friend = ROOT } + } + opinion = { + modifier = insulted + who = ROOT + years = 1 + } + } + } + custom_tooltip = { text = insulted_realm_infidels } + } +} + +# Muslim tolerance towards Judaism and Christianity +character_event = { + id = SoA.5425 + desc = EVTDESC_SoA_5425 + picture = GFX_evt_bishop + border = GFX_event_normal_frame_religion + + only_rulers = yes + min_age = 16 + prisoner = no + only_capable = yes + religion_group = muslim + + trigger = { + NOR = { + trait = zealous + trait = holy_warrior + trait = ashari + trait = mujahid + } + OR = { + NOT = { trait = sympathy_judaism } + NOT = { trait = sympathy_christendom } + } + } + + mean_time_to_happen = { + months = 1200 + modifier = { + factor = 0.5 + trait = cynical + } + modifier = { + factor = 0.5 + trait = mutazilite + } + } + + option = { + name = EVTOPTA_SoA_5425 + if = { + limit = { NOT = { trait = sympathy_judaism } } + add_trait = sympathy_judaism + } + if = { + limit = { NOT = { trait = sympathy_christendom } } + add_trait = sympathy_christendom + } + } +} + diff --git a/LCDA/events/soa_various_events.txt b/LCDA/events/soa_various_events.txt new file mode 100644 index 0000000..435ca6c --- /dev/null +++ b/LCDA/events/soa_various_events.txt @@ -0,0 +1,2635 @@ +# ASK_FOR_MONEY_INTERACTION_ACCEPT_EVENT = +diploresponse_event = { + id = SoA.3100 + desc = "EVTDESC_SOA_3100" + + is_triggered_only = yes + major = no + is_friendly = yes + ai = no + + trigger = { + always = yes + } + + option = { + name = "OK" + } +} + +# ASK_FOR_MONEY_INTERACTION_DECLINE_EVENT = +diploresponse_event = { + id = SoA.3101 + desc = "EVTDESC_SOA_3101" + + is_triggered_only = yes + major = no + is_hostile = yes + ai = no + + trigger = { + always = yes + } + + option = { + name = "OK" + } +} + +# NOMINATE_BISHOP_TO_POPE_INTERACTION_ACCEPT_EVENT = +diploresponse_event = { + id = SoA.3102 + desc = "EVTDESC_SOA_3102" + + is_triggered_only = yes + major = no + is_friendly = yes + ai = no + + trigger = { + always = yes + } + + option = { + name = "OK" + } +} + +# NOMINATE_BISHOP_TO_POPE_INTERACTION_DECLINE_EVENT = +diploresponse_event = { + id = SoA.3103 + desc = "EVTDESC_SOA_3103" + + is_triggered_only = yes + major = no + is_hostile = yes + ai = no + + trigger = { + always = yes + } + + option = { + name = "OK" + } +} + +# ASK_FOR_CLAIM_INTERACTION_ACCEPT_EVENT +diploresponse_event = { + id = SoA.3104 + desc = "EVTDESC_SOA_3104" + + is_triggered_only = yes + major = no + is_hostile = yes + ai = no + + trigger = { + always = yes + } + + option = { + name = "OK" + } +} + +# ASK_FOR_MONEY_INTERACTION_DECLINE_EVENT +diploresponse_event = { + id = SoA.3105 + desc = "EVTDESC_SOA_3105" + + is_triggered_only = yes + major = no + is_hostile = yes + ai = no + + trigger = { + always = yes + } + + option = { + name = "OK" + } +} + +########################################### +# Demon Child Narrative Event Chain +########################################### +# by Henrik Fåhraeus +########################################### + +# Apart from these events, other events have been modified to make sure the Demon character is very likely to start adventures and is hard to kill + +# Event triggers for a player +character_event = { + id = SoA.3000 + hide_window = yes + + only_playable = yes + + trigger = { + OR = { + has_dlc = "Sons of Abraham" + has_dlc = "Mystics" + } + OR = { + ai = no + has_game_rule = { + name = supernatural_events + value = unrestricted + } + } + NOT = { + has_game_rule = { + name = supernatural_events + value = off + } + } + OR = { + religion_group = christian + religion_group = muslim + religion_group = zoroastrian_group + religion_group = jewish_group + } + any_child = { + NOT = { age = 3 } + is_ill = no + NOT = { trait = inbred } + } + NOT = { has_global_flag = demon_child_born } + } + + mean_time_to_happen = { + years = 500 + modifier = { + factor = 0.5 + trait = possessed + } + modifier = { + factor = 0.75 + trait = lunatic + } + modifier = { + factor = 0.75 + trait = cruel + } + modifier = { + factor = 0.75 + trait = impaler + } + modifier = { + factor = 0.25 + society_member_of = the_satanists + } + } + + immediate = { + random_child = { + limit = { + NOT = { age = 3 } + is_ill = no + NOT = { trait = inbred } + } + character_event = { id = SoA.3001 } + } + } +} + +# Event triggers for the child +# Can also be fired from event 335 +character_event = { + id = SoA.3001 + hide_window = yes + + is_triggered_only = yes + + immediate = { + set_character_flag = demon_child_non_pagan + set_global_flag = demon_child_born + add_character_modifier = { + name = demon_child_non_pagan + hidden = yes + days = -1 + } + remove_trait = sickly + FROM = { narrative_event = { id = SoA.3002 } } + character_event = { id = SoA.3019 days = 90 random = 90 } # Demon child tombola + } +} + +# First narrative event +narrative_event = { + id = SoA.3002 + title = EVTTITLE_SOA_3002 + desc = EVTDESC_SOA_3002 + picture = GFX_evt_birth + border = GFX_event_narrative_frame_religion + + is_triggered_only = yes + + option = { + name = { + text = EVTOPTA_SOA_3002 # Pray and fast, father + trigger = { + NOT = { society_member_of = the_satanists } + } + } + name = { + text = EVTOPTA_SOA_3002_SATANIST # Rejoice, father + trigger = { + society_member_of = the_satanists + } + } + + ai_chance = { + factor = 100 + } + + if = { + limit = { society_member_of = the_satanists } + add_society_currency_major_effect = yes + } + + trigger = { + is_female = no + } + random_list = { + 50 = { + } + 50 = { + FROM = { + add_character_modifier = { + name = suspected_demon_spawn + duration = -1 + } + } + } + } + } + + option = { + name = { + text = EVTOPTB_SOA_3002 # Pray and fast, mother + trigger = { + NOT = { society_member_of = the_satanists } + } + } + name = { + text = EVTOPTB_SOA_3002_SATANIST # Rejoice, mother + trigger = { + society_member_of = the_satanists + } + } + + trigger = { + is_female = yes + } + + ai_chance = { + factor = 100 + } + + if = { + limit = { society_member_of = the_satanists } + add_society_currency_massive_effect = yes + } + + random_list = { + 50 = { + } + 50 = { + FROM = { + add_character_modifier = { + name = suspected_demon_spawn + duration = -1 + } + } + } + } + random_list = { + 50 = { + } + 50 = { + add_character_modifier = { + name = suspected_witch + duration = -1 + } + } + } + } + + option = { + name = EVTOPTC_SOA_3002 # Consult the Court Chaplain + + trigger = { + NOT = { society_member_of = the_satanists } + job_spiritual = { + religion = ROOT + } + } + job_spiritual = { + character_event = { id = SoA.3003 days = 2 tooltip = EVTTOOLTIP_SOA_3003 } + } + } +} + +# Court Chaplain Consulted triggers for the child +character_event = { + id = SoA.3003 + desc = EVTDESC_SOA_3003 + picture = GFX_evt_birth + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + option = { + name = EVTOPTA_SOA_3003 # Tell not to worry + ai_chance = { + factor = 100 + modifier = { + factor = 0 + trait = zealous + NOT = { society_member_of = the_satanists } + } + modifier = { + factor = 2 + FROM = { + is_female = yes + trait = kind + } + } + modifier = { + factor = 2 + FROM = { + is_female = yes + trait = chaste + } + } + modifier = { + factor = 2 + FROM = { + is_female = yes + trait = zealous + } + } + modifier = { + factor = 2 + opinion = { + who = FROM + value = 50 + } + } + } + hidden_tooltip = { + FROMFROM = { + character_event = { id = SoA.3004 days = 2 } + } + } + } + + option = { + name = EVTOPTB_SOA_3003 # Accuse of witchcraft + trigger = { + FROM = { is_female = yes } + } + ai_chance = { + factor = 100 + modifier = { + factor = 0 + trait = cynical + } + modifier = { + factor = 0 + society_member_of = the_satanists + } + modifier = { + factor = 2 + trait = cruel + } + modifier = { + factor = 2 + trait = arbitrary + } + modifier = { + factor = 2 + FROM = { trait = possessed } + } + modifier = { + factor = 2 + FROM = { trait = lunatic } + } + modifier = { + factor = 2 + FROM = { trait = cruel } + } + modifier = { + factor = 4 + FROM = { trait = impaler } + } + modifier = { + factor = 2 + FROM = { trait = mystic } + } + modifier = { + factor = 2 + FROM = { trait = lustful } + } + modifier = { + factor = 2 + NOT = { + opinion = { + who = FROM + value = 0 + } + } + } + modifier = { + factor = 2 + NOT = { + opinion = { + who = FROM + value = -50 + } + } + } + } + + tooltip = { + FROM = { + character_event = { id = SoA.3005 days = 2 tooltip = EVTTOOLTIP_SOA_3005 } + } + } + + hidden_tooltip = { + FROMFROM = { + character_event = { id = SoA.3005 days = 2 } + } + } + } + + option = { + name = EVTOPTB_SOA_3003 # Accuse mother of witchcraft + trigger = { + FROM = { + is_female = no + } + FROMFROM = { + mother_even_if_dead = { + is_alive = yes + } + } + } + + ai_chance = { + factor = 100 + modifier = { + factor = 0 + trait = cynical + } + modifier = { + factor = 0 + society_member_of = the_satanists + } + modifier = { + factor = 2 + trait = arbitrary + } + modifier = { + factor = 2 + FROMFROM = { mother = { trait = possessed } } + } + modifier = { + factor = 2 + FROMFROM = { mother = { trait = lunatic } } + } + modifier = { + factor = 2 + FROMFROM = { mother = { trait = cruel } } + } + modifier = { + factor = 4 + FROMFROM = { mother = { trait = impaler } } + } + modifier = { + factor = 2 + FROMFROM = { mother = { trait = mystic } } + } + modifier = { + factor = 2 + FROMFROM = { mother = { trait = lustful } } + } + modifier = { + factor = 5 + FROMFROM = { mother = { NOT = { religion = ROOT } } } + } + modifier = { + factor = 2 + NOT = { + opinion = { + who = FROM + value = 0 + } + } + } + modifier = { + factor = 2 + FROMFROM = { + mother = { + NOT = { + reverse_opinion = { + who = FROM + value = 0 + } + } + } + } + } + modifier = { + factor = 2 + FROMFROM = { + mother = { + NOT = { + reverse_opinion = { + who = FROM + value = -50 + } + } + } + } + } + } + + tooltip = { + FROM = { + character_event = { id = SoA.3006 days = 2 tooltip = EVTTOOLTIP_SOA_3006 } + } + } + + hidden_tooltip = { + FROMFROM = { + character_event = { id = SoA.3006 days = 2 } + } + } + } +} + +# Do not worry - bounce the event to get the name of the child +character_event = { + id = SoA.3004 + hide_window = yes + + is_triggered_only = yes + + immediate = { + FROMFROM = { character_event = { id = SoA.3007 } } + } +} + +# Accuse of witchcraft - bounce the event to get the name of the child +character_event = { + id = SoA.3005 + hide_window = yes + + is_triggered_only = yes + + immediate = { + FROMFROM = { character_event = { id = SoA.3008 } } + } +} + +# Accuse the mother of witchcraft - bounce the event to get the name of the child +character_event = { + id = SoA.3006 + hide_window = yes + + is_triggered_only = yes + + immediate = { + FROMFROM = { character_event = { id = SoA.3009 } } + } +} + +# I should not worry about the child +character_event = { + id = SoA.3007 + desc = EVTDESC_SOA_3007 + picture = GFX_evt_family + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + show_from_from = yes + + option = { + name = EVTOPTA_SOA_3007 # What a relief! + piety = 100 + } +} + +# I am accused of witchcraft! +character_event = { + id = SoA.3008 + desc = EVTDESC_SOA_3008 + picture = GFX_evt_shadowy_cabal + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + show_from_from = yes + + option = { + name = EVTOPTA_SOA_3008 # Deny these ridiculous charges! + add_character_modifier = { + name = suspected_witch + duration = -1 + } + FROM = { + add_character_modifier = { + name = suspected_demon_spawn + duration = -1 + } + } + piety = -500 + hidden_tooltip = { + FROMFROM = { character_event = { id = SoA.3010 days = 2 } } + } + } + option = { + name = EVTOPTB_SOA_3008 # Tell of lurid dreams + FROMFROM = { character_event = { id = SoA.3011 days = 2 tooltip = EVTTOOLTIP_SOA_3011 } } + } + option = { + name = EVTOPTC_SOA_3008 # Get rid of the court chaplain + tooltip_info = intrigue + trigger = { + intrigue = 10 + } + + wealth = -50 + + FROMFROM = { + death = { + death_reason = death_murder + killer = ROOT + } + } + } +} + +# The mother is accused of witchcraft! +character_event = { + id = SoA.3009 + desc = EVTDESC_SOA_3009 + picture = GFX_evt_quarrel + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + show_from_from = yes + + option = { + name = EVTOPTA_SOA_3009 # Deny these ridiculous charges! + FROM = { + add_character_modifier = { + name = suspected_demon_spawn + duration = -1 + } + mother = { + add_character_modifier = { + name = suspected_witch + duration = -1 + } + } + } + piety = -200 + hidden_tooltip = { + FROMFROM = { character_event = { id = SoA.3015 days = 2 } } + } + } + + option = { + name = EVTOPTB_SOA_3009 # Seize the mother declare the child illegitimate! + FROM = { + hidden_tooltip = { + if = { + limit = { + is_father_real_father = yes + } + set_character_flag = real_father_check_set + } + set_father = 0 + if = { + limit = { + has_character_flag = real_father_check_set + } + set_real_father = ROOT + clr_character_flag = real_father_check_set + } + } + add_trait = bastard + + dynasty = mother + + mother = { + remove_spouse = yes + if = { + limit = { + employer = { + character = ROOT + } + } + imprison = ROOT + reverse_opinion = { + who = ROOT + modifier = opinion_witch + } + } + if = { + limit = { is_lover = ROOT } + remove_lover = ROOT + } + } + } + } + + option = { + name = EVTOPTC_SOA_3008 # Get rid of the court chaplain + tooltip_info = intrigue + trigger = { + intrigue = 10 + } + + wealth = -50 + + FROMFROM = { + death = { + death_reason = death_murder + killer = ROOT + } + } + } +} + +# Ruler assures Court Chaplain of innocence +character_event = { + id = SoA.3010 + desc = EVTDESC_SOA_3010 + picture = GFX_evt_shadowy_cabal + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + option = { + name = EVTOPTA_SOA_3010 # I must keep an eye on mother and child... + } +} + +# Ruler confesses to the Court Chaplain +character_event = { + id = SoA.3011 + desc = EVTDESC_SOA_3011 + picture = GFX_evt_quarrel + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + option = { + name = EVTOPTA_SOA_3011 # Demand her abdication and declare the child illegitimate + + ai_chance = { + factor = 70 + modifier = { + factor = 0.5 + FROM = { diplomacy = 7 } + } + modifier = { + factor = 0.5 + FROM = { diplomacy = 9 } + } + modifier = { + factor = 0.5 + FROM = { diplomacy = 12 } + } + modifier = { + factor = 2.0 + FROM = { NOT = { diplomacy = 4 } } + } + } + + opinion = { + who = FROM + modifier = opinion_witch + } + tooltip = { + FROM = { character_event = { id = SoA.3012 days = 2 tooltip = EVTTOOLTIP_SOA_3012 } } + } + hidden_tooltip = { + FROMFROM = { character_event = { id = SoA.3012 days = 2 } } # Bounce via the child + } + } + option = { + name = EVTOPTB_SOA_3011 # These are just normal dreams and nightmares + + ai_chance = { + factor = 30 + } + + FROM = { character_event = { id = SoA.3013 days = 2 tooltip = EVTTOOLTIP_SOA_3013 } } + } +} + +# Accused! - bounce +character_event = { + id = SoA.3012 + hide_window = yes + + is_triggered_only = yes + + immediate = { + FROMFROM = { character_event = { id = SoA.3014 } } + } +} + +# My dreams are normal +character_event = { + id = SoA.3013 + desc = EVTDESC_SOA_3013 + picture = GFX_evt_child_play + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + show_from_from = yes + + option = { + name = EVTOPTA_SOA_3007 + piety = 100 + } +} + +# Accused publicly! +character_event = { + id = SoA.3014 + desc = EVTDESC_SOA_3014 + picture = GFX_evt_heretic + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + show_from_from = yes + + immediate = { + FROM = { + add_character_modifier = { + name = suspected_demon_spawn + duration = -1 + } + } + } + + option = { + name = EVTOPTA_SOA_3014 # Abdicate + + add_character_modifier = { + name = suspected_witch + duration = -1 + } + + FROM = { + hidden_tooltip = { + if = { + limit = { + is_father_real_father = yes + } + father_even_if_dead = { + character_event = { id = SoA.3016 days = 1 } + } + } + set_father = 0 + } + add_trait = bastard + } + + abdicate = yes + + if = { + limit = { + religion_group = christian + } + add_trait = nun + } + } + + option = { + name = EVTOPTB_SOA_3014 # Never! + + FROMFROM = { + remove_title = job_spiritual + imprison = ROOT + } + + add_character_modifier = { + name = known_witch + duration = -1 + } + + random_list = { + 50 = { + } + 25 = { + add_trait = depressed + } + 25 = { + add_trait = stressed + } + } + } +} + +# Male ruler assures Court Chaplain of the mother's innocence +character_event = { + id = SoA.3015 + desc = EVTDESC_SOA_3015 + picture = GFX_evt_birth + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + option = { + name = EVTOPTA_SOA_3015 + } +} + +# Set real father correctly +character_event = { + id = SoA.3016 + hide_window = yes + + is_triggered_only = yes + + immediate = { + FROM = { + set_real_father = ROOT + } + } +} + +############################# +# Demon child tombola! +# Choose some new antics... +############################# +character_event = { + id = SoA.3019 + hide_window = yes + + is_triggered_only = yes + + immediate = { + character_event = { id = SoA.3019 days = 400 random = 400 } # More fun next time! + + # Spawn the Witch Nanny + if = { + limit = { + NOT = { has_character_flag = demon_child_non_pagan_got_nanny } + prisoner = no + is_incapable = no + } + character_event = { id = SoA.3070 } + break = yes + } + + # Try to murder a sibling (ahead in the line of succession) in bed? + if = { + limit = { + age = 3 + NOT = { age = 16 } + prisoner = no + is_incapable = no + is_ruler = no + any_sibling = { + NOT = { trait = bastard } + NOT = { trait = incapable } + OR = { + is_older_than = ROOT + AND = { + trait = born_in_the_purple + ROOT = { NOT = { trait = born_in_the_purple } } + } + ROOT = { + trait = bastard + } + AND = { + is_female = no + ROOT = { + is_female = yes + } + } + } + } + } + character_event = { id = SoA.3030 } + break = yes + } + + # Get some help during a war + if = { + limit = { + is_ruler = yes + war = yes +# trait = possessed + OR = { + is_primary_war_defender = yes + is_primary_war_attacker = yes + } + NOT = { has_character_flag = demon_child_non_pagan_cultists } + is_at_sea = no + } + character_event = { id = SoA.3065 } + break = yes + } + + # Trigger the Sunset Invasion? + if = { + limit = { + prisoner = no + is_incapable = no + OR = { + is_ruler = no + primary_title = { + lower_tier_than = duke + } + } + war = no + has_dlc = "Sunset Invasion" + NOR = { + has_global_flag = aztec_explorers + has_global_flag = aztec_arrival + has_game_rule = { + name = aztec_invasion + value = off + } + } + OR = { + AND = { + has_game_rule = { + name = aztec_invasion + value = historical + } + year = 1250 + } + AND = { + has_game_rule = { + name = aztec_invasion + value = random + } + total_years_played = 50 + } + AND = { + has_game_rule = { + name = aztec_invasion + value = delayed_random + } + year = 1000 + total_years_played = 50 + } + } + mother = { + OR = { + is_alive = no + is_playable = no + } + } + father = { + OR = { + is_alive = no + is_playable = no + } + } + random = 50 + } + character_event = { id = SoA.3080 } + break = yes + } + } + +} + +# The Demon child's true nature asserts itself +# Fired from on_adulthood +character_event = { + id = SoA.3020 + desc = EVTDESC_SOA_3020 + picture = GFX_evt_lunatic + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + trigger = { + has_character_flag = demon_child_non_pagan + } + + immediate = { + remove_trait = chaste + remove_trait = kind + remove_trait = honest + remove_trait = content + remove_trait = charitable + remove_trait = just + remove_trait = humble + remove_trait = quick + remove_trait = slow + remove_trait = imbecile + remove_trait = weak + remove_trait = feeble + remove_trait = dull + remove_trait = shy + remove_trait = trusting + add_trait = lustful + add_trait = deceitful + add_trait = ambitious + add_trait = cruel + add_trait = genius + add_trait = possessed + add_trait = strong + change_diplomacy = 5 + change_martial = 5 + change_stewardship = 5 + change_intrigue = 10 + change_learning = 5 + + if = { + limit = { + OR = { + trait = naive_appeaser + trait = underhanded_rogue + trait = charismatic_negotiator + } + } + clear_education_trait = yes + add_trait = grey_eminence + } + + if = { + limit = { + OR = { + trait = amateurish_plotter + trait = flamboyant_schemer + trait = intricate_webweaver + } + } + clear_education_trait = yes + add_trait = elusive_shadow + } + + if = { + limit = { + OR = { + trait = indulgent_wastrel + trait = thrifty_clerk + trait = fortune_builder + } + } + clear_education_trait = yes + add_trait = midas_touched + } + + if = { + limit = { + OR = { + trait = misguided_warrior + trait = tough_soldier + trait = skilled_tactician + } + } + clear_education_trait = yes + add_trait = brilliant_strategist + } + + if = { + limit = { + OR = { + trait = detached_priest + trait = martial_cleric + trait = scholarly_theologian + } + } + clear_education_trait = yes + add_trait = mastermind_theologian + } + + if = { + limit = { has_dlc = "Mystics" } + join_society = the_satanists + add_society_currency_massive_effect = yes + set_society_grandmaster = yes + + society = { + any_society_member = { + limit = { NOT = { character = ROOT } } + narrative_event = { id = SoA.3090 days = 3 } + } + } + } + + add_character_modifier = { + name = voice_of_satan + duration = -1 + } + + father = { + narrative_event = { id = SoA.3021 } + } + + mother = { + narrative_event = { id = SoA.3021 } + } + + random_sibling = { + limit = { + ai = no + NOT = { is_father = ROOT } + NOT = { is_mother = ROOT } + } + narrative_event = { id = SoA.3021 } + } + } + + option = { + name = EVTOPTA_SOA_3020 + } +} + +narrative_event = { + id = SoA.3021 + title = EVTTITLE_SOA_3021 + desc = EVTDESC_SOA_3021 + picture = GFX_evt_lunatic + border = GFX_event_narrative_frame_religion + + is_triggered_only = yes + + option = { + name = { + text = EVTOPTA_SOA_3021 + trigger = { + NOT = { society_member_of = the_satanists } + } + } + name = { + text = EVTOPTA_SOA_3021_SATANIST + trigger = { + society_member_of = the_satanists + } + } + } +} + +# Demon Child tries to murder sibling in bed +character_event = { + id = SoA.3030 + hide_window = yes + + is_triggered_only = yes + + immediate = { + random_sibling = { + limit = { + NOT = { trait = bastard } + NOT = { trait = incapable } + OR = { + is_older_than = ROOT + AND = { + trait = born_in_the_purple + ROOT = { NOT = { trait = born_in_the_purple } } + } + ROOT = { + trait = bastard + } + AND = { + is_female = no + ROOT = { + is_female = yes + } + } + } + } + character_event = { id = SoA.3031 } + } + } +} + +# Demon Child tries to murder sibling in bed +character_event = { + id = SoA.3031 + hide_window = yes + + is_triggered_only = yes + + immediate = { + random_list = { + 50 = { + FROM = { character_event = { id = SoA.3032 } } # Success + } + 25 = { + FROM = { character_event = { id = SoA.3033 } } # Failure + } + 25 = { + FROM = { character_event = { id = SoA.3034 } } # Brain Damage + } + } + } +} + +# Demon Child tries to murder sibling in bed - Success +character_event = { + id = SoA.3032 + desc = EVTDESC_SOA_3032 + picture = GFX_evt_shadow + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + option = { + name = EVTOPTA_SOA_3032 + FROM = { character_event = { id = SoA.3035 tooltip = EVTTOOLTIP_SOA_3035 } } + } +} + +# Demon Child tries to murder sibling in bed - Failure +character_event = { + id = SoA.3033 + desc = EVTDESC_SOA_3032 + picture = GFX_evt_shadow + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + option = { + name = EVTOPTA_SOA_3032 + FROM = { character_event = { id = SoA.3036 tooltip = EVTTOOLTIP_SOA_3035 } } + } +} + +# Demon Child tries to murder sibling in bed - Brain Damage +character_event = { + id = SoA.3034 + desc = EVTDESC_SOA_3032 + picture = GFX_evt_shadow + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + option = { + name = EVTOPTA_SOA_3032 + FROM = { character_event = { id = SoA.3037 tooltip = EVTTOOLTIP_SOA_3035 } } + } +} + +# Demon Child murders sibling in bed +character_event = { + id = SoA.3035 + desc = EVTDESC_SOA_3035 + picture = GFX_evt_shadow + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + option = { + name = EVTOPTA_SOA_3035 + death = { + death_reason = death_murder_unknown + killer = FROM + } + hidden_tooltip = { + mother = { narrative_event = { id = SoA.3039 } } + father = { narrative_event = { id = SoA.3039 } } + any_liege = { + limit = { + ai = no + NOT = { is_father = ROOT } + NOT = { is_mother = ROOT } + } + narrative_event = { id = SoA.3039 } + } + } + } +} + +# Demon Child fails to murder sibling in bed +character_event = { + id = SoA.3036 + desc = EVTDESC_SOA_3036 + picture = GFX_evt_shadow + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + option = { + name = EVTOPTA_SOA_3036 + hidden_tooltip = { + mother = { narrative_event = { id = SoA.3040 } } + father = { narrative_event = { id = SoA.3040 } } + any_liege = { + limit = { + ai = no + NOT = { is_father = ROOT } + NOT = { is_mother = ROOT } + } + narrative_event = { id = SoA.3040 } + } + } + } +} + +# Demon Child fails to murder sibling in bed, but causes brain damage +character_event = { + id = SoA.3037 + desc = EVTDESC_SOA_3037 + picture = GFX_evt_shadow + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + option = { + name = EVTOPTA_SOA_3037 + add_trait = incapable + hidden_tooltip = { + mother = { narrative_event = { id = SoA.3041 } } + father = { narrative_event = { id = SoA.3041 } } + any_liege = { + limit = { + ai = no + NOT = { is_father = ROOT } + NOT = { is_mother = ROOT } + } + narrative_event = { id = SoA.3041 } + } + } + } +} + +# Notification, murder succeeded +narrative_event = { + id = SoA.3039 + title = EVTTITLE_SOA_3039 + desc = EVTDESC_SOA_3039 + picture = GFX_evt_death + border = GFX_event_narrative_frame_religion + + is_triggered_only = yes + + option = { + name = EVTOPTA_SOA_3039 + trigger = { + NOT = { society_member_of = the_satanists } + } + } + option = { + name = EVTOPTA_SOA_3039_SATANIST + trigger = { + society_member_of = the_satanists + } + } +} + +# Notification, murder failed +narrative_event = { + id = SoA.3040 + title = EVTTITLE_SOA_3040 + desc = EVTDESC_SOA_3040 + picture = GFX_evt_shadow + border = GFX_event_narrative_frame_religion + + is_triggered_only = yes + + option = { + name = EVTOPTA_SOA_3040 + trigger = { + NOT = { society_member_of = the_satanists } + } + } + option = { + name = EVTOPTA_SOA_3039_SATANIST + trigger = { + society_member_of = the_satanists + } + } +} + +# Notification, murder failed, but brain damaged +narrative_event = { + id = SoA.3041 + title = EVTTITLE_SOA_3041 + desc = EVTDESC_SOA_3041 + picture = GFX_evt_shadow + border = GFX_event_narrative_frame_religion + + is_triggered_only = yes + + option = { + name = EVTOPTA_SOA_3041 + trigger = { + NOT = { society_member_of = the_satanists } + } + } + option = { + name = EVTOPTA_SOA_3039_SATANIST + trigger = { + society_member_of = the_satanists + } + } +} + +# Demon Child recovers from maiming +character_event = { + id = SoA.3050 + desc = EVTDESC_SOA_3050 + picture = GFX_evt_lunatic + border = GFX_event_normal_frame_religion + + trigger = { + is_maimed_trigger = yes +# trait = possessed + has_dlc = "Sons of Abraham" + OR = { + has_character_modifier = voice_of_satan + has_character_flag = demon_child_non_pagan + } + } + + mean_time_to_happen = { + months = 24 + modifier = { + factor = 10 + NOT = { has_character_flag = demon_child_non_pagan } + } + } + + option = { + name = EVTOPTA_SOA_3050 + if = { + limit = { trait = maimed } + remove_trait = maimed + } + if = { + limit = { trait = one_eyed } + remove_trait = one_eyed + } + if = { + limit = { trait = one_handed } + remove_trait = one_handed + } + if = { + limit = { trait = one_legged } + remove_trait = one_legged + } + if = { + limit = { trait = disfigured } + remove_trait = disfigured + } + if = { + limit = { trait = mangled } + remove_trait = mangled + } + if = { + limit = { has_character_modifier = phantom_pain } + remove_character_modifier = phantom_pain + } + } +} + +# Demon Child recovers from blinding +character_event = { + id = SoA.3051 + desc = EVTDESC_SOA_3051 + picture = GFX_evt_lunatic + border = GFX_event_normal_frame_religion + + trigger = { + trait = blinded +# trait = possessed + has_dlc = "Sons of Abraham" + OR = { + has_character_modifier = voice_of_satan + has_character_flag = demon_child_non_pagan + } + } + + mean_time_to_happen = { + months = 24 + modifier = { + factor = 10 + NOT = { has_character_flag = demon_child_non_pagan } + } + } + + option = { + name = EVTOPTA_SOA_3051 + remove_trait = blinded + } +} + +# Demon Child recovers from castration +character_event = { + id = SoA.3052 + desc = EVTDESC_SOA_3052 + picture = GFX_evt_lunatic + border = GFX_event_normal_frame_religion + + trigger = { + trait = eunuch +# trait = possessed + has_dlc = "Sons of Abraham" + OR = { + has_character_modifier = voice_of_satan + has_character_flag = demon_child_non_pagan + } + } + + mean_time_to_happen = { + months = 24 + modifier = { + factor = 10 + NOT = { has_character_flag = demon_child_non_pagan } + } + } + + option = { + name = EVTOPTA_SOA_3052 + remove_trait = eunuch + } +} + +# Demon Child recovers from brain damage +character_event = { + id = SoA.3053 + desc = EVTDESC_SOA_3053 + picture = GFX_evt_lunatic + border = GFX_event_normal_frame_religion + + max_age = 75 + + trigger = { + OR = { + trait = incapable + trait = infirm + } +# trait = possessed + has_dlc = "Sons of Abraham" + OR = { + has_character_modifier = voice_of_satan + has_character_flag = demon_child_non_pagan + } + } + + mean_time_to_happen = { + months = 24 + modifier = { + factor = 10 + NOT = { has_character_flag = demon_child_non_pagan } + } + } + + option = { + name = EVTOPTA_SOA_3053 + if = { + limit = { + trait = incapable + } + remove_trait = incapable + } + if = { + limit = { + trait = infirm + } + remove_trait = infirm + } + } +} + +# Demon Child recovers from epidemic +character_event = { + id = SoA.3054 + desc = EVTDESC_SOA_3054 + picture = GFX_evt_lunatic + border = GFX_event_normal_frame_religion + + trigger = { +# trait = possessed + has_dlc = "Sons of Abraham" + has_epidemic = yes + + OR = { + has_character_modifier = voice_of_satan + has_character_flag = demon_child_non_pagan + } + } + + mean_time_to_happen = { + months = 1 + modifier = { + factor = 12 + NOT = { has_character_flag = demon_child_non_pagan } + } + } + + option = { + name = EVTOPTA_SOA_3054 + + if = { + limit = { + trait = has_bubonic_plague + } + remove_trait = has_bubonic_plague + set_character_flag = achievement_i_got_better + } + + cure_illness = yes + + clear_disease_level_effect = yes + } +} + +# Demon Child escapes from prison +character_event = { + id = SoA.3060 + desc = EVTDESC_SOA_3060 + picture = GFX_evt_courier + border = GFX_event_normal_frame_religion + + prisoner = yes + + trigger = { +# trait = possessed + has_dlc = "Sons of Abraham" + OR = { + has_character_modifier = voice_of_satan + has_character_flag = demon_child_non_pagan + } + } + + mean_time_to_happen = { + months = 24 + modifier = { + factor = 10 + NOT = { has_character_flag = demon_child_non_pagan } + } + } + + option = { + name = EVTOPTA_SOA_3060 + hidden_tooltip = { + host = { + character_event = { id = SoA.3061 } + } + } + imprison = no + } +} + +# Demon Child escapes from prison +character_event = { + id = SoA.3061 + desc = EVTDESC_SOA_3061 + picture = GFX_evt_courier + border = GFX_event_normal_frame_intrigue + + is_triggered_only = yes + + option = { + name = EVTOPTA_SOA_3061 + } +} + +# Demon Child receives troop reinforcements +character_event = { + id = SoA.3065 + desc = EVTDESC_SOA_3065 + picture = GFX_evt_burning_house + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + immediate = { + location = { + ROOT = { + create_character = { + dynasty = none + religion = zun_pagan + culture = greek + female = yes + name = Circe + age = 25 + dna=bdlhexmbcai + attributes = { + intrigue = 12 + martial = 7 + diplomacy = 10 + stewardship = 4 + learning = 10 + } + trait = ambitious + trait = cruel + trait = envious + trait = cynical + trait = deceitful + trait = fair + trait = mystic + trait = brilliant_strategist + trait = flanker + } + new_character = { + spawn_unit = { + province = PREVPREV + home = PREVPREV + owner = ROOT + troops = { + archers = { 150 150 } + knights = { 100 100 } + heavy_infantry = { 250 250 } + } + attrition = 0.0 + } + add_character_modifier = { + name = known_witch + duration = -1 + } + + if = { + limit = { has_dlc = "Mystics" } + religion = ROOT + join_society = the_satanists + } + + opinion = { + who = ROOT + modifier = opinion_the_chosen_one + } + set_character_flag = special_marshal + set_character_flag = special_treasurer + set_character_flag = special_chancellor + set_character_flag = special_spiritual + set_character_flag = special_spymaster + } + create_character = { + dynasty = none + religion = zun_pagan + culture = levantine_arabic + female = yes + name = Jezebel + age = 24 + dna=dhmfgmabaaz + attributes = { + intrigue = 9 + martial = 7 + diplomacy = 12 + stewardship = 3 + learning = 8 + } + trait = ambitious + trait = cruel + trait = envious + trait = lustful + trait = deceitful + trait = fair + trait = hedonist + trait = grey_eminence + trait = inspiring_leader + } + new_character = { + spawn_unit = { + province = PREVPREV + home = PREVPREV + owner = ROOT + troops = { + archers = { 150 150 } + knights = { 100 100 } + heavy_infantry = { 250 250 } + } + attrition = 0.0 + } + add_character_modifier = { + name = known_witch + duration = -1 + } + + if = { + limit = { has_dlc = "Mystics" } + religion = ROOT + join_society = the_satanists + } + + opinion = { + who = ROOT + modifier = opinion_the_chosen_one + } + set_character_flag = special_marshal + set_character_flag = special_treasurer + set_character_flag = special_chancellor + set_character_flag = special_spiritual + set_character_flag = special_spymaster + } + create_character = { + dynasty = none + religion = norse_pagan + culture = welsh + female = yes + name = Morgana + age = 27 + dna=aefccojcgbd + attributes = { + intrigue = 15 + martial = 7 + diplomacy = 10 + stewardship = 8 + learning = 12 + } + trait = ambitious + trait = cruel + trait = lustful + trait = envious + trait = genius + trait = deceitful + trait = fair + trait = mystic + trait = elusive_shadow + trait = defensive_leader + } + new_character = { + spawn_unit = { + province = PREVPREV + home = PREVPREV + owner = ROOT + troops = { + archers = { 150 150 } + knights = { 100 100 } + heavy_infantry = { 250 250 } + } + attrition = 0.0 + } + add_character_modifier = { + name = known_witch + duration = -1 + } + + if = { + limit = { has_dlc = "Mystics" } + religion = ROOT + join_society = the_satanists + } + + opinion = { + who = ROOT + modifier = opinion_the_chosen_one + } + set_character_flag = special_marshal + set_character_flag = special_treasurer + set_character_flag = special_chancellor + set_character_flag = special_spiritual + set_character_flag = special_spymaster + } + } + } + set_character_flag = demon_child_non_pagan_cultists + } + + option = { + name = EVTOPTA_SOA_3065 + } +} + +# A witch nanny arrives at court +character_event = { + id = SoA.3070 + hide_window = yes + + is_triggered_only = yes + + immediate = { + set_character_flag = demon_child_non_pagan_got_nanny + + if = { + limit = { + is_ruler = no + } + host = { + character_event = { id = SoA.3071 } + } + } + if = { + limit = { + is_ruler = yes + } + character_event = { id = SoA.3072 } + } + } +} + +# A witch nanny arrives at court +character_event = { + id = SoA.3071 + desc = EVTDESC_SOA_3071 + picture = GFX_evt_princess_byzantine + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + option = { + name = EVTOPTA_SOA_3071 + + create_character = { + dynasty = none + religion = ROOT + culture = frankish + female = yes + age = 20 + dna=dkkdfdgibbe + attributes = { + intrigue = 10 + martial = 4 + diplomacy = 5 + stewardship = 6 + learning = 10 + } + trait = cruel + trait = envious + trait = quick + trait = diligent + trait = patient + trait = scholar + trait = mastermind_theologian + } + + hidden_tooltip = { + new_character = { + set_character_flag = special_treasurer + set_character_flag = special_chancellor + set_character_flag = special_spymaster + + set_character_flag = witch_nanny + + add_character_modifier = { + name = suspected_witch + duration = -1 + } + + if = { + limit = { has_dlc = "Mystics" } + join_society = the_satanists + } + + if = { + limit = { + religion_group = christian + } + add_trait = nun + } + + FROM = { + reverse_opinion = { + who = PREV + modifier = opinion_the_chosen_one + } + } + } + } + } +} + +# A witch nanny arrives at court +character_event = { + id = SoA.3072 + desc = EVTDESC_SOA_3072 + picture = GFX_evt_princess_byzantine + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + option = { + name = EVTOPTA_SOA_3072 + + create_character = { + dynasty = none + religion = ROOT + culture = frankish + female = yes + age = 20 + dna=dkkdfdgibbe + attributes = { + intrigue = 10 + martial = 4 + diplomacy = 5 + stewardship = 6 + learning = 10 + } + trait = cruel + trait = envious + trait = quick + trait = diligent + trait = patient + trait = scholar + trait = mastermind_theologian + } + + hidden_tooltip = { + new_character = { + set_character_flag = special_treasurer + set_character_flag = special_chancellor + set_character_flag = special_spymaster + + set_character_flag = witch_nanny + + add_character_modifier = { + name = suspected_witch + duration = -1 + } + + if = { + limit = { has_dlc = "Mystics" } + join_society = the_satanists + } + + if = { + limit = { + religion_group = christian + } + add_trait = nun + } + + FROM = { + reverse_opinion = { + who = PREV + modifier = opinion_the_chosen_one + } + } + } + } + } +} + +# Witch nanny moves with her charge +character_event = { + id = SoA.3073 + hide_window = yes + + only_women = yes + prisoner = no + only_capable = yes + min_age = 16 + has_character_flag = witch_nanny + has_dlc = "Sons of Abraham" + is_married = no + + trigger = { + is_ruler = no + is_consort = no + NOT = { religion_group = pagan_group } + NOT = { + any_courtier = { + has_character_flag = demon_child_non_pagan + host = { + ROOT = { + host = { + character = PREVPREV + } + } + } + } + } + top_liege = { + any_realm_character = { + prisoner = no + has_character_flag = demon_child_non_pagan + } + } + } + + mean_time_to_happen = { + days = 1 + } + + immediate = { + liege = { + character_event = { id = SoA.3074 } + } + top_liege = { + random_realm_character = { + limit = { + prisoner = no + has_character_flag = demon_child_non_pagan + } + host = { + ROOT = { + move_character = PREV + } + } + } + } + } +} + +# A witch nanny moves with her charge +character_event = { + id = SoA.3074 + desc = EVTDESC_SOA_3074 + picture = GFX_evt_princess_byzantine + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + option = { + name = EVTOPTA_SOA_3074 + } +} + +# Witch nanny commits suicide for the demon child +character_event = { + id = SoA.3075 + hide_window = yes + + prisoner = no + min_age = 6 + max_age = 15 + has_character_flag = demon_child_non_pagan_got_nanny + + trigger = { + has_dlc = "Sons of Abraham" + NOT = { religion_group = pagan_group } + OR = { + ai = no + liege = { + ai = no + } + } + has_character_flag = demon_child_non_pagan + any_courtier = { + is_female = yes + prisoner = no + NOT = { trait = incapable } + has_character_flag = witch_nanny + } + } + + mean_time_to_happen = { + years = 13 # Does not always happen + } + + immediate = { + random_courtier = { + limit = { + is_female = yes + prisoner = no + NOT = { trait = incapable } + has_character_flag = witch_nanny + } + character_event = { id = SoA.3076 } + } + } +} + +# Witch nanny commits suicide for the demon child +character_event = { + id = SoA.3076 + hide_window = yes + + is_triggered_only = yes + + immediate = { + if = { + limit = { + liege = { + NOT = { has_character_flag = demon_child_non_pagan } + } + } + liege = { + narrative_event = { id = SoA.3077 } + } + } + if = { + limit = { + liege = { + has_character_flag = demon_child_non_pagan + } + } + liege = { + narrative_event = { id = SoA.3078 } + } + } + death = { + death_reason = death_suicide_fall + } + } +} + +# Witch nanny commits suicide for the demon child +narrative_event = { + id = SoA.3077 + title = EVTTITLE_SOA_3077 + desc = EVTDESC_SOA_3077 + picture = GFX_evt_family + border = GFX_event_narrative_frame_religion + + is_triggered_only = yes + + option = { + name = { + text = EVTOPTA_SOA_3077 + trigger = { + NOT = { society_member_of = the_satanists } + } + } + name = { + text = EVTOPTA_SOA_3078 + trigger = { + society_member_of = the_satanists + } + } + } +} + +# Witch nanny commits suicide for the demon child +narrative_event = { + id = SoA.3078 + title = EVTTITLE_SOA_3078 + desc = EVTDESC_SOA_3078 + picture = GFX_evt_family + border = GFX_event_narrative_frame_religion + + is_triggered_only = yes + + option = { + name = EVTOPTA_SOA_3078 + } +} + +# The Demon Child travels to the New World and returns as the Aztec Emperor (somewhat altered descriptions in the Sunset Invasion) +character_event = { + id = SoA.3080 + + hide_window = yes + + is_triggered_only = yes + + immediate = { + set_global_flag = demon_child_to_aztecs + + if = { + limit = { society_member_of = the_satanists } + society = { + any_society_member = { + limit = { + NOT = { character = ROOT } + NOT = { is_close_relative = ROOT } + NOT = { dynasty = ROOT } + } + character_event = { id = SoA.3082 days = 3 } + } + } + } + + any_close_relative = { + limit = { + NOT = { character = ROOT } + } + character_event = { id = SoA.3083 days = 3 } + } + + any_dynasty_member = { + limit = { + NOT = { character = ROOT } + NOT = { is_close_relative = ROOT } + } + character_event = { id = SoA.3083 days = 3 } + } + + if = { + limit = { is_ruler = yes } + abdicate = yes + } + + activate_title = { title = e_mexikha status = yes } + + culture = nahuatl + religion = aztec + + e_mexikha = { + grant_title = ROOT + } + + set_government_type = feudal_government + + e_mexikha = { + add_law = succ_primogeniture + add_law = agnatic_succession + if = { + limit = { + has_dlc = "Zeus" + } + add_law = revoke_title_law_2 + } + if = { + limit = { + NOT = { has_dlc = "Zeus" } + } + add_law = crown_authority_1 + } + } + + random_list = { + 100 = { + 1 = { province_event = { id = SoA.3081 days = 200 } } # Vestisland + } + 100 = { + 9 = { province_event = { id = SoA.3081 days = 200 } } # Connacht + } + 100 = { + 35 = { province_event = { id = SoA.3081 days = 200 } } # Inse Gall + } + 100 = { + 31 = { province_event = { id = SoA.3081 days = 200 } } # Cornwall + } + 100 = { + 104 = { province_event = { id = SoA.3081 days = 200 } } # Cornouaille + } + 100 = { + 149 = { province_event = { id = SoA.3081 days = 200 } } # Bordeaux + } + 100 = { + 156 = { province_event = { id = SoA.3081 days = 200 } } # Coruna + } + 100 = { + 162 = { province_event = { id = SoA.3081 days = 200 } } # Silves + } + 100 = { + 841 = { province_event = { id = SoA.3081 days = 200 } } # Tangier + } + 100 = { + 845 = { province_event = { id = SoA.3081 days = 200 } } # Anti-Atlas + } + } + } +} + +# First Landing - Herolds of the Demon-led Aztecs +province_event = { + id = SoA.3081 + desc = EVTDESC_SOA_3081 + + picture = GFX_evt_aztec_explorers + border = GFX_event_normal_frame_war + + is_triggered_only = yes + + trigger = { + FROM = { is_alive = yes } + } + + immediate = { + log = "AZTEC INVASION IMMEDIATE SoA.3081" + set_global_flag = aztec_explorers + set_province_flag = aztec_explorers + + narrative_event = { id = SSI.2 days = 7 } + } + + option = { + name = EVTOPTA_SSI_001 + } +} + +# Satanists are notified about the departure of the Demon Child +narrative_event = { + id = SoA.3082 + title = EVTTITLE_SOA_3082 + desc = EVTDESC_SOA_3082 + picture = GFX_evt_throne_room_mesoamerican + border = GFX_event_narrative_frame_war + + is_triggered_only = yes + + trigger = { + FROM = { is_alive = yes } + } + + option = { + name = { + text = EVTOPTA_SOA_3082_MUSLIM + trigger = { + religion_group = muslim + } + } + name = { + text = EVTOPTA_SOA_3082 + trigger = { + NOT = { religion_group = muslim } + } + } + } +} + +# Relatives are notified about the departure of the Demon Child +narrative_event = { + id = SoA.3083 + title = EVTTITLE_SOA_3083 + desc = EVTDESC_SOA_3083 + picture = GFX_evt_throne_room_mesoamerican + border = GFX_event_narrative_frame_war + + is_triggered_only = yes + + trigger = { + FROM = { is_alive = yes } + } + + option = { + name = { + text = EVTOPTA_SOA_3082 + trigger = { + society_member_of = the_satanists + } + } + name = { + text = EVTOPTA_SOA_3083 + trigger = { + NOT = { society_member_of = the_satanists } + } + } + } +} + +# Satanists are notified of the coming of age of the Demon Child +narrative_event = { + id = SoA.3090 + title = EVTTITLE_SOA_3090 + desc = EVTDESC_SOA_3090 + picture = GFX_evt_shadowy_cabal + border = GFX_event_narrative_frame_war + + is_triggered_only = yes + + trigger = { + FROM = { is_alive = yes } + } + + option = { + name = { + text = EVTOPTA_SOA_3082_MUSLIM + trigger = { + religion_group = muslim + NOT = { FROM = { is_child_of = ROOT } } + } + } + name = { + text = EVTOPTA_SOA_3082 + trigger = { + NOT = { religion_group = muslim } + NOT = { FROM = { is_child_of = ROOT } } + } + } + name = { + text = EVTOPTA_SOA_3090_CHILD + trigger = { + FROM = { is_child_of = ROOT } + } + } + } +} + +# Satanists are notified of the death of the Demon Child +# Fired from 'on_death' +character_event = { + id = SoA.3091 + hide_window = yes + + is_triggered_only = yes + + trigger = { + has_character_flag = demon_child_non_pagan + } + + immediate = { + if = { + limit = { society_member_of = the_satanists } + society = { + any_society_member = { + limit = { NOT = { character = ROOT } } + narrative_event = { id = SoA.3092 } + } + } + } + } +} + +narrative_event = { + id = SoA.3092 + title = EVTTITLE_SOA_3092 + desc = EVTDESC_SOA_3092 + picture = GFX_evt_death + border = GFX_event_narrative_frame_intrigue + + is_triggered_only = yes + + option = { + name = EVTOPTA_SOA_3092 + } +} diff --git a/LCDA/events/sunset_invasion.txt b/LCDA/events/sunset_invasion.txt new file mode 100644 index 0000000..4d9ac6c --- /dev/null +++ b/LCDA/events/sunset_invasion.txt @@ -0,0 +1,2540 @@ +################################### +# +# SUNSET INVASION +# - The Fantasy Menace +# +################################### + +# Written by Henrik Fåhraeus and Henrik Eklund + +namespace = SSI + +# First Contact - Beads and Feathers +# (There is another version of this event: SoA.3081 - triggered by a Demon Child.) +province_event = { + id = SSI.1 + desc = EVTDESC_SSI_001 + + picture = GFX_evt_aztec_explorers + border = GFX_event_normal_frame_war + + has_dlc = "Sunset Invasion" + + trigger = { + OR = { + AND = { + has_game_rule = { + name = aztec_invasion + value = historical + } + year = 1250 + } + AND = { + has_game_rule = { + name = aztec_invasion + value = random + } + total_years_played = 50 + } + AND = { + has_game_rule = { + name = aztec_invasion + value = delayed_random + } + year = 1000 + total_years_played = 50 + } + } + NOR = { + year = 1350 + has_global_flag = aztec_explorers + has_game_rule = { + name = aztec_invasion + value = off + } + has_global_flag = demon_child_to_aztecs + } + OR = { + province_id = 1 # Vestisland + province_id = 9 # Connacht + province_id = 35 # Inse Gall + province_id = 31 # Cornwall + province_id = 104 # Cornouaille + province_id = 149 # Bordeaux + province_id = 156 # Coruna + province_id = 162 # Silves + province_id = 841 # Tangier + province_id = 845 # Anti-Atlas + } + } + + immediate = { + log = "AZTEC INVASION IMMEDIATE 5532432005" + set_global_flag = aztec_explorers + set_province_flag = aztec_explorers + activate_title = { title = e_mexikha status = yes } + + k_papal_state = { + holder_scope = { + create_random_soldier = { + dynasty = 1035000 # Acatl + random_traits = yes + culture = nahuatl + religion = aztec + } + new_character = { + e_mexikha = { + grant_title = PREV + } + set_government_type = feudal_government + e_mexikha = { + add_law = succ_primogeniture + add_law = agnatic_succession + if = { + limit = { + has_dlc = "Zeus" + } + add_law = revoke_title_law_2 + } + if = { + limit = { + NOT = { has_dlc = "Zeus" } + } + add_law = crown_authority_1 + } + } + set_defacto_liege = THIS + narrative_event = { id = SSI.2 days = 7 } + } + } + } + } + + mean_time_to_happen = { + months = 720 + modifier = { + factor = 0.5 + year = 1320 + } + modifier = { + factor = 4 + has_game_rule = { + name = aztec_invasion + value = random + } + } + modifier = { + factor = 3 + has_game_rule = { + name = aztec_invasion + value = delayed_random + } + } + } + + option = { + name = EVTOPTA_SSI_001 + } +} + +# Rumors of people from across the Atlantic +narrative_event = { + id = SSI.2 + title = EVTNAME_SSI_002 + + desc = { + text = EVTDESC_SSI_002 + trigger = { + NOT = { has_global_flag = demon_child_to_aztecs } + } + } + + desc = { + text = EVTDESC_SSI_002_DEMON + trigger = { + has_global_flag = demon_child_to_aztecs + } + } + + major = yes + + picture = GFX_evt_aztec_explorers + border = GFX_event_narrative_frame_war + + is_triggered_only = yes + + major_trigger = { + FROM = { owner = { NOT = { character = PREVPREV } } } + } + + immediate = { + e_mexikha = { + holder_scope = { + character_event = { id = CM.10018 } # Chronicle + } + } + } + + option = { + name = { + text = EVTOPTA_SSI_002 + trigger = { + OR = { + NOT = { has_global_flag = demon_child_to_aztecs } + NOT = { society_member_of = the_satanists } + } + } + } + + name = { + text = EVTOPTA_SSI_002_SATANIC + trigger = { + has_global_flag = demon_child_to_aztecs + society_member_of = the_satanists + } + } + } +} + +# First Landing of the Aztecs +province_event = { + id = SSI.3 + desc = EVTDESC_SSI_003 + + picture = GFX_evt_battle_mesoamerican + border = GFX_event_normal_frame_war + + trigger = { + OR = { + has_global_flag = demon_child_to_aztecs + AND = { + has_game_rule = { + name = aztec_invasion + value = historical + } + year = 1250 + } + AND = { + has_game_rule = { + name = aztec_invasion + value = random + } + total_years_played = 50 + } + AND = { + has_game_rule = { + name = aztec_invasion + value = delayed_random + } + year = 1000 + total_years_played = 50 + } + } + NOT = { has_global_flag = aztec_arrival } + had_province_flag = { flag = aztec_explorers days = 730 } + } + + immediate = { + set_global_flag = aztec_arrival +# culture = nahuatl +# religion = aztec + e_mexikha = { + holder_scope = { + narrative_event = { id = SSI.4 } + } + } + } + + mean_time_to_happen = { + months = 6 + } + + option = { + name = EVTOPTA_SSI_003 + } +} + +# First Landing of the Aztecs +narrative_event = { + id = SSI.4 + title = EVTNAME_SSI_004 + desc = EVTDESC_SSI_004 + major = yes + hide_new = yes + + picture = GFX_evt_battle_mesoamerican + border = GFX_event_narrative_frame_war + + is_triggered_only = yes + + major_trigger = { + FROM = { owner = { NOT = { character = PREVPREV } } } + } + + immediate = { + any_playable_ruler = { + limit = { + ai = no + capital_scope = { + NOT = { region = world_india } + } + } + character_event = { id = CM.10020 } # Chronicle + } + + wealth = 10000 + FROM = { + kingdom = { + ROOT = { + war = { + casus_belli = tribal_invasion + target = PREVPREV # The top liege of the province owner + thirdparty_title = PREV # The de jure kingdom + } + } + } + } + + create_character = { + random_traits = yes + dynasty = random + religion = aztec + culture = nahuatl + female = no + age = 30 + attributes = { + martial = 12 + } + trait = brilliant_strategist + } + new_character = { + spawn_unit = { + province = FROM + home = FROM + troops = + { + heavy_infantry = { 2800 2800 } + light_infantry = { 1400 1300 } + archers = { 1400 1300 } + } + } + } + create_character = { + random_traits = yes + dynasty = random + religion = aztec + culture = nahuatl + female = no + age = 25 + attributes = { + martial = 12 + } + trait = brilliant_strategist + } + new_character = { + spawn_unit = { + province = FROM + home = FROM + troops = + { + heavy_infantry = { 2800 2800 } + light_infantry = { 1400 1300 } + archers = { 1400 1300 } + } + } + } + create_character = { + random_traits = yes + dynasty = random + religion = aztec + culture = nahuatl + female = no + age = 22 + attributes = { + martial = 12 + } + trait = brilliant_strategist + } + new_character = { + spawn_unit = { + province = FROM + home = FROM + troops = + { + heavy_infantry = { 2800 2800 } + light_infantry = { 1400 1300 } + archers = { 1400 1300 } + } + } + } + + create_character = { + random_traits = yes + dynasty = random + religion = aztec + culture = nahuatl + female = no + age = 31 + attributes = { + martial = 12 + } + trait = brilliant_strategist + } + new_character = { + spawn_unit = { + province = FROM + home = FROM + troops = + { + heavy_infantry = { 2800 2800 } + light_infantry = { 1400 1300 } + archers = { 1400 1300 } + } + } + } + create_character = { + random_traits = yes + dynasty = random + religion = aztec + culture = nahuatl + female = no + age = 24 + attributes = { + martial = 12 + } + trait = brilliant_strategist + } + new_character = { + spawn_unit = { + province = FROM + home = FROM + troops = + { + heavy_infantry = { 2800 2800 } + light_infantry = { 1400 1300 } + archers = { 1400 1300 } + } + } + } + create_character = { + random_traits = yes + dynasty = random + religion = aztec + culture = nahuatl + female = no + age = 23 + attributes = { + martial = 12 + } + trait = brilliant_strategist + } + new_character = { + spawn_unit = { + province = FROM + home = FROM + troops = + { + heavy_infantry = { 2800 2800 } + light_infantry = { 1400 1300 } + archers = { 1400 1300 } + } + } + } + + create_character = { + random_traits = yes + dynasty = random + religion = aztec + culture = nahuatl + female = no + age = 30 + attributes = { + martial = 12 + } + trait = brilliant_strategist + } + new_character = { + spawn_unit = { + province = FROM + home = FROM + troops = + { + heavy_infantry = { 2800 2800 } + light_infantry = { 1400 1300 } + archers = { 1400 1300 } + } + } + } + create_character = { + random_traits = yes + dynasty = random + religion = aztec + culture = nahuatl + female = no + age = 25 + attributes = { + martial = 12 + } + trait = brilliant_strategist + } + new_character = { + spawn_unit = { + province = FROM + home = FROM + troops = + { + heavy_infantry = { 2800 2800 } + light_infantry = { 1400 1300 } + archers = { 1400 1300 } + } + } + } + create_character = { + random_traits = yes + dynasty = random + religion = aztec + culture = nahuatl + female = no + age = 22 + attributes = { + martial = 12 + } + trait = brilliant_strategist + } + new_character = { + spawn_unit = { + province = FROM + home = FROM + troops = + { + heavy_infantry = { 2800 2800 } + light_infantry = { 1400 1300 } + archers = { 1400 1300 } + } + } + } + + create_character = { + random_traits = yes + dynasty = random + religion = aztec + culture = nahuatl + female = no + age = 18 + attributes = { + martial = 12 + } + trait = brilliant_strategist + } + new_character = { + spawn_unit = { + province = FROM + home = FROM + troops = + { + heavy_infantry = { 2800 2800 } + light_infantry = { 1400 1300 } + archers = { 1400 1300 } + } + } + } + create_character = { + random_traits = yes + dynasty = random + religion = aztec + culture = nahuatl + female = no + age = 28 + attributes = { + martial = 12 + } + trait = brilliant_strategist + } + new_character = { + spawn_unit = { + province = FROM + home = FROM + troops = + { + heavy_infantry = { 2800 2800 } + light_infantry = { 1400 1300 } + archers = { 1400 1300 } + } + } + } + create_character = { + random_traits = yes + dynasty = random + religion = aztec + culture = nahuatl + female = no + age = 29 + attributes = { + martial = 12 + } + trait = brilliant_strategist + } + new_character = { + spawn_unit = { + province = FROM + home = FROM + troops = + { + heavy_infantry = { 2800 2800 } + light_infantry = { 1400 1300 } + archers = { 1400 1300 } + } + } + } + + random = { + chance = 50 + create_character = { + random_traits = yes + dynasty = random + religion = aztec + culture = nahuatl + female = no + age = 30 + attributes = { + martial = 12 + } + trait = brilliant_strategist + } + new_character = { + spawn_unit = { + province = FROM + home = FROM + troops = + { + heavy_infantry = { 2800 2800 } + light_infantry = { 1400 1300 } + archers = { 1400 1300 } + } + } + } + create_character = { + random_traits = yes + dynasty = random + religion = aztec + culture = nahuatl + female = no + age = 25 + attributes = { + martial = 12 + } + trait = brilliant_strategist + } + new_character = { + spawn_unit = { + province = FROM + home = FROM + troops = + { + heavy_infantry = { 2800 2800 } + light_infantry = { 1400 1300 } + archers = { 1400 1300 } + } + } + } + create_character = { + random_traits = yes + dynasty = random + religion = aztec + culture = nahuatl + female = no + age = 22 + attributes = { + martial = 12 + } + trait = brilliant_strategist + } + new_character = { + spawn_unit = { + province = FROM + home = FROM + troops = + { + heavy_infantry = { 2800 2800 } + light_infantry = { 1400 1300 } + archers = { 1400 1300 } + } + } + } + } + + random = { + chance = 50 + create_character = { + random_traits = yes + dynasty = random + religion = aztec + culture = nahuatl + female = no + age = 30 + attributes = { + martial = 12 + } + trait = brilliant_strategist + } + new_character = { + spawn_unit = { + province = FROM + home = FROM + troops = + { + heavy_infantry = { 2800 2800 } + light_infantry = { 1400 1300 } + archers = { 1400 1300 } + } + } + } + create_character = { + random_traits = yes + dynasty = random + religion = aztec + culture = nahuatl + female = no + age = 25 + attributes = { + martial = 12 + } + trait = brilliant_strategist + } + new_character = { + spawn_unit = { + province = FROM + home = FROM + troops = + { + heavy_infantry = { 2800 2800 } + light_infantry = { 1400 1300 } + archers = { 1400 1300 } + } + } + } + create_character = { + random_traits = yes + dynasty = random + religion = aztec + culture = nahuatl + female = no + age = 22 + attributes = { + martial = 12 + } + trait = brilliant_strategist + } + new_character = { + spawn_unit = { + province = FROM + home = FROM + troops = + { + heavy_infantry = { 2800 2800 } + light_infantry = { 1400 1300 } + archers = { 1400 1300 } + } + } + } + } + + random = { + chance = 50 + create_character = { + random_traits = yes + dynasty = random + religion = aztec + culture = nahuatl + female = no + age = 30 + attributes = { + martial = 12 + } + trait = brilliant_strategist + } + new_character = { + spawn_unit = { + province = FROM + home = FROM + troops = + { + heavy_infantry = { 2800 2800 } + light_infantry = { 1400 1300 } + archers = { 1400 1300 } + } + } + } + create_character = { + random_traits = yes + dynasty = random + religion = aztec + culture = nahuatl + female = no + age = 25 + attributes = { + martial = 12 + } + trait = brilliant_strategist + } + new_character = { + spawn_unit = { + province = FROM + home = FROM + troops = + { + heavy_infantry = { 2800 2800 } + light_infantry = { 1400 1300 } + archers = { 1400 1300 } + } + } + } + create_character = { + random_traits = yes + dynasty = random + religion = aztec + culture = nahuatl + female = no + age = 22 + attributes = { + martial = 12 + } + trait = brilliant_strategist + } + new_character = { + spawn_unit = { + province = FROM + home = FROM + troops = + { + heavy_infantry = { 2800 2800 } + light_infantry = { 1400 1300 } + archers = { 1400 1300 } + } + } + } + } + + # Ships + if = { + limit = { + FROM = { + OR = { + province_id = 1 # Vestisland + province_id = 9 # Connacht + province_id = 35 # Inse Gall + province_id = 31 # Cornwall + } + } + } + FROM = { + sea_zone = { + ROOT = { + spawn_unit = { + province = PREV + home = FROM + owner = ROOT + earmark = aztec_invasion_fleet + troops = + { + galleys = { 1000 1000 } + } + } + } + } + } + } + + # Some extra courtiers + create_character = { + random_traits = yes + dynasty = random + religion = aztec + culture = nahuatl + female = no + age = 16 + } + create_character = { + random_traits = yes + dynasty = random + religion = aztec + culture = nahuatl + female = no + age = 18 + } + create_character = { + random_traits = yes + dynasty = random + religion = aztec + culture = nahuatl + female = no + age = 18 + } + create_character = { + random_traits = yes + dynasty = random + religion = aztec + culture = nahuatl + female = no + age = 20 + } + create_character = { + random_traits = yes + dynasty = random + religion = aztec + culture = nahuatl + female = no + age = 25 + } + create_character = { + random_traits = yes + dynasty = random + religion = aztec + culture = nahuatl + female = no + age = 26 + } + create_character = { + random_traits = yes + dynasty = random + religion = aztec + culture = nahuatl + female = no + age = 28 + } + create_character = { + random_traits = yes + dynasty = random + religion = aztec + culture = nahuatl + female = no + age = 16 + } + create_character = { + random_traits = yes + dynasty = random + religion = aztec + culture = nahuatl + female = no + age = 17 + } + create_character = { + random_traits = yes + dynasty = random + religion = aztec + culture = nahuatl + female = no + age = 18 + } + create_character = { + random_traits = yes + dynasty = random + religion = aztec + culture = nahuatl + female = no + age = 16 + } + create_character = { + random_traits = yes + dynasty = random + religion = aztec + culture = nahuatl + female = yes + age = 16 + } + create_character = { + random_traits = yes + dynasty = random + religion = aztec + culture = nahuatl + female = yes + age = 17 + } + create_character = { + random_traits = yes + dynasty = random + religion = aztec + culture = nahuatl + female = yes + age = 18 + } + create_character = { + random_traits = yes + dynasty = random + religion = aztec + culture = nahuatl + female = yes + age = 18 + } + create_character = { + random_traits = yes + dynasty = random + religion = aztec + culture = nahuatl + female = yes + age = 20 + } + create_character = { + random_traits = yes + dynasty = random + religion = aztec + culture = nahuatl + female = yes + age = 16 + } + create_character = { + random_traits = yes + dynasty = random + religion = aztec + culture = nahuatl + female = yes + age = 16 + } + + if = { + limit = { + OR = { + has_power_omen_modifier_trigger = yes + has_battle_omen_modifier_trigger = yes + } + } + set_character_flag = negative_event_flag # For the scrying outcome calculation... + } + } + + option = { + name = EVTOPTA_SSI_004 + + trigger = { + has_power_omen_modifier_trigger = no + has_battle_omen_modifier_trigger = no + } + } + + option = { # Monks & Mystics - Hermetics Scrying reaction + name = EVTOPTA_SSI_004 + + calculate_scrying_outcome_effect = yes + remove_scrying_omen_modifiers_effect = yes + + tooltip_info = yes + trigger = { + OR = { + has_power_omen_modifier_trigger = yes + has_battle_omen_modifier_trigger = yes + } + } + } +} + +# Second Landing of the Aztecs +province_event = { + id = SSI.5 + desc = EVTDESC_SSI_005 + + picture = GFX_evt_aztec_arrival + border = GFX_event_normal_frame_war + + has_global_flag = aztec_arrival + + trigger = { + OR = { + AND = { + has_game_rule = { + name = aztec_invasion + value = historical + } + year = 1250 + } + AND = { + has_game_rule = { + name = aztec_invasion + value = random + } + total_years_played = 50 + } + AND = { + has_game_rule = { + name = aztec_invasion + value = delayed_random + } + year = 1000 + total_years_played = 50 + } + } + NOT = { has_global_flag = aztec_arrival_2 } + OR = { + province_id = 1 # Vestisland + province_id = 9 # Connacht + province_id = 35 # Inse Gall + province_id = 31 # Cornwall + province_id = 104 # Cornouaille + province_id = 149 # Bordeaux + province_id = 156 # Coruna + province_id = 162 # Silves + province_id = 841 # Tangier + province_id = 845 # Anti-Atlas + } + owner = { + NOT = { religion = aztec } + } + } + + immediate = { + set_global_flag = aztec_arrival_2 + set_province_flag = aztec_second_wave +# culture = nahuatl +# religion = aztec + e_mexikha = { + holder_scope = { + narrative_event = { id = SSI.6 } + } + } + } + + mean_time_to_happen = { + months = 24 + } + + option = { + name = EVTOPTA_SSI_005 + } +} + +# Second Landing of the Aztecs +narrative_event = { + id = SSI.6 + title = EVTNAME_SSI_006 + desc = EVTDESC_SSI_006 + major = yes + hide_new = yes + + picture = GFX_evt_aztec_arrival + border = GFX_event_narrative_frame_war + + is_triggered_only = yes + + major_trigger = { + FROM = { owner = { NOT = { character = PREVPREV } } } + } + + immediate = { + FROM = { + kingdom = { + ROOT = { + war = { + casus_belli = tribal_invasion + target = PREVPREV # The top liege of the province owner + thirdparty_title = PREV # The de jure kingdom + } + } + } + } + + create_character = { + random_traits = yes + dynasty = random + religion = aztec + culture = nahuatl + female = no + age = 30 + attributes = { + martial = 12 + } + trait = brilliant_strategist + } + new_character = { + spawn_unit = { + province = FROM + home = FROM + troops = + { + heavy_infantry = { 2800 2800 } + light_infantry = { 1400 1300 } + archers = { 1400 1300 } + } + } + } + create_character = { + random_traits = yes + dynasty = random + religion = aztec + culture = nahuatl + female = no + age = 25 + attributes = { + martial = 12 + } + trait = brilliant_strategist + } + new_character = { + spawn_unit = { + province = FROM + home = FROM + troops = + { + heavy_infantry = { 2800 2800 } + light_infantry = { 1400 1300 } + archers = { 1400 1300 } + } + } + } + create_character = { + random_traits = yes + dynasty = random + religion = aztec + culture = nahuatl + female = no + age = 22 + attributes = { + martial = 12 + } + trait = brilliant_strategist + } + new_character = { + spawn_unit = { + province = FROM + home = FROM + troops = + { + heavy_infantry = { 2800 2800 } + light_infantry = { 1400 1300 } + archers = { 1400 1300 } + } + } + } + + create_character = { + random_traits = yes + dynasty = random + religion = aztec + culture = nahuatl + female = no + age = 30 + attributes = { + martial = 12 + } + trait = brilliant_strategist + } + new_character = { + spawn_unit = { + province = FROM + home = FROM + troops = + { + heavy_infantry = { 2800 2800 } + light_infantry = { 1400 1300 } + archers = { 1400 1300 } + } + } + } + create_character = { + random_traits = yes + dynasty = random + religion = aztec + culture = nahuatl + female = no + age = 25 + attributes = { + martial = 12 + } + trait = brilliant_strategist + } + new_character = { + spawn_unit = { + province = FROM + home = FROM + troops = + { + heavy_infantry = { 2800 2800 } + light_infantry = { 1400 1300 } + archers = { 1400 1300 } + } + } + } + create_character = { + random_traits = yes + dynasty = random + religion = aztec + culture = nahuatl + female = no + age = 22 + attributes = { + martial = 12 + } + trait = brilliant_strategist + } + new_character = { + spawn_unit = { + province = FROM + home = FROM + troops = + { + heavy_infantry = { 2800 2800 } + light_infantry = { 1400 1300 } + archers = { 1400 1300 } + } + } + } + + create_character = { + random_traits = yes + dynasty = random + religion = aztec + culture = nahuatl + female = no + age = 30 + attributes = { + martial = 12 + } + trait = brilliant_strategist + } + new_character = { + spawn_unit = { + province = FROM + home = FROM + troops = + { + heavy_infantry = { 2800 2800 } + light_infantry = { 1400 1300 } + archers = { 1400 1300 } + } + } + } + create_character = { + random_traits = yes + dynasty = random + religion = aztec + culture = nahuatl + female = no + age = 25 + attributes = { + martial = 12 + } + trait = brilliant_strategist + } + new_character = { + spawn_unit = { + province = FROM + home = FROM + troops = + { + heavy_infantry = { 2800 2800 } + light_infantry = { 1400 1300 } + archers = { 1400 1300 } + } + } + } + create_character = { + random_traits = yes + dynasty = random + religion = aztec + culture = nahuatl + female = no + age = 22 + attributes = { + martial = 12 + } + trait = brilliant_strategist + } + new_character = { + spawn_unit = { + province = FROM + home = FROM + troops = + { + heavy_infantry = { 2800 2800 } + light_infantry = { 1400 1300 } + archers = { 1400 1300 } + } + } + } + + create_character = { + random_traits = yes + dynasty = random + religion = aztec + culture = nahuatl + female = no + age = 30 + attributes = { + martial = 12 + } + trait = brilliant_strategist + } + new_character = { + spawn_unit = { + province = FROM + home = FROM + troops = + { + heavy_infantry = { 2800 2800 } + light_infantry = { 1400 1300 } + archers = { 1400 1300 } + } + } + } + create_character = { + random_traits = yes + dynasty = random + religion = aztec + culture = nahuatl + female = no + age = 25 + attributes = { + martial = 12 + } + trait = brilliant_strategist + } + new_character = { + spawn_unit = { + province = FROM + home = FROM + troops = + { + heavy_infantry = { 2800 2800 } + light_infantry = { 1400 1300 } + archers = { 1400 1300 } + } + } + } + create_character = { + random_traits = yes + dynasty = random + religion = aztec + culture = nahuatl + female = no + age = 22 + attributes = { + martial = 12 + } + trait = brilliant_strategist + } + new_character = { + spawn_unit = { + province = FROM + home = FROM + troops = + { + heavy_infantry = { 2800 2800 } + light_infantry = { 1400 1300 } + archers = { 1400 1300 } + } + } + } + + random = { + chance = 50 + create_character = { + random_traits = yes + dynasty = random + religion = aztec + culture = nahuatl + female = no + age = 30 + attributes = { + martial = 12 + } + trait = brilliant_strategist + } + new_character = { + spawn_unit = { + province = FROM + home = FROM + troops = + { + heavy_infantry = { 2800 2800 } + light_infantry = { 1400 1300 } + archers = { 1400 1300 } + } + } + } + create_character = { + random_traits = yes + dynasty = random + religion = aztec + culture = nahuatl + female = no + age = 25 + attributes = { + martial = 12 + } + trait = brilliant_strategist + } + new_character = { + spawn_unit = { + province = FROM + home = FROM + troops = + { + heavy_infantry = { 2800 2800 } + light_infantry = { 1400 1300 } + archers = { 1400 1300 } + } + } + } + create_character = { + random_traits = yes + dynasty = random + religion = aztec + culture = nahuatl + female = no + age = 22 + attributes = { + martial = 12 + } + trait = brilliant_strategist + } + new_character = { + spawn_unit = { + province = FROM + home = FROM + troops = + { + heavy_infantry = { 2800 2800 } + light_infantry = { 1400 1300 } + archers = { 1400 1300 } + } + } + } + } + + random = { + chance = 50 + create_character = { + random_traits = yes + dynasty = random + religion = aztec + culture = nahuatl + female = no + age = 30 + attributes = { + martial = 12 + } + trait = brilliant_strategist + } + new_character = { + spawn_unit = { + province = FROM + home = FROM + troops = + { + heavy_infantry = { 2800 2800 } + light_infantry = { 1400 1300 } + archers = { 1400 1300 } + } + } + } + create_character = { + random_traits = yes + dynasty = random + religion = aztec + culture = nahuatl + female = no + age = 25 + attributes = { + martial = 12 + } + trait = brilliant_strategist + } + new_character = { + spawn_unit = { + province = FROM + home = FROM + troops = + { + heavy_infantry = { 2800 2800 } + light_infantry = { 1400 1300 } + archers = { 1400 1300 } + } + } + } + create_character = { + random_traits = yes + dynasty = random + religion = aztec + culture = nahuatl + female = no + age = 22 + attributes = { + martial = 12 + } + trait = brilliant_strategist + } + new_character = { + spawn_unit = { + province = FROM + home = FROM + troops = + { + heavy_infantry = { 2800 2800 } + light_infantry = { 1400 1300 } + archers = { 1400 1300 } + } + } + } + } + + random = { + chance = 50 + create_character = { + random_traits = yes + dynasty = random + religion = aztec + culture = nahuatl + female = no + age = 30 + attributes = { + martial = 12 + } + trait = brilliant_strategist + } + new_character = { + spawn_unit = { + province = FROM + home = FROM + troops = + { + heavy_infantry = { 2800 2800 } + light_infantry = { 1400 1300 } + archers = { 1400 1300 } + } + } + } + create_character = { + random_traits = yes + dynasty = random + religion = aztec + culture = nahuatl + female = no + age = 25 + attributes = { + martial = 12 + } + trait = brilliant_strategist + } + new_character = { + spawn_unit = { + province = FROM + home = FROM + troops = + { + heavy_infantry = { 2800 2800 } + light_infantry = { 1400 1300 } + archers = { 1400 1300 } + } + } + } + create_character = { + random_traits = yes + dynasty = random + religion = aztec + culture = nahuatl + female = no + age = 22 + attributes = { + martial = 12 + } + trait = brilliant_strategist + } + new_character = { + spawn_unit = { + province = FROM + home = FROM + troops = + { + heavy_infantry = { 2800 2800 } + light_infantry = { 1400 1300 } + archers = { 1400 1300 } + } + } + } + } + + # Ships + if = { + limit = { + FROM = { + OR = { + province_id = 1 # Vestisland + province_id = 9 # Connacht + province_id = 35 # Inse Gall + province_id = 31 # Cornwall + } + } + } + FROM = { + sea_zone = { + ROOT = { + spawn_unit = { + province = PREV + home = FROM + owner = ROOT + earmark = aztec_invasion_fleet + troops = + { + galleys = { 1000 1000 } + } + } + } + } + } + } + if = { + limit = { + OR = { + has_power_omen_modifier_trigger = yes + has_battle_omen_modifier_trigger = yes + } + } + set_character_flag = negative_event_flag # For the scrying outcome calculation... + } + } + + option = { + name = EVTOPTA_SSI_006 + + trigger = { + has_power_omen_modifier_trigger = no + has_battle_omen_modifier_trigger = no + } + } + + option = { # Monks & Mystics - Hermetics Scrying reaction + name = EVTOPTA_SSI_006 + + calculate_scrying_outcome_effect = yes + remove_scrying_omen_modifiers_effect = yes + + tooltip_info = yes + trigger = { + OR = { + has_power_omen_modifier_trigger = yes + has_battle_omen_modifier_trigger = yes + } + } + } +} + +# Aztec Invasion Fleets disband +character_event = { + id = SSI.100 + hide_window = yes + + only_playable = yes + has_global_flag = aztec_arrival + + trigger = { + has_landed_title = e_mexikha + NOT = { has_global_flag = aztec_invasion_fleet_disbanded } + had_global_flag = { flag = aztec_arrival days = 18250 } + } + + mean_time_to_happen = { + months = 1 + } + + immediate = { + disband_event_forces = aztec_invasion_fleet + set_global_flag = aztec_invasion_fleet_disbanded + } + + option = { + name = OK + } +} + +# Aztecs Thrown Back Into the Sea +narrative_event = { + id = SSI.105 + title = EVTNAME_SSI_105 + desc = EVTDESC_SSI_105 + + picture = GFX_evt_aztec_arrival + border = GFX_event_narrative_frame_war + + major = yes + + has_global_flag = aztec_arrival_2 + only_playable = yes + + trigger = { + NOT = { has_global_flag = aztecs_defeated } + has_landed_title = e_mexikha + has_regiments = no + is_landed = no + } + + major_trigger = { + ai = no + } + + mean_time_to_happen = { + days = 1 + } + + immediate = { + activate_title = { title = e_mexikha status = no } + set_global_flag = aztecs_defeated + } + + option = { + name = EVTOPTA_SSI_105 + } +} + +# Aztecs Fight Incas +narrative_event = { + id = SSI.30 + title = EVTNAME_SSI_030 + desc = EVTDESC_SSI_030 + + picture = GFX_evt_throne_room_mesoamerican + border = GFX_event_narrative_frame_war + + major = yes + + only_playable = yes + has_global_flag = aztec_arrival + + trigger = { + has_landed_title = e_mexikha + NOT = { has_global_flag = aztec_incas } + NOT = { has_global_flag = aztecs_defeated } + } + + major_trigger = { + ai = no + } + + mean_time_to_happen = { + months = 220 + } + + immediate = { + set_global_flag = aztec_incas + } + + option = { + name = EVTOPTA_SSI_030 + trigger = { + NOT = { has_landed_title = e_mexikha } + } + } + option = { + name = EVTOPTB_SSI_030 + trigger = { + has_landed_title = e_mexikha + } + } +} + +# Aztecs Pacify Northern Plains +narrative_event = { + id = SSI.31 + title = EVTNAME_SSI_031 + desc = EVTDESC_SSI_031 + + picture = GFX_evt_throne_room_mesoamerican + border = GFX_event_narrative_frame_war + + major = yes + + only_playable = yes + has_global_flag = aztec_arrival + + trigger = { + has_landed_title = e_mexikha + NOT = { has_global_flag = aztec_plains } + NOT = { has_global_flag = aztecs_defeated } + } + + major_trigger = { + ai = no + } + + mean_time_to_happen = { + months = 220 + } + + immediate = { + set_global_flag = aztec_plains + } + + option = { + name = EVTOPTA_SSI_031 + trigger = { + NOT = { has_landed_title = e_mexikha } + } + } + option = { + name = EVTOPTB_SSI_031 + trigger = { + has_landed_title = e_mexikha + } + } +} + +# Food From the Americas +narrative_event = { + id = SSI.35 + title = EVTNAME_SSI_035 + desc = EVTDESC_SSI_035 + + picture = GFX_evt_aztec_explorers + border = GFX_event_narrative_frame_war + + major = yes + + only_playable = yes + has_global_flag = aztec_arrival + + trigger = { + has_landed_title = e_mexikha + NOT = { has_global_flag = aztec_food } + NOT = { has_global_flag = aztecs_defeated } + } + + major_trigger = { + ai = no + } + + mean_time_to_happen = { + months = 220 + } + + immediate = { + set_global_flag = aztec_food + } + + option = { + name = EVTOPTA_SSI_035 + trigger = { + NOT = { has_landed_title = e_mexikha } + } + } + option = { + name = EVTOPTB_SSI_035 + trigger = { + has_landed_title = e_mexikha + } + } +} + +# Aztecs Hold Iceland +character_event = { + id = SSI.40 + desc = EVTDESC_SSI_040 + + picture = GFX_evt_throne_room_mesoamerican + border = GFX_event_normal_frame_war + + major = yes + + only_playable = yes + has_global_flag = aztec_arrival + + trigger = { + has_landed_title = e_mexikha + NOT = { has_global_flag = aztec_iceland } + completely_controls = d_iceland + } + + major_trigger = { + ai = no + } + + mean_time_to_happen = { + days = 1 + } + + immediate = { + set_global_flag = aztec_iceland + } + + option = { + name = EVTOPTA_SSI_040 + trigger = { + NOT = { has_landed_title = e_mexikha } + } + } + option = { + name = EVTOPTB_SSI_040 + trigger = { + has_landed_title = e_mexikha + } + } +} + +# Aztecs Hold Ireland +character_event = { + id = SSI.41 + desc = EVTDESC_SSI_041 + + picture = GFX_evt_throne_room_mesoamerican + border = GFX_event_normal_frame_war + + major = yes + + only_playable = yes + has_global_flag = aztec_arrival + + trigger = { + has_landed_title = e_mexikha + NOT = { has_global_flag = aztec_ireland } + + completely_controls = d_ulster + completely_controls = d_connacht + completely_controls = d_meath + completely_controls = d_leinster + completely_controls = d_munster + } + + major_trigger = { + ai = no + } + + mean_time_to_happen = { + days = 1 + } + + immediate = { + set_global_flag = aztec_ireland + } + + option = { + name = EVTOPTA_SSI_041 + trigger = { + NOT = { has_landed_title = e_mexikha } + } + } + option = { + name = EVTOPTB_SSI_040 + trigger = { + has_landed_title = e_mexikha + } + } +} + +# Aztecs Hold Britain +character_event = { + id = SSI.42 + desc = EVTDESC_SSI_042 + + picture = GFX_evt_throne_room_mesoamerican + border = GFX_event_normal_frame_war + + major = yes + + only_playable = yes + has_global_flag = aztec_arrival + + trigger = { + has_landed_title = e_mexikha + NOT = { has_global_flag = aztec_britain } + completely_controls = d_northumberland + completely_controls = d_lancaster + completely_controls = d_york + completely_controls = d_norfolk + completely_controls = d_bedford + completely_controls = d_hereford + completely_controls = d_gloucester + completely_controls = d_canterbury + completely_controls = d_somerset + completely_controls = d_gwynedd + completely_controls = d_cornwall + completely_controls = d_galloway + completely_controls = d_western_isles + completely_controls = d_lothian + completely_controls = d_albany + } + + major_trigger = { + ai = no + } + + mean_time_to_happen = { + days = 1 + } + + immediate = { + set_global_flag = aztec_britain + } + + option = { + name = EVTOPTA_SSI_042 + trigger = { + NOT = { has_landed_title = e_mexikha } + } + } + option = { + name = EVTOPTB_SSI_040 + trigger = { + has_landed_title = e_mexikha + } + } +} + +# Aztecs Hold London +character_event = { + id = SSI.43 + desc = EVTDESC_SSI_043 + + picture = GFX_evt_throne_room_mesoamerican + border = GFX_event_normal_frame_war + + major = yes + + only_playable = yes + has_global_flag = aztec_arrival + + trigger = { + has_landed_title = e_mexikha + completely_controls = c_middlesex + NOT = { has_global_flag = aztec_london } + } + + major_trigger = { + ai = no + } + + mean_time_to_happen = { + days = 1 + } + + immediate = { + set_global_flag = aztec_london + } + + option = { + name = EVTOPTA_SSI_043 + trigger = { + NOT = { has_landed_title = e_mexikha } + } + } + option = { + name = EVTOPTB_SSI_040 + trigger = { + has_landed_title = e_mexikha + } + } +} + +# Aztecs Hold Paris +character_event = { + id = SSI.44 + desc = EVTDESC_SSI_044 + + picture = GFX_evt_throne_room_mesoamerican + border = GFX_event_normal_frame_war + + major = yes + + only_playable = yes + has_global_flag = aztec_arrival + + trigger = { + has_landed_title = e_mexikha + completely_controls = c_ile_de_france + NOT = { has_global_flag = aztec_paris } + } + + major_trigger = { + ai = no + } + + mean_time_to_happen = { + days = 1 + } + + immediate = { + set_global_flag = aztec_paris + } + + option = { + name = EVTOPTA_SSI_043 + trigger = { + NOT = { has_landed_title = e_mexikha } + } + } + option = { + name = EVTOPTB_SSI_040 + trigger = { + has_landed_title = e_mexikha + } + } +} + +# Aztecs Hold Rome +character_event = { + id = SSI.45 + desc = EVTDESC_SSI_045 + + picture = GFX_evt_rome_falls + border = GFX_event_normal_frame_war + + major = yes + + only_playable = yes + has_global_flag = aztec_arrival + + trigger = { + has_landed_title = e_mexikha + completely_controls = c_roma + NOT = { has_global_flag = aztec_rome } + } + + major_trigger = { + ai = no + } + + mean_time_to_happen = { + days = 1 + } + + immediate = { + set_global_flag = aztec_rome + } + + option = { + name = EVTOPTA_SSI_043 + trigger = { + NOT = { has_landed_title = e_mexikha } + } + } + option = { + name = EVTOPTB_SSI_040 + trigger = { + has_landed_title = e_mexikha + } + } +} + +# Aztecs Hold Constantinople +character_event = { + id = SSI.46 + desc = EVTDESC_SSI_046 + + picture = GFX_evt_throne_room_mesoamerican + border = GFX_event_normal_frame_war + + major = yes + + only_playable = yes + has_global_flag = aztec_arrival + + trigger = { + has_landed_title = e_mexikha + completely_controls = c_byzantion + NOT = { has_global_flag = aztec_constantinople } + } + + major_trigger = { + ai = no + } + + mean_time_to_happen = { + days = 1 + } + + immediate = { + set_global_flag = aztec_constantinople + } + + option = { + name = EVTOPTA_SSI_043 + trigger = { + NOT = { has_landed_title = e_mexikha } + } + } + option = { + name = EVTOPTB_SSI_040 + trigger = { + has_landed_title = e_mexikha + } + } +} + +# Aztecs Hold Cordoba +character_event = { + id = SSI.47 + desc = EVTDESC_SSI_047 + + picture = GFX_evt_throne_room_mesoamerican + border = GFX_event_normal_frame_war + + major = yes + + only_playable = yes + has_global_flag = aztec_arrival + + trigger = { + has_landed_title = e_mexikha + completely_controls = c_cordoba + NOT = { has_global_flag = aztec_cordoba } + } + + major_trigger = { + ai = no + } + + mean_time_to_happen = { + days = 1 + } + + immediate = { + set_global_flag = aztec_cordoba + } + + option = { + name = EVTOPTA_SSI_043 + trigger = { + NOT = { has_landed_title = e_mexikha } + } + } + option = { + name = EVTOPTB_SSI_040 + trigger = { + has_landed_title = e_mexikha + } + } +} + +# Aztecs Hold Cairo +character_event = { + id = SSI.48 + desc = EVTDESC_SSI_048 + + picture = GFX_evt_throne_room_mesoamerican + border = GFX_event_normal_frame_war + + major = yes + + only_playable = yes + has_global_flag = aztec_arrival + + trigger = { + has_landed_title = e_mexikha + completely_controls = c_cairo + NOT = { has_global_flag = aztec_cairo } + } + + major_trigger = { + ai = no + } + + mean_time_to_happen = { + days = 1 + } + + immediate = { + set_global_flag = aztec_cairo + } + + option = { + name = EVTOPTA_SSI_043 + trigger = { + NOT = { has_landed_title = e_mexikha } + } + } + option = { + name = EVTOPTB_SSI_040 + trigger = { + has_landed_title = e_mexikha + } + } +} + +# Aztecs Sacrifice Prisoner +character_event = { + id = SSI.60 + desc = EVTDESC_SSI_060 + + picture = GFX_evt_bishop_aztec + border = GFX_event_normal_frame_war + + is_triggered_only = yes + + option = { + name = EVTOPTA_SSI_060 + } +} + +# Aztecs Sacrifice Occupied Province Character +character_event = { + id = SSI.61 + hide_window = yes + + ai = yes + min_age = 16 + prisoner = no + + is_triggered_only = yes + + trigger = { + in_command = no + NOT = { religion = aztec } + NOT = { + any_liege = { + has_landed_title = e_mexikha + } + } + new_character = { + OR = { + religion = aztec + religion = aztec_reformed + } + } + } + + immediate = { + liege = { + character_event = { id = SSI.62 } + } + new_character = { + if = { + limit = { + ai = no + ROOT = { + controls_religion = yes + NOR = { + religion = aztec + religion = aztec_reformed + } + } + } + set_character_flag = achievement_holy_smoke + } + } + death = { death_reason = death_sacrificed } + } + + option = { + name = OK + } +} + +# Liege Informed of Sacrifice +character_event = { + id = SSI.62 + desc = EVTDESC_SSI_060 + + picture = GFX_evt_bishop_aztec + border = GFX_event_normal_frame_war + + is_triggered_only = yes + + option = { + name = EVTOPTA_SSI_060 + } +} + +# Aztecs Bring Syphilis +narrative_event = { + id = SSI.70 + title = EVTNAME_SSI_070 + desc = EVTDESC_SSI_070 + + picture = GFX_evt_aztec_explorers + border = GFX_event_narrative_frame_war + + major = yes + + only_playable = yes + has_global_flag = aztec_arrival + + trigger = { + has_landed_title = e_mexikha + NOT = { has_global_flag = aztec_syphilis } + NOT = { has_global_flag = aztecs_defeated } + } + + major_trigger = { + ai = no + } + + mean_time_to_happen = { + months = 150 + } + + immediate = { + set_global_flag = aztec_syphilis + activate_disease = syphilis + } + + option = { + name = EVTOPTA_SSI_070 + trigger = { + NOT = { has_landed_title = e_mexikha } + } + } + option = { + name = EVTOPTB_SSI_070 + trigger = { + has_landed_title = e_mexikha + } + } +} + +# Aztecs Struck by Smallpox +narrative_event = { + id = SSI.71 + title = EVTNAME_SSI_071 + desc = EVTDESC_SSI_071 + + picture = GFX_evt_throne_room_mesoamerican + border = GFX_event_narrative_frame_war + + major = yes + + only_playable = yes + has_global_flag = aztec_arrival + + trigger = { + has_global_flag = aztec_syphilis + has_landed_title = e_mexikha + NOT = { has_global_flag = aztecs_defeated } + NOT = { has_global_flag = aztec_smallpox } + } + + major_trigger = { + ai = no + } + + mean_time_to_happen = { + months = 150 + } + + immediate = { + set_global_flag = aztec_smallpox + } + + option = { + name = EVTOPTA_SSI_071 + trigger = { + NOT = { has_landed_title = e_mexikha } + } + } + option = { + name = EVTOPTB_SSI_071 + trigger = { + has_landed_title = e_mexikha + } + } +} + +# Aztecs Sacrifice Prisoner (Aztec perspective) +character_event = { + id = SSI.72 + desc = EVTDESC_SSI_072 + + picture = GFX_evt_bishop_aztec + border = GFX_event_normal_frame_war + + is_triggered_only = yes + + option = { + name = EVTOPTA_SSI_072 + } +} + diff --git a/LCDA/events/teutonic_order_events.txt b/LCDA/events/teutonic_order_events.txt new file mode 100644 index 0000000..631dc11 --- /dev/null +++ b/LCDA/events/teutonic_order_events.txt @@ -0,0 +1,555 @@ +########################################### +# +# Holy Order Events +# +# ID 8700-9999 is reserved +# +########################################### + + +######################################## +# The Teutonic Order +######################################## + +### Ask for a County in order to help against Pagans ### + +# Hochmeister writes a letter +character_event = { + id = 8700 + desc = "EVTDESC8700" + picture = GFX_evt_council + border = GFX_event_normal_frame_religion + + only_playable = yes + religion_group = christian + only_independent = yes + only_capable = yes + min_age = 16 + prisoner = no + + trigger = { + # Teutonic Order is active + is_title_active = d_teutonic_order + primary_title = { + title = d_teutonic_order + } + + NOT = { has_global_flag = teutonic_order_invited_to_kingdom } + NOT = { has_global_flag = land_wanted_by_teutonic_order } + OR = { + NOT = { has_character_flag = land_given_to_teutonic_order } + had_character_flag = { flag = land_given_to_teutonic_order days = 365 } + had_character_flag = { flag = no_land_to_teutonic_order_at_the_moment days = 720 } + } + + # There is a valid province + any_independent_ruler = { + religion = ROOT + primary_title = { + tier = KING + } + NOT = { has_character_flag = no_land_to_religious_orders } + any_demesne_province = { + NOT = { religion = ROOT } + any_province_holding = { + NOT = { holding_type = nomad } + } + any_neighbor_province = { + has_owner = yes + owner = { + religion_group = pagan_group + } + } + kingdom = { + OR = { + has_holder = no + holder_scope = { + NOT = { religion = ROOT } + } + } + } + } + } + } + + mean_time_to_happen = { + months = 12 + } + + immediate = { + hidden_tooltip = { + set_global_flag = land_wanted_by_teutonic_order + } + } + + option = { + name = "EVTOPTA8700" + random_independent_ruler = { + limit = { + religion = ROOT + primary_title = { + tier = KING + } + any_demesne_province = { + NOT = { religion = ROOT } + any_province_holding = { + NOT = { holding_type = nomad } + } + any_neighbor_province = { + has_owner = yes + owner = { + religion_group = pagan_group + } + } + kingdom = { + OR = { + has_holder = no + holder_scope = { + NOT = { religion = ROOT } + } + } + } + } + } + random_demesne_province = { + limit = { + NOT = { religion = ROOT } + any_province_holding = { + NOT = { holding_type = nomad } + } + any_neighbor_province = { + has_owner = yes + owner = { + religion_group = pagan_group + } + } + kingdom = { + OR = { + has_holder = no + holder_scope = { + NOT = { religion = ROOT } + } + } + } + } + save_event_target_as = land_wanted_by_teutonic_order + owner = { + letter_event = { id = 8701 days = 7 } + } + } + } + } +} + +# Ask permission from the King +letter_event = { + id = 8701 + desc = "EVTDESC8701" + border = GFX_event_letter_frame_religion + + is_triggered_only = yes + + option = { + name = "EVTOPTA8501" + ai_chance = { factor = 100 } + prestige = 50 + piety = 50 + event_target:land_wanted_by_teutonic_order = { + county = { + grant_title = FROM + FROM = { + gain_settlements_under_title = { + title = PREV + enemy = ROOT + } + } + } + } + FROM = { + opinion = { + modifier = opinion_granted_county_to_holy_order + who = ROOT + years = 100 + } + } + religion_head = { + opinion = { + modifier = opinion_exalted + who = ROOT + years = 10 + } + } + hidden_tooltip = { + FROM = { + event_target:land_wanted_by_teutonic_order = { + province_event = { id = 8702 days = 1 } + } + } + } + set_character_flag = land_given_to_teutonic_order + } + option = { + name = "EVTOPTB8501" + ai_chance = { factor = 0 } + set_character_flag = no_land_to_teutonic_order_at_the_moment + } + option = { + name = "EVTOPTC8501" + ai_chance = { factor = 0 } + piety = -25 + FROM = { + opinion = { + modifier = opinion_angry + who = ROOT + years = 20 + } + } + religion_head = { + opinion = { + modifier = opinion_disappointed + who = ROOT + years = 10 + } + } + hidden_tooltip = { + FROM = { letter_event = { id = 8800 days = 1 } } + } + set_character_flag = no_land_to_religious_orders + clr_global_flag = land_wanted_by_teutonic_order + } +} + +# The county has been seceded +province_event = { + id = 8702 + desc = "EVTDESC8702" + picture = "GFX_evt_castle_construction" + border = GFX_event_normal_frame_religion + + is_triggered_only = yes + + option = { + name = "EXCELLENT" + hidden_tooltip = { + clr_province_flag = land_wanted_by_teutonic_order + clr_global_flag = land_wanted_by_teutonic_order + owner = { narrative_event = { id = 8703 days = 7 } } + any_playable_ruler = { + limit = { + ai = no + NOT = { character = FROM } + OR = { + religion_group = christian + war_with = FROM + capital_scope = { + NOT = { + distance = { + where = ROOT + value = 100 # Means we live fairly near the province where the castle is built + } + } + } + } + } + narrative_event = { id = 8703 days = 7 } + } + } + } +} + +# News spread about the new county +narrative_event = { + id = 8703 + title = "EVTNAME8703" + desc = "EVTDESC8703" + picture = "GFX_evt_crusaders" + border = "GFX_event_narrative_frame_religion" + + only_rulers = yes + + is_triggered_only = yes + + option = { + name = "EVTOPTA8503" + trigger = { + has_character_flag = land_given_to_teutonic_order + } + prestige = 100 + clr_character_flag = land_given_to_teutonic_order + } + option = { + name = "EVTOPTB8503" + trigger = { + NOT = { has_character_flag = land_given_to_teutonic_order } + religion = FROMFROM + } + } + option = { + name = "EVTOPTC8503" + trigger = { + NOT = { religion_group = christian } + } + } + option = { + name = "EVTOPTD8503" + trigger = { + religion_group = christian + NOT = { religion = FROMFROM } + } + } +} + + +### HRE vassal wants to give land to the Teutonic Order ### + +# HRE vassal wants to donate land to the Teutonic Order +province_event = { + id = 8720 + desc = "EVTDESC8720" + picture = GFX_evt_council + border = GFX_event_normal_frame_religion + + trigger = { + owner = { + NOT = { has_character_flag = no_land_to_teutonic_order } + NOT = { has_character_flag = wants_to_give_land_to_teutonic_order } + + war = no + + # The Emperor is Top liege + top_liege = { + OR = { + AND = { + primary_title = { title = e_hre } + e_germany = { has_holder = no } + culture_group = central_germanic + } + primary_title = { title = e_germany } + } + } + + # Teutonic Order is active + is_title_active = d_teutonic_order + any_independent_ruler = { + primary_title = { + title = d_teutonic_order + } + } + } + # There is a valid province + any_province_holding = { + NOT = { holding_type = nomad } + } + region = custom_eastern_baltic + } + + mean_time_to_happen = { + months = 120 + + modifier = { + factor = 0.75 + religion_group = pagan_group + } + modifier = { + factor = 0.75 + any_neighbor_province = { + has_owner = yes + owner = { + religion_group = pagan_group + } + } + } + } + + immediate = { + hidden_tooltip = { + owner = { set_character_flag = wants_to_give_land_to_teutonic_order } + set_province_flag = province_to_the_teutonic_order + } + } + + option = { + name = "EVTOPTA8720" + tooltip = { + owner = { + any_independent_ruler = { + limit = { + primary_title = { + title = d_teutonic_order + } + } + ROOT = { + county = { + grant_title = PREVPREV + } + } + } + } + } + hidden_tooltip = { + owner = { + liege = { letter_event = { id = 8721 days = 3 } } + } + } + } + option = { + name = "EVTOPTB8720" + owner = { set_character_flag = no_land_to_teutonic_order } + } +} + +# Liege decides +letter_event = { + id = 8721 + desc = "EVTDESC8721" + border = GFX_event_letter_frame_religion + + is_triggered_only = yes + + option = { + name = "EVTOPTA8721" # Ask top liege + trigger = { independent = no } + liege = { letter_event = { id = 8722 days = 3 } } + } + option = { + name = "EVTOPTB8721" # Yes + ai_chance = { factor = 100 } + trigger = { independent = yes } + FROM = { + owner = { + letter_event = { + id = 8723 + days = 3 + } + } + } + } + option = { + name = "EVTOPTC8721" # No + ai_chance = { factor = 0 } + trigger = { independent = yes } + FROM = { + owner = { + letter_event = { + id = 8724 + days = 3 + } + } + } + } +} + +# Top liege decides +letter_event = { + id = 8722 + desc = "EVTDESC8722" + border = GFX_event_letter_frame_religion + + is_triggered_only = yes + + option = { + name = "EVTOPTA8722" # Yes + ai_chance = { factor = 100 } + FROMFROM = { + owner = { + letter_event = { + id = 8723 + days = 3 + } + } + } + } + option = { + name = "EVTOPTB8722" # No + ai_chance = { factor = 0 } + FROMFROM = { + owner = { + letter_event = { + id = 8724 + days = 3 + } + } + } + } +} + +# Gift was allowed +letter_event = { + id = 8723 + desc = "EVTDESC8723" + border = GFX_event_letter_frame_religion + + is_triggered_only = yes + + option = { + name = "EVTOPTA8723" + any_independent_ruler = { + limit = { + primary_title = { + title = d_teutonic_order + } + } + letter_event = { id = 8725 days = 3 } + } + } +} + +# Gift was not allowed +letter_event = { + id = 8724 + desc = "EVTDESC8724" + border = GFX_event_letter_frame_religion + + is_triggered_only = yes + + option = { + name = "EVTOPTA8724" + } +} + +# The Teutonic Order is informed +letter_event = { + id = 8725 + desc = "EVTDESC8725" + border = GFX_event_letter_frame_religion + + is_triggered_only = yes + + option = { + name = "EXCELLENT" + FROM = { + random_demesne_province = { + limit = { has_province_flag = province_to_the_teutonic_order } + clr_province_flag = province_to_the_teutonic_order + county = { + grant_title = ROOT + ROOT = { + gain_settlements_under_title = { + title = PREV + enemy = FROM + } + } + } + } + } + } +} + + +######################################## +# General Holy Order Events +######################################## + +### No Religious Orders Allowed ### + +letter_event = { + id = 8800 + desc = "EVTDESC8800" + border = GFX_event_letter_frame_religion + + is_triggered_only = yes + + option = { + name = "EVTOPTA8800" + } +} diff --git a/LCDA/history/titles/d_aztec_reformed.txt b/LCDA/history/titles/d_aztec_reformed.txt new file mode 100644 index 0000000..7d4fc35 --- /dev/null +++ b/LCDA/history/titles/d_aztec_reformed.txt @@ -0,0 +1,4 @@ +20.1.1={ + holder=0 + active = no +} diff --git a/LCDA/history/titles/d_baltic_pagan_reformed.txt b/LCDA/history/titles/d_baltic_pagan_reformed.txt new file mode 100644 index 0000000..7d4fc35 --- /dev/null +++ b/LCDA/history/titles/d_baltic_pagan_reformed.txt @@ -0,0 +1,4 @@ +20.1.1={ + holder=0 + active = no +} diff --git a/LCDA/history/titles/d_finnish_pagan_reformed.txt b/LCDA/history/titles/d_finnish_pagan_reformed.txt new file mode 100644 index 0000000..7d4fc35 --- /dev/null +++ b/LCDA/history/titles/d_finnish_pagan_reformed.txt @@ -0,0 +1,4 @@ +20.1.1={ + holder=0 + active = no +} diff --git a/LCDA/history/titles/d_fraticelli.txt b/LCDA/history/titles/d_fraticelli.txt new file mode 100644 index 0000000..d005725 --- /dev/null +++ b/LCDA/history/titles/d_fraticelli.txt @@ -0,0 +1,4 @@ +20.1.1= +{ + active = no +} diff --git a/LCDA/history/titles/d_iconoclast.txt b/LCDA/history/titles/d_iconoclast.txt new file mode 100644 index 0000000..8ec5a52 --- /dev/null +++ b/LCDA/history/titles/d_iconoclast.txt @@ -0,0 +1,11 @@ +20.1.1 = { + active = no +} +766.11.16 = { + active = yes + holder = 70560 +} +780.2.7 = { + holder = 0 + active = no +} diff --git a/LCDA/history/titles/d_jewish.txt b/LCDA/history/titles/d_jewish.txt new file mode 100644 index 0000000..8310169 --- /dev/null +++ b/LCDA/history/titles/d_jewish.txt @@ -0,0 +1,4 @@ +640.1.1={ + holder=0 + active = no +} \ No newline at end of file diff --git a/LCDA/history/titles/d_slavic_pagan_reformed.txt b/LCDA/history/titles/d_slavic_pagan_reformed.txt new file mode 100644 index 0000000..7d4fc35 --- /dev/null +++ b/LCDA/history/titles/d_slavic_pagan_reformed.txt @@ -0,0 +1,4 @@ +20.1.1={ + holder=0 + active = no +} diff --git a/LCDA/history/titles/d_tengri_pagan_reformed.txt b/LCDA/history/titles/d_tengri_pagan_reformed.txt new file mode 100644 index 0000000..7d4fc35 --- /dev/null +++ b/LCDA/history/titles/d_tengri_pagan_reformed.txt @@ -0,0 +1,4 @@ +20.1.1={ + holder=0 + active = no +} diff --git a/LCDA/history/titles/d_west_african_pagan_reformed.txt b/LCDA/history/titles/d_west_african_pagan_reformed.txt new file mode 100644 index 0000000..7d4fc35 --- /dev/null +++ b/LCDA/history/titles/d_west_african_pagan_reformed.txt @@ -0,0 +1,4 @@ +20.1.1={ + holder=0 + active = no +} diff --git a/LCDA/history/titles/d_zoroastrian.txt b/LCDA/history/titles/d_zoroastrian.txt new file mode 100644 index 0000000..8287015 --- /dev/null +++ b/LCDA/history/titles/d_zoroastrian.txt @@ -0,0 +1,4 @@ +640.1.1={ + holder=0 + active = no +} diff --git a/LCDA/history/titles/d_zun_pagan_reformed.txt b/LCDA/history/titles/d_zun_pagan_reformed.txt new file mode 100644 index 0000000..36887e9 --- /dev/null +++ b/LCDA/history/titles/d_zun_pagan_reformed.txt @@ -0,0 +1,4 @@ +20.1.1 = { + holder = 0 + active = no +} diff --git a/LCDA/history/titles/k_papal_state.txt b/LCDA/history/titles/k_papal_state.txt new file mode 100644 index 0000000..a4827a2 --- /dev/null +++ b/LCDA/history/titles/k_papal_state.txt @@ -0,0 +1,633 @@ +42.1.1={ + holder = 145292 +} # Peter's first visit to Rome + +64.10.13={ + holder = 145291 +} +79.1.1={ + holder = 7615 +} +92.1.1={ + holder = 7614 +} +99.1.1={ + holder = 7613 +} +107.1.1={ + holder = 7612 +} +115.1.1={ + holder = 7611 +} +125.1.1={ + holder = 7610 +} +137.1.1={ + holder = 7609 +} +140.1.1={ + holder = 7608 +} +154.1.1={ + holder = 7607 +} +167.4.20={ + holder = 7606 +} +174.1.1={ + holder = 7605 +} +189.1.1={ + holder = 7604 +} +199.1.1={ + holder = 7603 +} +217.12.20={ + holder = 7602 +} +222.10.14={ + holder = 7601 +} +230.1.1={ + holder = 7600 +} +235.9.29={ + holder = 7799 +} +236.1.3={ + holder = 7798 +} +250.1.20={ + holder = 7797 +} +253.6.1={ + holder = 7796 +} +254.3.5={ + holder = 7795 +} +257.8.2={ + holder = 7794 +} +258.8.6={ + holder = 7793 +} +268.12.26={ + holder = 7792 +} +274.12.30={ + holder = 7791 +} +283.7.12={ + holder = 7790 +} +296.4.22={ + holder = 7789 +} +304.4.1={ + holder = 7787 +} +309.1.16={ + holder = 7786 +} +310.8.17={ + holder = 7785 +} +314.1.10={ + holder = 7784 +} +335.12.31={ + holder = 7783 +} +336.10.7={ + holder = 7782 +} +352.4.12={ + holder = 7781 +} +366.9.24={ + holder = 7780 +} +384.12.11={ + holder = 7779 +} +399.11.26={ + holder = 7778 +} +401.11.27={ + holder = 7777 +} +417.3.12={ + holder = 7776 +} +418.12.26={ + holder = 7775 +} +422.9.4={ + holder = 7774 +} +432.4.6={ + holder = 7773 +} +440.8.18={ + holder = 7772 +} +461.11.10={ + holder = 7771 +} +468.2.28={ + holder = 7770 +} +483.3.10={ + holder = 7769 +} +492.1.1={ + holder = 7768 +} +496.11.21={ + holder = 7767 +} +498.11.19={ + holder = 7766 +} +514.7.19={ + holder = 7765 +} +523.8.6={ + holder = 7763 +} +526.5.18={ + holder = 7762 +} +530.1.1={ + holder = 7761 +} +532.1.1={ + holder = 7760 +} +535.5.8={ + holder = 7759 +} +536.4.22={ + holder = 7764 +} +536.6.8={ + holder = 7900 +} +555.6.7={ + holder = 7899 +} +561.3.4={ + holder = 7898 +} +574.7.13={ + holder = 7897 +} +579.7.20={ + holder = 7896 +} +590.1.1={ + holder = 7893 +} +604.3.15={ + holder = 7892 +} +606.2.22={ + holder = 7891 +} +607.11.12={ + holder = 7890 +} +615.5.25={ + holder = 7889 +} +618.11.8={ + holder = 7888 +} +625.10.25={ + holder = 7887 +} +638.10.12={ + holder = 7886 +} +640.8.2={ + holder = 7885 +} +642.10.12={ + holder = 7884 +} +649.5.14={ + holder = 7883 +} +653.7.17={ + holder = 7882 +} +657.6.1={ + holder = 7881 +} +672.1.27={ + holder = 7880 +} +676.6.17={ + holder = 7879 +} +678.4.11={ + holder = 7878 +} +681.1.10={ + holder = 7877 +} +683.6.28={ + holder = 7876 +} +685.5.8={ + holder = 7875 +} +686.8.2={ + holder = 7874 +} +687.9.21={ + holder = 7873 +} +701.9.8={ + holder = 7872 +} +705.1.11={ + holder = 7871 +} +707.10.18={ + holder = 7870 +} +708.2.4={ + holder = 7869 +} +715.4.9={ + holder = 7868 +} +731.2.11={ + holder = 7867 +} +741.11.28={ + holder = 7866 +} +752.3.22={ + holder = 7895 +} +757.4.29={ + holder = 7865 +} +767.6.28={ + holder = 7864 +} +772.1.24={ + holder = 7863 +} +795.12.25={ + holder = 7862 +} +816.6.12={ + holder = 7861 +} +817.1.24={ + holder = 7860 +} +824.2.11={ + holder = 7859 +} +827.8.27={ + holder = 7858 +} +827.9.16={ + holder = 7857 +} +844.1.11={ + holder = 7856 +} +847.1.24={ + holder = 7855 +} +855.7.17={ + holder = 7854 +} +858.4.17={ + holder = 7853 +} +867.11.13={ + holder = 7852 +} +872.12.14={ + holder = 7851 +} +882.12.16={ + holder = 7850 +} +884.5.15={ + holder = 7849 +} +885.9.1={ + holder = 7848 +} +891.9.14={ + holder = 7847 +} +896.4.4={ + holder = 7846 +} +896.5.1={ + holder = 7845 +} +897.8.1={ + holder = 7844 +} +897.11.1={ + holder = 7843 +} +897.12.1={ + holder = 7842 +} +900.1.1={ + holder = 7841 +} +903.7.1={ + holder = 7840 +} +903.9.1={ + holder = 7916 +} +911.4.14={ + holder = 7839 +} +913.7.1={ + holder = 7838 +} +914.3.1={ + holder = 7837 +} +928.5.1={ + holder = 7836 +} +929.1.1={ + holder = 7835 +} +931.3.15={ + holder = 7917 +} +935.12.1={ + holder = 7834 +} +939.7.13={ + holder = 7833 +} +942.10.1={ + holder = 7832 +} +946.5.1={ + holder = 7831 +} +955.12.16={ + holder = 7931 +} +964.4.14={ + holder = 7830 +} +964.6.23={ + holder = 7829 +} +965.3.1={ + holder = 7828 +} +972.9.6={ + holder = 7827 +} +974.7.1={ + holder = 7930 +} +983.7.10={ + holder = 7826 +} +984.8.20={ + holder = 7825 +} +996.5.3={ + holder = 1318 +} +999.2.18={ + holder = 7824 +} +1003.5.12={ + holder = 7823 +} +1003.12.6={ + holder = 7822 +} +1009.7.1={ + holder = 7821 +} +1012.5.12={ + holder = 7933 +} +1024.8.9={ + holder = 7934 +} +1032.10.1={ + holder = 7937 +} +1045.1.20={ + holder = 7820 +} +1045.2.10={ + holder = 7937 +} +1045.5.1={ + holder = 7819 +} +1046.12.20={ + holder = 7818 +} +1047.10.9={ + holder = 7937 +} +1048.7.17={ + holder = 7817 +} +1048.8.9={ + holder = 1338 +} +1054.4.19={ + holder = 7894 +} +1057.8.3={ + holder = 11034 +} +1058.3.29={ + holder = 7940 +} +1061.7.27= +{ + holder = 2008 +} +1073.4.21={ + holder = 2010 +} +1085.5.25={ + holder = 2012 +} +1087.9.16={ + holder = 2013 +} +1095.1.1={ + set_global_flag = christian_crusades_unlocked +} +1099.1.1={ + set_global_flag = muslim_jihads_unlocked +} +1099.7.29={ + holder = 2014 +} +1118.1.21={ + holder = 2017 +} +1119.1.28={ + holder = 294 +} +1124.12.13={ + holder = 2021 +} +1130.2.13= +{ + holder=71800 +} +1143.9.24= +{ + holder=71805 +} +1144.3.8= +{ + holder=71806 +} +1145.2.15= +{ + holder=71807 +} +1153.7.8= +{ + holder=71808 +} +1154.12.3= +{ + holder=71809 +} +1159.9.1= +{ + holder=71810 +} +1181.8.30= +{ + holder=71811 +} +1185.5.25= +{ + holder=223754 +} +1187.10.20= +{ + holder=71812 +} +1187.12.17= +{ + holder=71813 +} +1191.3.20= +{ + holder=70841 +} +1198.1.8= +{ + holder=71814 +} +1216.7.16= +{ + holder=71820 +} +1227.3.18= +{ + holder=71821 +} +1241.8.22= +{ + holder=71822 +} +1241.11.10= +{ + holder=71823 +} +1254.12.7= +{ + holder=71824 +} +1261.5.25= +{ + holder=71825 +} +1264.10.2= +{ + holder=71826 +} +1268.11.29= +{ + holder=70785 +} +1276.1.10= +{ + holder=71827 +} +1276.6.22= +{ + holder=71829 +} +1276.8.18= +{ + holder=71830 +} +1277.5.20= +{ + holder=70851 +} +1280.8.22= +{ + holder=71831 +} +1285.3.28= +{ + holder=71832 +} +1287.4.3= +{ + holder=71833 +} +1292.4.4= +{ + holder=71834 +} +1294.12.13= +{ + holder=71835 +} +1303.10.11= +{ + holder=71836 +} +1304.7.7= +{ + holder=71837 +} +1314.4.20= +{ + holder=71838 +} +1334.12.20= +{ + holder=478501 +} \ No newline at end of file diff --git a/LCDA/map/adjacencies.csv b/LCDA/map/adjacencies.csv new file mode 100644 index 0000000..dfeeaa0 --- /dev/null +++ b/LCDA/map/adjacencies.csv @@ -0,0 +1,248 @@ +From;To;Type;Through;-1;-1;-1;-1;Comment +5;45;sea;1019;-1;-1;-1;-1;Ulaid-Argyll +5;50;sea;1019;-1;-1;-1;-1;Ulaid-Galloway +35;40;sea;992;-1;-1;-1;-1;Western Isles-Moray +35;39;sea;992;-1;-1;-1;-1;Western Isles-Ross +36;37;sea;993;-1;-1;-1;-1;Orkney-Caithness +50;54;sea;1019;-1;-1;-1;-1;Galloway-Isle of Man +72;73;sea;965;-1;-1;-1;-1;Essex-Kent +78;79;sea;973;-1;-1;-1;-1;Brugge-Zeeland +79;80;sea;973;-1;-1;-1;-1;Zeeland-Holland +79;92;sea;973;-1;-1;-1;-1;Zeeland-Breda +79;93;sea;973;-1;-1;-1;-1;Zeeland-Gent +81;84;sea;973;-1;-1;-1;-1;Westfriesland-Frisia +166;839;sea;954;-1;-1;-1;-1;Algeciras-Ceuta +166;841;sea;954;-1;-1;-1;-1;Algeciras-Tangiers +263;848;sea;1000;-1;-1;-1;-1;Holstein-Bremen +263;259;sea;1000;-1;-1;-1;-1;Holstein-Celle +264;265;sea;999;-1;-1;-1;-1;Slesvig-Fyn +265;266;sea;999;-1;-1;-1;-1;Fyn-Sjaelland +266;303;sea;999;-1;-1;-1;-1;Sjaelland-Skåne +290;291;sea;1005;-1;-1;-1;-1;Uppland-Åland +290;292;sea;959;-1;-1;-1;-1;Uppland-Södermanland +291;382;sea;1005;-1;-1;-1;-1;Åland-Suomi +293;297;sea;962;-1;-1;-1;-1;Östergötland-Västergötland +931;300;sea;1003;-1;-1;-1;-1;Möre-Öland +303;305;sea;999;-1;-1;-1;-1;Skåne-Bornholm +304;308;sea;999;-1;-1;-1;-1;Rügen-Wolgast +304;306;sea;999;-1;-1;-1;-1;Rügen-Rostock +304;307;sea;999;-1;-1;-1;-1;Rügen-Werle +324;325;sea;1027;-1;-1;-1;-1;Corsica-Arborea +338;339;sea;1036;-1;-1;-1;-1;Reggio-Messina +373;376;sea;1004;-1;-1;-1;-1;Kurzeme-Saaremaa +376;377;sea;1004;-1;-1;-1;-1;Saaremaa-Liivimaa +473;474;sea;1037;-1;-1;-1;-1;Arta-Corfu +474;476;sea;1037;-1;-1;-1;-1;Corfu-Achaia +475;476;sea;1037;-1;-1;-1;-1;Hellas-Achaia +483;747;sea;936;-1;-1;-1;-1;Rhodos-Lykia +484;485;sea;1017;-1;-1;-1;-1;Naxos-Euboia +486;746;sea;1111;-1;-1;-1;-1;Samos-Ephesos +487;744;sea;1111;-1;-1;-1;-1;Lesbos-Abydos +495;744;sea;947;-1;-1;-1;-1;Kaliopolis-Abydos +562;598;sea;969;-1;-1;-1;-1;Korchev-Tmutarakan +826;827;sea;1022;-1;-1;-1;-1;Menorca-Mallorca +858;874;sea;1386;-1;-1;-1;-1;Aden-Tadjoura +859;874;sea;1386;-1;-1;-1;-1;Taizz-Tadjoura +870;653;sea;1391;-1;-1;-1;-1;Dhu Zabi-Bahrein +652;653;sea;1391;-1;-1;-1;-1;Al Hasa-Bahrein +1295;1331;sea;1293;-1;-1;-1;-1;Kutch-Sonda +301;932;sea;1003;-1;-1;-1;-1;Gotland-Tjust +16;18;sea;968;-1;-1;-1;-1;Laigin-Dyfed +345;470;sea;1038;-1;-1;-1;-1;Brindisi-Dyrrhachion +641;870;sea;1393;-1;-1;-1;-1;Hormuz-Dhu Zabi +496;741;sea;947;-1;-1;-1;-1;Constantinople-Nikomedia +259;261;major_river;1046;-1;-1;-1;-1;Celle-Hamburg +258;261;major_river;1046;-1;-1;-1;-1;Lüneburg-Hamburg +309;261;major_river;1046;-1;-1;-1;-1;Altmark-Hamburg +309;262;major_river;1046;-1;-1;-1;-1;Altmark-Lübeck +309;260;major_river;1047;-1;-1;-1;-1;Altmark-Mecklenburg +309;307;major_river;1047;-1;-1;-1;-1;Altmark-Werle +309;365;major_river;1047;-1;-1;-1;-1;Altmark-Brandenburg +310;365;major_river;1048;-1;-1;-1;-1;Anhalt-Brandenburg +311;365;major_river;1048;-1;-1;-1;-1;Plauen-Brandenburg +312;365;major_river;1049;-1;-1;-1;-1;Meissen-Brandenburg +312;364;major_river;1049;-1;-1;-1;-1;Meissen-Lausitz +439;363;major_river;1049;-1;-1;-1;-1;Plzen-Litomerice +439;437;major_river;1050;-1;-1;-1;-1;Plzen-Praha +80;92;major_river;1043;-1;-1;-1;-1;Holland-Breda +82;92;major_river;1043;-1;-1;-1;-1;Sticht-Breda +89;91;major_river;1043;-1;-1;-1;-1;Kleve-Loon +119;90;major_river;1044;-1;-1;-1;-1;Köln-Jülich +123;118;major_river;1045;-1;-1;-1;-1;Mainz-Trier +97;99;major_river;1041;-1;-1;-1;-1;Rouen-Evreux +98;99;major_river;1041;-1;-1;-1;-1;Vexin-Evreux +98;112;major_river;1042;-1;-1;-1;-1;Vexin-Paris +95;112;major_river;1042;-1;-1;-1;-1;Amiens-Paris +106;142;major_river;1039;-1;-1;-1;-1;Nantes-Thouars +107;142;major_river;1039;-1;-1;-1;-1;Anjou-Thouars +107;141;major_river;1040;-1;-1;-1;-1;Anjou-Poitiers +107;140;major_river;1040;-1;-1;-1;-1;Anjou-Tours +109;140;major_river;1040;-1;-1;-1;-1;Vendome-Tours +143;149;major_river;1107;-1;-1;-1;-1;Saintonge-Bordeaux +216;149;major_river;1107;-1;-1;-1;-1;Perigord-Bordeaux +216;215;major_river;1108;-1;-1;-1;-1;Perigord-Agen +214;215;major_river;1108;-1;-1;-1;-1;Toulouse-Agen +368;370;major_river;1051;-1;-1;-1;-1;Gdansk-Marienburg +368;369;major_river;1051;-1;-1;-1;-1;Gdansk-Chelmno +429;428;major_river;1052;-1;-1;-1;-1;Gniezno-Kujawy +431;428;major_river;1052;-1;-1;-1;-1;Poznan-Kujawy +432;428;major_river;1052;-1;-1;-1;-1;Kalisz-Kujawy +528;428;major_river;1053;-1;-1;-1;-1;Sieradzko-Kujawy +528;529;major_river;1053;-1;-1;-1;-1;Sieradzko-Plock +528;530;major_river;1054;-1;-1;-1;-1;Sieradzko-Czersk +527;530;major_river;1054;-1;-1;-1;-1;Krakow-Czersk +527;531;major_river;1055;-1;-1;-1;-1;Krakow-Sandomierz +527;532;major_river;1055;-1;-1;-1;-1;Krakow-Sacz +375;374;major_river;1080;-1;-1;-1;-1;Latgale-Zemgale +416;374;major_river;1080;-1;-1;-1;-1;Daugava-Zemgale +416;420;major_river;1081;-1;-1;-1;-1;Daugava-Vilnius +416;934;major_river;1081;-1;-1;-1;-1;Daugava-Lepiel +419;934;major_river;1081;-1;-1;-1;-1;Polotsk-Lepiel +419;418;major_river;1082;-1;-1;-1;-1;Polotsk-Orsha +392;411;major_river;1083;-1;-1;-1;-1;Käkisalmi-Ingria +411;409;major_river;1085;-1;-1;-1;-1;Ingria-Ladoga +411;414;major_river;1085;-1;-1;-1;-1;Ingria-Novgorod +415;414;major_river;1087;-1;-1;-1;-1;Luki-Novgorod +415;410;major_river;1087;-1;-1;-1;-1;Luki-Toropets +393;409;major_river;1084;-1;-1;-1;-1;Ääninen-Ladoga +393;404;major_river;1084;-1;-1;-1;-1;Ääninen-Zaozerye +404;403;major_river;1101;-1;-1;-1;-1;Zaozerye-Romny +404;405;major_river;1101;-1;-1;-1;-1;Zaozerye-Chud +408;405;major_river;1101;-1;-1;-1;-1;Beloozero-Chud +408;406;major_river;1100;-1;-1;-1;-1;Beloozero-Vologda +408;407;major_river;1100;-1;-1;-1;-1;Beloozero-Kostroma +408;572;major_river;1105;-1;-1;-1;-1;Beloozero-Yaroslavl +412;572;major_river;1105;-1;-1;-1;-1;Torzhok-Yaroslavl +412;571;major_river;1105;-1;-1;-1;-1;Torzhok-Uglich +412;570;major_river;1106;-1;-1;-1;-1;Torzhok-Tver +407;572;major_river;1099;-1;-1;-1;-1;Kostroma-Yaroslavl +407;574;major_river;1099;-1;-1;-1;-1;Kostroma-Merya +407;583;major_river;1099;-1;-1;-1;-1;Kostroma-Suzdal +586;583;major_river;1099;-1;-1;-1;-1;Galich-Suzdal +586;585;major_river;1099;-1;-1;-1;-1;Galich-Gorodez +588;585;major_river;1098;-1;-1;-1;-1;Meri-Gorodez +588;590;major_river;1098;-1;-1;-1;-1;Meri-Chuvash +589;590;major_river;1097;-1;-1;-1;-1;Kerzhenets-Chuvash +611;614;major_river;1097;-1;-1;-1;-1;Qazan-Ashli +610;609;major_river;1096;-1;-1;-1;-1;Bolghar-Syrt +610;614;major_river;1096;-1;-1;-1;-1;Bolghar-Ashli +616;609;major_river;1095;-1;-1;-1;-1;Pecheneg-Syrt +613;609;major_river;1096;-1;-1;-1;-1;Bilyar-Syrt +608;609;major_river;1103;-1;-1;-1;-1;Lower Volga-Syrt +608;592;major_river;1103;-1;-1;-1;-1;Lower Volga-Burtasy +608;595;major_river;1094;-1;-1;-1;-1;Lower Volga-Don Portage +619;595;major_river;1094;-1;-1;-1;-1;Saray-Don Portage +619;605;major_river;1093;-1;-1;-1;-1;Saray-Manych +620;605;major_river;1092;-1;-1;-1;-1;Itil-Manych +620;604;major_river;1092;-1;-1;-1;-1;Itil-Kuma +596;597;major_river;1088;-1;-1;-1;-1;Tana-Azov +596;599;major_river;1088;-1;-1;-1;-1;Tana-Kuban +596;607;major_river;1088;-1;-1;-1;-1;Tana-Sarpa +594;607;major_river;1089;-1;-1;-1;-1;Sarkel-Sarpa +594;595;major_river;1090;-1;-1;-1;-1;Sarkel-Don Portage +594;593;major_river;1090;-1;-1;-1;-1;Sarkel-Khopyor +566;593;major_river;1090;-1;-1;-1;-1;Sugrov-Khopyor +576;577;major_river;1091;-1;-1;-1;-1;Bryansk-Pronsk +543;558;major_river;1070;-1;-1;-1;-1;Oleshye-Lower Dniepr +543;557;major_river;1070;-1;-1;-1;-1;Oleshye-Lukomorie +543;556;major_river;1071;-1;-1;-1;-1;Oleshye-Chortitza +544;556;major_river;1071;-1;-1;-1;-1;Korsun-Chortitza +544;555;major_river;1072;-1;-1;-1;-1;Korsun-Pereyaslavl +547;555;major_river;1072;-1;-1;-1;-1;Kiev-Pereyaslavl +547;553;major_river;1076;-1;-1;-1;-1;Kiev-Lyubech +552;553;major_river;1076;-1;-1;-1;-1;Turov-Lyubech +552;550;major_river;1079;-1;-1;-1;-1;Turov-Minsk +548;550;major_river;1079;-1;-1;-1;-1;Pinsk-Minsk +553;554;major_river;1073;-1;-1;-1;-1;Lyubech-Chernigov +933;554;major_river;1074;-1;-1;-1;-1;Roslavl-Chernigov +933;576;major_river;1075;-1;-1;-1;-1;Roslavl-Bryansk +550;553;major_river;1077;-1;-1;-1;-1;Minsk-Lyubech +550;551;major_river;1077;-1;-1;-1;-1;Minsk-Mstislavl +418;551;major_river;1077;-1;-1;-1;-1;Orsha-Mstislavl +418;417;major_river;1082;-1;-1;-1;-1;Orsha-Vitebsk +568;551;major_river;1078;-1;-1;-1;-1;Smolensk-Mstislavl +568;933;major_river;1078;-1;-1;-1;-1;Smolensk-Roslavl +585;590;major_river;1102;-1;-1;-1;-1;Gorodez-Chuvash +585;591;major_river;1102;-1;-1;-1;-1;Gorodez-Cheremisa +584;591;major_river;1102;-1;-1;-1;-1;Ashli-Cheremisa +581;591;major_river;1104;-1;-1;-1;-1;Murom-Cheremisa +581;579;major_river;1104;-1;-1;-1;-1;Murom-Mordva +581;580;major_river;1104;-1;-1;-1;-1;Murom-Ryazan +581;578;major_river;1104;-1;-1;-1;-1;Murom-Kolomna +575;578;major_river;1104;-1;-1;-1;-1;Moskva-Kolomna +512;511;major_river;1056;-1;-1;-1;-1;Belgorod-Galaz +512;513;major_river;1056;-1;-1;-1;-1;Belgorod-Birlad +541;545;major_river;1057;-1;-1;-1;-1;Peresechen-Torki +510;511;major_river;1058;-1;-1;-1;-1;Constantia-Galaz +510;514;major_river;1058;-1;-1;-1;-1;Constantia-Turnu +509;514;major_river;1059;-1;-1;-1;-1;Karvuna-Turnu +508;514;major_river;1059;-1;-1;-1;-1;Dorostotum-Turnu +507;514;major_river;1060;-1;-1;-1;-1;Nikopolis-Turnu +507;516;major_river;1060;-1;-1;-1;-1;Nikopolis-Severin +506;516;major_river;1061;-1;-1;-1;-1;Vidin-Severin +505;516;major_river;1061;-1;-1;-1;-1;Beograd-Severin +505;517;major_river;1063;-1;-1;-1;-1;Beograd-Temes +505;518;major_river;1063;-1;-1;-1;-1;Beograd-Bacs +462;518;major_river;1063;-1;-1;-1;-1;Krizevci-Bacs +452;518;major_river;1065;-1;-1;-1;-1;Pecs-Bacs +452;521;major_river;1065;-1;-1;-1;-1;Pecs-Csanad +452;522;major_river;1065;-1;-1;-1;-1;Pecs-Pest +451;522;major_river;1066;-1;-1;-1;-1;Fejer-Pest +451;444;major_river;1066;-1;-1;-1;-1;Fejer-Esztergom +450;444;major_river;1067;-1;-1;-1;-1;Sopron-Esztergom +450;445;major_river;1067;-1;-1;-1;-1;Sopron-Pressburg +449;445;major_river;1067;-1;-1;-1;-1;Österreich-Pressburg +449;446;major_river;1067;-1;-1;-1;-1;Österreich-Znojmo +448;446;major_river;1068;-1;-1;-1;-1;Salzburg-Znojmo +448;447;major_river;1068;-1;-1;-1;-1;Salzburg-Passau +448;361;major_river;1068;-1;-1;-1;-1;Salzburg-Niederbayern +360;361;major_river;1068;-1;-1;-1;-1;Oberbayern-Niederbayern +315;361;major_river;1069;-1;-1;-1;-1;Kempten-Niederbayern +315;314;major_river;1069;-1;-1;-1;-1;Kempten-Nürnberg +315;252;major_river;1069;-1;-1;-1;-1;Kempten-Ulm +249;252;major_river;1069;-1;-1;-1;-1;Schwaben-Ulm +249;251;major_river;1069;-1;-1;-1;-1;Schwaben-Fürstenberg +1297;1331;major_river;1307;-1;-1;-1;-1;Debul-Sonda +1303;1331;major_river;1307;-1;-1;-1;-1;Ranikot-Sonda +1303;1137;major_river;1307;-1;-1;-1;-1;Ranikot-Mansura +1303;1333;major_river;1308;-1;-1;-1;-1;Ranikot-Siwistan +1138;1333;major_river;1308;-1;-1;-1;-1;Bhakkar-Siwistan +1138;1175;major_river;1309;-1;-1;-1;-1;Bhakkar-Aror +1339;1175;major_river;1309;-1;-1;-1;-1;Rajanpur-Aror +1339;1336;major_river;1309;-1;-1;-1;-1;Rajanpur-Vijnot +1339;1337;major_river;1310;-1;-1;-1;-1;Rajanpur-Uch +1375;1337;major_river;1310;-1;-1;-1;-1;Kafirkot-Uch +1375;1338;major_river;1310;-1;-1;-1;-1;Kafirkot-Multan +1375;1340;major_river;1310;-1;-1;-1;-1;Kafirkot-Karor +1191;1340;major_river;1310;-1;-1;-1;-1;Bannu-Karor +1236;1318;major_river;1311;-1;-1;-1;-1;Candradvipa-Samatata +1236;1319;major_river;1311;-1;-1;-1;-1;Candradvipa-Bikrampur +1240;1319;major_river;1311;-1;-1;-1;-1;Kumara Mandala-Bikrampur +1240;1325;major_river;1312;-1;-1;-1;-1;Kumara Mandala-Madhupur +1243;1151;major_river;1312;-1;-1;-1;-1;Gauda-Laksmanavati +1243;1153;major_river;1313;-1;-1;-1;-1;Gauda-Kotivarsa +1152;1153;major_river;1313;-1;-1;-1;-1;Mudgagiri-Kotivarsa +1152;1419;major_river;1313;-1;-1;-1;-1;Mudgagiri-Mithila +1154;1419;major_river;1313;-1;-1;-1;-1;Magadha-Mithila +1154;1162;major_river;1313;-1;-1;-1;-1;Magadha-Kusinagara +1251;1162;major_river;1315;-1;-1;-1;-1;Sasaram-Kusinagara +1251;1166;major_river;1315;-1;-1;-1;-1;Sasaram-Jaunpur +1251;1163;major_river;1315;-1;-1;-1;-1;Sasaram-Varanasi +1281;1163;major_river;1315;-1;-1;-1;-1;Chunar-Varanasi +1328;1163;major_river;1315;-1;-1;-1;-1;Prayaga-Varanasi +1328;1284;major_river;1315;-1;-1;-1;-1;Prayaga-Bharauli +1283;1284;major_river;1315;-1;-1;-1;-1;Asni-Bharauli +1356;1284;major_river;1314;-1;-1;-1;-1;Kanyakubja-Bharauli +1356;1167;major_river;1314;-1;-1;-1;-1;Kanyakubja-Lakhnau +1356;1358;major_river;1314;-1;-1;-1;-1;Kanyakubja-Vodamayutja +1141;1358;major_river;1314;-1;-1;-1;-1;Kol-Vodamayutja +1141;1173;major_river;1314;-1;-1;-1;-1;Kol-Sambhal +1365;1173;major_river;1314;-1;-1;-1;-1;Delhi-Sambhal +1325;1319;major_river;1316;-1;-1;-1;-1;Madhupur-Bikrampur +1325;1324;major_river;1316;-1;-1;-1;-1;Madhupur-Suvarnagram +1381;1324;major_river;1316;-1;-1;-1;-1;Pundravardhana-Suvarnagram +1321;1246;major_river;1317;-1;-1;-1;-1;Kamarupanagara-Goalpara +1078;1082;portage;568;-1;-1;-1;-1;Dneiper-Dwina +1089;1094;portage;595;-1;-1;-1;-1;Don-Volga +1087;1082;portage;417;-1;-1;-1;-1;Lovat-Dwina +1402;1404;portage;1195;-1;-1;-1;-1;Gulf of Mannar-Palk Strait \ No newline at end of file diff --git a/LCDA/map/climate.txt b/LCDA/map/climate.txt new file mode 100644 index 0000000..8b0a837 --- /dev/null +++ b/LCDA/map/climate.txt @@ -0,0 +1,78 @@ +#Example: Most of Europe north of med. +mild_winter = { + # Ireland + 8 10 12 + # Ireland + 3 4 5 7 9 11 13 14 15 16 + # British Isles + 33 35 54 + # England & Wales + 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 52 53 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 + # Netherlands + 74 76 77 78 79 90 91 92 93 94 113 115 116 117 118 129 + # France + 75 95 96 97 98 99 107 108 109 110 111 112 114 130 131 132 135 136 137 138 139 140 141 142 144 143 145 146 147 149 150 212 213 214 215 216 218 220 222 225 226 227 239 240 148 + # Brittany + 100 101 102 103 104 105 106 + # Italy + 233 234 319 320 321 353 354 355 456 457 461 462 463 + # Iberia + 173 174 175 176 177 178 181 189 190 196 197 198 199 200 201 202 203 204 + # Mongol Empire + 621 622 623 628 900 901 902 903 1181 1188 1186 1378 1431 + # Albania + 561 562 599 600 601 560 + # Hungary + 492 497 498 499 500 501 502 503 504 505 506 507 508 509 510 514 515 516 + # Turkey + 681 702 703 706 707 736 737 749 750 751 759 752 753 760 + # Tarim basin + gobi + 1347 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1408 1450 1449 + # Other + 674 668 669 673 676 677 680 679 1013 670 671 672 682 704 667 685 666 686 1187 1185 1189 1182 907 1161 +} + +#Example: Inland Europe & Scandinavia +normal_winter = { + # Iceland + 1 2 + # British Isles + 34 36 + # Lower Scandinavia + 303 305 6 931 302 301 300 + # Scotland + 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 + # Denmark + 259 260 261 262 263 264 265 266 267 304 306 307 308 + # East Frisia + 80 81 82 83 84 85 86 87 88 89 119 120 121 122 254 255 256 257 258 309 310 311 312 313 + # France + 217 219 223 224 242 209 221 + # Germany + 124 125 126 127 128 133 134 245 248 249 250 251 365 366 367 368 369 370 371 372 430 434 435 436 438 446 447 448 449 930 + # Poland/Lithuania + 373 374 420 421 422 423 424 425 426 427 428 429 431 432 433 440 441 442 443 444 445 451 454 450 520 521 522 523 524 525 + 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 544 545 546 548 549 + # Pyrenees + 152 151 211 + # Mongolia + 1451 1452 1453 1456 1455 + # Other + 123 252 253 314 315 360 361 362 363 364 365 437 439 452 453 460 511 512 513 517 518 519 542 543 557 563 596 605 607 618 620 848 1425 1426 1427 1433 1434 897 896 1273 1432 1424 1423 1351 + 604 606 675 603 602 599 597 598 558 559 +} + +#Example: Russia & Lappland +severe_winter = { + # Scandinavia + 279 280 386 387 388 389 391 268 269 270 271 272 273 274 275 276 277 278 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 383 384 385 382 381 390 392 932 376 377 378 379 380 411 413 415 + # Russia + 393 394 395 396 396 397 398 850 887 888 889 890 892 893 910 1132 1205 1306 1329 399 400 401 402 403 404 405 406 407 408 409 410 412 414 417 551 552 553 554 555 556 564 565 566 567 568 569 570 571 572 573 574 575 + 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 608 609 610 611 612 613 614 615 616 617 619 886 891 895 898 933 1223 1430 1435 375 416 419 418 934 550 547 + # Pyrenees + 207 206 210 208 205 + # Alps + 230 229 231 236 232 235 318 317 357 358 455 359 316 247 246 244 238 237 241 228 + # Mongolia + 1454 1463 1462 1459 1461 1458 1457 1460 +} diff --git a/LCDA/map/colormap.txt b/LCDA/map/colormap.txt new file mode 100644 index 0000000..9ef79e5 --- /dev/null +++ b/LCDA/map/colormap.txt @@ -0,0 +1,2 @@ +name = "map\\terrain\\colormap_hires.bmp" +multiplier = 4 diff --git a/LCDA/map/default.map b/LCDA/map/default.map new file mode 100644 index 0000000..85a4209 --- /dev/null +++ b/LCDA/map/default.map @@ -0,0 +1,75 @@ +max_provinces = 1466 +definitions = "definition.csv" +provinces = "provinces.bmp" +positions = "positions.txt" +terrain = "terrain.bmp" +rivers = "rivers.bmp" +terrain_definition = "terrain.txt" +heightmap = "topology.bmp" +tree_definition = "trees.bmp" +continent = "continent.txt" +adjacencies = "adjacencies.csv" +climate = "climate.txt" +region = "island_region.txt" +geographical_region = "geographical_region.txt" +static = "statics" +seasons = "seasons.txt" + +# European Seas +sea_zones = { 936 943 } +sea_zones = { 945 1012 } +sea_zones = { 1014 1111 } +sea_zones = { 1305 1305 } + +# Indian Seas +sea_zones = { 1307 1317 } +sea_zones = { 1382 1407 } +sea_zones = { 1409 1412 } +sea_zones = { 1293 1293 } + +# Non-accessible sea zones +sea_zones = { 944 944 } + +ocean_region = { # European Ocean + sea_zones = { 1 2 3 4 } +} + +ocean_region = { # Indian Ocean + sea_zones = { 5 6 7 8 } +} + +# Define which indices in trees.bmp palette which should count as trees for automatic terrain assignment +tree = { 3 4 7 10 } + +major_rivers = +{ + # India + 1307 1308 1309 1310 # Indus + 1311 1312 1313 1314 1315 # Ganges + 1316 1317 # Brahmaputra + # Europe + 1043 1044 1045 #Rhine + 1046 1047 1048 1049 1050 #Elbe + 1107 1108 #Garonne + 1039 1040 #Loire + 1041 1042 #Seine + 1051 1052 1053 1054 1055 #Vistula + 1080 1081 1082 #Dwina + 1083 #Neva + 1084 #Svir + 1085 1086 1087 #Volkhov/Lake Ilmen/Lovat + 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1105 1106 #Volga + 1102 1103 1104 #Oka + 1088 1089 1090 1091 #Don + 1070 1071 1072 1076 1077 1078 #Dnieper + 1079 #Pripyat + 1073 1074 1075 #Desna + 1056 1057 #Dniester + 1058 1059 1060 1061 1063 1065 1066 1067 1068 1069 #Danube + 1062 952 1064 972 #Caspian Sea + 958 #Ladoga + 997 #Onega + 944 #Aral Sea +} + +externals = { 1464 1465 } # Paths to china diff --git a/LCDA/map/definition.csv b/LCDA/map/definition.csv new file mode 100644 index 0000000..31a53f0 --- /dev/null +++ b/LCDA/map/definition.csv @@ -0,0 +1,14211 @@ +province;red;green;blue;x;x +1;42;3;128;Vestisland;x +2;84;6;1;Austisland;x +3;126;9;129;Tyrconnell;x +4;168;12;2;Tyrone;x +5;0;15;130;Ulster;x +6;168;45;177;Blekinge;x +7;84;21;131;Oriel;x +8;126;24;4;Breifne;x +9;168;27;132;Connacht;x +10;0;30;5;Kildare;x +11;42;33;133;Dublin;x +12;84;36;6;Ossory;x +13;126;39;134;Thomond;x +14;168;42;7;Desmond;x +15;0;45;135;Ormond;x +16;42;48;8;Leinster;x +17;84;51;136;Hereford;x +18;126;54;9;Dyfed;x +19;168;57;137;Glamorgan;x +20;0;60;10;Gwent;x +21;42;63;138;Gloucester;x +22;84;66;11;Oxford;x +23;126;69;139;Wiltshire;x #Salisbury +24;168;72;12;Surrey;x +25;0;75;140;Sussex;x +26;42;78;13;Winchester;x +27;126;84;14;Dorset;x +28;84;81;141;Somerset;x +29;168;87;142;Devon;x +30;0;90;15;Worcester;x +31;42;93;143;Cornwall;x +32;84;96;16;Middlesex;x +33;126;99;144;Faereyar;x +34;168;102;17;Shetland;x +35;0;105;145;Innse Gall;x +36;42;108;18;Orkney;x +37;84;111;146;Caithness;x +38;126;114;19;Teviotdale;x +39;168;117;147;Ross;x +40;0;120;20;Moray;x +41;42;123;148;Buchan;x +42;84;126;21;Strathearn;x +43;126;129;149;Gowrie;x +44;168;132;22;Atholl;x +45;0;135;150;Argyll;x +46;42;138;23;Fife;x +47;84;141;151;Clydesdale;x #Strathclyde +48;126;144;24;Lothian;x +49;168;147;152;Carrick;x +50;0;150;25;Galloway;x +51;42;153;153;Dunbar;x +52;84;156;26;Northumberland;x +53;126;159;154;Cumberland;x +54;168;162;27;Isle of Man;x +55;0;165;155;Westmorland;x +56;42;168;28;Durham;x +57;84;171;156;York;x +58;126;174;29;Lancaster;x +59;168;177;157;Chester;x +60;0;180;30;Perfeddwlad;x +61;42;183;158;Lincoln;x +62;84;186;31;Leicester;x +63;126;189;159;Derby;x +64;168;192;32;Gwynedd;x +65;0;195;160;Powys;x +66;42;198;33;Shrewsbury;x +67;84;201;161;Warwick;x +68;126;204;34;Northampton;x +69;168;207;162;Bedford;x +70;0;210;35;Norfolk;x +71;42;0;163;Suffolk;x +72;84;3;36;Essex;x +73;126;6;164;Kent;x +74;168;9;37;Guines;x +75;0;12;165;Boulogne;x +76;42;15;38;Yperen;x +77;84;18;166;Artois;x +78;126;21;39;Brugge;x +79;168;24;167;Zeeland;x +80;0;27;40;Holland;x +81;42;30;168;Westfriesland;x +82;84;33;41;Sticht;x +83;126;36;169;Gelre;x +84;168;39;42;Frisia;x +85;0;42;170;Ostfriesland;x +86;42;45;43;Oldenburg;x +87;84;48;171;Osnabruck;x +88;126;51;44;Munster;x +89;168;54;172;Kleve;x +90;0;57;45;Julich;x +91;42;60;173;Loon;x +92;84;63;46;Breda;x +93;126;66;174;Gent;x +94;168;69;47;Hainaut;x +95;0;72;175;Amiens;x +96;42;75;48;Eu;x +97;84;78;176;Arques;x +98;126;81;49;Vexin;x +99;168;84;177;Evreux;x +100;0;87;50;Avranches;x +101;42;90;178;Rennes;x +102;84;93;51;Penthievre;x +103;126;96;179;Leon;x +104;168;99;52;Cornouaille;x +105;0;102;180;Vannes;x +106;42;105;53;Nantes;x +107;84;108;181;Anjou;x +108;126;111;54;Maine;x +109;168;114;182;Vendome;x +110;0;117;55;Blois;x +111;42;120;183;Chartres;x +112;84;123;56;Ile de France;x +113;126;126;184;Vermandois;x +114;168;129;57;Reims;x +115;0;132;185;Luxembourg;x +116;42;135;58;Liege;x +117;84;138;186;Brabant;x +118;126;141;59;Trier;x +119;168;144;187;Koln;x +120;0;147;60;Gottingen;x +121;42;150;188;Nassau;x +122;84;153;61;Leiningen;x +123;126;156;189;Mainz;x +124;168;159;62;Pfalz;x +125;0;162;190;Baden;x +126;42;165;63;Nordgau;x +127;84;168;191;Lorraine;x +128;126;171;64;Metz;x +129;168;174;192;Verdun;x +130;0;177;65;Troyes;x +131;42;180;193;Sens;x +132;84;183;66;Auxerre;x +133;126;186;194;Saintois;x +134;168;189;67;Sundgau;x +135;0;192;195;Besancon;x +136;42;195;68;Dijon;x +137;84;198;196;Nevers;x +138;126;201;69;Orleans;x +139;168;204;197;Bourges;x +140;0;207;70;Tourraine;x +141;42;210;198;Poitiers;x +142;84;0;71;Thouars;x +143;126;3;199;Saintonge;x +144;168;6;72;Lusignan;x +145;0;9;200;La Marche;x +146;42;12;73;Bourbon;x +147;84;15;201;Limousin;x +148;126;18;74;Angouleme;x +149;168;21;202;Bordeaux;x +150;0;24;75;Albret;x +151;42;27;203;Labourd;x #Labourd +152;84;30;76;Navarra;x +153;126;33;204;Viscaya;x +154;168;36;77;Asturias de Santillana;x +155;0;39;205;Asturias de Oviedo;x +156;42;42;78;Coruna;x +157;84;45;206;Santiago;x +158;126;48;79;Porto;x +159;168;51;207;Coimbra;x +160;0;54;80;Lisboa;x +161;42;57;208;Alcacer do Sal;x +162;84;60;81;Silves;x +163;126;63;209;Faro;x +164;168;66;82;Niebla;x +165;0;69;210;Cadiz;x +166;42;72;83;Algeciras;x +167;84;75;211;Malaga;x +168;126;78;84;Almeria;x +169;168;81;212;Murcia;x +170;0;84;85;Denia;x +171;42;87;213;Valencia;x +172;84;90;86;Castellon;x +173;126;93;214;Tarragona;x +174;168;96;87;Albarracin;x +175;0;99;215;Calatayud;x +176;42;102;88;Molina;x +177;84;105;216;Cuenca;x +178;126;108;89;La Mancha;x +179;168;111;217;Almansa;x +180;0;114;90;Granada;x +181;42;117;218;Cordoba;x +182;84;120;91;Sevilla;x +183;126;123;219;Aracena;x +184;168;126;92;Badajoz;x +185;0;129;220;Mertola;x +186;42;132;93;Evora;x +187;84;135;221;Castelo Branco;x +188;126;138;94;Braganza;x +189;168;141;222;Astorga;x +190;0;144;95;Leon;x +191;42;147;223;Zamora;x +192;84;150;96;Salamanca;x +193;126;153;224;Alcantara;x +194;168;156;97;Plasencia;x +195;0;159;225;Caceres;x +196;42;162;98;Calatrava;x +197;84;165;226;Toledo;x +198;126;168;99;Valladolid;x +199;168;171;227;Burgos;x +200;0;174;0;Soria;x +201;42;177;128;Najera;x +202;84;180;1;Zaragoza;x +203;126;183;129;Lleida;x +204;168;186;2;Barcelona;x +205;0;189;130;Empuries;x +206;42;192;3;Urgell;x +207;84;195;131;Alto Aragon;x +208;126;198;4;Bearn;x +209;168;201;132;Armagnac;x +210;0;204;5;Foix;x +211;42;207;133;Rosello;x +212;84;210;6;Narbonne;x +213;126;0;134;Carcassonne;x +214;168;3;7;Toulouse;x +215;0;6;135;Agen;x +216;42;9;8;Perigord;x +217;84;12;136;Auvergne;x +218;126;15;9;Rouergue;x +219;168;18;137;Gevaudan;x +220;0;21;10;Montpellier;x +221;42;24;138;Provence;x +222;84;27;11;Venaissin;x +223;126;30;139;Viviers;x +224;168;33;12;Forez;x +225;0;36;140;Macon;x +226;42;39;13;Charolais;x +227;84;42;141;Lyon;x +228;126;45;14;Dauphine Viennois;x +229;168;48;142;Forcalquier;x +230;0;51;15;Nice;x +231;42;54;143;Saluzzo;x +232;84;57;16;Monferrato;x +233;126;60;144;Genoa;x +234;168;63;17;Pavia;x +235;0;66;145;Lombardia;x +236;42;69;18;Piemonte;x +237;84;72;146;Savoie;x +238;126;75;19;Valais;x +239;168;78;147;Geneve;x +240;0;81;20;Chalons;x +241;42;84;148;Neuchatel;x +242;84;87;21;Aargau;x +243;126;138;49;Orvieto;x +244;168;93;22;Bern;x +245;0;96;150;Schwyz;x +246;42;99;23;Grisons;x +247;84;102;151;Chur;x +248;126;105;24;St Gallen;x +249;168;108;152;Schwaben;x +250;0;111;25;Breisgau;x #Här Avslutade Jag Igår +251;42;114;153;Furstenberg;x +252;84;117;26;Ulm;x +253;126;120;154;Wurttemberg;x +254;168;123;27;Franken;x +255;0;126;155;Thuringen;x +256;42;129;28;Weimar;x +257;84;132;156;Braunschweig;x +258;126;135;29;Luneburg;x +259;168;138;157;Celle;x +260;0;141;30;Mecklemburg;x +261;42;144;158;Hamburg;x +262;84;147;31;Lubeck;x +263;126;150;159;Holstein;x +264;168;153;32;Slesvig;x +265;0;156;160;Fyn;x +266;42;159;33;Sjaelland;x +267;84;162;161;Jylland;x +268;126;165;34;Agder;x +269;168;168;162;Rogaland;x +270;0;171;35;Telemark;x +271;42;174;163;Vestfold;x +272;84;177;36;Akershus;x +273;126;180;164;Oppland;x +274;168;183;37;Bergenshus;x +275;0;186;165;Nidaros;x +276;42;189;38;Hedmark;x +277;84;192;166;Naumadal;x +278;126;195;39;Halogaland;x +279;168;198;167;Lappland;x +280;0;201;40;Vasterbotten;x +281;42;204;168;Angermanland;x +282;84;207;41;Jamtland;x +283;126;210;169;Medelpad;x +284;168;0;42;Herjedalen;x +285;0;3;170;Halsingland;x +286;42;6;43;Gastrikland;x +287;84;9;171;Jarnbaraland;x +288;126;12;44;Varmland;x +289;168;15;172;Vastmanland;x +290;0;18;45;Uppland;x +291;42;21;173;Aland;x +292;84;24;46;Sodermanland;x +293;126;27;174;Ostergotland;x +294;168;30;47;Narke;x +295;0;33;175;Dal;x +296;42;36;48;Viken;x +297;84;39;176;Vastergotland;x +298;126;42;49;Smaland;x +299;43;81;138;Farrah;x +300;0;48;50;Oland;x +301;42;51;178;Gotland;x +302;84;54;51;Halland;x +303;126;57;179;Skane;x +304;168;60;52;Rugen;x +305;0;63;180;Bornholm;x +306;42;66;53;Rostock;x +307;84;69;181;Werle;x +308;126;72;54;Wolgast;x +309;168;75;182;Altmark;x +310;0;78;55;Anhalt;x +311;42;81;183;Plauen;x +312;84;84;56;Meissen;x +313;126;87;184;Bamberg;x +314;168;90;57;Nurnberg;x +315;0;93;185;Kempten;x +316;42;96;58;Tirol;x +317;84;99;186;Trent;x +318;126;102;59;Brescia;x +319;168;105;187;Verona;x +320;0;108;60;Cremona;x +321;42;111;188;Parma;x +322;84;114;61;Modena;x +323;126;117;189;Lucca;x +324;168;120;62;Corsica;x +325;0;123;190;Arborea;x +326;42;126;63;Cagliari;x +327;84;129;191;Pisa;x +328;126;132;64;Firenze;x +329;168;135;192;Urbino;x +330;0;138;65;Siena;x +331;42;141;193;Piombino;x +332;84;144;66;Orbetello;x +333;126;147;194;Roma;x +334;168;150;67;Napoli;x +335;0;153;195;Benevento;x +336;42;156;68;Salerno;x +337;84;159;196;Consenza;x +338;126;162;69;Reggio;x +339;168;165;197;Messina;x +340;0;168;70;Palermo;x +341;42;171;198;Trapani;x +342;84;174;71;Agrigento;x +343;126;177;199;Siracusa;x +344;168;180;72;Taranto;x +345;0;183;200;Lecce;x +346;42;186;73;Bari;x +347;84;189;201;Apulia;x +348;126;192;74;Foggia;x +349;168;195;202;Spoleto;x +350;0;198;75;Ancona;x +351;42;201;203;Ravenna;x +352;84;204;76;Bologna;x +353;126;207;204;Ferrara;x +354;168;210;77;Mantua;x +355;0;0;205;Padua;x +356;42;3;78;Venezia;x +357;84;6;206;Treviso;x +358;126;9;79;Aquileia;x +359;168;12;207;Innsbruck;x +360;0;15;80;Oberbayern;x +361;42;18;208;Niederbayern;x +362;84;21;81;Domazlice;x #Cheb +363;126;24;209;Litomerice;x #Usti nad Labem +364;168;27;82;Lausitz;x +365;0;30;210;Brandenburg;x +366;42;33;83;Stettin;x +367;84;36;211;Slupsk;x +368;126;39;84;Danzig;x +369;168;42;212;Chelminskie;x +370;0;45;85;Marienburg;x +371;42;48;213;Sambia;x +372;84;51;86;Memel;x +373;126;54;214;Kurs;x +374;168;57;87;Zemigalians;x +375;0;60;215;Lettigalians;x +376;42;63;88;Osel;x +377;84;66;216;Livs;x +378;126;69;89;Reval;x +379;168;72;217;Dorpat;x +380;0;75;90;Narva;x +381;42;78;218;Nyland;x +382;84;81;91;Finland;x +383;126;84;219;Tavasts;x +384;168;87;92;Satakunta;x +385;0;90;220;Osterbotten;x +386;42;93;93;Kemi;x +387;84;96;221;Kola;x +388;126;99;94;Karelen;x +389;168;102;222;Finnmark;x +390;0;105;95;Savolaks;x +391;42;108;223;Nordland;x +392;84;111;96;Kexholm;x +393;126;114;224;Onega;x +394;168;117;97;Trans-portage;x +395;0;120;225;North Dvina;x +396;42;123;98;Bjarmia;x +397;84;126;226;Samoyeds;x +398;126;129;99;Ugra;x +399;168;132;227;Syrj;x +400;0;135;0;Zyriane;x +401;42;138;128;Hlynov;x +402;84;141;1;Veliky Ustug;x +403;126;144;129;Romny;x +404;168;147;2;Zaozerye;x +405;0;150;130;Chud;x +406;42;153;3;Vologda;x +407;84;156;131;Kostroma;x +408;126;159;4;Beloozero;x +409;168;162;132;Bezhetsky Verh;x +410;0;165;5;Toropets;x +411;42;168;133;Vodi;x +412;84;171;6;Torzhok;x +413;126;174;134;Pskov;x +414;168;177;7;Novgorod;x +415;0;180;135;Velikiye Luki;x +416;42;183;8;West Dvina;x +417;84;186;136;Vitebsk;x +418;126;189;9;Orsha;x +419;168;192;137;Polotsk;x +420;0;195;10;Aukshayts;x +421;42;198;138;Zhmud;x +422;84;201;11;Scalovia;x +423;126;204;139;Sudovia;x +424;168;207;12;Jacwiez;x +425;0;210;140;Podlasie;x +426;42;0;13;Yatvyagi;x +427;84;3;141;Galindia;x +428;126;6;14;Kujawy;x +429;168;9;142;Gnieznienskie;x +430;0;12;15;Lubusz;x +431;42;15;143;Poznanskie;x +432;84;18;16;Kaliskie;x +433;42;87;63;Opole;x +434;168;24;17;Lower Silesia;x +435;0;27;145;Upper Silesia;x +436;42;30;18;Boleslav;x #Liberec +437;84;33;146;Praha;x +438;126;36;19;Hradec;x #Hradec Kralove +439;168;39;147;Plzen;x +440;0;42;20;Olomouc;x #Opava +441;42;45;148;Brno;x #Ostrava +442;84;48;21;Trencin;x +443;126;51;149;Nitra;x +444;168;54;22;Esztergom;x +445;0;57;150;Pressburg;x +446;42;60;23;Morava;x #Morava +447;84;63;151;Passau;x +448;126;66;24;Salzburg;x +449;168;69;152;Osterreich;x +450;0;72;25;Sopron;x +451;42;75;153;Fejer;x +452;84;78;26;Pecs;x +453;126;81;154;Szekezfehervar;x +454;168;84;27;Vas;x +455;0;87;155;Steiermark;x +456;42;90;28;Karnten;x +457;84;93;156;Krain;x +458;126;96;29;Istria;x +459;168;99;157;Veglia;x +460;0;102;30;Varadzin;x +461;42;105;158;Zagreb;x +462;84;108;31;Krizevci;x +463;126;111;159;Usora;x +464;168;114;32;Senj;x +465;0;117;160;Zadar;x +466;42;120;33;Zachlumia;x +467;84;123;161;Split;x +468;126;126;34;Ragusa;x +469;168;129;162;Zeta;x +470;0;132;35;Dyrrachion;x +471;42;135;163;Ochrid;x +472;84;138;36;Epeiros;x +473;126;141;164;Arta;x +474;168;144;37;Cephalonia;x +475;0;147;165;Hellas;x +476;42;150;38;Achaia;x +477;84;153;166;Methone;x +478;126;156;39;Monemvasia;x +479;168;159;167;Kaneia;x +480;0;162;40;Chandax;x +481;42;165;168;Korinthos;x +482;84;168;41;Atheniai;x +483;126;171;169;Rhodos;x +484;168;174;42;Naxos;x +485;0;177;170;Euboia;x +486;42;180;43;Chios;x +487;84;183;171;Lesbos;x +488;126;186;44;Demetrias;x +489;168;189;172;Thessalia;x +490;0;192;45;Thessalonike;x +491;42;195;173;Chalkidike;x +492;84;198;46;Strymon;x +493;126;201;174;Philippopolis;x +494;168;204;47;Adrianopolis;x +495;0;207;175;Kaliopolis;x +496;42;210;48;Byzantion;x +497;84;0;176;Thrake;x +498;126;3;49;Mesembria;x +499;168;6;177;Tyrnovo;x +500;0;9;50;Serdica;x +501;42;12;178;Naissus;x +502;84;15;51;Rashka;x +503;126;18;179;Hum;x +504;168;21;52;Rama;x +505;0;24;180;Belgrade;x +506;42;27;53;Vidin;x +507;84;30;181;Nikopolis;x +508;126;33;54;Dorostotum;x +509;168;36;182;Karvuna;x +510;0;39;55;Constantia;x +511;42;42;183;Galaz;x +512;84;45;56;Belgorod;x +513;126;48;184;Birlad;x +514;168;51;57;Turnu;x +515;0;54;185;Tirgoviste;x +516;42;57;58;Severin;x +517;84;60;186;Temes;x +518;126;63;59;Bacs;x +519;168;66;187;Feher;x +520;0;69;60;Bihar;x +521;42;72;188;Csanad;x +522;84;75;61;Pest;x +523;126;78;189;Heves;x +524;168;81;62;Gemer;x +525;0;84;190;Orava;x +526;126;21;144;Cieszyn;x +527;84;90;191;Krakowskie;x +528;126;93;64;Sieradzko-Leczyckie;x +529;168;96;192;Plock;x +530;0;99;65;Czersk;x +531;42;102;193;Sandomierskie;x +532;84;105;66;Sacz;x +533;126;108;194;Saris;x +534;168;111;67;Peremyshl;x +535;0;114;195;Vladimir Volynsky;x +536;42;117;68;Galich;x +537;84;120;196;Bereg;x +538;126;123;69;Abauj;x +539;168;126;197;Marmaros;x +540;0;129;70;Szekelyfold;x +541;42;132;198;Peresechen;x +542;84;135;71;Olvia;x +543;126;138;199;Oleshye;x +544;168;141;72;Korsun;x +545;0;144;200;Torki;x +546;42;147;73;Terebovl;x +547;84;150;201;Kiev;x +548;126;153;74;Pinsk;x +549;168;156;202;Beresty;x +550;0;159;75;Minsk;x +551;42;162;203;Mstislavl;x +552;84;165;76;Turov;x +553;126;168;204;Lyubech;x +554;168;171;77;Chernigov;x +555;0;174;205;Pereyaslavl;x +556;42;177;78;Chortitza;x +557;84;180;206;Lukomorie;x +558;126;183;79;Lower Dniepr;x +559;168;186;207;Crimea;x +560;0;189;80;Cherson;x +561;42;192;208;Theodosia;x +562;84;195;81;Korchev;x +563;126;198;209;Lower Don;x +564;168;201;82;Desht-i-Kipchak;x +565;0;204;210;Sharukan;x +566;42;207;83;Sugrov;x +567;84;210;211;Novgorod Seversky;x +568;126;0;84;Smolensk;x +569;168;3;212;Vyazma;x +570;0;6;85;Tver;x +571;42;9;213;Uglich;x +572;84;12;86;Yaroslavl;x +573;126;15;214;Pereyaslavl Zalessky;x +574;168;18;87;Rostov;x +575;0;21;215;Moskva;x +576;42;24;88;Bryansk;x +577;84;27;216;Pronsk;x +578;126;30;89;Kolomna;x +579;168;33;217;Mordva;x +580;0;36;90;Ryazan;x +581;42;39;218;Murom;x +582;84;42;91;Vladimir;x +583;126;45;219;Suzdal;x +584;168;48;92;Nizhny Novgorod;x +585;0;51;220;Gorodez;x +586;42;54;93;Galich Mersky;x +587;84;57;221;Mozhaysk;x +588;126;60;94;Merya;x +589;168;63;222;Grassland Cheremisa;x +590;0;66;95;Chuvash;x +591;42;69;223;Mountain Cheremisa;x +592;84;72;96;Burtasy;x +593;126;75;224;Khopyor;x +594;168;78;97;Sarkel;x +595;0;81;225;Don portage;x +596;42;84;98;Tana;x +597;84;87;226;Azov;x +598;126;90;99;Tmutarakan;x +599;168;93;227;Kuban;x +600;0;96;0;Abkhazia;x +601;42;99;128;Imeretia;x +602;84;102;1;Kasogs;x +603;126;105;129;Alania;x +604;168;108;2;Kuma;x +605;0;111;130;Manych;x +606;42;114;3;Yegorlyk;x +607;84;117;131;Sarpa;x +608;126;120;4;Lower Volga;x +609;168;123;132;Syrt;x +610;0;126;5;Bulgar;x +611;42;129;133;Qazan;x +612;84;132;6;Votyaki;x +613;126;135;134;Bilyar;x +614;168;138;7;Ashli;x +615;0;141;135;Bashkirs;x +616;42;144;8;Pecheneg;x +617;84;147;136;Uzens;x +618;126;150;9;Guryev;x +619;168;153;137;Saray;x +620;0;156;10;Itil;x +621;42;159;138;Kangly;x +622;84;162;11;Turkestan;x +623;126;165;139;Aral;x +624;168;168;12;Mangyshlak;x +625;0;171;140;Usturt;x +626;42;174;13;Khiva;x +627;84;177;141;Kara-Kum;x +628;126;180;14;Bukhara;x +629;168;183;142;Konjikala;x +630;0;186;15;Merv;x +631;42;189;143;Dihistan;x +632;84;192;16;Tus;x +633;126;195;144;Gurgan;x +634;168;198;17;Nishapur;x +635;0;201;145;Qohistan;x +636;42;204;18;Lut;x +637;84;207;146;Sistan;x +638;126;210;19;Yazd;x +639;168;0;147;Kerman;x +640;0;3;20;Sirjan;x +641;42;6;148;Hormuz;x +642;84;9;21;Ladistan;x +643;126;12;149;Fars;x +644;168;15;22;Shiraz;x +645;0;18;150;Hendjan;x +646;42;21;23;Esfahan;x +647;84;24;151;Avhaz;x +648;126;27;24;Khozistan;x +649;168;30;152;Basra;x +650;0;33;25;Kuwait;x +651;42;36;153;Damman;x +652;84;39;26;Al Hasa;x +653;126;42;154;Bahrein;x +654;168;45;27;Rummah;x +655;0;48;155;Kufa;x +656;42;51;28;Tigris;x +657;84;54;156;Luristan;x +658;126;57;29;Hamadan;x +659;168;60;157;Qom;x +660;0;63;30;Qwivir;x +661;42;66;158;Tabaristan;x +662;84;69;31;Mazandaran;x +663;126;72;159;Rayy;x +664;168;75;32;Qazwin;x +665;0;78;160;Dailam;x +666;42;81;33;Gilan;x +667;84;84;161;Tabriz;x +668;126;87;34;Shirvan;x +669;168;90;162;Shemakha;x +670;0;93;35;Azerbaijan;x +671;42;96;163;Suenik;x +672;84;99;36;Dwin;x +673;126;102;164;Albania;x +674;168;105;37;Derbent;x +675;0;108;165;Semender;x +676;42;111;38;Kakheti;x +677;84;114;166;Guria;x +678;126;117;39;Trapezous;x +679;168;120;167;Kartli;x +680;0;123;40;Tao;x +681;42;126;168;Ani;x +682;84;129;41;Vaspurakan;x +683;126;132;169;Amida;x +684;168;135;42;Nisibin;x +685;0;138;170;Kurdistan;x +686;42;141;43;Oromieh;x +687;84;144;171;Kirkuk;x +688;126;147;44;Kermanshah;x +689;168;150;172;Ilam;x +690;0;153;45;Al Amarah;x +691;42;156;173;Al Nasiryah;x +692;84;159;46;Al Nadjaf;x +693;126;162;174;Baghdad;x +694;168;165;47;Karbala;x +695;0;168;175;Deir;x +696;42;171;48;Euphrates;x +697;84;174;176;Mosul;x +698;126;177;49;Al Jazira;x +699;168;180;177;Edessa;x +700;0;183;50;Bira;x +701;42;186;178;Taron;x +702;84;189;51;Mesopotamia;x +703;126;192;179;Karin;x +704;168;195;52;Theodosiopolis;x +705;0;198;180;Chaldea;x +706;42;201;53;Koloneia;x +707;84;204;181;Melitene;x +708;126;207;54;Tell Bashir;x +709;168;210;182;Asas;x +710;0;0;55;Al Bichri;x +711;42;3;183;Sinjar;x +712;84;6;56;Suwaida;x +713;126;9;184;Druz;x +714;168;12;57;Az Zarqa;x +715;0;15;185;Al Habbariyah;x +716;42;18;58;Ar'ar;x +717;84;21;186;Al Jawf;x +718;126;24;59;Medina;x +719;168;27;187;Mecca;x +720;0;30;60;Hijaz;x +721;42;33;188;Tabuk;x +722;84;36;61;Petra;x +723;126;39;189;Madaba;x +724;168;42;62;Amman;x +725;0;45;190;Irbid;x +726;42;48;63;Al Mafraq;x +727;84;51;191;Syria;x +728;126;54;64;Damascus;x +729;168;57;192;Tadmor;x +730;0;60;65;Palmyra;x +731;42;63;193;Homs;x +732;84;66;66;Hama;x +733;126;69;194;Aleppo;x +734;168;72;67;Aintab;x +735;0;75;195;Teluch;x +736;42;78;68;Lykandos;x +737;84;81;196;Kaisereia;x +738;126;84;69;Amisos;x +739;168;87;197;Sinope;x +740;0;90;70;Herakleia;x +741;42;93;198;Nikomedeia;x +742;84;96;71;Prusa;x +743;126;99;199;Kyzikos;x +744;168;102;72;Abydos;x +745;0;105;200;Smyrna;x +746;42;108;73;Ephesos;x +747;84;111;201;Lykia;x +748;126;114;74;Laodikeia;x +749;168;117;202;Dorylaion;x +750;0;120;75;Nikaea;x +751;42;123;203;Paphlagonia;x +752;84;126;76;Galatia;x +753;126;129;204;Ankyra;x +754;168;132;77;Sozopolis;x +755;0;135;205;Attaleia;x +756;42;138;78;Limisol;x +757;84;141;206;Famagusta;x +758;126;144;79;Seleukeia;x +759;168;147;207;Ikonion;x +760;0;150;80;Tyana;x +761;42;153;208;Tarsos;x +762;84;156;81;Adana;x +763;126;159;209;Alexandretta;x +764;168;162;82;Antiocheia;x +765;0;165;210;Archa;x +766;42;168;83;Tortosa;x +767;84;171;211;Tripoli;x +768;126;174;84;Baalbek;x +769;168;177;212;Safed;x +770;0;180;85;Beirut;x +771;42;183;213;Tyrus;x +772;84;186;86;Acre;x +773;126;189;214;Tiberias;x +774;168;192;87;Jerusalem;x +775;0;195;215;Jaffa;x +776;42;198;88;Hebron;x +777;84;201;216;Kerak;x +778;126;204;89;Monreal;x +779;168;207;217;Beersheb;x +780;0;210;90;Ascalon;x +781;42;0;218;Darum;x +782;84;3;91;Negev;x +783;126;6;219;Maan;x +784;168;9;92;Al 'Aqabah;x +785;0;12;220;Sinai;x +786;42;15;93;Eilat;x +787;84;18;221;El-Arish;x +788;126;21;94;Farama;x +789;168;24;222;Pelusia;x +790;0;27;95;Sarqihya;x +791;42;30;223;Quena;x +792;84;33;96;Nubia;x +793;126;36;224;Makuria;x +794;168;39;97;Aswan;x +795;0;42;225;Asyut;x +796;42;45;98;Cairo;x +797;84;48;226;Manupura;x +798;126;51;99;Delta;x +799;168;54;227;Gabiyaha;x +800;0;57;0;Gizeh;x +801;42;60;128;Buhairya;x +802;84;63;1;Alexandria;x +803;126;66;129;Quattara;x +804;168;69;2;Al Alamayn;x +805;0;72;130;Tobruk;x +806;42;75;3;Cyrenaica;x +807;84;78;131;Senoussi;x +808;126;81;4;Benghazi;x +809;168;84;132;Syrte;x +810;0;87;5;Leptis Magna;x +811;42;90;133;Tripolitana;x +812;84;93;6;Malta;x +813;126;96;134;Djerba;x +814;168;99;7;Gabes;x +815;0;102;135;Kairwan;x +816;42;105;8;Mahdia;x +817;84;108;136;Tunis;x +818;126;111;9;Medjerda;x +819;168;114;137;Bizerte;x +820;0;117;10;Annaba;x +821;42;120;138;Constantine;x +822;84;123;11;Bejaija;x +823;126;126;139;Biskra;x +824;168;129;12;Tell Atlas;x +825;0;132;140;Beni Yanni;x +826;42;135;13;Menorca;x +827;84;138;141;Mallorca;x +828;126;141;14;Ouled Nail;x +829;168;144;142;Mzab;x +830;0;147;15;Lemdiyya;x +831;42;150;143;Al Djazair;x +832;84;153;16;Orania;x +833;126;156;144;Atlas Mnt;x +834;168;159;17;Tlemcen;x +835;0;162;145;Hanyan;x +836;42;165;18;Snassen;x +837;84;168;146;Figuig;x +838;126;171;19;El Rif;x +839;168;174;147;Cebta;x +840;0;177;20;Fes;x +841;42;180;148;Tangiers;x +842;84;183;21;Infa;x +843;126;186;149;Marrakech;x +844;168;189;22;Massat;x +845;0;192;150;Anti-Atlas;x +846;42;195;23;Ifni;x +847;84;198;151;Tharasset;x +848;0;3;225;Bremen;x +849;126;201;24;Canarias;x +850;168;96;42;Kandalax;x +851;84;9;226;Capua;x +852;85;84;11;Zahedan;x +853;127;87;139;Bam;x +854;169;90;12;Jask;x +855;126;135;84;Mahra;x +856;168;138;212;Kathiri;x +857;0;141;85;Bayda;x +858;42;144;213;Aden;x +859;84;147;86;Taizz;x +860;126;150;214;Sanaa;x +861;168;153;87;Asir;x +862;0;156;215;Halaban;x +863;42;159;88;Hajr;x +864;84;162;216;Hail;x +865;126;165;89;Rafha;x +866;168;168;217;Dhofar;x +867;0;171;90;Duqm;x +868;42;174;218;Muscat;x +869;84;177;91;Hajar;x +870;126;180;219;Dhu Zabi;x +871;168;183;92;Busaso;x +872;0;186;220;Berbera;x +873;42;189;93;Harer;x +874;84;192;221;Tadjoura;x +875;126;195;94;Aksum;x +876;168;198;222;Akordat;x +877;0;201;95;Kassala;x +878;42;204;223;Hayya;x +879;84;207;96;Atbara;x +880;126;210;224;Sennar;x +881;168;0;97;Asosa;x +882;168;123;82;Ankober;x +883;126;120;209;Gondar;x +884;126;3;154;Antalo;x +885;84;117;81;Matamma;x +886;168;15;227;Perm;x +887;1;18;0;Yamalia;x +888;43;21;128;Komi;x +889;85;24;1;Ural;x +890;127;27;129;Khantia;x +891;169;30;2;Tyumen;x +892;1;33;130;Mansia;x +893;43;36;3;Sibir;x +894;43;96;13;Saravan;x +895;127;42;4;Yaik;x +896;169;45;132;Aqtobe;x +897;1;48;5;Inder;x +898;43;51;133;Tobol;x +899;1;93;140;Tis;x +900;127;57;134;Syr Darya;x +901;169;60;7;Kyzylkum;x +902;1;63;135;Dashhowuz;x +903;43;66;8;Samarkand;x +904;85;69;136;Balkh;x +905;127;72;9;Herat;x +906;169;75;137;Birjand;x +907;1;78;10;Mandesh;x +908;84;132;211;;x +909;0;126;210;;x +910;42;129;83;;x +911;0;207;25;Timbuktu;x +912;84;0;26;Aoudaghost;x +913;126;48;34;Ghana;x +914;84;45;161;Gao;x +915;85;39;131;Djenne;x +916;126;105;79;Taghaza;x +917;42;99;78;Araouane;x +918;168;93;77;Sijilmasa;x +919;126;90;204;Oualata;x +920;85;99;141;Ouadane;x +921;127;102;14;Idjil;x +922;169;105;142;Tadmekka;x +923;1;108;15;;x +924;43;111;143;;x +925;85;114;16;Mali;x +926;127;117;144;Bambuk;x +927;17;40;240;Zarma;x +928;169;120;17;Gurma;x +929;1;123;145;Aprutium;x +930;43;126;18;Bar;x +931;85;129;146;More;x +932;127;132;19;Tjust;x +933;169;132;182;Roslavl;x +934;1;135;55;Lepiel;x +935;43;138;183;Amalfi;x +936;42;39;68;Eastern Cyclades;x +937;84;42;196;Sea of Crete;x +938;126;45;69;Coast of Egypt;x +939;168;48;197;Nile Delta;x +940;0;51;70;Levant;x +941;42;54;198;East of Mediterranean;x +942;0;54;35;Western Aegean Sea;x +943;42;18;3;Näsijärvi;x +944;168;63;72;Aral Sea;x +945;0;66;200;Iskenderun Kör;x +946;42;69;73;Gulf of Antalya;x +947;84;72;201;Sea of Marmara;x +948;126;75;74;Gulf of Varna;x +949;168;78;202;Coast of Taurida;x +950;0;81;75;Black Sea;x +951;42;84;203;Coast of Kolkhida;x +952;0;96;205;Caspian Sea;x +953;84;180;56;Coast of Morocco;x +954;126;183;184;Strait of Gibraltar;x +955;126;33;159;Saimaa;x +956;84;15;156;Kallavesi;x +957;168;204;152;Oulujärvi;x +958;42;132;48;Ladoga Lake;x +959;84;135;176;Mälaren;x +960;168;171;182;Faroya;x +961;168;141;177;Hjälmaren;x +962;0;144;50;Vättern;x +963;42;147;178;Vänern;x +964;84;150;51;White Sea;x +965;126;153;179;Strait of Dover;x +966;168;156;52;La Manche;x +967;0;159;180;Channel Islands;x +968;42;162;53;St. George's Channel;x +969;84;87;76;Sea of Azov;x +970;168;21;157;Cabo de Finisterre;x +971;126;90;149;Bodensee;x +972;168;108;207;Kara-Bogaz Gol;x +973;126;78;39;Waddenzee;x +974;42;27;158;Bay of Biscay;x +975;126;168;54;Donegal Bay;x +976;42;210;153;Sea of Canarias;x +977;168;36;32;Bretagne Coast;x +978;0;39;160;Atlantic;x +979;0;111;80;Tiveriade Lake;x +980;42;12;28;Portugal Coast;x +981;0;9;155;Golfo de Cadiz;x +982;168;51;162;Coast of Iceland;x +983;42;114;208;Dead Sea;x +984;42;57;163;North Atlantic;x +985;84;60;36;North Atlantic;x +986;126;63;164;North Sea;x +987;168;66;37;North Sea;x +988;0;69;165;North Sea;x +989;42;72;38;North Sea;x +990;84;75;166;Sea of Shetland;x +991;42;6;98;Galway Bay;x +992;168;81;167;The Minch;x +993;0;84;40;Moray Firth;x +994;42;87;168;Firth of Forth;x +995;84;90;41;The Wash;x +996;126;93;169;Dogger-bank;x +997;126;12;99;Onega;x +998;0;99;170;North Sea;x +999;42;102;43;The Sound;x +1000;84;105;171;Gulf of Helholland;x +1001;126;108;44;Kattegat;x +1002;168;111;172;Gulf of Danzig;x +1003;0;114;45;Hanö-bukten;x +1004;42;117;173;Baltic Sea;x +1005;84;120;46;Ålands Hav;x +1006;126;123;174;Gulf of Finland;x +1007;168;126;47;Gulf of Bothnia;x +1008;0;129;175;Gulf of Bothnia;x +1009;168;6;27;Iles d'la Manche;x +1010;126;18;29;Hibernicum Occeanum;x +1011;42;42;33;Mediterranean Sea;x +1012;84;57;71;Lake Peipus;x +1013;126;60;199;Lori;x +1014;0;24;30;Coast of Asturias;x +1015;42;177;183;Northern Bay of Biscay;x +1016;0;174;55;Celtic Sea;x +1017;84;30;31;Western Cyclades;x +1018;85;54;6;Päijänne;x +1019;84;165;181;Irish Sea;x +1020;168;186;57;Mediterranean Sea;x +1021;0;189;185;Golfo de Valencia;x +1022;42;192;58;Islas Baleares;x +1023;84;195;186;Ponant;x +1024;126;198;59;Mediterranean Sea;x +1025;168;201;187;Gulfe du Lion;x +1026;0;204;60;Lake Leman;x +1027;42;207;188;Cote d Azur;x +1028;84;210;61;Ligurian Sea;x +1029;126;0;189;Tyrrhenian Sea;x +1030;168;3;62;Coast of Sardegna;x +1031;0;6;190;Golfo di Napoli;x +1032;42;9;63;Strait di Messina;x +1033;84;12;191;Golfe de Hammamet;x +1034;126;15;64;Malta Channel;x +1035;168;18;192;Gulf of Sidra;x +1036;0;21;65;Golfo di Taranto;x +1037;42;24;193;Ionian Sea;x +1038;84;27;66;Strait of Otranto;x +1039;169;135;147;Loire1;x +1040;1;138;20;Loire2;x +1041;43;141;148;Seine1;x +1042;85;144;21;Seine2;x +1043;127;147;149;Rhine1;x +1044;169;150;22;Rhine2;x +1045;1;153;150;Rhine3;x +1046;43;156;23;Elbe1;x +1047;85;159;151;Elbe2;x +1048;127;162;24;Elbe3;x +1049;169;165;152;Elbe4;x +1050;1;168;25;Elbe5;x +1051;43;171;153;Vistula1;x +1052;85;174;26;Vistula2;x +1053;127;177;154;Vistula3;x +1054;169;180;27;Vistula4;x +1055;1;183;155;Vistula5;x +1056;43;186;28;Dniester1;x +1057;85;189;156;Dniester2;x +1058;127;192;29;Danube1;x +1059;169;195;157;Danube2;x +1060;1;198;30;Danube3;x +1061;43;201;158;Danube4;x +1062;85;204;31;Northern Caspian Sea;x +1063;127;207;159;Danube6;x +1064;169;210;32;Southern Caspian Sea;x +1065;1;0;160;Danube8;x +1066;43;3;33;Danube9;x +1067;85;6;161;Danube10;x +1068;127;9;34;Danube11;x +1069;169;12;162;Danube12;x +1070;1;15;35;Dnieper1;x +1071;43;18;163;Dnieper2;x +1072;85;21;36;Dnieper3;x +1073;127;24;164;Desna1;x +1074;169;27;37;Desna2;x +1075;1;30;165;Desna3;x +1076;43;33;38;Dnipro;x +1077;85;36;166;Dnyapro;x +1078;127;39;39;Dnepr;x +1079;169;42;167;Pripyat;x +1080;1;45;40;Daugava1;x +1081;43;48;168;Daugava2;x +1082;85;51;41;Dwina;x +1083;127;54;169;Neva;x +1084;169;57;42;Svir;x +1085;1;60;170;Volkhov;x +1086;43;63;43;Lake Ilmen;x +1087;85;66;171;Lovat;x +1088;127;69;44;Don1;x +1089;169;72;172;Don2;x +1090;1;75;45;Don3;x +1091;43;78;173;Don4;x +1092;85;81;46;Volga1;x +1093;127;84;174;Volga2;x +1094;169;87;47;Volga3;x +1095;1;90;175;Volga4;x +1096;43;93;48;Volga5;x +1097;85;96;176;Volga6;x +1098;127;99;49;Volga7;x +1099;169;102;177;Volga8;x +1100;1;105;50;Volga9;x +1101;43;108;178;Volga10;x +1102;85;111;51;Oka1;x +1103;127;114;179;Oka2;x +1104;169;117;52;Oka3;x +1105;1;120;180;Volga11;x +1106;43;123;53;Volga12;x +1107;85;126;181;Garonne1;x +1108;127;129;54;Garonne2;x +1109;126;30;194;Adriatic Sea;x +1110;168;33;67;Gulf of Venice;x +1111;0;36;195;Eastern Aegean Sea;x +1112;85;141;56;Madurai;x +1113;127;144;184;Chagai;x +1114;169;147;57;Mahoyadapuram;x +1115;1;150;185;Cholamandalam;x +1116;43;153;58;Tenkasi;x +1117;85;156;186;Qalqut;x +1118;127;159;59;Manyapura;x +1119;169;162;187;Kanchipuram;x +1120;1;165;60;Tagadur;x +1121;43;168;188;Uchangidurga;x +1122;85;171;61;Udayagiri;x +1123;127;174;189;Vengipura;x +1124;169;177;62;Honnore;x +1125;1;180;190;Thana;x +1126;43;183;63;Daman;x +1127;85;186;191;Navasarika;x +1128;127;189;64;Vizagipatam;x +1129;169;192;192;Kataka;x +1130;1;195;65;Mandavyapura;x +1131;43;198;193;Karmanta;x +1132;85;201;66;Kirghiz;x +1133;127;204;194;Vadodara;x +1134;169;207;67;Bhumilka;x +1135;1;210;195;Valabhi;x +1136;43;0;68;Dvaraka;x +1137;85;3;196;Mansura;x +1138;127;6;69;Bhakkar;x +1139;169;9;197;Makran;x +1140;1;12;70;Banavasi;x +1141;43;15;198;Kol;x +1142;85;18;71;Pratishthana;x +1143;127;21;199;Kalyani;x +1144;169;24;72;Kollipake;x +1145;1;27;200;Devagiri;x +1146;43;30;73;Naldurg;x +1147;85;33;201;Mandapika;x +1148;127;36;74;Dasapura;x +1149;169;39;202;Dhara;x +1150;1;42;75;Sarangpur;x +1151;43;45;203;Laksmanavati;x +1152;85;48;76;Mudgagiri;x +1153;127;51;204;Kotivarsa;x +1154;169;54;77;Magadha;x +1155;1;57;205;Sripuri;x +1156;43;60;78;Kodalaka Mandala;x +1157;85;63;206;Balkonda;x +1158;127;66;79;Bidar;x +1159;169;69;207;Ramagiri;x +1160;1;72;80;Rayapura;x +1161;43;75;208;Kasmira;x +1162;85;78;81;Kusinagara;x +1163;127;81;209;Varanasi;x +1164;169;84;82;Chauragarh;x +1165;1;87;210;Bandhugadha;x +1166;43;90;83;Jaunpur;x +1167;85;93;211;Lakhnau;x +1168;127;96;84;Katehar;x +1169;169;99;212;Kalpi;x +1170;1;102;85;Vidisa;x +1171;43;105;213;Kalanjara;x +1172;85;108;86;Gwalior;x +1173;127;111;214;Sambhal;x +1174;169;114;87;Godwad;x +1175;1;117;215;Aror;x +1176;43;120;88;Medantaka;x +1177;85;123;216;Kundina;x +1178;127;126;89;Karur;x +1179;169;129;217;Sakala;x +1180;1;132;90;Udabhanda;x +1181;43;135;218;Oshrusana;x +1182;85;138;91;Ghazna;x +1183;127;141;219;Bost;x +1184;169;144;92;Kalat;x +1185;1;147;220;Kabul;x +1186;43;150;93;Chach;x +1187;85;153;221;Kunduz;x +1188;127;156;94;Khuttal;x +1189;169;159;222;Bamiyan;x +1190;1;162;95;Gurjaratra;x +1191;43;165;223;Bannu;x +1192;85;168;96;Bhera;x +1193;127;171;224;Trigarta;x +1194;169;174;97;Nagadipa;x +1195;1;177;225;Phiti;x +1196;43;180;98;Srirangapatna;x +1197;85;183;226;Dwarasamudra;x +1198;127;186;99;Vatapi;x +1199;169;189;227;Penugonda;x +1200;1;192;0;Kanara;x +1201;43;195;128;Kongu;x +1202;85;198;1;Kudalasangama;x +1203;127;201;129;Idatarainadu;x +1204;169;204;2;Nellore;x +1205;1;207;130;Narim;x +1206;43;210;3;Taradavadi;x +1207;85;0;131;Amaravati;x +1208;127;3;4;Kambampet;x +1209;169;6;132;Racakonda;x +1210;1;9;5;Manyakheta;x +1211;43;12;133;Pannagallu;x +1212;85;15;6;Lattalura;x +1213;127;18;134;Kondana;x +1214;169;21;7;Tirunelveli;x +1215;1;24;135;Dakhina Desa;x +1216;43;27;8;Talakad;x +1217;85;30;136;Nandagiri;x +1218;127;33;9;Alampur;x +1219;169;36;137;Potapi;x +1220;1;39;10;Goa;x +1221;43;42;138;Vijayawada;x +1222;85;45;11;Rajamahendravaram;x +1223;127;48;139;Ishim;x +1224;169;51;12;Kalinganagar;x +1225;1;54;140;Puri;x +1226;43;57;13;Nandapur;x +1227;85;60;141;Cakrakuta;x +1228;127;63;14;Swetaka Mandala;x +1229;169;66;142;Khinjali Mandala;x +1230;1;69;15;Suvarnapura;x +1231;43;72;143;Viraja;x +1232;85;75;16;Midnapore;x +1233;127;78;144;Saptagrama;x +1234;169;81;17;Damin-i-koh;x +1235;1;84;145;Tamralipti;x +1236;43;87;18;Candradvipa;x +1237;85;90;146;Rajrappa;x +1238;127;93;19;Mallabhum;x +1239;169;96;147;Vijayapura;x +1240;1;99;20;Kumara Mandala;x +1241;43;102;148;Jharkand;x +1242;85;105;21;Radha;x +1243;127;108;149;Gauda;x +1244;169;111;22;Kamatapur;x +1245;1;114;150;Srihatta;x +1246;43;117;23;Goalpara;x +1247;85;120;151;Khijjingakota;x +1248;127;123;24;Munda;x +1249;169;126;152;Sambalpur;x +1250;1;129;25;Ayodhya;x +1251;43;132;153;Sasaram;x +1252;85;135;26;Barasuru;x +1253;127;138;154;Nilagiri;x +1254;169;141;27;Vairagara;x +1255;1;144;155;Vemulavada;x +1256;43;147;28;Orangallu;x +1257;85;150;156;Medak;x +1258;127;153;29;Nanded;x +1259;169;156;157;Vatsagulma;x +1260;1;159;30;Nasikya;x +1261;43;162;158;Parnakheta;x +1262;85;165;31;Thalner;x +1263;127;168;159;Burhanpur;x +1264;169;171;32;Nandurbar;x +1265;1;174;160;Sagar;x +1266;43;177;33;Somnath;x +1267;85;180;161;Vardhamana;x +1268;127;183;34;Dhamalpur;x +1269;169;186;162;Canda;x +1270;1;189;35;Kiranapura;x +1271;43;192;163;Tripuri;x +1272;85;195;36;Ratanpur;x +1273;127;198;164;Turgay;x +1274;169;201;37;Damoh;x +1275;1;204;165;Zaranj;x +1276;43;207;38;Gaya;x +1277;85;210;166;Tummana;x +1278;127;0;39;Gurgi;x +1279;169;3;167;Rohana;x +1280;1;6;40;Gojjam;x +1281;43;9;168;Chunar;x +1282;85;12;41;Dotawo;x +1283;127;15;169;Asni;x +1284;169;18;42;Bharauli;x +1285;1;21;170;Acalapura;x +1286;43;24;43;Kherla;x +1287;85;27;171;Asirgarh;x +1288;127;30;44;Ujjayini;x +1289;169;33;172;Dadhipadra;x +1290;1;36;45;Khetaka;x +1291;43;39;173;Mohadavasaka;x +1292;85;42;46;Sarasvata Mandala;x +1293;127;45;174;;x +1294;169;48;47;Satyapura;x +1295;1;51;175;Kutch;x +1296;43;54;48;Dimapur;x +1297;85;57;176;Debul;x +1298;127;60;49;Chanderi;x +1299;169;63;177;Candhoba;x +1300;1;66;50;Kota;x +1301;43;69;178;Mahoba;x +1302;85;72;51;Chitrakut;x +1303;127;75;179;Ranikot;x +1304;169;78;52;Ludrava;x +1305;1;81;180;;x +1306;43;84;53;Tura;x +1307;85;87;181;Indus;x +1308;127;90;54;Indus;x +1309;169;93;182;Indus;x +1310;1;96;55;Indus;x +1311;43;99;183;Ganges;x +1312;85;102;56;Ganges;x +1313;127;105;184;Ganges;x +1314;169;108;57;Ganges;x +1315;1;111;185;Ganges;x +1316;43;114;58;Brahmaputra;x +1317;85;117;186;Brahmaputra;x +1318;127;120;59;Samatata;x +1319;169;123;187;Bikrampur;x +1320;1;126;60;Aydhab;x +1321;43;129;188;Kamarupanagara;x +1322;85;132;61;Nobatia;x +1323;127;135;189;Nabadwipa;x +1324;169;138;62;Suvarnagram;x +1325;1;141;190;Madhupur;x +1326;43;144;63;Napata;x +1327;85;147;191;Rothas;x +1328;127;150;64;Prayaga;x +1329;169;153;192;Ket;x +1330;1;156;65;Suakin;x +1331;43;159;193;Sonda;x +1332;85;162;66;Trinkitat;x +1333;127;165;194;Siwistan;x +1334;169;168;67;Alodia;x +1335;1;171;195;Kosti;x +1336;43;174;68;Vijnot;x +1337;85;177;196;Uch;x +1338;127;180;69;Multan;x +1339;169;183;197;Rajanpur;x +1340;1;186;70;Karor;x +1341;43;189;198;Nandana;x +1342;85;192;71;Purushapura;x +1343;127;195;199;Massawa;x +1344;169;198;72;Zeila;x +1345;1;201;200;Medapata;x +1346;43;204;73;Ajayameru;x +1347;85;207;201;;x +1348;127;210;74;;x +1349;169;0;202;Vikramapura;x +1350;1;3;75;Reni;x +1351;43;6;203;;x +1352;85;9;76;Sarasvati;x +1353;127;12;204;Vairata;x +1354;169;15;77;Nagauda;x +1355;1;18;205;Ranthambore;x +1356;43;21;78;Kanyakubja;x +1357;85;24;206;Sripatha;x +1358;127;27;79;Vodamayutja;x +1359;169;30;207;Mathura;x +1360;1;33;80;Maldives;x +1361;43;36;208;Shorkot;x +1362;85;39;81;Lahur;x +1363;127;42;209;Dipalpur;x +1364;169;45;82;Tribandapura;x +1365;1;48;210;Delhi;x +1366;43;51;83;Hisar;x +1367;85;54;211;Sthanisvara;x +1368;127;57;84;Hastinapura;x +1369;169;60;212;Socotra;x +1370;1;63;85;Armail;x +1371;43;66;213;Quzdar;x +1372;85;69;86;Kandail;x +1373;127;72;214;Assab;x +1374;169;75;87;Sibi;x +1375;1;78;215;Kafirkot;x +1376;43;81;88;Wana;x +1377;85;84;216;Maymana;x +1378;127;87;89;Urgench;x +1379;169;90;217;Asaita;x +1380;1;93;90;Semien;x +1381;43;96;218;Pundravardhana;x +1382;85;99;91;INDIA SEA;x +1383;127;102;219;INDIA SEA;x +1384;169;105;92;INDIA SEA;x +1385;1;108;220;INDIA SEA;x +1386;43;111;93;INDIA SEA;x +1387;85;114;221;INDIA SEA;x +1388;127;117;94;INDIA SEA;x +1389;169;120;222;INDIA SEA;x +1390;1;123;95;INDIA SEA;x +1391;43;126;223;INDIA SEA;x +1392;85;129;96;INDIA SEA;x +1393;127;132;224;INDIA SEA;x +1394;169;135;97;INDIA SEA;x +1395;1;138;225;INDIA SEA;x +1396;43;141;98;INDIA SEA;x +1397;85;144;226;INDIA SEA;x +1398;127;147;99;INDIA SEA;x +1399;169;150;227;INDIA SEA;x +1400;1;153;0;INDIA SEA;x +1401;43;156;128;INDIA SEA;x +1402;85;159;1;INDIA SEA;x +1403;127;162;129;INDIA SEA;x +1404;169;165;2;INDIA SEA;x +1405;1;168;130;INDIA SEA;x +1406;43;171;3;INDIA SEA;x +1407;85;174;131;INDIA SEA;x +1408;169;132;32;Anxi;x +1409;169;180;132;INDIA SEA;x +1410;1;183;5;INDIA SEA;x +1411;43;186;133;INDIA SEA;x +1412;85;189;6;;x +1413;127;192;134;Venadu;x +1414;169;195;7;Kotthasara;x +1415;1;198;135;Pithapuram;x +1416;43;201;8;Kolhapur;x +1417;85;204;136;Wag;x +1418;127;207;9;Haruppeswara;x +1419;169;210;137;Mithila;x +1420;1;0;10;Simaramapura;x +1421;43;3;138;Sravasti;x +1422;85;6;11;Naimisa;x +1423;127;9;139;Fergana;x +1424;169;12;12;Chuy;x +1425;1;15;140;Ili;x +1426;43;18;13;Zhetysu;x +1427;85;21;141;Urzhar;x +1428;127;24;14;Damot;x +1429;169;27;142;Begemder;x +1430;1;30;15;Kipchak;x +1431;43;33;143;Otrar;x +1432;85;36;16;Karluk;x +1433;127;39;144;Kazakh;x +1434;169;42;17;Balkhash;x +1435;1;45;145;Kimak;x +1436;43;48;18;Lakomelza;x +1437;85;51;146;Tigrinya;x +1438;127;54;19;Yarkand;x +1439;169;57;147;Kashgar;x +1440;1;60;20;Khotan;x +1441;86;135;186;Cherchen;x +1442;128;138;59;Charkliq;x +1443;170;141;187;Karashar;x +1444;2;144;60;Kucha;x +1445;44;147;188;Aksu;x +1446;86;150;61;Kara Khoja;x +1447;128;153;189;Loulan;x +1448;170;156;62;Dunhuang;x +1449;2;159;190;Luntai;x +1450;44;162;63;Kumul;x +1451;86;165;191;Altay;x +1452;128;168;64;Dunkheger;x +1453;170;171;192;Aj Bogd;x +1454;2;174;65;Muztau;x +1455;44;177;193;Tsagaannuur;x +1456;86;180;66;Ikh Bogd;x +1457;170;201;197;Kara Khorum;x +1458;2;204;70;Khangai;x +1459;44;207;198;Kyzyl;x +1460;1;120;30;Baygal;x +1461;43;123;158;Otuken;x +1462;85;126;31;Gorgol;x +1463;127;129;159;Erchis;x +1464;127;177;4;;x +1465;1;135;160;;x +1466;43;138;33;;x +1467;85;141;161;;x +1468;127;144;34;;x +1469;169;147;162;;x +1470;1;150;35;;x +1471;43;153;163;;x +1472;85;156;36;;x +1473;127;159;164;;x +1474;169;162;37;;x +1475;1;165;165;;x +1476;43;168;38;;x +1477;85;171;166;;x +1478;127;174;39;;x +1479;169;177;167;;x +1480;1;180;40;;x +1481;43;183;168;;x +1482;85;186;41;;x +1483;127;189;169;;x +1484;169;192;42;;x +1485;1;195;170;;x +1486;43;198;43;;x +1487;85;201;171;;x +1488;127;204;44;;x +1489;169;207;172;;x +1490;1;210;45;;x +1491;43;0;173;;x +1492;85;3;46;;x +1493;127;6;174;;x +1494;169;9;47;;x +1495;1;12;175;;x +1496;43;15;48;;x +1497;85;18;176;;x +1498;127;21;49;;x +1499;169;24;177;;x +1500;1;27;50;;x +1501;43;30;178;;x +1502;85;33;51;;x +1503;127;36;179;;x +1504;169;39;52;;x +1505;1;42;180;;x +1506;43;45;53;;x +1507;85;48;181;;x +1508;127;51;54;;x +1509;169;54;182;;x +1510;1;57;55;;x +1511;43;60;183;;x +1512;85;63;56;;x +1513;127;66;184;;x +1514;169;69;57;;x +1515;1;72;185;;x +1516;43;75;58;;x +1517;85;78;186;;x +1518;127;81;59;;x +1519;169;84;187;;x +1520;1;87;60;;x +1521;43;90;188;;x +1522;85;93;61;;x +1523;127;96;189;;x +1524;169;99;62;;x +1525;1;102;190;;x +1526;43;105;63;;x +1527;85;108;191;;x +1528;127;111;64;;x +1529;169;114;192;;x +1530;1;117;65;;x +1531;43;120;193;;x +1532;85;123;66;;x +1533;127;126;194;;x +1534;169;129;67;;x +1535;1;132;195;;x +1536;43;135;68;;x +1537;85;138;196;;x +1538;127;141;69;;x +1539;169;144;197;;x +1540;1;147;70;;x +1541;43;150;198;;x +1542;85;153;71;;x +1543;127;156;199;;x +1544;169;159;72;;x +1545;1;162;200;;x +1546;43;165;73;;x +1547;85;168;201;;x +1548;127;171;74;;x +1549;169;174;202;;x +1550;1;177;75;;x +1551;43;180;203;;x +1552;85;183;76;;x +1553;127;186;204;;x +1554;169;189;77;;x +1555;1;192;205;;x +1556;43;195;78;;x +1557;85;198;206;;x +1558;127;201;79;;x +1559;169;204;207;;x +1560;1;207;80;;x +1561;43;210;208;;x +1562;85;0;81;;x +1563;127;3;209;;x +1564;169;6;82;;x +1565;1;9;210;;x +1566;43;12;83;;x +1567;85;15;211;;x +1568;127;18;84;;x +1569;169;21;212;;x +1570;1;24;85;;x +1571;43;27;213;;x +1572;85;30;86;;x +1573;127;33;214;;x +1574;169;36;87;;x +1575;1;39;215;;x +1576;43;42;88;;x +1577;85;45;216;;x +1578;127;48;89;;x +1579;169;51;217;;x +1580;1;54;90;;x +1581;43;57;218;;x +1582;85;60;91;;x +1583;127;63;219;;x +1584;169;66;92;;x +1585;1;69;220;;x +1586;43;72;93;;x +1587;85;75;221;;x +1588;127;78;94;;x +1589;169;81;222;;x +1590;1;84;95;;x +1591;43;87;223;;x +1592;85;90;96;;x +1593;127;93;224;;x +1594;169;96;97;;x +1595;1;99;225;;x +1596;43;102;98;;x +1597;85;105;226;;x +1598;127;108;99;;x +1599;169;111;227;;x +1600;1;114;0;;x +1601;43;117;128;;x +1602;85;120;1;;x +1603;127;123;129;;x +1604;169;126;2;;x +1605;1;129;130;;x +1606;43;132;3;;x +1607;85;135;131;;x +1608;127;138;4;;x +1609;169;141;132;;x +1610;1;144;5;;x +1611;43;147;133;;x +1612;85;150;6;;x +1613;127;153;134;;x +1614;169;156;7;;x +1615;1;159;135;;x +1616;43;162;8;;x +1617;85;165;136;;x +1618;127;168;9;;x +1619;169;171;137;;x +1620;1;174;10;;x +1621;43;177;138;;x +1622;85;180;11;;x +1623;127;183;139;;x +1624;169;186;12;;x +1625;1;189;140;;x +1626;43;192;13;;x +1627;85;195;141;;x +1628;127;198;14;;x +1629;169;201;142;;x +1630;1;204;15;;x +1631;43;207;143;;x +1632;85;210;16;;x +1633;127;0;144;;x +1634;169;3;17;;x +1635;1;6;145;;x +1636;43;9;18;;x +1637;85;12;146;;x +1638;127;15;19;;x +1639;169;18;147;;x +1640;1;21;20;;x +1641;43;24;148;;x +1642;85;27;21;;x +1643;127;30;149;;x +1644;169;33;22;;x +1645;1;36;150;;x +1646;43;39;23;;x +1647;85;42;151;;x +1648;127;45;24;;x +1649;169;48;152;;x +1650;1;51;25;;x +1651;43;54;153;;x +1652;85;57;26;;x +1653;127;60;154;;x +1654;169;63;27;;x +1655;1;66;155;;x +1656;43;69;28;;x +1657;85;72;156;;x +1658;127;75;29;;x +1659;169;78;157;;x +1660;1;81;30;;x +1661;43;84;158;;x +1662;85;87;31;;x +1663;127;90;159;;x +1664;169;93;32;;x +1665;1;96;160;;x +1666;43;99;33;;x +1667;85;102;161;;x +1668;127;105;34;;x +1669;169;108;162;;x +1670;1;111;35;;x +1671;43;114;163;;x +1672;85;117;36;;x +1673;127;120;164;;x +1674;169;123;37;;x +1675;1;126;165;;x +1676;43;129;38;;x +1677;85;132;166;;x +1678;127;135;39;;x +1679;169;138;167;;x +1680;1;141;40;;x +1681;43;144;168;;x +1682;85;147;41;;x +1683;127;150;169;;x +1684;169;153;42;;x +1685;1;156;170;;x +1686;43;159;43;;x +1687;85;162;171;;x +1688;127;165;44;;x +1689;169;168;172;;x +1690;1;171;45;;x +1691;43;174;173;;x +1692;85;177;46;;x +1693;127;180;174;;x +1694;169;183;47;;x +1695;1;186;175;;x +1696;43;189;48;;x +1697;85;192;176;;x +1698;127;195;49;;x +1699;169;198;177;;x +1700;1;201;50;;x +1701;43;204;178;;x +1702;85;207;51;;x +1703;127;210;179;;x +1704;169;0;52;;x +1705;1;3;180;;x +1706;43;6;53;;x +1707;85;9;181;;x +1708;127;12;54;;x +1709;169;15;182;;x +1710;1;18;55;;x +1711;43;21;183;;x +1712;85;24;56;;x +1713;127;27;184;;x +1714;169;30;57;;x +1715;1;33;185;;x +1716;43;36;58;;x +1717;85;39;186;;x +1718;127;42;59;;x +1719;169;45;187;;x +1720;1;48;60;;x +1721;43;51;188;;x +1722;85;54;61;;x +1723;127;57;189;;x +1724;169;60;62;;x +1725;1;63;190;;x +1726;43;66;63;;x +1727;85;69;191;;x +1728;127;72;64;;x +1729;169;75;192;;x +1730;1;78;65;;x +1731;43;81;193;;x +1732;85;84;66;;x +1733;127;87;194;;x +1734;169;90;67;;x +1735;1;93;195;;x +1736;43;96;68;;x +1737;85;99;196;;x +1738;127;102;69;;x +1739;169;105;197;;x +1740;1;108;70;;x +1741;43;111;198;;x +1742;85;114;71;;x +1743;127;117;199;;x +1744;169;120;72;;x +1745;1;123;200;;x +1746;43;126;73;;x +1747;85;129;201;;x +1748;127;132;74;;x +1749;169;135;202;;x +1750;1;138;75;;x +1751;43;141;203;;x +1752;85;144;76;;x +1753;127;147;204;;x +1754;169;150;77;;x +1755;1;153;205;;x +1756;43;156;78;;x +1757;85;159;206;;x +1758;127;162;79;;x +1759;169;165;207;;x +1760;1;168;80;;x +1761;43;171;208;;x +1762;85;174;81;;x +1763;127;177;209;;x +1764;169;180;82;;x +1765;1;183;210;;x +1766;43;186;83;;x +1767;85;189;211;;x +1768;127;192;84;;x +1769;169;195;212;;x +1770;1;198;85;;x +1771;43;201;213;;x +1772;85;204;86;;x +1773;127;207;214;;x +1774;169;210;87;;x +1775;1;0;215;;x +1776;43;3;88;;x +1777;85;6;216;;x +1778;127;9;89;;x +1779;169;12;217;;x +1780;1;15;90;;x +1781;43;18;218;;x +1782;85;21;91;;x +1783;127;24;219;;x +1784;169;27;92;;x +1785;1;30;220;;x +1786;43;33;93;;x +1787;85;36;221;;x +1788;127;39;94;;x +1789;169;42;222;;x +1790;1;45;95;;x +1791;43;48;223;;x +1792;85;51;96;;x +1793;127;54;224;;x +1794;169;57;97;;x +1795;1;60;225;;x +1796;43;63;98;;x +1797;85;66;226;;x +1798;127;69;99;;x +1799;169;72;227;;x +1800;1;75;0;;x +1801;43;78;128;;x +1802;85;81;1;;x +1803;127;84;129;;x +1804;169;87;2;;x +1805;1;90;130;;x +1806;43;93;3;;x +1807;85;96;131;;x +1808;127;99;4;;x +1809;169;102;132;;x +1810;1;105;5;;x +1811;43;108;133;;x +1812;85;111;6;;x +1813;127;114;134;;x +1814;169;117;7;;x +1815;1;120;135;;x +1816;43;123;8;;x +1817;85;126;136;;x +1818;127;129;9;;x +1819;169;132;137;;x +1820;1;135;10;;x +1821;43;138;138;;x +1822;85;141;11;;x +1823;127;144;139;;x +1824;169;147;12;;x +1825;1;150;140;;x +1826;43;153;13;;x +1827;85;156;141;;x +1828;127;159;14;;x +1829;169;162;142;;x +1830;1;165;15;;x +1831;43;168;143;;x +1832;85;171;16;;x +1833;127;174;144;;x +1834;169;177;17;;x +1835;1;180;145;;x +1836;43;183;18;;x +1837;85;186;146;;x +1838;127;189;19;;x +1839;169;192;147;;x +1840;1;195;20;;x +1841;43;198;148;;x +1842;85;201;21;;x +1843;127;204;149;;x +1844;169;207;22;;x +1845;1;210;150;;x +1846;43;0;23;;x +1847;85;3;151;;x +1848;127;6;24;;x +1849;169;9;152;;x +1850;1;12;25;;x +1851;43;15;153;;x +1852;85;18;26;;x +1853;127;21;154;;x +1854;169;24;27;;x +1855;1;27;155;;x +1856;43;30;28;;x +1857;85;33;156;;x +1858;127;36;29;;x +1859;169;39;157;;x +1860;1;42;30;;x +1861;43;45;158;;x +1862;85;48;31;;x +1863;127;51;159;;x +1864;169;54;32;;x +1865;1;57;160;;x +1866;43;60;33;;x +1867;85;63;161;;x +1868;127;66;34;;x +1869;169;69;162;;x +1870;1;72;35;;x +1871;43;75;163;;x +1872;85;78;36;;x +1873;127;81;164;;x +1874;169;84;37;;x +1875;1;87;165;;x +1876;43;90;38;;x +1877;85;93;166;;x +1878;127;96;39;;x +1879;169;99;167;;x +1880;1;102;40;;x +1881;43;105;168;;x +1882;85;108;41;;x +1883;127;111;169;;x +1884;169;114;42;;x +1885;1;117;170;;x +1886;43;120;43;;x +1887;85;123;171;;x +1888;127;126;44;;x +1889;169;129;172;;x +1890;1;132;45;;x +1891;43;135;173;;x +1892;85;138;46;;x +1893;127;141;174;;x +1894;169;144;47;;x +1895;1;147;175;;x +1896;43;150;48;;x +1897;85;153;176;;x +1898;127;156;49;;x +1899;169;159;177;;x +1900;1;162;50;;x +1901;43;165;178;;x +1902;85;168;51;;x +1903;127;171;179;;x +1904;169;174;52;;x +1905;1;177;180;;x +1906;43;180;53;;x +1907;85;183;181;;x +1908;127;186;54;;x +1909;169;189;182;;x +1910;1;192;55;;x +1911;43;195;183;;x +1912;85;198;56;;x +1913;127;201;184;;x +1914;169;204;57;;x +1915;1;207;185;;x +1916;43;210;58;;x +1917;85;0;186;;x +1918;127;3;59;;x +1919;169;6;187;;x +1920;1;9;60;;x +1921;43;12;188;;x +1922;85;15;61;;x +1923;127;18;189;;x +1924;169;21;62;;x +1925;1;24;190;;x +1926;43;27;63;;x +1927;85;30;191;;x +1928;127;33;64;;x +1929;169;36;192;;x +1930;1;39;65;;x +1931;43;42;193;;x +1932;85;45;66;;x +1933;127;48;194;;x +1934;169;51;67;;x +1935;1;54;195;;x +1936;43;57;68;;x +1937;85;60;196;;x +1938;127;63;69;;x +1939;169;66;197;;x +1940;1;69;70;;x +1941;43;72;198;;x +1942;85;75;71;;x +1943;127;78;199;;x +1944;169;81;72;;x +1945;1;84;200;;x +1946;43;87;73;;x +1947;85;90;201;;x +1948;127;93;74;;x +1949;169;96;202;;x +1950;1;99;75;;x +1951;43;102;203;;x +1952;85;105;76;;x +1953;127;108;204;;x +1954;169;111;77;;x +1955;1;114;205;;x +1956;43;117;78;;x +1957;85;120;206;;x +1958;127;123;79;;x +1959;169;126;207;;x +1960;1;129;80;;x +1961;43;132;208;;x +1962;85;135;81;;x +1963;127;138;209;;x +1964;169;141;82;;x +1965;1;144;210;;x +1966;43;147;83;;x +1967;85;150;211;;x +1968;127;153;84;;x +1969;169;156;212;;x +1970;1;159;85;;x +1971;43;162;213;;x +1972;85;165;86;;x +1973;127;168;214;;x +1974;169;171;87;;x +1975;1;174;215;;x +1976;43;177;88;;x +1977;85;180;216;;x +1978;127;183;89;;x +1979;169;186;217;;x +1980;1;189;90;;x +1981;43;192;218;;x +1982;85;195;91;;x +1983;127;198;219;;x +1984;169;201;92;;x +1985;1;204;220;;x +1986;43;207;93;;x +1987;85;210;221;;x +1988;127;0;94;;x +1989;169;3;222;;x +1990;1;6;95;;x +1991;43;9;223;;x +1992;85;12;96;;x +1993;127;15;224;;x +1994;169;18;97;;x +1995;1;21;225;;x +1996;43;24;98;;x +1997;85;27;226;;x +1998;127;30;99;;x +1999;169;33;227;;x +2000;2;36;0;;x +2001;44;39;128;;x +2002;86;42;1;;x +2003;128;45;129;;x +2004;170;48;2;;x +2005;2;51;130;;x +2006;44;54;3;;x +2007;86;57;131;;x +2008;128;60;4;;x +2009;170;63;132;;x +2010;2;66;5;;x +2011;44;69;133;;x +2012;86;72;6;;x +2013;128;75;134;;x +2014;170;78;7;;x +2015;2;81;135;;x +2016;44;84;8;;x +2017;86;87;136;;x +2018;128;90;9;;x +2019;170;93;137;;x +2020;2;96;10;;x +2021;44;99;138;;x +2022;86;102;11;;x +2023;128;105;139;;x +2024;170;108;12;;x +2025;2;111;140;;x +2026;44;114;13;;x +2027;86;117;141;;x +2028;128;120;14;;x +2029;170;123;142;;x +2030;2;126;15;;x +2031;44;129;143;;x +2032;86;132;16;;x +2033;128;135;144;;x +2034;170;138;17;;x +2035;2;141;145;;x +2036;44;144;18;;x +2037;86;147;146;;x +2038;128;150;19;;x +2039;170;153;147;;x +2040;2;156;20;;x +2041;44;159;148;;x +2042;86;162;21;;x +2043;128;165;149;;x +2044;170;168;22;;x +2045;2;171;150;;x +2046;44;174;23;;x +2047;86;177;151;;x +2048;128;180;24;;x +2049;170;183;152;;x +2050;2;186;25;;x +2051;44;189;153;;x +2052;86;192;26;;x +2053;128;195;154;;x +2054;170;198;27;;x +2055;2;201;155;;x +2056;44;204;28;;x +2057;86;207;156;;x +2058;128;210;29;;x +2059;170;0;157;;x +2060;2;3;30;;x +2061;44;6;158;;x +2062;86;9;31;;x +2063;128;12;159;;x +2064;170;15;32;;x +2065;2;18;160;;x +2066;44;21;33;;x +2067;86;24;161;;x +2068;128;27;34;;x +2069;170;30;162;;x +2070;2;33;35;;x +2071;44;36;163;;x +2072;86;39;36;;x +2073;128;42;164;;x +2074;170;45;37;;x +2075;2;48;165;;x +2076;44;51;38;;x +2077;86;54;166;;x +2078;128;57;39;;x +2079;170;60;167;;x +2080;2;63;40;;x +2081;44;66;168;;x +2082;86;69;41;;x +2083;128;72;169;;x +2084;170;75;42;;x +2085;2;78;170;;x +2086;44;81;43;;x +2087;86;84;171;;x +2088;128;87;44;;x +2089;170;90;172;;x +2090;2;93;45;;x +2091;44;96;173;;x +2092;86;99;46;;x +2093;128;102;174;;x +2094;170;105;47;;x +2095;2;108;175;;x +2096;44;111;48;;x +2097;86;114;176;;x +2098;128;117;49;;x +2099;170;120;177;;x +2100;2;123;50;;x +2101;44;126;178;;x +2102;86;129;51;;x +2103;128;132;179;;x +2104;170;135;52;;x +2105;2;138;180;;x +2106;44;141;53;;x +2107;86;144;181;;x +2108;128;147;54;;x +2109;170;150;182;;x +2110;2;153;55;;x +2111;44;156;183;;x +2112;86;159;56;;x +2113;128;162;184;;x +2114;170;165;57;;x +2115;2;168;185;;x +2116;44;171;58;;x +2117;86;174;186;;x +2118;128;177;59;;x +2119;170;180;187;;x +2120;2;183;60;;x +2121;44;186;188;;x +2122;86;189;61;;x +2123;128;192;189;;x +2124;170;195;62;;x +2125;2;198;190;;x +2126;44;201;63;;x +2127;86;204;191;;x +2128;128;207;64;;x +2129;170;210;192;;x +2130;2;0;65;;x +2131;44;3;193;;x +2132;86;6;66;;x +2133;128;9;194;;x +2134;170;12;67;;x +2135;2;15;195;;x +2136;44;18;68;;x +2137;86;21;196;;x +2138;128;24;69;;x +2139;170;27;197;;x +2140;2;30;70;;x +2141;44;33;198;;x +2142;86;36;71;;x +2143;128;39;199;;x +2144;170;42;72;;x +2145;2;45;200;;x +2146;44;48;73;;x +2147;86;51;201;;x +2148;128;54;74;;x +2149;170;57;202;;x +2150;2;60;75;;x +2151;44;63;203;;x +2152;86;66;76;;x +2153;128;69;204;;x +2154;170;72;77;;x +2155;2;75;205;;x +2156;44;78;78;;x +2157;86;81;206;;x +2158;128;84;79;;x +2159;170;87;207;;x +2160;2;90;80;;x +2161;44;93;208;;x +2162;86;96;81;;x +2163;128;99;209;;x +2164;170;102;82;;x +2165;2;105;210;;x +2166;44;108;83;;x +2167;86;111;211;;x +2168;128;114;84;;x +2169;170;117;212;;x +2170;2;120;85;;x +2171;44;123;213;;x +2172;86;126;86;;x +2173;128;129;214;;x +2174;170;132;87;;x +2175;2;135;215;;x +2176;44;138;88;;x +2177;86;141;216;;x +2178;128;144;89;;x +2179;170;147;217;;x +2180;2;150;90;;x +2181;44;153;218;;x +2182;86;156;91;;x +2183;128;159;219;;x +2184;170;162;92;;x +2185;2;165;220;;x +2186;44;168;93;;x +2187;86;171;221;;x +2188;128;174;94;;x +2189;170;177;222;;x +2190;2;180;95;;x +2191;44;183;223;;x +2192;86;186;96;;x +2193;128;189;224;;x +2194;170;192;97;;x +2195;2;195;225;;x +2196;44;198;98;;x +2197;86;201;226;;x +2198;128;204;99;;x +2199;170;207;227;;x +2200;2;210;0;;x +2201;44;0;128;;x +2202;86;3;1;;x +2203;128;6;129;;x +2204;170;9;2;;x +2205;2;12;130;;x +2206;44;15;3;;x +2207;86;18;131;;x +2208;128;21;4;;x +2209;170;24;132;;x +2210;2;27;5;;x +2211;44;30;133;;x +2212;86;33;6;;x +2213;128;36;134;;x +2214;170;39;7;;x +2215;2;42;135;;x +2216;44;45;8;;x +2217;86;48;136;;x +2218;128;51;9;;x +2219;170;54;137;;x +2220;2;57;10;;x +2221;44;60;138;;x +2222;86;63;11;;x +2223;128;66;139;;x +2224;170;69;12;;x +2225;2;72;140;;x +2226;44;75;13;;x +2227;86;78;141;;x +2228;128;81;14;;x +2229;170;84;142;;x +2230;2;87;15;;x +2231;44;90;143;;x +2232;86;93;16;;x +2233;128;96;144;;x +2234;170;99;17;;x +2235;2;102;145;;x +2236;44;105;18;;x +2237;86;108;146;;x +2238;128;111;19;;x +2239;170;114;147;;x +2240;2;117;20;;x +2241;44;120;148;;x +2242;86;123;21;;x +2243;128;126;149;;x +2244;170;129;22;;x +2245;2;132;150;;x +2246;44;135;23;;x +2247;86;138;151;;x +2248;128;141;24;;x +2249;170;144;152;;x +2250;2;147;25;;x +2251;44;150;153;;x +2252;86;153;26;;x +2253;128;156;154;;x +2254;170;159;27;;x +2255;2;162;155;;x +2256;44;165;28;;x +2257;86;168;156;;x +2258;128;171;29;;x +2259;170;174;157;;x +2260;2;177;30;;x +2261;44;180;158;;x +2262;86;183;31;;x +2263;128;186;159;;x +2264;170;189;32;;x +2265;2;192;160;;x +2266;44;195;33;;x +2267;86;198;161;;x +2268;128;201;34;;x +2269;170;204;162;;x +2270;2;207;35;;x +2271;44;210;163;;x +2272;86;0;36;;x +2273;128;3;164;;x +2274;170;6;37;;x +2275;2;9;165;;x +2276;44;12;38;;x +2277;86;15;166;;x +2278;128;18;39;;x +2279;170;21;167;;x +2280;2;24;40;;x +2281;44;27;168;;x +2282;86;30;41;;x +2283;128;33;169;;x +2284;170;36;42;;x +2285;2;39;170;;x +2286;44;42;43;;x +2287;86;45;171;;x +2288;128;48;44;;x +2289;170;51;172;;x +2290;2;54;45;;x +2291;44;57;173;;x +2292;86;60;46;;x +2293;128;63;174;;x +2294;170;66;47;;x +2295;2;69;175;;x +2296;44;72;48;;x +2297;86;75;176;;x +2298;128;78;49;;x +2299;170;81;177;;x +2300;2;84;50;;x +2301;44;87;178;;x +2302;86;90;51;;x +2303;128;93;179;;x +2304;170;96;52;;x +2305;2;99;180;;x +2306;44;102;53;;x +2307;86;105;181;;x +2308;128;108;54;;x +2309;170;111;182;;x +2310;2;114;55;;x +2311;44;117;183;;x +2312;86;120;56;;x +2313;128;123;184;;x +2314;170;126;57;;x +2315;2;129;185;;x +2316;44;132;58;;x + +2317;43;63;148;;x +2318;85;66;21;;x +2319;127;69;149;;x +2320;169;72;22;;x +2321;1;75;150;;x +2322;43;78;23;;x +2323;85;81;151;;x +2324;127;84;24;;x +2325;169;87;152;;x +2326;1;90;25;;x +2327;43;93;153;;x +2328;85;96;26;;x +2329;127;99;154;;x +2330;169;102;27;;x +2331;1;105;155;;x +2332;43;108;28;;x +2333;128;183;194;;x +2334;170;186;67;;x +2335;2;189;195;;x +2336;44;192;68;;x +2337;86;195;196;;x +2338;128;198;69;;x +2339;85;111;156;;x +2340;127;114;29;;x +2341;169;117;157;;x +2342;86;210;71;;x +2343;128;0;199;;x +2344;170;3;72;;x +2345;2;6;200;;x +2346;44;9;73;;x +2347;86;12;201;;x +2348;128;15;74;;x +2349;170;18;202;;x +2350;2;21;75;;x +2351;44;24;203;;x +2352;86;27;76;;x +2353;128;30;204;;x +2354;170;33;77;;x +2355;2;36;205;;x +2356;44;39;78;;x +2357;86;42;206;;x +2358;128;45;79;;x +2359;170;48;207;;x +2360;2;51;80;;x +2361;44;54;208;;x +2362;86;57;81;;x +2363;128;60;209;;x +2364;170;63;82;;x +2365;2;66;210;;x +2366;44;69;83;;x +2367;86;72;211;;x +2368;128;75;84;;x +2369;170;78;212;;x +2370;2;81;85;;x +2371;44;84;213;;x +2372;86;87;86;;x +2373;128;90;214;;x +2374;170;93;87;;x +2375;2;96;215;;x +2376;44;99;88;;x +2377;86;102;216;;x +2378;128;105;89;;x +2379;170;108;217;;x +2380;2;111;90;;x +2381;44;114;218;;x +2382;86;117;91;;x +2383;128;120;219;;x +2384;170;123;92;;x +2385;2;126;220;;x +2386;44;129;93;;x +2387;86;132;221;;x +2388;128;135;94;;x +2389;170;138;222;;x +2390;2;141;95;;x +2391;44;144;223;;x +2392;86;147;96;;x +2393;128;150;224;;x +2394;170;153;97;;x +2395;2;156;225;;x +2396;44;159;98;;x +2397;86;162;226;;x +2398;128;165;99;;x +2399;170;168;227;;x +2400;2;171;0;;x +2401;44;174;128;;x +2402;86;177;1;;x +2403;128;180;129;;x +2404;170;183;2;;x +2405;2;186;130;;x +2406;44;189;3;;x +2407;86;192;131;;x +2408;128;195;4;;x +2409;170;198;132;;x +2410;2;201;5;;x +2411;44;204;133;;x +2412;86;207;6;;x +2413;128;210;134;;x +2414;170;0;7;;x +2415;2;3;135;;x +2416;44;6;8;;x +2417;86;9;136;;x +2418;128;12;9;;x +2419;170;15;137;;x +2420;2;18;10;;x +2421;44;21;138;;x +2422;86;24;11;;x +2423;128;27;139;;x +2424;170;30;12;;x +2425;2;33;140;;x +2426;44;36;13;;x +2427;86;39;141;;x +2428;128;42;14;;x +2429;170;45;142;;x +2430;2;48;15;;x +2431;44;51;143;;x +2432;86;54;16;;x +2433;128;57;144;;x +2434;170;60;17;;x +2435;2;63;145;;x +2436;44;66;18;;x +2437;86;69;146;;x +2438;128;72;19;;x +2439;170;75;147;;x +2440;2;78;20;;x +2441;44;81;148;;x +2442;86;84;21;;x +2443;128;87;149;;x +2444;170;90;22;;x +2445;2;93;150;;x +2446;44;96;23;;x +2447;86;99;151;;x +2448;128;102;24;;x +2449;170;105;152;;x +2450;2;108;25;;x +2451;44;111;153;;x +2452;86;114;26;;x +2453;128;117;154;;x +2454;170;120;27;;x +2455;2;123;155;;x +2456;44;126;28;;x +2457;86;129;156;;x +2458;128;132;29;;x +2459;170;135;157;;x +2460;2;138;30;;x +2461;44;141;158;;x +2462;86;144;31;;x +2463;128;147;159;;x +2464;170;150;32;;x +2465;2;153;160;;x +2466;44;156;33;;x +2467;86;159;161;;x +2468;128;162;34;;x +2469;170;165;162;;x +2470;2;168;35;;x +2471;44;171;163;;x +2472;86;174;36;;x +2473;128;177;164;;x +2474;170;180;37;;x +2475;2;183;165;;x +2476;44;186;38;;x +2477;86;189;166;;x +2478;128;192;39;;x +2479;170;195;167;;x +2480;2;198;40;;x +2481;44;201;168;;x +2482;86;204;41;;x +2483;128;207;169;;x +2484;170;210;42;;x +2485;2;0;170;;x +2486;44;3;43;;x +2487;86;6;171;;x +2488;128;9;44;;x +2489;170;12;172;;x +2490;2;15;45;;x +2491;44;18;173;;x +2492;86;21;46;;x +2493;128;24;174;;x +2494;170;27;47;;x +2495;2;30;175;;x +2496;44;33;48;;x +2497;86;36;176;;x +2498;128;39;49;;x +2499;170;42;177;;x +2500;2;45;50;;x +2501;44;48;178;;x +2502;86;51;51;;x +2503;128;54;179;;x +2504;170;57;52;;x +2505;2;60;180;;x +2506;44;63;53;;x +2507;86;66;181;;x +2508;128;69;54;;x +2509;170;72;182;;x +2510;2;75;55;;x +2511;44;78;183;;x +2512;86;81;56;;x +2513;128;84;184;;x +2514;170;87;57;;x +2515;2;90;185;;x +2516;44;93;58;;x +2517;86;96;186;;x +2518;128;99;59;;x +2519;170;102;187;;x +2520;2;105;60;;x +2521;44;108;188;;x +2522;86;111;61;;x +2523;128;114;189;;x +2524;170;117;62;;x +2525;2;120;190;;x +2526;44;123;63;;x +2527;86;126;191;;x +2528;128;129;64;;x +2529;170;132;192;;x +2530;2;135;65;;x +2531;44;138;193;;x +2532;86;141;66;;x +2533;128;144;194;;x +2534;170;147;67;;x +2535;2;150;195;;x +2536;44;153;68;;x +2537;86;156;196;;x +2538;128;159;69;;x +2539;170;162;197;;x +2540;2;165;70;;x +2541;44;168;198;;x +2542;86;171;71;;x +2543;128;174;199;;x +2544;170;177;72;;x +2545;2;180;200;;x +2546;44;183;73;;x +2547;86;186;201;;x +2548;128;189;74;;x +2549;170;192;202;;x +2550;2;195;75;;x +2551;44;198;203;;x +2552;86;201;76;;x +2553;128;204;204;;x +2554;170;207;77;;x +2555;2;210;205;;x +2556;44;0;78;;x +2557;86;3;206;;x +2558;128;6;79;;x +2559;170;9;207;;x +2560;2;12;80;;x +2561;44;15;208;;x +2562;86;18;81;;x +2563;128;21;209;;x +2564;170;24;82;;x +2565;2;27;210;;x +2566;44;30;83;;x +2567;86;33;211;;x +2568;128;36;84;;x +2569;170;39;212;;x +2570;2;42;85;;x +2571;44;45;213;;x +2572;86;48;86;;x +2573;128;51;214;;x +2574;170;54;87;;x +2575;2;57;215;;x +2576;44;60;88;;x +2577;86;63;216;;x +2578;128;66;89;;x +2579;170;69;217;;x +2580;2;72;90;;x +2581;44;75;218;;x +2582;86;78;91;;x +2583;128;81;219;;x +2584;170;84;92;;x +2585;2;87;220;;x +2586;44;90;93;;x +2587;86;93;221;;x +2588;128;96;94;;x +2589;170;99;222;;x +2590;2;102;95;;x +2591;44;105;223;;x +2592;86;108;96;;x +2593;128;111;224;;x +2594;170;114;97;;x +2595;2;117;225;;x +2596;44;120;98;;x +2597;86;123;226;;x +2598;128;126;99;;x +2599;170;129;227;;x +2600;2;132;0;;x +2601;44;135;128;;x +2602;86;138;1;;x +2603;128;141;129;;x +2604;170;144;2;;x +2605;2;147;130;;x +2606;44;150;3;;x +2607;86;153;131;;x +2608;128;156;4;;x +2609;170;159;132;;x +2610;2;162;5;;x +2611;44;165;133;;x +2612;86;168;6;;x +2613;128;171;134;;x +2614;170;174;7;;x +2615;2;177;135;;x +2616;44;180;8;;x +2617;86;183;136;;x +2618;128;186;9;;x +2619;170;189;137;;x +2620;2;192;10;;x +2621;44;195;138;;x +2622;86;198;11;;x +2623;128;201;139;;x +2624;170;204;12;;x +2625;2;207;140;;x +2626;44;210;13;;x +2627;86;0;141;;x +2628;128;3;14;;x +2629;170;6;142;;x +2630;2;9;15;;x +2631;44;12;143;;x +2632;86;15;16;;x +2633;128;18;144;;x +2634;170;21;17;;x +2635;2;24;145;;x +2636;44;27;18;;x +2637;86;30;146;;x +2638;128;33;19;;x +2639;170;36;147;;x +2640;2;39;20;;x +2641;44;42;148;;x +2642;86;45;21;;x +2643;128;48;149;;x +2644;170;51;22;;x +2645;2;54;150;;x +2646;44;57;23;;x +2647;86;60;151;;x +2648;128;63;24;;x +2649;170;66;152;;x +2650;2;69;25;;x +2651;44;72;153;;x +2652;86;75;26;;x +2653;128;78;154;;x +2654;170;81;27;;x +2655;2;84;155;;x +2656;44;87;28;;x +2657;86;90;156;;x +2658;128;93;29;;x +2659;170;96;157;;x +2660;2;99;30;;x +2661;44;102;158;;x +2662;86;105;31;;x +2663;128;108;159;;x +2664;170;111;32;;x +2665;2;114;160;;x +2666;44;117;33;;x +2667;86;120;161;;x +2668;128;123;34;;x +2669;170;126;162;;x +2670;2;129;35;;x +2671;44;132;163;;x +2672;86;135;36;;x +2673;128;138;164;;x +2674;170;141;37;;x +2675;2;144;165;;x +2676;44;147;38;;x +2677;86;150;166;;x +2678;128;153;39;;x +2679;170;156;167;;x +2680;2;159;40;;x +2681;44;162;168;;x +2682;86;165;41;;x +2683;128;168;169;;x +2684;170;171;42;;x +2685;2;174;170;;x +2686;44;177;43;;x +2687;86;180;171;;x +2688;128;183;44;;x +2689;170;186;172;;x +2690;2;189;45;;x +2691;44;192;173;;x +2692;86;195;46;;x +2693;128;198;174;;x +2694;170;201;47;;x +2695;2;204;175;;x +2696;44;207;48;;x +2697;86;210;176;;x +2698;128;0;49;;x +2699;170;3;177;;x +2700;2;6;50;;x +2701;44;9;178;;x +2702;86;12;51;;x +2703;128;15;179;;x +2704;170;18;52;;x +2705;2;21;180;;x +2706;44;24;53;;x +2707;86;27;181;;x +2708;128;30;54;;x +2709;170;33;182;;x +2710;2;36;55;;x +2711;44;39;183;;x +2712;86;42;56;;x +2713;128;45;184;;x +2714;170;48;57;;x +2715;2;51;185;;x +2716;44;54;58;;x +2717;86;57;186;;x +2718;128;60;59;;x +2719;170;63;187;;x +2720;2;66;60;;x +2721;44;69;188;;x +2722;86;72;61;;x +2723;128;75;189;;x +2724;170;78;62;;x +2725;2;81;190;;x +2726;44;84;63;;x +2727;86;87;191;;x +2728;128;90;64;;x +2729;170;93;192;;x +2730;2;96;65;;x +2731;44;99;193;;x +2732;86;102;66;;x +2733;128;105;194;;x +2734;170;108;67;;x +2735;2;111;195;;x +2736;44;114;68;;x +2737;86;117;196;;x +2738;128;120;69;;x +2739;170;123;197;;x +2740;2;126;70;;x +2741;44;129;198;;x +2742;86;132;71;;x +2743;128;135;199;;x +2744;170;138;72;;x +2745;2;141;200;;x +2746;44;144;73;;x +2747;86;147;201;;x +2748;128;150;74;;x +2749;170;153;202;;x +2750;2;156;75;;x +2751;44;159;203;;x +2752;86;162;76;;x +2753;128;165;204;;x +2754;170;168;77;;x +2755;2;171;205;;x +2756;44;174;78;;x +2757;86;177;206;;x +2758;128;180;79;;x +2759;170;183;207;;x +2760;2;186;80;;x +2761;44;189;208;;x +2762;86;192;81;;x +2763;128;195;209;;x +2764;170;198;82;;x +2765;2;201;210;;x +2766;44;204;83;;x +2767;86;207;211;;x +2768;128;210;84;;x +2769;170;0;212;;x +2770;2;3;85;;x +2771;44;6;213;;x +2772;86;9;86;;x +2773;128;12;214;;x +2774;170;15;87;;x +2775;2;18;215;;x +2776;44;21;88;;x +2777;86;24;216;;x +2778;128;27;89;;x +2779;170;30;217;;x +2780;2;33;90;;x +2781;44;36;218;;x +2782;86;39;91;;x +2783;128;42;219;;x +2784;170;45;92;;x +2785;2;48;220;;x +2786;44;51;93;;x +2787;86;54;221;;x +2788;128;57;94;;x +2789;170;60;222;;x +2790;2;63;95;;x +2791;44;66;223;;x +2792;86;69;96;;x +2793;128;72;224;;x +2794;170;75;97;;x +2795;2;78;225;;x +2796;44;81;98;;x +2797;86;84;226;;x +2798;128;87;99;;x +2799;170;90;227;;x +2800;2;93;0;;x +2801;44;96;128;;x +2802;86;99;1;;x +2803;128;102;129;;x +2804;170;105;2;;x +2805;2;108;130;;x +2806;44;111;3;;x +2807;86;114;131;;x +2808;128;117;4;;x +2809;170;120;132;;x +2810;2;123;5;;x +2811;44;126;133;;x +2812;86;129;6;;x +2813;128;132;134;;x +2814;170;135;7;;x +2815;2;138;135;;x +2816;44;141;8;;x +2817;86;144;136;;x +2818;128;147;9;;x +2819;170;150;137;;x +2820;2;153;10;;x +2821;44;156;138;;x +2822;86;159;11;;x +2823;128;162;139;;x +2824;170;165;12;;x +2825;2;168;140;;x +2826;44;171;13;;x +2827;86;174;141;;x +2828;128;177;14;;x +2829;170;180;142;;x +2830;2;183;15;;x +2831;44;186;143;;x +2832;86;189;16;;x +2833;128;192;144;;x +2834;170;195;17;;x +2835;2;198;145;;x +2836;44;201;18;;x +2837;86;204;146;;x +2838;128;207;19;;x +2839;170;210;147;;x +2840;2;0;20;;x +2841;44;3;148;;x +2842;86;6;21;;x +2843;128;9;149;;x +2844;170;12;22;;x +2845;2;15;150;;x +2846;44;18;23;;x +2847;86;21;151;;x +2848;128;24;24;;x +2849;170;27;152;;x +2850;2;30;25;;x +2851;44;33;153;;x +2852;86;36;26;;x +2853;128;39;154;;x +2854;170;42;27;;x +2855;2;45;155;;x +2856;44;48;28;;x +2857;86;51;156;;x +2858;128;54;29;;x +2859;170;57;157;;x +2860;2;60;30;;x +2861;44;63;158;;x +2862;86;66;31;;x +2863;128;69;159;;x +2864;170;72;32;;x +2865;2;75;160;;x +2866;44;78;33;;x +2867;86;81;161;;x +2868;128;84;34;;x +2869;170;87;162;;x +2870;2;90;35;;x +2871;44;93;163;;x +2872;86;96;36;;x +2873;128;99;164;;x +2874;170;102;37;;x +2875;2;105;165;;x +2876;44;108;38;;x +2877;86;111;166;;x +2878;128;114;39;;x +2879;170;117;167;;x +2880;2;120;40;;x +2881;44;123;168;;x +2882;86;126;41;;x +2883;128;129;169;;x +2884;170;132;42;;x +2885;2;135;170;;x +2886;44;138;43;;x +2887;86;141;171;;x +2888;128;144;44;;x +2889;170;147;172;;x +2890;2;150;45;;x +2891;44;153;173;;x +2892;86;156;46;;x +2893;128;159;174;;x +2894;170;162;47;;x +2895;2;165;175;;x +2896;44;168;48;;x +2897;86;171;176;;x +2898;128;174;49;;x +2899;170;177;177;;x +2900;2;180;50;;x +2901;44;183;178;;x +2902;86;186;51;;x +2903;128;189;179;;x +2904;170;192;52;;x +2905;2;195;180;;x +2906;44;198;53;;x +2907;86;201;181;;x +2908;128;204;54;;x +2909;170;207;182;;x +2910;2;210;55;;x +2911;44;0;183;;x +2912;86;3;56;;x +2913;128;6;184;;x +2914;170;9;57;;x +2915;2;12;185;;x +2916;44;15;58;;x +2917;86;18;186;;x +2918;128;21;59;;x +2919;170;24;187;;x +2920;2;27;60;;x +2921;44;30;188;;x +2922;86;33;61;;x +2923;128;36;189;;x +2924;170;39;62;;x +2925;2;42;190;;x +2926;44;45;63;;x +2927;86;48;191;;x +2928;128;51;64;;x +2929;170;54;192;;x +2930;2;57;65;;x +2931;44;60;193;;x +2932;86;63;66;;x +2933;128;66;194;;x +2934;170;69;67;;x +2935;2;72;195;;x +2936;44;75;68;;x +2937;86;78;196;;x +2938;128;81;69;;x +2939;170;84;197;;x +2940;2;87;70;;x +2941;44;90;198;;x +2942;86;93;71;;x +2943;128;96;199;;x +2944;170;99;72;;x +2945;2;102;200;;x +2946;44;105;73;;x +2947;86;108;201;;x +2948;128;111;74;;x +2949;170;114;202;;x +2950;2;117;75;;x +2951;44;120;203;;x +2952;86;123;76;;x +2953;128;126;204;;x +2954;170;129;77;;x +2955;2;132;205;;x +2956;44;135;78;;x +2957;86;138;206;;x +2958;128;141;79;;x +2959;170;144;207;;x +2960;2;147;80;;x +2961;44;150;208;;x +2962;86;153;81;;x +2963;128;156;209;;x +2964;170;159;82;;x +2965;2;162;210;;x +2966;44;165;83;;x +2967;86;168;211;;x +2968;128;171;84;;x +2969;170;174;212;;x +2970;2;177;85;;x +2971;44;180;213;;x +2972;86;183;86;;x +2973;128;186;214;;x +2974;170;189;87;;x +2975;2;192;215;;x +2976;44;195;88;;x +2977;86;198;216;;x +2978;128;201;89;;x +2979;170;204;217;;x +2980;2;207;90;;x +2981;44;210;218;;x +2982;86;0;91;;x +2983;128;3;219;;x +2984;170;6;92;;x +2985;2;9;220;;x +2986;44;12;93;;x +2987;86;15;221;;x +2988;128;18;94;;x +2989;170;21;222;;x +2990;2;24;95;;x +2991;44;27;223;;x +2992;86;30;96;;x +2993;128;33;224;;x +2994;170;36;97;;x +2995;2;39;225;;x +2996;44;42;98;;x +2997;86;45;226;;x +2998;128;48;99;;x +2999;170;51;227;;x +3000;3;54;0;;x +3001;45;57;128;;x +3002;87;60;1;;x +3003;129;63;129;;x +3004;171;66;2;;x +3005;3;69;130;;x +3006;45;72;3;;x +3007;87;75;131;;x +3008;129;78;4;;x +3009;171;81;132;;x +3010;3;84;5;;x +3011;45;87;133;;x +3012;87;90;6;;x +3013;129;93;134;;x +3014;171;96;7;;x +3015;3;99;135;;x +3016;45;102;8;;x +3017;87;105;136;;x +3018;129;108;9;;x +3019;171;111;137;;x +3020;3;114;10;;x +3021;45;117;138;;x +3022;87;120;11;;x +3023;129;123;139;;x +3024;171;126;12;;x +3025;3;129;140;;x +3026;45;132;13;;x +3027;87;135;141;;x +3028;129;138;14;;x +3029;171;141;142;;x +3030;3;144;15;;x +3031;45;147;143;;x +3032;87;150;16;;x +3033;129;153;144;;x +3034;171;156;17;;x +3035;3;159;145;;x +3036;45;162;18;;x +3037;87;165;146;;x +3038;129;168;19;;x +3039;171;171;147;;x +3040;3;174;20;;x +3041;45;177;148;;x +3042;87;180;21;;x +3043;129;183;149;;x +3044;171;186;22;;x +3045;3;189;150;;x +3046;45;192;23;;x +3047;87;195;151;;x +3048;129;198;24;;x +3049;171;201;152;;x +3050;3;204;25;;x +3051;45;207;153;;x +3052;87;210;26;;x +3053;129;0;154;;x +3054;171;3;27;;x +3055;3;6;155;;x +3056;45;9;28;;x +3057;87;12;156;;x +3058;129;15;29;;x +3059;171;18;157;;x +3060;3;21;30;;x +3061;45;24;158;;x +3062;87;27;31;;x +3063;129;30;159;;x +3064;171;33;32;;x +3065;3;36;160;;x +3066;45;39;33;;x +3067;87;42;161;;x +3068;129;45;34;;x +3069;171;48;162;;x +3070;3;51;35;;x +3071;45;54;163;;x +3072;87;57;36;;x +3073;129;60;164;;x +3074;171;63;37;;x +3075;3;66;165;;x +3076;45;69;38;;x +3077;87;72;166;;x +3078;129;75;39;;x +3079;171;78;167;;x +3080;3;81;40;;x +3081;45;84;168;;x +3082;87;87;41;;x +3083;129;90;169;;x +3084;171;93;42;;x +3085;3;96;170;;x +3086;45;99;43;;x +3087;87;102;171;;x +3088;129;105;44;;x +3089;171;108;172;;x +3090;3;111;45;;x +3091;45;114;173;;x +3092;87;117;46;;x +3093;129;120;174;;x +3094;171;123;47;;x +3095;3;126;175;;x +3096;45;129;48;;x +3097;87;132;176;;x +3098;129;135;49;;x +3099;171;138;177;;x +3100;3;141;50;;x +3101;45;144;178;;x +3102;87;147;51;;x +3103;129;150;179;;x +3104;171;153;52;;x +3105;3;156;180;;x +3106;45;159;53;;x +3107;87;162;181;;x +3108;129;165;54;;x +3109;171;168;182;;x +3110;3;171;55;;x +3111;45;174;183;;x +3112;87;177;56;;x +3113;129;180;184;;x +3114;171;183;57;;x +3115;3;186;185;;x +3116;45;189;58;;x +3117;87;192;186;;x +3118;129;195;59;;x +3119;171;198;187;;x +3120;3;201;60;;x +3121;45;204;188;;x +3122;87;207;61;;x +3123;129;210;189;;x +3124;171;0;62;;x +3125;3;3;190;;x +3126;45;6;63;;x +3127;87;9;191;;x +3128;129;12;64;;x +3129;171;15;192;;x +3130;3;18;65;;x +3131;45;21;193;;x +3132;87;24;66;;x +3133;129;27;194;;x +3134;171;30;67;;x +3135;3;33;195;;x +3136;45;36;68;;x +3137;87;39;196;;x +3138;129;42;69;;x +3139;171;45;197;;x +3140;3;48;70;;x +3141;45;51;198;;x +3142;87;54;71;;x +3143;129;57;199;;x +3144;171;60;72;;x +3145;3;63;200;;x +3146;45;66;73;;x +3147;87;69;201;;x +3148;129;72;74;;x +3149;171;75;202;;x +3150;3;78;75;;x +3151;45;81;203;;x +3152;87;84;76;;x +3153;129;87;204;;x +3154;171;90;77;;x +3155;3;93;205;;x +3156;45;96;78;;x +3157;87;99;206;;x +3158;129;102;79;;x +3159;171;105;207;;x +3160;3;108;80;;x +3161;45;111;208;;x +3162;87;114;81;;x +3163;129;117;209;;x +3164;171;120;82;;x +3165;3;123;210;;x +3166;45;126;83;;x +3167;87;129;211;;x +3168;129;132;84;;x +3169;171;135;212;;x +3170;3;138;85;;x +3171;45;141;213;;x +3172;87;144;86;;x +3173;129;147;214;;x +3174;171;150;87;;x +3175;3;153;215;;x +3176;45;156;88;;x +3177;87;159;216;;x +3178;129;162;89;;x +3179;171;165;217;;x +3180;3;168;90;;x +3181;45;171;218;;x +3182;87;174;91;;x +3183;129;177;219;;x +3184;171;180;92;;x +3185;3;183;220;;x +3186;45;186;93;;x +3187;87;189;221;;x +3188;129;192;94;;x +3189;171;195;222;;x +3190;3;198;95;;x +3191;45;201;223;;x +3192;87;204;96;;x +3193;129;207;224;;x +3194;171;210;97;;x +3195;3;0;225;;x +3196;45;3;98;;x +3197;87;6;226;;x +3198;129;9;99;;x +3199;171;12;227;;x +3200;3;15;0;;x +3201;45;18;128;;x +3202;87;21;1;;x +3203;129;24;129;;x +3204;171;27;2;;x +3205;3;30;130;;x +3206;45;33;3;;x +3207;87;36;131;;x +3208;129;39;4;;x +3209;171;42;132;;x +3210;3;45;5;;x +3211;45;48;133;;x +3212;87;51;6;;x +3213;129;54;134;;x +3214;171;57;7;;x +3215;3;60;135;;x +3216;45;63;8;;x +3217;87;66;136;;x +3218;129;69;9;;x +3219;171;72;137;;x +3220;3;75;10;;x +3221;45;78;138;;x +3222;87;81;11;;x +3223;129;84;139;;x +3224;171;87;12;;x +3225;3;90;140;;x +3226;45;93;13;;x +3227;87;96;141;;x +3228;129;99;14;;x +3229;171;102;142;;x +3230;3;105;15;;x +3231;45;108;143;;x +3232;87;111;16;;x +3233;129;114;144;;x +3234;171;117;17;;x +3235;3;120;145;;x +3236;45;123;18;;x +3237;87;126;146;;x +3238;129;129;19;;x +3239;171;132;147;;x +3240;3;135;20;;x +3241;45;138;148;;x +3242;87;141;21;;x +3243;129;144;149;;x +3244;171;147;22;;x +3245;3;150;150;;x +3246;45;153;23;;x +3247;87;156;151;;x +3248;129;159;24;;x +3249;171;162;152;;x +3250;3;165;25;;x +3251;45;168;153;;x +3252;87;171;26;;x +3253;129;174;154;;x +3254;171;177;27;;x +3255;3;180;155;;x +3256;45;183;28;;x +3257;87;186;156;;x +3258;129;189;29;;x +3259;171;192;157;;x +3260;3;195;30;;x +3261;45;198;158;;x +3262;87;201;31;;x +3263;129;204;159;;x +3264;171;207;32;;x +3265;3;210;160;;x +3266;45;0;33;;x +3267;87;3;161;;x +3268;129;6;34;;x +3269;171;9;162;;x +3270;3;12;35;;x +3271;45;15;163;;x +3272;87;18;36;;x +3273;129;21;164;;x +3274;171;24;37;;x +3275;3;27;165;;x +3276;45;30;38;;x +3277;87;33;166;;x +3278;129;36;39;;x +3279;171;39;167;;x +3280;3;42;40;;x +3281;45;45;168;;x +3282;87;48;41;;x +3283;129;51;169;;x +3284;171;54;42;;x +3285;3;57;170;;x +3286;45;60;43;;x +3287;87;63;171;;x +3288;129;66;44;;x +3289;171;69;172;;x +3290;3;72;45;;x +3291;45;75;173;;x +3292;87;78;46;;x +3293;129;81;174;;x +3294;171;84;47;;x +3295;3;87;175;;x +3296;45;90;48;;x +3297;87;93;176;;x +3298;129;96;49;;x +3299;171;99;177;;x +3300;3;102;50;;x +3301;45;105;178;;x +3302;87;108;51;;x +3303;129;111;179;;x +3304;171;114;52;;x +3305;3;117;180;;x +3306;45;120;53;;x +3307;87;123;181;;x +3308;129;126;54;;x +3309;171;129;182;;x +3310;3;132;55;;x +3311;45;135;183;;x +3312;87;138;56;;x +3313;129;141;184;;x +3314;171;144;57;;x +3315;3;147;185;;x +3316;45;150;58;;x +3317;87;153;186;;x +3318;129;156;59;;x +3319;171;159;187;;x +3320;3;162;60;;x +3321;45;165;188;;x +3322;87;168;61;;x +3323;129;171;189;;x +3324;171;174;62;;x +3325;3;177;190;;x +3326;45;180;63;;x +3327;87;183;191;;x +3328;129;186;64;;x +3329;171;189;192;;x +3330;3;192;65;;x +3331;45;195;193;;x +3332;87;198;66;;x +3333;129;201;194;;x +3334;171;204;67;;x +3335;3;207;195;;x +3336;45;210;68;;x +3337;87;0;196;;x +3338;129;3;69;;x +3339;171;6;197;;x +3340;3;9;70;;x +3341;45;12;198;;x +3342;87;15;71;;x +3343;129;18;199;;x +3344;171;21;72;;x +3345;3;24;200;;x +3346;45;27;73;;x +3347;87;30;201;;x +3348;129;33;74;;x +3349;171;36;202;;x +3350;3;39;75;;x +3351;45;42;203;;x +3352;87;45;76;;x +3353;129;48;204;;x +3354;171;51;77;;x +3355;3;54;205;;x +3356;45;57;78;;x +3357;87;60;206;;x +3358;129;63;79;;x +3359;171;66;207;;x +3360;3;69;80;;x +3361;45;72;208;;x +3362;87;75;81;;x +3363;129;78;209;;x +3364;171;81;82;;x +3365;3;84;210;;x +3366;45;87;83;;x +3367;87;90;211;;x +3368;129;93;84;;x +3369;171;96;212;;x +3370;3;99;85;;x +3371;45;102;213;;x +3372;87;105;86;;x +3373;129;108;214;;x +3374;171;111;87;;x +3375;3;114;215;;x +3376;45;117;88;;x +3377;87;120;216;;x +3378;129;123;89;;x +3379;171;126;217;;x +3380;3;129;90;;x +3381;45;132;218;;x +3382;87;135;91;;x +3383;129;138;219;;x +3384;171;141;92;;x +3385;3;144;220;;x +3386;45;147;93;;x +3387;87;150;221;;x +3388;129;153;94;;x +3389;171;156;222;;x +3390;3;159;95;;x +3391;45;162;223;;x +3392;87;165;96;;x +3393;129;168;224;;x +3394;171;171;97;;x +3395;3;174;225;;x +3396;45;177;98;;x +3397;87;180;226;;x +3398;129;183;99;;x +3399;171;186;227;;x +3400;3;189;0;;x +3401;45;192;128;;x +3402;87;195;1;;x +3403;129;198;129;;x +3404;171;201;2;;x +3405;3;204;130;;x +3406;45;207;3;;x +3407;87;210;131;;x +3408;129;0;4;;x +3409;171;3;132;;x +3410;3;6;5;;x +3411;45;9;133;;x +3412;87;12;6;;x +3413;129;15;134;;x +3414;171;18;7;;x +3415;3;21;135;;x +3416;45;24;8;;x +3417;87;27;136;;x +3418;129;30;9;;x +3419;171;33;137;;x +3420;3;36;10;;x +3421;45;39;138;;x +3422;87;42;11;;x +3423;129;45;139;;x +3424;171;48;12;;x +3425;3;51;140;;x +3426;45;54;13;;x +3427;87;57;141;;x +3428;129;60;14;;x +3429;171;63;142;;x +3430;3;66;15;;x +3431;45;69;143;;x +3432;87;72;16;;x +3433;129;75;144;;x +3434;171;78;17;;x +3435;3;81;145;;x +3436;45;84;18;;x +3437;87;87;146;;x +3438;129;90;19;;x +3439;171;93;147;;x +3440;3;96;20;;x +3441;45;99;148;;x +3442;87;102;21;;x +3443;129;105;149;;x +3444;171;108;22;;x +3445;3;111;150;;x +3446;45;114;23;;x +3447;87;117;151;;x +3448;129;120;24;;x +3449;171;123;152;;x +3450;3;126;25;;x +3451;45;129;153;;x +3452;87;132;26;;x +3453;129;135;154;;x +3454;171;138;27;;x +3455;3;141;155;;x +3456;45;144;28;;x +3457;87;147;156;;x +3458;129;150;29;;x +3459;171;153;157;;x +3460;3;156;30;;x +3461;45;159;158;;x +3462;87;162;31;;x +3463;129;165;159;;x +3464;171;168;32;;x +3465;3;171;160;;x +3466;45;174;33;;x +3467;87;177;161;;x +3468;129;180;34;;x +3469;171;183;162;;x +3470;3;186;35;;x +3471;45;189;163;;x +3472;87;192;36;;x +3473;129;195;164;;x +3474;171;198;37;;x +3475;3;201;165;;x +3476;45;204;38;;x +3477;87;207;166;;x +3478;129;210;39;;x +3479;171;0;167;;x +3480;3;3;40;;x +3481;45;6;168;;x +3482;87;9;41;;x +3483;129;12;169;;x +3484;171;15;42;;x +3485;3;18;170;;x +3486;45;21;43;;x +3487;87;24;171;;x +3488;129;27;44;;x +3489;171;30;172;;x +3490;3;33;45;;x +3491;45;36;173;;x +3492;87;39;46;;x +3493;129;42;174;;x +3494;171;45;47;;x +3495;3;48;175;;x +3496;45;51;48;;x +3497;87;54;176;;x +3498;129;57;49;;x +3499;171;60;177;;x +3500;3;63;50;;x +3501;45;66;178;;x +3502;87;69;51;;x +3503;129;72;179;;x +3504;171;75;52;;x +3505;3;78;180;;x +3506;45;81;53;;x +3507;87;84;181;;x +3508;129;87;54;;x +3509;171;90;182;;x +3510;3;93;55;;x +3511;45;96;183;;x +3512;87;99;56;;x +3513;129;102;184;;x +3514;171;105;57;;x +3515;3;108;185;;x +3516;45;111;58;;x +3517;87;114;186;;x +3518;129;117;59;;x +3519;171;120;187;;x +3520;3;123;60;;x +3521;45;126;188;;x +3522;87;129;61;;x +3523;129;132;189;;x +3524;171;135;62;;x +3525;3;138;190;;x +3526;45;141;63;;x +3527;87;144;191;;x +3528;129;147;64;;x +3529;171;150;192;;x +3530;3;153;65;;x +3531;45;156;193;;x +3532;87;159;66;;x +3533;129;162;194;;x +3534;171;165;67;;x +3535;3;168;195;;x +3536;45;171;68;;x +3537;87;174;196;;x +3538;129;177;69;;x +3539;171;180;197;;x +3540;3;183;70;;x +3541;45;186;198;;x +3542;87;189;71;;x +3543;129;192;199;;x +3544;171;195;72;;x +3545;3;198;200;;x +3546;45;201;73;;x +3547;87;204;201;;x +3548;129;207;74;;x +3549;171;210;202;;x +3550;3;0;75;;x +3551;45;3;203;;x +3552;87;6;76;;x +3553;129;9;204;;x +3554;171;12;77;;x +3555;3;15;205;;x +3556;45;18;78;;x +3557;87;21;206;;x +3558;129;24;79;;x +3559;171;27;207;;x +3560;3;30;80;;x +3561;45;33;208;;x +3562;87;36;81;;x +3563;129;39;209;;x +3564;171;42;82;;x +3565;3;45;210;;x +3566;45;48;83;;x +3567;87;51;211;;x +3568;129;54;84;;x +3569;171;57;212;;x +3570;3;60;85;;x +3571;45;63;213;;x +3572;87;66;86;;x +3573;129;69;214;;x +3574;171;72;87;;x +3575;3;75;215;;x +3576;45;78;88;;x +3577;87;81;216;;x +3578;129;84;89;;x +3579;171;87;217;;x +3580;3;90;90;;x +3581;45;93;218;;x +3582;87;96;91;;x +3583;129;99;219;;x +3584;171;102;92;;x +3585;3;105;220;;x +3586;45;108;93;;x +3587;87;111;221;;x +3588;129;114;94;;x +3589;171;117;222;;x +3590;3;120;95;;x +3591;45;123;223;;x +3592;87;126;96;;x +3593;129;129;224;;x +3594;171;132;97;;x +3595;3;135;225;;x +3596;45;138;98;;x +3597;87;141;226;;x +3598;129;144;99;;x +3599;171;147;227;;x +3600;3;150;0;;x +3601;45;153;128;;x +3602;87;156;1;;x +3603;129;159;129;;x +3604;171;162;2;;x +3605;3;165;130;;x +3606;45;168;3;;x +3607;87;171;131;;x +3608;129;174;4;;x +3609;171;177;132;;x +3610;3;180;5;;x +3611;45;183;133;;x +3612;87;186;6;;x +3613;129;189;134;;x +3614;171;192;7;;x +3615;3;195;135;;x +3616;45;198;8;;x +3617;87;201;136;;x +3618;129;204;9;;x +3619;171;207;137;;x +3620;3;210;10;;x +3621;45;0;138;;x +3622;87;3;11;;x +3623;129;6;139;;x +3624;171;9;12;;x +3625;3;12;140;;x +3626;45;15;13;;x +3627;87;18;141;;x +3628;129;21;14;;x +3629;171;24;142;;x +3630;3;27;15;;x +3631;45;30;143;;x +3632;87;33;16;;x +3633;129;36;144;;x +3634;171;39;17;;x +3635;3;42;145;;x +3636;45;45;18;;x +3637;87;48;146;;x +3638;129;51;19;;x +3639;171;54;147;;x +3640;3;57;20;;x +3641;45;60;148;;x +3642;87;63;21;;x +3643;129;66;149;;x +3644;171;69;22;;x +3645;3;72;150;;x +3646;45;75;23;;x +3647;87;78;151;;x +3648;129;81;24;;x +3649;171;84;152;;x +3650;3;87;25;;x +3651;45;90;153;;x +3652;87;93;26;;x +3653;129;96;154;;x +3654;171;99;27;;x +3655;3;102;155;;x +3656;45;105;28;;x +3657;87;108;156;;x +3658;129;111;29;;x +3659;171;114;157;;x +3660;3;117;30;;x +3661;45;120;158;;x +3662;87;123;31;;x +3663;129;126;159;;x +3664;171;129;32;;x +3665;3;132;160;;x +3666;45;135;33;;x +3667;87;138;161;;x +3668;129;141;34;;x +3669;171;144;162;;x +3670;3;147;35;;x +3671;45;150;163;;x +3672;87;153;36;;x +3673;129;156;164;;x +3674;171;159;37;;x +3675;3;162;165;;x +3676;45;165;38;;x +3677;87;168;166;;x +3678;129;171;39;;x +3679;171;174;167;;x +3680;3;177;40;;x +3681;45;180;168;;x +3682;87;183;41;;x +3683;129;186;169;;x +3684;171;189;42;;x +3685;3;192;170;;x +3686;45;195;43;;x +3687;87;198;171;;x +3688;129;201;44;;x +3689;171;204;172;;x +3690;3;207;45;;x +3691;45;210;173;;x +3692;87;0;46;;x +3693;129;3;174;;x +3694;171;6;47;;x +3695;3;9;175;;x +3696;45;12;48;;x +3697;87;15;176;;x +3698;129;18;49;;x +3699;171;21;177;;x +3700;3;24;50;;x +3701;45;27;178;;x +3702;87;30;51;;x +3703;129;33;179;;x +3704;171;36;52;;x +3705;3;39;180;;x +3706;45;42;53;;x +3707;87;45;181;;x +3708;129;48;54;;x +3709;171;51;182;;x +3710;3;54;55;;x +3711;45;57;183;;x +3712;87;60;56;;x +3713;129;63;184;;x +3714;171;66;57;;x +3715;3;69;185;;x +3716;45;72;58;;x +3717;87;75;186;;x +3718;129;78;59;;x +3719;171;81;187;;x +3720;3;84;60;;x +3721;45;87;188;;x +3722;87;90;61;;x +3723;129;93;189;;x +3724;171;96;62;;x +3725;3;99;190;;x +3726;45;102;63;;x +3727;87;105;191;;x +3728;129;108;64;;x +3729;171;111;192;;x +3730;3;114;65;;x +3731;45;117;193;;x +3732;87;120;66;;x +3733;129;123;194;;x +3734;171;126;67;;x +3735;3;129;195;;x +3736;45;132;68;;x +3737;87;135;196;;x +3738;129;138;69;;x +3739;171;141;197;;x +3740;3;144;70;;x +3741;45;147;198;;x +3742;87;150;71;;x +3743;129;153;199;;x +3744;171;156;72;;x +3745;3;159;200;;x +3746;45;162;73;;x +3747;87;165;201;;x +3748;129;168;74;;x +3749;171;171;202;;x +3750;3;174;75;;x +3751;45;177;203;;x +3752;87;180;76;;x +3753;129;183;204;;x +3754;171;186;77;;x +3755;3;189;205;;x +3756;45;192;78;;x +3757;87;195;206;;x +3758;129;198;79;;x +3759;171;201;207;;x +3760;3;204;80;;x +3761;45;207;208;;x +3762;87;210;81;;x +3763;129;0;209;;x +3764;171;3;82;;x +3765;3;6;210;;x +3766;45;9;83;;x +3767;87;12;211;;x +3768;129;15;84;;x +3769;171;18;212;;x +3770;3;21;85;;x +3771;45;24;213;;x +3772;87;27;86;;x +3773;129;30;214;;x +3774;171;33;87;;x +3775;3;36;215;;x +3776;45;39;88;;x +3777;87;42;216;;x +3778;129;45;89;;x +3779;171;48;217;;x +3780;3;51;90;;x +3781;45;54;218;;x +3782;87;57;91;;x +3783;129;60;219;;x +3784;171;63;92;;x +3785;3;66;220;;x +3786;45;69;93;;x +3787;87;72;221;;x +3788;129;75;94;;x +3789;171;78;222;;x +3790;3;81;95;;x +3791;45;84;223;;x +3792;87;87;96;;x +3793;129;90;224;;x +3794;171;93;97;;x +3795;3;96;225;;x +3796;45;99;98;;x +3797;87;102;226;;x +3798;129;105;99;;x +3799;171;108;227;;x +3800;3;111;0;;x +3801;45;114;128;;x +3802;87;117;1;;x +3803;129;120;129;;x +3804;171;123;2;;x +3805;3;126;130;;x +3806;45;129;3;;x +3807;87;132;131;;x +3808;129;135;4;;x +3809;171;138;132;;x +3810;3;141;5;;x +3811;45;144;133;;x +3812;87;147;6;;x +3813;129;150;134;;x +3814;171;153;7;;x +3815;3;156;135;;x +3816;45;159;8;;x +3817;87;162;136;;x +3818;129;165;9;;x +3819;171;168;137;;x +3820;3;171;10;;x +3821;45;174;138;;x +3822;87;177;11;;x +3823;129;180;139;;x +3824;171;183;12;;x +3825;3;186;140;;x +3826;45;189;13;;x +3827;87;192;141;;x +3828;129;195;14;;x +3829;171;198;142;;x +3830;3;201;15;;x +3831;45;204;143;;x +3832;87;207;16;;x +3833;129;210;144;;x +3834;171;0;17;;x +3835;3;3;145;;x +3836;45;6;18;;x +3837;87;9;146;;x +3838;129;12;19;;x +3839;171;15;147;;x +3840;3;18;20;;x +3841;45;21;148;;x +3842;87;24;21;;x +3843;129;27;149;;x +3844;171;30;22;;x +3845;3;33;150;;x +3846;45;36;23;;x +3847;87;39;151;;x +3848;129;42;24;;x +3849;171;45;152;;x +3850;3;48;25;;x +3851;45;51;153;;x +3852;87;54;26;;x +3853;129;57;154;;x +3854;171;60;27;;x +3855;3;63;155;;x +3856;45;66;28;;x +3857;87;69;156;;x +3858;129;72;29;;x +3859;171;75;157;;x +3860;3;78;30;;x +3861;45;81;158;;x +3862;87;84;31;;x +3863;129;87;159;;x +3864;171;90;32;;x +3865;3;93;160;;x +3866;45;96;33;;x +3867;87;99;161;;x +3868;129;102;34;;x +3869;171;105;162;;x +3870;3;108;35;;x +3871;45;111;163;;x +3872;87;114;36;;x +3873;129;117;164;;x +3874;171;120;37;;x +3875;3;123;165;;x +3876;45;126;38;;x +3877;87;129;166;;x +3878;129;132;39;;x +3879;171;135;167;;x +3880;3;138;40;;x +3881;45;141;168;;x +3882;87;144;41;;x +3883;129;147;169;;x +3884;171;150;42;;x +3885;3;153;170;;x +3886;45;156;43;;x +3887;87;159;171;;x +3888;129;162;44;;x +3889;171;165;172;;x +3890;3;168;45;;x +3891;45;171;173;;x +3892;87;174;46;;x +3893;129;177;174;;x +3894;171;180;47;;x +3895;3;183;175;;x +3896;45;186;48;;x +3897;87;189;176;;x +3898;129;192;49;;x +3899;171;195;177;;x +3900;3;198;50;;x +3901;45;201;178;;x +3902;87;204;51;;x +3903;129;207;179;;x +3904;171;210;52;;x +3905;3;0;180;;x +3906;45;3;53;;x +3907;87;6;181;;x +3908;129;9;54;;x +3909;171;12;182;;x +3910;3;15;55;;x +3911;45;18;183;;x +3912;87;21;56;;x +3913;129;24;184;;x +3914;171;27;57;;x +3915;3;30;185;;x +3916;45;33;58;;x +3917;87;36;186;;x +3918;129;39;59;;x +3919;171;42;187;;x +3920;3;45;60;;x +3921;45;48;188;;x +3922;87;51;61;;x +3923;129;54;189;;x +3924;171;57;62;;x +3925;3;60;190;;x +3926;45;63;63;;x +3927;87;66;191;;x +3928;129;69;64;;x +3929;171;72;192;;x +3930;3;75;65;;x +3931;45;78;193;;x +3932;87;81;66;;x +3933;129;84;194;;x +3934;171;87;67;;x +3935;3;90;195;;x +3936;45;93;68;;x +3937;87;96;196;;x +3938;129;99;69;;x +3939;171;102;197;;x +3940;3;105;70;;x +3941;45;108;198;;x +3942;87;111;71;;x +3943;129;114;199;;x +3944;171;117;72;;x +3945;3;120;200;;x +3946;45;123;73;;x +3947;87;126;201;;x +3948;129;129;74;;x +3949;171;132;202;;x +3950;3;135;75;;x +3951;45;138;203;;x +3952;87;141;76;;x +3953;129;144;204;;x +3954;171;147;77;;x +3955;3;150;205;;x +3956;45;153;78;;x +3957;87;156;206;;x +3958;129;159;79;;x +3959;171;162;207;;x +3960;3;165;80;;x +3961;45;168;208;;x +3962;87;171;81;;x +3963;129;174;209;;x +3964;171;177;82;;x +3965;3;180;210;;x +3966;45;183;83;;x +3967;87;186;211;;x +3968;129;189;84;;x +3969;171;192;212;;x +3970;3;195;85;;x +3971;45;198;213;;x +3972;87;201;86;;x +3973;129;204;214;;x +3974;171;207;87;;x +3975;3;210;215;;x +3976;45;0;88;;x +3977;87;3;216;;x +3978;129;6;89;;x +3979;171;9;217;;x +3980;3;12;90;;x +3981;45;15;218;;x +3982;87;18;91;;x +3983;129;21;219;;x +3984;171;24;92;;x +3985;3;27;220;;x +3986;45;30;93;;x +3987;87;33;221;;x +3988;129;36;94;;x +3989;171;39;222;;x +3990;3;42;95;;x +3991;45;45;223;;x +3992;87;48;96;;x +3993;129;51;224;;x +3994;171;54;97;;x +3995;3;57;225;;x +3996;45;60;98;;x +3997;87;63;226;;x +3998;129;66;99;;x +3999;171;69;227;;x +4000;4;72;0;;x +4001;46;75;128;;x +4002;88;78;1;;x +4003;130;81;129;;x +4004;172;84;2;;x +4005;4;87;130;;x +4006;46;90;3;;x +4007;88;93;131;;x +4008;130;96;4;;x +4009;172;99;132;;x +4010;4;102;5;;x +4011;46;105;133;;x +4012;88;108;6;;x +4013;130;111;134;;x +4014;172;114;7;;x +4015;4;117;135;;x +4016;46;120;8;;x +4017;88;123;136;;x +4018;130;126;9;;x +4019;172;129;137;;x +4020;4;132;10;;x +4021;46;135;138;;x +4022;88;138;11;;x +4023;130;141;139;;x +4024;172;144;12;;x +4025;4;147;140;;x +4026;46;150;13;;x +4027;88;153;141;;x +4028;130;156;14;;x +4029;172;159;142;;x +4030;4;162;15;;x +4031;46;165;143;;x +4032;88;168;16;;x +4033;130;171;144;;x +4034;172;174;17;;x +4035;4;177;145;;x +4036;46;180;18;;x +4037;88;183;146;;x +4038;130;186;19;;x +4039;172;189;147;;x +4040;4;192;20;;x +4041;46;195;148;;x +4042;88;198;21;;x +4043;130;201;149;;x +4044;172;204;22;;x +4045;4;207;150;;x +4046;46;210;23;;x +4047;88;0;151;;x +4048;130;3;24;;x +4049;172;6;152;;x +4050;4;9;25;;x +4051;46;12;153;;x +4052;88;15;26;;x +4053;130;18;154;;x +4054;172;21;27;;x +4055;4;24;155;;x +4056;46;27;28;;x +4057;88;30;156;;x +4058;130;33;29;;x +4059;172;36;157;;x +4060;4;39;30;;x +4061;46;42;158;;x +4062;88;45;31;;x +4063;130;48;159;;x +4064;172;51;32;;x +4065;4;54;160;;x +4066;46;57;33;;x +4067;88;60;161;;x +4068;130;63;34;;x +4069;172;66;162;;x +4070;4;69;35;;x +4071;46;72;163;;x +4072;88;75;36;;x +4073;130;78;164;;x +4074;172;81;37;;x +4075;4;84;165;;x +4076;46;87;38;;x +4077;88;90;166;;x +4078;130;93;39;;x +4079;172;96;167;;x +4080;4;99;40;;x +4081;46;102;168;;x +4082;88;105;41;;x +4083;130;108;169;;x +4084;172;111;42;;x +4085;4;114;170;;x +4086;46;117;43;;x +4087;88;120;171;;x +4088;130;123;44;;x +4089;172;126;172;;x +4090;4;129;45;;x +4091;46;132;173;;x +4092;88;135;46;;x +4093;130;138;174;;x +4094;172;141;47;;x +4095;4;144;175;;x +4096;46;147;48;;x +4097;88;150;176;;x +4098;130;153;49;;x +4099;172;156;177;;x +4100;4;159;50;;x +4101;46;162;178;;x +4102;88;165;51;;x +4103;130;168;179;;x +4104;172;171;52;;x +4105;4;174;180;;x +4106;46;177;53;;x +4107;88;180;181;;x +4108;130;183;54;;x +4109;172;186;182;;x +4110;4;189;55;;x +4111;46;192;183;;x +4112;88;195;56;;x +4113;130;198;184;;x +4114;172;201;57;;x +4115;4;204;185;;x +4116;46;207;58;;x +4117;88;210;186;;x +4118;130;0;59;;x +4119;172;3;187;;x +4120;4;6;60;;x +4121;46;9;188;;x +4122;88;12;61;;x +4123;130;15;189;;x +4124;172;18;62;;x +4125;4;21;190;;x +4126;46;24;63;;x +4127;88;27;191;;x +4128;130;30;64;;x +4129;172;33;192;;x +4130;4;36;65;;x +4131;46;39;193;;x +4132;88;42;66;;x +4133;130;45;194;;x +4134;172;48;67;;x +4135;4;51;195;;x +4136;46;54;68;;x +4137;88;57;196;;x +4138;130;60;69;;x +4139;172;63;197;;x +4140;4;66;70;;x +4141;46;69;198;;x +4142;88;72;71;;x +4143;130;75;199;;x +4144;172;78;72;;x +4145;4;81;200;;x +4146;46;84;73;;x +4147;88;87;201;;x +4148;130;90;74;;x +4149;172;93;202;;x +4150;4;96;75;;x +4151;46;99;203;;x +4152;88;102;76;;x +4153;130;105;204;;x +4154;172;108;77;;x +4155;4;111;205;;x +4156;46;114;78;;x +4157;88;117;206;;x +4158;130;120;79;;x +4159;172;123;207;;x +4160;4;126;80;;x +4161;46;129;208;;x +4162;88;132;81;;x +4163;130;135;209;;x +4164;172;138;82;;x +4165;4;141;210;;x +4166;46;144;83;;x +4167;88;147;211;;x +4168;130;150;84;;x +4169;172;153;212;;x +4170;4;156;85;;x +4171;46;159;213;;x +4172;88;162;86;;x +4173;130;165;214;;x +4174;172;168;87;;x +4175;4;171;215;;x +4176;46;174;88;;x +4177;88;177;216;;x +4178;130;180;89;;x +4179;172;183;217;;x +4180;4;186;90;;x +4181;46;189;218;;x +4182;88;192;91;;x +4183;130;195;219;;x +4184;172;198;92;;x +4185;4;201;220;;x +4186;46;204;93;;x +4187;88;207;221;;x +4188;130;210;94;;x +4189;172;0;222;;x +4190;4;3;95;;x +4191;46;6;223;;x +4192;88;9;96;;x +4193;130;12;224;;x +4194;172;15;97;;x +4195;4;18;225;;x +4196;46;21;98;;x +4197;88;24;226;;x +4198;130;27;99;;x +4199;172;30;227;;x +4200;4;33;0;;x +4201;46;36;128;;x +4202;88;39;1;;x +4203;130;42;129;;x +4204;172;45;2;;x +4205;4;48;130;;x +4206;46;51;3;;x +4207;88;54;131;;x +4208;130;57;4;;x +4209;172;60;132;;x +4210;4;63;5;;x +4211;46;66;133;;x +4212;88;69;6;;x +4213;130;72;134;;x +4214;172;75;7;;x +4215;4;78;135;;x +4216;46;81;8;;x +4217;88;84;136;;x +4218;130;87;9;;x +4219;172;90;137;;x +4220;4;93;10;;x +4221;46;96;138;;x +4222;88;99;11;;x +4223;130;102;139;;x +4224;172;105;12;;x +4225;4;108;140;;x +4226;46;111;13;;x +4227;88;114;141;;x +4228;130;117;14;;x +4229;172;120;142;;x +4230;4;123;15;;x +4231;46;126;143;;x +4232;88;129;16;;x +4233;130;132;144;;x +4234;172;135;17;;x +4235;4;138;145;;x +4236;46;141;18;;x +4237;88;144;146;;x +4238;130;147;19;;x +4239;172;150;147;;x +4240;4;153;20;;x +4241;46;156;148;;x +4242;88;159;21;;x +4243;130;162;149;;x +4244;172;165;22;;x +4245;4;168;150;;x +4246;46;171;23;;x +4247;88;174;151;;x +4248;130;177;24;;x +4249;172;180;152;;x +4250;4;183;25;;x +4251;46;186;153;;x +4252;88;189;26;;x +4253;130;192;154;;x +4254;172;195;27;;x +4255;4;198;155;;x +4256;46;201;28;;x +4257;88;204;156;;x +4258;130;207;29;;x +4259;172;210;157;;x +4260;4;0;30;;x +4261;46;3;158;;x +4262;88;6;31;;x +4263;130;9;159;;x +4264;172;12;32;;x +4265;4;15;160;;x +4266;46;18;33;;x +4267;88;21;161;;x +4268;130;24;34;;x +4269;172;27;162;;x +4270;4;30;35;;x +4271;46;33;163;;x +4272;88;36;36;;x +4273;130;39;164;;x +4274;172;42;37;;x +4275;4;45;165;;x +4276;46;48;38;;x +4277;88;51;166;;x +4278;130;54;39;;x +4279;172;57;167;;x +4280;4;60;40;;x +4281;46;63;168;;x +4282;88;66;41;;x +4283;130;69;169;;x +4284;172;72;42;;x +4285;4;75;170;;x +4286;46;78;43;;x +4287;88;81;171;;x +4288;130;84;44;;x +4289;172;87;172;;x +4290;4;90;45;;x +4291;46;93;173;;x +4292;88;96;46;;x +4293;130;99;174;;x +4294;172;102;47;;x +4295;4;105;175;;x +4296;46;108;48;;x +4297;88;111;176;;x +4298;130;114;49;;x +4299;172;117;177;;x +4300;4;120;50;;x +4301;46;123;178;;x +4302;88;126;51;;x +4303;130;129;179;;x +4304;172;132;52;;x +4305;4;135;180;;x +4306;46;138;53;;x +4307;88;141;181;;x +4308;130;144;54;;x +4309;172;147;182;;x +4310;4;150;55;;x +4311;46;153;183;;x +4312;88;156;56;;x +4313;130;159;184;;x +4314;172;162;57;;x +4315;4;165;185;;x +4316;46;168;58;;x +4317;88;171;186;;x +4318;130;174;59;;x +4319;172;177;187;;x +4320;4;180;60;;x +4321;46;183;188;;x +4322;88;186;61;;x +4323;130;189;189;;x +4324;172;192;62;;x +4325;4;195;190;;x +4326;46;198;63;;x +4327;88;201;191;;x +4328;130;204;64;;x +4329;172;207;192;;x +4330;4;210;65;;x +4331;46;0;193;;x +4332;88;3;66;;x +4333;130;6;194;;x +4334;172;9;67;;x +4335;4;12;195;;x +4336;46;15;68;;x +4337;88;18;196;;x +4338;130;21;69;;x +4339;172;24;197;;x +4340;4;27;70;;x +4341;46;30;198;;x +4342;88;33;71;;x +4343;130;36;199;;x +4344;172;39;72;;x +4345;4;42;200;;x +4346;46;45;73;;x +4347;88;48;201;;x +4348;130;51;74;;x +4349;172;54;202;;x +4350;4;57;75;;x +4351;46;60;203;;x +4352;88;63;76;;x +4353;130;66;204;;x +4354;172;69;77;;x +4355;4;72;205;;x +4356;46;75;78;;x +4357;88;78;206;;x +4358;130;81;79;;x +4359;172;84;207;;x +4360;4;87;80;;x +4361;46;90;208;;x +4362;88;93;81;;x +4363;130;96;209;;x +4364;172;99;82;;x +4365;4;102;210;;x +4366;46;105;83;;x +4367;88;108;211;;x +4368;130;111;84;;x +4369;172;114;212;;x +4370;4;117;85;;x +4371;46;120;213;;x +4372;88;123;86;;x +4373;130;126;214;;x +4374;172;129;87;;x +4375;4;132;215;;x +4376;46;135;88;;x +4377;88;138;216;;x +4378;130;141;89;;x +4379;172;144;217;;x +4380;4;147;90;;x +4381;46;150;218;;x +4382;88;153;91;;x +4383;130;156;219;;x +4384;172;159;92;;x +4385;4;162;220;;x +4386;46;165;93;;x +4387;88;168;221;;x +4388;130;171;94;;x +4389;172;174;222;;x +4390;4;177;95;;x +4391;46;180;223;;x +4392;88;183;96;;x +4393;130;186;224;;x +4394;172;189;97;;x +4395;4;192;225;;x +4396;46;195;98;;x +4397;88;198;226;;x +4398;130;201;99;;x +4399;172;204;227;;x +4400;4;207;0;;x +4401;46;210;128;;x +4402;88;0;1;;x +4403;130;3;129;;x +4404;172;6;2;;x +4405;4;9;130;;x +4406;46;12;3;;x +4407;88;15;131;;x +4408;130;18;4;;x +4409;172;21;132;;x +4410;4;24;5;;x +4411;46;27;133;;x +4412;88;30;6;;x +4413;130;33;134;;x +4414;172;36;7;;x +4415;4;39;135;;x +4416;46;42;8;;x +4417;88;45;136;;x +4418;130;48;9;;x +4419;172;51;137;;x +4420;4;54;10;;x +4421;46;57;138;;x +4422;88;60;11;;x +4423;130;63;139;;x +4424;172;66;12;;x +4425;4;69;140;;x +4426;46;72;13;;x +4427;88;75;141;;x +4428;130;78;14;;x +4429;172;81;142;;x +4430;4;84;15;;x +4431;46;87;143;;x +4432;88;90;16;;x +4433;130;93;144;;x +4434;172;96;17;;x +4435;4;99;145;;x +4436;46;102;18;;x +4437;88;105;146;;x +4438;130;108;19;;x +4439;172;111;147;;x +4440;4;114;20;;x +4441;46;117;148;;x +4442;88;120;21;;x +4443;130;123;149;;x +4444;172;126;22;;x +4445;4;129;150;;x +4446;46;132;23;;x +4447;88;135;151;;x +4448;130;138;24;;x +4449;172;141;152;;x +4450;4;144;25;;x +4451;46;147;153;;x +4452;88;150;26;;x +4453;130;153;154;;x +4454;172;156;27;;x +4455;4;159;155;;x +4456;46;162;28;;x +4457;88;165;156;;x +4458;130;168;29;;x +4459;172;171;157;;x +4460;4;174;30;;x +4461;46;177;158;;x +4462;88;180;31;;x +4463;130;183;159;;x +4464;172;186;32;;x +4465;4;189;160;;x +4466;46;192;33;;x +4467;88;195;161;;x +4468;130;198;34;;x +4469;172;201;162;;x +4470;4;204;35;;x +4471;46;207;163;;x +4472;88;210;36;;x +4473;130;0;164;;x +4474;172;3;37;;x +4475;4;6;165;;x +4476;46;9;38;;x +4477;88;12;166;;x +4478;130;15;39;;x +4479;172;18;167;;x +4480;4;21;40;;x +4481;46;24;168;;x +4482;88;27;41;;x +4483;130;30;169;;x +4484;172;33;42;;x +4485;4;36;170;;x +4486;46;39;43;;x +4487;88;42;171;;x +4488;130;45;44;;x +4489;172;48;172;;x +4490;4;51;45;;x +4491;46;54;173;;x +4492;88;57;46;;x +4493;130;60;174;;x +4494;172;63;47;;x +4495;4;66;175;;x +4496;46;69;48;;x +4497;88;72;176;;x +4498;130;75;49;;x +4499;172;78;177;;x +4500;4;81;50;;x +4501;46;84;178;;x +4502;88;87;51;;x +4503;130;90;179;;x +4504;172;93;52;;x +4505;4;96;180;;x +4506;46;99;53;;x +4507;88;102;181;;x +4508;130;105;54;;x +4509;172;108;182;;x +4510;4;111;55;;x +4511;46;114;183;;x +4512;88;117;56;;x +4513;130;120;184;;x +4514;172;123;57;;x +4515;4;126;185;;x +4516;46;129;58;;x +4517;88;132;186;;x +4518;130;135;59;;x +4519;172;138;187;;x +4520;4;141;60;;x +4521;46;144;188;;x +4522;88;147;61;;x +4523;130;150;189;;x +4524;172;153;62;;x +4525;4;156;190;;x +4526;46;159;63;;x +4527;88;162;191;;x +4528;130;165;64;;x +4529;172;168;192;;x +4530;4;171;65;;x +4531;46;174;193;;x +4532;88;177;66;;x +4533;130;180;194;;x +4534;172;183;67;;x +4535;4;186;195;;x +4536;46;189;68;;x +4537;88;192;196;;x +4538;130;195;69;;x +4539;172;198;197;;x +4540;4;201;70;;x +4541;46;204;198;;x +4542;88;207;71;;x +4543;130;210;199;;x +4544;172;0;72;;x +4545;4;3;200;;x +4546;46;6;73;;x +4547;88;9;201;;x +4548;130;12;74;;x +4549;172;15;202;;x +4550;4;18;75;;x +4551;46;21;203;;x +4552;88;24;76;;x +4553;130;27;204;;x +4554;172;30;77;;x +4555;4;33;205;;x +4556;46;36;78;;x +4557;88;39;206;;x +4558;130;42;79;;x +4559;172;45;207;;x +4560;4;48;80;;x +4561;46;51;208;;x +4562;88;54;81;;x +4563;130;57;209;;x +4564;172;60;82;;x +4565;4;63;210;;x +4566;46;66;83;;x +4567;88;69;211;;x +4568;130;72;84;;x +4569;172;75;212;;x +4570;4;78;85;;x +4571;46;81;213;;x +4572;88;84;86;;x +4573;130;87;214;;x +4574;172;90;87;;x +4575;4;93;215;;x +4576;46;96;88;;x +4577;88;99;216;;x +4578;130;102;89;;x +4579;172;105;217;;x +4580;4;108;90;;x +4581;46;111;218;;x +4582;88;114;91;;x +4583;130;117;219;;x +4584;172;120;92;;x +4585;4;123;220;;x +4586;46;126;93;;x +4587;88;129;221;;x +4588;130;132;94;;x +4589;172;135;222;;x +4590;4;138;95;;x +4591;46;141;223;;x +4592;88;144;96;;x +4593;130;147;224;;x +4594;172;150;97;;x +4595;4;153;225;;x +4596;46;156;98;;x +4597;88;159;226;;x +4598;130;162;99;;x +4599;172;165;227;;x +4600;4;168;0;;x +4601;46;171;128;;x +4602;88;174;1;;x +4603;130;177;129;;x +4604;172;180;2;;x +4605;4;183;130;;x +4606;46;186;3;;x +4607;88;189;131;;x +4608;130;192;4;;x +4609;172;195;132;;x +4610;4;198;5;;x +4611;46;201;133;;x +4612;88;204;6;;x +4613;130;207;134;;x +4614;172;210;7;;x +4615;4;0;135;;x +4616;46;3;8;;x +4617;88;6;136;;x +4618;130;9;9;;x +4619;172;12;137;;x +4620;4;15;10;;x +4621;46;18;138;;x +4622;88;21;11;;x +4623;130;24;139;;x +4624;172;27;12;;x +4625;4;30;140;;x +4626;46;33;13;;x +4627;88;36;141;;x +4628;130;39;14;;x +4629;172;42;142;;x +4630;4;45;15;;x +4631;46;48;143;;x +4632;88;51;16;;x +4633;130;54;144;;x +4634;172;57;17;;x +4635;4;60;145;;x +4636;46;63;18;;x +4637;88;66;146;;x +4638;130;69;19;;x +4639;172;72;147;;x +4640;4;75;20;;x +4641;46;78;148;;x +4642;88;81;21;;x +4643;130;84;149;;x +4644;172;87;22;;x +4645;4;90;150;;x +4646;46;93;23;;x +4647;88;96;151;;x +4648;130;99;24;;x +4649;172;102;152;;x +4650;4;105;25;;x +4651;46;108;153;;x +4652;88;111;26;;x +4653;130;114;154;;x +4654;172;117;27;;x +4655;4;120;155;;x +4656;46;123;28;;x +4657;88;126;156;;x +4658;130;129;29;;x +4659;172;132;157;;x +4660;4;135;30;;x +4661;46;138;158;;x +4662;88;141;31;;x +4663;130;144;159;;x +4664;172;147;32;;x +4665;4;150;160;;x +4666;46;153;33;;x +4667;88;156;161;;x +4668;130;159;34;;x +4669;172;162;162;;x +4670;4;165;35;;x +4671;46;168;163;;x +4672;88;171;36;;x +4673;130;174;164;;x +4674;172;177;37;;x +4675;4;180;165;;x +4676;46;183;38;;x +4677;88;186;166;;x +4678;130;189;39;;x +4679;172;192;167;;x +4680;4;195;40;;x +4681;46;198;168;;x +4682;88;201;41;;x +4683;130;204;169;;x +4684;172;207;42;;x +4685;4;210;170;;x +4686;46;0;43;;x +4687;88;3;171;;x +4688;130;6;44;;x +4689;172;9;172;;x +4690;4;12;45;;x +4691;46;15;173;;x +4692;88;18;46;;x +4693;130;21;174;;x +4694;172;24;47;;x +4695;4;27;175;;x +4696;46;30;48;;x +4697;88;33;176;;x +4698;130;36;49;;x +4699;172;39;177;;x +4700;4;42;50;;x +4701;46;45;178;;x +4702;88;48;51;;x +4703;130;51;179;;x +4704;172;54;52;;x +4705;4;57;180;;x +4706;46;60;53;;x +4707;88;63;181;;x +4708;130;66;54;;x +4709;172;69;182;;x +4710;4;72;55;;x +4711;46;75;183;;x +4712;88;78;56;;x +4713;130;81;184;;x +4714;172;84;57;;x +4715;4;87;185;;x +4716;46;90;58;;x +4717;88;93;186;;x +4718;130;96;59;;x +4719;172;99;187;;x +4720;4;102;60;;x +4721;46;105;188;;x +4722;88;108;61;;x +4723;130;111;189;;x +4724;172;114;62;;x +4725;4;117;190;;x +4726;46;120;63;;x +4727;88;123;191;;x +4728;130;126;64;;x +4729;172;129;192;;x +4730;4;132;65;;x +4731;46;135;193;;x +4732;88;138;66;;x +4733;130;141;194;;x +4734;172;144;67;;x +4735;4;147;195;;x +4736;46;150;68;;x +4737;88;153;196;;x +4738;130;156;69;;x +4739;172;159;197;;x +4740;4;162;70;;x +4741;46;165;198;;x +4742;88;168;71;;x +4743;130;171;199;;x +4744;172;174;72;;x +4745;4;177;200;;x +4746;46;180;73;;x +4747;88;183;201;;x +4748;130;186;74;;x +4749;172;189;202;;x +4750;4;192;75;;x +4751;46;195;203;;x +4752;88;198;76;;x +4753;130;201;204;;x +4754;172;204;77;;x +4755;4;207;205;;x +4756;46;210;78;;x +4757;88;0;206;;x +4758;130;3;79;;x +4759;172;6;207;;x +4760;4;9;80;;x +4761;46;12;208;;x +4762;88;15;81;;x +4763;130;18;209;;x +4764;172;21;82;;x +4765;4;24;210;;x +4766;46;27;83;;x +4767;88;30;211;;x +4768;130;33;84;;x +4769;172;36;212;;x +4770;4;39;85;;x +4771;46;42;213;;x +4772;88;45;86;;x +4773;130;48;214;;x +4774;172;51;87;;x +4775;4;54;215;;x +4776;46;57;88;;x +4777;88;60;216;;x +4778;130;63;89;;x +4779;172;66;217;;x +4780;4;69;90;;x +4781;46;72;218;;x +4782;88;75;91;;x +4783;130;78;219;;x +4784;172;81;92;;x +4785;4;84;220;;x +4786;46;87;93;;x +4787;88;90;221;;x +4788;130;93;94;;x +4789;172;96;222;;x +4790;4;99;95;;x +4791;46;102;223;;x +4792;88;105;96;;x +4793;130;108;224;;x +4794;172;111;97;;x +4795;4;114;225;;x +4796;46;117;98;;x +4797;88;120;226;;x +4798;130;123;99;;x +4799;172;126;227;;x +4800;4;129;0;;x +4801;46;132;128;;x +4802;88;135;1;;x +4803;130;138;129;;x +4804;172;141;2;;x +4805;4;144;130;;x +4806;46;147;3;;x +4807;88;150;131;;x +4808;130;153;4;;x +4809;172;156;132;;x +4810;4;159;5;;x +4811;46;162;133;;x +4812;88;165;6;;x +4813;130;168;134;;x +4814;172;171;7;;x +4815;4;174;135;;x +4816;46;177;8;;x +4817;88;180;136;;x +4818;130;183;9;;x +4819;172;186;137;;x +4820;4;189;10;;x +4821;46;192;138;;x +4822;88;195;11;;x +4823;130;198;139;;x +4824;172;201;12;;x +4825;4;204;140;;x +4826;46;207;13;;x +4827;88;210;141;;x +4828;130;0;14;;x +4829;172;3;142;;x +4830;4;6;15;;x +4831;46;9;143;;x +4832;88;12;16;;x +4833;130;15;144;;x +4834;172;18;17;;x +4835;4;21;145;;x +4836;46;24;18;;x +4837;88;27;146;;x +4838;130;30;19;;x +4839;172;33;147;;x +4840;4;36;20;;x +4841;46;39;148;;x +4842;88;42;21;;x +4843;130;45;149;;x +4844;172;48;22;;x +4845;4;51;150;;x +4846;46;54;23;;x +4847;88;57;151;;x +4848;130;60;24;;x +4849;172;63;152;;x +4850;4;66;25;;x +4851;46;69;153;;x +4852;88;72;26;;x +4853;130;75;154;;x +4854;172;78;27;;x +4855;4;81;155;;x +4856;46;84;28;;x +4857;88;87;156;;x +4858;130;90;29;;x +4859;172;93;157;;x +4860;4;96;30;;x +4861;46;99;158;;x +4862;88;102;31;;x +4863;130;105;159;;x +4864;172;108;32;;x +4865;4;111;160;;x +4866;46;114;33;;x +4867;88;117;161;;x +4868;130;120;34;;x +4869;172;123;162;;x +4870;4;126;35;;x +4871;46;129;163;;x +4872;88;132;36;;x +4873;130;135;164;;x +4874;172;138;37;;x +4875;4;141;165;;x +4876;46;144;38;;x +4877;88;147;166;;x +4878;130;150;39;;x +4879;172;153;167;;x +4880;4;156;40;;x +4881;46;159;168;;x +4882;88;162;41;;x +4883;130;165;169;;x +4884;172;168;42;;x +4885;4;171;170;;x +4886;46;174;43;;x +4887;88;177;171;;x +4888;130;180;44;;x +4889;172;183;172;;x +4890;4;186;45;;x +4891;46;189;173;;x +4892;88;192;46;;x +4893;130;195;174;;x +4894;172;198;47;;x +4895;4;201;175;;x +4896;46;204;48;;x +4897;88;207;176;;x +4898;130;210;49;;x +4899;172;0;177;;x +4900;4;3;50;;x +4901;46;6;178;;x +4902;88;9;51;;x +4903;130;12;179;;x +4904;172;15;52;;x +4905;4;18;180;;x +4906;46;21;53;;x +4907;88;24;181;;x +4908;130;27;54;;x +4909;172;30;182;;x +4910;4;33;55;;x +4911;46;36;183;;x +4912;88;39;56;;x +4913;130;42;184;;x +4914;172;45;57;;x +4915;4;48;185;;x +4916;46;51;58;;x +4917;88;54;186;;x +4918;130;57;59;;x +4919;172;60;187;;x +4920;4;63;60;;x +4921;46;66;188;;x +4922;88;69;61;;x +4923;130;72;189;;x +4924;172;75;62;;x +4925;4;78;190;;x +4926;46;81;63;;x +4927;88;84;191;;x +4928;130;87;64;;x +4929;172;90;192;;x +4930;4;93;65;;x +4931;46;96;193;;x +4932;88;99;66;;x +4933;130;102;194;;x +4934;172;105;67;;x +4935;4;108;195;;x +4936;46;111;68;;x +4937;88;114;196;;x +4938;130;117;69;;x +4939;172;120;197;;x +4940;4;123;70;;x +4941;46;126;198;;x +4942;88;129;71;;x +4943;130;132;199;;x +4944;172;135;72;;x +4945;4;138;200;;x +4946;46;141;73;;x +4947;88;144;201;;x +4948;130;147;74;;x +4949;172;150;202;;x +4950;4;153;75;;x +4951;46;156;203;;x +4952;88;159;76;;x +4953;130;162;204;;x +4954;172;165;77;;x +4955;4;168;205;;x +4956;46;171;78;;x +4957;88;174;206;;x +4958;130;177;79;;x +4959;172;180;207;;x +4960;4;183;80;;x +4961;46;186;208;;x +4962;88;189;81;;x +4963;130;192;209;;x +4964;172;195;82;;x +4965;4;198;210;;x +4966;46;201;83;;x +4967;88;204;211;;x +4968;130;207;84;;x +4969;172;210;212;;x +4970;4;0;85;;x +4971;46;3;213;;x +4972;88;6;86;;x +4973;130;9;214;;x +4974;172;12;87;;x +4975;4;15;215;;x +4976;46;18;88;;x +4977;88;21;216;;x +4978;130;24;89;;x +4979;172;27;217;;x +4980;4;30;90;;x +4981;46;33;218;;x +4982;88;36;91;;x +4983;130;39;219;;x +4984;172;42;92;;x +4985;4;45;220;;x +4986;46;48;93;;x +4987;88;51;221;;x +4988;130;54;94;;x +4989;172;57;222;;x +4990;4;60;95;;x +4991;46;63;223;;x +4992;88;66;96;;x +4993;130;69;224;;x +4994;172;72;97;;x +4995;4;75;225;;x +4996;46;78;98;;x +4997;88;81;226;;x +4998;130;84;99;;x +4999;172;87;227;;x +5000;5;90;0;;x +5001;47;93;128;;x +5002;89;96;1;;x +5003;131;99;129;;x +5004;173;102;2;;x +5005;5;105;130;;x +5006;47;108;3;;x +5007;89;111;131;;x +5008;131;114;4;;x +5009;173;117;132;;x +5010;5;120;5;;x +5011;47;123;133;;x +5012;89;126;6;;x +5013;131;129;134;;x +5014;173;132;7;;x +5015;5;135;135;;x +5016;47;138;8;;x +5017;89;141;136;;x +5018;131;144;9;;x +5019;173;147;137;;x +5020;5;150;10;;x +5021;47;153;138;;x +5022;89;156;11;;x +5023;131;159;139;;x +5024;173;162;12;;x +5025;5;165;140;;x +5026;47;168;13;;x +5027;89;171;141;;x +5028;131;174;14;;x +5029;173;177;142;;x +5030;5;180;15;;x +5031;47;183;143;;x +5032;89;186;16;;x +5033;131;189;144;;x +5034;173;192;17;;x +5035;5;195;145;;x +5036;47;198;18;;x +5037;89;201;146;;x +5038;131;204;19;;x +5039;173;207;147;;x +5040;5;210;20;;x +5041;47;0;148;;x +5042;89;3;21;;x +5043;131;6;149;;x +5044;173;9;22;;x +5045;5;12;150;;x +5046;47;15;23;;x +5047;89;18;151;;x +5048;131;21;24;;x +5049;173;24;152;;x +5050;5;27;25;;x +5051;47;30;153;;x +5052;89;33;26;;x +5053;131;36;154;;x +5054;173;39;27;;x +5055;5;42;155;;x +5056;47;45;28;;x +5057;89;48;156;;x +5058;131;51;29;;x +5059;173;54;157;;x +5060;5;57;30;;x +5061;47;60;158;;x +5062;89;63;31;;x +5063;131;66;159;;x +5064;173;69;32;;x +5065;5;72;160;;x +5066;47;75;33;;x +5067;89;78;161;;x +5068;131;81;34;;x +5069;173;84;162;;x +5070;5;87;35;;x +5071;47;90;163;;x +5072;89;93;36;;x +5073;131;96;164;;x +5074;173;99;37;;x +5075;5;102;165;;x +5076;47;105;38;;x +5077;89;108;166;;x +5078;131;111;39;;x +5079;173;114;167;;x +5080;5;117;40;;x +5081;47;120;168;;x +5082;89;123;41;;x +5083;131;126;169;;x +5084;173;129;42;;x +5085;5;132;170;;x +5086;47;135;43;;x +5087;89;138;171;;x +5088;131;141;44;;x +5089;173;144;172;;x +5090;5;147;45;;x +5091;47;150;173;;x +5092;89;153;46;;x +5093;131;156;174;;x +5094;173;159;47;;x +5095;5;162;175;;x +5096;47;165;48;;x +5097;89;168;176;;x +5098;131;171;49;;x +5099;173;174;177;;x +5100;5;177;50;;x +5101;47;180;178;;x +5102;89;183;51;;x +5103;131;186;179;;x +5104;173;189;52;;x +5105;5;192;180;;x +5106;47;195;53;;x +5107;89;198;181;;x +5108;131;201;54;;x +5109;173;204;182;;x +5110;5;207;55;;x +5111;47;210;183;;x +5112;89;0;56;;x +5113;131;3;184;;x +5114;173;6;57;;x +5115;5;9;185;;x +5116;47;12;58;;x +5117;89;15;186;;x +5118;131;18;59;;x +5119;173;21;187;;x +5120;5;24;60;;x +5121;47;27;188;;x +5122;89;30;61;;x +5123;131;33;189;;x +5124;173;36;62;;x +5125;5;39;190;;x +5126;47;42;63;;x +5127;89;45;191;;x +5128;131;48;64;;x +5129;173;51;192;;x +5130;5;54;65;;x +5131;47;57;193;;x +5132;89;60;66;;x +5133;131;63;194;;x +5134;173;66;67;;x +5135;5;69;195;;x +5136;47;72;68;;x +5137;89;75;196;;x +5138;131;78;69;;x +5139;173;81;197;;x +5140;5;84;70;;x +5141;47;87;198;;x +5142;89;90;71;;x +5143;131;93;199;;x +5144;173;96;72;;x +5145;5;99;200;;x +5146;47;102;73;;x +5147;89;105;201;;x +5148;131;108;74;;x +5149;173;111;202;;x +5150;5;114;75;;x +5151;47;117;203;;x +5152;89;120;76;;x +5153;131;123;204;;x +5154;173;126;77;;x +5155;5;129;205;;x +5156;47;132;78;;x +5157;89;135;206;;x +5158;131;138;79;;x +5159;173;141;207;;x +5160;5;144;80;;x +5161;47;147;208;;x +5162;89;150;81;;x +5163;131;153;209;;x +5164;173;156;82;;x +5165;5;159;210;;x +5166;47;162;83;;x +5167;89;165;211;;x +5168;131;168;84;;x +5169;173;171;212;;x +5170;5;174;85;;x +5171;47;177;213;;x +5172;89;180;86;;x +5173;131;183;214;;x +5174;173;186;87;;x +5175;5;189;215;;x +5176;47;192;88;;x +5177;89;195;216;;x +5178;131;198;89;;x +5179;173;201;217;;x +5180;5;204;90;;x +5181;47;207;218;;x +5182;89;210;91;;x +5183;131;0;219;;x +5184;173;3;92;;x +5185;5;6;220;;x +5186;47;9;93;;x +5187;89;12;221;;x +5188;131;15;94;;x +5189;173;18;222;;x +5190;5;21;95;;x +5191;47;24;223;;x +5192;89;27;96;;x +5193;131;30;224;;x +5194;173;33;97;;x +5195;5;36;225;;x +5196;47;39;98;;x +5197;89;42;226;;x +5198;131;45;99;;x +5199;173;48;227;;x +5200;5;51;0;;x +5201;47;54;128;;x +5202;89;57;1;;x +5203;131;60;129;;x +5204;173;63;2;;x +5205;5;66;130;;x +5206;47;69;3;;x +5207;89;72;131;;x +5208;131;75;4;;x +5209;173;78;132;;x +5210;5;81;5;;x +5211;47;84;133;;x +5212;89;87;6;;x +5213;131;90;134;;x +5214;173;93;7;;x +5215;5;96;135;;x +5216;47;99;8;;x +5217;89;102;136;;x +5218;131;105;9;;x +5219;173;108;137;;x +5220;5;111;10;;x +5221;47;114;138;;x +5222;89;117;11;;x +5223;131;120;139;;x +5224;173;123;12;;x +5225;5;126;140;;x +5226;47;129;13;;x +5227;89;132;141;;x +5228;131;135;14;;x +5229;173;138;142;;x +5230;5;141;15;;x +5231;47;144;143;;x +5232;89;147;16;;x +5233;131;150;144;;x +5234;173;153;17;;x +5235;5;156;145;;x +5236;47;159;18;;x +5237;89;162;146;;x +5238;131;165;19;;x +5239;173;168;147;;x +5240;5;171;20;;x +5241;47;174;148;;x +5242;89;177;21;;x +5243;131;180;149;;x +5244;173;183;22;;x +5245;5;186;150;;x +5246;47;189;23;;x +5247;89;192;151;;x +5248;131;195;24;;x +5249;173;198;152;;x +5250;5;201;25;;x +5251;47;204;153;;x +5252;89;207;26;;x +5253;131;210;154;;x +5254;173;0;27;;x +5255;5;3;155;;x +5256;47;6;28;;x +5257;89;9;156;;x +5258;131;12;29;;x +5259;173;15;157;;x +5260;5;18;30;;x +5261;47;21;158;;x +5262;89;24;31;;x +5263;131;27;159;;x +5264;173;30;32;;x +5265;5;33;160;;x +5266;47;36;33;;x +5267;89;39;161;;x +5268;131;42;34;;x +5269;173;45;162;;x +5270;5;48;35;;x +5271;47;51;163;;x +5272;89;54;36;;x +5273;131;57;164;;x +5274;173;60;37;;x +5275;5;63;165;;x +5276;47;66;38;;x +5277;89;69;166;;x +5278;131;72;39;;x +5279;173;75;167;;x +5280;5;78;40;;x +5281;47;81;168;;x +5282;89;84;41;;x +5283;131;87;169;;x +5284;173;90;42;;x +5285;5;93;170;;x +5286;47;96;43;;x +5287;89;99;171;;x +5288;131;102;44;;x +5289;173;105;172;;x +5290;5;108;45;;x +5291;47;111;173;;x +5292;89;114;46;;x +5293;131;117;174;;x +5294;173;120;47;;x +5295;5;123;175;;x +5296;47;126;48;;x +5297;89;129;176;;x +5298;131;132;49;;x +5299;173;135;177;;x +5300;5;138;50;;x +5301;47;141;178;;x +5302;89;144;51;;x +5303;131;147;179;;x +5304;173;150;52;;x +5305;5;153;180;;x +5306;47;156;53;;x +5307;89;159;181;;x +5308;131;162;54;;x +5309;173;165;182;;x +5310;5;168;55;;x +5311;47;171;183;;x +5312;89;174;56;;x +5313;131;177;184;;x +5314;173;180;57;;x +5315;5;183;185;;x +5316;47;186;58;;x +5317;89;189;186;;x +5318;131;192;59;;x +5319;173;195;187;;x +5320;5;198;60;;x +5321;47;201;188;;x +5322;89;204;61;;x +5323;131;207;189;;x +5324;173;210;62;;x +5325;5;0;190;;x +5326;47;3;63;;x +5327;89;6;191;;x +5328;131;9;64;;x +5329;173;12;192;;x +5330;5;15;65;;x +5331;47;18;193;;x +5332;89;21;66;;x +5333;131;24;194;;x +5334;173;27;67;;x +5335;5;30;195;;x +5336;47;33;68;;x +5337;89;36;196;;x +5338;131;39;69;;x +5339;173;42;197;;x +5340;5;45;70;;x +5341;47;48;198;;x +5342;89;51;71;;x +5343;131;54;199;;x +5344;173;57;72;;x +5345;5;60;200;;x +5346;47;63;73;;x +5347;89;66;201;;x +5348;131;69;74;;x +5349;173;72;202;;x +5350;5;75;75;;x +5351;47;78;203;;x +5352;89;81;76;;x +5353;131;84;204;;x +5354;173;87;77;;x +5355;5;90;205;;x +5356;47;93;78;;x +5357;89;96;206;;x +5358;131;99;79;;x +5359;173;102;207;;x +5360;5;105;80;;x +5361;47;108;208;;x +5362;89;111;81;;x +5363;131;114;209;;x +5364;173;117;82;;x +5365;5;120;210;;x +5366;47;123;83;;x +5367;89;126;211;;x +5368;131;129;84;;x +5369;173;132;212;;x +5370;5;135;85;;x +5371;47;138;213;;x +5372;89;141;86;;x +5373;131;144;214;;x +5374;173;147;87;;x +5375;5;150;215;;x +5376;47;153;88;;x +5377;89;156;216;;x +5378;131;159;89;;x +5379;173;162;217;;x +5380;5;165;90;;x +5381;47;168;218;;x +5382;89;171;91;;x +5383;131;174;219;;x +5384;173;177;92;;x +5385;5;180;220;;x +5386;47;183;93;;x +5387;89;186;221;;x +5388;131;189;94;;x +5389;173;192;222;;x +5390;5;195;95;;x +5391;47;198;223;;x +5392;89;201;96;;x +5393;131;204;224;;x +5394;173;207;97;;x +5395;5;210;225;;x +5396;47;0;98;;x +5397;89;3;226;;x +5398;131;6;99;;x +5399;173;9;227;;x +5400;5;12;0;;x +5401;47;15;128;;x +5402;89;18;1;;x +5403;131;21;129;;x +5404;173;24;2;;x +5405;5;27;130;;x +5406;47;30;3;;x +5407;89;33;131;;x +5408;131;36;4;;x +5409;173;39;132;;x +5410;5;42;5;;x +5411;47;45;133;;x +5412;89;48;6;;x +5413;131;51;134;;x +5414;173;54;7;;x +5415;5;57;135;;x +5416;47;60;8;;x +5417;89;63;136;;x +5418;131;66;9;;x +5419;173;69;137;;x +5420;5;72;10;;x +5421;47;75;138;;x +5422;89;78;11;;x +5423;131;81;139;;x +5424;173;84;12;;x +5425;5;87;140;;x +5426;47;90;13;;x +5427;89;93;141;;x +5428;131;96;14;;x +5429;173;99;142;;x +5430;5;102;15;;x +5431;47;105;143;;x +5432;89;108;16;;x +5433;131;111;144;;x +5434;173;114;17;;x +5435;5;117;145;;x +5436;47;120;18;;x +5437;89;123;146;;x +5438;131;126;19;;x +5439;173;129;147;;x +5440;5;132;20;;x +5441;47;135;148;;x +5442;89;138;21;;x +5443;131;141;149;;x +5444;173;144;22;;x +5445;5;147;150;;x +5446;47;150;23;;x +5447;89;153;151;;x +5448;131;156;24;;x +5449;173;159;152;;x +5450;5;162;25;;x +5451;47;165;153;;x +5452;89;168;26;;x +5453;131;171;154;;x +5454;173;174;27;;x +5455;5;177;155;;x +5456;47;180;28;;x +5457;89;183;156;;x +5458;131;186;29;;x +5459;173;189;157;;x +5460;5;192;30;;x +5461;47;195;158;;x +5462;89;198;31;;x +5463;131;201;159;;x +5464;173;204;32;;x +5465;5;207;160;;x +5466;47;210;33;;x +5467;89;0;161;;x +5468;131;3;34;;x +5469;173;6;162;;x +5470;5;9;35;;x +5471;47;12;163;;x +5472;89;15;36;;x +5473;131;18;164;;x +5474;173;21;37;;x +5475;5;24;165;;x +5476;47;27;38;;x +5477;89;30;166;;x +5478;131;33;39;;x +5479;173;36;167;;x +5480;5;39;40;;x +5481;47;42;168;;x +5482;89;45;41;;x +5483;131;48;169;;x +5484;173;51;42;;x +5485;5;54;170;;x +5486;47;57;43;;x +5487;89;60;171;;x +5488;131;63;44;;x +5489;173;66;172;;x +5490;5;69;45;;x +5491;47;72;173;;x +5492;89;75;46;;x +5493;131;78;174;;x +5494;173;81;47;;x +5495;5;84;175;;x +5496;47;87;48;;x +5497;89;90;176;;x +5498;131;93;49;;x +5499;173;96;177;;x +5500;5;99;50;;x +5501;47;102;178;;x +5502;89;105;51;;x +5503;131;108;179;;x +5504;173;111;52;;x +5505;5;114;180;;x +5506;47;117;53;;x +5507;89;120;181;;x +5508;131;123;54;;x +5509;173;126;182;;x +5510;5;129;55;;x +5511;47;132;183;;x +5512;89;135;56;;x +5513;131;138;184;;x +5514;173;141;57;;x +5515;5;144;185;;x +5516;47;147;58;;x +5517;89;150;186;;x +5518;131;153;59;;x +5519;173;156;187;;x +5520;5;159;60;;x +5521;47;162;188;;x +5522;89;165;61;;x +5523;131;168;189;;x +5524;173;171;62;;x +5525;5;174;190;;x +5526;47;177;63;;x +5527;89;180;191;;x +5528;131;183;64;;x +5529;173;186;192;;x +5530;5;189;65;;x +5531;47;192;193;;x +5532;89;195;66;;x +5533;131;198;194;;x +5534;173;201;67;;x +5535;5;204;195;;x +5536;47;207;68;;x +5537;89;210;196;;x +5538;131;0;69;;x +5539;173;3;197;;x +5540;5;6;70;;x +5541;47;9;198;;x +5542;89;12;71;;x +5543;131;15;199;;x +5544;173;18;72;;x +5545;5;21;200;;x +5546;47;24;73;;x +5547;89;27;201;;x +5548;131;30;74;;x +5549;173;33;202;;x +5550;5;36;75;;x +5551;47;39;203;;x +5552;89;42;76;;x +5553;131;45;204;;x +5554;173;48;77;;x +5555;5;51;205;;x +5556;47;54;78;;x +5557;89;57;206;;x +5558;131;60;79;;x +5559;173;63;207;;x +5560;5;66;80;;x +5561;47;69;208;;x +5562;89;72;81;;x +5563;131;75;209;;x +5564;173;78;82;;x +5565;5;81;210;;x +5566;47;84;83;;x +5567;89;87;211;;x +5568;131;90;84;;x +5569;173;93;212;;x +5570;5;96;85;;x +5571;47;99;213;;x +5572;89;102;86;;x +5573;131;105;214;;x +5574;173;108;87;;x +5575;5;111;215;;x +5576;47;114;88;;x +5577;89;117;216;;x +5578;131;120;89;;x +5579;173;123;217;;x +5580;5;126;90;;x +5581;47;129;218;;x +5582;89;132;91;;x +5583;131;135;219;;x +5584;173;138;92;;x +5585;5;141;220;;x +5586;47;144;93;;x +5587;89;147;221;;x +5588;131;150;94;;x +5589;173;153;222;;x +5590;5;156;95;;x +5591;47;159;223;;x +5592;89;162;96;;x +5593;131;165;224;;x +5594;173;168;97;;x +5595;5;171;225;;x +5596;47;174;98;;x +5597;89;177;226;;x +5598;131;180;99;;x +5599;173;183;227;;x +5600;5;186;0;;x +5601;47;189;128;;x +5602;89;192;1;;x +5603;131;195;129;;x +5604;173;198;2;;x +5605;5;201;130;;x +5606;47;204;3;;x +5607;89;207;131;;x +5608;131;210;4;;x +5609;173;0;132;;x +5610;5;3;5;;x +5611;47;6;133;;x +5612;89;9;6;;x +5613;131;12;134;;x +5614;173;15;7;;x +5615;5;18;135;;x +5616;47;21;8;;x +5617;89;24;136;;x +5618;131;27;9;;x +5619;173;30;137;;x +5620;5;33;10;;x +5621;47;36;138;;x +5622;89;39;11;;x +5623;131;42;139;;x +5624;173;45;12;;x +5625;5;48;140;;x +5626;47;51;13;;x +5627;89;54;141;;x +5628;131;57;14;;x +5629;173;60;142;;x +5630;5;63;15;;x +5631;47;66;143;;x +5632;89;69;16;;x +5633;131;72;144;;x +5634;173;75;17;;x +5635;5;78;145;;x +5636;47;81;18;;x +5637;89;84;146;;x +5638;131;87;19;;x +5639;173;90;147;;x +5640;5;93;20;;x +5641;47;96;148;;x +5642;89;99;21;;x +5643;131;102;149;;x +5644;173;105;22;;x +5645;5;108;150;;x +5646;47;111;23;;x +5647;89;114;151;;x +5648;131;117;24;;x +5649;173;120;152;;x +5650;5;123;25;;x +5651;47;126;153;;x +5652;89;129;26;;x +5653;131;132;154;;x +5654;173;135;27;;x +5655;5;138;155;;x +5656;47;141;28;;x +5657;89;144;156;;x +5658;131;147;29;;x +5659;173;150;157;;x +5660;5;153;30;;x +5661;47;156;158;;x +5662;89;159;31;;x +5663;131;162;159;;x +5664;173;165;32;;x +5665;5;168;160;;x +5666;47;171;33;;x +5667;89;174;161;;x +5668;131;177;34;;x +5669;173;180;162;;x +5670;5;183;35;;x +5671;47;186;163;;x +5672;89;189;36;;x +5673;131;192;164;;x +5674;173;195;37;;x +5675;5;198;165;;x +5676;47;201;38;;x +5677;89;204;166;;x +5678;131;207;39;;x +5679;173;210;167;;x +5680;5;0;40;;x +5681;47;3;168;;x +5682;89;6;41;;x +5683;131;9;169;;x +5684;173;12;42;;x +5685;5;15;170;;x +5686;47;18;43;;x +5687;89;21;171;;x +5688;131;24;44;;x +5689;173;27;172;;x +5690;5;30;45;;x +5691;47;33;173;;x +5692;89;36;46;;x +5693;131;39;174;;x +5694;173;42;47;;x +5695;5;45;175;;x +5696;47;48;48;;x +5697;89;51;176;;x +5698;131;54;49;;x +5699;173;57;177;;x +5700;5;60;50;;x +5701;47;63;178;;x +5702;89;66;51;;x +5703;131;69;179;;x +5704;173;72;52;;x +5705;5;75;180;;x +5706;47;78;53;;x +5707;89;81;181;;x +5708;131;84;54;;x +5709;173;87;182;;x +5710;5;90;55;;x +5711;47;93;183;;x +5712;89;96;56;;x +5713;131;99;184;;x +5714;173;102;57;;x +5715;5;105;185;;x +5716;47;108;58;;x +5717;89;111;186;;x +5718;131;114;59;;x +5719;173;117;187;;x +5720;5;120;60;;x +5721;47;123;188;;x +5722;89;126;61;;x +5723;131;129;189;;x +5724;173;132;62;;x +5725;5;135;190;;x +5726;47;138;63;;x +5727;89;141;191;;x +5728;131;144;64;;x +5729;173;147;192;;x +5730;5;150;65;;x +5731;47;153;193;;x +5732;89;156;66;;x +5733;131;159;194;;x +5734;173;162;67;;x +5735;5;165;195;;x +5736;47;168;68;;x +5737;89;171;196;;x +5738;131;174;69;;x +5739;173;177;197;;x +5740;5;180;70;;x +5741;47;183;198;;x +5742;89;186;71;;x +5743;131;189;199;;x +5744;173;192;72;;x +5745;5;195;200;;x +5746;47;198;73;;x +5747;89;201;201;;x +5748;131;204;74;;x +5749;173;207;202;;x +5750;5;210;75;;x +5751;47;0;203;;x +5752;89;3;76;;x +5753;131;6;204;;x +5754;173;9;77;;x +5755;5;12;205;;x +5756;47;15;78;;x +5757;89;18;206;;x +5758;131;21;79;;x +5759;173;24;207;;x +5760;5;27;80;;x +5761;47;30;208;;x +5762;89;33;81;;x +5763;131;36;209;;x +5764;173;39;82;;x +5765;5;42;210;;x +5766;47;45;83;;x +5767;89;48;211;;x +5768;131;51;84;;x +5769;173;54;212;;x +5770;5;57;85;;x +5771;47;60;213;;x +5772;89;63;86;;x +5773;131;66;214;;x +5774;173;69;87;;x +5775;5;72;215;;x +5776;47;75;88;;x +5777;89;78;216;;x +5778;131;81;89;;x +5779;173;84;217;;x +5780;5;87;90;;x +5781;47;90;218;;x +5782;89;93;91;;x +5783;131;96;219;;x +5784;173;99;92;;x +5785;5;102;220;;x +5786;47;105;93;;x +5787;89;108;221;;x +5788;131;111;94;;x +5789;173;114;222;;x +5790;5;117;95;;x +5791;47;120;223;;x +5792;89;123;96;;x +5793;131;126;224;;x +5794;173;129;97;;x +5795;5;132;225;;x +5796;47;135;98;;x +5797;89;138;226;;x +5798;131;141;99;;x +5799;173;144;227;;x +5800;5;147;0;;x +5801;47;150;128;;x +5802;89;153;1;;x +5803;131;156;129;;x +5804;173;159;2;;x +5805;5;162;130;;x +5806;47;165;3;;x +5807;89;168;131;;x +5808;131;171;4;;x +5809;173;174;132;;x +5810;5;177;5;;x +5811;47;180;133;;x +5812;89;183;6;;x +5813;131;186;134;;x +5814;173;189;7;;x +5815;5;192;135;;x +5816;47;195;8;;x +5817;89;198;136;;x +5818;131;201;9;;x +5819;173;204;137;;x +5820;5;207;10;;x +5821;47;210;138;;x +5822;89;0;11;;x +5823;131;3;139;;x +5824;173;6;12;;x +5825;5;9;140;;x +5826;47;12;13;;x +5827;89;15;141;;x +5828;131;18;14;;x +5829;173;21;142;;x +5830;5;24;15;;x +5831;47;27;143;;x +5832;89;30;16;;x +5833;131;33;144;;x +5834;173;36;17;;x +5835;5;39;145;;x +5836;47;42;18;;x +5837;89;45;146;;x +5838;131;48;19;;x +5839;173;51;147;;x +5840;5;54;20;;x +5841;47;57;148;;x +5842;89;60;21;;x +5843;131;63;149;;x +5844;173;66;22;;x +5845;5;69;150;;x +5846;47;72;23;;x +5847;89;75;151;;x +5848;131;78;24;;x +5849;173;81;152;;x +5850;5;84;25;;x +5851;47;87;153;;x +5852;89;90;26;;x +5853;131;93;154;;x +5854;173;96;27;;x +5855;5;99;155;;x +5856;47;102;28;;x +5857;89;105;156;;x +5858;131;108;29;;x +5859;173;111;157;;x +5860;5;114;30;;x +5861;47;117;158;;x +5862;89;120;31;;x +5863;131;123;159;;x +5864;173;126;32;;x +5865;5;129;160;;x +5866;47;132;33;;x +5867;89;135;161;;x +5868;131;138;34;;x +5869;173;141;162;;x +5870;5;144;35;;x +5871;47;147;163;;x +5872;89;150;36;;x +5873;131;153;164;;x +5874;173;156;37;;x +5875;5;159;165;;x +5876;47;162;38;;x +5877;89;165;166;;x +5878;131;168;39;;x +5879;173;171;167;;x +5880;5;174;40;;x +5881;47;177;168;;x +5882;89;180;41;;x +5883;131;183;169;;x +5884;173;186;42;;x +5885;5;189;170;;x +5886;47;192;43;;x +5887;89;195;171;;x +5888;131;198;44;;x +5889;173;201;172;;x +5890;5;204;45;;x +5891;47;207;173;;x +5892;89;210;46;;x +5893;131;0;174;;x +5894;173;3;47;;x +5895;5;6;175;;x +5896;47;9;48;;x +5897;89;12;176;;x +5898;131;15;49;;x +5899;173;18;177;;x +5900;5;21;50;;x +5901;47;24;178;;x +5902;89;27;51;;x +5903;131;30;179;;x +5904;173;33;52;;x +5905;5;36;180;;x +5906;47;39;53;;x +5907;89;42;181;;x +5908;131;45;54;;x +5909;173;48;182;;x +5910;5;51;55;;x +5911;47;54;183;;x +5912;89;57;56;;x +5913;131;60;184;;x +5914;173;63;57;;x +5915;5;66;185;;x +5916;47;69;58;;x +5917;89;72;186;;x +5918;131;75;59;;x +5919;173;78;187;;x +5920;5;81;60;;x +5921;47;84;188;;x +5922;89;87;61;;x +5923;131;90;189;;x +5924;173;93;62;;x +5925;5;96;190;;x +5926;47;99;63;;x +5927;89;102;191;;x +5928;131;105;64;;x +5929;173;108;192;;x +5930;5;111;65;;x +5931;47;114;193;;x +5932;89;117;66;;x +5933;131;120;194;;x +5934;173;123;67;;x +5935;5;126;195;;x +5936;47;129;68;;x +5937;89;132;196;;x +5938;131;135;69;;x +5939;173;138;197;;x +5940;5;141;70;;x +5941;47;144;198;;x +5942;89;147;71;;x +5943;131;150;199;;x +5944;173;153;72;;x +5945;5;156;200;;x +5946;47;159;73;;x +5947;89;162;201;;x +5948;131;165;74;;x +5949;173;168;202;;x +5950;5;171;75;;x +5951;47;174;203;;x +5952;89;177;76;;x +5953;131;180;204;;x +5954;173;183;77;;x +5955;5;186;205;;x +5956;47;189;78;;x +5957;89;192;206;;x +5958;131;195;79;;x +5959;173;198;207;;x +5960;5;201;80;;x +5961;47;204;208;;x +5962;89;207;81;;x +5963;131;210;209;;x +5964;173;0;82;;x +5965;5;3;210;;x +5966;47;6;83;;x +5967;89;9;211;;x +5968;131;12;84;;x +5969;173;15;212;;x +5970;5;18;85;;x +5971;47;21;213;;x +5972;89;24;86;;x +5973;131;27;214;;x +5974;173;30;87;;x +5975;5;33;215;;x +5976;47;36;88;;x +5977;89;39;216;;x +5978;131;42;89;;x +5979;173;45;217;;x +5980;5;48;90;;x +5981;47;51;218;;x +5982;89;54;91;;x +5983;131;57;219;;x +5984;173;60;92;;x +5985;5;63;220;;x +5986;47;66;93;;x +5987;89;69;221;;x +5988;131;72;94;;x +5989;173;75;222;;x +5990;5;78;95;;x +5991;47;81;223;;x +5992;89;84;96;;x +5993;131;87;224;;x +5994;173;90;97;;x +5995;5;93;225;;x +5996;47;96;98;;x +5997;89;99;226;;x +5998;131;102;99;;x +5999;173;105;227;;x +6000;6;108;0;;x +6001;48;111;128;;x +6002;90;114;1;;x +6003;132;117;129;;x +6004;174;120;2;;x +6005;6;123;130;;x +6006;48;126;3;;x +6007;90;129;131;;x +6008;132;132;4;;x +6009;174;135;132;;x +6010;6;138;5;;x +6011;48;141;133;;x +6012;90;144;6;;x +6013;132;147;134;;x +6014;174;150;7;;x +6015;6;153;135;;x +6016;48;156;8;;x +6017;90;159;136;;x +6018;132;162;9;;x +6019;174;165;137;;x +6020;6;168;10;;x +6021;48;171;138;;x +6022;90;174;11;;x +6023;132;177;139;;x +6024;174;180;12;;x +6025;6;183;140;;x +6026;48;186;13;;x +6027;90;189;141;;x +6028;132;192;14;;x +6029;174;195;142;;x +6030;6;198;15;;x +6031;48;201;143;;x +6032;90;204;16;;x +6033;132;207;144;;x +6034;174;210;17;;x +6035;6;0;145;;x +6036;48;3;18;;x +6037;90;6;146;;x +6038;132;9;19;;x +6039;174;12;147;;x +6040;6;15;20;;x +6041;48;18;148;;x +6042;90;21;21;;x +6043;132;24;149;;x +6044;174;27;22;;x +6045;6;30;150;;x +6046;48;33;23;;x +6047;90;36;151;;x +6048;132;39;24;;x +6049;174;42;152;;x +6050;6;45;25;;x +6051;48;48;153;;x +6052;90;51;26;;x +6053;132;54;154;;x +6054;174;57;27;;x +6055;6;60;155;;x +6056;48;63;28;;x +6057;90;66;156;;x +6058;132;69;29;;x +6059;174;72;157;;x +6060;6;75;30;;x +6061;48;78;158;;x +6062;90;81;31;;x +6063;132;84;159;;x +6064;174;87;32;;x +6065;6;90;160;;x +6066;48;93;33;;x +6067;90;96;161;;x +6068;132;99;34;;x +6069;174;102;162;;x +6070;6;105;35;;x +6071;48;108;163;;x +6072;90;111;36;;x +6073;132;114;164;;x +6074;174;117;37;;x +6075;6;120;165;;x +6076;48;123;38;;x +6077;90;126;166;;x +6078;132;129;39;;x +6079;174;132;167;;x +6080;6;135;40;;x +6081;48;138;168;;x +6082;90;141;41;;x +6083;132;144;169;;x +6084;174;147;42;;x +6085;6;150;170;;x +6086;48;153;43;;x +6087;90;156;171;;x +6088;132;159;44;;x +6089;174;162;172;;x +6090;6;165;45;;x +6091;48;168;173;;x +6092;90;171;46;;x +6093;132;174;174;;x +6094;174;177;47;;x +6095;6;180;175;;x +6096;48;183;48;;x +6097;90;186;176;;x +6098;132;189;49;;x +6099;174;192;177;;x +6100;6;195;50;;x +6101;48;198;178;;x +6102;90;201;51;;x +6103;132;204;179;;x +6104;174;207;52;;x +6105;6;210;180;;x +6106;48;0;53;;x +6107;90;3;181;;x +6108;132;6;54;;x +6109;174;9;182;;x +6110;6;12;55;;x +6111;48;15;183;;x +6112;90;18;56;;x +6113;132;21;184;;x +6114;174;24;57;;x +6115;6;27;185;;x +6116;48;30;58;;x +6117;90;33;186;;x +6118;132;36;59;;x +6119;174;39;187;;x +6120;6;42;60;;x +6121;48;45;188;;x +6122;90;48;61;;x +6123;132;51;189;;x +6124;174;54;62;;x +6125;6;57;190;;x +6126;48;60;63;;x +6127;90;63;191;;x +6128;132;66;64;;x +6129;174;69;192;;x +6130;6;72;65;;x +6131;48;75;193;;x +6132;90;78;66;;x +6133;132;81;194;;x +6134;174;84;67;;x +6135;6;87;195;;x +6136;48;90;68;;x +6137;90;93;196;;x +6138;132;96;69;;x +6139;174;99;197;;x +6140;6;102;70;;x +6141;48;105;198;;x +6142;90;108;71;;x +6143;132;111;199;;x +6144;174;114;72;;x +6145;6;117;200;;x +6146;48;120;73;;x +6147;90;123;201;;x +6148;132;126;74;;x +6149;174;129;202;;x +6150;6;132;75;;x +6151;48;135;203;;x +6152;90;138;76;;x +6153;132;141;204;;x +6154;174;144;77;;x +6155;6;147;205;;x +6156;48;150;78;;x +6157;90;153;206;;x +6158;132;156;79;;x +6159;174;159;207;;x +6160;6;162;80;;x +6161;48;165;208;;x +6162;90;168;81;;x +6163;132;171;209;;x +6164;174;174;82;;x +6165;6;177;210;;x +6166;48;180;83;;x +6167;90;183;211;;x +6168;132;186;84;;x +6169;174;189;212;;x +6170;6;192;85;;x +6171;48;195;213;;x +6172;90;198;86;;x +6173;132;201;214;;x +6174;174;204;87;;x +6175;6;207;215;;x +6176;48;210;88;;x +6177;90;0;216;;x +6178;132;3;89;;x +6179;174;6;217;;x +6180;6;9;90;;x +6181;48;12;218;;x +6182;90;15;91;;x +6183;132;18;219;;x +6184;174;21;92;;x +6185;6;24;220;;x +6186;48;27;93;;x +6187;90;30;221;;x +6188;132;33;94;;x +6189;174;36;222;;x +6190;6;39;95;;x +6191;48;42;223;;x +6192;90;45;96;;x +6193;132;48;224;;x +6194;174;51;97;;x +6195;6;54;225;;x +6196;48;57;98;;x +6197;90;60;226;;x +6198;132;63;99;;x +6199;174;66;227;;x +6200;6;69;0;;x +6201;48;72;128;;x +6202;90;75;1;;x +6203;132;78;129;;x +6204;174;81;2;;x +6205;6;84;130;;x +6206;48;87;3;;x +6207;90;90;131;;x +6208;132;93;4;;x +6209;174;96;132;;x +6210;6;99;5;;x +6211;48;102;133;;x +6212;90;105;6;;x +6213;132;108;134;;x +6214;174;111;7;;x +6215;6;114;135;;x +6216;48;117;8;;x +6217;90;120;136;;x +6218;132;123;9;;x +6219;174;126;137;;x +6220;6;129;10;;x +6221;48;132;138;;x +6222;90;135;11;;x +6223;132;138;139;;x +6224;174;141;12;;x +6225;6;144;140;;x +6226;48;147;13;;x +6227;90;150;141;;x +6228;132;153;14;;x +6229;174;156;142;;x +6230;6;159;15;;x +6231;48;162;143;;x +6232;90;165;16;;x +6233;132;168;144;;x +6234;174;171;17;;x +6235;6;174;145;;x +6236;48;177;18;;x +6237;90;180;146;;x +6238;132;183;19;;x +6239;174;186;147;;x +6240;6;189;20;;x +6241;48;192;148;;x +6242;90;195;21;;x +6243;132;198;149;;x +6244;174;201;22;;x +6245;6;204;150;;x +6246;48;207;23;;x +6247;90;210;151;;x +6248;132;0;24;;x +6249;174;3;152;;x +6250;6;6;25;;x +6251;48;9;153;;x +6252;90;12;26;;x +6253;132;15;154;;x +6254;174;18;27;;x +6255;6;21;155;;x +6256;48;24;28;;x +6257;90;27;156;;x +6258;132;30;29;;x +6259;174;33;157;;x +6260;6;36;30;;x +6261;48;39;158;;x +6262;90;42;31;;x +6263;132;45;159;;x +6264;174;48;32;;x +6265;6;51;160;;x +6266;48;54;33;;x +6267;90;57;161;;x +6268;132;60;34;;x +6269;174;63;162;;x +6270;6;66;35;;x +6271;48;69;163;;x +6272;90;72;36;;x +6273;132;75;164;;x +6274;174;78;37;;x +6275;6;81;165;;x +6276;48;84;38;;x +6277;90;87;166;;x +6278;132;90;39;;x +6279;174;93;167;;x +6280;6;96;40;;x +6281;48;99;168;;x +6282;90;102;41;;x +6283;132;105;169;;x +6284;174;108;42;;x +6285;6;111;170;;x +6286;48;114;43;;x +6287;90;117;171;;x +6288;132;120;44;;x +6289;174;123;172;;x +6290;6;126;45;;x +6291;48;129;173;;x +6292;90;132;46;;x +6293;132;135;174;;x +6294;174;138;47;;x +6295;6;141;175;;x +6296;48;144;48;;x +6297;90;147;176;;x +6298;132;150;49;;x +6299;174;153;177;;x +6300;6;156;50;;x +6301;48;159;178;;x +6302;90;162;51;;x +6303;132;165;179;;x +6304;174;168;52;;x +6305;6;171;180;;x +6306;48;174;53;;x +6307;90;177;181;;x +6308;132;180;54;;x +6309;174;183;182;;x +6310;6;186;55;;x +6311;48;189;183;;x +6312;90;192;56;;x +6313;132;195;184;;x +6314;174;198;57;;x +6315;6;201;185;;x +6316;48;204;58;;x +6317;90;207;186;;x +6318;132;210;59;;x +6319;174;0;187;;x +6320;6;3;60;;x +6321;48;6;188;;x +6322;90;9;61;;x +6323;132;12;189;;x +6324;174;15;62;;x +6325;6;18;190;;x +6326;48;21;63;;x +6327;90;24;191;;x +6328;132;27;64;;x +6329;174;30;192;;x +6330;6;33;65;;x +6331;48;36;193;;x +6332;90;39;66;;x +6333;132;42;194;;x +6334;174;45;67;;x +6335;6;48;195;;x +6336;48;51;68;;x +6337;90;54;196;;x +6338;132;57;69;;x +6339;174;60;197;;x +6340;6;63;70;;x +6341;48;66;198;;x +6342;90;69;71;;x +6343;132;72;199;;x +6344;174;75;72;;x +6345;6;78;200;;x +6346;48;81;73;;x +6347;90;84;201;;x +6348;132;87;74;;x +6349;174;90;202;;x +6350;6;93;75;;x +6351;48;96;203;;x +6352;90;99;76;;x +6353;132;102;204;;x +6354;174;105;77;;x +6355;6;108;205;;x +6356;48;111;78;;x +6357;90;114;206;;x +6358;132;117;79;;x +6359;174;120;207;;x +6360;6;123;80;;x +6361;48;126;208;;x +6362;90;129;81;;x +6363;132;132;209;;x +6364;174;135;82;;x +6365;6;138;210;;x +6366;48;141;83;;x +6367;90;144;211;;x +6368;132;147;84;;x +6369;174;150;212;;x +6370;6;153;85;;x +6371;48;156;213;;x +6372;90;159;86;;x +6373;132;162;214;;x +6374;174;165;87;;x +6375;6;168;215;;x +6376;48;171;88;;x +6377;90;174;216;;x +6378;132;177;89;;x +6379;174;180;217;;x +6380;6;183;90;;x +6381;48;186;218;;x +6382;90;189;91;;x +6383;132;192;219;;x +6384;174;195;92;;x +6385;6;198;220;;x +6386;48;201;93;;x +6387;90;204;221;;x +6388;132;207;94;;x +6389;174;210;222;;x +6390;6;0;95;;x +6391;48;3;223;;x +6392;90;6;96;;x +6393;132;9;224;;x +6394;174;12;97;;x +6395;6;15;225;;x +6396;48;18;98;;x +6397;90;21;226;;x +6398;132;24;99;;x +6399;174;27;227;;x +6400;6;30;0;;x +6401;48;33;128;;x +6402;90;36;1;;x +6403;132;39;129;;x +6404;174;42;2;;x +6405;6;45;130;;x +6406;48;48;3;;x +6407;90;51;131;;x +6408;132;54;4;;x +6409;174;57;132;;x +6410;6;60;5;;x +6411;48;63;133;;x +6412;90;66;6;;x +6413;132;69;134;;x +6414;174;72;7;;x +6415;6;75;135;;x +6416;48;78;8;;x +6417;90;81;136;;x +6418;132;84;9;;x +6419;174;87;137;;x +6420;6;90;10;;x +6421;48;93;138;;x +6422;90;96;11;;x +6423;132;99;139;;x +6424;174;102;12;;x +6425;6;105;140;;x +6426;48;108;13;;x +6427;90;111;141;;x +6428;132;114;14;;x +6429;174;117;142;;x +6430;6;120;15;;x +6431;48;123;143;;x +6432;90;126;16;;x +6433;132;129;144;;x +6434;174;132;17;;x +6435;6;135;145;;x +6436;48;138;18;;x +6437;90;141;146;;x +6438;132;144;19;;x +6439;174;147;147;;x +6440;6;150;20;;x +6441;48;153;148;;x +6442;90;156;21;;x +6443;132;159;149;;x +6444;174;162;22;;x +6445;6;165;150;;x +6446;48;168;23;;x +6447;90;171;151;;x +6448;132;174;24;;x +6449;174;177;152;;x +6450;6;180;25;;x +6451;48;183;153;;x +6452;90;186;26;;x +6453;132;189;154;;x +6454;174;192;27;;x +6455;6;195;155;;x +6456;48;198;28;;x +6457;90;201;156;;x +6458;132;204;29;;x +6459;174;207;157;;x +6460;6;210;30;;x +6461;48;0;158;;x +6462;90;3;31;;x +6463;132;6;159;;x +6464;174;9;32;;x +6465;6;12;160;;x +6466;48;15;33;;x +6467;90;18;161;;x +6468;132;21;34;;x +6469;174;24;162;;x +6470;6;27;35;;x +6471;48;30;163;;x +6472;90;33;36;;x +6473;132;36;164;;x +6474;174;39;37;;x +6475;6;42;165;;x +6476;48;45;38;;x +6477;90;48;166;;x +6478;132;51;39;;x +6479;174;54;167;;x +6480;6;57;40;;x +6481;48;60;168;;x +6482;90;63;41;;x +6483;132;66;169;;x +6484;174;69;42;;x +6485;6;72;170;;x +6486;48;75;43;;x +6487;90;78;171;;x +6488;132;81;44;;x +6489;174;84;172;;x +6490;6;87;45;;x +6491;48;90;173;;x +6492;90;93;46;;x +6493;132;96;174;;x +6494;174;99;47;;x +6495;6;102;175;;x +6496;48;105;48;;x +6497;90;108;176;;x +6498;132;111;49;;x +6499;174;114;177;;x +6500;6;117;50;;x +6501;48;120;178;;x +6502;90;123;51;;x +6503;132;126;179;;x +6504;174;129;52;;x +6505;6;132;180;;x +6506;48;135;53;;x +6507;90;138;181;;x +6508;132;141;54;;x +6509;174;144;182;;x +6510;6;147;55;;x +6511;48;150;183;;x +6512;90;153;56;;x +6513;132;156;184;;x +6514;174;159;57;;x +6515;6;162;185;;x +6516;48;165;58;;x +6517;90;168;186;;x +6518;132;171;59;;x +6519;174;174;187;;x +6520;6;177;60;;x +6521;48;180;188;;x +6522;90;183;61;;x +6523;132;186;189;;x +6524;174;189;62;;x +6525;6;192;190;;x +6526;48;195;63;;x +6527;90;198;191;;x +6528;132;201;64;;x +6529;174;204;192;;x +6530;6;207;65;;x +6531;48;210;193;;x +6532;90;0;66;;x +6533;132;3;194;;x +6534;174;6;67;;x +6535;6;9;195;;x +6536;48;12;68;;x +6537;90;15;196;;x +6538;132;18;69;;x +6539;174;21;197;;x +6540;6;24;70;;x +6541;48;27;198;;x +6542;90;30;71;;x +6543;132;33;199;;x +6544;174;36;72;;x +6545;6;39;200;;x +6546;48;42;73;;x +6547;90;45;201;;x +6548;132;48;74;;x +6549;174;51;202;;x +6550;6;54;75;;x +6551;48;57;203;;x +6552;90;60;76;;x +6553;132;63;204;;x +6554;174;66;77;;x +6555;6;69;205;;x +6556;48;72;78;;x +6557;90;75;206;;x +6558;132;78;79;;x +6559;174;81;207;;x +6560;6;84;80;;x +6561;48;87;208;;x +6562;90;90;81;;x +6563;132;93;209;;x +6564;174;96;82;;x +6565;6;99;210;;x +6566;48;102;83;;x +6567;90;105;211;;x +6568;132;108;84;;x +6569;174;111;212;;x +6570;6;114;85;;x +6571;48;117;213;;x +6572;90;120;86;;x +6573;132;123;214;;x +6574;174;126;87;;x +6575;6;129;215;;x +6576;48;132;88;;x +6577;90;135;216;;x +6578;132;138;89;;x +6579;174;141;217;;x +6580;6;144;90;;x +6581;48;147;218;;x +6582;90;150;91;;x +6583;132;153;219;;x +6584;174;156;92;;x +6585;6;159;220;;x +6586;48;162;93;;x +6587;90;165;221;;x +6588;132;168;94;;x +6589;174;171;222;;x +6590;6;174;95;;x +6591;48;177;223;;x +6592;90;180;96;;x +6593;132;183;224;;x +6594;174;186;97;;x +6595;6;189;225;;x +6596;48;192;98;;x +6597;90;195;226;;x +6598;132;198;99;;x +6599;174;201;227;;x +6600;6;204;0;;x +6601;48;207;128;;x +6602;90;210;1;;x +6603;132;0;129;;x +6604;174;3;2;;x +6605;6;6;130;;x +6606;48;9;3;;x +6607;90;12;131;;x +6608;132;15;4;;x +6609;174;18;132;;x +6610;6;21;5;;x +6611;48;24;133;;x +6612;90;27;6;;x +6613;132;30;134;;x +6614;174;33;7;;x +6615;6;36;135;;x +6616;48;39;8;;x +6617;90;42;136;;x +6618;132;45;9;;x +6619;174;48;137;;x +6620;6;51;10;;x +6621;48;54;138;;x +6622;90;57;11;;x +6623;132;60;139;;x +6624;174;63;12;;x +6625;6;66;140;;x +6626;48;69;13;;x +6627;90;72;141;;x +6628;132;75;14;;x +6629;174;78;142;;x +6630;6;81;15;;x +6631;48;84;143;;x +6632;90;87;16;;x +6633;132;90;144;;x +6634;174;93;17;;x +6635;6;96;145;;x +6636;48;99;18;;x +6637;90;102;146;;x +6638;132;105;19;;x +6639;174;108;147;;x +6640;6;111;20;;x +6641;48;114;148;;x +6642;90;117;21;;x +6643;132;120;149;;x +6644;174;123;22;;x +6645;6;126;150;;x +6646;48;129;23;;x +6647;90;132;151;;x +6648;132;135;24;;x +6649;174;138;152;;x +6650;6;141;25;;x +6651;48;144;153;;x +6652;90;147;26;;x +6653;132;150;154;;x +6654;174;153;27;;x +6655;6;156;155;;x +6656;48;159;28;;x +6657;90;162;156;;x +6658;132;165;29;;x +6659;174;168;157;;x +6660;6;171;30;;x +6661;48;174;158;;x +6662;90;177;31;;x +6663;132;180;159;;x +6664;174;183;32;;x +6665;6;186;160;;x +6666;48;189;33;;x +6667;90;192;161;;x +6668;132;195;34;;x +6669;174;198;162;;x +6670;6;201;35;;x +6671;48;204;163;;x +6672;90;207;36;;x +6673;132;210;164;;x +6674;174;0;37;;x +6675;6;3;165;;x +6676;48;6;38;;x +6677;90;9;166;;x +6678;132;12;39;;x +6679;174;15;167;;x +6680;6;18;40;;x +6681;48;21;168;;x +6682;90;24;41;;x +6683;132;27;169;;x +6684;174;30;42;;x +6685;6;33;170;;x +6686;48;36;43;;x +6687;90;39;171;;x +6688;132;42;44;;x +6689;174;45;172;;x +6690;6;48;45;;x +6691;48;51;173;;x +6692;90;54;46;;x +6693;132;57;174;;x +6694;174;60;47;;x +6695;6;63;175;;x +6696;48;66;48;;x +6697;90;69;176;;x +6698;132;72;49;;x +6699;174;75;177;;x +6700;6;78;50;;x +6701;48;81;178;;x +6702;90;84;51;;x +6703;132;87;179;;x +6704;174;90;52;;x +6705;6;93;180;;x +6706;48;96;53;;x +6707;90;99;181;;x +6708;132;102;54;;x +6709;174;105;182;;x +6710;6;108;55;;x +6711;48;111;183;;x +6712;90;114;56;;x +6713;132;117;184;;x +6714;174;120;57;;x +6715;6;123;185;;x +6716;48;126;58;;x +6717;90;129;186;;x +6718;132;132;59;;x +6719;174;135;187;;x +6720;6;138;60;;x +6721;48;141;188;;x +6722;90;144;61;;x +6723;132;147;189;;x +6724;174;150;62;;x +6725;6;153;190;;x +6726;48;156;63;;x +6727;90;159;191;;x +6728;132;162;64;;x +6729;174;165;192;;x +6730;6;168;65;;x +6731;48;171;193;;x +6732;90;174;66;;x +6733;132;177;194;;x +6734;174;180;67;;x +6735;6;183;195;;x +6736;48;186;68;;x +6737;90;189;196;;x +6738;132;192;69;;x +6739;174;195;197;;x +6740;6;198;70;;x +6741;48;201;198;;x +6742;90;204;71;;x +6743;132;207;199;;x +6744;174;210;72;;x +6745;6;0;200;;x +6746;48;3;73;;x +6747;90;6;201;;x +6748;132;9;74;;x +6749;174;12;202;;x +6750;6;15;75;;x +6751;48;18;203;;x +6752;90;21;76;;x +6753;132;24;204;;x +6754;174;27;77;;x +6755;6;30;205;;x +6756;48;33;78;;x +6757;90;36;206;;x +6758;132;39;79;;x +6759;174;42;207;;x +6760;6;45;80;;x +6761;48;48;208;;x +6762;90;51;81;;x +6763;132;54;209;;x +6764;174;57;82;;x +6765;6;60;210;;x +6766;48;63;83;;x +6767;90;66;211;;x +6768;132;69;84;;x +6769;174;72;212;;x +6770;6;75;85;;x +6771;48;78;213;;x +6772;90;81;86;;x +6773;132;84;214;;x +6774;174;87;87;;x +6775;6;90;215;;x +6776;48;93;88;;x +6777;90;96;216;;x +6778;132;99;89;;x +6779;174;102;217;;x +6780;6;105;90;;x +6781;48;108;218;;x +6782;90;111;91;;x +6783;132;114;219;;x +6784;174;117;92;;x +6785;6;120;220;;x +6786;48;123;93;;x +6787;90;126;221;;x +6788;132;129;94;;x +6789;174;132;222;;x +6790;6;135;95;;x +6791;48;138;223;;x +6792;90;141;96;;x +6793;132;144;224;;x +6794;174;147;97;;x +6795;6;150;225;;x +6796;48;153;98;;x +6797;90;156;226;;x +6798;132;159;99;;x +6799;174;162;227;;x +6800;6;165;0;;x +6801;48;168;128;;x +6802;90;171;1;;x +6803;132;174;129;;x +6804;174;177;2;;x +6805;6;180;130;;x +6806;48;183;3;;x +6807;90;186;131;;x +6808;132;189;4;;x +6809;174;192;132;;x +6810;6;195;5;;x +6811;48;198;133;;x +6812;90;201;6;;x +6813;132;204;134;;x +6814;174;207;7;;x +6815;6;210;135;;x +6816;48;0;8;;x +6817;90;3;136;;x +6818;132;6;9;;x +6819;174;9;137;;x +6820;6;12;10;;x +6821;48;15;138;;x +6822;90;18;11;;x +6823;132;21;139;;x +6824;174;24;12;;x +6825;6;27;140;;x +6826;48;30;13;;x +6827;90;33;141;;x +6828;132;36;14;;x +6829;174;39;142;;x +6830;6;42;15;;x +6831;48;45;143;;x +6832;90;48;16;;x +6833;132;51;144;;x +6834;174;54;17;;x +6835;6;57;145;;x +6836;48;60;18;;x +6837;90;63;146;;x +6838;132;66;19;;x +6839;174;69;147;;x +6840;6;72;20;;x +6841;48;75;148;;x +6842;90;78;21;;x +6843;132;81;149;;x +6844;174;84;22;;x +6845;6;87;150;;x +6846;48;90;23;;x +6847;90;93;151;;x +6848;132;96;24;;x +6849;174;99;152;;x +6850;6;102;25;;x +6851;48;105;153;;x +6852;90;108;26;;x +6853;132;111;154;;x +6854;174;114;27;;x +6855;6;117;155;;x +6856;48;120;28;;x +6857;90;123;156;;x +6858;132;126;29;;x +6859;174;129;157;;x +6860;6;132;30;;x +6861;48;135;158;;x +6862;90;138;31;;x +6863;132;141;159;;x +6864;174;144;32;;x +6865;6;147;160;;x +6866;48;150;33;;x +6867;90;153;161;;x +6868;132;156;34;;x +6869;174;159;162;;x +6870;6;162;35;;x +6871;48;165;163;;x +6872;90;168;36;;x +6873;132;171;164;;x +6874;174;174;37;;x +6875;6;177;165;;x +6876;48;180;38;;x +6877;90;183;166;;x +6878;132;186;39;;x +6879;174;189;167;;x +6880;6;192;40;;x +6881;48;195;168;;x +6882;90;198;41;;x +6883;132;201;169;;x +6884;174;204;42;;x +6885;6;207;170;;x +6886;48;210;43;;x +6887;90;0;171;;x +6888;132;3;44;;x +6889;174;6;172;;x +6890;6;9;45;;x +6891;48;12;173;;x +6892;90;15;46;;x +6893;132;18;174;;x +6894;174;21;47;;x +6895;6;24;175;;x +6896;48;27;48;;x +6897;90;30;176;;x +6898;132;33;49;;x +6899;174;36;177;;x +6900;6;39;50;;x +6901;48;42;178;;x +6902;90;45;51;;x +6903;132;48;179;;x +6904;174;51;52;;x +6905;6;54;180;;x +6906;48;57;53;;x +6907;90;60;181;;x +6908;132;63;54;;x +6909;174;66;182;;x +6910;6;69;55;;x +6911;48;72;183;;x +6912;90;75;56;;x +6913;132;78;184;;x +6914;174;81;57;;x +6915;6;84;185;;x +6916;48;87;58;;x +6917;90;90;186;;x +6918;132;93;59;;x +6919;174;96;187;;x +6920;6;99;60;;x +6921;48;102;188;;x +6922;90;105;61;;x +6923;132;108;189;;x +6924;174;111;62;;x +6925;6;114;190;;x +6926;48;117;63;;x +6927;90;120;191;;x +6928;132;123;64;;x +6929;174;126;192;;x +6930;6;129;65;;x +6931;48;132;193;;x +6932;90;135;66;;x +6933;132;138;194;;x +6934;174;141;67;;x +6935;6;144;195;;x +6936;48;147;68;;x +6937;90;150;196;;x +6938;132;153;69;;x +6939;174;156;197;;x +6940;6;159;70;;x +6941;48;162;198;;x +6942;90;165;71;;x +6943;132;168;199;;x +6944;174;171;72;;x +6945;6;174;200;;x +6946;48;177;73;;x +6947;90;180;201;;x +6948;132;183;74;;x +6949;174;186;202;;x +6950;6;189;75;;x +6951;48;192;203;;x +6952;90;195;76;;x +6953;132;198;204;;x +6954;174;201;77;;x +6955;6;204;205;;x +6956;48;207;78;;x +6957;90;210;206;;x +6958;132;0;79;;x +6959;174;3;207;;x +6960;6;6;80;;x +6961;48;9;208;;x +6962;90;12;81;;x +6963;132;15;209;;x +6964;174;18;82;;x +6965;6;21;210;;x +6966;48;24;83;;x +6967;90;27;211;;x +6968;132;30;84;;x +6969;174;33;212;;x +6970;6;36;85;;x +6971;48;39;213;;x +6972;90;42;86;;x +6973;132;45;214;;x +6974;174;48;87;;x +6975;6;51;215;;x +6976;48;54;88;;x +6977;90;57;216;;x +6978;132;60;89;;x +6979;174;63;217;;x +6980;6;66;90;;x +6981;48;69;218;;x +6982;90;72;91;;x +6983;132;75;219;;x +6984;174;78;92;;x +6985;6;81;220;;x +6986;48;84;93;;x +6987;90;87;221;;x +6988;132;90;94;;x +6989;174;93;222;;x +6990;6;96;95;;x +6991;48;99;223;;x +6992;90;102;96;;x +6993;132;105;224;;x +6994;174;108;97;;x +6995;6;111;225;;x +6996;48;114;98;;x +6997;90;117;226;;x +6998;132;120;99;;x +6999;174;123;227;;x +7000;7;126;0;;x +7001;49;129;128;;x +7002;91;132;1;;x +7003;133;135;129;;x +7004;175;138;2;;x +7005;7;141;130;;x +7006;49;144;3;;x +7007;91;147;131;;x +7008;133;150;4;;x +7009;175;153;132;;x +7010;7;156;5;;x +7011;49;159;133;;x +7012;91;162;6;;x +7013;133;165;134;;x +7014;175;168;7;;x +7015;7;171;135;;x +7016;49;174;8;;x +7017;91;177;136;;x +7018;133;180;9;;x +7019;175;183;137;;x +7020;7;186;10;;x +7021;49;189;138;;x +7022;91;192;11;;x +7023;133;195;139;;x +7024;175;198;12;;x +7025;7;201;140;;x +7026;49;204;13;;x +7027;91;207;141;;x +7028;133;210;14;;x +7029;175;0;142;;x +7030;7;3;15;;x +7031;49;6;143;;x +7032;91;9;16;;x +7033;133;12;144;;x +7034;175;15;17;;x +7035;7;18;145;;x +7036;49;21;18;;x +7037;91;24;146;;x +7038;133;27;19;;x +7039;175;30;147;;x +7040;7;33;20;;x +7041;49;36;148;;x +7042;91;39;21;;x +7043;133;42;149;;x +7044;175;45;22;;x +7045;7;48;150;;x +7046;49;51;23;;x +7047;91;54;151;;x +7048;133;57;24;;x +7049;175;60;152;;x +7050;7;63;25;;x +7051;49;66;153;;x +7052;91;69;26;;x +7053;133;72;154;;x +7054;175;75;27;;x +7055;7;78;155;;x +7056;49;81;28;;x +7057;91;84;156;;x +7058;133;87;29;;x +7059;175;90;157;;x +7060;7;93;30;;x +7061;49;96;158;;x +7062;91;99;31;;x +7063;133;102;159;;x +7064;175;105;32;;x +7065;7;108;160;;x +7066;49;111;33;;x +7067;91;114;161;;x +7068;133;117;34;;x +7069;175;120;162;;x +7070;7;123;35;;x +7071;49;126;163;;x +7072;91;129;36;;x +7073;133;132;164;;x +7074;175;135;37;;x +7075;7;138;165;;x +7076;49;141;38;;x +7077;91;144;166;;x +7078;133;147;39;;x +7079;175;150;167;;x +7080;7;153;40;;x +7081;49;156;168;;x +7082;91;159;41;;x +7083;133;162;169;;x +7084;175;165;42;;x +7085;7;168;170;;x +7086;49;171;43;;x +7087;91;174;171;;x +7088;133;177;44;;x +7089;175;180;172;;x +7090;7;183;45;;x +7091;49;186;173;;x +7092;91;189;46;;x +7093;133;192;174;;x +7094;175;195;47;;x +7095;7;198;175;;x +7096;49;201;48;;x +7097;91;204;176;;x +7098;133;207;49;;x +7099;175;210;177;;x +7100;7;0;50;;x +7101;49;3;178;;x +7102;91;6;51;;x +7103;133;9;179;;x +7104;175;12;52;;x +7105;7;15;180;;x +7106;49;18;53;;x +7107;91;21;181;;x +7108;133;24;54;;x +7109;175;27;182;;x +7110;7;30;55;;x +7111;49;33;183;;x +7112;91;36;56;;x +7113;133;39;184;;x +7114;175;42;57;;x +7115;7;45;185;;x +7116;49;48;58;;x +7117;91;51;186;;x +7118;133;54;59;;x +7119;175;57;187;;x +7120;7;60;60;;x +7121;49;63;188;;x +7122;91;66;61;;x +7123;133;69;189;;x +7124;175;72;62;;x +7125;7;75;190;;x +7126;49;78;63;;x +7127;91;81;191;;x +7128;133;84;64;;x +7129;175;87;192;;x +7130;7;90;65;;x +7131;49;93;193;;x +7132;91;96;66;;x +7133;133;99;194;;x +7134;175;102;67;;x +7135;7;105;195;;x +7136;49;108;68;;x +7137;91;111;196;;x +7138;133;114;69;;x +7139;175;117;197;;x +7140;7;120;70;;x +7141;49;123;198;;x +7142;91;126;71;;x +7143;133;129;199;;x +7144;175;132;72;;x +7145;7;135;200;;x +7146;49;138;73;;x +7147;91;141;201;;x +7148;133;144;74;;x +7149;175;147;202;;x +7150;7;150;75;;x +7151;49;153;203;;x +7152;91;156;76;;x +7153;133;159;204;;x +7154;175;162;77;;x +7155;7;165;205;;x +7156;49;168;78;;x +7157;91;171;206;;x +7158;133;174;79;;x +7159;175;177;207;;x +7160;7;180;80;;x +7161;49;183;208;;x +7162;91;186;81;;x +7163;133;189;209;;x +7164;175;192;82;;x +7165;7;195;210;;x +7166;49;198;83;;x +7167;91;201;211;;x +7168;133;204;84;;x +7169;175;207;212;;x +7170;7;210;85;;x +7171;49;0;213;;x +7172;91;3;86;;x +7173;133;6;214;;x +7174;175;9;87;;x +7175;7;12;215;;x +7176;49;15;88;;x +7177;91;18;216;;x +7178;133;21;89;;x +7179;175;24;217;;x +7180;7;27;90;;x +7181;49;30;218;;x +7182;91;33;91;;x +7183;133;36;219;;x +7184;175;39;92;;x +7185;7;42;220;;x +7186;49;45;93;;x +7187;91;48;221;;x +7188;133;51;94;;x +7189;175;54;222;;x +7190;7;57;95;;x +7191;49;60;223;;x +7192;91;63;96;;x +7193;133;66;224;;x +7194;175;69;97;;x +7195;7;72;225;;x +7196;49;75;98;;x +7197;91;78;226;;x +7198;133;81;99;;x +7199;175;84;227;;x +7200;7;87;0;;x +7201;49;90;128;;x +7202;91;93;1;;x +7203;133;96;129;;x +7204;175;99;2;;x +7205;7;102;130;;x +7206;49;105;3;;x +7207;91;108;131;;x +7208;133;111;4;;x +7209;175;114;132;;x +7210;7;117;5;;x +7211;49;120;133;;x +7212;91;123;6;;x +7213;133;126;134;;x +7214;175;129;7;;x +7215;7;132;135;;x +7216;49;135;8;;x +7217;91;138;136;;x +7218;133;141;9;;x +7219;175;144;137;;x +7220;7;147;10;;x +7221;49;150;138;;x +7222;91;153;11;;x +7223;133;156;139;;x +7224;175;159;12;;x +7225;7;162;140;;x +7226;49;165;13;;x +7227;91;168;141;;x +7228;133;171;14;;x +7229;175;174;142;;x +7230;7;177;15;;x +7231;49;180;143;;x +7232;91;183;16;;x +7233;133;186;144;;x +7234;175;189;17;;x +7235;7;192;145;;x +7236;49;195;18;;x +7237;91;198;146;;x +7238;133;201;19;;x +7239;175;204;147;;x +7240;7;207;20;;x +7241;49;210;148;;x +7242;91;0;21;;x +7243;133;3;149;;x +7244;175;6;22;;x +7245;7;9;150;;x +7246;49;12;23;;x +7247;91;15;151;;x +7248;133;18;24;;x +7249;175;21;152;;x +7250;7;24;25;;x +7251;49;27;153;;x +7252;91;30;26;;x +7253;133;33;154;;x +7254;175;36;27;;x +7255;7;39;155;;x +7256;49;42;28;;x +7257;91;45;156;;x +7258;133;48;29;;x +7259;175;51;157;;x +7260;7;54;30;;x +7261;49;57;158;;x +7262;91;60;31;;x +7263;133;63;159;;x +7264;175;66;32;;x +7265;7;69;160;;x +7266;49;72;33;;x +7267;91;75;161;;x +7268;133;78;34;;x +7269;175;81;162;;x +7270;7;84;35;;x +7271;49;87;163;;x +7272;91;90;36;;x +7273;133;93;164;;x +7274;175;96;37;;x +7275;7;99;165;;x +7276;49;102;38;;x +7277;91;105;166;;x +7278;133;108;39;;x +7279;175;111;167;;x +7280;7;114;40;;x +7281;49;117;168;;x +7282;91;120;41;;x +7283;133;123;169;;x +7284;175;126;42;;x +7285;7;129;170;;x +7286;49;132;43;;x +7287;91;135;171;;x +7288;133;138;44;;x +7289;175;141;172;;x +7290;7;144;45;;x +7291;49;147;173;;x +7292;91;150;46;;x +7293;133;153;174;;x +7294;175;156;47;;x +7295;7;159;175;;x +7296;49;162;48;;x +7297;91;165;176;;x +7298;133;168;49;;x +7299;175;171;177;;x +7300;7;174;50;;x +7301;49;177;178;;x +7302;91;180;51;;x +7303;133;183;179;;x +7304;175;186;52;;x +7305;7;189;180;;x +7306;49;192;53;;x +7307;91;195;181;;x +7308;133;198;54;;x +7309;175;201;182;;x +7310;7;204;55;;x +7311;49;207;183;;x +7312;91;210;56;;x +7313;133;0;184;;x +7314;175;3;57;;x +7315;7;6;185;;x +7316;49;9;58;;x +7317;91;12;186;;x +7318;133;15;59;;x +7319;175;18;187;;x +7320;7;21;60;;x +7321;49;24;188;;x +7322;91;27;61;;x +7323;133;30;189;;x +7324;175;33;62;;x +7325;7;36;190;;x +7326;49;39;63;;x +7327;91;42;191;;x +7328;133;45;64;;x +7329;175;48;192;;x +7330;7;51;65;;x +7331;49;54;193;;x +7332;91;57;66;;x +7333;133;60;194;;x +7334;175;63;67;;x +7335;7;66;195;;x +7336;49;69;68;;x +7337;91;72;196;;x +7338;133;75;69;;x +7339;175;78;197;;x +7340;7;81;70;;x +7341;49;84;198;;x +7342;91;87;71;;x +7343;133;90;199;;x +7344;175;93;72;;x +7345;7;96;200;;x +7346;49;99;73;;x +7347;91;102;201;;x +7348;133;105;74;;x +7349;175;108;202;;x +7350;7;111;75;;x +7351;49;114;203;;x +7352;91;117;76;;x +7353;133;120;204;;x +7354;175;123;77;;x +7355;7;126;205;;x +7356;49;129;78;;x +7357;91;132;206;;x +7358;133;135;79;;x +7359;175;138;207;;x +7360;7;141;80;;x +7361;49;144;208;;x +7362;91;147;81;;x +7363;133;150;209;;x +7364;175;153;82;;x +7365;7;156;210;;x +7366;49;159;83;;x +7367;91;162;211;;x +7368;133;165;84;;x +7369;175;168;212;;x +7370;7;171;85;;x +7371;49;174;213;;x +7372;91;177;86;;x +7373;133;180;214;;x +7374;175;183;87;;x +7375;7;186;215;;x +7376;49;189;88;;x +7377;91;192;216;;x +7378;133;195;89;;x +7379;175;198;217;;x +7380;7;201;90;;x +7381;49;204;218;;x +7382;91;207;91;;x +7383;133;210;219;;x +7384;175;0;92;;x +7385;7;3;220;;x +7386;49;6;93;;x +7387;91;9;221;;x +7388;133;12;94;;x +7389;175;15;222;;x +7390;7;18;95;;x +7391;49;21;223;;x +7392;91;24;96;;x +7393;133;27;224;;x +7394;175;30;97;;x +7395;7;33;225;;x +7396;49;36;98;;x +7397;91;39;226;;x +7398;133;42;99;;x +7399;175;45;227;;x +7400;7;48;0;;x +7401;49;51;128;;x +7402;91;54;1;;x +7403;133;57;129;;x +7404;175;60;2;;x +7405;7;63;130;;x +7406;49;66;3;;x +7407;91;69;131;;x +7408;133;72;4;;x +7409;175;75;132;;x +7410;7;78;5;;x +7411;49;81;133;;x +7412;91;84;6;;x +7413;133;87;134;;x +7414;175;90;7;;x +7415;7;93;135;;x +7416;49;96;8;;x +7417;91;99;136;;x +7418;133;102;9;;x +7419;175;105;137;;x +7420;7;108;10;;x +7421;49;111;138;;x +7422;91;114;11;;x +7423;133;117;139;;x +7424;175;120;12;;x +7425;7;123;140;;x +7426;49;126;13;;x +7427;91;129;141;;x +7428;133;132;14;;x +7429;175;135;142;;x +7430;7;138;15;;x +7431;49;141;143;;x +7432;91;144;16;;x +7433;133;147;144;;x +7434;175;150;17;;x +7435;7;153;145;;x +7436;49;156;18;;x +7437;91;159;146;;x +7438;133;162;19;;x +7439;175;165;147;;x +7440;7;168;20;;x +7441;49;171;148;;x +7442;91;174;21;;x +7443;133;177;149;;x +7444;175;180;22;;x +7445;7;183;150;;x +7446;49;186;23;;x +7447;91;189;151;;x +7448;133;192;24;;x +7449;175;195;152;;x +7450;7;198;25;;x +7451;49;201;153;;x +7452;91;204;26;;x +7453;133;207;154;;x +7454;175;210;27;;x +7455;7;0;155;;x +7456;49;3;28;;x +7457;91;6;156;;x +7458;133;9;29;;x +7459;175;12;157;;x +7460;7;15;30;;x +7461;49;18;158;;x +7462;91;21;31;;x +7463;133;24;159;;x +7464;175;27;32;;x +7465;7;30;160;;x +7466;49;33;33;;x +7467;91;36;161;;x +7468;133;39;34;;x +7469;175;42;162;;x +7470;7;45;35;;x +7471;49;48;163;;x +7472;91;51;36;;x +7473;133;54;164;;x +7474;175;57;37;;x +7475;7;60;165;;x +7476;49;63;38;;x +7477;91;66;166;;x +7478;133;69;39;;x +7479;175;72;167;;x +7480;7;75;40;;x +7481;49;78;168;;x +7482;91;81;41;;x +7483;133;84;169;;x +7484;175;87;42;;x +7485;7;90;170;;x +7486;49;93;43;;x +7487;91;96;171;;x +7488;133;99;44;;x +7489;175;102;172;;x +7490;7;105;45;;x +7491;49;108;173;;x +7492;91;111;46;;x +7493;133;114;174;;x +7494;175;117;47;;x +7495;7;120;175;;x +7496;49;123;48;;x +7497;91;126;176;;x +7498;133;129;49;;x +7499;175;132;177;;x +7500;7;135;50;;x +7501;49;138;178;;x +7502;91;141;51;;x +7503;133;144;179;;x +7504;175;147;52;;x +7505;7;150;180;;x +7506;49;153;53;;x +7507;91;156;181;;x +7508;133;159;54;;x +7509;175;162;182;;x +7510;7;165;55;;x +7511;49;168;183;;x +7512;91;171;56;;x +7513;133;174;184;;x +7514;175;177;57;;x +7515;7;180;185;;x +7516;49;183;58;;x +7517;91;186;186;;x +7518;133;189;59;;x +7519;175;192;187;;x +7520;7;195;60;;x +7521;49;198;188;;x +7522;91;201;61;;x +7523;133;204;189;;x +7524;175;207;62;;x +7525;7;210;190;;x +7526;49;0;63;;x +7527;91;3;191;;x +7528;133;6;64;;x +7529;175;9;192;;x +7530;7;12;65;;x +7531;49;15;193;;x +7532;91;18;66;;x +7533;133;21;194;;x +7534;175;24;67;;x +7535;7;27;195;;x +7536;49;30;68;;x +7537;91;33;196;;x +7538;133;36;69;;x +7539;175;39;197;;x +7540;7;42;70;;x +7541;49;45;198;;x +7542;91;48;71;;x +7543;133;51;199;;x +7544;175;54;72;;x +7545;7;57;200;;x +7546;49;60;73;;x +7547;91;63;201;;x +7548;133;66;74;;x +7549;175;69;202;;x +7550;7;72;75;;x +7551;49;75;203;;x +7552;91;78;76;;x +7553;133;81;204;;x +7554;175;84;77;;x +7555;7;87;205;;x +7556;49;90;78;;x +7557;91;93;206;;x +7558;133;96;79;;x +7559;175;99;207;;x +7560;7;102;80;;x +7561;49;105;208;;x +7562;91;108;81;;x +7563;133;111;209;;x +7564;175;114;82;;x +7565;7;117;210;;x +7566;49;120;83;;x +7567;91;123;211;;x +7568;133;126;84;;x +7569;175;129;212;;x +7570;7;132;85;;x +7571;49;135;213;;x +7572;91;138;86;;x +7573;133;141;214;;x +7574;175;144;87;;x +7575;7;147;215;;x +7576;49;150;88;;x +7577;91;153;216;;x +7578;133;156;89;;x +7579;175;159;217;;x +7580;7;162;90;;x +7581;49;165;218;;x +7582;91;168;91;;x +7583;133;171;219;;x +7584;175;174;92;;x +7585;7;177;220;;x +7586;49;180;93;;x +7587;91;183;221;;x +7588;133;186;94;;x +7589;175;189;222;;x +7590;7;192;95;;x +7591;49;195;223;;x +7592;91;198;96;;x +7593;133;201;224;;x +7594;175;204;97;;x +7595;7;207;225;;x +7596;49;210;98;;x +7597;91;0;226;;x +7598;133;3;99;;x +7599;175;6;227;;x +7600;7;9;0;;x +7601;49;12;128;;x +7602;91;15;1;;x +7603;133;18;129;;x +7604;175;21;2;;x +7605;7;24;130;;x +7606;49;27;3;;x +7607;91;30;131;;x +7608;133;33;4;;x +7609;175;36;132;;x +7610;7;39;5;;x +7611;49;42;133;;x +7612;91;45;6;;x +7613;133;48;134;;x +7614;175;51;7;;x +7615;7;54;135;;x +7616;49;57;8;;x +7617;91;60;136;;x +7618;133;63;9;;x +7619;175;66;137;;x +7620;7;69;10;;x +7621;49;72;138;;x +7622;91;75;11;;x +7623;133;78;139;;x +7624;175;81;12;;x +7625;7;84;140;;x +7626;49;87;13;;x +7627;91;90;141;;x +7628;133;93;14;;x +7629;175;96;142;;x +7630;7;99;15;;x +7631;49;102;143;;x +7632;91;105;16;;x +7633;133;108;144;;x +7634;175;111;17;;x +7635;7;114;145;;x +7636;49;117;18;;x +7637;91;120;146;;x +7638;133;123;19;;x +7639;175;126;147;;x +7640;7;129;20;;x +7641;49;132;148;;x +7642;91;135;21;;x +7643;133;138;149;;x +7644;175;141;22;;x +7645;7;144;150;;x +7646;49;147;23;;x +7647;91;150;151;;x +7648;133;153;24;;x +7649;175;156;152;;x +7650;7;159;25;;x +7651;49;162;153;;x +7652;91;165;26;;x +7653;133;168;154;;x +7654;175;171;27;;x +7655;7;174;155;;x +7656;49;177;28;;x +7657;91;180;156;;x +7658;133;183;29;;x +7659;175;186;157;;x +7660;7;189;30;;x +7661;49;192;158;;x +7662;91;195;31;;x +7663;133;198;159;;x +7664;175;201;32;;x +7665;7;204;160;;x +7666;49;207;33;;x +7667;91;210;161;;x +7668;133;0;34;;x +7669;175;3;162;;x +7670;7;6;35;;x +7671;49;9;163;;x +7672;91;12;36;;x +7673;133;15;164;;x +7674;175;18;37;;x +7675;7;21;165;;x +7676;49;24;38;;x +7677;91;27;166;;x +7678;133;30;39;;x +7679;175;33;167;;x +7680;7;36;40;;x +7681;49;39;168;;x +7682;91;42;41;;x +7683;133;45;169;;x +7684;175;48;42;;x +7685;7;51;170;;x +7686;49;54;43;;x +7687;91;57;171;;x +7688;133;60;44;;x +7689;175;63;172;;x +7690;7;66;45;;x +7691;49;69;173;;x +7692;91;72;46;;x +7693;133;75;174;;x +7694;175;78;47;;x +7695;7;81;175;;x +7696;49;84;48;;x +7697;91;87;176;;x +7698;133;90;49;;x +7699;175;93;177;;x +7700;7;96;50;;x +7701;49;99;178;;x +7702;91;102;51;;x +7703;133;105;179;;x +7704;175;108;52;;x +7705;7;111;180;;x +7706;49;114;53;;x +7707;91;117;181;;x +7708;133;120;54;;x +7709;175;123;182;;x +7710;7;126;55;;x +7711;49;129;183;;x +7712;91;132;56;;x +7713;133;135;184;;x +7714;175;138;57;;x +7715;7;141;185;;x +7716;49;144;58;;x +7717;91;147;186;;x +7718;133;150;59;;x +7719;175;153;187;;x +7720;7;156;60;;x +7721;49;159;188;;x +7722;91;162;61;;x +7723;133;165;189;;x +7724;175;168;62;;x +7725;7;171;190;;x +7726;49;174;63;;x +7727;91;177;191;;x +7728;133;180;64;;x +7729;175;183;192;;x +7730;7;186;65;;x +7731;49;189;193;;x +7732;91;192;66;;x +7733;133;195;194;;x +7734;175;198;67;;x +7735;7;201;195;;x +7736;49;204;68;;x +7737;91;207;196;;x +7738;133;210;69;;x +7739;175;0;197;;x +7740;7;3;70;;x +7741;49;6;198;;x +7742;91;9;71;;x +7743;133;12;199;;x +7744;175;15;72;;x +7745;7;18;200;;x +7746;49;21;73;;x +7747;91;24;201;;x +7748;133;27;74;;x +7749;175;30;202;;x +7750;7;33;75;;x +7751;49;36;203;;x +7752;91;39;76;;x +7753;133;42;204;;x +7754;175;45;77;;x +7755;7;48;205;;x +7756;49;51;78;;x +7757;91;54;206;;x +7758;133;57;79;;x +7759;175;60;207;;x +7760;7;63;80;;x +7761;49;66;208;;x +7762;91;69;81;;x +7763;133;72;209;;x +7764;175;75;82;;x +7765;7;78;210;;x +7766;49;81;83;;x +7767;91;84;211;;x +7768;133;87;84;;x +7769;175;90;212;;x +7770;7;93;85;;x +7771;49;96;213;;x +7772;91;99;86;;x +7773;133;102;214;;x +7774;175;105;87;;x +7775;7;108;215;;x +7776;49;111;88;;x +7777;91;114;216;;x +7778;133;117;89;;x +7779;175;120;217;;x +7780;7;123;90;;x +7781;49;126;218;;x +7782;91;129;91;;x +7783;133;132;219;;x +7784;175;135;92;;x +7785;7;138;220;;x +7786;49;141;93;;x +7787;91;144;221;;x +7788;133;147;94;;x +7789;175;150;222;;x +7790;7;153;95;;x +7791;49;156;223;;x +7792;91;159;96;;x +7793;133;162;224;;x +7794;175;165;97;;x +7795;7;168;225;;x +7796;49;171;98;;x +7797;91;174;226;;x +7798;133;177;99;;x +7799;175;180;227;;x +7800;7;183;0;;x +7801;49;186;128;;x +7802;91;189;1;;x +7803;133;192;129;;x +7804;175;195;2;;x +7805;7;198;130;;x +7806;49;201;3;;x +7807;91;204;131;;x +7808;133;207;4;;x +7809;175;210;132;;x +7810;7;0;5;;x +7811;49;3;133;;x +7812;91;6;6;;x +7813;133;9;134;;x +7814;175;12;7;;x +7815;7;15;135;;x +7816;49;18;8;;x +7817;91;21;136;;x +7818;133;24;9;;x +7819;175;27;137;;x +7820;7;30;10;;x +7821;49;33;138;;x +7822;91;36;11;;x +7823;133;39;139;;x +7824;175;42;12;;x +7825;7;45;140;;x +7826;49;48;13;;x +7827;91;51;141;;x +7828;133;54;14;;x +7829;175;57;142;;x +7830;7;60;15;;x +7831;49;63;143;;x +7832;91;66;16;;x +7833;133;69;144;;x +7834;175;72;17;;x +7835;7;75;145;;x +7836;49;78;18;;x +7837;91;81;146;;x +7838;133;84;19;;x +7839;175;87;147;;x +7840;7;90;20;;x +7841;49;93;148;;x +7842;91;96;21;;x +7843;133;99;149;;x +7844;175;102;22;;x +7845;7;105;150;;x +7846;49;108;23;;x +7847;91;111;151;;x +7848;133;114;24;;x +7849;175;117;152;;x +7850;7;120;25;;x +7851;49;123;153;;x +7852;91;126;26;;x +7853;133;129;154;;x +7854;175;132;27;;x +7855;7;135;155;;x +7856;49;138;28;;x +7857;91;141;156;;x +7858;133;144;29;;x +7859;175;147;157;;x +7860;7;150;30;;x +7861;49;153;158;;x +7862;91;156;31;;x +7863;133;159;159;;x +7864;175;162;32;;x +7865;7;165;160;;x +7866;49;168;33;;x +7867;91;171;161;;x +7868;133;174;34;;x +7869;175;177;162;;x +7870;7;180;35;;x +7871;49;183;163;;x +7872;91;186;36;;x +7873;133;189;164;;x +7874;175;192;37;;x +7875;7;195;165;;x +7876;49;198;38;;x +7877;91;201;166;;x +7878;133;204;39;;x +7879;175;207;167;;x +7880;7;210;40;;x +7881;49;0;168;;x +7882;91;3;41;;x +7883;133;6;169;;x +7884;175;9;42;;x +7885;7;12;170;;x +7886;49;15;43;;x +7887;91;18;171;;x +7888;133;21;44;;x +7889;175;24;172;;x +7890;7;27;45;;x +7891;49;30;173;;x +7892;91;33;46;;x +7893;133;36;174;;x +7894;175;39;47;;x +7895;7;42;175;;x +7896;49;45;48;;x +7897;91;48;176;;x +7898;133;51;49;;x +7899;175;54;177;;x +7900;7;57;50;;x +7901;49;60;178;;x +7902;91;63;51;;x +7903;133;66;179;;x +7904;175;69;52;;x +7905;7;72;180;;x +7906;49;75;53;;x +7907;91;78;181;;x +7908;133;81;54;;x +7909;175;84;182;;x +7910;7;87;55;;x +7911;49;90;183;;x +7912;91;93;56;;x +7913;133;96;184;;x +7914;175;99;57;;x +7915;7;102;185;;x +7916;49;105;58;;x +7917;91;108;186;;x +7918;133;111;59;;x +7919;175;114;187;;x +7920;7;117;60;;x +7921;49;120;188;;x +7922;91;123;61;;x +7923;133;126;189;;x +7924;175;129;62;;x +7925;7;132;190;;x +7926;49;135;63;;x +7927;91;138;191;;x +7928;133;141;64;;x +7929;175;144;192;;x +7930;7;147;65;;x +7931;49;150;193;;x +7932;91;153;66;;x +7933;133;156;194;;x +7934;175;159;67;;x +7935;7;162;195;;x +7936;49;165;68;;x +7937;91;168;196;;x +7938;133;171;69;;x +7939;175;174;197;;x +7940;7;177;70;;x +7941;49;180;198;;x +7942;91;183;71;;x +7943;133;186;199;;x +7944;175;189;72;;x +7945;7;192;200;;x +7946;49;195;73;;x +7947;91;198;201;;x +7948;133;201;74;;x +7949;175;204;202;;x +7950;7;207;75;;x +7951;49;210;203;;x +7952;91;0;76;;x +7953;133;3;204;;x +7954;175;6;77;;x +7955;7;9;205;;x +7956;49;12;78;;x +7957;91;15;206;;x +7958;133;18;79;;x +7959;175;21;207;;x +7960;7;24;80;;x +7961;49;27;208;;x +7962;91;30;81;;x +7963;133;33;209;;x +7964;175;36;82;;x +7965;7;39;210;;x +7966;49;42;83;;x +7967;91;45;211;;x +7968;133;48;84;;x +7969;175;51;212;;x +7970;7;54;85;;x +7971;49;57;213;;x +7972;91;60;86;;x +7973;133;63;214;;x +7974;175;66;87;;x +7975;7;69;215;;x +7976;49;72;88;;x +7977;91;75;216;;x +7978;133;78;89;;x +7979;175;81;217;;x +7980;7;84;90;;x +7981;49;87;218;;x +7982;91;90;91;;x +7983;133;93;219;;x +7984;175;96;92;;x +7985;7;99;220;;x +7986;49;102;93;;x +7987;91;105;221;;x +7988;133;108;94;;x +7989;175;111;222;;x +7990;7;114;95;;x +7991;49;117;223;;x +7992;91;120;96;;x +7993;133;123;224;;x +7994;175;126;97;;x +7995;7;129;225;;x +7996;49;132;98;;x +7997;91;135;226;;x +7998;133;138;99;;x +7999;175;141;227;;x +8000;8;144;0;;x +8001;50;147;128;;x +8002;92;150;1;;x +8003;134;153;129;;x +8004;176;156;2;;x +8005;8;159;130;;x +8006;50;162;3;;x +8007;92;165;131;;x +8008;134;168;4;;x +8009;176;171;132;;x +8010;8;174;5;;x +8011;50;177;133;;x +8012;92;180;6;;x +8013;134;183;134;;x +8014;176;186;7;;x +8015;8;189;135;;x +8016;50;192;8;;x +8017;92;195;136;;x +8018;134;198;9;;x +8019;176;201;137;;x +8020;8;204;10;;x +8021;50;207;138;;x +8022;92;210;11;;x +8023;134;0;139;;x +8024;176;3;12;;x +8025;8;6;140;;x +8026;50;9;13;;x +8027;92;12;141;;x +8028;134;15;14;;x +8029;176;18;142;;x +8030;8;21;15;;x +8031;50;24;143;;x +8032;92;27;16;;x +8033;134;30;144;;x +8034;176;33;17;;x +8035;8;36;145;;x +8036;50;39;18;;x +8037;92;42;146;;x +8038;134;45;19;;x +8039;176;48;147;;x +8040;8;51;20;;x +8041;50;54;148;;x +8042;92;57;21;;x +8043;134;60;149;;x +8044;176;63;22;;x +8045;8;66;150;;x +8046;50;69;23;;x +8047;92;72;151;;x +8048;134;75;24;;x +8049;176;78;152;;x +8050;8;81;25;;x +8051;50;84;153;;x +8052;92;87;26;;x +8053;134;90;154;;x +8054;176;93;27;;x +8055;8;96;155;;x +8056;50;99;28;;x +8057;92;102;156;;x +8058;134;105;29;;x +8059;176;108;157;;x +8060;8;111;30;;x +8061;50;114;158;;x +8062;92;117;31;;x +8063;134;120;159;;x +8064;176;123;32;;x +8065;8;126;160;;x +8066;50;129;33;;x +8067;92;132;161;;x +8068;134;135;34;;x +8069;176;138;162;;x +8070;8;141;35;;x +8071;50;144;163;;x +8072;92;147;36;;x +8073;134;150;164;;x +8074;176;153;37;;x +8075;8;156;165;;x +8076;50;159;38;;x +8077;92;162;166;;x +8078;134;165;39;;x +8079;176;168;167;;x +8080;8;171;40;;x +8081;50;174;168;;x +8082;92;177;41;;x +8083;134;180;169;;x +8084;176;183;42;;x +8085;8;186;170;;x +8086;50;189;43;;x +8087;92;192;171;;x +8088;134;195;44;;x +8089;176;198;172;;x +8090;8;201;45;;x +8091;50;204;173;;x +8092;92;207;46;;x +8093;134;210;174;;x +8094;176;0;47;;x +8095;8;3;175;;x +8096;50;6;48;;x +8097;92;9;176;;x +8098;134;12;49;;x +8099;176;15;177;;x +8100;8;18;50;;x +8101;50;21;178;;x +8102;92;24;51;;x +8103;134;27;179;;x +8104;176;30;52;;x +8105;8;33;180;;x +8106;50;36;53;;x +8107;92;39;181;;x +8108;134;42;54;;x +8109;176;45;182;;x +8110;8;48;55;;x +8111;50;51;183;;x +8112;92;54;56;;x +8113;134;57;184;;x +8114;176;60;57;;x +8115;8;63;185;;x +8116;50;66;58;;x +8117;92;69;186;;x +8118;134;72;59;;x +8119;176;75;187;;x +8120;8;78;60;;x +8121;50;81;188;;x +8122;92;84;61;;x +8123;134;87;189;;x +8124;176;90;62;;x +8125;8;93;190;;x +8126;50;96;63;;x +8127;92;99;191;;x +8128;134;102;64;;x +8129;176;105;192;;x +8130;8;108;65;;x +8131;50;111;193;;x +8132;92;114;66;;x +8133;134;117;194;;x +8134;176;120;67;;x +8135;8;123;195;;x +8136;50;126;68;;x +8137;92;129;196;;x +8138;134;132;69;;x +8139;176;135;197;;x +8140;8;138;70;;x +8141;50;141;198;;x +8142;92;144;71;;x +8143;134;147;199;;x +8144;176;150;72;;x +8145;8;153;200;;x +8146;50;156;73;;x +8147;92;159;201;;x +8148;134;162;74;;x +8149;176;165;202;;x +8150;8;168;75;;x +8151;50;171;203;;x +8152;92;174;76;;x +8153;134;177;204;;x +8154;176;180;77;;x +8155;8;183;205;;x +8156;50;186;78;;x +8157;92;189;206;;x +8158;134;192;79;;x +8159;176;195;207;;x +8160;8;198;80;;x +8161;50;201;208;;x +8162;92;204;81;;x +8163;134;207;209;;x +8164;176;210;82;;x +8165;8;0;210;;x +8166;50;3;83;;x +8167;92;6;211;;x +8168;134;9;84;;x +8169;176;12;212;;x +8170;8;15;85;;x +8171;50;18;213;;x +8172;92;21;86;;x +8173;134;24;214;;x +8174;176;27;87;;x +8175;8;30;215;;x +8176;50;33;88;;x +8177;92;36;216;;x +8178;134;39;89;;x +8179;176;42;217;;x +8180;8;45;90;;x +8181;50;48;218;;x +8182;92;51;91;;x +8183;134;54;219;;x +8184;176;57;92;;x +8185;8;60;220;;x +8186;50;63;93;;x +8187;92;66;221;;x +8188;134;69;94;;x +8189;176;72;222;;x +8190;8;75;95;;x +8191;50;78;223;;x +8192;92;81;96;;x +8193;134;84;224;;x +8194;176;87;97;;x +8195;8;90;225;;x +8196;50;93;98;;x +8197;92;96;226;;x +8198;134;99;99;;x +8199;176;102;227;;x +8200;8;105;0;;x +8201;50;108;128;;x +8202;92;111;1;;x +8203;134;114;129;;x +8204;176;117;2;;x +8205;8;120;130;;x +8206;50;123;3;;x +8207;92;126;131;;x +8208;134;129;4;;x +8209;176;132;132;;x +8210;8;135;5;;x +8211;50;138;133;;x +8212;92;141;6;;x +8213;134;144;134;;x +8214;176;147;7;;x +8215;8;150;135;;x +8216;50;153;8;;x +8217;92;156;136;;x +8218;134;159;9;;x +8219;176;162;137;;x +8220;8;165;10;;x +8221;50;168;138;;x +8222;92;171;11;;x +8223;134;174;139;;x +8224;176;177;12;;x +8225;8;180;140;;x +8226;50;183;13;;x +8227;92;186;141;;x +8228;134;189;14;;x +8229;176;192;142;;x +8230;8;195;15;;x +8231;50;198;143;;x +8232;92;201;16;;x +8233;134;204;144;;x +8234;176;207;17;;x +8235;8;210;145;;x +8236;50;0;18;;x +8237;92;3;146;;x +8238;134;6;19;;x +8239;176;9;147;;x +8240;8;12;20;;x +8241;50;15;148;;x +8242;92;18;21;;x +8243;134;21;149;;x +8244;176;24;22;;x +8245;8;27;150;;x +8246;50;30;23;;x +8247;92;33;151;;x +8248;134;36;24;;x +8249;176;39;152;;x +8250;8;42;25;;x +8251;50;45;153;;x +8252;92;48;26;;x +8253;134;51;154;;x +8254;176;54;27;;x +8255;8;57;155;;x +8256;50;60;28;;x +8257;92;63;156;;x +8258;134;66;29;;x +8259;176;69;157;;x +8260;8;72;30;;x +8261;50;75;158;;x +8262;92;78;31;;x +8263;134;81;159;;x +8264;176;84;32;;x +8265;8;87;160;;x +8266;50;90;33;;x +8267;92;93;161;;x +8268;134;96;34;;x +8269;176;99;162;;x +8270;8;102;35;;x +8271;50;105;163;;x +8272;92;108;36;;x +8273;134;111;164;;x +8274;176;114;37;;x +8275;8;117;165;;x +8276;50;120;38;;x +8277;92;123;166;;x +8278;134;126;39;;x +8279;176;129;167;;x +8280;8;132;40;;x +8281;50;135;168;;x +8282;92;138;41;;x +8283;134;141;169;;x +8284;176;144;42;;x +8285;8;147;170;;x +8286;50;150;43;;x +8287;92;153;171;;x +8288;134;156;44;;x +8289;176;159;172;;x +8290;8;162;45;;x +8291;50;165;173;;x +8292;92;168;46;;x +8293;134;171;174;;x +8294;176;174;47;;x +8295;8;177;175;;x +8296;50;180;48;;x +8297;92;183;176;;x +8298;134;186;49;;x +8299;176;189;177;;x +8300;8;192;50;;x +8301;50;195;178;;x +8302;92;198;51;;x +8303;134;201;179;;x +8304;176;204;52;;x +8305;8;207;180;;x +8306;50;210;53;;x +8307;92;0;181;;x +8308;134;3;54;;x +8309;176;6;182;;x +8310;8;9;55;;x +8311;50;12;183;;x +8312;92;15;56;;x +8313;134;18;184;;x +8314;176;21;57;;x +8315;8;24;185;;x +8316;50;27;58;;x +8317;92;30;186;;x +8318;134;33;59;;x +8319;176;36;187;;x +8320;8;39;60;;x +8321;50;42;188;;x +8322;92;45;61;;x +8323;134;48;189;;x +8324;176;51;62;;x +8325;8;54;190;;x +8326;50;57;63;;x +8327;92;60;191;;x +8328;134;63;64;;x +8329;176;66;192;;x +8330;8;69;65;;x +8331;50;72;193;;x +8332;92;75;66;;x +8333;134;78;194;;x +8334;176;81;67;;x +8335;8;84;195;;x +8336;50;87;68;;x +8337;92;90;196;;x +8338;134;93;69;;x +8339;176;96;197;;x +8340;8;99;70;;x +8341;50;102;198;;x +8342;92;105;71;;x +8343;134;108;199;;x +8344;176;111;72;;x +8345;8;114;200;;x +8346;50;117;73;;x +8347;92;120;201;;x +8348;134;123;74;;x +8349;176;126;202;;x +8350;8;129;75;;x +8351;50;132;203;;x +8352;92;135;76;;x +8353;134;138;204;;x +8354;176;141;77;;x +8355;8;144;205;;x +8356;50;147;78;;x +8357;92;150;206;;x +8358;134;153;79;;x +8359;176;156;207;;x +8360;8;159;80;;x +8361;50;162;208;;x +8362;92;165;81;;x +8363;134;168;209;;x +8364;176;171;82;;x +8365;8;174;210;;x +8366;50;177;83;;x +8367;92;180;211;;x +8368;134;183;84;;x +8369;176;186;212;;x +8370;8;189;85;;x +8371;50;192;213;;x +8372;92;195;86;;x +8373;134;198;214;;x +8374;176;201;87;;x +8375;8;204;215;;x +8376;50;207;88;;x +8377;92;210;216;;x +8378;134;0;89;;x +8379;176;3;217;;x +8380;8;6;90;;x +8381;50;9;218;;x +8382;92;12;91;;x +8383;134;15;219;;x +8384;176;18;92;;x +8385;8;21;220;;x +8386;50;24;93;;x +8387;92;27;221;;x +8388;134;30;94;;x +8389;176;33;222;;x +8390;8;36;95;;x +8391;50;39;223;;x +8392;92;42;96;;x +8393;134;45;224;;x +8394;176;48;97;;x +8395;8;51;225;;x +8396;50;54;98;;x +8397;92;57;226;;x +8398;134;60;99;;x +8399;176;63;227;;x +8400;8;66;0;;x +8401;50;69;128;;x +8402;92;72;1;;x +8403;134;75;129;;x +8404;176;78;2;;x +8405;8;81;130;;x +8406;50;84;3;;x +8407;92;87;131;;x +8408;134;90;4;;x +8409;176;93;132;;x +8410;8;96;5;;x +8411;50;99;133;;x +8412;92;102;6;;x +8413;134;105;134;;x +8414;176;108;7;;x +8415;8;111;135;;x +8416;50;114;8;;x +8417;92;117;136;;x +8418;134;120;9;;x +8419;176;123;137;;x +8420;8;126;10;;x +8421;50;129;138;;x +8422;92;132;11;;x +8423;134;135;139;;x +8424;176;138;12;;x +8425;8;141;140;;x +8426;50;144;13;;x +8427;92;147;141;;x +8428;134;150;14;;x +8429;176;153;142;;x +8430;8;156;15;;x +8431;50;159;143;;x +8432;92;162;16;;x +8433;134;165;144;;x +8434;176;168;17;;x +8435;8;171;145;;x +8436;50;174;18;;x +8437;92;177;146;;x +8438;134;180;19;;x +8439;176;183;147;;x +8440;8;186;20;;x +8441;50;189;148;;x +8442;92;192;21;;x +8443;134;195;149;;x +8444;176;198;22;;x +8445;8;201;150;;x +8446;50;204;23;;x +8447;92;207;151;;x +8448;134;210;24;;x +8449;176;0;152;;x +8450;8;3;25;;x +8451;50;6;153;;x +8452;92;9;26;;x +8453;134;12;154;;x +8454;176;15;27;;x +8455;8;18;155;;x +8456;50;21;28;;x +8457;92;24;156;;x +8458;134;27;29;;x +8459;176;30;157;;x +8460;8;33;30;;x +8461;50;36;158;;x +8462;92;39;31;;x +8463;134;42;159;;x +8464;176;45;32;;x +8465;8;48;160;;x +8466;50;51;33;;x +8467;92;54;161;;x +8468;134;57;34;;x +8469;176;60;162;;x +8470;8;63;35;;x +8471;50;66;163;;x +8472;92;69;36;;x +8473;134;72;164;;x +8474;176;75;37;;x +8475;8;78;165;;x +8476;50;81;38;;x +8477;92;84;166;;x +8478;134;87;39;;x +8479;176;90;167;;x +8480;8;93;40;;x +8481;50;96;168;;x +8482;92;99;41;;x +8483;134;102;169;;x +8484;176;105;42;;x +8485;8;108;170;;x +8486;50;111;43;;x +8487;92;114;171;;x +8488;134;117;44;;x +8489;176;120;172;;x +8490;8;123;45;;x +8491;50;126;173;;x +8492;92;129;46;;x +8493;134;132;174;;x +8494;176;135;47;;x +8495;8;138;175;;x +8496;50;141;48;;x +8497;92;144;176;;x +8498;134;147;49;;x +8499;176;150;177;;x +8500;8;153;50;;x +8501;50;156;178;;x +8502;92;159;51;;x +8503;134;162;179;;x +8504;176;165;52;;x +8505;8;168;180;;x +8506;50;171;53;;x +8507;92;174;181;;x +8508;134;177;54;;x +8509;176;180;182;;x +8510;8;183;55;;x +8511;50;186;183;;x +8512;92;189;56;;x +8513;134;192;184;;x +8514;176;195;57;;x +8515;8;198;185;;x +8516;50;201;58;;x +8517;92;204;186;;x +8518;134;207;59;;x +8519;176;210;187;;x +8520;8;0;60;;x +8521;50;3;188;;x +8522;92;6;61;;x +8523;134;9;189;;x +8524;176;12;62;;x +8525;8;15;190;;x +8526;50;18;63;;x +8527;92;21;191;;x +8528;134;24;64;;x +8529;176;27;192;;x +8530;8;30;65;;x +8531;50;33;193;;x +8532;92;36;66;;x +8533;134;39;194;;x +8534;176;42;67;;x +8535;8;45;195;;x +8536;50;48;68;;x +8537;92;51;196;;x +8538;134;54;69;;x +8539;176;57;197;;x +8540;8;60;70;;x +8541;50;63;198;;x +8542;92;66;71;;x +8543;134;69;199;;x +8544;176;72;72;;x +8545;8;75;200;;x +8546;50;78;73;;x +8547;92;81;201;;x +8548;134;84;74;;x +8549;176;87;202;;x +8550;8;90;75;;x +8551;50;93;203;;x +8552;92;96;76;;x +8553;134;99;204;;x +8554;176;102;77;;x +8555;8;105;205;;x +8556;50;108;78;;x +8557;92;111;206;;x +8558;134;114;79;;x +8559;176;117;207;;x +8560;8;120;80;;x +8561;50;123;208;;x +8562;92;126;81;;x +8563;134;129;209;;x +8564;176;132;82;;x +8565;8;135;210;;x +8566;50;138;83;;x +8567;92;141;211;;x +8568;134;144;84;;x +8569;176;147;212;;x +8570;8;150;85;;x +8571;50;153;213;;x +8572;92;156;86;;x +8573;134;159;214;;x +8574;176;162;87;;x +8575;8;165;215;;x +8576;50;168;88;;x +8577;92;171;216;;x +8578;134;174;89;;x +8579;176;177;217;;x +8580;8;180;90;;x +8581;50;183;218;;x +8582;92;186;91;;x +8583;134;189;219;;x +8584;176;192;92;;x +8585;8;195;220;;x +8586;50;198;93;;x +8587;92;201;221;;x +8588;134;204;94;;x +8589;176;207;222;;x +8590;8;210;95;;x +8591;50;0;223;;x +8592;92;3;96;;x +8593;134;6;224;;x +8594;176;9;97;;x +8595;8;12;225;;x +8596;50;15;98;;x +8597;92;18;226;;x +8598;134;21;99;;x +8599;176;24;227;;x +8600;8;27;0;;x +8601;50;30;128;;x +8602;92;33;1;;x +8603;134;36;129;;x +8604;176;39;2;;x +8605;8;42;130;;x +8606;50;45;3;;x +8607;92;48;131;;x +8608;134;51;4;;x +8609;176;54;132;;x +8610;8;57;5;;x +8611;50;60;133;;x +8612;92;63;6;;x +8613;134;66;134;;x +8614;176;69;7;;x +8615;8;72;135;;x +8616;50;75;8;;x +8617;92;78;136;;x +8618;134;81;9;;x +8619;176;84;137;;x +8620;8;87;10;;x +8621;50;90;138;;x +8622;92;93;11;;x +8623;134;96;139;;x +8624;176;99;12;;x +8625;8;102;140;;x +8626;50;105;13;;x +8627;92;108;141;;x +8628;134;111;14;;x +8629;176;114;142;;x +8630;8;117;15;;x +8631;50;120;143;;x +8632;92;123;16;;x +8633;134;126;144;;x +8634;176;129;17;;x +8635;8;132;145;;x +8636;50;135;18;;x +8637;92;138;146;;x +8638;134;141;19;;x +8639;176;144;147;;x +8640;8;147;20;;x +8641;50;150;148;;x +8642;92;153;21;;x +8643;134;156;149;;x +8644;176;159;22;;x +8645;8;162;150;;x +8646;50;165;23;;x +8647;92;168;151;;x +8648;134;171;24;;x +8649;176;174;152;;x +8650;8;177;25;;x +8651;50;180;153;;x +8652;92;183;26;;x +8653;134;186;154;;x +8654;176;189;27;;x +8655;8;192;155;;x +8656;50;195;28;;x +8657;92;198;156;;x +8658;134;201;29;;x +8659;176;204;157;;x +8660;8;207;30;;x +8661;50;210;158;;x +8662;92;0;31;;x +8663;134;3;159;;x +8664;176;6;32;;x +8665;8;9;160;;x +8666;50;12;33;;x +8667;92;15;161;;x +8668;134;18;34;;x +8669;176;21;162;;x +8670;8;24;35;;x +8671;50;27;163;;x +8672;92;30;36;;x +8673;134;33;164;;x +8674;176;36;37;;x +8675;8;39;165;;x +8676;50;42;38;;x +8677;92;45;166;;x +8678;134;48;39;;x +8679;176;51;167;;x +8680;8;54;40;;x +8681;50;57;168;;x +8682;92;60;41;;x +8683;134;63;169;;x +8684;176;66;42;;x +8685;8;69;170;;x +8686;50;72;43;;x +8687;92;75;171;;x +8688;134;78;44;;x +8689;176;81;172;;x +8690;8;84;45;;x +8691;50;87;173;;x +8692;92;90;46;;x +8693;134;93;174;;x +8694;176;96;47;;x +8695;8;99;175;;x +8696;50;102;48;;x +8697;92;105;176;;x +8698;134;108;49;;x +8699;176;111;177;;x +8700;8;114;50;;x +8701;50;117;178;;x +8702;92;120;51;;x +8703;134;123;179;;x +8704;176;126;52;;x +8705;8;129;180;;x +8706;50;132;53;;x +8707;92;135;181;;x +8708;134;138;54;;x +8709;176;141;182;;x +8710;8;144;55;;x +8711;50;147;183;;x +8712;92;150;56;;x +8713;134;153;184;;x +8714;176;156;57;;x +8715;8;159;185;;x +8716;50;162;58;;x +8717;92;165;186;;x +8718;134;168;59;;x +8719;176;171;187;;x +8720;8;174;60;;x +8721;50;177;188;;x +8722;92;180;61;;x +8723;134;183;189;;x +8724;176;186;62;;x +8725;8;189;190;;x +8726;50;192;63;;x +8727;92;195;191;;x +8728;134;198;64;;x +8729;176;201;192;;x +8730;8;204;65;;x +8731;50;207;193;;x +8732;92;210;66;;x +8733;134;0;194;;x +8734;176;3;67;;x +8735;8;6;195;;x +8736;50;9;68;;x +8737;92;12;196;;x +8738;134;15;69;;x +8739;176;18;197;;x +8740;8;21;70;;x +8741;50;24;198;;x +8742;92;27;71;;x +8743;134;30;199;;x +8744;176;33;72;;x +8745;8;36;200;;x +8746;50;39;73;;x +8747;92;42;201;;x +8748;134;45;74;;x +8749;176;48;202;;x +8750;8;51;75;;x +8751;50;54;203;;x +8752;92;57;76;;x +8753;134;60;204;;x +8754;176;63;77;;x +8755;8;66;205;;x +8756;50;69;78;;x +8757;92;72;206;;x +8758;134;75;79;;x +8759;176;78;207;;x +8760;8;81;80;;x +8761;50;84;208;;x +8762;92;87;81;;x +8763;134;90;209;;x +8764;176;93;82;;x +8765;8;96;210;;x +8766;50;99;83;;x +8767;92;102;211;;x +8768;134;105;84;;x +8769;176;108;212;;x +8770;8;111;85;;x +8771;50;114;213;;x +8772;92;117;86;;x +8773;134;120;214;;x +8774;176;123;87;;x +8775;8;126;215;;x +8776;50;129;88;;x +8777;92;132;216;;x +8778;134;135;89;;x +8779;176;138;217;;x +8780;8;141;90;;x +8781;50;144;218;;x +8782;92;147;91;;x +8783;134;150;219;;x +8784;176;153;92;;x +8785;8;156;220;;x +8786;50;159;93;;x +8787;92;162;221;;x +8788;134;165;94;;x +8789;176;168;222;;x +8790;8;171;95;;x +8791;50;174;223;;x +8792;92;177;96;;x +8793;134;180;224;;x +8794;176;183;97;;x +8795;8;186;225;;x +8796;50;189;98;;x +8797;92;192;226;;x +8798;134;195;99;;x +8799;176;198;227;;x +8800;8;201;0;;x +8801;50;204;128;;x +8802;92;207;1;;x +8803;134;210;129;;x +8804;176;0;2;;x +8805;8;3;130;;x +8806;50;6;3;;x +8807;92;9;131;;x +8808;134;12;4;;x +8809;176;15;132;;x +8810;8;18;5;;x +8811;50;21;133;;x +8812;92;24;6;;x +8813;134;27;134;;x +8814;176;30;7;;x +8815;8;33;135;;x +8816;50;36;8;;x +8817;92;39;136;;x +8818;134;42;9;;x +8819;176;45;137;;x +8820;8;48;10;;x +8821;50;51;138;;x +8822;92;54;11;;x +8823;134;57;139;;x +8824;176;60;12;;x +8825;8;63;140;;x +8826;50;66;13;;x +8827;92;69;141;;x +8828;134;72;14;;x +8829;176;75;142;;x +8830;8;78;15;;x +8831;50;81;143;;x +8832;92;84;16;;x +8833;134;87;144;;x +8834;176;90;17;;x +8835;8;93;145;;x +8836;50;96;18;;x +8837;92;99;146;;x +8838;134;102;19;;x +8839;176;105;147;;x +8840;8;108;20;;x +8841;50;111;148;;x +8842;92;114;21;;x +8843;134;117;149;;x +8844;176;120;22;;x +8845;8;123;150;;x +8846;50;126;23;;x +8847;92;129;151;;x +8848;134;132;24;;x +8849;176;135;152;;x +8850;8;138;25;;x +8851;50;141;153;;x +8852;92;144;26;;x +8853;134;147;154;;x +8854;176;150;27;;x +8855;8;153;155;;x +8856;50;156;28;;x +8857;92;159;156;;x +8858;134;162;29;;x +8859;176;165;157;;x +8860;8;168;30;;x +8861;50;171;158;;x +8862;92;174;31;;x +8863;134;177;159;;x +8864;176;180;32;;x +8865;8;183;160;;x +8866;50;186;33;;x +8867;92;189;161;;x +8868;134;192;34;;x +8869;176;195;162;;x +8870;8;198;35;;x +8871;50;201;163;;x +8872;92;204;36;;x +8873;134;207;164;;x +8874;176;210;37;;x +8875;8;0;165;;x +8876;50;3;38;;x +8877;92;6;166;;x +8878;134;9;39;;x +8879;176;12;167;;x +8880;8;15;40;;x +8881;50;18;168;;x +8882;92;21;41;;x +8883;134;24;169;;x +8884;176;27;42;;x +8885;8;30;170;;x +8886;50;33;43;;x +8887;92;36;171;;x +8888;134;39;44;;x +8889;176;42;172;;x +8890;8;45;45;;x +8891;50;48;173;;x +8892;92;51;46;;x +8893;134;54;174;;x +8894;176;57;47;;x +8895;8;60;175;;x +8896;50;63;48;;x +8897;92;66;176;;x +8898;134;69;49;;x +8899;176;72;177;;x +8900;8;75;50;;x +8901;50;78;178;;x +8902;92;81;51;;x +8903;134;84;179;;x +8904;176;87;52;;x +8905;8;90;180;;x +8906;50;93;53;;x +8907;92;96;181;;x +8908;134;99;54;;x +8909;176;102;182;;x +8910;8;105;55;;x +8911;50;108;183;;x +8912;92;111;56;;x +8913;134;114;184;;x +8914;176;117;57;;x +8915;8;120;185;;x +8916;50;123;58;;x +8917;92;126;186;;x +8918;134;129;59;;x +8919;176;132;187;;x +8920;8;135;60;;x +8921;50;138;188;;x +8922;92;141;61;;x +8923;134;144;189;;x +8924;176;147;62;;x +8925;8;150;190;;x +8926;50;153;63;;x +8927;92;156;191;;x +8928;134;159;64;;x +8929;176;162;192;;x +8930;8;165;65;;x +8931;50;168;193;;x +8932;92;171;66;;x +8933;134;174;194;;x +8934;176;177;67;;x +8935;8;180;195;;x +8936;50;183;68;;x +8937;92;186;196;;x +8938;134;189;69;;x +8939;176;192;197;;x +8940;8;195;70;;x +8941;50;198;198;;x +8942;92;201;71;;x +8943;134;204;199;;x +8944;176;207;72;;x +8945;8;210;200;;x +8946;50;0;73;;x +8947;92;3;201;;x +8948;134;6;74;;x +8949;176;9;202;;x +8950;8;12;75;;x +8951;50;15;203;;x +8952;92;18;76;;x +8953;134;21;204;;x +8954;176;24;77;;x +8955;8;27;205;;x +8956;50;30;78;;x +8957;92;33;206;;x +8958;134;36;79;;x +8959;176;39;207;;x +8960;8;42;80;;x +8961;50;45;208;;x +8962;92;48;81;;x +8963;134;51;209;;x +8964;176;54;82;;x +8965;8;57;210;;x +8966;50;60;83;;x +8967;92;63;211;;x +8968;134;66;84;;x +8969;176;69;212;;x +8970;8;72;85;;x +8971;50;75;213;;x +8972;92;78;86;;x +8973;134;81;214;;x +8974;176;84;87;;x +8975;8;87;215;;x +8976;50;90;88;;x +8977;92;93;216;;x +8978;134;96;89;;x +8979;176;99;217;;x +8980;8;102;90;;x +8981;50;105;218;;x +8982;92;108;91;;x +8983;134;111;219;;x +8984;176;114;92;;x +8985;8;117;220;;x +8986;50;120;93;;x +8987;92;123;221;;x +8988;134;126;94;;x +8989;176;129;222;;x +8990;8;132;95;;x +8991;50;135;223;;x +8992;92;138;96;;x +8993;134;141;224;;x +8994;176;144;97;;x +8995;8;147;225;;x +8996;50;150;98;;x +8997;92;153;226;;x +8998;134;156;99;;x +8999;176;159;227;;x +9000;9;162;0;;x +9001;51;165;128;;x +9002;93;168;1;;x +9003;135;171;129;;x +9004;177;174;2;;x +9005;9;177;130;;x +9006;51;180;3;;x +9007;93;183;131;;x +9008;135;186;4;;x +9009;177;189;132;;x +9010;9;192;5;;x +9011;51;195;133;;x +9012;93;198;6;;x +9013;135;201;134;;x +9014;177;204;7;;x +9015;9;207;135;;x +9016;51;210;8;;x +9017;93;0;136;;x +9018;135;3;9;;x +9019;177;6;137;;x +9020;9;9;10;;x +9021;51;12;138;;x +9022;93;15;11;;x +9023;135;18;139;;x +9024;177;21;12;;x +9025;9;24;140;;x +9026;51;27;13;;x +9027;93;30;141;;x +9028;135;33;14;;x +9029;177;36;142;;x +9030;9;39;15;;x +9031;51;42;143;;x +9032;93;45;16;;x +9033;135;48;144;;x +9034;177;51;17;;x +9035;9;54;145;;x +9036;51;57;18;;x +9037;93;60;146;;x +9038;135;63;19;;x +9039;177;66;147;;x +9040;9;69;20;;x +9041;51;72;148;;x +9042;93;75;21;;x +9043;135;78;149;;x +9044;177;81;22;;x +9045;9;84;150;;x +9046;51;87;23;;x +9047;93;90;151;;x +9048;135;93;24;;x +9049;177;96;152;;x +9050;9;99;25;;x +9051;51;102;153;;x +9052;93;105;26;;x +9053;135;108;154;;x +9054;177;111;27;;x +9055;9;114;155;;x +9056;51;117;28;;x +9057;93;120;156;;x +9058;135;123;29;;x +9059;177;126;157;;x +9060;9;129;30;;x +9061;51;132;158;;x +9062;93;135;31;;x +9063;135;138;159;;x +9064;177;141;32;;x +9065;9;144;160;;x +9066;51;147;33;;x +9067;93;150;161;;x +9068;135;153;34;;x +9069;177;156;162;;x +9070;9;159;35;;x +9071;51;162;163;;x +9072;93;165;36;;x +9073;135;168;164;;x +9074;177;171;37;;x +9075;9;174;165;;x +9076;51;177;38;;x +9077;93;180;166;;x +9078;135;183;39;;x +9079;177;186;167;;x +9080;9;189;40;;x +9081;51;192;168;;x +9082;93;195;41;;x +9083;135;198;169;;x +9084;177;201;42;;x +9085;9;204;170;;x +9086;51;207;43;;x +9087;93;210;171;;x +9088;135;0;44;;x +9089;177;3;172;;x +9090;9;6;45;;x +9091;51;9;173;;x +9092;93;12;46;;x +9093;135;15;174;;x +9094;177;18;47;;x +9095;9;21;175;;x +9096;51;24;48;;x +9097;93;27;176;;x +9098;135;30;49;;x +9099;177;33;177;;x +9100;9;36;50;;x +9101;51;39;178;;x +9102;93;42;51;;x +9103;135;45;179;;x +9104;177;48;52;;x +9105;9;51;180;;x +9106;51;54;53;;x +9107;93;57;181;;x +9108;135;60;54;;x +9109;177;63;182;;x +9110;9;66;55;;x +9111;51;69;183;;x +9112;93;72;56;;x +9113;135;75;184;;x +9114;177;78;57;;x +9115;9;81;185;;x +9116;51;84;58;;x +9117;93;87;186;;x +9118;135;90;59;;x +9119;177;93;187;;x +9120;9;96;60;;x +9121;51;99;188;;x +9122;93;102;61;;x +9123;135;105;189;;x +9124;177;108;62;;x +9125;9;111;190;;x +9126;51;114;63;;x +9127;93;117;191;;x +9128;135;120;64;;x +9129;177;123;192;;x +9130;9;126;65;;x +9131;51;129;193;;x +9132;93;132;66;;x +9133;135;135;194;;x +9134;177;138;67;;x +9135;9;141;195;;x +9136;51;144;68;;x +9137;93;147;196;;x +9138;135;150;69;;x +9139;177;153;197;;x +9140;9;156;70;;x +9141;51;159;198;;x +9142;93;162;71;;x +9143;135;165;199;;x +9144;177;168;72;;x +9145;9;171;200;;x +9146;51;174;73;;x +9147;93;177;201;;x +9148;135;180;74;;x +9149;177;183;202;;x +9150;9;186;75;;x +9151;51;189;203;;x +9152;93;192;76;;x +9153;135;195;204;;x +9154;177;198;77;;x +9155;9;201;205;;x +9156;51;204;78;;x +9157;93;207;206;;x +9158;135;210;79;;x +9159;177;0;207;;x +9160;9;3;80;;x +9161;51;6;208;;x +9162;93;9;81;;x +9163;135;12;209;;x +9164;177;15;82;;x +9165;9;18;210;;x +9166;51;21;83;;x +9167;93;24;211;;x +9168;135;27;84;;x +9169;177;30;212;;x +9170;9;33;85;;x +9171;51;36;213;;x +9172;93;39;86;;x +9173;135;42;214;;x +9174;177;45;87;;x +9175;9;48;215;;x +9176;51;51;88;;x +9177;93;54;216;;x +9178;135;57;89;;x +9179;177;60;217;;x +9180;9;63;90;;x +9181;51;66;218;;x +9182;93;69;91;;x +9183;135;72;219;;x +9184;177;75;92;;x +9185;9;78;220;;x +9186;51;81;93;;x +9187;93;84;221;;x +9188;135;87;94;;x +9189;177;90;222;;x +9190;9;93;95;;x +9191;51;96;223;;x +9192;93;99;96;;x +9193;135;102;224;;x +9194;177;105;97;;x +9195;9;108;225;;x +9196;51;111;98;;x +9197;93;114;226;;x +9198;135;117;99;;x +9199;177;120;227;;x +9200;9;123;0;;x +9201;51;126;128;;x +9202;93;129;1;;x +9203;135;132;129;;x +9204;177;135;2;;x +9205;9;138;130;;x +9206;51;141;3;;x +9207;93;144;131;;x +9208;135;147;4;;x +9209;177;150;132;;x +9210;9;153;5;;x +9211;51;156;133;;x +9212;93;159;6;;x +9213;135;162;134;;x +9214;177;165;7;;x +9215;9;168;135;;x +9216;51;171;8;;x +9217;93;174;136;;x +9218;135;177;9;;x +9219;177;180;137;;x +9220;9;183;10;;x +9221;51;186;138;;x +9222;93;189;11;;x +9223;135;192;139;;x +9224;177;195;12;;x +9225;9;198;140;;x +9226;51;201;13;;x +9227;93;204;141;;x +9228;135;207;14;;x +9229;177;210;142;;x +9230;9;0;15;;x +9231;51;3;143;;x +9232;93;6;16;;x +9233;135;9;144;;x +9234;177;12;17;;x +9235;9;15;145;;x +9236;51;18;18;;x +9237;93;21;146;;x +9238;135;24;19;;x +9239;177;27;147;;x +9240;9;30;20;;x +9241;51;33;148;;x +9242;93;36;21;;x +9243;135;39;149;;x +9244;177;42;22;;x +9245;9;45;150;;x +9246;51;48;23;;x +9247;93;51;151;;x +9248;135;54;24;;x +9249;177;57;152;;x +9250;9;60;25;;x +9251;51;63;153;;x +9252;93;66;26;;x +9253;135;69;154;;x +9254;177;72;27;;x +9255;9;75;155;;x +9256;51;78;28;;x +9257;93;81;156;;x +9258;135;84;29;;x +9259;177;87;157;;x +9260;9;90;30;;x +9261;51;93;158;;x +9262;93;96;31;;x +9263;135;99;159;;x +9264;177;102;32;;x +9265;9;105;160;;x +9266;51;108;33;;x +9267;93;111;161;;x +9268;135;114;34;;x +9269;177;117;162;;x +9270;9;120;35;;x +9271;51;123;163;;x +9272;93;126;36;;x +9273;135;129;164;;x +9274;177;132;37;;x +9275;9;135;165;;x +9276;51;138;38;;x +9277;93;141;166;;x +9278;135;144;39;;x +9279;177;147;167;;x +9280;9;150;40;;x +9281;51;153;168;;x +9282;93;156;41;;x +9283;135;159;169;;x +9284;177;162;42;;x +9285;9;165;170;;x +9286;51;168;43;;x +9287;93;171;171;;x +9288;135;174;44;;x +9289;177;177;172;;x +9290;9;180;45;;x +9291;51;183;173;;x +9292;93;186;46;;x +9293;135;189;174;;x +9294;177;192;47;;x +9295;9;195;175;;x +9296;51;198;48;;x +9297;93;201;176;;x +9298;135;204;49;;x +9299;177;207;177;;x +9300;9;210;50;;x +9301;51;0;178;;x +9302;93;3;51;;x +9303;135;6;179;;x +9304;177;9;52;;x +9305;9;12;180;;x +9306;51;15;53;;x +9307;93;18;181;;x +9308;135;21;54;;x +9309;177;24;182;;x +9310;9;27;55;;x +9311;51;30;183;;x +9312;93;33;56;;x +9313;135;36;184;;x +9314;177;39;57;;x +9315;9;42;185;;x +9316;51;45;58;;x +9317;93;48;186;;x +9318;135;51;59;;x +9319;177;54;187;;x +9320;9;57;60;;x +9321;51;60;188;;x +9322;93;63;61;;x +9323;135;66;189;;x +9324;177;69;62;;x +9325;9;72;190;;x +9326;51;75;63;;x +9327;93;78;191;;x +9328;135;81;64;;x +9329;177;84;192;;x +9330;9;87;65;;x +9331;51;90;193;;x +9332;93;93;66;;x +9333;135;96;194;;x +9334;177;99;67;;x +9335;9;102;195;;x +9336;51;105;68;;x +9337;93;108;196;;x +9338;135;111;69;;x +9339;177;114;197;;x +9340;9;117;70;;x +9341;51;120;198;;x +9342;93;123;71;;x +9343;135;126;199;;x +9344;177;129;72;;x +9345;9;132;200;;x +9346;51;135;73;;x +9347;93;138;201;;x +9348;135;141;74;;x +9349;177;144;202;;x +9350;9;147;75;;x +9351;51;150;203;;x +9352;93;153;76;;x +9353;135;156;204;;x +9354;177;159;77;;x +9355;9;162;205;;x +9356;51;165;78;;x +9357;93;168;206;;x +9358;135;171;79;;x +9359;177;174;207;;x +9360;9;177;80;;x +9361;51;180;208;;x +9362;93;183;81;;x +9363;135;186;209;;x +9364;177;189;82;;x +9365;9;192;210;;x +9366;51;195;83;;x +9367;93;198;211;;x +9368;135;201;84;;x +9369;177;204;212;;x +9370;9;207;85;;x +9371;51;210;213;;x +9372;93;0;86;;x +9373;135;3;214;;x +9374;177;6;87;;x +9375;9;9;215;;x +9376;51;12;88;;x +9377;93;15;216;;x +9378;135;18;89;;x +9379;177;21;217;;x +9380;9;24;90;;x +9381;51;27;218;;x +9382;93;30;91;;x +9383;135;33;219;;x +9384;177;36;92;;x +9385;9;39;220;;x +9386;51;42;93;;x +9387;93;45;221;;x +9388;135;48;94;;x +9389;177;51;222;;x +9390;9;54;95;;x +9391;51;57;223;;x +9392;93;60;96;;x +9393;135;63;224;;x +9394;177;66;97;;x +9395;9;69;225;;x +9396;51;72;98;;x +9397;93;75;226;;x +9398;135;78;99;;x +9399;177;81;227;;x +9400;9;84;0;;x +9401;51;87;128;;x +9402;93;90;1;;x +9403;135;93;129;;x +9404;177;96;2;;x +9405;9;99;130;;x +9406;51;102;3;;x +9407;93;105;131;;x +9408;135;108;4;;x +9409;177;111;132;;x +9410;9;114;5;;x +9411;51;117;133;;x +9412;93;120;6;;x +9413;135;123;134;;x +9414;177;126;7;;x +9415;9;129;135;;x +9416;51;132;8;;x +9417;93;135;136;;x +9418;135;138;9;;x +9419;177;141;137;;x +9420;9;144;10;;x +9421;51;147;138;;x +9422;93;150;11;;x +9423;135;153;139;;x +9424;177;156;12;;x +9425;9;159;140;;x +9426;51;162;13;;x +9427;93;165;141;;x +9428;135;168;14;;x +9429;177;171;142;;x +9430;9;174;15;;x +9431;51;177;143;;x +9432;93;180;16;;x +9433;135;183;144;;x +9434;177;186;17;;x +9435;9;189;145;;x +9436;51;192;18;;x +9437;93;195;146;;x +9438;135;198;19;;x +9439;177;201;147;;x +9440;9;204;20;;x +9441;51;207;148;;x +9442;93;210;21;;x +9443;135;0;149;;x +9444;177;3;22;;x +9445;9;6;150;;x +9446;51;9;23;;x +9447;93;12;151;;x +9448;135;15;24;;x +9449;177;18;152;;x +9450;9;21;25;;x +9451;51;24;153;;x +9452;93;27;26;;x +9453;135;30;154;;x +9454;177;33;27;;x +9455;9;36;155;;x +9456;51;39;28;;x +9457;93;42;156;;x +9458;135;45;29;;x +9459;177;48;157;;x +9460;9;51;30;;x +9461;51;54;158;;x +9462;93;57;31;;x +9463;135;60;159;;x +9464;177;63;32;;x +9465;9;66;160;;x +9466;51;69;33;;x +9467;93;72;161;;x +9468;135;75;34;;x +9469;177;78;162;;x +9470;9;81;35;;x +9471;51;84;163;;x +9472;93;87;36;;x +9473;135;90;164;;x +9474;177;93;37;;x +9475;9;96;165;;x +9476;51;99;38;;x +9477;93;102;166;;x +9478;135;105;39;;x +9479;177;108;167;;x +9480;9;111;40;;x +9481;51;114;168;;x +9482;93;117;41;;x +9483;135;120;169;;x +9484;177;123;42;;x +9485;9;126;170;;x +9486;51;129;43;;x +9487;93;132;171;;x +9488;135;135;44;;x +9489;177;138;172;;x +9490;9;141;45;;x +9491;51;144;173;;x +9492;93;147;46;;x +9493;135;150;174;;x +9494;177;153;47;;x +9495;9;156;175;;x +9496;51;159;48;;x +9497;93;162;176;;x +9498;135;165;49;;x +9499;177;168;177;;x +9500;9;171;50;;x +9501;51;174;178;;x +9502;93;177;51;;x +9503;135;180;179;;x +9504;177;183;52;;x +9505;9;186;180;;x +9506;51;189;53;;x +9507;93;192;181;;x +9508;135;195;54;;x +9509;177;198;182;;x +9510;9;201;55;;x +9511;51;204;183;;x +9512;93;207;56;;x +9513;135;210;184;;x +9514;177;0;57;;x +9515;9;3;185;;x +9516;51;6;58;;x +9517;93;9;186;;x +9518;135;12;59;;x +9519;177;15;187;;x +9520;9;18;60;;x +9521;51;21;188;;x +9522;93;24;61;;x +9523;135;27;189;;x +9524;177;30;62;;x +9525;9;33;190;;x +9526;51;36;63;;x +9527;93;39;191;;x +9528;135;42;64;;x +9529;177;45;192;;x +9530;9;48;65;;x +9531;51;51;193;;x +9532;93;54;66;;x +9533;135;57;194;;x +9534;177;60;67;;x +9535;9;63;195;;x +9536;51;66;68;;x +9537;93;69;196;;x +9538;135;72;69;;x +9539;177;75;197;;x +9540;9;78;70;;x +9541;51;81;198;;x +9542;93;84;71;;x +9543;135;87;199;;x +9544;177;90;72;;x +9545;9;93;200;;x +9546;51;96;73;;x +9547;93;99;201;;x +9548;135;102;74;;x +9549;177;105;202;;x +9550;9;108;75;;x +9551;51;111;203;;x +9552;93;114;76;;x +9553;135;117;204;;x +9554;177;120;77;;x +9555;9;123;205;;x +9556;51;126;78;;x +9557;93;129;206;;x +9558;135;132;79;;x +9559;177;135;207;;x +9560;9;138;80;;x +9561;51;141;208;;x +9562;93;144;81;;x +9563;135;147;209;;x +9564;177;150;82;;x +9565;9;153;210;;x +9566;51;156;83;;x +9567;93;159;211;;x +9568;135;162;84;;x +9569;177;165;212;;x +9570;9;168;85;;x +9571;51;171;213;;x +9572;93;174;86;;x +9573;135;177;214;;x +9574;177;180;87;;x +9575;9;183;215;;x +9576;51;186;88;;x +9577;93;189;216;;x +9578;135;192;89;;x +9579;177;195;217;;x +9580;9;198;90;;x +9581;51;201;218;;x +9582;93;204;91;;x +9583;135;207;219;;x +9584;177;210;92;;x +9585;9;0;220;;x +9586;51;3;93;;x +9587;93;6;221;;x +9588;135;9;94;;x +9589;177;12;222;;x +9590;9;15;95;;x +9591;51;18;223;;x +9592;93;21;96;;x +9593;135;24;224;;x +9594;177;27;97;;x +9595;9;30;225;;x +9596;51;33;98;;x +9597;93;36;226;;x +9598;135;39;99;;x +9599;177;42;227;;x +9600;9;45;0;;x +9601;51;48;128;;x +9602;93;51;1;;x +9603;135;54;129;;x +9604;177;57;2;;x +9605;9;60;130;;x +9606;51;63;3;;x +9607;93;66;131;;x +9608;135;69;4;;x +9609;177;72;132;;x +9610;9;75;5;;x +9611;51;78;133;;x +9612;93;81;6;;x +9613;135;84;134;;x +9614;177;87;7;;x +9615;9;90;135;;x +9616;51;93;8;;x +9617;93;96;136;;x +9618;135;99;9;;x +9619;177;102;137;;x +9620;9;105;10;;x +9621;51;108;138;;x +9622;93;111;11;;x +9623;135;114;139;;x +9624;177;117;12;;x +9625;9;120;140;;x +9626;51;123;13;;x +9627;93;126;141;;x +9628;135;129;14;;x +9629;177;132;142;;x +9630;9;135;15;;x +9631;51;138;143;;x +9632;93;141;16;;x +9633;135;144;144;;x +9634;177;147;17;;x +9635;9;150;145;;x +9636;51;153;18;;x +9637;93;156;146;;x +9638;135;159;19;;x +9639;177;162;147;;x +9640;9;165;20;;x +9641;51;168;148;;x +9642;93;171;21;;x +9643;135;174;149;;x +9644;177;177;22;;x +9645;9;180;150;;x +9646;51;183;23;;x +9647;93;186;151;;x +9648;135;189;24;;x +9649;177;192;152;;x +9650;9;195;25;;x +9651;51;198;153;;x +9652;93;201;26;;x +9653;135;204;154;;x +9654;177;207;27;;x +9655;9;210;155;;x +9656;51;0;28;;x +9657;93;3;156;;x +9658;135;6;29;;x +9659;177;9;157;;x +9660;9;12;30;;x +9661;51;15;158;;x +9662;93;18;31;;x +9663;135;21;159;;x +9664;177;24;32;;x +9665;9;27;160;;x +9666;51;30;33;;x +9667;93;33;161;;x +9668;135;36;34;;x +9669;177;39;162;;x +9670;9;42;35;;x +9671;51;45;163;;x +9672;93;48;36;;x +9673;135;51;164;;x +9674;177;54;37;;x +9675;9;57;165;;x +9676;51;60;38;;x +9677;93;63;166;;x +9678;135;66;39;;x +9679;177;69;167;;x +9680;9;72;40;;x +9681;51;75;168;;x +9682;93;78;41;;x +9683;135;81;169;;x +9684;177;84;42;;x +9685;9;87;170;;x +9686;51;90;43;;x +9687;93;93;171;;x +9688;135;96;44;;x +9689;177;99;172;;x +9690;9;102;45;;x +9691;51;105;173;;x +9692;93;108;46;;x +9693;135;111;174;;x +9694;177;114;47;;x +9695;9;117;175;;x +9696;51;120;48;;x +9697;93;123;176;;x +9698;135;126;49;;x +9699;177;129;177;;x +9700;9;132;50;;x +9701;51;135;178;;x +9702;93;138;51;;x +9703;135;141;179;;x +9704;177;144;52;;x +9705;9;147;180;;x +9706;51;150;53;;x +9707;93;153;181;;x +9708;135;156;54;;x +9709;177;159;182;;x +9710;9;162;55;;x +9711;51;165;183;;x +9712;93;168;56;;x +9713;135;171;184;;x +9714;177;174;57;;x +9715;9;177;185;;x +9716;51;180;58;;x +9717;93;183;186;;x +9718;135;186;59;;x +9719;177;189;187;;x +9720;9;192;60;;x +9721;51;195;188;;x +9722;93;198;61;;x +9723;135;201;189;;x +9724;177;204;62;;x +9725;9;207;190;;x +9726;51;210;63;;x +9727;93;0;191;;x +9728;135;3;64;;x +9729;177;6;192;;x +9730;9;9;65;;x +9731;51;12;193;;x +9732;93;15;66;;x +9733;135;18;194;;x +9734;177;21;67;;x +9735;9;24;195;;x +9736;51;27;68;;x +9737;93;30;196;;x +9738;135;33;69;;x +9739;177;36;197;;x +9740;9;39;70;;x +9741;51;42;198;;x +9742;93;45;71;;x +9743;135;48;199;;x +9744;177;51;72;;x +9745;9;54;200;;x +9746;51;57;73;;x +9747;93;60;201;;x +9748;135;63;74;;x +9749;177;66;202;;x +9750;9;69;75;;x +9751;51;72;203;;x +9752;93;75;76;;x +9753;135;78;204;;x +9754;177;81;77;;x +9755;9;84;205;;x +9756;51;87;78;;x +9757;93;90;206;;x +9758;135;93;79;;x +9759;177;96;207;;x +9760;9;99;80;;x +9761;51;102;208;;x +9762;93;105;81;;x +9763;135;108;209;;x +9764;177;111;82;;x +9765;9;114;210;;x +9766;51;117;83;;x +9767;93;120;211;;x +9768;135;123;84;;x +9769;177;126;212;;x +9770;9;129;85;;x +9771;51;132;213;;x +9772;93;135;86;;x +9773;135;138;214;;x +9774;177;141;87;;x +9775;9;144;215;;x +9776;51;147;88;;x +9777;93;150;216;;x +9778;135;153;89;;x +9779;177;156;217;;x +9780;9;159;90;;x +9781;51;162;218;;x +9782;93;165;91;;x +9783;135;168;219;;x +9784;177;171;92;;x +9785;9;174;220;;x +9786;51;177;93;;x +9787;93;180;221;;x +9788;135;183;94;;x +9789;177;186;222;;x +9790;9;189;95;;x +9791;51;192;223;;x +9792;93;195;96;;x +9793;135;198;224;;x +9794;177;201;97;;x +9795;9;204;225;;x +9796;51;207;98;;x +9797;93;210;226;;x +9798;135;0;99;;x +9799;177;3;227;;x +9800;9;6;0;;x +9801;51;9;128;;x +9802;93;12;1;;x +9803;135;15;129;;x +9804;177;18;2;;x +9805;9;21;130;;x +9806;51;24;3;;x +9807;93;27;131;;x +9808;135;30;4;;x +9809;177;33;132;;x +9810;9;36;5;;x +9811;51;39;133;;x +9812;93;42;6;;x +9813;135;45;134;;x +9814;177;48;7;;x +9815;9;51;135;;x +9816;51;54;8;;x +9817;93;57;136;;x +9818;135;60;9;;x +9819;177;63;137;;x +9820;9;66;10;;x +9821;51;69;138;;x +9822;93;72;11;;x +9823;135;75;139;;x +9824;177;78;12;;x +9825;9;81;140;;x +9826;51;84;13;;x +9827;93;87;141;;x +9828;135;90;14;;x +9829;177;93;142;;x +9830;9;96;15;;x +9831;51;99;143;;x +9832;93;102;16;;x +9833;135;105;144;;x +9834;177;108;17;;x +9835;9;111;145;;x +9836;51;114;18;;x +9837;93;117;146;;x +9838;135;120;19;;x +9839;177;123;147;;x +9840;9;126;20;;x +9841;51;129;148;;x +9842;93;132;21;;x +9843;135;135;149;;x +9844;177;138;22;;x +9845;9;141;150;;x +9846;51;144;23;;x +9847;93;147;151;;x +9848;135;150;24;;x +9849;177;153;152;;x +9850;9;156;25;;x +9851;51;159;153;;x +9852;93;162;26;;x +9853;135;165;154;;x +9854;177;168;27;;x +9855;9;171;155;;x +9856;51;174;28;;x +9857;93;177;156;;x +9858;135;180;29;;x +9859;177;183;157;;x +9860;9;186;30;;x +9861;51;189;158;;x +9862;93;192;31;;x +9863;135;195;159;;x +9864;177;198;32;;x +9865;9;201;160;;x +9866;51;204;33;;x +9867;93;207;161;;x +9868;135;210;34;;x +9869;177;0;162;;x +9870;9;3;35;;x +9871;51;6;163;;x +9872;93;9;36;;x +9873;135;12;164;;x +9874;177;15;37;;x +9875;9;18;165;;x +9876;51;21;38;;x +9877;93;24;166;;x +9878;135;27;39;;x +9879;177;30;167;;x +9880;9;33;40;;x +9881;51;36;168;;x +9882;93;39;41;;x +9883;135;42;169;;x +9884;177;45;42;;x +9885;9;48;170;;x +9886;51;51;43;;x +9887;93;54;171;;x +9888;135;57;44;;x +9889;177;60;172;;x +9890;9;63;45;;x +9891;51;66;173;;x +9892;93;69;46;;x +9893;135;72;174;;x +9894;177;75;47;;x +9895;9;78;175;;x +9896;51;81;48;;x +9897;93;84;176;;x +9898;135;87;49;;x +9899;177;90;177;;x +9900;9;93;50;;x +9901;51;96;178;;x +9902;93;99;51;;x +9903;135;102;179;;x +9904;177;105;52;;x +9905;9;108;180;;x +9906;51;111;53;;x +9907;93;114;181;;x +9908;135;117;54;;x +9909;177;120;182;;x +9910;9;123;55;;x +9911;51;126;183;;x +9912;93;129;56;;x +9913;135;132;184;;x +9914;177;135;57;;x +9915;9;138;185;;x +9916;51;141;58;;x +9917;93;144;186;;x +9918;135;147;59;;x +9919;177;150;187;;x +9920;9;153;60;;x +9921;51;156;188;;x +9922;93;159;61;;x +9923;135;162;189;;x +9924;177;165;62;;x +9925;9;168;190;;x +9926;51;171;63;;x +9927;93;174;191;;x +9928;135;177;64;;x +9929;177;180;192;;x +9930;9;183;65;;x +9931;51;186;193;;x +9932;93;189;66;;x +9933;135;192;194;;x +9934;177;195;67;;x +9935;9;198;195;;x +9936;51;201;68;;x +9937;93;204;196;;x +9938;135;207;69;;x +9939;177;210;197;;x +9940;9;0;70;;x +9941;51;3;198;;x +9942;93;6;71;;x +9943;135;9;199;;x +9944;177;12;72;;x +9945;9;15;200;;x +9946;51;18;73;;x +9947;93;21;201;;x +9948;135;24;74;;x +9949;177;27;202;;x +9950;9;30;75;;x +9951;51;33;203;;x +9952;93;36;76;;x +9953;135;39;204;;x +9954;177;42;77;;x +9955;9;45;205;;x +9956;51;48;78;;x +9957;93;51;206;;x +9958;135;54;79;;x +9959;177;57;207;;x +9960;9;60;80;;x +9961;51;63;208;;x +9962;93;66;81;;x +9963;135;69;209;;x +9964;177;72;82;;x +9965;9;75;210;;x +9966;51;78;83;;x +9967;93;81;211;;x +9968;135;84;84;;x +9969;177;87;212;;x +9970;9;90;85;;x +9971;51;93;213;;x +9972;93;96;86;;x +9973;135;99;214;;x +9974;177;102;87;;x +9975;9;105;215;;x +9976;51;108;88;;x +9977;93;111;216;;x +9978;135;114;89;;x +9979;177;117;217;;x +9980;9;120;90;;x +9981;51;123;218;;x +9982;93;126;91;;x +9983;135;129;219;;x +9984;177;132;92;;x +9985;9;135;220;;x +9986;51;138;93;;x +9987;93;141;221;;x +9988;135;144;94;;x +9989;177;147;222;;x +9990;9;150;95;;x +9991;51;153;223;;x +9992;93;156;96;;x +9993;135;159;224;;x +9994;177;162;97;;x +9995;9;165;225;;x +9996;51;168;98;;x +9997;93;171;226;;x +9998;135;174;99;;x +9999;177;177;227;;x +10000;10;180;0;;x +10001;52;183;128;;x +10002;94;186;1;;x +10003;136;189;129;;x +10004;178;192;2;;x +10005;10;195;130;;x +10006;52;198;3;;x +10007;94;201;131;;x +10008;136;204;4;;x +10009;178;207;132;;x +10010;10;210;5;;x +10011;52;0;133;;x +10012;94;3;6;;x +10013;136;6;134;;x +10014;178;9;7;;x +10015;10;12;135;;x +10016;52;15;8;;x +10017;94;18;136;;x +10018;136;21;9;;x +10019;178;24;137;;x +10020;10;27;10;;x +10021;52;30;138;;x +10022;94;33;11;;x +10023;136;36;139;;x +10024;178;39;12;;x +10025;10;42;140;;x +10026;52;45;13;;x +10027;94;48;141;;x +10028;136;51;14;;x +10029;178;54;142;;x +10030;10;57;15;;x +10031;52;60;143;;x +10032;94;63;16;;x +10033;136;66;144;;x +10034;178;69;17;;x +10035;10;72;145;;x +10036;52;75;18;;x +10037;94;78;146;;x +10038;136;81;19;;x +10039;178;84;147;;x +10040;10;87;20;;x +10041;52;90;148;;x +10042;94;93;21;;x +10043;136;96;149;;x +10044;178;99;22;;x +10045;10;102;150;;x +10046;52;105;23;;x +10047;94;108;151;;x +10048;136;111;24;;x +10049;178;114;152;;x +10050;10;117;25;;x +10051;52;120;153;;x +10052;94;123;26;;x +10053;136;126;154;;x +10054;178;129;27;;x +10055;10;132;155;;x +10056;52;135;28;;x +10057;94;138;156;;x +10058;136;141;29;;x +10059;178;144;157;;x +10060;10;147;30;;x +10061;52;150;158;;x +10062;94;153;31;;x +10063;136;156;159;;x +10064;178;159;32;;x +10065;10;162;160;;x +10066;52;165;33;;x +10067;94;168;161;;x +10068;136;171;34;;x +10069;178;174;162;;x +10070;10;177;35;;x +10071;52;180;163;;x +10072;94;183;36;;x +10073;136;186;164;;x +10074;178;189;37;;x +10075;10;192;165;;x +10076;52;195;38;;x +10077;94;198;166;;x +10078;136;201;39;;x +10079;178;204;167;;x +10080;10;207;40;;x +10081;52;210;168;;x +10082;94;0;41;;x +10083;136;3;169;;x +10084;178;6;42;;x +10085;10;9;170;;x +10086;52;12;43;;x +10087;94;15;171;;x +10088;136;18;44;;x +10089;178;21;172;;x +10090;10;24;45;;x +10091;52;27;173;;x +10092;94;30;46;;x +10093;136;33;174;;x +10094;178;36;47;;x +10095;10;39;175;;x +10096;52;42;48;;x +10097;94;45;176;;x +10098;136;48;49;;x +10099;178;51;177;;x +10100;10;54;50;;x +10101;52;57;178;;x +10102;94;60;51;;x +10103;136;63;179;;x +10104;178;66;52;;x +10105;10;69;180;;x +10106;52;72;53;;x +10107;94;75;181;;x +10108;136;78;54;;x +10109;178;81;182;;x +10110;10;84;55;;x +10111;52;87;183;;x +10112;94;90;56;;x +10113;136;93;184;;x +10114;178;96;57;;x +10115;10;99;185;;x +10116;52;102;58;;x +10117;94;105;186;;x +10118;136;108;59;;x +10119;178;111;187;;x +10120;10;114;60;;x +10121;52;117;188;;x +10122;94;120;61;;x +10123;136;123;189;;x +10124;178;126;62;;x +10125;10;129;190;;x +10126;52;132;63;;x +10127;94;135;191;;x +10128;136;138;64;;x +10129;178;141;192;;x +10130;10;144;65;;x +10131;52;147;193;;x +10132;94;150;66;;x +10133;136;153;194;;x +10134;178;156;67;;x +10135;10;159;195;;x +10136;52;162;68;;x +10137;94;165;196;;x +10138;136;168;69;;x +10139;178;171;197;;x +10140;10;174;70;;x +10141;52;177;198;;x +10142;94;180;71;;x +10143;136;183;199;;x +10144;178;186;72;;x +10145;10;189;200;;x +10146;52;192;73;;x +10147;94;195;201;;x +10148;136;198;74;;x +10149;178;201;202;;x +10150;10;204;75;;x +10151;52;207;203;;x +10152;94;210;76;;x +10153;136;0;204;;x +10154;178;3;77;;x +10155;10;6;205;;x +10156;52;9;78;;x +10157;94;12;206;;x +10158;136;15;79;;x +10159;178;18;207;;x +10160;10;21;80;;x +10161;52;24;208;;x +10162;94;27;81;;x +10163;136;30;209;;x +10164;178;33;82;;x +10165;10;36;210;;x +10166;52;39;83;;x +10167;94;42;211;;x +10168;136;45;84;;x +10169;178;48;212;;x +10170;10;51;85;;x +10171;52;54;213;;x +10172;94;57;86;;x +10173;136;60;214;;x +10174;178;63;87;;x +10175;10;66;215;;x +10176;52;69;88;;x +10177;94;72;216;;x +10178;136;75;89;;x +10179;178;78;217;;x +10180;10;81;90;;x +10181;52;84;218;;x +10182;94;87;91;;x +10183;136;90;219;;x +10184;178;93;92;;x +10185;10;96;220;;x +10186;52;99;93;;x +10187;94;102;221;;x +10188;136;105;94;;x +10189;178;108;222;;x +10190;10;111;95;;x +10191;52;114;223;;x +10192;94;117;96;;x +10193;136;120;224;;x +10194;178;123;97;;x +10195;10;126;225;;x +10196;52;129;98;;x +10197;94;132;226;;x +10198;136;135;99;;x +10199;178;138;227;;x +10200;10;141;0;;x +10201;52;144;128;;x +10202;94;147;1;;x +10203;136;150;129;;x +10204;178;153;2;;x +10205;10;156;130;;x +10206;52;159;3;;x +10207;94;162;131;;x +10208;136;165;4;;x +10209;178;168;132;;x +10210;10;171;5;;x +10211;52;174;133;;x +10212;94;177;6;;x +10213;136;180;134;;x +10214;178;183;7;;x +10215;10;186;135;;x +10216;52;189;8;;x +10217;94;192;136;;x +10218;136;195;9;;x +10219;178;198;137;;x +10220;10;201;10;;x +10221;52;204;138;;x +10222;94;207;11;;x +10223;136;210;139;;x +10224;178;0;12;;x +10225;10;3;140;;x +10226;52;6;13;;x +10227;94;9;141;;x +10228;136;12;14;;x +10229;178;15;142;;x +10230;10;18;15;;x +10231;52;21;143;;x +10232;94;24;16;;x +10233;136;27;144;;x +10234;178;30;17;;x +10235;10;33;145;;x +10236;52;36;18;;x +10237;94;39;146;;x +10238;136;42;19;;x +10239;178;45;147;;x +10240;10;48;20;;x +10241;52;51;148;;x +10242;94;54;21;;x +10243;136;57;149;;x +10244;178;60;22;;x +10245;10;63;150;;x +10246;52;66;23;;x +10247;94;69;151;;x +10248;136;72;24;;x +10249;178;75;152;;x +10250;10;78;25;;x +10251;52;81;153;;x +10252;94;84;26;;x +10253;136;87;154;;x +10254;178;90;27;;x +10255;10;93;155;;x +10256;52;96;28;;x +10257;94;99;156;;x +10258;136;102;29;;x +10259;178;105;157;;x +10260;10;108;30;;x +10261;52;111;158;;x +10262;94;114;31;;x +10263;136;117;159;;x +10264;178;120;32;;x +10265;10;123;160;;x +10266;52;126;33;;x +10267;94;129;161;;x +10268;136;132;34;;x +10269;178;135;162;;x +10270;10;138;35;;x +10271;52;141;163;;x +10272;94;144;36;;x +10273;136;147;164;;x +10274;178;150;37;;x +10275;10;153;165;;x +10276;52;156;38;;x +10277;94;159;166;;x +10278;136;162;39;;x +10279;178;165;167;;x +10280;10;168;40;;x +10281;52;171;168;;x +10282;94;174;41;;x +10283;136;177;169;;x +10284;178;180;42;;x +10285;10;183;170;;x +10286;52;186;43;;x +10287;94;189;171;;x +10288;136;192;44;;x +10289;178;195;172;;x +10290;10;198;45;;x +10291;52;201;173;;x +10292;94;204;46;;x +10293;136;207;174;;x +10294;178;210;47;;x +10295;10;0;175;;x +10296;52;3;48;;x +10297;94;6;176;;x +10298;136;9;49;;x +10299;178;12;177;;x +10300;10;15;50;;x +10301;52;18;178;;x +10302;94;21;51;;x +10303;136;24;179;;x +10304;178;27;52;;x +10305;10;30;180;;x +10306;52;33;53;;x +10307;94;36;181;;x +10308;136;39;54;;x +10309;178;42;182;;x +10310;10;45;55;;x +10311;52;48;183;;x +10312;94;51;56;;x +10313;136;54;184;;x +10314;178;57;57;;x +10315;10;60;185;;x +10316;52;63;58;;x +10317;94;66;186;;x +10318;136;69;59;;x +10319;178;72;187;;x +10320;10;75;60;;x +10321;52;78;188;;x +10322;94;81;61;;x +10323;136;84;189;;x +10324;178;87;62;;x +10325;10;90;190;;x +10326;52;93;63;;x +10327;94;96;191;;x +10328;136;99;64;;x +10329;178;102;192;;x +10330;10;105;65;;x +10331;52;108;193;;x +10332;94;111;66;;x +10333;136;114;194;;x +10334;178;117;67;;x +10335;10;120;195;;x +10336;52;123;68;;x +10337;94;126;196;;x +10338;136;129;69;;x +10339;178;132;197;;x +10340;10;135;70;;x +10341;52;138;198;;x +10342;94;141;71;;x +10343;136;144;199;;x +10344;178;147;72;;x +10345;10;150;200;;x +10346;52;153;73;;x +10347;94;156;201;;x +10348;136;159;74;;x +10349;178;162;202;;x +10350;10;165;75;;x +10351;52;168;203;;x +10352;94;171;76;;x +10353;136;174;204;;x +10354;178;177;77;;x +10355;10;180;205;;x +10356;52;183;78;;x +10357;94;186;206;;x +10358;136;189;79;;x +10359;178;192;207;;x +10360;10;195;80;;x +10361;52;198;208;;x +10362;94;201;81;;x +10363;136;204;209;;x +10364;178;207;82;;x +10365;10;210;210;;x +10366;52;0;83;;x +10367;94;3;211;;x +10368;136;6;84;;x +10369;178;9;212;;x +10370;10;12;85;;x +10371;52;15;213;;x +10372;94;18;86;;x +10373;136;21;214;;x +10374;178;24;87;;x +10375;10;27;215;;x +10376;52;30;88;;x +10377;94;33;216;;x +10378;136;36;89;;x +10379;178;39;217;;x +10380;10;42;90;;x +10381;52;45;218;;x +10382;94;48;91;;x +10383;136;51;219;;x +10384;178;54;92;;x +10385;10;57;220;;x +10386;52;60;93;;x +10387;94;63;221;;x +10388;136;66;94;;x +10389;178;69;222;;x +10390;10;72;95;;x +10391;52;75;223;;x +10392;94;78;96;;x +10393;136;81;224;;x +10394;178;84;97;;x +10395;10;87;225;;x +10396;52;90;98;;x +10397;94;93;226;;x +10398;136;96;99;;x +10399;178;99;227;;x +10400;10;102;0;;x +10401;52;105;128;;x +10402;94;108;1;;x +10403;136;111;129;;x +10404;178;114;2;;x +10405;10;117;130;;x +10406;52;120;3;;x +10407;94;123;131;;x +10408;136;126;4;;x +10409;178;129;132;;x +10410;10;132;5;;x +10411;52;135;133;;x +10412;94;138;6;;x +10413;136;141;134;;x +10414;178;144;7;;x +10415;10;147;135;;x +10416;52;150;8;;x +10417;94;153;136;;x +10418;136;156;9;;x +10419;178;159;137;;x +10420;10;162;10;;x +10421;52;165;138;;x +10422;94;168;11;;x +10423;136;171;139;;x +10424;178;174;12;;x +10425;10;177;140;;x +10426;52;180;13;;x +10427;94;183;141;;x +10428;136;186;14;;x +10429;178;189;142;;x +10430;10;192;15;;x +10431;52;195;143;;x +10432;94;198;16;;x +10433;136;201;144;;x +10434;178;204;17;;x +10435;10;207;145;;x +10436;52;210;18;;x +10437;94;0;146;;x +10438;136;3;19;;x +10439;178;6;147;;x +10440;10;9;20;;x +10441;52;12;148;;x +10442;94;15;21;;x +10443;136;18;149;;x +10444;178;21;22;;x +10445;10;24;150;;x +10446;52;27;23;;x +10447;94;30;151;;x +10448;136;33;24;;x +10449;178;36;152;;x +10450;10;39;25;;x +10451;52;42;153;;x +10452;94;45;26;;x +10453;136;48;154;;x +10454;178;51;27;;x +10455;10;54;155;;x +10456;52;57;28;;x +10457;94;60;156;;x +10458;136;63;29;;x +10459;178;66;157;;x +10460;10;69;30;;x +10461;52;72;158;;x +10462;94;75;31;;x +10463;136;78;159;;x +10464;178;81;32;;x +10465;10;84;160;;x +10466;52;87;33;;x +10467;94;90;161;;x +10468;136;93;34;;x +10469;178;96;162;;x +10470;10;99;35;;x +10471;52;102;163;;x +10472;94;105;36;;x +10473;136;108;164;;x +10474;178;111;37;;x +10475;10;114;165;;x +10476;52;117;38;;x +10477;94;120;166;;x +10478;136;123;39;;x +10479;178;126;167;;x +10480;10;129;40;;x +10481;52;132;168;;x +10482;94;135;41;;x +10483;136;138;169;;x +10484;178;141;42;;x +10485;10;144;170;;x +10486;52;147;43;;x +10487;94;150;171;;x +10488;136;153;44;;x +10489;178;156;172;;x +10490;10;159;45;;x +10491;52;162;173;;x +10492;94;165;46;;x +10493;136;168;174;;x +10494;178;171;47;;x +10495;10;174;175;;x +10496;52;177;48;;x +10497;94;180;176;;x +10498;136;183;49;;x +10499;178;186;177;;x +10500;0;0;232;;x +10501;1;0;236;;x +10502;2;0;240;;x +10503;3;0;244;;x +10504;4;0;248;;x +10505;5;0;232;;x +10506;6;0;236;;x +10507;7;0;240;;x +10508;8;0;244;;x +10509;9;0;248;;x +10510;10;0;232;;x +10511;11;0;236;;x +10512;12;0;240;;x +10513;13;0;244;;x +10514;14;0;248;;x +10515;15;0;232;;x +10516;16;0;236;;x +10517;17;0;240;;x +10518;18;0;244;;x +10519;19;0;248;;x +10520;20;0;232;;x +10521;21;0;236;;x +10522;22;0;240;;x +10523;23;0;244;;x +10524;24;0;248;;x +10525;25;0;232;;x +10526;26;0;236;;x +10527;27;0;240;;x +10528;28;0;244;;x +10529;29;0;248;;x +10530;30;0;232;;x +10531;31;0;236;;x +10532;32;0;240;;x +10533;33;0;244;;x +10534;34;0;248;;x +10535;35;0;232;;x +10536;36;0;236;;x +10537;37;0;240;;x +10538;38;0;244;;x +10539;39;0;248;;x +10540;40;0;232;;x +10541;41;0;236;;x +10542;42;0;240;;x +10543;43;0;244;;x +10544;44;0;248;;x +10545;45;0;232;;x +10546;46;0;236;;x +10547;47;0;240;;x +10548;48;0;244;;x +10549;49;0;248;;x +10550;50;0;232;;x +10551;51;0;236;;x +10552;52;0;240;;x +10553;53;0;244;;x +10554;54;0;248;;x +10555;55;0;232;;x +10556;56;0;236;;x +10557;57;0;240;;x +10558;58;0;244;;x +10559;59;0;248;;x +10560;60;0;232;;x +10561;61;0;236;;x +10562;62;0;240;;x +10563;63;0;244;;x +10564;64;0;248;;x +10565;65;0;232;;x +10566;66;0;236;;x +10567;67;0;240;;x +10568;68;0;244;;x +10569;69;0;248;;x +10570;70;0;232;;x +10571;71;0;236;;x +10572;72;0;240;;x +10573;73;0;244;;x +10574;74;0;248;;x +10575;75;0;232;;x +10576;76;0;236;;x +10577;77;0;240;;x +10578;78;0;244;;x +10579;79;0;248;;x +10580;80;0;232;;x +10581;81;0;236;;x +10582;82;0;240;;x +10583;83;0;244;;x +10584;84;0;248;;x +10585;85;0;232;;x +10586;86;0;236;;x +10587;87;0;240;;x +10588;88;0;244;;x +10589;89;0;248;;x +10590;90;0;232;;x +10591;91;0;236;;x +10592;92;0;240;;x +10593;93;0;244;;x +10594;94;0;248;;x +10595;95;0;232;;x +10596;96;0;236;;x +10597;97;0;240;;x +10598;98;0;244;;x +10599;99;0;248;;x +10600;100;0;232;;x +10601;101;0;236;;x +10602;102;0;240;;x +10603;103;0;244;;x +10604;104;0;248;;x +10605;105;0;232;;x +10606;106;0;236;;x +10607;107;0;240;;x +10608;108;0;244;;x +10609;109;0;248;;x +10610;110;0;232;;x +10611;111;0;236;;x +10612;112;0;240;;x +10613;113;0;244;;x +10614;114;0;248;;x +10615;115;0;232;;x +10616;116;0;236;;x +10617;117;0;240;;x +10618;118;0;244;;x +10619;119;0;248;;x +10620;120;2;232;;x +10621;121;2;236;;x +10622;122;2;240;;x +10623;123;2;244;;x +10624;124;2;248;;x +10625;125;2;232;;x +10626;126;2;236;;x +10627;255;1;40;;x +10628;255;2;120;;x +10629;255;3;160;;x +10630;255;4;40;;x +10631;255;5;120;;x +10632;255;6;160;;x +10633;255;7;40;;x +10634;255;8;120;;x +10635;255;9;160;;x +10636;255;10;40;;x +10637;255;11;120;;x +10638;255;12;160;;x +10639;255;13;40;;x +10640;255;14;120;;x +10641;255;15;160;;x +10642;255;16;40;;x +10643;255;17;120;;x +10644;255;18;160;;x +10645;255;19;40;;x +10646;255;20;120;;x +10647;255;21;160;;x +10648;255;22;40;;x +10649;255;23;120;;x +10650;255;24;160;;x +10651;255;25;40;;x +10652;255;26;120;;x +10653;255;27;160;;x +10654;255;28;40;;x +10655;255;29;120;;x +10656;255;30;160;;x +10657;255;31;40;;x +10658;255;32;120;;x +10659;255;33;160;;x +10660;255;34;40;;x +10661;255;35;160;;x +10662;255;36;120;;x +10663;255;37;40;;x +10664;255;38;120;;x +10665;255;39;160;;x +10666;255;40;40;;x +10667;255;41;120;;x +10668;255;42;160;;x +10669;255;43;40;;x +10670;255;44;120;;x +10671;255;45;160;;x +10672;255;46;40;;x +10673;255;47;120;;x +10674;255;48;160;;x +10675;255;49;40;;x +10676;255;50;120;;x +10677;255;51;160;;x +10678;255;52;40;;x +10679;255;53;120;;x +10680;255;54;160;;x +10681;255;55;40;;x +10682;255;56;120;;x +10683;255;57;160;;x +10684;255;58;40;;x +10685;255;59;120;;x +10686;255;60;160;;x +10687;0;2;240;;x +10688;1;2;244;;x +10689;2;2;248;;x +10690;3;2;232;;x +10691;4;2;236;;x +10692;5;2;240;;x +10693;6;2;244;;x +10694;7;2;248;;x +10695;8;2;232;;x +10696;9;2;236;;x +10697;10;2;240;;x +10698;11;2;244;;x +10699;12;2;248;;x +10700;13;2;232;;x +10701;14;2;236;;x +10702;15;2;240;;x +10703;16;2;244;;x +10704;17;2;248;;x +10705;18;2;232;;x +10706;19;2;236;;x +10707;20;2;240;;x +10708;21;2;244;;x +10709;22;2;248;;x +10710;23;2;232;;x +10711;24;2;236;;x +10712;25;2;240;;x +10713;26;2;244;;x +10714;27;2;248;;x +10715;28;2;232;;x +10716;29;2;236;;x +10717;30;2;240;;x +10718;31;2;244;;x +10719;32;2;248;;x +10720;33;2;232;;x +10721;34;2;236;;x +10722;35;2;240;;x +10723;36;2;244;;x +10724;37;2;248;;x +10725;38;2;232;;x +10726;39;2;236;;x +10727;40;2;240;;x +10728;41;2;244;;x +10729;42;2;248;;x +10730;43;2;232;;x +10731;44;2;236;;x +10732;45;2;240;;x +10733;46;2;244;;x +10734;47;2;248;;x +10735;48;2;236;;x +10736;49;2;236;;x +10737;50;2;240;;x +10738;51;2;244;;x +10739;52;2;248;;x +10740;53;2;232;;x +10741;54;2;236;;x +10742;55;2;240;;x +10743;56;2;244;;x +10744;57;2;248;;x +10745;58;2;232;;x +10746;59;2;236;;x +10747;60;2;240;;x +10748;61;2;244;;x +10749;62;2;248;;x +10750;63;2;232;;x +10751;64;2;236;;x +10752;65;2;240;;x +10753;66;2;244;;x +10754;67;2;248;;x +10755;68;2;232;;x +10756;69;2;236;;x +10757;70;2;240;;x +10758;71;2;244;;x +10759;72;2;248;;x +10760;73;2;232;;x +10761;74;2;236;;x +10762;75;2;240;;x +10763;76;2;244;;x +10764;77;2;248;;x +10765;78;2;232;;x +10766;79;2;236;;x +10767;80;2;240;;x +10768;81;2;244;;x +10769;82;2;248;;x +10770;83;2;232;;x +10771;84;2;236;;x +10772;85;2;240;;x +10773;86;2;244;;x +10774;87;2;248;;x +10775;88;2;232;;x +10776;89;2;236;;x +10777;90;2;240;;x +10778;91;2;244;;x +10779;92;2;248;;x +10780;93;2;232;;x +10781;94;2;236;;x +10782;95;2;240;;x +10783;96;2;244;;x +10784;97;2;248;;x +10785;98;2;232;;x +10786;99;2;236;;x +10787;100;2;240;;x +10788;101;2;244;;x +10789;102;2;248;;x +10790;103;2;232;;x +10791;104;2;236;;x +10792;105;2;240;;x +10793;106;2;244;;x +10794;107;2;248;;x +10795;108;2;232;;x +10796;109;2;236;;x +10797;110;2;240;;x +10798;111;2;244;;x +10799;112;2;248;;x +10800;113;4;232;;x +10801;114;4;236;;x +10802;115;4;240;;x +10803;116;4;244;;x +10804;117;4;248;;x +10805;118;4;232;;x +10806;119;4;236;;x +10807;120;4;240;;x +10808;121;4;244;;x +10809;122;4;248;;x +10810;123;4;232;;x +10811;124;4;236;;x +10812;125;4;240;;x +10813;126;4;244;;x +10814;0;4;248;;x +10815;1;4;232;;x +10816;2;4;236;;x +10817;3;4;240;;x +10818;4;4;244;;x +10819;5;4;244;;x +10820;6;4;232;;x +10821;7;4;236;;x +10822;8;4;240;;x +10823;9;4;244;;x +10824;10;4;248;;x +10825;11;4;232;;x +10826;12;4;236;;x +10827;13;4;240;;x +10828;14;4;244;;x +10829;15;4;248;;x +10830;16;4;232;;x +10831;17;4;236;;x +10832;18;4;240;;x +10833;19;4;244;;x +10834;20;4;248;;x +10835;21;4;232;;x +10836;22;4;236;;x +10837;23;4;240;;x +10838;24;4;244;;x +10839;25;4;248;;x +10840;26;4;232;;x +10841;27;4;236;;x +10842;28;4;240;;x +10843;29;4;244;;x +10844;30;4;248;;x +10845;31;4;232;;x +10846;32;4;236;;x +10847;33;4;240;;x +10848;34;4;244;;x +10849;35;4;248;;x +10850;36;4;232;;x +10851;37;4;236;;x +10852;38;4;240;;x +10853;39;4;244;;x +10854;40;4;248;;x +10855;41;4;232;;x +10856;42;4;236;;x +10857;43;4;240;;x +10858;44;4;244;;x +10859;45;4;248;;x +10860;46;4;232;;x +10861;47;4;236;;x +10862;48;4;240;;x +10863;49;4;244;;x +10864;50;4;248;;x +10865;51;4;232;;x +10866;52;4;236;;x +10867;53;4;240;;x +10868;54;4;244;;x +10869;55;4;248;;x +10870;56;4;232;;x +10871;57;4;236;;x +10872;58;4;240;;x +10873;59;4;244;;x +10874;60;4;248;;x +10875;61;4;232;;x +10876;62;4;236;;x +10877;63;4;240;;x +10878;64;4;244;;x +10879;65;4;248;;x +10880;66;4;232;;x +10881;67;4;236;;x +10882;68;4;240;;x +10883;69;4;244;;x +10884;70;4;248;;x +10885;71;4;232;;x +10886;72;4;236;;x +10887;73;4;240;;x +10888;74;4;244;;x +10889;75;4;248;;x +10890;76;4;236;;x +10891;77;4;236;;x +10892;78;4;240;;x +10893;79;4;244;;x +10894;80;4;248;;x +10895;81;4;232;;x +10896;82;4;236;;x +10897;83;4;240;;x +10898;84;4;244;;x +10899;85;4;248;;x +10900;86;4;232;;x +10901;87;4;236;;x +10902;88;4;240;;x +10903;89;4;244;;x +10904;90;4;248;;x +10905;91;4;232;;x +10906;92;4;236;;x +10907;93;4;240;;x +10908;94;4;244;;x +10909;95;4;248;;x +10910;96;4;232;;x +10911;97;4;236;;x +10912;98;4;240;;x +10913;99;4;244;;x +10914;100;4;248;;x +10915;101;4;232;;x +10916;102;4;236;;x +10917;103;4;240;;x +10918;104;4;244;;x +10919;105;4;248;;x +10920;106;6;232;;x +10921;107;6;236;;x +10922;108;6;240;;x +10923;109;6;244;;x +10924;110;6;248;;x +10925;111;6;232;;x +10926;112;6;236;;x +10927;113;6;244;;x +10928;114;6;244;;x +10929;115;6;248;;x +10930;116;6;232;;x +10931;117;6;236;;x +10932;118;6;240;;x +10933;119;6;244;;x +10934;120;6;248;;x +10935;121;6;232;;x +10936;122;6;236;;x +10937;123;6;240;;x +10938;124;6;244;;x +10939;125;6;248;;x +10940;126;6;232;;x +10941;0;6;236;;x +10942;1;6;240;;x +10943;2;6;244;;x +10944;3;6;248;;x +10945;4;6;232;;x +10946;5;6;236;;x +10947;6;6;240;;x +10948;7;6;244;;x +10949;8;6;248;;x +10950;9;6;232;;x +10951;10;6;236;;x +10952;11;6;240;;x +10953;12;6;244;;x +10954;13;6;248;;x +10955;14;6;232;;x +10956;15;6;236;;x +10957;16;6;240;;x +10958;17;6;244;;x +10959;18;6;248;;x +10960;19;6;232;;x +10961;20;6;236;;x +10962;21;6;240;;x +10963;22;6;244;;x +10964;23;6;248;;x +10965;24;6;232;;x +10966;25;6;236;;x +10967;26;6;240;;x +10968;27;6;244;;x +10969;28;6;248;;x +10970;29;6;232;;x +10971;30;6;236;;x +10972;31;6;240;;x +10973;32;6;244;;x +10974;33;6;248;;x +10975;34;6;232;;x +10976;35;6;236;;x +10977;36;6;240;;x +10978;37;6;244;;x +10979;38;6;248;;x +10980;39;6;232;;x +10981;40;6;236;;x +10982;41;6;240;;x +10983;42;6;244;;x +10984;43;6;248;;x +10985;44;6;232;;x +10986;45;6;236;;x +10987;46;6;240;;x +10988;47;6;244;;x +10989;48;6;248;;x +10990;49;6;232;;x +10991;50;6;236;;x +10992;51;6;240;;x +10993;52;6;244;;x +10994;53;6;248;;x +10995;54;6;232;;x +10996;55;6;236;;x +10997;56;6;240;;x +10998;57;6;244;;x +10999;58;6;248;;x +11000;59;6;232;;x +11001;60;6;236;;x +11002;61;6;240;;x +11003;62;6;244;;x +11004;63;6;248;;x +11005;64;6;232;;x +11006;65;6;236;;x +11007;66;6;240;;x +11008;67;6;244;;x +11009;68;6;248;;x +11010;69;6;232;;x +11011;70;6;236;;x +11012;71;6;240;;x +11013;72;6;244;;x +11014;73;6;248;;x +11015;74;6;232;;x +11016;75;6;236;;x +11017;76;6;240;;x +11018;77;6;244;;x +11019;78;6;248;;x +11020;79;6;232;;x +11021;80;6;236;;x +11022;81;6;240;;x +11023;82;6;244;;x +11024;83;6;248;;x +11025;84;6;232;;x +11026;85;6;236;;x +11027;86;6;240;;x +11028;87;6;244;;x +11029;88;6;248;;x +11030;89;6;232;;x +11031;90;6;236;;x +11032;91;6;240;;x +11033;92;6;244;;x +11034;93;6;248;;x +11035;94;6;232;;x +11036;95;6;236;;x +11037;96;6;240;;x +11038;97;6;244;;x +11039;98;6;248;;x +11040;99;8;232;;x +11041;100;8;236;;x +11042;101;8;240;;x +11043;102;8;244;;x +11044;103;8;248;;x +11045;104;8;232;;x +11046;105;8;236;;x +11047;106;8;240;;x +11048;107;8;244;;x +11049;108;8;248;;x +11050;109;8;232;;x +11051;110;8;236;;x +11052;111;8;240;;x +11053;112;8;244;;x +11054;113;8;248;;x +11055;114;8;232;;x +11056;115;8;236;;x +11057;116;8;240;;x +11058;117;8;244;;x +11059;118;8;248;;x +11060;119;8;232;;x +11061;120;8;236;;x +11062;121;8;240;;x +11063;122;8;244;;x +11064;123;8;248;;x +11065;124;8;232;;x +11066;125;8;236;;x +11067;126;8;240;;x +11068;0;8;244;;x +11069;1;8;248;;x +11070;2;8;232;;x +11071;3;8;236;;x +11072;4;8;240;;x +11073;5;8;244;;x +11074;6;8;248;;x +11075;7;8;232;;x +11076;8;8;236;;x +11077;9;8;240;;x +11078;10;8;244;;x +11079;11;8;248;;x +11080;12;8;232;;x +11081;13;8;236;;x +11082;14;8;240;;x +11083;15;8;244;;x +11084;16;8;248;;x +11085;17;8;232;;x +11086;18;8;236;;x +11087;19;8;240;;x +11088;20;8;244;;x +11089;21;8;248;;x +11090;22;8;232;;x +11091;23;8;236;;x +11092;24;8;240;;x +11093;25;8;244;;x +11094;26;8;248;;x +11095;27;8;232;;x +11096;28;8;236;;x +11097;29;8;240;;x +11098;30;8;244;;x +11099;31;8;248;;x +11100;32;8;232;;x +11101;33;8;236;;x +11102;34;8;240;;x +11103;35;8;244;;x +11104;36;8;248;;x +11105;37;8;232;;x +11106;38;8;236;;x +11107;39;8;240;;x +11108;40;8;244;;x +11109;41;8;248;;x +11110;42;8;232;;x +11111;43;8;236;;x +11112;44;8;240;;x +11113;45;8;244;;x +11114;46;8;248;;x +11115;47;8;232;;x +11116;48;8;236;;x +11117;49;8;240;;x +11118;50;8;244;;x +11119;51;8;248;;x +11120;52;8;232;;x +11121;53;8;236;;x +11122;54;8;240;;x +11123;55;8;244;;x +11124;56;8;248;;x +11125;57;8;232;;x +11126;58;8;236;;x +11127;59;8;240;;x +11128;60;8;244;;x +11129;61;8;248;;x +11130;62;8;232;;x +11131;63;8;236;;x +11132;64;8;240;;x +11133;65;8;244;;x +11134;66;8;248;;x +11135;67;8;232;;x +11136;68;8;236;;x +11137;69;8;240;;x +11138;70;8;244;;x +11139;71;8;248;;x +11140;72;8;232;;x +11141;73;8;236;;x +11142;74;8;240;;x +11143;75;8;244;;x +11144;76;8;248;;x +11145;77;8;232;;x +11146;78;8;236;;x +11147;79;8;240;;x +11148;80;8;244;;x +11149;81;8;248;;x +11150;82;8;232;;x +11151;83;8;236;;x +11152;84;8;240;;x +11153;85;8;244;;x +11154;86;8;248;;x +11155;87;8;232;;x +11156;88;8;236;;x +11157;89;8;240;;x +11158;90;8;244;;x +11159;91;8;248;;x +11160;92;10;232;;x +11161;93;10;236;;x +11162;94;10;240;;x +11163;95;10;244;;x +11164;96;10;248;;x +11165;97;10;232;;x +11166;98;10;236;;x +11167;99;10;240;;x +11168;100;10;244;;x +11169;101;10;248;;x +11170;102;10;232;;x +11171;103;10;236;;x +11172;104;10;240;;x +11173;105;10;244;;x +11174;106;10;248;;x +11175;107;10;232;;x +11176;108;10;236;;x +11177;109;10;240;;x +11178;110;10;244;;x +11179;111;10;248;;x +11180;112;10;232;;x +11181;113;10;236;;x +11182;114;10;240;;x +11183;115;10;244;;x +11184;116;10;248;;x +11185;117;10;232;;x +11186;118;10;236;;x +11187;119;10;240;;x +11188;120;10;244;;x +11189;121;10;248;;x +11190;122;10;232;;x +11191;123;10;236;;x +11192;124;10;240;;x +11193;125;10;244;;x +11194;126;10;248;;x +11195;0;10;232;;x +11196;1;10;236;;x +11197;2;10;240;;x +11198;3;10;244;;x +11199;4;10;248;;x +11200;5;10;232;;x +11201;6;10;236;;x +11202;7;10;240;;x +11203;8;10;244;;x +11204;9;10;248;;x +11205;10;10;232;;x +11206;11;10;236;;x +11207;12;10;240;;x +11208;13;10;244;;x +11209;14;10;248;;x +11210;15;10;232;;x +11211;16;10;236;;x +11212;17;10;240;;x +11213;18;10;244;;x +11214;19;10;248;;x +11215;20;10;232;;x +11216;21;10;236;;x +11217;22;10;240;;x +11218;23;10;244;;x +11219;24;10;248;;x +11220;25;10;232;;x +11221;26;10;236;;x +11222;27;10;240;;x +11223;28;10;244;;x +11224;29;10;248;;x +11225;30;10;232;;x +11226;31;10;236;;x +11227;32;10;240;;x +11228;33;10;244;;x +11229;34;10;248;;x +11230;35;10;232;;x +11231;36;10;236;;x +11232;37;10;240;;x +11233;38;10;244;;x +11234;39;10;248;;x +11235;40;10;232;;x +11236;41;10;236;;x +11237;42;10;240;;x +11238;43;10;244;;x +11239;44;10;248;;x +11240;45;10;232;;x +11241;46;10;236;;x +11242;47;10;240;;x +11243;48;10;244;;x +11244;49;10;248;;x +11245;50;10;232;;x +11246;51;10;236;;x +11247;52;10;240;;x +11248;53;10;244;;x +11249;54;10;248;;x +11250;55;10;232;;x +11251;56;10;236;;x +11252;57;10;240;;x +11253;58;10;244;;x +11254;59;10;248;;x +11255;60;10;232;;x +11256;61;10;236;;x +11257;62;10;240;;x +11258;63;10;244;;x +11259;64;10;248;;x +11260;65;10;232;;x +11261;66;10;236;;x +11262;67;10;240;;x +11263;68;10;244;;x +11264;69;10;248;;x +11265;70;10;232;;x +11266;71;10;236;;x +11267;72;10;240;;x +11268;73;10;244;;x +11269;74;10;248;;x +11270;75;10;232;;x +11271;76;10;236;;x +11272;77;10;240;;x +11273;78;10;244;;x +11274;79;10;248;;x +11275;80;10;232;;x +11276;81;10;236;;x +11277;82;10;240;;x +11278;83;10;244;;x +11279;84;10;248;;x +11280;85;12;232;;x +11281;86;12;236;;x +11282;87;12;240;;x +11283;88;12;244;;x +11284;89;12;248;;x +11285;90;12;232;;x +11286;91;12;236;;x +11287;92;12;240;;x +11288;93;12;244;;x +11289;94;12;248;;x +11290;95;12;232;;x +11291;96;12;236;;x +11292;97;12;240;;x +11293;98;12;244;;x +11294;99;12;248;;x +11295;100;12;232;;x +11296;101;12;236;;x +11297;102;12;240;;x +11298;103;12;244;;x +11299;104;12;248;;x +11300;105;12;232;;x +11301;106;12;236;;x +11302;107;12;240;;x +11303;108;12;244;;x +11304;109;12;248;;x +11305;110;12;232;;x +11306;111;12;236;;x +11307;112;12;240;;x +11308;113;12;244;;x +11309;114;12;248;;x +11310;115;12;232;;x +11311;116;12;236;;x +11312;117;12;240;;x +11313;118;12;244;;x +11314;119;12;248;;x +11315;120;12;232;;x +11316;121;12;236;;x +11317;122;12;240;;x +11318;123;12;244;;x +11319;124;12;248;;x +11320;125;12;232;;x +11321;126;12;236;;x +11322;0;12;240;;x +11323;1;12;244;;x +11324;2;12;248;;x +11325;3;12;232;;x +11326;4;12;236;;x +11327;5;12;240;;x +11328;6;12;244;;x +11329;7;12;248;;x +11330;8;12;232;;x +11331;9;12;236;;x +11332;10;12;240;;x +11333;11;12;244;;x +11334;12;12;248;;x +11335;13;12;232;;x +11336;14;12;236;;x +11337;15;12;240;;x +11338;16;12;244;;x +11339;17;12;248;;x +11340;18;12;232;;x +11341;19;12;236;;x +11342;20;12;240;;x +11343;21;12;244;;x +11344;22;12;248;;x +11345;23;12;232;;x +11346;24;12;236;;x +11347;25;12;240;;x +11348;26;12;244;;x +11349;27;12;248;;x +11350;28;12;232;;x +11351;29;12;236;;x +11352;30;12;240;;x +11353;31;12;244;;x +11354;32;12;248;;x +11355;33;12;232;;x +11356;34;12;236;;x +11357;35;12;240;;x +11358;36;12;244;;x +11359;37;12;248;;x +11360;38;12;232;;x +11361;39;12;236;;x +11362;40;12;240;;x +11363;41;12;244;;x +11364;42;12;248;;x +11365;43;12;232;;x +11366;44;12;236;;x +11367;45;12;240;;x +11368;46;12;244;;x +11369;47;12;248;;x +11370;48;12;232;;x +11371;49;12;236;;x +11372;50;12;240;;x +11373;51;12;244;;x +11374;52;12;248;;x +11375;53;12;232;;x +11376;54;12;236;;x +11377;55;12;240;;x +11378;56;12;244;;x +11379;255;61;128;;x +11380;255;61;255;;x +11381;59;12;236;;x +11382;60;12;240;;x +11383;61;12;244;;x +11384;255;61;129;;x +11385;255;61;254;;x +11386;255;61;130;;x +11387;255;61;253;;x +11388;255;61;131;;x +11389;255;61;252;;x +11390;255;61;132;;x +11391;255;61;251;;x +11392;255;61;133;;x +11393;71;12;244;;x +11394;72;12;248;;x +11395;73;12;232;;x +11396;74;12;236;;x +11397;75;12;240;;x +11398;76;12;244;;x +11399;77;12;248;;x +11400;78;14;232;;x +11401;79;14;236;;x +11402;80;14;240;;x +11403;81;14;244;;x +11404;82;14;248;;x +11405;83;14;232;;x +11406;84;14;236;;x +11407;85;14;240;;x +11408;86;14;244;;x +11409;87;14;248;;x +11410;88;14;232;;x +11411;89;14;236;;x +11412;90;14;240;;x +11413;91;14;244;;x +11414;92;14;248;;x +11415;93;14;232;;x +11416;94;14;236;;x +11417;95;14;240;;x +11418;96;14;244;;x +11419;97;14;248;;x +11420;98;14;232;;x +11421;99;14;236;;x +11422;100;14;240;;x +11423;101;14;244;;x +11424;102;14;248;;x +11425;103;14;232;;x +11426;104;14;236;;x +11427;105;14;240;;x +11428;106;14;244;;x +11429;107;14;248;;x +11430;108;14;232;;x +11431;109;14;236;;x +11432;110;14;240;;x +11433;111;14;244;;x +11434;112;14;248;;x +11435;113;14;232;;x +11436;114;14;236;;x +11437;115;14;240;;x +11438;116;14;244;;x +11439;117;14;248;;x +11440;118;14;232;;x +11441;119;14;236;;x +11442;120;14;240;;x +11443;121;14;244;;x +11444;122;14;248;;x +11445;123;14;232;;x +11446;124;14;236;;x +11447;125;14;240;;x +11448;126;14;244;;x +11449;0;14;248;;x +11450;1;14;232;;x +11451;2;14;236;;x +11452;3;14;240;;x +11453;4;14;244;;x +11454;5;14;248;;x +11455;6;14;232;;x +11456;7;14;236;;x +11457;8;14;240;;x +11458;9;14;244;;x +11459;10;14;248;;x +11460;11;14;232;;x +11461;12;14;236;;x +11462;13;14;240;;x +11463;14;14;244;;x +11464;15;14;248;;x +11465;16;14;232;;x +11466;17;14;236;;x +11467;18;14;240;;x +11468;19;14;244;;x +11469;20;14;248;;x +11470;21;14;232;;x +11471;22;14;236;;x +11472;23;14;240;;x +11473;24;14;244;;x +11474;25;14;248;;x +11475;26;14;232;;x +11476;27;14;236;;x +11477;28;14;240;;x +11478;29;14;244;;x +11479;30;14;248;;x +11480;31;14;232;;x +11481;32;14;236;;x +11482;33;14;240;;x +11483;34;14;244;;x +11484;35;14;248;;x +11485;36;14;232;;x +11486;37;14;236;;x +11487;38;14;240;;x +11488;39;14;244;;x +11489;40;14;248;;x +11490;41;14;232;;x +11491;42;14;236;;x +11492;43;14;240;;x +11493;44;14;244;;x +11494;45;14;248;;x +11495;46;14;232;;x +11496;47;14;236;;x +11497;48;14;240;;x +11498;49;14;244;;x +11499;50;14;248;;x +11500;51;15;232;;x +11501;52;15;236;;x +11502;53;15;240;;x +11503;54;15;244;;x +11504;55;15;248;;x +11505;56;15;232;;x +11506;57;15;236;;x +11507;58;15;240;;x +11508;59;15;244;;x +11509;60;15;248;;x +11510;61;15;232;;x +11511;62;15;236;;x +11512;63;15;240;;x +11513;64;15;244;;x +11514;65;15;248;;x +11515;66;15;232;;x +11516;67;15;236;;x +11517;68;15;240;;x +11518;69;15;244;;x +11519;70;15;248;;x +11520;71;15;232;;x +11521;72;15;236;;x +11522;73;15;240;;x +11523;74;15;244;;x +11524;75;15;248;;x +11525;76;15;232;;x +11526;77;15;236;;x +11527;78;15;240;;x +11528;79;15;244;;x +11529;80;15;248;;x +11530;81;15;232;;x +11531;82;15;236;;x +11532;83;15;240;;x +11533;84;15;244;;x +11534;85;15;248;;x +11535;86;15;232;;x +11536;87;15;236;;x +11537;88;15;240;;x +11538;89;15;244;;x +11539;90;15;248;;x +11540;91;15;232;;x +11541;92;15;236;;x +11542;93;15;240;;x +11543;94;15;244;;x +11544;95;15;248;;x +11545;96;15;232;;x +11546;97;15;236;;x +11547;98;15;240;;x +11548;99;15;244;;x +11549;100;15;248;;x +11550;101;15;232;;x +11551;102;15;236;;x +11552;103;15;240;;x +11553;104;15;244;;x +11554;105;15;248;;x +11555;106;15;232;;x +11556;107;15;236;;x +11557;108;15;240;;x +11558;109;15;244;;x +11559;110;15;248;;x +11560;111;15;232;;x +11561;112;15;236;;x +11562;113;15;240;;x +11563;114;15;244;;x +11564;115;15;248;;x +11565;116;15;232;;x +11566;117;15;236;;x +11567;118;15;240;;x +11568;119;15;244;;x +11569;120;15;248;;x +11570;121;15;232;;x +11571;122;15;236;;x +11572;123;15;240;;x +11573;124;15;244;;x +11574;125;15;248;;x +11575;126;15;232;;x +11576;0;15;236;;"x " +11577;1;15;240;;"x " +11578;2;15;244;;"x " +11579;3;15;248;;"x " +11580;4;15;232;;"x " +11581;5;15;236;;"x " +11582;6;15;240;;"x " +11583;7;15;244;;"x " +11584;8;15;248;;"x " +11585;9;15;232;;"x " +11586;10;15;236;;"x " +11587;11;15;240;;"x " +11588;12;15;244;;"x " +11589;13;15;248;;"x " +11590;14;15;232;;"x " +11591;15;15;236;;"x " +11592;16;15;240;;"x " +11593;17;15;244;;"x " +11594;18;15;248;;"x " +11595;19;15;232;;"x " +11596;20;15;236;;"x " +11597;21;15;240;;"x " +11598;22;15;244;;"x " +11599;23;15;248;;"x " +11600;24;16;232;;x +11601;25;16;236;;x +11602;26;16;240;;x +11603;27;16;244;;x +11604;28;16;248;;x +11605;29;16;232;;x +11606;30;16;236;;x +11607;31;16;240;;x +11608;32;16;244;;x +11609;33;16;248;;x +11610;34;16;232;;x +11611;35;16;236;;x +11612;36;16;240;;x +11613;37;16;244;;x +11614;38;16;248;;x +11615;39;16;232;;x +11616;40;16;236;;x +11617;41;16;240;;x +11618;42;16;244;;x +11619;43;16;248;;x +11620;44;16;232;;x +11621;45;16;236;;x +11622;46;16;240;;x +11623;47;16;244;;x +11624;48;16;248;;x +11625;49;16;232;;x +11626;50;16;236;;x +11627;51;16;240;;x +11628;52;16;244;;x +11629;53;16;248;;x +11630;54;16;232;;x +11631;55;16;236;;x +11632;56;16;240;;x +11633;57;16;244;;x +11634;58;16;248;;x +11635;59;16;232;;x +11636;60;16;236;;x +11637;61;16;240;;x +11638;62;16;244;;x +11639;63;16;248;;x +11640;64;16;232;;x +11641;65;16;236;;x +11642;66;16;240;;x +11643;67;16;244;;x +11644;68;16;248;;x +11645;69;16;232;;x +11646;70;16;236;;x +11647;71;16;240;;x +11648;72;16;244;;x +11649;73;16;248;;x +11650;74;16;232;;x +11651;75;16;236;;x +11652;76;16;240;;x +11653;77;16;244;;x +11654;78;16;248;;x +11655;79;16;232;;x +11656;80;16;236;;x +11657;81;16;240;;x +11658;82;16;244;;x +11659;83;16;248;;x +11660;84;16;232;;x +11661;85;16;236;;x +11662;86;16;240;;x +11663;87;16;244;;x +11664;88;16;248;;x +11665;89;16;232;;x +11666;90;16;236;;x +11667;91;16;240;;x +11668;92;16;244;;x +11669;93;16;248;;x +11670;94;16;232;;x +11671;95;16;236;;x +11672;96;16;240;;x +11673;97;16;244;;x +11674;98;16;248;;x +11675;99;16;232;;x +11676;100;16;236;;x +11677;101;16;240;;x +11678;102;16;244;;x +11679;103;16;248;;x +11680;104;16;232;;x +11681;105;16;236;;x +11682;106;16;240;;x +11683;107;16;244;;x +11684;108;16;248;;x +11685;109;16;232;;x +11686;110;16;236;;x +11687;111;16;240;;x +11688;112;16;244;;x +11689;113;16;248;;x +11690;114;16;232;;x +11691;115;16;236;;x +11692;116;16;240;;x +11693;117;16;244;;x +11694;118;16;248;;x +11695;119;16;232;;x +11696;120;16;236;;x +11697;121;16;240;;x +11698;122;16;244;;x +11699;123;16;248;;x +11700;124;17;232;;x +11701;125;17;236;;x +11702;126;17;240;;x +11703;0;17;244;;x +11704;1;17;248;;x +11705;2;17;232;;x +11706;3;17;236;;x +11707;4;17;240;;x +11708;5;17;244;;x +11709;6;17;248;;x +11710;7;17;232;;x +11711;8;17;236;;x +11712;9;17;240;;x +11713;10;17;244;;x +11714;11;17;248;;x +11715;12;17;232;;x +11716;13;17;236;;x +11717;14;17;240;;x +11718;15;17;244;;x +11719;16;17;248;;x +11720;17;17;232;;x +11721;18;17;236;;x +11722;19;17;240;;x +11723;20;17;244;;x +11724;21;17;248;;x +11725;22;17;232;;x +11726;23;17;236;;x +11727;24;17;240;;x +11728;25;17;244;;x +11729;26;17;248;;x +11730;27;17;232;;x +11731;28;17;236;;x +11732;29;17;240;;x +11733;30;17;244;;x +11734;31;17;248;;x +11735;32;17;232;;x +11736;33;17;236;;x +11737;34;17;240;;x +11738;35;17;244;;x +11739;36;17;248;;x +11740;37;17;232;;x +11741;38;17;236;;x +11742;39;17;240;;x +11743;40;17;244;;x +11744;41;17;248;;x +11745;42;17;232;;x +11746;43;17;236;;x +11747;44;17;240;;x +11748;45;17;244;;x +11749;46;17;248;;x +11750;47;17;232;;x +11751;48;17;236;;x +11752;49;17;240;;x +11753;50;17;244;;x +11754;51;17;248;;x +11755;52;17;232;;x +11756;53;17;236;;x +11757;54;17;240;;x +11758;55;17;244;;x +11759;56;17;248;;x +11760;57;17;232;;x +11761;58;17;236;;x +11762;59;17;240;;x +11763;60;17;244;;x +11764;61;17;248;;x +11765;62;17;232;;x +11766;63;17;236;;x +11767;64;17;240;;x +11768;65;17;244;;x +11769;66;17;248;;x +11770;67;17;232;;x +11771;68;17;236;;x +11772;69;17;240;;x +11773;70;17;244;;x +11774;71;17;248;;x +11775;72;17;232;;x +11776;73;17;236;;x +11777;74;17;240;;x +11778;75;17;244;;x +11779;76;17;248;;x +11780;77;17;232;;x +11781;78;17;236;;x +11782;79;17;240;;x +11783;80;17;244;;x +11784;81;17;248;;x +11785;82;17;232;;x +11786;83;17;236;;x +11787;84;17;240;;x +11788;85;17;244;;x +11789;86;17;248;;x +11790;87;17;232;;x +11791;88;17;236;;x +11792;89;17;240;;x +11793;90;17;244;;x +11794;91;17;248;;x +11795;92;17;232;;x +11796;93;17;236;;x +11797;94;17;240;;x +11798;95;17;244;;x +11799;96;17;248;;x +11800;97;18;232;;x +11801;98;18;236;;x +11802;99;18;240;;x +11803;100;18;244;;x +11804;101;18;248;;x +11805;102;18;232;;x +11806;103;18;236;;x +11807;104;18;240;;x +11808;105;18;244;;x +11809;106;18;248;;x +11810;107;18;232;;x +11811;108;18;236;;x +11812;109;18;240;;x +11813;110;18;244;;x +11814;111;18;248;;x +11815;112;18;232;;x +11816;113;18;236;;x +11817;114;18;240;;x +11818;115;18;244;;x +11819;116;18;248;;x +11820;117;18;232;;x +11821;118;18;236;;x +11822;119;18;240;;x +11823;120;18;244;;x +11824;121;18;248;;x +11825;122;18;232;;x +11826;123;18;236;;x +11827;124;18;240;;x +11828;125;18;244;;x +11829;126;18;248;;x +11830;0;18;232;;x +11831;1;18;236;;x +11832;2;18;240;;x +11833;3;18;244;;x +11834;4;18;248;;x +11835;5;18;232;;x +11836;6;18;236;;x +11837;7;18;240;;x +11838;8;18;244;;x +11839;9;18;248;;x +11840;10;18;232;;x +11841;11;18;236;;x +11842;12;18;240;;x +11843;13;18;244;;x +11844;14;18;248;;x +11845;15;18;232;;x +11846;16;18;236;;x +11847;17;18;240;;x +11848;18;18;244;;x +11849;19;18;248;;x +11850;20;18;232;;x +11851;21;18;236;;x +11852;22;18;240;;x +11853;23;18;244;;x +11854;24;18;248;;x +11855;25;18;232;;x +11856;26;18;236;;x +11857;27;18;240;;x +11858;28;18;244;;x +11859;29;18;248;;x +11860;30;18;232;;x +11861;31;18;236;;x +11862;32;18;240;;x +11863;33;18;244;;x +11864;34;18;248;;x +11865;35;18;232;;x +11866;36;18;236;;x +11867;37;18;240;;x +11868;38;18;244;;x +11869;39;18;248;;x +11870;40;18;232;;x +11871;41;18;236;;x +11872;42;18;240;;x +11873;43;18;244;;x +11874;44;18;248;;x +11875;45;18;232;;x +11876;46;18;236;;x +11877;47;18;240;;x +11878;48;18;244;;x +11879;49;18;248;;x +11880;50;18;232;;x +11881;51;18;236;;x +11882;52;18;240;;x +11883;53;18;244;;x +11884;54;18;248;;x +11885;55;18;232;;x +11886;56;18;236;;x +11887;57;18;240;;x +11888;58;18;244;;x +11889;59;18;248;;x +11890;60;18;232;;x +11891;61;18;236;;x +11892;62;18;240;;x +11893;63;18;244;;x +11894;64;18;248;;x +11895;65;18;232;;x +11896;66;18;236;;x +11897;67;18;240;;x +11898;68;18;244;;x +11899;69;18;248;;x +11900;70;19;232;;x +11901;71;19;236;;x +11902;72;19;240;;x +11903;73;19;244;;x +11904;74;19;248;;x +11905;75;19;232;;x +11906;76;19;236;;x +11907;77;19;240;;x +11908;78;19;244;;x +11909;79;19;248;;x +11910;80;19;232;;x +11911;81;19;236;;x +11912;82;19;240;;x +11913;83;19;244;;x +11914;84;19;248;;x +11915;85;19;232;;x +11916;86;19;236;;x +11917;87;19;240;;x +11918;88;19;244;;x +11919;89;19;248;;x +11920;90;19;232;;x +11921;91;19;236;;x +11922;92;19;240;;x +11923;93;19;244;;x +11924;94;19;248;;x +11925;95;19;232;;x +11926;96;19;236;;x +11927;97;19;240;;x +11928;98;19;244;;x +11929;99;19;248;;x +11930;100;19;232;;x +11931;101;19;236;;x +11932;102;19;240;;x +11933;103;19;244;;x +11934;104;19;248;;x +11935;105;19;232;;x +11936;106;19;236;;x +11937;107;19;240;;x +11938;108;19;244;;x +11939;109;19;248;;x +11940;110;19;232;;x +11941;111;19;236;;x +11942;112;19;240;;x +11943;113;19;244;;x +11944;114;19;248;;x +11945;115;19;232;;x +11946;116;19;236;;x +11947;117;19;240;;x +11948;118;19;244;;x +11949;119;19;248;;x +11950;120;19;232;;x +11951;121;19;236;;x +11952;122;19;240;;x +11953;123;19;244;;x +11954;124;19;248;;x +11955;125;19;232;;x +11956;126;19;236;;x +11957;0;19;240;;x +11958;1;19;244;;x +11959;2;19;248;;x +11960;3;19;232;;x +11961;4;19;236;;x +11962;5;19;240;;x +11963;6;19;244;;x +11964;7;19;248;;x +11965;8;19;232;;x +11966;9;19;236;;x +11967;10;19;240;;x +11968;11;19;244;;x +11969;12;19;248;;x +11970;13;19;232;;x +11971;14;19;236;;x +11972;15;19;240;;x +11973;16;19;244;;x +11974;17;19;248;;x +11975;18;19;232;;x +11976;19;19;236;;x +11977;20;19;240;;x +11978;21;19;244;;x +11979;22;19;248;;x +11980;23;19;232;;x +11981;24;19;236;;x +11982;25;19;240;;x +11983;26;19;244;;x +11984;27;19;248;;x +11985;28;19;232;;x +11986;29;19;236;;x +11987;30;19;240;;x +11988;31;19;244;;x +11989;32;19;248;;x +11990;33;19;232;;x +11991;34;19;236;;x +11992;35;19;240;;x +11993;36;19;244;;x +11994;37;19;248;;x +11995;38;19;232;;x +11996;39;19;236;;x +11997;40;19;240;;x +11998;41;19;244;;x +11999;42;19;248;;x +12000;43;20;232;;x +12001;44;20;236;;x +12002;45;20;240;;x +12003;46;20;244;;x +12004;47;20;248;;x +12005;48;20;232;;x +12006;49;20;236;;x +12007;50;20;240;;x +12008;51;20;244;;x +12009;52;20;248;;x +12010;53;20;232;;x +12011;54;20;236;;x +12012;55;20;240;;x +12013;56;20;244;;x +12014;57;20;248;;x +12015;58;20;232;;x +12016;59;20;236;;x +12017;60;20;240;;x +12018;61;20;244;;x +12019;62;20;248;;x +12020;63;20;232;;x +12021;64;20;236;;x +12022;65;20;240;;x +12023;66;20;244;;x +12024;67;20;248;;x +12025;68;20;232;;x +12026;69;20;236;;x +12027;70;20;240;;x +12028;71;20;244;;x +12029;72;20;248;;x +12030;73;20;232;;x +12031;74;20;236;;x +12032;75;20;240;;x +12033;76;20;244;;x +12034;77;20;248;;x +12035;78;20;232;;x +12036;79;20;236;;x +12037;80;20;240;;x +12038;81;20;244;;x +12039;82;20;248;;x +12040;83;20;232;;x +12041;84;20;236;;x +12042;85;20;240;;x +12043;86;20;244;;x +12044;87;20;248;;x +12045;88;20;232;;x +12046;89;20;236;;x +12047;90;20;240;;x +12048;91;20;244;;x +12049;92;20;248;;x +12050;93;20;232;;x +12051;94;20;236;;x +12052;95;20;240;;x +12053;96;20;244;;x +12054;97;20;248;;x +12055;98;20;232;;x +12056;99;20;236;;x +12057;100;20;240;;x +12058;101;20;244;;x +12059;102;20;248;;x +12060;103;20;232;;x +12061;104;20;236;;x +12062;105;20;240;;x +12063;106;20;244;;x +12064;107;20;248;;x +12065;108;20;232;;x +12066;109;20;236;;x +12067;110;20;240;;x +12068;111;20;244;;x +12069;112;20;248;;x +12070;113;20;232;;x +12071;114;20;236;;x +12072;115;20;240;;x +12073;116;20;244;;x +12074;117;20;248;;x +12075;118;20;232;;x +12076;119;20;236;;x +12077;120;20;240;;x +12078;121;20;244;;x +12079;122;20;248;;x +12080;123;20;232;;x +12081;124;20;236;;x +12082;125;20;240;;x +12083;126;20;244;;x +12084;0;20;248;;x +12085;1;20;232;;x +12086;2;20;236;;x +12087;3;20;240;;x +12088;4;20;244;;x +12089;5;20;248;;x +12090;6;20;232;;x +12091;7;20;236;;x +12092;8;20;240;;x +12093;9;20;244;;x +12094;10;20;248;;x +12095;11;20;232;;x +12096;12;20;236;;x +12097;13;20;240;;x +12098;14;20;244;;x +12099;15;20;248;;x +12100;16;21;232;;x +12101;17;21;236;;x +12102;18;21;240;;x +12103;19;21;244;;x +12104;20;21;248;;x +12105;21;21;232;;x +12106;22;21;236;;x +12107;23;21;240;;x +12108;24;21;244;;x +12109;25;21;248;;x +12110;26;21;232;;x +12111;27;21;236;;x +12112;28;21;240;;x +12113;29;21;244;;x +12114;30;21;248;;x +12115;31;21;232;;x +12116;32;21;236;;x +12117;33;21;240;;x +12118;34;21;244;;x +12119;35;21;248;;x +12120;36;21;232;;x +12121;37;21;236;;x +12122;38;21;240;;x +12123;39;21;244;;x +12124;40;21;248;;x +12125;41;21;232;;x +12126;42;21;236;;x +12127;43;21;240;;x +12128;44;21;244;;x +12129;45;21;248;;x +12130;46;21;232;;x +12131;47;21;236;;x +12132;48;21;240;;x +12133;49;21;244;;x +12134;50;21;248;;x +12135;51;21;232;;x +12136;52;21;236;;x +12137;53;21;240;;x +12138;54;21;244;;x +12139;55;21;248;;x +12140;56;21;232;;x +12141;57;21;236;;x +12142;58;21;240;;x +12143;59;21;244;;x +12144;60;21;248;;x +12145;61;21;232;;x +12146;62;21;236;;x +12147;63;21;240;;x +12148;64;21;244;;x +12149;65;21;248;;x +12150;66;21;232;;x +12151;67;21;236;;x +12152;68;21;240;;x +12153;69;21;244;;x +12154;70;21;248;;x +12155;71;21;232;;x +12156;72;21;236;;x +12157;73;21;240;;x +12158;74;21;244;;x +12159;75;21;248;;x +12160;76;21;232;;x +12161;77;21;236;;x +12162;78;21;240;;x +12163;79;21;244;;x +12164;80;21;248;;x +12165;81;21;232;;x +12166;82;21;236;;x +12167;83;21;240;;x +12168;84;21;244;;x +12169;85;21;248;;x +12170;86;21;232;;x +12171;87;21;236;;x +12172;88;21;240;;x +12173;89;21;244;;x +12174;90;21;248;;x +12175;91;21;232;;x +12176;92;21;236;;x +12177;93;21;240;;x +12178;94;21;244;;x +12179;95;21;248;;x +12180;96;21;232;;x +12181;97;21;236;;x +12182;98;21;240;;x +12183;99;21;244;;x +12184;100;21;248;;x +12185;101;21;232;;x +12186;102;21;236;;x +12187;103;21;240;;x +12188;104;21;244;;x +12189;105;21;248;;x +12190;106;21;232;;x +12191;107;21;236;;x +12192;108;21;240;;x +12193;109;21;244;;x +12194;110;21;248;;x +12195;111;21;232;;x +12196;112;21;236;;x +12197;113;21;240;;x +12198;114;21;244;;x +12199;115;21;248;;x +12200;116;22;232;;x +12201;117;22;236;;x +12202;118;22;240;;x +12203;119;22;244;;x +12204;120;22;248;;x +12205;121;22;232;;x +12206;122;22;236;;x +12207;123;22;240;;x +12208;124;22;244;;x +12209;125;22;248;;x +12210;126;22;232;;x +12211;0;22;236;;x +12212;1;22;240;;x +12213;2;22;244;;x +12214;3;22;248;;x +12215;4;22;232;;x +12216;5;22;236;;x +12217;6;22;240;;x +12218;7;22;244;;x +12219;8;22;248;;x +12220;9;22;232;;x +12221;10;22;236;;x +12222;11;22;240;;x +12223;12;22;244;;x +12224;13;22;248;;x +12225;14;22;232;;x +12226;15;22;236;;x +12227;16;22;240;;x +12228;17;22;244;;x +12229;18;22;248;;x +12230;19;22;232;;x +12231;20;22;236;;x +12232;21;22;240;;x +12233;22;22;244;;x +12234;23;22;248;;x +12235;24;22;232;;x +12236;25;22;236;;x +12237;26;22;240;;x +12238;27;22;244;;x +12239;28;22;248;;x +12240;29;22;232;;x +12241;30;22;236;;x +12242;31;22;240;;x +12243;32;22;244;;x +12244;33;22;248;;x +12245;34;22;232;;x +12246;35;22;236;;x +12247;36;22;240;;x +12248;37;22;244;;x +12249;38;22;248;;x +12250;39;22;232;;x +12251;40;22;236;;x +12252;41;22;240;;x +12253;42;22;244;;x +12254;43;22;248;;x +12255;44;22;232;;x +12256;45;22;236;;x +12257;46;22;240;;x +12258;47;22;244;;x +12259;48;22;248;;x +12260;49;22;232;;x +12261;50;22;236;;x +12262;51;22;240;;x +12263;52;22;244;;x +12264;53;22;248;;x +12265;54;22;232;;x +12266;55;22;236;;x +12267;56;22;240;;x +12268;57;22;244;;x +12269;58;22;248;;x +12270;59;22;232;;x +12271;60;22;236;;x +12272;61;22;240;;x +12273;62;22;244;;x +12274;63;22;248;;x +12275;64;22;232;;x +12276;65;22;236;;x +12277;66;22;240;;x +12278;67;22;244;;x +12279;68;22;248;;x +12280;69;22;232;;x +12281;70;22;236;;x +12282;71;22;240;;x +12283;72;22;244;;x +12284;73;22;248;;x +12285;74;22;232;;x +12286;75;22;236;;x +12287;76;22;240;;x +12288;77;22;244;;x +12289;78;22;248;;x +12290;79;22;232;;x +12291;80;22;236;;x +12292;81;22;240;;x +12293;82;22;244;;x +12294;83;22;248;;x +12295;84;22;232;;x +12296;85;22;236;;x +12297;86;22;240;;x +12298;87;22;244;;x +12299;88;22;248;;x +12300;89;23;232;;x +12301;90;23;236;;x +12302;91;23;240;;x +12303;92;23;244;;x +12304;93;23;248;;x +12305;94;23;232;;x +12306;95;23;236;;x +12307;96;23;240;;x +12308;97;23;244;;x +12309;98;23;248;;x +12310;99;23;232;;x +12311;100;23;236;;x +12312;101;23;240;;x +12313;102;23;244;;x +12314;103;23;248;;x +12315;104;23;232;;x +12316;105;23;236;;x +12317;106;23;240;;x +12318;107;23;244;;x +12319;108;23;248;;x +12320;109;23;232;;x +12321;110;23;236;;x +12322;111;23;240;;x +12323;112;23;244;;x +12324;113;23;248;;x +12325;114;23;232;;x +12326;115;23;236;;x +12327;116;23;240;;x +12328;117;23;244;;x +12329;118;23;248;;x +12330;119;23;232;;x +12331;120;23;236;;x +12332;121;23;240;;x +12333;122;23;244;;x +12334;123;23;248;;x +12335;124;23;232;;x +12336;125;23;236;;x +12337;126;23;240;;x +12338;0;23;244;;x +12339;1;23;248;;x +12340;2;23;232;;x +12341;3;23;236;;x +12342;4;23;240;;x +12343;5;23;244;;x +12344;6;23;248;;x +12345;7;23;232;;x +12346;8;23;236;;x +12347;9;23;240;;x +12348;10;23;244;;x +12349;11;23;248;;x +12350;12;23;232;;x +12351;13;23;236;;x +12352;14;23;240;;x +12353;15;23;244;;x +12354;16;23;248;;x +12355;17;23;232;;x +12356;18;23;236;;x +12357;19;23;240;;x +12358;20;23;244;;x +12359;21;23;248;;x +12360;22;23;232;;x +12361;23;23;236;;x +12362;24;23;240;;x +12363;25;23;244;;x +12364;26;23;248;;x +12365;27;23;232;;x +12366;28;23;236;;x +12367;29;23;240;;x +12368;30;23;244;;x +12369;31;23;248;;x +12370;32;23;232;;x +12371;33;23;236;;x +12372;34;23;240;;x +12373;35;23;244;;x +12374;36;23;248;;x +12375;37;23;232;;x +12376;38;23;236;;x +12377;39;23;240;;x +12378;40;23;244;;x +12379;41;23;248;;x +12380;42;23;232;;x +12381;43;23;236;;x +12382;44;23;240;;x +12383;45;23;244;;x +12384;46;23;248;;x +12385;47;23;232;;x +12386;48;23;236;;x +12387;49;23;240;;x +12388;50;23;244;;x +12389;51;23;248;;x +12390;52;23;232;;x +12391;53;23;236;;x +12392;54;23;240;;x +12393;55;23;244;;x +12394;56;23;248;;x +12395;57;23;232;;x +12396;58;23;236;;x +12397;59;23;240;;x +12398;60;23;244;;x +12399;61;23;248;;x +12400;62;24;232;;x +12401;63;24;236;;x +12402;64;24;240;;x +12403;65;24;244;;x +12404;66;24;248;;x +12405;67;24;232;;x +12406;68;24;236;;x +12407;69;24;240;;x +12408;70;24;244;;x +12409;71;24;248;;x +12410;72;24;232;;x +12411;73;24;236;;x +12412;74;24;240;;x +12413;75;24;244;;x +12414;76;24;248;;x +12415;77;24;232;;x +12416;78;24;236;;x +12417;79;24;240;;x +12418;80;24;244;;x +12419;81;24;248;;x +12420;82;24;232;;x +12421;83;24;236;;x +12422;84;24;240;;x +12423;85;24;244;;x +12424;86;24;248;;x +12425;87;24;232;;x +12426;88;24;236;;x +12427;89;24;240;;x +12428;90;24;244;;x +12429;91;24;248;;x +12430;92;24;232;;x +12431;93;24;236;;x +12432;94;24;240;;x +12433;95;24;244;;x +12434;96;24;248;;x +12435;97;24;232;;x +12436;98;24;236;;x +12437;99;24;240;;x +12438;100;24;244;;x +12439;101;24;248;;x +12440;102;24;232;;x +12441;103;24;236;;x +12442;104;24;240;;x +12443;105;24;244;;x +12444;106;24;248;;x +12445;107;24;232;;x +12446;108;24;236;;x +12447;109;24;240;;x +12448;110;24;244;;x +12449;111;24;248;;x +12450;112;24;232;;x +12451;113;24;236;;x +12452;114;24;240;;x +12453;115;24;244;;x +12454;116;24;248;;x +12455;117;24;232;;x +12456;118;24;236;;x +12457;119;24;240;;x +12458;120;24;244;;x +12459;121;24;248;;x +12460;122;24;232;;x +12461;123;24;236;;x +12462;124;24;240;;x +12463;125;24;244;;x +12464;126;24;248;;x +12465;0;24;232;;x +12466;1;24;236;;x +12467;2;24;240;;x +12468;3;24;244;;x +12469;4;24;248;;x +12470;5;24;232;;x +12471;6;24;236;;x +12472;7;24;240;;x +12473;8;24;244;;x +12474;9;24;248;;x +12475;10;24;232;;x +12476;11;24;236;;x +12477;12;24;240;;x +12478;13;24;244;;x +12479;14;24;248;;x +12480;15;24;232;;x +12481;16;24;236;;x +12482;17;24;240;;x +12483;18;24;244;;x +12484;19;24;248;;x +12485;20;24;232;;x +12486;21;24;236;;x +12487;22;24;240;;x +12488;23;24;244;;x +12489;24;24;248;;x +12490;25;24;232;;x +12491;26;24;236;;x +12492;27;24;240;;x +12493;28;24;244;;x +12494;29;24;248;;x +12495;30;24;232;;x +12496;31;24;236;;x +12497;32;24;240;;x +12498;33;24;244;;x +12499;34;24;248;;x +12500;35;25;232;;x +12501;36;25;236;;x +12502;37;25;240;;x +12503;38;25;244;;x +12504;39;25;248;;x +12505;40;25;232;;x +12506;41;25;236;;x +12507;42;25;240;;x +12508;43;25;244;;x +12509;44;25;248;;x +12510;45;25;232;;x +12511;46;25;236;;x +12512;47;25;240;;x +12513;48;25;244;;x +12514;49;25;248;;x +12515;50;25;232;;x +12516;51;25;236;;x +12517;52;25;240;;x +12518;53;25;244;;x +12519;54;25;248;;x +12520;55;25;232;;x +12521;56;25;236;;x +12522;57;25;240;;x +12523;58;25;244;;x +12524;59;25;248;;x +12525;60;25;232;;x +12526;61;25;236;;x +12527;62;25;240;;x +12528;63;25;244;;x +12529;64;25;248;;x +12530;65;25;232;;x +12531;66;25;236;;x +12532;67;25;240;;x +12533;68;25;244;;x +12534;69;25;248;;x +12535;70;25;232;;x +12536;71;25;236;;x +12537;72;25;240;;x +12538;73;25;244;;x +12539;74;25;248;;x +12540;75;25;232;;x +12541;76;25;236;;x +12542;77;25;240;;x +12543;78;25;244;;x +12544;79;25;248;;x +12545;80;25;232;;x +12546;81;25;236;;x +12547;82;25;240;;x +12548;83;25;244;;x +12549;84;25;248;;x +12550;85;25;232;;x +12551;86;25;236;;x +12552;87;25;240;;x +12553;88;25;244;;x +12554;89;25;248;;x +12555;90;25;232;;x +12556;91;25;236;;x +12557;92;25;240;;x +12558;93;25;244;;x +12559;94;25;248;;x +12560;95;25;232;;x +12561;96;25;236;;x +12562;97;25;240;;x +12563;98;25;244;;x +12564;99;25;248;;x +12565;100;25;232;;x +12566;101;25;236;;x +12567;102;25;240;;x +12568;103;25;244;;x +12569;104;25;248;;x +12570;105;25;232;;x +12571;106;25;236;;x +12572;107;25;240;;x +12573;108;25;244;;x +12574;109;25;248;;x +12575;110;25;232;;x +12576;111;25;236;;x +12577;112;25;240;;x +12578;113;25;244;;x +12579;114;25;248;;x +12580;115;25;232;;x +12581;116;25;236;;x +12582;117;25;240;;x +12583;118;25;244;;x +12584;119;25;248;;x +12585;120;25;232;;x +12586;121;25;236;;x +12587;122;25;240;;x +12588;123;25;244;;x +12589;124;25;248;;x +12590;125;25;232;;x +12591;126;25;236;;x +12592;0;25;240;;x +12593;1;25;244;;x +12594;2;25;248;;x +12595;3;25;232;;x +12596;4;25;236;;x +12597;5;25;240;;x +12598;6;25;244;;x +12599;7;25;248;;x +12600;8;26;232;;x +12601;9;26;236;;x +12602;10;26;240;;x +12603;11;26;244;;x +12604;12;26;248;;x +12605;13;26;232;;x +12606;14;26;236;;x +12607;15;26;240;;x +12608;16;26;244;;x +12609;17;26;248;;x +12610;18;26;232;;x +12611;19;26;236;;x +12612;20;26;240;;x +12613;21;26;244;;x +12614;22;26;248;;x +12615;23;26;232;;x +12616;24;26;236;;x +12617;25;26;240;;x +12618;26;26;244;;x +12619;27;26;248;;x +12620;28;26;232;;x +12621;29;26;236;;x +12622;30;26;240;;x +12623;31;26;244;;x +12624;32;26;248;;x +12625;33;26;232;;x +12626;34;26;236;;x +12627;35;26;240;;x +12628;36;26;244;;x +12629;37;26;248;;x +12630;38;26;232;;x +12631;39;26;236;;x +12632;40;26;240;;x +12633;41;26;244;;x +12634;42;26;248;;x +12635;43;26;232;;x +12636;44;26;236;;x +12637;45;26;240;;x +12638;46;26;244;;x +12639;47;26;248;;x +12640;48;26;232;;x +12641;49;26;236;;x +12642;50;26;240;;x +12643;51;26;244;;x +12644;52;26;248;;x +12645;53;26;232;;x +12646;54;26;236;;x +12647;55;26;240;;x +12648;56;26;244;;x +12649;57;26;248;;x +12650;58;26;232;;x +12651;59;26;236;;x +12652;60;26;240;;x +12653;61;26;244;;x +12654;62;26;248;;x +12655;63;26;232;;x +12656;64;26;236;;x +12657;65;26;240;;x +12658;66;26;244;;x +12659;67;26;248;;x +12660;68;26;232;;x +12661;69;26;236;;x +12662;70;26;240;;x +12663;71;26;244;;x +12664;72;26;248;;x +12665;73;26;232;;x +12666;74;26;236;;x +12667;75;26;240;;x +12668;76;26;244;;x +12669;77;26;248;;x +12670;78;26;232;;x +12671;79;26;236;;x +12672;80;26;240;;x +12673;81;26;244;;x +12674;82;26;248;;x +12675;83;26;232;;x +12676;84;26;236;;x +12677;85;26;240;;x +12678;86;26;244;;x +12679;87;26;248;;x +12680;88;26;232;;x +12681;89;26;236;;x +12682;90;26;240;;x +12683;91;26;244;;x +12684;92;26;248;;x +12685;93;26;232;;x +12686;94;26;236;;x +12687;95;26;240;;x +12688;96;26;244;;x +12689;97;26;248;;x +12690;98;26;232;;x +12691;99;26;236;;x +12692;100;26;240;;x +12693;101;26;244;;x +12694;102;26;248;;x +12695;103;26;232;;x +12696;104;26;236;;x +12697;105;26;240;;x +12698;106;26;244;;x +12699;107;26;248;;x +12700;108;27;232;;x +12701;109;27;236;;x +12702;110;27;240;;x +12703;111;27;244;;x +12704;112;27;248;;x +12705;113;27;232;;x +12706;114;27;236;;x +12707;115;27;240;;x +12708;116;27;244;;x +12709;117;27;248;;x +12710;118;27;232;;x +12711;119;27;236;;x +12712;120;27;240;;x +12713;121;27;244;;x +12714;122;27;248;;x +12715;123;27;232;;x +12716;124;27;236;;x +12717;125;27;240;;x +12718;126;27;244;;x +12719;0;27;248;;x +12720;1;27;232;;x +12721;2;27;236;;x +12722;3;27;240;;x +12723;4;27;244;;x +12724;5;27;248;;x +12725;6;27;232;;x +12726;7;27;236;;x +12727;8;27;240;;x +12728;9;27;244;;x +12729;10;27;248;;x +12730;11;27;232;;x +12731;12;27;236;;x +12732;13;27;240;;x +12733;14;27;244;;x +12734;15;27;248;;x +12735;16;27;232;;x +12736;17;27;236;;x +12737;18;27;240;;x +12738;19;27;244;;x +12739;20;27;248;;x +12740;21;27;232;;x +12741;22;27;236;;x +12742;23;27;240;;x +12743;24;27;244;;x +12744;25;27;248;;x +12745;26;27;232;;x +12746;27;27;236;;x +12747;28;27;240;;x +12748;29;27;244;;x +12749;30;27;248;;x +12750;31;27;232;;x +12751;32;27;236;;x +12752;33;27;240;;x +12753;34;27;244;;x +12754;35;27;248;;x +12755;36;27;232;;x +12756;37;27;236;;x +12757;38;27;240;;x +12758;39;27;244;;x +12759;40;27;248;;x +12760;41;27;232;;x +12761;42;27;236;;x +12762;43;27;240;;x +12763;44;27;244;;x +12764;45;27;248;;x +12765;46;27;232;;x +12766;47;27;236;;x +12767;48;27;240;;x +12768;49;27;244;;x +12769;50;27;248;;x +12770;51;27;232;;x +12771;52;27;236;;x +12772;53;27;240;;x +12773;54;27;244;;x +12774;55;27;248;;x +12775;56;27;232;;x +12776;57;27;236;;x +12777;58;27;240;;x +12778;59;27;244;;x +12779;60;27;248;;x +12780;61;27;232;;x +12781;62;27;236;;x +12782;63;27;240;;x +12783;64;27;244;;x +12784;65;27;248;;x +12785;66;27;232;;x +12786;67;27;236;;x +12787;68;27;240;;x +12788;69;27;244;;x +12789;70;27;248;;x +12790;71;27;232;;x +12791;72;27;236;;x +12792;73;27;240;;x +12793;74;27;244;;x +12794;75;27;248;;x +12795;76;27;232;;x +12796;77;27;236;;x +12797;78;27;240;;x +12798;79;27;244;;x +12799;80;27;248;;x +12800;81;28;232;;x +12801;82;28;236;;x +12802;83;28;240;;x +12803;84;28;244;;x +12804;85;28;248;;x +12805;86;28;232;;x +12806;87;28;236;;x +12807;88;28;240;;x +12808;89;28;244;;x +12809;90;28;248;;x +12810;91;28;232;;x +12811;92;28;236;;x +12812;93;28;240;;x +12813;94;28;244;;x +12814;95;28;248;;x +12815;96;28;232;;x +12816;97;28;236;;x +12817;98;28;240;;x +12818;99;28;244;;x +12819;100;28;248;;x +12820;101;28;232;;x +12821;102;28;236;;x +12822;103;28;240;;x +12823;104;28;244;;x +12824;105;28;248;;x +12825;106;28;232;;x +12826;107;28;236;;x +12827;108;28;240;;x +12828;109;28;244;;x +12829;110;28;248;;x +12830;111;28;232;;x +12831;112;28;236;;x +12832;113;28;240;;x +12833;114;28;244;;x +12834;115;28;248;;x +12835;116;28;232;;x +12836;117;28;236;;x +12837;118;28;240;;x +12838;119;28;244;;x +12839;120;28;248;;x +12840;121;28;232;;x +12841;122;28;236;;x +12842;123;28;240;;x +12843;124;28;244;;x +12844;125;28;248;;x +12845;126;28;232;;x +12846;0;28;236;;x +12847;1;28;240;;x +12848;2;28;244;;x +12849;3;28;248;;x +12850;4;28;232;;x +12851;5;28;236;;x +12852;6;28;240;;x +12853;7;28;244;;x +12854;8;28;248;;x +12855;9;28;232;;x +12856;10;28;236;;x +12857;11;28;240;;x +12858;12;28;244;;x +12859;13;28;248;;x +12860;14;28;232;;x +12861;15;28;236;;x +12862;16;28;240;;x +12863;17;28;244;;x +12864;18;28;248;;x +12865;19;28;232;;x +12866;20;28;236;;x +12867;21;28;240;;x +12868;22;28;244;;x +12869;23;28;248;;x +12870;24;28;232;;x +12871;25;28;236;;x +12872;26;28;240;;x +12873;27;28;244;;x +12874;28;28;248;;x +12875;29;28;232;;x +12876;30;28;236;;x +12877;31;28;240;;x +12878;32;28;244;;x +12879;33;28;248;;x +12880;34;28;232;;x +12881;35;28;236;;x +12882;36;28;240;;x +12883;37;28;244;;x +12884;38;28;248;;x +12885;39;28;232;;x +12886;40;28;236;;x +12887;41;28;240;;x +12888;42;28;244;;x +12889;43;28;248;;x +12890;44;28;232;;x +12891;45;28;236;;x +12892;46;28;240;;x +12893;47;28;244;;x +12894;48;28;248;;x +12895;49;28;232;;x +12896;50;28;236;;x +12897;51;28;240;;x +12898;52;28;244;;x +12899;53;28;248;;x +12900;54;29;232;;x +12901;55;29;236;;x +12902;56;29;240;;x +12903;57;29;244;;x +12904;58;29;248;;x +12905;59;29;232;;x +12906;60;29;236;;x +12907;61;29;240;;x +12908;62;29;244;;x +12909;63;29;248;;x +12910;64;29;232;;x +12911;65;29;236;;x +12912;66;29;240;;x +12913;67;29;244;;x +12914;68;29;248;;x +12915;69;29;232;;x +12916;70;29;236;;x +12917;71;29;240;;x +12918;72;29;244;;x +12919;73;29;248;;x +12920;74;29;232;;x +12921;75;29;236;;x +12922;76;29;240;;x +12923;77;29;244;;x +12924;78;29;248;;x +12925;79;29;232;;x +12926;80;29;236;;x +12927;81;29;240;;x +12928;82;29;244;;x +12929;83;29;248;;x +12930;84;29;232;;x +12931;85;29;236;;x +12932;86;29;240;;x +12933;87;29;244;;x +12934;88;29;248;;x +12935;89;29;232;;x +12936;90;29;236;;x +12937;91;29;240;;x +12938;92;29;244;;x +12939;93;29;248;;x +12940;94;29;232;;x +12941;95;29;236;;x +12942;96;29;240;;x +12943;97;29;244;;x +12944;98;29;248;;x +12945;99;29;232;;x +12946;100;29;236;;x +12947;101;29;240;;x +12948;102;29;244;;x +12949;103;29;248;;x +12950;104;29;232;;x +12951;105;29;236;;x +12952;106;29;240;;x +12953;107;29;244;;x +12954;108;29;248;;x +12955;109;29;232;;x +12956;110;29;236;;x +12957;111;29;240;;x +12958;112;29;244;;x +12959;113;29;248;;x +12960;114;29;232;;x +12961;115;29;236;;x +12962;116;29;240;;x +12963;117;29;244;;x +12964;118;29;248;;x +12965;119;29;232;;x +12966;120;29;236;;x +12967;121;29;240;;x +12968;122;29;244;;x +12969;123;29;248;;x +12970;124;29;232;;x +12971;125;29;236;;x +12972;126;29;240;;x +12973;0;29;244;;x +12974;1;29;248;;x +12975;2;29;232;;x +12976;3;29;236;;x +12977;4;29;240;;x +12978;5;29;244;;x +12979;6;29;248;;x +12980;7;29;232;;x +12981;8;29;236;;x +12982;9;29;240;;x +12983;10;29;244;;x +12984;11;29;248;;x +12985;12;29;232;;x +12986;13;29;236;;x +12987;14;29;240;;x +12988;15;29;244;;x +12989;16;29;248;;x +12990;17;29;232;;x +12991;18;29;236;;x +12992;19;29;240;;x +12993;20;29;244;;x +12994;21;29;248;;x +12995;22;29;232;;x +12996;23;29;236;;x +12997;24;29;240;;x +12998;25;29;244;;x +12999;26;29;248;;x +13000;27;30;232;;x +13001;28;30;236;;x +13002;29;30;240;;x +13003;30;30;244;;x +13004;31;30;248;;x +13005;32;30;232;;x +13006;33;30;236;;x +13007;34;30;240;;x +13008;35;30;244;;x +13009;36;30;248;;x +13010;37;30;232;;x +13011;38;30;236;;x +13012;39;30;240;;x +13013;40;30;244;;x +13014;41;30;248;;x +13015;42;30;232;;x +13016;43;30;236;;x +13017;44;30;240;;x +13018;45;30;244;;x +13019;46;30;248;;x +13020;47;30;232;;x +13021;48;30;236;;x +13022;49;30;240;;x +13023;50;30;244;;x +13024;51;30;248;;x +13025;52;30;232;;x +13026;53;30;236;;x +13027;54;30;240;;x +13028;55;30;244;;x +13029;56;30;248;;x +13030;57;30;232;;x +13031;58;30;236;;x +13032;59;30;240;;x +13033;60;30;244;;x +13034;61;30;248;;x +13035;62;30;232;;x +13036;63;30;236;;x +13037;64;30;240;;x +13038;65;30;244;;x +13039;66;30;248;;x +13040;67;30;232;;x +13041;68;30;236;;x +13042;69;30;240;;x +13043;70;30;244;;x +13044;71;30;248;;x +13045;72;30;232;;x +13046;73;30;236;;x +13047;74;30;240;;x +13048;75;30;244;;x +13049;76;30;248;;x +13050;77;30;232;;x +13051;78;30;236;;x +13052;79;30;240;;x +13053;80;30;244;;x +13054;81;30;248;;x +13055;82;30;232;;x +13056;83;30;236;;x +13057;84;30;240;;x +13058;85;30;244;;x +13059;86;30;248;;x +13060;87;30;232;;x +13061;88;30;236;;x +13062;89;30;240;;x +13063;90;30;244;;x +13064;91;30;248;;x +13065;92;30;232;;x +13066;93;30;236;;x +13067;94;30;240;;x +13068;95;30;244;;x +13069;96;30;248;;x +13070;97;30;232;;x +13071;98;30;236;;x +13072;99;30;240;;x +13073;100;30;244;;x +13074;101;30;248;;x +13075;102;30;232;;x +13076;103;30;236;;x +13077;104;30;240;;x +13078;105;30;244;;x +13079;106;30;248;;x +13080;107;30;232;;x +13081;108;30;236;;x +13082;109;30;240;;x +13083;110;30;244;;x +13084;111;30;248;;x +13085;112;30;232;;x +13086;113;30;236;;x +13087;114;30;240;;x +13088;115;30;244;;x +13089;116;30;248;;x +13090;117;30;232;;x +13091;118;30;236;;x +13092;119;30;240;;x +13093;120;30;244;;x +13094;121;30;248;;x +13095;122;30;232;;x +13096;123;30;236;;x +13097;124;30;240;;x +13098;125;30;244;;x +13099;126;30;248;;x +13100;0;31;232;;x +13101;1;31;236;;x +13102;2;31;240;;x +13103;3;31;244;;x +13104;4;31;248;;x +13105;5;31;232;;x +13106;6;31;236;;x +13107;7;31;240;;x +13108;8;31;244;;x +13109;9;31;248;;x +13110;10;31;232;;x +13111;11;31;236;;x +13112;12;31;240;;x +13113;13;31;244;;x +13114;14;31;248;;x +13115;15;31;232;;x +13116;16;31;236;;x +13117;17;31;240;;x +13118;18;31;244;;x +13119;19;31;248;;x +13120;20;31;232;;x +13121;21;31;236;;x +13122;22;31;240;;x +13123;23;31;244;;x +13124;24;31;248;;x +13125;25;31;232;;x +13126;26;31;236;;x +13127;27;31;240;;x +13128;28;31;244;;x +13129;29;31;248;;x +13130;30;31;232;;x +13131;31;31;236;;x +13132;32;31;240;;x +13133;33;31;244;;x +13134;34;31;248;;x +13135;35;31;232;;x +13136;36;31;236;;x +13137;37;31;240;;x +13138;38;31;244;;x +13139;39;31;248;;x +13140;40;31;232;;x +13141;41;31;236;;x +13142;42;31;240;;x +13143;43;31;244;;x +13144;44;31;248;;x +13145;45;31;232;;x +13146;46;31;236;;x +13147;47;31;240;;x +13148;48;31;244;;x +13149;49;31;248;;x +13150;50;31;232;;x +13151;51;31;236;;x +13152;52;31;240;;x +13153;53;31;244;;x +13154;54;31;248;;x +13155;55;31;232;;x +13156;56;31;236;;x +13157;57;31;240;;x +13158;58;31;244;;x +13159;59;31;248;;x +13160;60;31;232;;x +13161;61;31;236;;x +13162;62;31;240;;x +13163;63;31;244;;x +13164;64;31;248;;x +13165;65;31;232;;x +13166;66;31;236;;x +13167;67;31;240;;x +13168;68;31;244;;x +13169;69;31;248;;x +13170;70;31;232;;x +13171;71;31;236;;x +13172;72;31;240;;x +13173;73;31;244;;x +13174;74;31;248;;x +13175;75;31;232;;x +13176;76;31;236;;x +13177;77;31;240;;x +13178;78;31;244;;x +13179;79;31;248;;x +13180;80;31;232;;x +13181;81;31;236;;x +13182;82;31;240;;x +13183;83;31;244;;x +13184;84;31;248;;x +13185;85;31;232;;x +13186;86;31;236;;x +13187;87;31;240;;x +13188;88;31;244;;x +13189;89;31;248;;x +13190;90;31;232;;x +13191;91;31;236;;x +13192;92;31;240;;x +13193;93;31;244;;x +13194;94;31;248;;x +13195;95;31;232;;x +13196;96;31;236;;x +13197;97;31;240;;x +13198;98;31;244;;x +13199;99;31;248;;x +13200;100;32;232;;x +13201;101;32;236;;x +13202;102;32;240;;x +13203;103;32;244;;x +13204;104;32;248;;x +13205;105;32;232;;x +13206;106;32;236;;x +13207;107;32;240;;x +13208;108;32;244;;x +13209;109;32;248;;x +13210;110;32;232;;x +13211;111;32;236;;x +13212;112;32;240;;x +13213;113;32;244;;x +13214;114;32;248;;x +13215;115;32;232;;x +13216;116;32;236;;x +13217;117;32;240;;x +13218;118;32;244;;x +13219;119;32;248;;x +13220;120;32;232;;x +13221;121;32;236;;x +13222;122;32;240;;x +13223;123;32;244;;x +13224;124;32;248;;x +13225;125;32;232;;x +13226;126;32;236;;x +13227;0;32;240;;x +13228;1;32;244;;x +13229;2;32;248;;x +13230;3;32;232;;x +13231;4;32;236;;x +13232;5;32;240;;x +13233;6;32;244;;x +13234;7;32;248;;x +13235;8;32;232;;x +13236;9;32;236;;x +13237;10;32;240;;x +13238;11;32;244;;x +13239;12;32;248;;x +13240;13;32;232;;x +13241;14;32;236;;x +13242;15;32;240;;x +13243;16;32;244;;x +13244;17;32;248;;x +13245;18;32;232;;x +13246;19;32;236;;x +13247;20;32;240;;x +13248;21;32;244;;x +13249;22;32;248;;x +13250;23;32;232;;x +13251;24;32;236;;x +13252;25;32;240;;x +13253;26;32;244;;x +13254;27;32;248;;x +13255;28;32;232;;x +13256;29;32;236;;x +13257;30;32;240;;x +13258;31;32;244;;x +13259;32;32;248;;x +13260;33;32;232;;x +13261;34;32;236;;x +13262;35;32;240;;x +13263;36;32;244;;x +13264;37;32;248;;x +13265;38;32;232;;x +13266;39;32;236;;x +13267;40;32;240;;x +13268;41;32;244;;x +13269;42;32;248;;x +13270;43;32;232;;x +13271;44;32;236;;x +13272;45;32;240;;x +13273;46;32;244;;x +13274;47;32;248;;x +13275;48;32;232;;x +13276;49;32;236;;x +13277;50;32;240;;x +13278;51;32;244;;x +13279;52;32;248;;x +13280;53;32;232;;x +13281;54;32;236;;x +13282;55;32;240;;x +13283;56;32;244;;x +13284;57;32;248;;x +13285;58;32;232;;x +13286;59;32;236;;x +13287;60;32;240;;x +13288;61;32;244;;x +13289;62;32;248;;x +13290;63;32;232;;x +13291;64;32;236;;x +13292;65;32;240;;x +13293;66;32;244;;x +13294;67;32;248;;x +13295;68;32;232;;x +13296;69;32;236;;x +13297;70;32;240;;x +13298;71;32;244;;x +13299;72;32;248;;x +13300;73;33;232;;x +13301;74;33;236;;x +13302;75;33;240;;x +13303;76;33;244;;x +13304;77;33;248;;x +13305;78;33;232;;x +13306;79;33;236;;x +13307;80;33;240;;x +13308;81;33;244;;x +13309;82;33;248;;x +13310;83;33;232;;x +13311;84;33;236;;x +13312;85;33;240;;x +13313;86;33;244;;x +13314;87;33;248;;x +13315;88;33;232;;x +13316;89;33;236;;x +13317;90;33;240;;x +13318;91;33;244;;x +13319;92;33;248;;x +13320;93;33;232;;x +13321;94;33;236;;x +13322;95;33;240;;x +13323;96;33;244;;x +13324;97;33;248;;x +13325;98;33;232;;x +13326;99;33;236;;x +13327;100;33;240;;x +13328;101;33;244;;x +13329;102;33;248;;x +13330;103;33;232;;x +13331;104;33;236;;x +13332;105;33;240;;x +13333;106;33;244;;x +13334;107;33;248;;x +13335;108;33;232;;x +13336;109;33;236;;x +13337;110;33;240;;x +13338;111;33;244;;x +13339;112;33;248;;x +13340;113;33;232;;x +13341;114;33;236;;x +13342;115;33;240;;x +13343;116;33;244;;x +13344;117;33;248;;x +13345;118;33;232;;x +13346;119;33;236;;x +13347;120;33;240;;x +13348;121;33;244;;x +13349;122;33;248;;x +13350;123;33;232;;x +13351;124;33;236;;x +13352;125;33;240;;x +13353;126;33;244;;x +13354;0;33;248;;x +13355;1;33;232;;x +13356;2;33;236;;x +13357;3;33;240;;x +13358;4;33;244;;x +13359;5;33;248;;x +13360;6;33;232;;x +13361;7;33;236;;x +13362;8;33;240;;x +13363;9;33;244;;x +13364;10;33;248;;x +13365;11;33;232;;x +13366;12;33;236;;x +13367;13;33;240;;x +13368;14;33;244;;x +13369;15;33;248;;x +13370;16;33;232;;x +13371;17;33;236;;x +13372;18;33;240;;x +13373;19;33;244;;x +13374;20;33;248;;x +13375;21;33;232;;x +13376;22;33;236;;x +13377;23;33;240;;x +13378;24;33;244;;x +13379;25;33;248;;x +13380;26;33;232;;x +13381;27;33;236;;x +13382;28;33;240;;x +13383;29;33;244;;x +13384;30;33;248;;x +13385;31;33;232;;x +13386;32;33;236;;x +13387;33;33;240;;x +13388;34;33;244;;x +13389;35;33;248;;x +13390;36;33;232;;x +13391;37;33;236;;x +13392;38;33;240;;x +13393;39;33;244;;x +13394;40;33;248;;x +13395;41;33;232;;x +13396;42;33;236;;x +13397;43;33;240;;x +13398;44;33;244;;x +13399;45;33;248;;x +13400;46;34;232;;x +13401;47;34;236;;x +13402;48;34;240;;x +13403;49;34;244;;x +13404;50;34;248;;x +13405;51;34;232;;x +13406;52;34;236;;x +13407;53;34;240;;x +13408;54;34;244;;x +13409;55;34;248;;x +13410;56;34;232;;x +13411;57;34;236;;x +13412;58;34;240;;x +13413;59;34;244;;x +13414;60;34;248;;x +13415;61;34;232;;x +13416;62;34;236;;x +13417;63;34;240;;x +13418;64;34;244;;x +13419;65;34;248;;x +13420;66;34;232;;x +13421;67;34;236;;x +13422;68;34;240;;x +13423;69;34;244;;x +13424;70;34;248;;x +13425;71;34;232;;x +13426;72;34;236;;x +13427;73;34;240;;x +13428;74;34;244;;x +13429;75;34;248;;x +13430;76;34;232;;x +13431;77;34;236;;x +13432;78;34;240;;x +13433;79;34;244;;x +13434;80;34;248;;x +13435;81;34;232;;x +13436;82;34;236;;x +13437;83;34;240;;x +13438;84;34;244;;x +13439;85;34;248;;x +13440;86;34;232;;x +13441;87;34;236;;x +13442;88;34;240;;x +13443;89;34;244;;x +13444;90;34;248;;x +13445;91;34;232;;x +13446;92;34;236;;x +13447;93;34;240;;x +13448;94;34;244;;x +13449;95;34;248;;x +13450;96;34;232;;x +13451;97;34;236;;x +13452;98;34;240;;x +13453;99;34;244;;x +13454;100;34;248;;x +13455;101;34;232;;x +13456;102;34;236;;x +13457;103;34;240;;x +13458;104;34;244;;x +13459;105;34;248;;x +13460;106;34;232;;x +13461;107;34;236;;x +13462;108;34;240;;x +13463;109;34;244;;x +13464;110;34;248;;x +13465;111;34;232;;x +13466;112;34;236;;x +13467;113;34;240;;x +13468;114;34;244;;x +13469;115;34;248;;x +13470;116;34;232;;x +13471;117;34;236;;x +13472;118;34;240;;x +13473;119;34;244;;x +13474;120;34;248;;x +13475;121;34;232;;x +13476;122;34;236;;x +13477;123;34;240;;x +13478;124;34;244;;x +13479;125;34;248;;x +13480;126;34;232;;x +13481;0;34;236;;x +13482;1;34;240;;x +13483;2;34;244;;x +13484;3;34;248;;x +13485;4;34;232;;x +13486;5;34;236;;x +13487;6;34;240;;x +13488;7;34;244;;x +13489;8;34;248;;x +13490;9;34;232;;x +13491;10;34;236;;x +13492;11;34;240;;x +13493;12;34;244;;x +13494;13;34;248;;x +13495;14;34;232;;x +13496;15;34;236;;x +13497;16;34;240;;x +13498;17;34;244;;x +13499;18;34;248;;x +13500;19;35;232;;x +13501;20;35;236;;x +13502;21;35;240;;x +13503;22;35;244;;x +13504;23;35;248;;x +13505;24;35;232;;x +13506;25;35;236;;x +13507;26;35;240;;x +13508;27;35;244;;x +13509;28;35;248;;x +13510;29;35;232;;x +13511;30;35;236;;x +13512;31;35;240;;x +13513;32;35;244;;x +13514;33;35;248;;x +13515;34;35;232;;x +13516;35;35;236;;x +13517;36;35;240;;x +13518;37;35;244;;x +13519;38;35;248;;x +13520;39;35;232;;x +13521;40;35;236;;x +13522;41;35;240;;x +13523;42;35;244;;x +13524;43;35;248;;x +13525;44;35;232;;x +13526;45;35;236;;x +13527;46;35;240;;x +13528;47;35;244;;x +13529;48;35;248;;x +13530;49;35;232;;x +13531;50;35;236;;x +13532;51;35;240;;x +13533;52;35;244;;x +13534;53;35;248;;x +13535;54;35;232;;x +13536;55;35;236;;x +13537;56;35;240;;x +13538;57;35;244;;x +13539;58;35;248;;x +13540;59;35;232;;x +13541;60;35;236;;x +13542;61;35;240;;x +13543;62;35;244;;x +13544;63;35;248;;x +13545;64;35;232;;x +13546;65;35;236;;x +13547;66;35;240;;x +13548;67;35;244;;x +13549;68;35;248;;x +13550;69;35;232;;x +13551;70;35;236;;x +13552;71;35;240;;x +13553;72;35;244;;x +13554;73;35;248;;x +13555;74;35;232;;x +13556;75;35;236;;x +13557;76;35;240;;x +13558;77;35;244;;x +13559;78;35;248;;x +13560;79;35;232;;x +13561;80;35;236;;x +13562;81;35;240;;x +13563;82;35;244;;x +13564;83;35;248;;x +13565;84;35;232;;x +13566;85;35;236;;x +13567;86;35;240;;x +13568;87;35;244;;x +13569;88;35;248;;x +13570;89;35;232;;x +13571;90;35;236;;x +13572;91;35;240;;x +13573;92;35;244;;x +13574;93;35;248;;x +13575;94;35;232;;x +13576;95;35;236;;x +13577;96;35;240;;x +13578;97;35;244;;x +13579;98;35;248;;x +13580;99;35;232;;x +13581;100;35;236;;x +13582;101;35;240;;x +13583;102;35;244;;x +13584;103;35;248;;x +13585;104;35;232;;x +13586;105;35;236;;x +13587;106;35;240;;x +13588;107;35;244;;x +13589;108;35;248;;x +13590;109;35;232;;x +13591;110;35;236;;x +13592;111;35;240;;x +13593;112;35;244;;x +13594;113;35;248;;x +13595;114;35;232;;x +13596;115;35;236;;x +13597;116;35;240;;x +13598;117;35;244;;x +13599;118;35;248;;x +13600;119;36;232;;x +13601;120;36;236;;x +13602;121;36;240;;x +13603;122;36;244;;x +13604;123;36;248;;x +13605;124;36;232;;x +13606;125;36;236;;x +13607;126;36;240;;x +13608;0;36;244;;x +13609;1;36;248;;x +13610;2;36;232;;x +13611;3;36;236;;x +13612;4;36;240;;x +13613;5;36;244;;x +13614;6;36;248;;x +13615;7;36;232;;x +13616;8;36;236;;x +13617;9;36;240;;x +13618;10;36;244;;x +13619;11;36;248;;x +13620;12;36;232;;x +13621;13;36;236;;x +13622;14;36;240;;x +13623;15;36;244;;x +13624;16;36;248;;x +13625;17;36;232;;x +13626;18;36;236;;x +13627;19;36;240;;x +13628;20;36;244;;x +13629;21;36;248;;x +13630;22;36;232;;x +13631;23;36;236;;x +13632;24;36;240;;x +13633;25;36;244;;x +13634;26;36;248;;x +13635;27;36;232;;x +13636;28;36;236;;x +13637;29;36;240;;x +13638;30;36;244;;x +13639;31;36;248;;x +13640;32;36;232;;x +13641;33;36;236;;x +13642;34;36;240;;x +13643;35;36;244;;x +13644;36;36;248;;x +13645;37;36;232;;x +13646;38;36;236;;x +13647;39;36;240;;x +13648;40;36;244;;x +13649;41;36;248;;x +13650;42;36;232;;x +13651;43;36;236;;x +13652;44;36;240;;x +13653;45;36;244;;x +13654;46;36;248;;x +13655;47;36;232;;x +13656;48;36;236;;x +13657;49;36;240;;x +13658;50;36;244;;x +13659;51;36;248;;x +13660;52;36;232;;x +13661;53;36;236;;x +13662;54;36;240;;x +13663;55;36;244;;x +13664;56;36;248;;x +13665;57;36;232;;x +13666;58;36;236;;x +13667;59;36;240;;x +13668;60;36;244;;x +13669;61;36;248;;x +13670;62;36;232;;x +13671;63;36;236;;x +13672;64;36;240;;x +13673;65;36;244;;x +13674;66;36;248;;x +13675;67;36;232;;x +13676;68;36;236;;x +13677;69;36;240;;x +13678;70;36;244;;x +13679;71;36;248;;x +13680;72;36;232;;x +13681;73;36;236;;x +13682;74;36;240;;x +13683;75;36;244;;x +13684;76;36;248;;x +13685;77;36;232;;x +13686;78;36;236;;x +13687;79;36;240;;x +13688;80;36;244;;x +13689;81;36;248;;x +13690;82;36;232;;x +13691;83;36;236;;x +13692;84;36;240;;x +13693;85;36;244;;x +13694;86;36;248;;x +13695;87;36;232;;x +13696;88;36;236;;x +13697;89;36;240;;x +13698;90;36;244;;x +13699;91;36;248;;x +13700;92;37;232;;x +13701;93;37;236;;x +13702;94;37;240;;x +13703;95;37;244;;x +13704;96;37;248;;x +13705;97;37;232;;x +13706;98;37;236;;x +13707;99;37;240;;x +13708;100;37;244;;x +13709;101;37;248;;x +13710;102;37;232;;x +13711;103;37;236;;x +13712;104;37;240;;x +13713;105;37;244;;x +13714;106;37;248;;x +13715;107;37;232;;x +13716;108;37;236;;x +13717;109;37;240;;x +13718;110;37;244;;x +13719;111;37;248;;x +13720;112;37;232;;x +13721;113;37;236;;x +13722;114;37;240;;x +13723;115;37;244;;x +13724;116;37;248;;x +13725;117;37;232;;x +13726;118;37;236;;x +13727;119;37;240;;x +13728;120;37;244;;x +13729;121;37;248;;x +13730;122;37;232;;x +13731;123;37;236;;x +13732;124;37;240;;x +13733;125;37;244;;x +13734;126;37;248;;x +13735;0;37;232;;x +13736;1;37;236;;x +13737;2;37;240;;x +13738;3;37;244;;x +13739;4;37;248;;x +13740;5;37;232;;x +13741;6;37;236;;x +13742;7;37;240;;x +13743;8;37;244;;x +13744;9;37;248;;x +13745;10;37;232;;x +13746;11;37;236;;x +13747;12;37;240;;x +13748;13;37;244;;x +13749;14;37;248;;x +13750;15;37;232;;x +13751;16;37;236;;x +13752;17;37;240;;x +13753;18;37;244;;x +13754;19;37;248;;x +13755;20;37;232;;x +13756;21;37;236;;x +13757;22;37;240;;x +13758;23;37;244;;x +13759;24;37;248;;x +13760;25;37;232;;x +13761;26;37;236;;x +13762;27;37;240;;x +13763;28;37;244;;x +13764;29;37;248;;x +13765;30;37;232;;x +13766;31;37;236;;x +13767;32;37;240;;x +13768;33;37;244;;x +13769;34;37;248;;x +13770;35;37;232;;x +13771;36;37;236;;x +13772;37;37;240;;x +13773;38;37;244;;x +13774;39;37;248;;x +13775;40;37;232;;x +13776;41;37;236;;x +13777;42;37;240;;x +13778;43;37;244;;x +13779;44;37;248;;x +13780;45;37;232;;x +13781;46;37;236;;x +13782;47;37;240;;x +13783;48;37;244;;x +13784;49;37;248;;x +13785;50;37;232;;x +13786;51;37;236;;x +13787;52;37;240;;x +13788;53;37;244;;x +13789;54;37;248;;x +13790;55;37;232;;x +13791;56;37;236;;x +13792;57;37;240;;x +13793;58;37;244;;x +13794;59;37;248;;x +13795;60;37;232;;x +13796;61;37;236;;x +13797;62;37;240;;x +13798;63;37;244;;x +13799;64;37;248;;x +13800;65;38;232;;x +13801;66;38;236;;x +13802;67;38;240;;x +13803;68;38;244;;x +13804;69;38;248;;x +13805;70;38;232;;x +13806;71;38;236;;x +13807;72;38;240;;x +13808;73;38;244;;x +13809;74;38;248;;x +13810;75;38;232;;x +13811;76;38;236;;x +13812;77;38;240;;x +13813;78;38;244;;x +13814;79;38;248;;x +13815;80;38;232;;x +13816;81;38;236;;x +13817;82;38;240;;x +13818;83;38;244;;x +13819;84;38;248;;x +13820;85;38;232;;x +13821;86;38;236;;x +13822;87;38;240;;x +13823;88;38;244;;x +13824;89;38;248;;x +13825;90;38;232;;x +13826;91;38;236;;x +13827;92;38;240;;x +13828;93;38;244;;x +13829;94;38;248;;x +13830;95;38;232;;x +13831;96;38;236;;x +13832;97;38;240;;x +13833;98;38;244;;x +13834;99;38;248;;x +13835;100;38;232;;x +13836;101;38;236;;x +13837;102;38;240;;x +13838;103;38;244;;x +13839;104;38;248;;x +13840;105;38;232;;x +13841;106;38;236;;x +13842;107;38;240;;x +13843;108;38;244;;x +13844;109;38;248;;x +13845;110;38;232;;x +13846;111;38;236;;x +13847;112;38;240;;x +13848;113;38;244;;x +13849;114;38;248;;x +13850;115;38;232;;x +13851;116;38;236;;x +13852;117;38;240;;x +13853;118;38;244;;x +13854;119;38;248;;x +13855;120;38;232;;x +13856;121;38;236;;x +13857;122;38;240;;x +13858;123;38;244;;x +13859;124;38;248;;x +13860;125;38;232;;x +13861;126;38;236;;x +13862;0;38;240;;x +13863;1;38;244;;x +13864;2;38;248;;x +13865;3;38;232;;x +13866;4;38;236;;x +13867;5;38;240;;x +13868;6;38;244;;x +13869;7;38;248;;x +13870;8;38;232;;x +13871;9;38;236;;x +13872;10;38;240;;x +13873;11;38;244;;x +13874;12;38;248;;x +13875;13;38;232;;x +13876;14;38;236;;x +13877;15;38;240;;x +13878;16;38;244;;x +13879;17;38;248;;x +13880;18;38;232;;x +13881;19;38;236;;x +13882;20;38;240;;x +13883;21;38;244;;x +13884;22;38;248;;x +13885;23;38;232;;x +13886;24;38;236;;x +13887;25;38;240;;x +13888;26;38;244;;x +13889;27;38;248;;x +13890;28;38;232;;x +13891;29;38;236;;x +13892;30;38;240;;x +13893;31;38;244;;x +13894;32;38;248;;x +13895;33;38;232;;x +13896;34;38;236;;x +13897;35;38;240;;x +13898;36;38;244;;x +13899;37;38;248;;x +13900;38;39;232;;x +13901;39;39;236;;x +13902;40;39;240;;x +13903;41;39;244;;x +13904;42;39;248;;x +13905;43;39;232;;x +13906;44;39;236;;x +13907;45;39;240;;x +13908;46;39;244;;x +13909;47;39;248;;x +13910;48;39;232;;x +13911;49;39;236;;x +13912;50;39;240;;x +13913;51;39;244;;x +13914;52;39;248;;x +13915;53;39;232;;x +13916;54;39;236;;x +13917;55;39;240;;x +13918;56;39;244;;x +13919;57;39;248;;x +13920;58;39;232;;x +13921;59;39;236;;x +13922;60;39;240;;x +13923;61;39;244;;x +13924;62;39;248;;x +13925;63;39;232;;x +13926;64;39;236;;x +13927;65;39;240;;x +13928;66;39;244;;x +13929;67;39;248;;x +13930;68;39;232;;x +13931;69;39;236;;x +13932;70;39;240;;x +13933;71;39;244;;x +13934;72;39;248;;x +13935;73;39;232;;x +13936;74;39;236;;x +13937;75;39;240;;x +13938;76;39;244;;x +13939;77;39;248;;x +13940;78;39;232;;x +13941;79;39;236;;x +13942;80;39;240;;x +13943;81;39;244;;x +13944;82;39;248;;x +13945;83;39;232;;x +13946;84;39;236;;x +13947;85;39;240;;x +13948;86;39;244;;x +13949;87;39;248;;x +13950;88;39;232;;x +13951;89;39;236;;x +13952;90;39;240;;x +13953;91;39;244;;x +13954;92;39;248;;x +13955;93;39;232;;x +13956;94;39;236;;x +13957;95;39;240;;x +13958;96;39;244;;x +13959;97;39;248;;x +13960;98;39;232;;x +13961;99;39;236;;x +13962;100;39;240;;x +13963;101;39;244;;x +13964;102;39;248;;x +13965;103;39;232;;x +13966;104;39;236;;x +13967;105;39;240;;x +13968;106;39;244;;x +13969;107;39;248;;x +13970;108;39;232;;x +13971;109;39;236;;x +13972;110;39;240;;x +13973;111;39;244;;x +13974;112;39;248;;x +13975;113;39;232;;x +13976;114;39;236;;x +13977;115;39;240;;x +13978;116;39;244;;x +13979;117;39;248;;x +13980;118;39;232;;x +13981;119;39;236;;x +13982;120;39;240;;x +13983;121;39;244;;x +13984;122;39;248;;x +13985;123;39;232;;x +13986;124;39;236;;x +13987;125;39;240;;x +13988;126;39;244;;x +13989;0;39;248;;x +13990;1;39;232;;x +13991;2;39;236;;x +13992;3;39;240;;x +13993;4;39;244;;x +13994;5;39;248;;x +13995;6;39;232;;x +13996;7;39;236;;x +13997;8;39;240;;x +13998;9;39;244;;x +13999;10;39;248;;x +14000;11;40;232;;x +14001;12;40;236;;x +14002;13;40;240;;x +14003;14;40;244;;x +14004;15;40;248;;x +14005;16;40;232;;x +14006;17;40;236;;x +14007;18;40;240;;x +14008;19;40;244;;x +14009;20;40;248;;x +14010;21;40;232;;x +14011;22;40;236;;x +14012;23;40;240;;x +14013;24;40;244;;x +14014;25;40;248;;x +14015;26;40;232;;x +14016;27;40;236;;x +14017;28;40;240;;x +14018;29;40;244;;x +14019;30;40;248;;x +14020;31;40;232;;x +14021;32;40;236;;x +14022;33;40;240;;x +14023;34;40;244;;x +14024;35;40;248;;x +14025;36;40;232;;x +14026;37;40;236;;x +14027;38;40;240;;x +14028;39;40;244;;x +14029;40;40;248;;x +14030;41;40;232;;x +14031;42;40;236;;x +14032;43;40;240;;x +14033;44;40;244;;x +14034;45;40;248;;x +14035;46;40;232;;x +14036;47;40;236;;x +14037;48;40;240;;x +14038;49;40;244;;x +14039;50;40;248;;x +14040;51;40;232;;x +14041;52;40;236;;x +14042;53;40;240;;x +14043;54;40;244;;x +14044;55;40;248;;x +14045;56;40;232;;x +14046;57;40;236;;x +14047;58;40;240;;x +14048;59;40;244;;x +14049;60;40;248;;x +14050;61;40;232;;x +14051;62;40;236;;x +14052;63;40;240;;x +14053;64;40;244;;x +14054;65;40;248;;x +14055;66;40;232;;x +14056;67;40;236;;x +14057;68;40;240;;x +14058;69;40;244;;x +14059;70;40;248;;x +14060;71;40;232;;x +14061;72;40;236;;x +14062;73;40;240;;x +14063;74;40;244;;x +14064;75;40;248;;x +14065;76;40;232;;x +14066;77;40;236;;x +14067;78;40;240;;x +14068;79;40;244;;x +14069;80;40;248;;x +14070;81;40;232;;x +14071;82;40;236;;x +14072;83;40;240;;x +14073;84;40;244;;x +14074;85;40;248;;x +14075;86;40;232;;x +14076;87;40;236;;x +14077;88;40;240;;x +14078;89;40;244;;x +14079;90;40;248;;x +14080;91;40;232;;x +14081;92;40;236;;x +14082;93;40;240;;x +14083;94;40;244;;x +14084;95;40;248;;x +14085;96;40;232;;x +14086;97;40;236;;x +14087;98;40;240;;x +14088;99;40;244;;x +14089;100;40;248;;x +14090;102;40;232;;x +14091;103;40;236;;x +14092;104;40;240;;x +14093;105;40;244;;x +14094;106;40;248;;x +14095;107;40;232;;x +14096;108;40;236;;x +14097;3;23;240;;x +14098;102;24;244;;x +14099;101;40;248;;x +14100;100;35;232;;x +14101;77;8;244;;x +14102;109;40;240;;x +14103;110;40;244;;x +14104;111;40;248;;x +14105;112;40;232;;x +14106;113;40;236;;x +14107;114;40;240;;x +14108;115;40;244;;x +14109;125;28;244;;x +14110;123;24;244;;x +14111;102;24;240;;x +14112;21;12;248;;x +14113;13;36;248;;x +14114;121;20;240;; +14115;118;2;247;;x +14116;21;3;236;;x +14117;172;39;186;;x +14118;133;139;61;;x +14119;116;40;248;;x +14120;86;6;244;;x +14121;78;33;233;;x +14122;117;40;232;;x +14123;118;40;236;;x +14124;119;40;240;;x +14125;120;40;244;;x +14126;121;40;248;;x +14127;122;40;232;;x +14128;123;40;236;;x +14129;124;40;240;;x +14130;125;40;244;;x +14131;126;40;248;;x +14132;0;40;232;;x +14133;1;40;236;;x +14134;2;40;240;;x +14135;3;40;244;;x +14136;4;40;248;;x +14137;5;40;232;;x +14138;6;40;236;;x +14139;7;40;240;;x +14140;8;40;244;;x +14141;9;40;248;;x +14142;10;40;232;;x +14143;11;40;236;;x +14144;12;40;240;;x +14145;13;40;244;;x +14146;14;40;248;;x +14147;15;40;232;;x +14148;16;40;236;;x +;50;14;248;x;x +;51;14;232;x;x +;52;14;236;x;x +;53;14;240;x;x +;54;14;244;x;x +;55;14;248;x;x +;56;14;232;x;x +;57;14;236;x;x +;58;14;240;x;x +;59;14;244;x;x +;60;14;248;x;x +;61;14;232;x;x +;62;14;236;x;x +;63;14;240;x;x +;64;14;244;x;x +;65;14;248;x;x +;66;14;232;x;x +;67;14;236;x;x +;68;14;240;x;x +;69;14;244;x;x +;70;14;248;x;x +;71;16;232;x;x +;72;16;236;x;x +;73;16;240;x;x +;74;16;244;x;x +;75;16;248;x;x +;76;16;232;x;x +;77;16;236;x;x +;78;16;240;x;x +;79;16;244;x;x +;80;16;248;x;x +;81;16;232;x;x +;82;16;236;x;x +;83;16;240;x;x +;84;16;244;x;x +;85;16;248;x;x +;86;16;232;x;x +;87;16;236;x;x +;88;16;240;x;x +;89;16;244;x;x +;90;16;248;x;x +;91;16;232;x;x +;92;16;236;x;x +;93;16;240;x;x +;94;16;244;x;x +;95;16;248;x;x +;96;16;232;x;x +;97;16;236;x;x +;98;16;240;x;x +;99;16;244;x;x +;100;16;248;x;x +;101;16;232;x;x +;102;16;236;x;x +;103;16;240;x;x +;104;16;244;x;x +;105;16;248;x;x +;106;16;232;x;x +;107;16;236;x;x +;108;16;240;x;x +;109;16;244;x;x +;84;102;206;x;x \ No newline at end of file diff --git a/LCDA/map/geographical_region.txt b/LCDA/map/geographical_region.txt new file mode 100644 index 0000000..94fd70d --- /dev/null +++ b/LCDA/map/geographical_region.txt @@ -0,0 +1,294 @@ +# Geographical regions +# Regions can be declared with one or more of the following fields: +# duchies = { }, takes duchy title names declared in landed_titles.txt +# counties = { }, takes county title names declared in landed_titles.txt +# provinces = { }, takes province id numbers declared in /history/provinces +# regions = { }, a region can also include other regions, however the subregions needs to be declared before the parent region. +# E.g. If the region world_europe contains the region world_europe_west then world_europe_west needs to be declared as a region before (i.e. higher up in this file) world_europe. + +########################################################################### +# World Regions +# These groups are mutually exclusive on the same tier +########################################################################### + +world_europe_west_brittania = { + duchies = { + d_northumberland d_lancaster d_york d_norfolk d_bedford d_hereford d_gloucester d_canterbury d_somerset d_gwynedd d_powys d_deheubarth d_cornwall d_the_isles d_galloway d_western_isles d_lothian d_albany d_moray d_ulster d_connacht d_meath d_leinster d_munster + } +} +world_europe_west_germania = { + duchies = { + d_upper_burgundy d_savoie d_holland d_gelre d_luxembourg d_upper_lorraine d_lower_lorraine d_alsace d_bavaria d_osterreich d_tyrol d_brunswick d_thuringia d_koln d_franconia d_baden d_swabia d_mecklemburg d_pommerania d_pomeralia d_saxony d_brandenburg d_meissen d_bohemia d_moravia + } +} +world_europe_west_francia = { + duchies = { + d_berry d_anjou d_normandy d_orleans d_champagne d_valois d_burgundy d_aquitaine d_toulouse d_gascogne d_poitou d_auvergne d_bourbon d_brittany d_provence d_dauphine d_brabant d_flanders + } +} +world_europe_west_iberia = { + duchies = { + d_castilla d_aragon d_barcelona d_valencia d_mallorca d_navarra d_asturias d_leon d_galicia d_porto d_beja d_algarve d_cordoba d_murcia d_granada d_sevilla d_badajoz d_toledo + } +} +world_europe_west = { + regions = { + world_europe_west_iberia world_europe_west_francia world_europe_west_germania world_europe_west_brittania + } +} +world_europe_north = { + duchies = { + #Sweden + d_uppland d_ostergotland d_gotland d_vastergotland d_norrland d_bergslagen d_smaland + #Norway + d_iceland d_orkney d_vestlandet d_ostlandet d_trondelag d_jamtland + #Finland minus Estonia + d_karelia d_finland + #Denmark + d_skane d_sjaelland d_slesvig d_holstein + #Sápmi + d_kola d_finnmark d_sapmi + } +} +world_europe_south_east = { + duchies = { + #West ERE + d_thrace d_adrianopolis d_thessalonika d_dyrrachion d_epirus d_athens d_achaia d_krete d_cyprus d_vidin d_turnovo d_karvuna d_rashka d_dioclea d_slavonia d_bosnia d_croatia d_dalmatia + } +} +world_europe_south_italy = { + duchies = { + d_carinthia + #Italia + d_verona d_susa d_lombardia d_genoa d_modena d_ferrara d_toscana d_pisa d_ancona d_spoleto d_latium d_sardinia d_venice + #Sicily + d_benevento d_capua d_apulia d_salerno d_calabria d_sicily + } +} +world_europe_south = { + regions = { + world_europe_south_east world_europe_south_italy + } +} +world_europe_east = { + duchies = { + #Wendish minus Pomerania minus Bohemia + d_mazovia d_greater_poland d_silesia d_lesser_poland d_kuyavia d_livonia d_prussia d_polotsk d_lithuanians d_yatviags d_courland d_samogitia + #Russia + d_beloozero d_novgorod d_pskov d_rostov d_tver d_yaroslavl d_vladimir d_moskva d_kiev d_galich d_volhynia d_turov d_vitebsk d_smolensk d_chernigov d_novgorod-seversk d_ryazan d_pereyaslavl + #West Perm + d_hlynov d_bjarmia + #Hungary + d_pecs d_esztergom d_nyitra d_ungvar d_pest d_transylvania d_temes + #Estonia + d_esthonia + #Wallachia + d_wallachia d_moldau + } +} +world_asia_minor = { + duchies = { + d_nikaea d_samos d_cibyrrhaeot d_anatolia d_charsianon d_armeniacon d_paphlagonia d_trebizond d_armenia_minor d_armenia d_mesopotamia d_edessa d_coloneia d_kartli d_derbent d_abkhazia d_thracesia d_aegean_islands + } +} +world_middle_east_jerusalem = { + duchies = { + #West Syria + d_aleppo d_antioch d_tripoli + #Jerusalem + d_oultrejourdain d_ascalon d_jerusalem d_galilee + } +} +world_middle_east_arabia = { + duchies = { + #East Syria + d_damascus d_syria + #Arabia + d_arabia_petrae d_medina d_sanaa d_oman d_nefoud d_amman d_kermanshah d_tigris d_basra d_baghdad d_mosul d_jazira + #Sinai + d_sinai + } +} +world_india_deccan = { + duchies = { + #Maharastra + d_vidharba d_konkana d_nasikya d_devagiri d_rattapadi + #Karnata + d_kalyani d_gangavadi d_nulambavadi d_raichur_doab + #Tamilakam + d_chola_nadu d_pandya_nadu d_chera_nadu d_tondai_nadu + #Andhra + d_vengi d_udayagiri + #Telingana + d_warangal d_racakonda + #Lanka + d_lanka d_sinhala + } +} +world_india_bengal = { + duchies = { + #Gondwana + d_dahala d_ratanpur + #Bengal + d_vanga d_varendra d_gauda d_nadia d_suhma + #Kamarupa + d_kamarupanagara d_para_lauhitya d_sutiya + #Orissa + d_daksina_kosala d_tosali d_kalinga d_dandakaranya + #Bihar + d_tirabhukti d_kasi d_jharkand d_magadha + } +} +world_india_rajastan = { + duchies = { + #Sindh + d_sauvira d_bhakkar + #Punjab + d_multan d_lahore d_gandhara + #Delhi + d_kuru d_haritanaka d_mathura d_vodamayutja + #Gujarat + d_gurjara_mandala d_anartta d_saurashtra d_lata + #Rajputana + d_maru d_jangladesh d_stravani d_medapata d_ajmer + #Malwa + d_dadhipadra d_akara_dasarna d_anupa + #Kosala + d_kanyakubja d_saryupara d_jejakabhukti + } +} +world_persia = { + duchies = { + #Persia minus Mesopotamia + d_khorasan d_mazandaran d_esfahan d_kerman d_fars d_hamadan d_tabriz d_azerbaijan d_baluchistan d_sistan d_kabul d_zabulistan d_khiva d_samarkand d_merv d_dihistan + } +} +world_africa_north = { + duchies = { + d_marrakech d_fes d_tangiers d_tlemcen d_alger d_kabylia d_tunis d_tripolitania d_cyrenaica d_alexandria d_damietta d_cairo d_aswan + } +} +world_africa_west = { + duchies = { + d_songhay d_mali d_ghana d_timbuktu + } +} +world_africa_east = { + duchies = { + d_nobatia d_nubia d_sennar d_hayya d_axum d_semien d_gondar d_wag d_gojjam d_damot d_shewa d_afar d_harer + } +} +world_africa = { + regions = { + world_africa_north world_africa_west world_africa_east + } +} +world_steppe_tarim = { + duchies = { + d_kashgar d_khotan d_karashar + } +} +world_steppe_west = { + duchies = { + #East Perm + d_perm d_yugra + #Tartaria + d_itil d_sarkel d_yaik d_sibir d_kipchak d_kimak d_maris d_bulgar d_cheremisa d_mordvins d_cherson d_crimea d_alania d_azov d_turkestan d_syr_darya + } +} +world_steppe_east = { + duchies = { + d_zhetysu d_kirghiz d_kumul d_altay d_otuken d_khangai d_ikh_bogd + } +} +world_steppe = { + regions = { + world_steppe_west world_steppe_east world_steppe_tarim + } +} +world_europe = { + regions = { + world_europe_west world_europe_south world_europe_east world_europe_north + } +} +world_middle_east = { + regions = { + world_middle_east_arabia world_middle_east_jerusalem + } +} +world_india = { + regions = { + world_india_deccan world_india_bengal world_india_rajastan + } +} + +########################################################################### +# Custom Regions +########################################################################### + +custom_eastern_baltic = { + duchies = { + #Finland + d_karelia d_finland d_kola d_esthonia + #Lithuania + d_livonia d_prussia d_polotsk d_lithuanians d_courland d_yatviags d_samogitia + } +} +custom_frisia = { + duchies = { + d_holland d_gelre d_brabant d_flanders + } +} +custom_england = { + duchies = { + d_northumberland d_lancaster d_york d_norfolk d_bedford d_hereford d_gloucester d_canterbury d_somerset + } +} +custom_castillian = { + duchies = { + d_castilla d_asturias d_leon + } +} +custom_catalan = { + duchies = { + d_aragon d_barcelona d_valencia d_mallorca + } +} +custom_andalusian = { + duchies = { + d_cordoba d_murcia d_granada d_sevilla d_badajoz d_toledo + } +} +custom_portuguese = { + duchies = { + d_galicia d_porto d_beja d_algarve + } +} +custom_swedish = { + duchies = { + d_uppland d_ostergotland d_gotland d_vastergotland d_norrland d_bergslagen d_smaland d_sapmi + } +} +custom_danish = { + duchies = { + d_skane d_sjaelland d_slesvig d_holstein + } +} +custom_norwegian = { + duchies = { + d_iceland d_orkney d_vestlandet d_ostlandet d_trondelag d_jamtland d_finnmark + } +} +custom_scotland = { + duchies = { + d_the_isles d_galloway d_western_isles d_lothian d_albany d_moray + } +} +custom_historical_plague_free_zone = { + duchies = { + d_lombardia d_lesser_poland d_kuyavia d_mazovia d_lithuanians d_yatviags d_turov d_volhynia d_iceland + } + counties = { + c_valais c_grisons c_alto_aragon c_urgell c_bearn c_faereyar c_lepiel c_orsha c_minsk c_peremyshl c_armagnac c_foix c_chur + } +} \ No newline at end of file diff --git a/LCDA/map/island_region.txt b/LCDA/map/island_region.txt new file mode 100644 index 0000000..422f639 --- /dev/null +++ b/LCDA/map/island_region.txt @@ -0,0 +1,69 @@ +# Island regions - no land path from the continent +# The AI needs these to optimize path finding +# +# NOTE: do not add any regions here that are NOT islands + +# Regions can be declared with one or more of the following fields: +# duchies = { }, takes duchy title names declared in landed_titles.txt +# counties = { }, takes county title names declared in landed_titles.txt +# provinces = { }, takes province id numbers declared in /history/provinces +# regions = { }, a region can also include other regions, however the subregions needs to be declared before the parent region. +# E.g. If the region world_europe contains the region world_europe_west then world_europe_west needs to be declared as a region before (i.e. higher up in this file) world_europe. + +region_iceland = { + provinces = { 1 2 } +} + +region_faereyar = { + provinces = { 33 } +} + +region_shetland = { + provinces = { 34 } +} + +region_britain = { + provinces = { + 3 4 5 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 + 22 23 24 25 26 27 28 29 30 31 32 35 36 37 38 39 + 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 + 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 + 72 73 + } +} + +region_baleares = { + provinces = { 826 827 } +} + +region_sardinia_corsica = { + provinces = { 324 325 326 } +} + +region_malta = { + provinces = { 812 } +} + +region_crete = { + provinces = { 479 480 } +} + +region_cyprus = { + provinces = { 756 757 } +} + +region_socotra = { + provinces = { 1369 } +} + +region_maldives = { + provinces = { 1360 } +} + +region_canarias = { + provinces = { 849 } +} + +region_venice = { + provinces = { 356 } +} \ No newline at end of file diff --git a/LCDA/map/positions.txt b/LCDA/map/positions.txt new file mode 100644 index 0000000..0ea646d --- /dev/null +++ b/LCDA/map/positions.txt @@ -0,0 +1,19045 @@ +#Vestisland + 1= + { + position= + { +63.500 1892.500 104.000 1882.000 82.500 1896.500 8.000 1833.000 61.000 1893.500 } + rotation= + { +0.087 0.000 0.000 0.000 1.571 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Austisland + 2= + { + position= + { +225.000 1897.000 211.000 1910.000 232.000 1918.000 147.000 1819.000 229.000 1891.000 } + rotation= + { +0.000 0.000 0.000 0.000 -0.611 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Tír Chonaill + 3= + { + position= + { +242.000 1349.000 246.000 1354.000 248.000 1361.500 244.000 1354.000 227.000 1349.000 } + rotation= + { +0.000 0.000 0.000 0.000 1.571 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Tír Eoghain + 4= + { + position= + { +266.000 1345.000 264.000 1354.000 264.000 1360.000 261.000 1347.000 264.224 1370.769 } + rotation= + { +0.000 0.000 0.000 0.000 3.491 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Ulaidh + 5= + { + position= + { +291.500 1338.500 286.500 1346.500 283.000 1358.000 283.000 1344.000 298.259 1345.976 } + rotation= + { +0.000 0.000 0.000 0.000 -2.705 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Blekinge + 6= + { + position= + { +791.000 1336.000 793.500 1338.000 783.000 1337.000 792.000 1336.000 798.000 1333.000 } + rotation= + { +1.309 0.000 0.000 0.000 -0.262 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Airgíalla + 7= + { + position= + { +274.000 1325.000 272.198 1331.516 265.000 1332.500 239.000 1326.000 286.000 1323.000 } + rotation= + { +0.000 0.000 0.000 0.000 5.498 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Bréifne + 8= + { + position= + { +255.000 1314.000 257.031 1320.929 264.500 1317.500 213.000 1322.000 212.000 1336.000 } + rotation= + { +0.000 0.000 0.000 0.000 3.142 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Connachta + 9= + { + position= + { +214.000 1301.000 222.000 1316.000 232.000 1326.000 214.000 1303.000 200.000 1299.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.698 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Cill Dara + 10= + { + position= + { +259.500 1293.500 259.000 1301.500 247.000 1294.000 247.000 1306.000 252.000 1311.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Dubhlinn + 11= + { + position= + { +280.758 1296.668 277.591 1303.383 277.000 1309.000 272.000 1305.000 286.000 1299.500 } + rotation= + { +0.087 0.000 0.000 0.000 4.886 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Osraige + 12= + { + position= + { +261.000 1274.500 259.500 1281.000 246.000 1279.500 248.000 1278.000 253.000 1283.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Tuadhmhumhain + 13= + { + position= + { +213.500 1281.500 223.000 1282.000 221.500 1270.500 221.000 1278.000 207.000 1276.000 } + rotation= + { +0.000 0.000 0.000 0.000 2.269 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Deasmhumhain + 14= + { + position= + { +216.000 1240.000 214.000 1249.000 204.500 1257.500 212.000 1248.000 226.000 1237.000 } + rotation= + { +-0.349 0.000 0.000 0.000 -0.349 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Urmhumhain + 15= + { + position= + { +248.500 1256.500 247.000 1264.000 238.000 1266.000 252.000 1260.000 254.000 1256.000 } + rotation= + { +0.000 0.000 0.000 0.000 -0.349 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Laigin + 16= + { + position= + { +278.500 1272.000 276.000 1276.000 280.500 1284.000 272.000 1271.000 283.000 1269.000 } + rotation= + { +0.524 0.000 0.000 0.000 5.236 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Hereford + 17= + { + position= + { +359.000 1242.500 356.000 1249.000 360.500 1251.000 352.000 1245.000 357.000 1250.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Dyfed + 18= + { + position= + { +313.000 1241.000 320.000 1246.500 327.000 1251.000 318.000 1246.000 306.000 1237.000 } + rotation= + { +0.262 0.000 0.000 0.000 0.873 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Glamorgan + 19= + { + position= + { +332.500 1237.000 333.000 1240.500 334.000 1244.500 333.000 1237.000 326.000 1231.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.611 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Gwent + 20= + { + position= + { +348.500 1229.000 348.000 1234.000 347.000 1238.500 348.000 1230.000 341.000 1225.000 } + rotation= + { +0.000 0.000 0.000 0.000 1.047 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Gloucester + 21= + { + position= + { +364.500 1227.000 367.000 1235.500 373.000 1234.500 369.000 1244.000 359.000 1227.000 } + rotation= + { +0.000 0.000 0.000 0.000 1.047 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Oxford + 22= + { + position= + { +388.000 1237.000 393.000 1232.000 396.000 1223.000 381.000 1240.000 386.000 1245.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Wiltshire + 23= + { + position= + { +373.000 1213.000 377.000 1220.000 380.500 1224.000 392.000 1218.000 397.000 1223.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Surrey + 24= + { + position= + { +425.000 1205.000 418.000 1209.000 411.500 1208.500 420.000 1206.000 425.000 1211.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Sussex + 25= + { + position= + { +423.000 1194.500 415.000 1198.000 406.000 1198.500 418.000 1196.000 424.000 1190.000 } + rotation= + { +0.349 0.000 0.000 0.000 0.959 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Wessex + 26= + { + position= + { +386.000 1200.500 389.000 1208.000 398.000 1209.000 391.000 1201.000 392.000 1189.000 } + rotation= + { +0.524 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Dorset + 27= + { + position= + { +370.500 1197.500 366.000 1202.000 367.000 1205.000 367.000 1206.000 375.000 1191.000 } + rotation= + { +0.000 0.000 0.000 0.000 -0.698 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Somerset + 28= + { + position= + { +353.000 1208.500 354.500 1214.500 359.500 1215.500 354.000 1215.000 350.000 1216.000 } + rotation= + { +0.000 0.000 0.000 0.000 2.269 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Devon + 29= + { + position= + { +329.000 1190.000 331.500 1200.000 340.000 1201.000 331.000 1209.000 335.000 1183.000 } + rotation= + { +0.000 0.000 0.000 0.000 -0.087 } + height= + { +0.050 0.000 0.000 20.000 0.000 } + } +#Worcester + 30= + { + position= + { +369.000 1245.000 371.000 1254.000 371.000 1260.000 334.000 1195.000 341.000 1191.000 } + rotation= + { +0.611 0.000 0.000 0.000 -1.222 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Cornwall + 31= + { + position= + { +301.500 1184.500 309.500 1192.500 315.500 1194.000 305.000 1188.000 301.000 1178.000 } + rotation= + { +0.000 0.000 0.000 0.000 -0.523 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Middlesex + 32= + { + position= + { +424.000 1219.000 417.978 1220.034 412.000 1219.000 368.000 1229.000 438.000 1213.500 } + rotation= + { +0.000 0.000 0.000 0.000 -1.310 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Færeyar + 33= + { + position= + { +279.000 1657.000 281.500 1663.000 277.000 1662.000 279.000 1657.000 284.000 1659.000 } + rotation= + { +0.000 0.000 0.087 0.000 -0.873 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Hjaltland + 34= + { + position= + { +398.500 1560.500 406.000 1573.000 398.000 1562.500 401.000 1564.000 406.000 1552.000 } + rotation= + { +0.000 0.000 0.000 0.000 5.061 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Søreyar + 35= + { + position= + { +286.000 1443.000 285.000 1450.000 279.500 1478.000 269.000 1472.000 270.000 1480.000 } + rotation= + { +0.000 0.000 0.000 0.000 1.832 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Orkney + 36= + { + position= + { +357.000 1508.000 360.000 1510.000 355.500 1513.000 357.000 1508.000 361.000 1504.000 } + rotation= + { +0.000 0.000 0.000 0.000 -0.872 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Katanes + 37= + { + position= + { +333.000 1476.000 331.000 1483.000 342.000 1485.000 338.000 1482.000 352.000 1483.000 } + rotation= + { +0.000 0.000 0.000 0.000 -0.785 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Teviotdale + 38= + { + position= + { +345.000 1356.000 348.000 1364.000 351.500 1370.000 317.000 1474.000 343.000 1350.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.174 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Ross + 39= + { + position= + { +311.000 1451.000 313.000 1459.000 323.000 1457.000 301.000 1454.000 296.000 1460.000 } + rotation= + { +0.000 0.000 0.000 0.000 2.269 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Moray + 40= + { + position= + { +314.000 1429.000 328.000 1437.000 348.500 1446.500 301.000 1437.000 293.000 1431.000 } + rotation= + { +0.000 0.000 0.000 0.000 1.396 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Buchan + 41= + { + position= + { +374.500 1430.500 370.000 1440.000 378.000 1445.000 345.000 1440.000 383.000 1451.000 } + rotation= + { +0.000 0.000 0.000 0.000 3.578 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Strathearn + 42= + { + position= + { +332.500 1392.500 331.000 1398.000 325.000 1401.500 372.000 1439.000 382.000 1438.000 } + rotation= + { +0.000 0.000 0.000 0.000 -0.785 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Gowrie + 43= + { + position= + { +359.000 1411.500 357.000 1414.000 345.500 1408.000 359.000 1418.000 369.000 1414.000 } + rotation= + { +0.000 0.000 0.000 0.000 5.062 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Atholl + 44= + { + position= + { +335.000 1415.000 336.000 1422.000 347.000 1427.000 329.000 1418.000 334.000 1423.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Argyll + 45= + { + position= + { +305.000 1398.000 310.000 1404.000 313.000 1409.500 302.000 1397.000 297.000 1405.000 } + rotation= + { +-0.087 0.000 0.000 0.000 1.396 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Fife + 46= + { + position= + { +353.500 1397.000 354.000 1401.000 347.000 1394.000 346.000 1397.000 358.000 1396.500 } + rotation= + { +0.000 0.000 0.000 0.000 6.109 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Clydesdale + 47= + { + position= + { +332.500 1374.500 331.000 1380.000 321.500 1384.000 323.000 1390.000 314.000 1382.000 } + rotation= + { +-0.262 0.000 0.000 0.000 0.785 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Lothian + 48= + { + position= + { +354.500 1385.000 350.000 1384.000 345.000 1382.500 341.000 1378.000 353.000 1388.000 } + rotation= + { +0.000 0.000 0.000 0.000 4.014 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Carrick + 49= + { + position= + { +317.000 1364.500 320.000 1365.000 324.000 1369.500 320.000 1359.000 315.449 1367.206 } + rotation= + { +0.262 0.000 0.000 0.000 1.833 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Galloway + 50= + { + position= + { +322.500 1351.000 326.000 1355.000 332.000 1355.000 337.000 1359.000 320.500 1347.000 } + rotation= + { +0.960 0.000 0.000 0.000 0.873 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Dunbar + 51= + { + position= + { +363.000 1386.500 362.000 1381.000 366.500 1384.000 358.000 1377.000 371.000 1385.000 } + rotation= + { +0.000 0.000 0.000 0.000 3.840 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Northumbria + 52= + { + position= + { +379.000 1356.500 373.000 1364.000 377.500 1370.000 373.000 1359.000 388.000 1365.000 } + rotation= + { +0.000 0.000 0.000 0.000 4.189 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Cumberland + 53= + { + position= + { +347.500 1336.000 352.000 1346.000 359.500 1347.000 351.000 1348.000 343.000 1334.000 } + rotation= + { +0.262 0.000 0.000 0.000 1.047 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Mann + 54= + { + position= + { +317.000 1321.000 319.000 1325.000 324.000 1329.000 320.000 1326.000 326.000 1325.000 } + rotation= + { +0.087 0.000 0.000 0.000 -1.134 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Westmorland + 55= + { + position= + { +365.000 1323.500 364.000 1330.000 367.500 1333.500 362.000 1323.000 350.000 1321.000 } + rotation= + { +0.000 0.000 -0.960 0.000 1.222 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Durham + 56= + { + position= + { +389.500 1338.000 382.000 1338.000 377.000 1342.000 375.000 1344.000 396.000 1337.000 } + rotation= + { +0.000 0.000 0.000 0.000 4.451 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#York + 57= + { + position= + { +406.500 1308.000 397.000 1308.000 384.000 1312.000 401.000 1310.000 421.000 1310.000 } + rotation= + { +0.000 0.000 0.000 0.000 -2.006 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Amounderness + 58= + { + position= + { +360.500 1306.000 363.000 1314.000 369.000 1309.500 368.000 1297.000 359.000 1318.000 } + rotation= + { +0.000 0.000 0.000 0.000 1.222 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Chester + 59= + { + position= + { +364.000 1284.000 362.000 1289.000 367.000 1295.000 351.000 1283.000 355.000 1296.000 } + rotation= + { +0.262 0.000 0.000 0.000 2.008 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Perfeddwlad + 60= + { + position= + { +345.000 1281.000 346.000 1285.000 341.500 1289.000 330.000 1283.000 339.000 1293.000 } + rotation= + { +0.000 0.000 0.000 0.000 2.967 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Lindsey + 61= + { + position= + { +424.500 1270.000 419.000 1276.000 414.000 1280.000 422.000 1267.000 432.000 1279.000 } + rotation= + { +0.000 0.000 0.000 0.000 -1.833 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Leicester + 62= + { + position= + { +395.500 1266.000 398.000 1269.000 397.000 1277.000 407.000 1280.000 412.000 1285.000 } + rotation= + { +0.175 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Derby + 63= + { + position= + { +386.000 1278.000 379.000 1280.000 377.500 1288.000 384.000 1282.000 389.000 1287.000 } + rotation= + { +0.436 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Gwynedd + 64= + { + position= + { +337.000 1271.000 335.000 1277.000 331.000 1284.000 334.000 1255.000 318.000 1277.000 } + rotation= + { +0.087 0.000 0.000 0.000 0.785 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Powys + 65= + { + position= + { +344.000 1254.000 345.000 1261.000 345.000 1267.000 345.000 1267.000 350.000 1272.000 } + rotation= + { +0.698 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Shropshire + 66= + { + position= + { +360.000 1268.500 359.000 1266.500 362.500 1272.500 358.000 1261.000 363.000 1266.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Warwick + 67= + { + position= + { +386.500 1248.000 385.000 1255.000 380.500 1259.000 371.000 1263.000 376.000 1268.000 } + rotation= + { +0.000 0.000 3.229 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Northampton + 68= + { + position= + { +417.500 1241.500 416.000 1251.000 406.000 1251.500 392.000 1262.000 397.000 1267.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Bedford + 69= + { + position= + { +408.500 1229.000 411.000 1237.500 405.000 1238.000 402.000 1243.000 407.000 1248.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Norfolk + 70= + { + position= + { +444.500 1262.000 443.000 1256.000 435.000 1256.000 446.000 1253.000 454.000 1262.000 } + rotation= + { +0.000 0.000 0.000 0.000 3.752 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Suffolk + 71= + { + position= + { +449.500 1236.000 445.000 1240.000 435.000 1242.000 440.000 1233.000 462.000 1236.000 } + rotation= + { +0.000 0.000 0.000 0.000 -1.310 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Essex + 72= + { + position= + { +436.000 1221.000 437.000 1226.000 430.500 1228.500 436.000 1222.000 444.000 1219.000 } + rotation= + { +0.000 0.000 0.000 0.000 -1.397 } + height= + { +0.000 0.000 0.000 2.500 0.000 } + } +#Kent + 73= + { + position= + { +441.000 1195.500 442.000 1204.000 434.500 1204.500 440.000 1201.000 448.000 1196.000 } + rotation= + { +0.000 0.000 0.000 0.000 -6.545 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Guines + 74= + { + position= + { +467.000 1188.500 472.000 1187.000 470.000 1192.000 473.000 1188.000 463.000 1190.000 } + rotation= + { +0.000 0.000 0.000 0.000 2.704 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Boulogne + 75= + { + position= + { +465.000 1164.500 466.500 1175.000 474.500 1167.500 471.000 1176.000 460.000 1169.000 } + rotation= + { +0.262 0.000 0.000 0.000 1.833 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Yperen + 76= + { + position= + { +489.000 1178.500 485.500 1188.000 499.000 1175.000 483.000 1192.000 476.000 1193.000 } + rotation= + { +0.087 0.000 0.000 0.000 3.228 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Artois + 77= + { + position= + { +486.000 1165.000 485.500 1173.000 492.500 1167.000 497.000 1170.000 502.000 1175.000 } + rotation= + { +0.349 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Brugge + 78= + { + position= + { +504.000 1191.000 504.000 1198.500 495.000 1190.500 510.000 1192.000 502.000 1202.000 } + rotation= + { +0.087 0.000 0.000 0.000 2.444 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Zeeland + 79= + { + position= + { +522.000 1209.000 523.500 1211.500 535.000 1212.000 528.000 1207.000 516.000 1214.000 } + rotation= + { +-0.001 0.000 0.000 0.000 2.356 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Holland + 80= + { + position= + { +548.000 1215.000 549.000 1224.000 554.000 1227.000 551.000 1224.000 539.000 1226.000 } + rotation= + { +0.175 0.000 0.000 0.000 2.269 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Westfriesland + 81= + { + position= + { +557.000 1241.000 554.000 1244.000 550.500 1238.000 563.500 1250.000 547.000 1238.000 } + rotation= + { +1.658 0.000 0.000 1.047 2.094 } + height= + { +0.000 0.000 0.000 0.900 0.000 } + } +#Sticht + 82= + { + position= + { +567.000 1211.500 568.000 1218.000 563.000 1220.000 569.000 1214.000 567.000 1227.000 } + rotation= + { +0.873 0.000 0.000 0.000 2.966 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Gelre + 83= + { + position= + { +581.500 1229.000 589.000 1233.000 586.500 1219.500 585.000 1229.000 573.000 1235.000 } + rotation= + { +1.222 0.000 0.000 0.000 2.355 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Friesland + 84= + { + position= + { +582.000 1255.000 591.000 1259.000 600.500 1254.000 583.500 1252.500 594.000 1263.000 } + rotation= + { +0.000 0.000 0.000 0.436 2.705 } + height= + { +0.000 0.000 0.000 1.250 0.000 } + } +#Ostfriesland + 85= + { + position= + { +618.000 1257.000 620.500 1266.500 610.000 1260.000 617.500 1261.000 621.000 1276.000 } + rotation= + { +0.087 0.000 -0.262 0.960 3.229 } + height= + { +0.000 0.000 0.000 0.900 0.000 } + } +#Oldenburg + 86= + { + position= + { +639.500 1267.000 632.500 1271.500 632.500 1259.500 633.500 1261.000 636.000 1278.000 } + rotation= + { +0.873 0.000 0.000 -0.786 3.142 } + height= + { +0.000 0.000 0.000 0.850 0.000 } + } +#Osnabrück + 87= + { + position= + { +631.000 1232.500 623.000 1241.000 639.000 1243.000 633.000 1244.000 638.000 1249.000 } + rotation= + { +0.262 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Münster + 88= + { + position= + { +614.000 1203.500 618.000 1216.000 607.000 1212.000 615.500 1209.500 599.000 1233.000 } + rotation= + { +0.000 0.000 0.000 0.175 1.920 } + height= + { +0.000 0.000 0.000 1.450 0.000 } + } +#Kleve + 89= + { + position= + { +586.000 1203.000 586.000 1205.000 594.000 1201.000 606.000 1206.000 611.000 1211.000 } + rotation= + { +0.524 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Jülich + 90= + { + position= + { +589.500 1174.500 584.500 1170.000 587.000 1161.000 582.000 1186.000 587.000 1191.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Loon + 91= + { + position= + { +568.000 1184.000 565.000 1189.000 572.000 1194.000 570.000 1194.000 575.000 1199.000 } + rotation= + { +1.484 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Breda + 92= + { + position= + { +548.500 1194.500 546.500 1202.000 557.000 1201.500 550.000 1193.000 535.000 1201.000 } + rotation= + { +0.960 0.000 0.000 0.000 2.792 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Gent + 93= + { + position= + { +516.000 1184.000 515.000 1186.000 528.500 1192.000 521.000 1178.000 524.000 1197.000 } + rotation= + { +1.221 0.000 0.000 0.000 2.967 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Hainaut + 94= + { + position= + { +514.000 1157.000 514.500 1169.000 523.000 1165.000 526.000 1158.000 531.000 1163.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Amiens + 95= + { + position= + { +479.500 1137.000 478.000 1146.000 468.000 1143.000 484.000 1155.000 489.000 1160.000 } + rotation= + { +0.087 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Eu + 96= + { + position= + { +458.000 1148.500 455.500 1155.000 450.500 1150.000 454.500 1147.000 453.000 1160.000 } + rotation= + { +0.175 0.000 0.000 0.087 2.443 } + height= + { +0.000 0.000 0.000 1.500 0.000 } + } +#Rouen + 97= + { + position= + { +440.000 1149.500 447.000 1142.000 430.500 1147.000 439.000 1150.000 433.000 1154.000 } + rotation= + { +0.175 0.000 0.000 0.000 2.792 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Vexin + 98= + { + position= + { +460.500 1127.500 458.500 1132.500 466.500 1126.000 462.000 1140.000 467.000 1145.000 } + rotation= + { +0.175 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Évreux + 99= + { + position= + { +427.000 1135.500 431.000 1120.000 444.000 1123.000 433.000 1127.000 421.000 1139.000 } + rotation= + { +0.000 0.000 0.000 0.000 2.269 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Mortain + 100= + { + position= + { +408.000 1125.000 401.500 1135.000 389.000 1124.000 390.000 1136.000 383.000 1155.000 } + rotation= + { +0.175 0.000 0.000 0.000 3.142 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Roazhon + 101= + { + position= + { +383.500 1094.000 383.500 1103.000 375.000 1106.000 383.000 1107.000 372.000 1122.000 } + rotation= + { +0.087 0.000 0.000 0.000 2.880 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Domnonia + 102= + { + position= + { +362.500 1101.000 362.000 1110.500 353.000 1111.500 356.000 1118.000 351.000 1126.000 } + rotation= + { +0.436 0.000 0.000 0.000 4.276 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Léon + 103= + { + position= + { +330.000 1123.000 324.500 1125.000 339.000 1125.000 328.000 1122.000 317.000 1129.000 } + rotation= + { +0.000 0.000 0.000 0.000 3.054 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Kernev + 104= + { + position= + { +325.000 1102.000 326.000 1109.000 334.000 1112.000 333.000 1113.000 307.000 1105.000 } + rotation= + { +0.349 0.000 0.000 0.000 0.786 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Broërec + 105= + { + position= + { +344.500 1089.000 339.000 1095.000 357.000 1087.500 356.500 1085.000 337.500 1084.500 } + rotation= + { +0.262 0.000 0.000 0.000 0.785 } + height= + { +0.000 0.000 0.000 1.500 0.000 } + } +#Naoned + 106= + { + position= + { +372.000 1071.500 368.000 1075.000 375.500 1081.000 374.000 1079.000 349.000 1071.000 } + rotation= + { +0.175 0.000 0.000 0.000 0.960 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Anjou + 107= + { + position= + { +400.000 1064.000 404.000 1072.500 395.000 1081.000 404.000 1082.000 409.000 1087.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Maine + 108= + { + position= + { +416.000 1088.500 413.500 1100.000 436.000 1098.500 426.000 1107.000 431.000 1112.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Vendôme + 109= + { + position= + { +434.000 1075.500 436.000 1083.000 429.500 1081.000 432.000 1083.000 437.000 1088.000 } + rotation= + { +0.262 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Blois + 110= + { + position= + { +450.000 1057.000 452.000 1065.000 458.500 1063.000 462.000 1081.000 467.000 1086.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Chartres + 111= + { + position= + { +453.000 1096.000 453.000 1105.000 446.500 1086.500 474.000 1111.000 479.000 1116.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Paris + 112= + { + position= + { +465.000 1116.000 470.000 1107.000 478.000 1120.000 501.000 1130.000 506.000 1135.000 } + rotation= + { +0.175 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Vermandois + 113= + { + position= + { +508.500 1136.000 516.500 1144.000 527.500 1133.000 520.000 1148.000 525.000 1153.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Reims + 114= + { + position= + { +514.000 1105.000 511.000 1117.000 494.500 1113.500 536.000 1125.000 541.000 1130.000 } + rotation= + { +0.698 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Luxembourg + 115= + { + position= + { +557.000 1133.500 568.000 1141.000 558.000 1147.000 575.000 1144.000 580.000 1149.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Liege + 116= + { + position= + { +553.000 1170.500 559.000 1175.000 569.000 1161.500 563.000 1164.000 568.000 1169.000 } + rotation= + { +0.436 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Brabant + 117= + { + position= + { +534.500 1170.000 533.500 1180.000 543.500 1179.500 542.000 1172.000 547.000 1177.000 } + rotation= + { +1.658 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Trier + 118= + { + position= + { +597.000 1140.000 597.500 1142.500 588.500 1132.500 597.000 1164.000 602.000 1169.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Cologne + 119= + { + position= + { +598.000 1175.500 608.000 1183.000 623.000 1176.500 613.000 1183.000 618.000 1188.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Göttingen + 120= + { + position= + { +643.500 1192.500 641.500 1204.000 651.500 1204.500 646.000 1198.000 651.000 1203.000 } + rotation= + { +0.262 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Nassau + 121= + { + position= + { +660.000 1176.000 650.500 1173.000 640.500 1165.500 651.000 1169.000 656.000 1174.000 } + rotation= + { +1.047 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Leiningen + 122= + { + position= + { +659.000 1129.000 658.000 1142.500 643.000 1141.000 646.000 1136.000 651.000 1141.000 } + rotation= + { +0.524 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Mainz + 123= + { + position= + { +621.000 1147.000 622.000 1155.500 616.000 1161.000 621.000 1149.000 626.000 1154.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Pfalz + 124= + { + position= + { +620.500 1111.000 615.000 1122.000 605.000 1128.000 605.000 1128.000 610.000 1133.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Baden + 125= + { + position= + { +633.000 1099.000 630.000 1101.000 641.000 1115.000 636.000 1105.000 641.000 1110.000 } + rotation= + { +0.175 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Nordgau + 126= + { + position= + { +603.500 1081.000 604.000 1087.500 609.000 1093.500 614.000 1099.000 619.000 1104.000 } + rotation= + { +0.087 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Lorraine + 127= + { + position= + { +579.000 1074.000 581.000 1081.000 587.000 1085.500 594.000 1092.000 599.000 1097.000 } + rotation= + { +0.087 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Metz + 128= + { + position= + { +577.000 1106.000 587.022 1108.697 588.000 1117.000 581.000 1113.000 586.000 1118.000 } + rotation= + { +0.087 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Verdun + 129= + { + position= + { +553.000 1120.000 551.000 1112.000 562.000 1119.500 560.000 1118.000 565.000 1123.000 } + rotation= + { +0.349 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Troyes + 130= + { + position= + { +531.000 1083.000 531.500 1090.000 544.000 1074.000 543.000 1101.000 548.000 1106.000 } + rotation= + { +0.262 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Sens + 131= + { + position= + { +501.500 1083.000 500.000 1094.000 491.500 1083.000 510.000 1095.000 515.000 1100.000 } + rotation= + { +0.262 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Auxerre + 132= + { + position= + { +493.500 1062.000 494.000 1070.000 508.000 1072.500 538.000 1077.000 543.000 1082.000 } + rotation= + { +-0.087 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Saintois + 133= + { + position= + { +560.000 1080.000 559.500 1087.000 568.500 1082.000 570.000 1082.000 575.000 1087.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Sundgau + 134= + { + position= + { +596.000 1057.000 594.000 1062.000 596.000 1068.000 608.000 1062.000 613.000 1067.000 } + rotation= + { +0.349 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Bourgogne + 135= + { + position= + { +547.000 1053.000 559.000 1045.000 572.000 1053.000 580.000 1054.000 585.000 1059.000 } + rotation= + { +1.134 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Dijon + 136= + { + position= + { +515.000 1049.000 520.000 1056.000 530.000 1061.000 536.000 1054.000 541.000 1059.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Nevers + 137= + { + position= + { +494.000 1041.000 495.500 1051.000 488.500 1048.500 504.000 1047.000 509.000 1052.000 } + rotation= + { +-0.436 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Orléans + 138= + { + position= + { +474.000 1083.500 471.500 1093.500 462.500 1085.500 492.000 1071.000 497.000 1076.000 } + rotation= + { +-0.175 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Bourges + 139= + { + position= + { +457.500 1035.000 456.000 1046.000 472.000 1051.000 466.000 1042.000 471.000 1047.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Tours + 140= + { + position= + { +437.000 1055.000 429.000 1058.000 424.000 1057.500 436.000 1054.000 441.000 1059.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Poitiers + 141= + { + position= + { +415.500 1037.000 406.000 1039.000 423.000 1038.000 401.000 1056.000 406.000 1061.000 } + rotation= + { +0.087 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Thouars + 142= + { + position= + { +375.000 1038.500 380.500 1049.000 368.000 1046.000 374.000 1052.000 370.000 1034.000 } + rotation= + { +-0.087 0.000 0.000 0.000 0.610 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Saintonge + 143= + { + position= + { +381.500 1009.000 388.000 1009.000 386.500 1020.000 387.000 1023.000 378.000 1019.000 } + rotation= + { +3.055 0.000 0.000 0.000 2.094 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Lusignan + 144= + { + position= + { +415.500 1016.500 416.500 1026.500 406.000 1022.000 408.000 1028.000 413.000 1033.000 } + rotation= + { +0.087 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#La Marche + 145= + { + position= + { +451.000 1011.000 447.000 1018.000 462.000 1011.000 434.000 1025.000 439.000 1030.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Bourbon + 146= + { + position= + { +487.500 1027.500 481.500 1034.500 473.000 1026.000 465.000 1012.000 470.000 1017.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Limousin + 147= + { + position= + { +446.000 986.500 447.000 993.000 455.000 994.000 428.000 1004.000 433.000 1009.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Angoulême + 148= + { + position= + { +407.000 993.500 408.000 1001.000 403.000 1005.000 393.000 997.000 374.000 1001.000 } + rotation= + { +0.262 0.000 0.000 0.000 1.571 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Bordeaux + 149= + { + position= + { +377.500 969.000 383.000 977.000 377.500 985.000 385.000 972.000 368.500 978.500 } + rotation= + { +-0.087 0.000 0.000 0.000 1.921 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Marsan + 150= + { + position= + { +375.000 938.000 379.000 947.000 387.000 950.000 373.000 952.000 362.000 952.000 } + rotation= + { +0.611 0.000 0.000 0.000 -4.364 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Dax + 151= + { + position= + { +362.500 934.000 365.000 935.000 368.500 933.500 369.000 933.000 357.000 941.000 } + rotation= + { +0.349 0.000 0.000 0.000 -3.927 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Navarra + 152= + { + position= + { +347.500 906.500 345.000 912.000 354.000 917.500 345.000 914.000 349.000 934.000 } + rotation= + { +0.000 0.000 0.000 0.000 2.443 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Viscaya + 153= + { + position= + { +314.000 935.500 316.000 925.000 328.000 926.000 320.000 925.000 324.000 934.000 } + rotation= + { +0.087 0.000 0.000 0.000 3.578 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Asturias de Santillana + 154= + { + position= + { +287.500 939.500 281.000 938.000 273.000 940.500 282.000 937.000 285.000 949.000 } + rotation= + { +0.000 0.000 0.000 0.000 -3.054 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Asturias de Oviedo + 155= + { + position= + { +236.000 966.000 229.000 954.000 215.000 960.000 229.000 954.000 238.000 968.000 } + rotation= + { +0.699 0.000 0.000 0.000 -2.793 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Coruña + 156= + { + position= + { +179.000 981.500 178.000 970.000 162.000 971.000 178.000 971.000 177.000 989.000 } + rotation= + { +0.000 0.000 0.000 0.000 2.618 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Santiago + 157= + { + position= + { +187.000 927.000 175.000 937.000 159.000 948.000 175.000 937.000 149.000 943.000 } + rotation= + { +-0.349 0.000 0.000 0.000 1.571 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Porto + 158= + { + position= + { +155.500 897.500 155.000 906.500 152.000 915.500 153.000 908.000 143.000 911.000 } + rotation= + { +-0.437 0.000 0.000 0.000 1.571 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Coimbra + 159= + { + position= + { +146.000 870.000 146.000 877.500 154.500 883.000 146.000 877.000 135.000 884.000 } + rotation= + { +0.000 0.000 0.000 0.000 1.920 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Lishbuna + 160= + { + position= + { +114.000 845.500 119.000 844.500 130.000 848.000 119.000 845.000 110.000 849.000 } + rotation= + { +0.262 0.000 0.000 0.000 2.618 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Alcácer do Sal + 161= + { + position= + { +113.500 817.000 125.000 820.000 132.000 829.000 123.000 821.000 102.000 815.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.698 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Shlib + 162= + { + position= + { +108.500 786.500 116.000 786.000 126.000 795.000 117.000 789.000 105.000 786.000 } + rotation= + { +0.175 0.000 0.000 0.000 1.484 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Uhshunubah + 163= + { + position= + { +136.500 760.000 133.000 770.000 141.000 771.000 128.000 770.000 130.000 752.000 } + rotation= + { +-0.524 0.000 0.000 0.000 -0.175 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Niebla + 164= + { + position= + { +158.000 752.000 160.500 764.500 170.000 768.500 160.000 764.000 159.000 749.000 } + rotation= + { +0.175 0.000 0.000 0.000 0.698 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Cadiz + 165= + { + position= + { +171.000 734.000 178.000 737.000 179.000 744.000 184.000 739.000 169.000 730.000 } + rotation= + { +0.960 0.000 0.000 0.000 0.960 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Algeciras + 166= + { + position= + { +188.000 706.500 186.500 717.500 195.500 719.000 197.000 721.000 200.000 706.000 } + rotation= + { +0.611 0.000 0.000 0.000 -0.872 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Malaga + 167= + { + position= + { +225.000 725.000 220.500 731.000 231.000 736.000 234.000 729.000 240.000 720.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Almeria + 168= + { + position= + { +298.000 729.000 290.500 733.500 294.000 744.000 288.000 728.000 296.000 714.000 } + rotation= + { +0.087 0.000 0.000 0.000 6.196 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Mursiya + 169= + { + position= + { +319.000 742.000 315.500 750.000 328.000 747.000 320.000 748.000 337.000 739.000 } + rotation= + { +0.960 0.000 0.000 0.000 -0.873 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Deniyya + 170= + { + position= + { +344.000 761.000 341.500 769.000 353.000 773.000 345.000 766.000 356.000 766.000 } + rotation= + { +0.087 0.000 0.000 0.000 -0.611 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Balansiyya + 171= + { + position= + { +350.000 794.000 343.000 806.000 332.000 818.000 337.000 801.000 355.000 795.000 } + rotation= + { +1.309 0.000 0.000 0.000 4.974 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Castellon + 172= + { + position= + { +351.000 822.000 362.000 825.000 349.000 830.000 351.000 829.000 374.000 815.000 } + rotation= + { +1.484 0.000 0.000 0.000 -0.785 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Turtusha + 173= + { + position= + { +390.500 835.500 391.000 843.000 397.500 848.500 386.000 839.000 394.000 834.000 } + rotation= + { +-0.436 0.000 0.000 0.000 -1.135 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Albarracin + 174= + { + position= + { +369.000 851.000 371.000 859.000 383.000 862.500 367.000 858.000 372.000 863.000 } + rotation= + { +0.087 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Calatayud + 175= + { + position= + { +327.000 857.000 334.500 852.000 326.500 871.000 333.000 866.000 338.000 871.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Molina + 176= + { + position= + { +313.000 844.000 317.000 851.000 312.000 868.000 297.000 855.000 302.000 860.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Kunka + 177= + { + position= + { +298.000 830.000 290.000 843.000 298.000 854.000 298.000 829.000 303.000 834.000 } + rotation= + { +0.436 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#La Mancha + 178= + { + position= + { +281.000 804.500 292.000 802.000 307.000 810.000 291.000 798.000 296.000 803.000 } + rotation= + { +1.047 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Almansa + 179= + { + position= + { +319.000 774.000 310.000 779.000 323.000 789.000 312.000 771.000 317.000 776.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Granada + 180= + { + position= + { +251.000 738.000 259.000 751.000 277.000 759.000 262.000 750.000 258.000 716.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Qurtubah + 181= + { + position= + { +220.000 767.000 218.000 775.000 226.000 781.000 252.000 774.000 257.000 779.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Seville + 182= + { + position= + { +206.500 740.000 204.000 748.000 218.000 752.000 213.000 753.000 218.000 758.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Aracena + 183= + { + position= + { +188.500 764.500 185.000 772.000 193.000 776.000 195.000 772.000 200.000 777.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Badajoz + 184= + { + position= + { +197.000 793.000 195.000 797.000 177.000 794.000 197.000 793.000 202.000 798.000 } + rotation= + { +1.222 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Mértola + 185= + { + position= + { +155.000 794.000 148.000 799.000 151.500 786.000 155.000 801.000 160.000 806.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Évora + 186= + { + position= + { +166.500 824.000 158.000 834.000 163.000 849.000 156.000 839.000 161.000 844.000 } + rotation= + { +0.087 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Castelo Branco + 187= + { + position= + { +176.000 869.500 172.000 876.000 179.000 881.000 177.000 869.000 182.000 874.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Bragança + 188= + { + position= + { +176.000 900.000 181.000 905.000 174.000 913.000 180.000 903.000 185.000 909.000 } + rotation= + { +0.349 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Astorga + 189= + { + position= + { +212.000 919.000 208.000 927.000 215.000 936.000 210.000 925.000 215.000 930.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#León + 190= + { + position= + { +228.000 912.000 236.000 916.000 240.000 930.000 240.000 930.000 241.000 920.000 } + rotation= + { +0.349 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Zamora + 191= + { + position= + { +213.000 886.000 215.000 896.000 227.000 888.000 210.000 888.000 215.000 893.000 } + rotation= + { +0.436 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Salamanca + 192= + { + position= + { +214.000 862.500 220.000 870.000 195.000 868.000 220.000 864.000 225.000 869.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Alcantara + 193= + { + position= + { +187.000 834.500 189.000 844.000 179.000 838.000 187.000 836.000 192.000 841.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Plasencia + 194= + { + position= + { +221.000 840.000 216.000 847.000 229.000 846.000 217.000 839.000 222.000 844.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Caceres + 195= + { + position= + { +199.000 815.000 207.000 821.000 219.000 822.000 202.000 813.000 207.000 818.000 } + rotation= + { +0.175 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Calatrava + 196= + { + position= + { +256.000 803.000 247.000 805.000 253.000 792.000 249.000 799.000 254.000 804.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Tulaytulah + 197= + { + position= + { +250.500 823.500 249.000 835.000 268.000 823.000 253.000 835.000 258.000 840.000 } + rotation= + { +0.349 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Valladolid + 198= + { + position= + { +254.000 879.000 259.500 878.000 271.000 864.000 259.000 880.000 264.000 885.000 } + rotation= + { +0.960 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Burgos + 199= + { + position= + { +265.500 906.000 267.500 917.000 283.000 911.000 270.000 913.000 275.000 918.000 } + rotation= + { +0.175 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Soria + 200= + { + position= + { +309.000 888.000 302.000 888.000 291.000 882.500 303.000 885.000 308.000 890.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Nájera + 201= + { + position= + { +305.500 902.500 314.000 901.000 324.000 900.500 318.000 899.000 323.000 904.000 } + rotation= + { +0.698 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Saraqusta + 202= + { + position= + { +358.000 877.500 367.000 884.000 342.500 884.500 369.000 883.000 374.000 888.000 } + rotation= + { +1.134 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Larida + 203= + { + position= + { +418.500 865.000 419.000 869.000 430.500 869.000 408.000 865.000 413.000 870.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Barcelona + 204= + { + position= + { +434.000 849.000 429.000 854.000 443.000 857.000 429.000 854.000 438.000 848.000 } + rotation= + { +0.175 0.000 0.000 0.000 -0.611 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Empuries + 205= + { + position= + { +463.000 865.000 454.000 874.000 445.000 881.000 454.000 873.000 469.000 864.000 } + rotation= + { +0.349 0.000 0.000 0.000 -1.397 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Urgell + 206= + { + position= + { +417.000 879.000 422.000 890.000 412.500 892.000 418.000 893.000 423.000 898.000 } + rotation= + { +0.087 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Alto Aragón + 207= + { + position= + { +381.000 896.000 382.000 905.000 395.500 902.000 382.000 903.000 387.000 908.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Béarn + 208= + { + position= + { +386.000 922.500 389.000 929.000 376.000 924.000 398.000 928.000 403.000 933.000 } + rotation= + { +0.087 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Armagnac + 209= + { + position= + { +415.000 921.500 407.500 928.000 399.000 936.000 412.000 945.000 417.000 950.000 } + rotation= + { +0.174 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Foix + 210= + { + position= + { +436.500 898.500 436.000 903.000 439.000 911.500 433.000 918.000 438.000 923.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Rosello + 211= + { + position= + { +467.500 883.000 462.500 888.000 454.000 886.500 455.000 892.000 472.000 886.000 } + rotation= + { +0.087 0.000 0.000 0.000 -1.833 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Narbonne + 212= + { + position= + { +475.000 913.000 471.000 919.500 477.000 923.500 467.000 911.000 479.000 911.000 } + rotation= + { +0.611 0.000 0.000 0.000 -0.611 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Carcassonne + 213= + { + position= + { +457.000 903.000 451.000 910.500 458.500 912.000 469.000 934.000 474.000 939.000 } + rotation= + { +0.523 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Toulouse + 214= + { + position= + { +435.000 929.000 437.000 938.500 452.000 931.000 443.000 948.000 448.000 953.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Agen + 215= + { + position= + { +413.000 954.000 407.000 959.000 416.500 959.000 417.000 970.000 422.000 975.000 } + rotation= + { +0.960 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Périgord + 216= + { + position= + { +418.000 972.500 421.000 981.000 421.500 991.000 434.000 980.000 439.000 985.000 } + rotation= + { +2.705 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Auvergne + 217= + { + position= + { +485.000 992.000 478.000 989.000 465.000 980.000 475.000 996.000 480.000 1001.000 } + rotation= + { +0.175 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Rouergue + 218= + { + position= + { +462.000 946.000 467.000 949.000 475.000 938.000 469.000 964.000 474.000 969.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Gévaudan + 219= + { + position= + { +490.500 955.500 493.000 965.500 505.000 978.000 494.000 967.000 499.000 972.000 } + rotation= + { +0.087 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Melgueil + 220= + { + position= + { +500.000 926.000 500.000 931.000 506.000 939.000 507.000 927.000 497.000 919.000 } + rotation= + { +0.000 0.000 0.000 0.000 -0.175 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Provence + 221= + { + position= + { +546.000 904.500 544.000 920.000 558.000 915.000 542.000 914.000 548.000 899.000 } + rotation= + { +0.000 0.000 0.000 0.000 -0.262 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Venaissin + 222= + { + position= + { +523.000 943.000 528.500 942.000 522.000 950.500 537.000 941.000 542.000 946.000 } + rotation= + { +0.785 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Vivarais + 223= + { + position= + { +513.000 953.000 509.000 960.000 503.000 958.000 517.000 960.000 522.000 965.000 } + rotation= + { +0.350 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Forez + 224= + { + position= + { +512.000 994.000 509.000 999.000 516.000 1007.000 514.000 990.000 519.000 995.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Mâcon + 225= + { + position= + { +526.000 1021.000 519.000 1024.000 515.000 1025.500 503.000 1023.000 508.000 1028.000 } + rotation= + { +0.087 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Charolais + 226= + { + position= + { +508.500 1030.000 506.500 1037.500 515.000 1036.000 530.000 1030.000 535.000 1035.000 } + rotation= + { +0.349 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Lyon + 227= + { + position= + { +527.500 1001.500 534.000 1006.000 539.000 1012.000 542.000 1001.000 547.000 1006.000 } + rotation= + { +4.189 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Vienne + 228= + { + position= + { +527.000 967.000 538.000 970.000 532.000 981.000 555.000 955.000 560.000 960.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Forcalquier + 229= + { + position= + { +547.000 935.000 550.500 952.000 566.000 960.000 569.000 919.000 566.000 908.000 } + rotation= + { +-0.175 0.000 0.000 0.000 -0.262 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Nice + 230= + { + position= + { +579.000 922.000 577.000 933.000 572.000 933.000 593.000 924.000 577.000 916.000 } + rotation= + { +-3.316 0.000 0.087 0.000 -0.262 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Saluzzo + 231= + { + position= + { +594.000 937.500 596.000 946.500 584.500 945.000 589.000 941.000 594.000 946.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Monferrato + 232= + { + position= + { +613.000 954.000 617.000 965.000 608.000 952.000 611.000 945.000 614.000 934.000 } + rotation= + { +0.436 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Genoa + 233= + { + position= + { +608.000 930.000 601.000 926.000 639.500 938.500 637.000 942.000 620.000 938.000 } + rotation= + { +0.349 0.000 0.000 0.000 -0.524 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Pavia + 234= + { + position= + { +637.500 961.000 635.500 965.000 635.000 952.500 642.000 957.000 647.000 962.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Lombardy + 235= + { + position= + { +632.000 977.000 629.000 994.000 632.000 1007.000 633.000 982.000 638.000 987.000 } + rotation= + { +-0.349 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Piemonte + 236= + { + position= + { +596.500 960.000 588.000 965.000 587.500 972.000 600.000 970.000 605.000 975.000 } + rotation= + { +0.175 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Savoy + 237= + { + position= + { +579.000 984.000 577.000 989.000 588.000 998.500 575.000 974.000 580.000 979.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Valais + 238= + { + position= + { +606.000 1004.000 608.500 1011.000 599.500 1007.000 592.000 997.000 597.000 1002.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Genève + 239= + { + position= + { +562.000 1000.000 565.000 1008.500 558.000 1010.000 569.000 1007.000 574.000 1012.000 } + rotation= + { +0.523 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Chalons + 240= + { + position= + { +532.000 1028.500 529.000 1033.000 534.500 1037.500 563.000 1032.000 568.000 1037.000 } + rotation= + { +0.175 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Neuchatel + 241= + { + position= + { +576.000 1022.500 580.000 1031.000 584.000 1033.000 585.000 1022.000 590.000 1027.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Aargau + 242= + { + position= + { +596.000 1046.000 595.000 1049.500 606.000 1050.000 612.000 1038.000 617.000 1043.000 } + rotation= + { +0.262 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Orvieto + 243= + { + position= + { +721.500 856.500 720.500 865.000 713.500 856.000 751.000 854.000 712.000 844.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.524 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Bern + 244= + { + position= + { +601.000 1035.000 599.000 1025.000 593.000 1023.000 603.000 1019.000 608.000 1024.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Schwyz + 245= + { + position= + { +620.226 1042.433 623.500 1048.500 632.500 1048.500 622.000 1020.000 627.000 1025.000 } + rotation= + { +0.087 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Grisons + 246= + { + position= + { +630.000 1024.000 628.000 1034.000 638.500 1033.500 636.000 1033.000 623.000 1003.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Chur + 247= + { + position= + { +661.000 1019.500 657.000 1023.000 668.000 1029.000 647.000 1006.000 652.000 1011.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#St. Gallen + 248= + { + position= + { +644.000 1045.000 656.500 1048.500 638.500 1058.500 654.000 1027.000 659.000 1032.000 } + rotation= + { +0.087 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Schwaben + 249= + { + position= + { +664.500 1056.000 670.000 1061.500 678.000 1060.500 666.000 1048.000 671.000 1053.000 } + rotation= + { +0.087 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Breisgau + 250= + { + position= + { +629.000 1059.000 624.000 1070.000 634.000 1078.000 633.000 1067.000 638.000 1072.000 } + rotation= + { +0.175 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Fürstenberg + 251= + { + position= + { +660.000 1084.000 658.000 1093.000 652.000 1077.000 655.000 1089.000 660.000 1094.000 } + rotation= + { +0.611 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Ulm + 252= + { + position= + { +686.000 1076.000 683.000 1081.000 696.000 1090.000 682.000 1078.000 699.000 1083.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Württemberg + 253= + { + position= + { +675.000 1114.500 676.000 1123.000 691.500 1110.000 678.000 1114.000 683.000 1119.000 } + rotation= + { +-1.134 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Würzburg + 254= + { + position= + { +675.000 1154.000 683.000 1158.000 685.500 1142.000 682.000 1149.000 687.000 1154.000 } + rotation= + { +0.175 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Thüringen + 255= + { + position= + { +683.000 1169.000 685.000 1176.000 675.500 1181.000 682.000 1177.000 687.000 1182.000 } + rotation= + { +0.349 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Weimar + 256= + { + position= + { +693.000 1193.000 687.000 1198.500 676.000 1198.000 686.000 1198.000 691.000 1203.000 } + rotation= + { +0.175 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Braunschweig + 257= + { + position= + { +642.000 1222.500 661.000 1225.000 655.500 1236.000 659.000 1225.000 664.000 1230.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Lüneburg + 258= + { + position= + { +689.000 1233.000 683.500 1238.000 675.500 1235.000 680.000 1242.000 685.000 1247.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Celle + 259= + { + position= + { +659.000 1253.000 659.500 1262.500 652.000 1257.500 658.000 1258.000 664.000 1268.000 } + rotation= + { +0.000 0.000 0.000 0.000 3.927 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Weligrad + 260= + { + position= + { +716.000 1266.000 725.000 1271.500 723.000 1262.000 722.000 1262.500 720.000 1276.000 } + rotation= + { +0.087 0.000 0.000 0.000 2.182 } + height= + { +0.000 0.000 0.000 0.800 0.000 } + } +#Hamburg + 261= + { + position= + { +677.000 1260.000 681.500 1259.000 690.000 1255.000 670.000 1282.500 673.000 1262.000 } + rotation= + { +0.175 0.000 0.000 0.000 2.182 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Liubice + 262= + { + position= + { +696.500 1271.000 697.500 1263.000 703.000 1265.000 688.000 1278.000 703.000 1272.000 } + rotation= + { +0.175 0.000 0.000 0.000 3.578 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Holsten + 263= + { + position= + { +680.000 1272.500 680.000 1284.000 667.000 1279.000 670.000 1302.000 656.000 1287.000 } + rotation= + { +0.349 0.000 0.000 0.000 1.658 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Slesvig + 264= + { + position= + { +676.000 1305.000 670.000 1314.000 667.000 1301.000 668.000 1329.000 650.500 1303.500 } + rotation= + { +0.611 0.000 0.000 0.000 1.396 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Fyn + 265= + { + position= + { +696.000 1314.000 696.000 1320.000 691.000 1319.000 694.000 1315.000 699.000 1324.000 } + rotation= + { +-0.960 0.000 0.000 0.000 3.927 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Sjælland + 266= + { + position= + { +730.000 1318.000 721.000 1311.000 717.000 1317.500 720.000 1311.000 728.500 1312.000 } + rotation= + { +-1.222 0.000 0.000 0.000 4.887 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Jylland + 267= + { + position= + { +684.500 1338.000 682.000 1349.000 665.000 1349.500 680.000 1361.000 695.000 1365.000 } + rotation= + { +0.000 0.000 0.000 0.000 4.363 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Agder + 268= + { + position= + { +653.000 1410.000 655.000 1419.000 655.000 1429.000 654.000 1420.000 651.000 1405.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.349 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Rogaland + 269= + { + position= + { +635.500 1447.000 644.000 1444.000 651.000 1452.000 641.000 1444.000 625.000 1439.000 } + rotation= + { +0.175 0.000 0.000 0.000 1.483 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Telemark + 270= + { + position= + { +670.000 1431.000 673.000 1440.000 678.000 1451.000 674.000 1441.000 687.000 1426.000 } + rotation= + { +-0.087 0.000 0.000 0.000 -0.960 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Vestfold + 271= + { + position= + { +703.000 1444.000 700.000 1454.000 695.000 1468.000 698.000 1459.000 703.000 1439.000 } + rotation= + { +0.000 0.000 0.000 0.000 -0.087 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Akershus + 272= + { + position= + { +732.000 1455.000 724.000 1468.000 733.000 1472.000 725.000 1467.000 713.000 1459.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.087 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Oppland + 273= + { + position= + { +715.500 1488.500 712.000 1498.000 734.000 1497.000 709.000 1505.000 714.000 1510.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Bergenshus + 274= + { + position= + { +619.000 1509.000 639.000 1484.500 634.000 1500.500 649.000 1491.000 610.000 1509.000 } + rotation= + { +0.000 0.000 0.000 0.000 1.571 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Nidaros + 275= + { + position= + { +711.000 1603.000 685.000 1574.000 701.000 1580.000 677.000 1559.000 709.000 1607.000 } + rotation= + { +0.000 0.000 0.000 0.000 2.705 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Hedmark + 276= + { + position= + { +747.000 1533.000 742.500 1543.000 724.000 1548.000 733.000 1547.000 738.000 1552.000 } + rotation= + { +0.698 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Naumadal + 277= + { + position= + { +734.000 1627.000 740.000 1605.000 746.000 1623.000 736.000 1607.000 729.000 1624.000 } + rotation= + { +0.000 0.000 0.000 0.000 1.658 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Hålogaland + 278= + { + position= + { +755.000 1686.000 767.000 1687.000 784.000 1704.000 766.000 1647.000 743.000 1685.000 } + rotation= + { +-0.349 0.000 0.000 0.000 1.832 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Sápmi + 279= + { + position= + { +859.000 1706.000 871.000 1704.000 889.000 1720.000 865.000 1715.000 870.000 1720.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Länsipohja + 280= + { + position= + { +932.000 1692.000 906.000 1678.000 881.000 1619.000 912.000 1684.000 933.000 1685.000 } + rotation= + { +0.000 0.000 0.000 0.000 -0.436 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Ångermanland + 281= + { + position= + { +861.000 1590.500 853.000 1598.500 838.000 1601.000 847.000 1599.000 862.000 1582.000 } + rotation= + { +0.000 0.000 0.000 0.000 -1.134 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Jemtland + 282= + { + position= + { +817.000 1603.000 804.500 1608.000 806.000 1626.000 799.000 1609.000 804.000 1614.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Medelpad + 283= + { + position= + { +840.000 1561.000 830.000 1565.000 819.000 1566.000 828.000 1566.000 848.000 1563.000 } + rotation= + { +0.000 0.000 0.000 0.000 -1.048 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Herjedalen + 284= + { + position= + { +768.000 1569.000 784.000 1558.000 770.000 1578.000 781.000 1562.000 786.000 1567.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Hälsingland + 285= + { + position= + { +830.000 1534.500 823.500 1541.500 812.500 1536.000 821.000 1539.000 838.000 1538.000 } + rotation= + { +0.000 0.000 0.000 0.000 -1.658 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Gästrikland + 286= + { + position= + { +832.000 1497.500 827.000 1503.000 825.000 1516.000 826.000 1504.000 834.000 1504.000 } + rotation= + { +0.087 0.000 0.000 0.000 4.538 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Järnbäraland + 287= + { + position= + { +797.000 1497.000 794.500 1509.000 805.000 1483.000 787.000 1512.000 792.000 1517.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Wermelandia + 288= + { + position= + { +772.000 1449.000 765.000 1471.000 753.000 1462.000 760.000 1475.000 765.000 1480.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Västmanland + 289= + { + position= + { +820.000 1454.000 815.000 1464.000 799.000 1463.000 814.000 1464.000 830.000 1454.000 } + rotation= + { +0.000 0.000 0.000 0.000 -1.309 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Uppland + 290= + { + position= + { +863.000 1458.000 851.000 1467.500 847.000 1478.000 850.000 1468.000 870.000 1460.000 } + rotation= + { +0.000 0.000 0.000 0.000 4.712 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Åland + 291= + { + position= + { +886.000 1471.000 887.000 1476.500 883.500 1477.000 888.000 1475.000 887.000 1467.000 } + rotation= + { +-0.524 0.000 0.000 0.000 -0.175 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Sudermannia + 292= + { + position= + { +847.000 1444.000 839.000 1437.000 825.000 1435.000 838.000 1438.000 866.000 1442.000 } + rotation= + { +0.349 0.000 0.000 0.000 4.712 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Ostrogothia + 293= + { + position= + { +826.000 1405.000 801.000 1418.000 791.000 1411.000 808.000 1412.000 830.000 1418.000 } + rotation= + { +0.000 0.000 0.000 0.000 -0.960 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Närke + 294= + { + position= + { +796.500 1434.500 799.000 1444.000 789.000 1447.000 795.000 1441.000 800.000 1446.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Dal + 295= + { + position= + { +746.000 1430.000 742.000 1435.000 737.000 1443.000 740.000 1435.000 745.000 1440.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Viken + 296= + { + position= + { +727.000 1413.000 731.500 1414.500 732.000 1402.500 727.000 1423.000 724.000 1413.000 } + rotation= + { +0.000 0.000 0.000 0.000 1.571 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Västergötland + 297= + { + position= + { +757.500 1388.000 759.000 1404.000 773.000 1414.000 760.000 1405.000 729.500 1390.500 } + rotation= + { +0.698 0.000 0.000 0.000 1.309 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Värend + 298= + { + position= + { +781.000 1356.000 776.000 1369.000 789.000 1370.000 790.000 1370.000 823.000 1379.000 } + rotation= + { +0.436 0.000 0.000 0.000 4.626 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Farrah + 299= + { + position= + { +2018.000 684.000 2006.000 686.000 1988.000 676.000 1896.000 589.000 1901.000 594.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Öland + 300= + { + position= + { +820.500 1344.664 823.000 1354.000 826.500 1362.000 831.500 1356.000 823.000 1349.000 } + rotation= + { +0.349 0.000 0.000 1.222 -0.960 } + height= + { +0.000 0.000 0.000 1.000 0.000 } + } +#Gotland + 301= + { + position= + { +855.000 1375.000 858.000 1380.000 862.000 1388.000 858.000 1380.000 851.000 1376.000 } + rotation= + { +1.134 0.000 0.000 0.000 1.570 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Halland + 302= + { + position= + { +749.000 1357.500 747.000 1365.000 741.000 1374.000 746.000 1366.000 748.000 1354.000 } + rotation= + { +0.000 0.000 0.000 0.000 1.135 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Scania + 303= + { + position= + { +750.000 1320.000 760.000 1323.000 750.000 1336.000 760.000 1322.000 746.000 1308.500 } + rotation= + { +0.436 0.000 0.000 0.000 0.175 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Rana + 304= + { + position= + { +757.000 1280.000 757.000 1280.000 762.500 1280.000 764.000 1274.000 767.500 1279.500 } + rotation= + { +0.000 0.000 0.000 0.000 4.014 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Bornholm + 305= + { + position= + { +787.000 1295.000 791.000 1298.000 787.000 1302.000 788.000 1300.000 784.000 1295.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.611 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Rastokú + 306= + { + position= + { +741.000 1281.500 739.000 1276.000 746.000 1280.500 733.000 1275.000 736.000 1282.000 } + rotation= + { +0.000 0.000 0.000 0.000 2.182 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Dymin + 307= + { + position= + { +742.000 1257.000 734.000 1257.000 747.500 1266.000 740.000 1260.000 752.000 1272.000 } + rotation= + { +0.087 0.000 0.000 0.000 3.578 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Wologoszcz + 308= + { + position= + { +758.500 1251.000 758.500 1259.000 767.000 1253.500 754.500 1256.500 773.000 1264.000 } + rotation= + { +0.000 0.000 0.000 0.000 3.229 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Altmark + 309= + { + position= + { +719.500 1229.500 711.000 1232.000 720.000 1235.000 729.000 1239.000 722.000 1243.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Anhalt + 310= + { + position= + { +708.000 1207.000 720.000 1210.000 728.000 1204.000 717.000 1209.000 722.000 1214.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Plauen + 311= + { + position= + { +716.000 1169.000 714.500 1181.000 727.000 1182.500 718.000 1177.000 723.000 1182.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Meissen + 312= + { + position= + { +740.000 1155.000 740.000 1164.000 730.000 1159.000 739.000 1168.000 746.000 1169.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Bamberg + 313= + { + position= + { +705.500 1128.500 707.000 1141.000 721.500 1144.000 708.000 1137.000 713.000 1142.000 } + rotation= + { +1.833 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Nürnberg + 314= + { + position= + { +726.000 1110.000 722.000 1122.000 711.000 1101.000 715.000 1107.000 720.000 1112.000 } + rotation= + { +-0.960 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Kempten + 315= + { + position= + { +720.500 1083.000 712.000 1077.000 697.000 1067.000 704.000 1063.000 709.000 1068.000 } + rotation= + { +0.786 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Tirol + 316= + { + position= + { +696.000 1033.000 694.000 1040.000 708.000 1044.000 706.000 1023.000 660.000 923.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Trent + 317= + { + position= + { +694.000 999.000 694.000 1009.000 706.000 1013.000 678.000 1002.000 683.000 1007.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Brescia + 318= + { + position= + { +668.000 977.000 669.000 987.000 657.000 996.000 661.000 976.000 666.000 981.000 } + rotation= + { +0.262 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Verona + 319= + { + position= + { +700.000 966.000 700.500 979.000 689.000 980.000 688.000 980.000 693.000 985.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Cremona + 320= + { + position= + { +663.000 963.000 668.500 967.500 657.500 971.000 673.000 952.000 678.000 957.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Parma + 321= + { + position= + { +667.000 947.500 662.000 954.000 650.000 947.000 666.000 928.000 663.000 921.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.785 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Modena + 322= + { + position= + { +688.000 944.500 685.500 951.000 677.000 934.000 690.000 926.000 695.000 931.000 } + rotation= + { +0.175 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Lucca + 323= + { + position= + { +676.500 914.500 675.000 922.500 667.500 927.500 676.000 908.000 663.000 921.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.960 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Corsica + 324= + { + position= + { +625.000 868.000 633.000 874.000 632.000 863.000 631.000 874.000 619.000 870.000 } + rotation= + { +-0.698 0.000 0.000 0.000 -4.800 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Arborea + 325= + { + position= + { +617.500 815.500 624.000 828.000 637.000 825.000 627.000 824.000 611.500 814.500 } + rotation= + { +-0.785 0.000 0.000 0.000 1.746 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Cagliari + 326= + { + position= + { +619.000 774.500 625.000 791.000 639.000 799.000 628.000 790.000 631.000 777.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.524 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Pisa + 327= + { + position= + { +678.000 891.000 677.500 898.500 675.500 904.000 686.000 891.000 675.000 892.000 } + rotation= + { +0.087 0.000 0.000 0.000 1.484 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Florence + 328= + { + position= + { +697.000 901.000 699.000 908.500 714.000 897.500 705.000 902.000 710.000 907.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Urbino + 329= + { + position= + { +731.000 897.500 731.000 903.500 728.500 908.500 733.000 892.000 738.000 897.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Siena + 330= + { + position= + { +704.000 879.000 708.500 883.000 699.000 887.500 719.000 875.000 724.000 880.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Piombino + 331= + { + position= + { +688.000 875.500 690.000 882.000 684.000 882.000 698.000 872.000 687.000 872.000 } + rotation= + { +0.698 0.000 0.000 0.000 0.611 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Orbetello + 332= + { + position= + { +698.658 861.679 699.500 868.000 704.500 867.000 701.500 865.500 692.000 859.000 } + rotation= + { +1.920 0.000 0.000 -0.087 0.175 } + height= + { +0.000 0.000 0.000 0.700 0.000 } + } +#Rome + 333= + { + position= + { +738.000 825.000 738.500 838.000 752.500 828.500 742.000 836.000 743.000 820.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.699 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Neapolis + 334= + { + position= + { +785.000 797.000 789.000 802.000 777.000 798.000 787.000 800.000 785.000 794.500 } + rotation= + { +0.000 0.000 0.000 0.000 0.961 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Benevento + 335= + { + position= + { +801.500 815.500 795.500 824.500 805.500 805.000 795.000 827.000 800.000 841.000 } + rotation= + { +0.000 0.000 0.000 0.000 3.491 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Salerno + 336= + { + position= + { +807.000 780.000 814.000 783.000 820.500 790.500 816.500 780.500 800.500 784.500 } + rotation= + { +-0.785 0.000 0.000 -0.698 1.047 } + height= + { +0.000 0.000 0.000 1.500 0.000 } + } +#Catanzaro + 337= + { + position= + { +834.000 748.000 836.000 756.000 845.000 750.000 840.500 752.500 829.000 751.000 } + rotation= + { +0.000 0.000 0.000 0.000 1.222 } + height= + { +0.000 0.000 0.000 1.500 0.000 } + } +#Reggio + 338= + { + position= + { +843.000 714.000 839.000 722.000 849.500 738.000 841.000 723.000 846.000 717.000 } + rotation= + { +0.000 0.000 0.000 0.000 -1.396 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Messina + 339= + { + position= + { +797.000 701.000 803.000 696.000 811.500 701.000 803.000 697.000 804.000 703.000 } + rotation= + { +0.000 0.000 0.000 0.000 2.880 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Balharm + 340= + { + position= + { +773.000 693.000 770.000 692.000 784.000 688.000 770.000 691.000 754.000 705.000 } + rotation= + { +0.175 0.000 0.000 0.000 -3.316 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Mazar + 341= + { + position= + { +737.500 688.000 739.500 692.500 748.500 686.000 741.000 689.000 733.000 698.000 } + rotation= + { +0.000 0.000 0.000 0.000 2.269 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Kerkent + 342= + { + position= + { +770.000 668.000 772.500 677.500 760.500 679.000 769.000 675.000 767.000 667.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.436 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Siracusa + 343= + { + position= + { +802.500 660.000 797.000 669.000 798.000 681.000 797.000 669.000 806.000 674.000 } + rotation= + { +0.000 0.000 0.000 0.000 -2.007 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Taranto + 344= + { + position= + { +846.500 778.500 841.000 782.000 839.000 788.000 849.000 784.000 852.000 781.000 } + rotation= + { +0.000 0.000 0.000 0.000 -0.873 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Lecce + 345= + { + position= + { +877.000 787.000 877.000 795.500 891.000 780.000 887.000 779.000 890.000 795.000 } + rotation= + { +0.000 0.000 0.000 0.000 3.665 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Bari + 346= + { + position= + { +848.000 798.000 848.000 806.500 836.500 804.000 857.000 801.000 860.000 810.000 } + rotation= + { +0.000 0.000 0.000 0.000 4.102 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Apulia + 347= + { + position= + { +825.500 813.500 820.000 815.000 816.500 816.000 827.000 814.000 827.000 823.000 } + rotation= + { +0.000 0.000 0.000 0.000 4.276 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Foggia + 348= + { + position= + { +819.500 828.000 818.500 834.500 809.000 828.000 806.000 835.000 830.000 840.000 } + rotation= + { +0.000 0.000 0.000 0.000 3.404 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Spoleto + 349= + { + position= + { +743.000 856.000 737.000 867.000 729.000 884.000 768.000 862.000 783.000 859.000 } + rotation= + { +0.000 0.000 0.000 0.000 -2.356 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Ancona + 350= + { + position= + { +758.000 903.000 757.000 885.000 750.000 898.000 750.000 899.000 759.000 905.000 } + rotation= + { +0.000 0.000 0.000 0.000 4.276 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Ravenna + 351= + { + position= + { +724.000 920.000 719.000 929.000 711.000 921.000 719.000 921.000 729.000 928.000 } + rotation= + { +0.000 0.000 0.000 0.000 4.276 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Bologna + 352= + { + position= + { +706.500 931.500 702.000 934.000 700.500 942.000 699.000 945.000 704.000 950.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Ferrara + 353= + { + position= + { +716.000 942.500 717.000 950.000 707.000 954.000 719.000 944.000 727.000 951.000 } + rotation= + { +0.000 0.000 0.000 0.000 -0.786 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Mantua + 354= + { + position= + { +688.000 961.000 688.000 965.000 680.500 966.500 697.000 964.000 702.000 969.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Padua + 355= + { + position= + { +718.000 964.000 718.500 969.000 713.000 972.000 715.000 970.000 723.000 971.000 } + rotation= + { +0.000 0.000 0.000 0.000 4.974 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Venezia + 356= + { + position= + { +728.000 979.000 732.000 983.000 738.000 983.500 733.000 983.000 736.000 978.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Treviso + 357= + { + position= + { +713.000 985.000 720.000 995.000 713.000 998.000 721.000 997.000 718.000 988.000 } + rotation= + { +0.000 0.000 0.000 0.000 -0.524 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Aquileia + 358= + { + position= + { +750.000 998.000 751.000 1006.000 771.000 1006.000 753.000 1001.000 748.000 982.000 } + rotation= + { +0.087 0.000 0.000 0.000 0.698 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Innsbruck + 359= + { + position= + { +743.000 1033.000 739.000 1035.000 754.000 1038.500 743.000 1037.000 748.000 1042.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Oberbayern + 360= + { + position= + { +742.000 1077.500 736.500 1071.000 733.000 1060.000 731.000 1057.000 737.000 1067.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Niederbayern + 361= + { + position= + { +739.500 1098.500 748.000 1098.000 758.000 1094.500 745.000 1089.000 750.000 1094.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Domazlice + 362= + { + position= + { +788.500 1118.500 785.000 1121.000 797.000 1112.000 751.000 1121.000 756.000 1126.000 } + rotation= + { +0.349 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Leitmeritz + 363= + { + position= + { +781.000 1170.000 788.000 1177.000 803.000 1178.000 763.000 1155.000 768.000 1160.000 } + rotation= + { +0.175 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Lausitz + 364= + { + position= + { +768.500 1183.500 773.000 1192.000 785.000 1192.000 777.000 1191.000 782.000 1196.000 } + rotation= + { +0.175 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Brandenburg + 365= + { + position= + { +773.000 1214.000 759.000 1222.000 750.000 1233.000 757.000 1221.000 762.000 1226.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Szczecin + 366= + { + position= + { +797.500 1267.500 790.500 1258.000 807.000 1253.000 794.000 1257.000 794.000 1270.000 } + rotation= + { +0.349 0.000 0.000 0.000 2.967 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Slupsk + 367= + { + position= + { +821.000 1278.000 828.000 1270.000 817.000 1276.000 827.000 1270.000 826.000 1285.000 } + rotation= + { +0.000 0.000 0.000 0.000 2.705 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Gdansk + 368= + { + position= + { +861.000 1279.000 862.000 1271.500 855.500 1282.000 852.000 1270.000 861.000 1293.000 } + rotation= + { +0.262 0.000 0.000 0.000 3.141 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Chelmno + 369= + { + position= + { +881.000 1248.500 882.500 1259.000 890.000 1259.000 884.000 1268.000 874.000 1276.000 } + rotation= + { +0.175 0.000 0.000 0.000 2.618 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Marienburg + 370= + { + position= + { +893.000 1282.000 896.000 1276.000 883.000 1273.500 901.000 1289.000 883.000 1285.500 } + rotation= + { +0.349 0.000 0.000 0.000 2.443 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Sambia + 371= + { + position= + { +902.500 1290.000 910.000 1292.500 916.000 1289.500 916.000 1311.000 902.000 1306.000 } + rotation= + { +0.349 0.000 0.000 0.000 2.356 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Memel + 372= + { + position= + { +916.000 1310.000 921.500 1309.000 930.500 1304.500 927.000 1339.000 905.000 1321.000 } + rotation= + { +-0.174 0.000 0.000 0.000 1.658 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Kurzeme + 373= + { + position= + { +917.000 1360.500 927.500 1371.000 945.000 1367.000 929.000 1370.000 922.000 1380.000 } + rotation= + { +0.000 0.000 0.000 0.000 2.356 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Zemgale + 374= + { + position= + { +964.000 1353.500 968.000 1346.500 949.000 1347.000 979.000 1361.000 964.000 1361.500 } + rotation= + { +0.000 0.000 0.000 0.000 3.316 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Liivimaa + 375= + { + position= + { +985.000 1378.000 996.000 1384.000 1000.000 1364.000 994.000 1391.000 976.500 1391.000 } + rotation= + { +0.000 0.000 0.000 0.000 1.571 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Saaremaa + 376= + { + position= + { +942.000 1410.500 947.000 1414.000 935.500 1410.000 941.000 1418.000 927.000 1413.000 } + rotation= + { +0.785 0.000 0.000 0.000 2.007 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Läänemaa + 377= + { + position= + { +972.000 1413.000 990.000 1415.000 971.500 1425.500 1003.000 1413.000 971.000 1406.500 } + rotation= + { +0.873 0.000 0.000 0.000 0.610 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Kalevan + 378= + { + position= + { +995.000 1447.000 996.000 1440.000 1003.000 1433.000 982.000 1443.000 982.000 1452.000 } + rotation= + { +0.611 0.000 0.000 0.000 2.531 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Tartu + 379= + { + position= + { +1039.000 1404.000 1031.000 1408.000 1022.000 1421.000 1014.000 1432.000 1019.000 1437.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Narva + 380= + { + position= + { +1038.000 1447.000 1033.500 1443.000 1021.000 1444.000 1013.000 1451.000 1028.000 1454.000 } + rotation= + { +0.000 0.000 0.000 0.000 3.665 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Uusimaa + 381= + { + position= + { +991.000 1481.500 992.500 1491.000 1027.000 1494.000 994.000 1486.000 1007.000 1482.000 } + rotation= + { +-0.349 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Suomi + 382= + { + position= + { +932.000 1473.000 934.000 1487.000 922.000 1487.000 929.000 1483.000 925.500 1471.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.611 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Tavastia + 383= + { + position= + { +999.000 1515.000 990.000 1511.500 966.000 1499.000 988.000 1541.000 1006.000 1526.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Satakunta + 384= + { + position= + { +953.000 1535.000 939.500 1536.500 927.000 1521.000 946.000 1535.000 914.000 1528.000 } + rotation= + { +0.000 0.000 0.000 0.000 1.483 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Ostrobothnia + 385= + { + position= + { +947.000 1618.000 949.000 1603.000 924.000 1575.000 983.000 1626.000 946.000 1625.000 } + rotation= + { +0.000 0.000 0.000 0.000 2.269 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Kemi + 386= + { + position= + { +984.000 1733.500 1006.000 1768.000 1003.000 1720.000 992.000 1776.000 968.000 1693.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.524 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Kola + 387= + { + position= + { +1139.000 1749.000 1153.500 1789.500 1165.000 1758.000 1148.000 1804.000 1116.000 1890.000 } + rotation= + { +0.000 0.000 0.000 0.000 3.491 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Karjala + 388= + { + position= + { +1134.500 1546.500 1129.000 1605.000 1146.500 1572.000 1121.000 1620.000 1136.000 1647.000 } + rotation= + { +0.000 0.000 0.000 0.000 -1.920 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Finnmark + 389= + { + position= + { +908.000 1895.000 939.000 1853.000 953.000 1873.000 934.000 1881.000 909.000 1908.000 } + rotation= + { +0.000 0.000 0.000 0.000 2.531 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Savo + 390= + { + position= + { +1042.000 1565.000 1042.500 1567.000 1053.500 1551.000 1030.000 1574.000 1035.000 1579.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Nordland + 391= + { + position= + { +827.000 1809.000 845.000 1812.500 813.000 1771.000 801.000 1728.000 822.000 1807.000 } + rotation= + { +-1.920 0.000 0.000 0.000 1.833 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Käkisalmi + 392= + { + position= + { +1078.000 1571.000 1079.000 1518.000 1101.000 1553.000 1074.000 1560.000 1064.000 1492.000 } + rotation= + { +0.000 0.000 0.000 0.000 1.135 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Ääninen + 393= + { + position= + { +1189.000 1556.000 1178.000 1559.000 1191.000 1592.000 1176.000 1567.000 1177.500 1616.000 } + rotation= + { +0.436 0.000 0.000 0.000 3.491 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Pomorye + 394= + { + position= + { +1262.000 1567.000 1256.000 1582.000 1286.000 1563.000 1256.000 1582.000 1203.000 1616.000 } + rotation= + { +0.087 0.000 0.000 0.000 2.531 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Dvina + 395= + { + position= + { +1249.000 1639.000 1266.000 1625.000 1224.000 1640.000 1255.000 1631.000 1219.000 1664.000 } + rotation= + { +0.087 0.000 0.000 0.000 3.491 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Bjarmia + 396= + { + position= + { +1291.000 1653.000 1301.380 1677.440 1276.000 1683.000 1301.000 1678.000 1305.000 1765.000 } + rotation= + { +0.175 0.000 0.000 0.000 3.054 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Saamod + 397= + { + position= + { +1350.000 1727.000 1350.000 1741.000 1349.000 1769.000 1369.000 1763.000 1336.000 1775.000 } + rotation= + { +0.087 0.000 0.000 0.000 2.356 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Ugra + 398= + { + position= + { +1351.000 1639.000 1369.000 1627.000 1397.000 1620.000 1368.000 1637.000 1373.000 1642.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Syrj + 399= + { + position= + { +1363.000 1564.000 1351.000 1566.000 1326.000 1561.000 1361.000 1559.000 1366.000 1564.000 } + rotation= + { +0.175 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Zyriane + 400= + { + position= + { +1496.000 1567.000 1454.000 1548.000 1429.000 1559.000 1426.000 1495.000 1431.000 1500.000 } + rotation= + { +0.349 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Hlynov + 401= + { + position= + { +1384.000 1491.000 1393.000 1476.000 1404.000 1482.000 1368.000 1469.000 1373.000 1474.000 } + rotation= + { +0.262 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Veliky Ustug + 402= + { + position= + { +1375.000 1509.000 1367.000 1504.000 1387.000 1529.000 1312.000 1485.000 1317.000 1490.000 } + rotation= + { +0.175 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Romny + 403= + { + position= + { +1266.000 1520.500 1267.000 1530.000 1287.000 1533.000 1272.000 1526.000 1277.000 1531.000 } + rotation= + { +0.262 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Zaozerye + 404= + { + position= + { +1224.000 1509.000 1209.000 1505.000 1239.500 1509.000 1205.000 1502.000 1210.000 1507.000 } + rotation= + { +0.262 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Chud + 405= + { + position= + { +1302.000 1480.000 1304.000 1491.000 1313.000 1504.000 1256.000 1487.000 1261.000 1492.000 } + rotation= + { +0.436 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Vologda + 406= + { + position= + { +1305.000 1439.500 1294.000 1451.000 1273.000 1453.000 1241.000 1456.000 1246.000 1461.000 } + rotation= + { +0.087 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Kostroma + 407= + { + position= + { +1322.000 1404.000 1312.000 1411.000 1321.000 1427.000 1250.000 1420.000 1255.000 1425.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Belo Ozero + 408= + { + position= + { +1231.500 1440.500 1238.000 1455.000 1270.000 1426.000 1198.000 1446.000 1203.000 1451.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Ladoga + 409= + { + position= + { +1150.000 1482.500 1165.000 1472.000 1176.000 1456.000 1150.000 1467.000 1153.000 1502.000 } + rotation= + { +0.087 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Toropets + 410= + { + position= + { +1177.000 1355.000 1172.000 1363.000 1149.000 1350.000 1101.000 1447.000 1106.000 1452.000 } + rotation= + { +0.349 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Ingria + 411= + { + position= + { +1104.000 1480.000 1111.000 1467.000 1087.500 1466.500 1101.000 1486.000 1093.500 1481.500 } + rotation= + { +0.960 0.000 0.000 0.000 1.309 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Torzhok + 412= + { + position= + { +1213.000 1395.500 1212.000 1407.000 1197.000 1395.000 1079.000 1463.000 1072.000 1470.000 } + rotation= + { +0.000 0.000 0.000 0.000 2.705 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Pskov + 413= + { + position= + { +1057.500 1387.500 1068.000 1395.000 1065.000 1368.000 1058.000 1424.000 1052.000 1454.000 } + rotation= + { +0.000 0.000 0.000 0.000 2.356 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Novgorod + 414= + { + position= + { +1146.500 1408.000 1137.000 1423.000 1163.000 1403.000 1106.000 1408.000 1111.000 1413.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Luki + 415= + { + position= + { +1111.000 1355.000 1106.000 1377.000 1101.000 1394.000 1079.000 1381.000 1084.000 1386.000 } + rotation= + { +0.175 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Latgale + 416= + { + position= + { +1045.000 1334.000 1041.000 1349.000 1024.000 1327.000 1033.000 1356.000 1038.000 1361.000 } + rotation= + { +0.873 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Vitebsk + 417= + { + position= + { +1110.500 1316.000 1120.000 1324.000 1113.000 1305.000 1093.000 1340.000 1098.000 1345.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Orsha + 418= + { + position= + { +1091.500 1273.000 1088.000 1282.000 1083.000 1261.000 1060.000 1313.000 1065.000 1318.000 } + rotation= + { +-0.087 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Polotsk + 419= + { + position= + { +1079.000 1315.000 1074.000 1324.000 1092.000 1319.000 1021.000 1314.000 1026.000 1319.000 } + rotation= + { +-0.524 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Vilnius + 420= + { + position= + { +1024.000 1284.500 1021.000 1275.500 1016.000 1302.500 1027.000 1301.000 993.000 1326.000 } + rotation= + { +0.262 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Zemaitija + 421= + { + position= + { +956.500 1308.500 956.500 1321.500 987.000 1315.000 965.000 1336.000 905.000 1325.000 } + rotation= + { +0.000 0.000 0.000 0.000 1.571 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Scalovia + 422= + { + position= + { +922.000 1299.000 930.500 1294.000 935.500 1288.500 947.000 1302.000 911.000 1302.000 } + rotation= + { +0.000 0.000 0.000 0.000 1.658 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Trakai + 423= + { + position= + { +979.500 1278.000 982.000 1265.500 988.000 1283.000 970.000 1299.000 975.000 1304.000 } + rotation= + { +0.175 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Grodno + 424= + { + position= + { +985.000 1237.000 984.000 1246.000 967.000 1244.000 1011.000 1276.000 1016.000 1281.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Podlasie + 425= + { + position= + { +986.000 1219.000 986.000 1226.500 992.000 1205.500 990.000 1205.000 979.000 1261.000 } + rotation= + { +0.873 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Yatvyagi + 426= + { + position= + { +963.500 1267.500 961.500 1280.000 951.000 1288.500 949.000 1271.000 954.000 1276.000 } + rotation= + { +0.175 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Galindia + 427= + { + position= + { +922.500 1261.000 923.500 1268.000 911.000 1263.500 916.000 1276.000 921.000 1281.000 } + rotation= + { +0.087 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Kujawy + 428= + { + position= + { +881.000 1229.000 877.000 1234.000 885.500 1231.500 892.000 1240.000 897.000 1245.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Gniezno + 429= + { + position= + { +847.000 1243.000 849.000 1247.500 841.000 1249.000 855.000 1250.000 860.000 1255.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Lubusz + 430= + { + position= + { +791.000 1207.000 792.000 1212.000 799.000 1203.000 803.000 1226.000 808.000 1231.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Poznan + 431= + { + position= + { +830.000 1218.500 828.500 1229.500 841.500 1228.500 840.500 1229.000 842.000 1223.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Kalisz + 432= + { + position= + { +857.500 1210.000 867.000 1210.000 862.000 1221.500 867.000 1224.000 872.000 1229.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Opole + 433= + { + position= + { +850.500 1181.000 858.500 1177.000 859.000 1191.000 867.000 1191.000 872.000 1196.000 } + rotation= + { +0.262 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Lower Silesia + 434= + { + position= + { +829.000 1193.000 830.000 1198.000 813.500 1213.000 821.000 1189.000 826.000 1194.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Upper Silesia + 435= + { + position= + { +820.000 1172.500 827.000 1174.000 837.500 1170.500 854.000 1165.000 859.000 1170.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Boleslav + 436= + { + position= + { +832.000 1146.000 827.000 1154.000 836.000 1154.000 810.000 1163.000 815.000 1168.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Prague + 437= + { + position= + { +792.500 1141.000 793.500 1149.000 805.000 1138.000 794.000 1147.000 799.000 1152.000 } + rotation= + { +0.087 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Hradec + 438= + { + position= + { +827.000 1121.000 822.000 1123.000 814.000 1114.000 822.000 1123.000 827.000 1128.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Pilsen + 439= + { + position= + { +762.500 1140.000 761.000 1149.000 756.000 1157.000 787.000 1121.000 792.000 1126.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Olomouc + 440= + { + position= + { +864.000 1125.000 864.000 1134.000 876.000 1129.000 855.000 1141.000 860.000 1146.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Brno + 441= + { + position= + { +850.000 1104.000 849.500 1113.500 837.000 1107.000 854.000 1115.000 859.000 1120.000 } + rotation= + { +0.611 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Trencín + 442= + { + position= + { +890.000 1097.000 891.000 1106.000 877.500 1100.000 888.000 1107.000 883.000 1111.000 } + rotation= + { +0.960 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Nitra + 443= + { + position= + { +885.000 1072.500 884.000 1083.000 866.000 1082.500 880.000 1080.000 885.000 1085.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Esztergom + 444= + { + position= + { +889.000 1056.000 876.000 1060.000 906.000 1062.000 890.000 1057.000 895.000 1062.000 } + rotation= + { +-0.524 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Pozsony + 445= + { + position= + { +839.500 1070.000 842.000 1079.000 849.000 1068.000 841.000 1077.000 846.000 1082.000 } + rotation= + { +-0.262 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Znojmo + 446= + { + position= + { +810.000 1084.000 810.000 1090.000 819.000 1093.000 809.000 1090.000 814.000 1095.000 } + rotation= + { +-0.175 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Passau + 447= + { + position= + { +778.500 1079.000 776.000 1090.000 785.000 1092.000 773.000 1091.000 778.000 1096.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Salzburg + 448= + { + position= + { +784.000 1070.000 770.000 1054.000 758.000 1060.000 771.000 1057.000 776.000 1062.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Österreich + 449= + { + position= + { +812.000 1071.000 806.000 1060.000 801.500 1045.000 807.000 1052.000 812.000 1057.000 } + rotation= + { +0.175 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Sopron + 450= + { + position= + { +833.500 1042.500 836.000 1052.000 845.500 1042.500 834.000 1050.000 839.000 1055.000 } + rotation= + { +0.349 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Fejer + 451= + { + position= + { +889.000 1023.000 887.000 1035.000 872.000 1037.000 879.000 1029.000 884.000 1034.000 } + rotation= + { +-0.349 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Pecs + 452= + { + position= + { +892.000 989.000 881.500 990.000 889.000 1001.000 896.000 993.000 901.000 998.000 } + rotation= + { +-0.175 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Szekesfehervar + 453= + { + position= + { +857.000 997.000 857.500 1005.500 868.000 1012.000 862.000 1006.500 866.000 1010.000 } + rotation= + { +1.047 0.000 0.000 0.698 0.000 } + height= + { +0.000 0.000 0.000 0.900 0.000 } + } +#Vas + 454= + { + position= + { +843.000 1025.000 834.000 1019.000 822.000 1026.000 832.000 1023.000 837.000 1028.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Steiermark + 455= + { + position= + { +787.000 1016.000 790.000 1021.000 774.000 1024.000 786.000 1020.000 791.000 1025.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Kärnten + 456= + { + position= + { +792.000 984.000 793.000 993.000 790.000 1001.000 787.000 991.000 792.000 996.000 } + rotation= + { +0.087 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Krain + 457= + { + position= + { +777.000 971.000 778.000 980.000 767.500 989.500 767.000 989.000 772.000 994.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Istria + 458= + { + position= + { +754.500 956.000 763.000 968.000 751.000 969.000 764.000 965.000 756.000 948.000 } + rotation= + { +0.611 0.000 0.000 0.000 -0.087 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Veglia + 459= + { + position= + { +779.000 959.000 786.500 958.000 788.500 966.500 792.000 951.000 773.000 948.500 } + rotation= + { +0.786 0.000 0.000 0.000 0.350 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Varazdin + 460= + { + position= + { +822.000 992.000 823.000 1001.000 837.000 993.000 825.000 997.000 830.000 1002.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Zagreb + 461= + { + position= + { +831.000 962.000 820.000 971.000 836.000 975.000 822.000 969.000 827.000 974.000 } + rotation= + { +0.262 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Krizevci + 462= + { + position= + { +873.000 952.000 875.000 963.500 862.000 971.000 875.000 964.000 880.000 969.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Usora + 463= + { + position= + { +847.000 933.500 854.000 936.000 844.500 949.000 851.000 937.000 856.000 942.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Senj + 464= + { + position= + { +793.000 940.000 800.500 944.500 812.500 943.000 811.000 933.000 786.500 932.500 } + rotation= + { +-0.785 0.000 0.000 0.000 1.047 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Zadar + 465= + { + position= + { +802.000 923.000 813.000 915.000 811.000 926.500 825.000 907.000 808.500 908.500 } + rotation= + { +0.262 0.000 0.000 0.000 0.174 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Zachlumia + 466= + { + position= + { +849.000 908.000 845.000 918.000 869.500 901.500 855.000 910.000 860.000 915.000 } + rotation= + { +0.087 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Split + 467= + { + position= + { +830.500 907.000 842.000 903.000 854.000 897.000 861.000 889.000 831.500 891.500 } + rotation= + { +1.134 0.000 0.000 0.000 0.436 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Dubrovnik + 468= + { + position= + { +868.000 885.000 881.500 881.500 891.500 883.500 902.000 879.000 879.000 875.500 } + rotation= + { +2.182 0.000 0.000 0.000 0.611 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Zeta + 469= + { + position= + { +907.000 865.500 923.000 865.000 912.500 876.500 931.000 860.000 907.500 857.000 } + rotation= + { +0.524 0.000 0.000 0.000 0.262 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Dyrrachion + 470= + { + position= + { +921.500 811.500 926.500 828.500 938.000 814.000 932.000 824.000 912.000 818.000 } + rotation= + { +0.000 0.000 0.000 0.000 1.134 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Lychnidos + 471= + { + position= + { +955.000 836.000 962.000 840.000 972.500 838.000 962.000 841.000 967.000 846.000 } + rotation= + { +0.087 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Épieros + 472= + { + position= + { +949.000 782.000 961.000 796.000 968.000 808.500 960.000 797.000 945.000 785.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.436 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Árta + 473= + { + position= + { +966.500 758.500 971.000 765.000 976.000 774.000 971.000 765.000 960.000 765.000 } + rotation= + { +0.000 0.000 0.000 0.000 1.222 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Cephalonia + 474= + { + position= + { +957.000 740.000 961.000 736.000 967.000 721.000 961.000 733.000 960.000 735.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.697 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Hellas + 475= + { + position= + { +992.000 750.000 993.000 757.000 1002.000 753.500 992.000 753.000 979.000 743.000 } + rotation= + { +0.262 0.000 0.000 0.000 0.873 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Achaia + 476= + { + position= + { +988.000 720.000 992.000 727.000 1000.000 731.500 991.000 727.000 979.000 720.000 } + rotation= + { +0.262 0.000 0.000 0.000 0.785 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Methone + 477= + { + position= + { +993.000 704.000 997.000 709.000 998.000 699.500 996.000 702.000 991.000 706.500 } + rotation= + { +0.000 0.000 0.000 0.000 1.571 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Monemvasia + 478= + { + position= + { +1014.000 702.000 1013.000 695.000 1009.500 708.000 1013.000 696.000 1013.000 690.000 } + rotation= + { +0.175 0.000 0.000 0.000 5.410 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Kaneia + 479= + { + position= + { +1053.500 649.000 1060.500 647.000 1069.000 647.500 1059.000 646.000 1050.000 640.000 } + rotation= + { +0.000 0.000 0.000 0.000 -0.174 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Gortyn + 480= + { + position= + { +1091.000 651.000 1084.000 650.500 1095.000 653.000 1087.000 651.000 1104.000 657.000 } + rotation= + { +0.698 0.000 0.000 0.000 4.800 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Korinthos + 481= + { + position= + { +1014.500 722.000 1014.000 729.000 1010.000 719.000 1014.000 723.000 1027.000 718.000 } + rotation= + { +0.611 0.000 0.000 0.000 -0.785 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Atheniai + 482= + { + position= + { +1021.500 738.000 1026.000 747.500 1019.000 750.000 1024.000 744.000 1025.000 736.000 } + rotation= + { +0.000 0.000 0.000 0.000 5.498 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Rhodos + 483= + { + position= + { +1129.000 701.000 1131.000 708.000 1119.000 721.000 1133.000 706.000 1127.000 706.000 } + rotation= + { +0.349 0.000 0.000 0.000 1.833 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Naxos + 484= + { + position= + { +1067.000 716.000 1069.000 701.000 1073.000 714.000 1073.000 718.000 1065.000 713.000 } + rotation= + { +0.000 0.000 0.000 0.000 1.134 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Euboia + 485= + { + position= + { +1033.000 763.000 1026.000 762.000 1044.000 746.000 1036.000 752.000 1037.000 757.000 } + rotation= + { +0.524 0.000 0.000 0.000 4.014 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Chios + 486= + { + position= + { +1077.000 762.000 1077.000 765.000 1077.000 770.000 1076.000 765.000 1076.000 759.000 } + rotation= + { +0.000 0.000 0.000 0.000 -0.088 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Lesbos + 487= + { + position= + { +1073.000 792.000 1076.000 793.000 1052.000 810.000 1068.000 802.000 1069.486 791.577 } + rotation= + { +0.175 0.000 0.000 0.000 1.658 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Demetrias + 488= + { + position= + { +1004.500 773.500 997.000 771.000 990.000 771.000 997.000 768.000 1004.000 778.000 } + rotation= + { +0.000 0.000 0.000 0.000 4.799 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Thessalia + 489= + { + position= + { +995.500 785.000 992.000 791.000 987.500 798.000 992.000 791.000 998.000 801.000 } + rotation= + { +0.000 0.000 0.000 0.000 4.538 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Thessalonike + 490= + { + position= + { +990.500 817.000 987.000 826.000 1007.000 821.000 994.000 821.000 993.000 812.000 } + rotation= + { +0.262 0.000 0.000 0.000 4.712 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Chalkidike + 491= + { + position= + { +1013.500 836.500 1006.500 838.000 997.000 840.000 1005.000 835.000 1016.000 834.000 } + rotation= + { +0.262 0.000 0.000 0.000 5.324 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Strymon + 492= + { + position= + { +985.500 855.000 987.000 862.000 1002.500 854.000 986.000 859.000 991.000 864.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Philippopolis + 493= + { + position= + { +1035.000 844.000 1031.000 856.000 1040.000 864.000 1031.000 856.000 1045.000 846.000 } + rotation= + { +0.000 0.000 0.000 0.000 -0.262 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Adrianopolis + 494= + { + position= + { +1068.000 863.000 1065.000 874.000 1063.000 855.000 1063.000 864.000 1065.000 843.000 } + rotation= + { +1.047 0.000 0.000 0.000 0.785 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Kaliopolis + 495= + { + position= + { +1087.000 844.000 1086.000 855.000 1079.000 848.500 1083.000 850.000 1092.500 851.000 } + rotation= + { +0.175 0.000 0.000 0.000 5.148 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Constantinople + 496= + { + position= + { +1116.000 865.000 1105.500 865.000 1117.500 867.000 1115.000 864.000 1118.500 861.000 } + rotation= + { +0.000 0.000 0.000 0.000 -0.175 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Thrake + 497= + { + position= + { +1095.000 872.500 1086.000 874.000 1089.000 884.000 1087.000 877.000 1101.000 883.000 } + rotation= + { +0.087 0.000 0.000 0.000 4.538 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Mesembria + 498= + { + position= + { +1078.000 894.000 1074.000 904.000 1075.000 914.000 1074.000 904.000 1091.000 908.000 } + rotation= + { +0.000 0.000 0.000 0.000 4.799 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Moesia + 499= + { + position= + { +1037.000 895.000 1034.000 887.000 1018.500 891.000 1031.000 887.000 1036.000 892.000 } + rotation= + { +0.873 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Serdica + 500= + { + position= + { +992.000 881.500 996.000 887.000 988.000 896.000 995.000 886.000 1000.000 891.000 } + rotation= + { +0.262 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Naissos + 501= + { + position= + { +959.000 889.500 965.000 890.000 968.000 904.000 965.000 893.000 970.000 898.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Rascia + 502= + { + position= + { +937.500 885.000 941.000 889.000 945.000 900.000 941.000 889.000 946.000 894.000 } + rotation= + { +0.175 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Hum + 503= + { + position= + { +917.500 901.000 911.000 907.000 896.000 906.000 912.000 908.000 917.000 913.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Rama + 504= + { + position= + { +901.000 936.000 892.000 940.000 885.000 927.000 892.000 932.000 897.000 937.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Singidounon + 505= + { + position= + { +928.000 943.000 926.000 932.000 938.000 942.000 928.000 944.000 933.000 949.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Bononia + 506= + { + position= + { +958.000 922.000 960.000 931.000 958.000 942.000 962.000 931.000 967.000 936.000 } + rotation= + { +0.436 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Nikopolis + 507= + { + position= + { +1016.500 907.500 1008.000 912.000 1028.000 915.000 1006.000 913.000 1011.000 918.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Dorostotum + 508= + { + position= + { +1049.000 921.500 1050.000 914.000 1050.000 905.000 1050.000 914.000 1055.000 919.000 } + rotation= + { +0.698 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Krounoi + 509= + { + position= + { +1089.500 927.000 1080.000 934.000 1093.000 939.000 1076.000 936.000 1095.000 928.000 } + rotation= + { +0.000 0.000 0.000 0.000 5.847 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Constantia + 510= + { + position= + { +1099.500 964.000 1096.000 972.000 1092.000 958.000 1080.000 964.000 1121.000 986.500 } + rotation= + { +0.087 0.000 0.000 0.000 4.713 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Galaz + 511= + { + position= + { +1095.000 994.000 1094.000 1004.000 1083.000 1005.000 1089.000 994.000 1124.000 998.500 } + rotation= + { +0.699 0.000 0.000 0.000 5.061 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Belgorod + 512= + { + position= + { +1098.000 1020.000 1101.000 1029.000 1103.000 1040.000 1099.000 1024.000 1133.000 1017.000 } + rotation= + { +0.349 0.000 0.000 0.000 5.236 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Birlad + 513= + { + position= + { +1053.000 998.000 1061.000 1010.000 1058.500 1026.500 1049.000 1013.000 1054.000 1018.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Turnu + 514= + { + position= + { +1053.000 948.000 1044.000 953.000 1059.000 970.000 1033.000 948.000 1038.000 953.000 } + rotation= + { +1.135 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Tirgoviste + 515= + { + position= + { +1016.000 969.000 1004.000 975.000 1015.000 986.000 1014.000 974.000 1019.000 979.000 } + rotation= + { +1.047 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Severin + 516= + { + position= + { +989.500 943.000 986.000 953.000 973.500 963.000 984.000 951.000 989.000 956.000 } + rotation= + { +-0.087 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Temes + 517= + { + position= + { +932.000 963.000 941.000 977.000 949.000 987.000 958.000 982.000 963.000 987.000 } + rotation= + { +0.262 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Bacs + 518= + { + position= + { +906.000 976.000 918.500 976.000 919.500 990.500 927.000 985.000 932.000 990.000 } + rotation= + { +0.349 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Feher + 519= + { + position= + { +978.000 1014.000 986.500 1020.500 998.500 1014.000 998.000 997.000 1003.000 1002.000 } + rotation= + { +0.524 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Bihar + 520= + { + position= + { +970.000 1054.000 983.000 1047.000 965.000 1029.000 977.000 1025.000 982.000 1030.000 } + rotation= + { +0.087 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Csanad + 521= + { + position= + { +928.000 1008.000 931.000 1015.000 943.000 1021.000 940.000 1019.000 945.000 1024.000 } + rotation= + { +0.262 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Pest + 522= + { + position= + { +912.500 1032.500 925.000 1038.500 934.500 1048.000 926.000 1041.000 931.000 1046.000 } + rotation= + { +0.349 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Heves + 523= + { + position= + { +932.000 1069.000 949.000 1066.500 938.000 1079.000 958.000 1066.000 963.000 1071.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Gömör + 524= + { + position= + { +922.500 1085.500 920.000 1094.000 936.500 1099.000 921.000 1094.000 926.000 1099.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Árva + 525= + { + position= + { +931.000 1114.000 919.000 1119.000 908.000 1116.000 919.000 1119.000 924.000 1124.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Cieszyn + 526= + { + position= + { +895.000 1154.000 887.000 1160.000 873.000 1164.000 898.000 1139.000 903.000 1144.000 } + rotation= + { +0.524 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Krakow + 527= + { + position= + { +909.000 1164.500 912.000 1173.000 898.500 1178.000 903.000 1170.000 908.000 1175.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Sieradzko-Leczyckie + 528= + { + position= + { +900.000 1198.000 907.000 1202.000 896.000 1216.000 917.000 1205.000 922.000 1210.000 } + rotation= + { +0.785 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Plock + 529= + { + position= + { +925.500 1225.000 922.000 1238.000 940.000 1237.000 931.000 1243.000 936.000 1248.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Czersk + 530= + { + position= + { +948.500 1197.000 936.000 1195.000 956.000 1210.000 978.000 1220.000 983.000 1225.000 } + rotation= + { +0.524 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Sandomierz + 531= + { + position= + { +965.000 1180.000 957.000 1183.000 972.000 1190.000 956.000 1183.000 961.000 1188.000 } + rotation= + { +0.698 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Sacz + 532= + { + position= + { +945.000 1140.500 942.000 1148.000 925.000 1145.000 942.000 1148.000 947.000 1153.000 } + rotation= + { +0.262 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Spis + 533= + { + position= + { +947.000 1114.000 960.000 1110.000 954.500 1119.500 962.000 1118.000 967.000 1123.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Peremyshl + 534= + { + position= + { +996.000 1141.000 983.000 1135.000 972.000 1146.000 982.000 1147.000 987.000 1152.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Vladimir Volynsky + 535= + { + position= + { +1000.000 1152.000 996.000 1160.000 983.000 1165.000 992.000 1174.000 997.000 1179.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Galich + 536= + { + position= + { +1032.000 1128.000 1024.000 1131.000 1014.000 1114.000 1014.000 1129.000 1019.000 1134.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Bereg + 537= + { + position= + { +978.500 1091.000 976.000 1099.500 988.500 1090.500 992.000 1098.000 997.000 1103.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Abauj + 538= + { + position= + { +950.500 1092.500 963.500 1090.000 957.000 1098.000 963.000 1092.000 978.000 1090.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Marmaros + 539= + { + position= + { +992.000 1071.000 1001.000 1064.000 1001.500 1077.500 1017.000 1066.000 1022.000 1071.000 } + rotation= + { +0.349 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Szekelyföld + 540= + { + position= + { +1018.000 1027.000 1025.000 1020.500 1006.500 1037.500 1013.000 1029.000 1018.000 1034.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Peresechen + 541= + { + position= + { +1096.000 1057.500 1092.000 1071.500 1117.000 1069.000 1064.000 1055.000 1069.000 1060.000 } + rotation= + { +0.524 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Olvia + 542= + { + position= + { +1133.000 1039.000 1131.000 1052.000 1144.500 1037.000 1117.000 1042.000 1140.000 1027.500 } + rotation= + { +0.436 0.000 0.000 0.000 -0.262 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Oleshye + 543= + { + position= + { +1159.500 1055.000 1175.000 1076.000 1159.000 1083.000 1138.000 1069.000 1157.500 1033.500 } + rotation= + { +0.087 0.000 0.000 0.000 0.262 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Korsun + 544= + { + position= + { +1130.000 1097.000 1142.000 1113.000 1114.000 1098.000 1082.000 1092.000 1087.000 1097.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Torki + 545= + { + position= + { +1056.500 1057.000 1050.000 1068.000 1047.500 1045.000 1047.000 1083.000 1052.000 1088.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Terebovl + 546= + { + position= + { +1049.480 1091.988 1056.000 1106.000 1077.000 1095.000 1050.000 1110.000 1055.000 1115.000 } + rotation= + { +0.960 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Kiev + 547= + { + position= + { +1115.000 1145.000 1099.000 1156.000 1093.000 1127.000 1044.000 1135.000 1049.000 1140.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Pinsk + 548= + { + position= + { +1021.000 1199.000 1031.000 1219.500 1035.500 1201.000 1035.000 1211.000 1040.000 1216.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Beresty + 549= + { + position= + { +1005.000 1171.500 1001.000 1183.000 1012.000 1178.000 1010.000 1217.000 1015.000 1222.000 } + rotation= + { +-0.698 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Minsk + 550= + { + position= + { +1048.000 1237.000 1064.000 1248.000 1080.000 1235.000 1059.000 1255.000 1064.000 1260.000 } + rotation= + { +0.611 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Mstislavl + 551= + { + position= + { +1125.000 1255.000 1118.000 1268.000 1111.000 1253.000 1098.000 1252.000 1103.000 1257.000 } + rotation= + { +0.087 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Turov + 552= + { + position= + { +1072.000 1196.000 1055.000 1190.000 1044.000 1168.000 1064.000 1190.000 1069.000 1195.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Lyubech + 553= + { + position= + { +1124.000 1223.000 1114.000 1220.000 1126.000 1228.000 1098.000 1201.000 1103.000 1206.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Chernigov + 554= + { + position= + { +1159.000 1200.000 1148.000 1209.000 1168.000 1225.000 1103.000 1160.000 1108.000 1165.000 } + rotation= + { +0.175 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Pereyaslavl + 555= + { + position= + { +1184.000 1145.000 1163.000 1152.000 1199.000 1158.000 1114.000 1124.000 1119.000 1129.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Chortitza + 556= + { + position= + { +1210.500 1105.000 1216.000 1119.000 1200.000 1128.000 1180.000 1108.000 1185.000 1113.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Lukomorie + 557= + { + position= + { +1224.000 1064.500 1230.000 1074.000 1230.000 1082.000 1220.000 1074.000 1241.000 1050.000 } + rotation= + { +0.000 0.000 0.000 0.000 -0.785 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Lower Dniepr + 558= + { + position= + { +1194.500 1034.500 1193.000 1043.000 1214.000 1043.000 1186.000 1045.000 1161.000 1018.500 } + rotation= + { +0.087 0.000 0.000 0.000 0.524 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Crimea + 559= + { + position= + { +1196.500 997.000 1196.000 1008.000 1211.000 1013.500 1190.000 1015.000 1172.500 997.500 } + rotation= + { +0.524 0.000 0.000 0.000 0.960 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Cherson + 560= + { + position= + { +1206.500 978.500 1206.000 988.000 1213.000 987.000 1198.000 989.000 1197.500 978.500 } + rotation= + { +1.134 0.000 0.000 0.000 0.960 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Theodosia + 561= + { + position= + { +1221.000 996.000 1219.000 1001.000 1228.500 1001.000 1220.000 998.000 1227.500 993.000 } + rotation= + { +-0.175 0.000 0.000 0.000 -0.611 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Korchev + 562= + { + position= + { +1241.500 1004.000 1245.000 1010.000 1250.000 1012.000 1233.000 1013.000 1251.500 1002.000 } + rotation= + { +0.000 0.000 0.000 0.000 -0.437 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Lower Don + 563= + { + position= + { +1251.000 1092.000 1262.000 1097.000 1269.000 1085.000 1259.000 1094.000 1266.000 1069.500 } + rotation= + { +0.262 0.000 0.000 0.000 -0.087 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Desht-i-Kipchak + 564= + { + position= + { +1287.000 1120.000 1288.000 1133.000 1305.000 1136.000 1245.000 1140.000 1250.000 1145.000 } + rotation= + { +0.698 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Sharukan + 565= + { + position= + { +1250.000 1140.500 1254.000 1150.000 1239.000 1167.000 1181.000 1166.000 1186.000 1171.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Sugrov + 566= + { + position= + { +1279.000 1198.000 1268.000 1185.500 1267.000 1203.000 1258.000 1181.000 1263.000 1186.000 } + rotation= + { +0.087 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Novgorod Seversky + 567= + { + position= + { +1199.000 1212.000 1207.000 1224.000 1183.000 1193.000 1182.000 1220.000 1187.000 1225.000 } + rotation= + { +-0.960 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Smolensk + 568= + { + position= + { +1152.000 1296.000 1152.000 1302.000 1162.000 1303.000 1116.000 1291.000 1121.000 1296.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Vyazma + 569= + { + position= + { +1190.000 1307.000 1202.633 1318.178 1223.000 1308.000 1133.000 1356.000 1138.000 1361.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Tver + 570= + { + position= + { +1238.000 1351.000 1235.135 1358.347 1259.000 1364.000 1259.000 1365.000 1145.000 1412.000 } + rotation= + { +0.262 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Uglich + 571= + { + position= + { +1249.000 1388.000 1256.500 1390.500 1270.000 1379.000 1172.000 1416.000 1177.000 1421.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Yaroslavl + 572= + { + position= + { +1274.000 1398.000 1279.000 1402.000 1257.500 1408.000 1210.000 1404.000 1215.000 1409.000 } + rotation= + { +0.087 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Pereyaslavl Zalessky + 573= + { + position= + { +1289.000 1346.500 1289.000 1354.000 1301.000 1344.500 1169.000 1364.000 1174.000 1369.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Rostov + 574= + { + position= + { +1298.000 1368.500 1297.500 1379.000 1285.500 1372.000 1207.000 1359.000 1212.000 1364.000 } + rotation= + { +0.087 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Moskva + 575= + { + position= + { +1280.000 1326.000 1277.000 1336.000 1262.000 1341.000 1176.000 1317.000 1181.000 1322.000 } + rotation= + { +0.262 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Bryansk + 576= + { + position= + { +1246.000 1236.000 1247.000 1248.000 1222.000 1267.000 1164.000 1269.000 1169.000 1274.000 } + rotation= + { +0.262 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Pronsk + 577= + { + position= + { +1303.000 1247.000 1301.000 1258.000 1287.000 1259.000 1200.000 1246.000 1205.000 1251.000 } + rotation= + { +0.087 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Kolomna + 578= + { + position= + { +1281.000 1286.000 1281.000 1291.000 1295.000 1299.000 1218.000 1285.000 1223.000 1290.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Mordva + 579= + { + position= + { +1345.000 1253.000 1345.000 1266.000 1361.000 1280.000 1273.000 1235.000 1278.000 1240.000 } + rotation= + { +0.262 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Ryazan + 580= + { + position= + { +1304.000 1282.500 1314.289 1283.110 1314.000 1273.000 1272.000 1282.000 1277.000 1287.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Murom + 581= + { + position= + { +1322.500 1302.000 1326.000 1314.000 1340.000 1317.000 1257.000 1316.000 1262.000 1321.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Vladimir + 582= + { + position= + { +1333.000 1334.000 1332.500 1345.000 1320.000 1343.000 1230.000 1326.000 1235.000 1331.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Suzdal + 583= + { + position= + { +1334.000 1376.000 1338.500 1368.000 1318.000 1363.500 1320.000 1362.000 1250.000 1378.000 } + rotation= + { +1.047 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Nizhny Novgorod + 584= + { + position= + { +1362.000 1343.000 1358.000 1351.000 1359.000 1335.000 1290.000 1335.000 1295.000 1340.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Gorodez + 585= + { + position= + { +1375.000 1387.000 1363.000 1381.000 1371.000 1371.000 1280.000 1383.000 1285.000 1388.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Galich Mersky + 586= + { + position= + { +1354.000 1397.000 1356.000 1425.000 1363.000 1442.000 1310.000 1420.000 1315.000 1425.000 } + rotation= + { +0.087 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Mozhaysk + 587= + { + position= + { +1251.000 1314.000 1253.500 1322.000 1265.500 1316.000 1357.000 1412.000 1362.000 1417.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Mari + 588= + { + position= + { +1401.000 1413.000 1397.000 1426.000 1384.000 1435.000 1324.000 1360.000 1329.000 1365.000 } + rotation= + { +0.175 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Kerzhenets + 589= + { + position= + { +1450.000 1430.000 1456.000 1437.000 1426.000 1434.000 1369.000 1360.000 1374.000 1365.000 } + rotation= + { +0.087 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Chuvash + 590= + { + position= + { +1436.000 1392.000 1424.000 1382.000 1446.000 1368.000 1331.000 1313.000 1336.000 1318.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Cheremisa + 591= + { + position= + { +1392.000 1336.000 1404.000 1319.000 1431.000 1330.000 1363.000 1289.000 1368.000 1294.000 } + rotation= + { +0.087 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Burtasy + 592= + { + position= + { +1437.000 1244.000 1416.000 1244.000 1437.000 1279.000 1330.000 1256.000 1335.000 1261.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Khopyor + 593= + { + position= + { +1334.000 1197.000 1324.000 1200.000 1351.000 1197.000 1314.000 1213.000 1319.000 1218.000 } + rotation= + { +0.087 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Sarkel + 594= + { + position= + { +1376.000 1124.000 1365.000 1142.000 1381.000 1153.000 1309.000 1145.000 1314.000 1150.000 } + rotation= + { +0.087 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Don-Portage + 595= + { + position= + { +1418.000 1171.000 1408.000 1182.000 1433.000 1203.000 1347.000 1147.000 1352.000 1152.000 } + rotation= + { +0.087 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Tana + 596= + { + position= + { +1306.000 1084.000 1314.000 1090.000 1329.000 1106.000 1311.000 1091.000 1284.000 1078.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.262 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Azov + 597= + { + position= + { +1284.500 1053.500 1289.000 1062.000 1299.500 1063.500 1278.500 1062.000 1268.500 1056.500 } + rotation= + { +0.000 0.000 0.000 0.000 1.570 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Tmutarakan + 598= + { + position= + { +1285.000 1004.000 1290.000 1016.000 1282.000 1026.000 1273.000 1023.000 1270.500 1006.000 } + rotation= + { +0.698 0.000 0.000 0.000 0.523 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Kuban + 599= + { + position= + { +1313.000 1049.000 1310.000 1042.000 1329.000 1064.000 1309.000 1039.000 1315.000 1049.000 } + rotation= + { +0.175 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Abkhazia + 600= + { + position= + { +1326.500 989.000 1339.000 988.000 1355.000 982.000 1324.000 1000.000 1322.000 986.500 } + rotation= + { +0.436 0.000 0.000 0.000 0.436 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Imeretia + 601= + { + position= + { +1373.000 978.000 1393.000 978.000 1380.000 984.000 1377.000 982.000 1362.500 969.000 } + rotation= + { +-1.309 0.000 0.000 0.000 0.873 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Kasogia + 602= + { + position= + { +1346.000 1026.000 1342.000 1018.000 1321.000 1023.000 1356.000 1012.000 1361.000 1017.000 } + rotation= + { +0.611 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Alania + 603= + { + position= + { +1416.000 1024.000 1428.000 1022.000 1441.000 1023.000 1413.000 988.000 1418.000 993.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Kuma + 604= + { + position= + { +1495.000 1069.000 1485.000 1046.000 1476.000 1071.000 1462.000 999.000 1540.000 1063.000 } + rotation= + { +0.087 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Manych + 605= + { + position= + { +1414.000 1083.000 1451.000 1106.000 1438.000 1117.000 1409.000 1038.000 1486.000 1129.000 } + rotation= + { +0.000 0.000 0.000 0.000 1.571 } + height= + { +0.000 0.000 0.000 20.000 1.200 } + } +#Yegorlyk + 606= + { + position= + { +1376.000 1036.000 1404.000 1056.000 1374.000 1060.000 1358.000 1044.000 1363.000 1049.000 } + rotation= + { +0.087 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Sarpa + 607= + { + position= + { +1362.000 1091.000 1379.000 1098.000 1390.000 1122.000 1369.000 1082.000 1345.000 1087.000 } + rotation= + { +0.087 0.000 0.000 0.000 0.785 } + height= + { +0.000 0.000 0.000 20.000 1.000 } + } +#Lower Volga + 608= + { + position= + { +1509.000 1240.000 1498.000 1251.000 1485.000 1220.000 1447.000 1134.000 1484.000 1268.000 } + rotation= + { +0.087 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Syrt + 609= + { + position= + { +1562.000 1332.000 1503.000 1322.000 1484.000 1287.000 1540.000 1346.000 1401.000 1238.000 } + rotation= + { +0.087 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Bolghar + 610= + { + position= + { +1543.000 1375.000 1564.000 1373.000 1579.000 1373.000 1407.000 1310.000 1412.000 1315.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Qazan + 611= + { + position= + { +1515.000 1407.000 1526.000 1413.000 1488.000 1423.000 1410.000 1412.000 1415.000 1417.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Votyaki + 612= + { + position= + { +1562.000 1544.000 1587.000 1510.000 1559.000 1512.000 1470.000 1444.000 1475.000 1449.000 } + rotation= + { +0.436 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Bilyar + 613= + { + position= + { +1607.000 1393.000 1622.000 1377.000 1647.000 1353.000 1456.000 1354.000 1461.000 1359.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Ashli + 614= + { + position= + { +1515.000 1386.000 1495.000 1366.000 1523.000 1363.000 1505.000 1300.000 1510.000 1305.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Bashkiria + 615= + { + position= + { +1742.000 1377.000 1728.000 1373.000 1716.000 1360.000 1455.000 1251.000 1460.000 1256.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Pecheneg + 616= + { + position= + { +1590.000 1299.000 1576.000 1299.000 1620.000 1288.000 1511.000 1171.000 1516.000 1176.000 } + rotation= + { +0.349 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Uzen + 617= + { + position= + { +1559.000 1194.000 1546.000 1214.000 1577.000 1223.000 1435.000 1161.000 1440.000 1166.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Atyrau + 618= + { + position= + { +1672.000 1161.000 1634.000 1200.000 1648.000 1186.000 1551.000 1077.000 1649.000 1150.000 } + rotation= + { +0.000 0.000 0.000 0.000 -1.571 } + height= + { +0.000 0.000 0.000 20.000 0.950 } + } +#Saray + 619= + { + position= + { +1449.000 1160.000 1484.000 1174.000 1466.000 1183.000 1448.000 1087.000 1453.000 1092.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Itil + 620= + { + position= + { +1589.000 1116.000 1566.000 1147.000 1537.000 1124.000 1538.000 1121.000 1609.000 1125.000 } + rotation= + { +0.000 0.000 0.000 0.000 2.356 } + height= + { +0.000 0.000 0.000 20.000 0.200 } + } +#Kangly + 621= + { + position= + { +1707.000 1157.000 1750.000 1147.000 1734.000 1178.000 1672.000 1053.000 1725.000 1155.000 } + rotation= + { +0.436 0.000 0.000 0.000 -3.142 } + height= + { +0.000 0.000 0.000 20.000 3.900 } + } +#Turkestan + 622= + { + position= + { +1862.000 1229.000 1872.000 1233.000 1886.000 1246.000 1832.000 1089.000 1918.000 1231.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 1.600 } + } +#Aral + 623= + { + position= + { +1828.000 1088.000 1810.000 1113.000 1840.000 1107.000 1740.000 965.000 1745.000 970.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Mangyshlak + 624= + { + position= + { +1743.000 1093.000 1724.000 1078.000 1709.000 1046.000 1635.000 968.000 1672.000 1089.000 } + rotation= + { +0.087 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Usturt + 625= + { + position= + { +1772.000 1026.000 1783.000 1023.000 1819.000 1009.000 1676.000 912.000 1692.000 970.000 } + rotation= + { +0.000 0.000 0.000 0.000 1.571 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Khiva + 626= + { + position= + { +1945.000 980.000 1950.000 965.000 1921.000 971.000 1783.000 871.000 1964.000 962.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 1.950 } + } +#Kara-Kum + 627= + { + position= + { +1834.000 957.000 1838.000 933.000 1859.000 970.000 1702.000 845.000 1766.000 950.000 } + rotation= + { +0.000 0.000 0.000 0.000 2.356 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Bukhara + 628= + { + position= + { +2027.000 938.000 2038.000 938.000 2068.000 923.000 2015.000 911.000 2040.000 926.000 } + rotation= + { +0.698 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 1.700 } + } +#Konjikala + 629= + { + position= + { +1881.000 870.000 1897.000 874.000 1904.000 892.000 1721.000 797.000 1726.000 802.000 } + rotation= + { +0.087 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Merv + 630= + { + position= + { +1983.000 862.000 1995.000 875.000 2010.000 864.000 1735.000 748.000 1740.000 753.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Dihistan + 631= + { + position= + { +1766.000 855.000 1777.000 875.000 1800.000 895.000 1689.000 760.000 1759.000 862.000 } + rotation= + { +0.000 0.000 0.000 0.000 -4.712 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Tus + 632= + { + position= + { +1922.000 826.000 1919.000 800.000 1930.000 824.000 1742.000 711.000 1747.000 716.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Gurgan + 633= + { + position= + { +1780.000 815.000 1791.000 823.000 1788.000 787.000 1688.000 716.000 1756.000 813.000 } + rotation= + { +1.047 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Nishapur + 634= + { + position= + { +1885.000 820.000 1854.000 829.000 1843.000 852.000 1686.000 690.000 1691.000 695.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Qohistan + 635= + { + position= + { +1849.000 756.000 1853.000 742.000 1849.000 724.000 1730.000 669.000 1857.000 734.000 } + rotation= + { +0.000 0.000 0.000 0.000 1.571 } + height= + { +0.000 0.000 0.000 4.000 7.300 } + } +#Lut + 636= + { + position= + { +1790.000 725.000 1787.000 736.000 1812.000 734.000 1695.000 647.000 1770.000 708.000 } + rotation= + { +0.000 0.000 0.000 0.000 -2.356 } + height= + { +0.000 0.000 0.000 20.000 7.400 } + } +#Sistan + 637= + { + position= + { +1962.000 494.000 1961.000 512.000 1935.000 506.000 1752.000 593.000 1757.000 598.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Yazd + 638= + { + position= + { +1803.000 641.000 1794.000 658.000 1780.000 642.000 1700.000 597.000 1705.000 602.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Kerman + 639= + { + position= + { +1879.000 631.000 1851.000 609.000 1886.000 626.000 1754.000 540.000 1759.000 545.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Sirjan + 640= + { + position= + { +1821.000 560.000 1824.000 572.000 1808.000 547.000 1714.000 528.000 1719.000 533.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Hormuz + 641= + { + position= + { +1904.000 481.000 1888.000 476.000 1877.000 480.000 1772.000 486.000 1906.000 470.000 } + rotation= + { +0.349 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Larestan + 642= + { + position= + { +1810.000 480.000 1824.000 478.000 1828.000 499.000 1720.000 473.000 1795.000 472.000 } + rotation= + { +0.349 0.000 0.000 0.000 0.785 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Fars + 643= + { + position= + { +1740.000 521.000 1745.000 532.000 1728.000 548.000 1666.000 514.000 1731.000 515.000 } + rotation= + { +0.349 0.000 0.000 0.000 0.785 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Shiraz + 644= + { + position= + { +1749.000 594.000 1742.000 597.000 1764.000 591.000 1661.000 562.000 1666.000 567.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Hendjan + 645= + { + position= + { +1687.000 586.000 1696.000 580.000 1705.000 594.000 1622.000 548.000 1693.000 571.000 } + rotation= + { +0.785 0.000 0.000 0.000 0.785 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Esfahan + 646= + { + position= + { +1744.000 650.000 1735.000 650.000 1756.000 649.000 1657.000 606.000 1729.000 663.000 } + rotation= + { +0.175 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 14.050 } + } +#Ahvaz + 647= + { + position= + { +1682.000 625.000 1673.000 626.000 1697.000 647.000 1613.000 586.000 1651.000 629.000 } + rotation= + { +0.000 0.000 0.000 0.000 1.396 } + height= + { +0.000 0.000 0.000 20.000 1.600 } + } +#Khozistan + 648= + { + position= + { +1652.000 588.000 1650.000 597.000 1656.000 610.000 1585.000 556.000 1662.000 577.000 } + rotation= + { +0.000 0.000 0.000 0.000 -0.349 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Basra + 649= + { + position= + { +1634.000 563.000 1628.000 569.000 1637.000 572.000 1565.000 527.000 1641.000 566.000 } + rotation= + { +0.000 0.000 0.000 0.000 5.498 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Kuwait + 650= + { + position= + { +1628.000 517.000 1636.000 523.000 1630.000 540.000 1571.000 484.000 1649.000 544.000 } + rotation= + { +0.524 0.000 0.000 0.000 4.451 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Damman + 651= + { + position= + { +1668.000 494.000 1658.000 497.000 1665.000 508.000 1603.000 450.000 1673.000 509.000 } + rotation= + { +0.000 0.000 0.000 0.000 3.927 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Al Hasa + 652= + { + position= + { +1698.000 448.000 1685.000 430.000 1668.000 461.000 1623.000 403.000 1711.000 465.000 } + rotation= + { +0.000 0.000 0.000 0.000 4.101 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Bahrein + 653= + { + position= + { +1720.000 450.000 1724.000 447.000 1727.000 450.000 1649.000 430.000 1726.000 455.000 } + rotation= + { +0.349 0.000 0.000 0.000 3.491 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Rummah + 654= + { + position= + { +1599.000 532.000 1589.000 538.000 1605.000 547.000 1538.000 498.000 1543.000 503.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Kufa + 655= + { + position= + { +1609.000 579.000 1599.000 573.000 1598.000 591.000 1542.000 542.000 1613.000 593.000 } + rotation= + { +0.000 0.000 0.000 0.000 2.356 } + height= + { +0.000 0.000 0.000 20.000 1.650 } + } +#Tigris + 656= + { + position= + { +1614.000 613.000 1622.000 615.000 1619.000 629.000 1554.000 577.000 1559.000 582.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Luristan + 657= + { + position= + { +1635.000 652.000 1639.000 662.000 1621.000 661.000 1566.000 621.000 1622.000 643.000 } + rotation= + { +-0.436 0.000 0.000 0.000 1.134 } + height= + { +0.000 0.000 0.000 20.000 1.950 } + } +#Hamadan + 658= + { + position= + { +1679.000 695.000 1663.000 691.000 1676.000 672.000 1594.000 636.000 1599.000 641.000 } + rotation= + { +0.087 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Qom + 659= + { + position= + { +1724.000 693.000 1720.000 682.000 1703.000 713.000 1715.000 689.000 1633.000 637.000 } + rotation= + { +0.000 0.000 0.000 1.135 0.000 } + height= + { +0.000 0.000 0.000 1.950 0.000 } + } +#Qwivir + 660= + { + position= + { +1729.000 725.000 1745.000 728.000 1747.000 742.000 1647.000 664.000 1652.000 669.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Tabaristan + 661= + { + position= + { +1722.000 793.000 1713.000 784.000 1736.000 790.000 1642.000 703.000 1706.000 797.000 } + rotation= + { +-1.484 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Mazandaran + 662= + { + position= + { +1641.000 803.000 1650.000 778.000 1669.000 768.000 1587.000 715.000 1652.000 812.000 } + rotation= + { +0.436 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Rayy + 663= + { + position= + { +1677.000 733.000 1670.000 734.000 1688.000 744.000 1596.000 679.000 1601.000 684.000 } + rotation= + { +0.087 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Qazwin + 664= + { + position= + { +1617.000 715.000 1626.000 719.000 1631.000 738.000 1556.000 671.000 1561.000 676.000 } + rotation= + { +0.611 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Dailam + 665= + { + position= + { +1604.000 754.000 1612.000 753.000 1601.000 771.000 1549.000 704.000 1554.000 709.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Gilan + 666= + { + position= + { +1587.000 803.000 1593.000 810.000 1588.000 784.000 1537.000 746.000 1610.000 827.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Tabriz + 667= + { + position= + { +1551.000 823.000 1560.000 832.000 1574.000 845.000 1513.000 766.000 1518.000 771.000 } + rotation= + { +0.087 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Shirvan + 668= + { + position= + { +1615.000 870.000 1609.000 883.000 1621.000 907.000 1545.000 811.000 1617.000 883.000 } + rotation= + { +0.262 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Shemakha + 669= + { + position= + { +1594.000 912.000 1570.000 915.000 1584.000 902.000 1514.000 859.000 1605.000 933.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Azerbaijan + 670= + { + position= + { +1565.000 879.000 1556.000 879.000 1549.000 867.000 1490.000 792.000 1495.000 797.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Syunik + 671= + { + position= + { +1524.000 855.000 1519.000 861.000 1511.000 877.000 1484.000 835.000 1489.000 840.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Dwin + 672= + { + position= + { +1509.000 862.000 1494.000 874.000 1478.000 874.000 1444.000 886.000 1449.000 891.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Albania + 673= + { + position= + { +1500.000 936.000 1512.000 935.000 1547.000 928.000 1476.000 897.000 1481.000 902.000 } + rotation= + { +0.611 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Derbent + 674= + { + position= + { +1570.000 961.000 1560.000 968.000 1546.000 987.000 1481.000 919.000 1559.000 979.000 } + rotation= + { +0.349 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Semender + 675= + { + position= + { +1522.000 1001.000 1502.000 1014.000 1539.000 1008.000 1465.000 954.000 1553.000 1016.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Kakheti + 676= + { + position= + { +1446.000 963.000 1436.000 964.000 1424.000 962.000 1414.000 954.000 1419.000 959.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Guria + 677= + { + position= + { +1388.000 943.000 1391.500 948.500 1388.000 961.000 1383.000 948.000 1385.000 948.500 } + rotation= + { +2.968 0.000 0.000 0.000 1.221 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Trapezous + 678= + { + position= + { +1344.000 907.000 1356.000 905.000 1336.000 904.000 1358.000 914.000 1369.500 921.000 } + rotation= + { +0.175 0.000 0.000 0.000 2.356 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Kartli + 679= + { + position= + { +1458.000 954.000 1467.000 943.000 1476.000 936.000 1432.000 927.000 1437.000 932.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Tao + 680= + { + position= + { +1404.000 906.000 1417.000 911.000 1433.000 917.000 1406.000 914.000 1411.000 919.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Ani + 681= + { + position= + { +1429.000 890.000 1444.000 889.000 1459.000 880.000 1400.000 882.000 1405.000 887.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Vaspurakan + 682= + { + position= + { +1466.000 849.000 1450.000 840.000 1448.000 858.000 1435.000 839.000 1440.000 844.000 } + rotation= + { +0.175 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Amida + 683= + { + position= + { +1442.000 813.000 1433.000 822.000 1426.000 804.000 1418.000 803.000 1423.000 808.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Nisibin + 684= + { + position= + { +1467.000 798.000 1462.000 792.000 1445.000 794.000 1439.000 782.000 1444.000 787.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Kurdistan + 685= + { + position= + { +1497.000 778.000 1501.000 779.000 1475.000 774.000 1463.000 754.000 1468.000 759.000 } + rotation= + { +0.436 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Oromieh + 686= + { + position= + { +1542.000 757.000 1552.000 758.000 1554.000 778.000 1500.000 721.000 1505.000 726.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Kirkuk + 687= + { + position= + { +1554.000 705.000 1574.000 713.000 1552.000 725.000 1510.000 673.000 1515.000 678.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Kermanshah + 688= + { + position= + { +1601.000 678.000 1588.000 674.000 1592.000 695.000 1532.000 638.000 1537.000 643.000 } + rotation= + { +-0.175 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Ilam + 689= + { + position= + { +1600.000 637.000 1590.000 634.000 1596.000 654.000 1534.000 602.000 1594.000 646.000 } + rotation= + { +0.000 0.000 0.000 0.000 2.705 } + height= + { +0.000 0.000 0.000 20.000 1.650 } + } +#Al Amarah + 690= + { + position= + { +1555.000 613.000 1563.000 625.000 1580.000 609.000 1508.000 583.000 1566.000 614.000 } + rotation= + { +-0.087 0.000 0.000 0.000 2.880 } + height= + { +0.000 0.000 0.000 20.000 1.400 } + } +#Al Nasiryah + 691= + { + position= + { +1551.000 582.000 1561.000 581.000 1558.000 593.000 1506.000 554.000 1511.000 559.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Al Nadjaf + 692= + { + position= + { +1507.000 597.000 1501.000 599.000 1504.000 615.000 1461.000 576.000 1466.000 581.000 } + rotation= + { +0.524 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Baghdad + 693= + { + position= + { +1531.000 653.000 1540.000 655.000 1532.000 672.000 1488.000 627.000 1537.000 645.000 } + rotation= + { +-1.571 0.000 0.000 0.000 1.571 } + height= + { +0.000 0.000 0.000 20.000 1.350 } + } +#Karbala + 694= + { + position= + { +1486.000 637.000 1475.000 639.000 1488.000 658.000 1442.000 620.000 1447.000 625.000 } + rotation= + { +0.349 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Deir + 695= + { + position= + { +1482.000 684.000 1492.000 687.000 1518.000 700.000 1448.000 661.000 1476.000 691.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.785 } + height= + { +0.000 0.000 0.000 20.000 2.000 } + } +#Samarra + 696= + { + position= + { +1483.000 714.000 1506.000 716.000 1523.000 717.000 1465.000 688.000 1470.000 693.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Mosul + 697= + { + position= + { +1481.000 736.000 1496.000 742.000 1504.000 758.000 1452.000 717.000 1457.000 722.000 } + rotation= + { +0.436 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Al Jazira + 698= + { + position= + { +1428.000 755.000 1413.000 759.000 1443.000 768.000 1403.000 747.000 1408.000 752.000 } + rotation= + { +0.087 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Edessa + 699= + { + position= + { +1359.000 784.000 1369.000 790.000 1384.000 789.000 1362.000 792.000 1367.000 797.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Bira + 700= + { + position= + { +1422.000 790.000 1413.000 784.000 1404.000 788.000 1397.000 775.000 1402.000 780.000 } + rotation= + { +0.785 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Taron + 701= + { + position= + { +1400.000 810.000 1397.000 822.000 1411.000 823.000 1388.000 810.000 1393.000 815.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Khliat + 702= + { + position= + { +1378.000 851.000 1373.000 838.000 1371.000 828.000 1369.000 832.000 1374.000 837.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Karin + 703= + { + position= + { +1373.000 873.000 1370.000 872.000 1381.000 876.000 1378.000 860.000 1383.000 865.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Theodosiopolis + 704= + { + position= + { +1353.500 882.000 1358.000 891.000 1368.500 888.000 1359.000 890.000 1364.000 895.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Chaldea + 705= + { + position= + { +1316.000 879.000 1308.500 885.500 1325.500 882.000 1313.000 888.000 1304.500 902.500 } + rotation= + { +0.000 0.000 0.000 0.000 2.182 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Koloneia + 706= + { + position= + { +1333.000 848.000 1324.000 857.000 1340.000 859.000 1325.000 857.000 1330.000 862.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Melitene + 707= + { + position= + { +1336.000 817.000 1332.000 824.000 1317.000 829.000 1330.000 822.000 1335.000 827.000 } + rotation= + { +0.175 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Tell Bashir + 708= + { + position= + { +1355.000 765.500 1361.000 770.000 1373.500 770.000 1359.000 769.000 1364.000 774.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Asas + 709= + { + position= + { +1361.000 743.500 1367.000 752.000 1375.000 758.000 1361.000 746.000 1374.000 744.000 } + rotation= + { +-0.087 0.000 0.000 0.000 4.712 } + height= + { +0.000 0.000 0.000 20.000 4.600 } + } +#Al Bichri + 710= + { + position= + { +1397.000 736.000 1405.000 747.000 1394.000 746.000 1384.000 728.000 1406.000 740.000 } + rotation= + { +0.000 0.000 0.000 0.000 1.571 } + height= + { +0.000 0.000 0.000 20.000 3.100 } + } +#Sinjar + 711= + { + position= + { +1447.000 725.000 1440.000 725.000 1448.000 739.000 1416.000 711.000 1421.000 716.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Suwaida + 712= + { + position= + { +1436.000 694.000 1442.000 699.000 1436.000 711.000 1426.000 688.000 1445.000 708.000 } + rotation= + { +0.000 0.000 0.000 0.000 3.142 } + height= + { +0.000 0.000 0.000 20.000 2.200 } + } +#Druz + 713= + { + position= + { +1410.000 666.000 1419.000 668.000 1417.000 684.000 1393.000 655.000 1398.000 660.000 } + rotation= + { +1.222 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Az Zarqa + 714= + { + position= + { +1394.000 632.000 1405.000 632.000 1431.000 644.000 1389.000 623.000 1394.000 628.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Al Habbariyah + 715= + { + position= + { +1437.000 593.000 1446.000 599.000 1434.000 612.000 1410.000 582.000 1415.000 587.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Shaka + 716= + { + position= + { +1403.000 554.000 1420.000 551.000 1400.000 537.000 1387.000 539.000 1392.000 544.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Al Jawf + 717= + { + position= + { +1356.000 497.000 1359.000 511.000 1383.000 526.000 1354.000 500.000 1359.000 505.000 } + rotation= + { +0.524 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Medina + 718= + { + position= + { +1348.500 382.000 1379.000 396.000 1421.000 395.000 1379.000 397.000 1330.000 388.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Mecca + 719= + { + position= + { +1422.500 283.500 1437.500 318.500 1447.000 340.000 1431.000 319.000 1411.000 286.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Hijaz + 720= + { + position= + { +1305.500 441.000 1318.000 458.000 1320.000 477.000 1317.000 459.000 1287.000 449.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.785 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Tabuk + 721= + { + position= + { +1312.000 515.000 1317.500 513.000 1301.000 504.000 1310.000 508.000 1315.000 513.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Petra + 722= + { + position= + { +1275.500 537.000 1286.000 538.000 1287.000 551.000 1345.000 548.000 1350.000 553.000 } + rotation= + { +0.087 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Madaba + 723= + { + position= + { +1313.000 622.000 1320.000 619.000 1331.000 626.000 1363.000 591.000 1368.000 596.000 } + rotation= + { +0.087 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Amman + 724= + { + position= + { +1349.000 615.000 1361.000 612.000 1348.000 631.000 1341.000 624.000 1346.000 629.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Irbid + 725= + { + position= + { +1326.000 659.000 1336.000 660.000 1338.000 669.000 1337.000 650.000 1342.000 655.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Al Mafraq + 726= + { + position= + { +1367.000 673.000 1366.000 659.000 1378.000 677.000 1359.000 659.000 1364.000 664.000 } + rotation= + { +-0.437 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Bostra + 727= + { + position= + { +1397.000 693.000 1403.000 697.000 1393.000 706.000 1373.000 691.000 1383.000 690.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Damascus + 728= + { + position= + { +1363.000 690.000 1362.000 698.000 1374.000 695.000 1350.000 687.000 1355.000 692.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Al-Sukhnah + 729= + { + position= + { +1400.000 724.000 1408.000 720.000 1419.000 732.000 1388.000 709.000 1419.000 722.000 } + rotation= + { +0.698 0.000 0.000 0.000 2.356 } + height= + { +0.000 0.000 0.000 20.000 3.100 } + } +#Palmyra + 730= + { + position= + { +1371.000 717.000 1365.000 722.000 1374.000 728.000 1359.000 715.000 1364.000 720.000 } + rotation= + { +0.087 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Homs + 731= + { + position= + { +1347.000 711.000 1351.000 720.000 1345.000 728.000 1341.000 716.000 1346.000 721.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Hama + 732= + { + position= + { +1344.000 750.000 1345.000 740.000 1340.500 748.500 1341.000 743.000 1347.000 740.000 } + rotation= + { +0.000 0.000 0.000 0.000 -0.785 } + height= + { +0.000 0.000 0.000 20.000 3.050 } + } +#Aleppo + 733= + { + position= + { +1334.000 771.000 1330.000 769.000 1335.000 762.000 1327.000 761.000 1329.000 764.000 } + rotation= + { +0.000 0.000 0.000 0.000 -2.356 } + height= + { +0.000 0.000 0.000 20.000 4.850 } + } +#Aintab + 734= + { + position= + { +1333.500 784.000 1340.000 792.000 1346.000 804.000 1332.000 787.000 1337.000 792.000 } + rotation= + { +0.262 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Doliche + 735= + { + position= + { +1315.500 784.500 1316.000 794.000 1315.000 801.500 1315.000 793.000 1308.000 781.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.524 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Lykandos + 736= + { + position= + { +1289.500 805.000 1294.500 811.000 1303.500 811.500 1292.000 810.000 1297.000 815.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Kaisereia + 737= + { + position= + { +1286.000 835.000 1285.000 843.000 1298.000 838.000 1285.000 843.000 1290.000 848.000 } + rotation= + { +-0.087 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Amisos + 738= + { + position= + { +1274.000 879.000 1267.000 885.000 1260.000 875.000 1268.000 886.000 1272.000 907.500 } + rotation= + { +0.524 0.000 0.000 0.000 4.014 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Sinope + 739= + { + position= + { +1233.000 902.500 1230.000 893.000 1242.000 905.000 1230.000 897.000 1234.500 909.500 } + rotation= + { +0.000 0.000 0.000 0.000 2.705 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Herakleia + 740= + { + position= + { +1197.000 890.000 1204.000 878.500 1207.000 889.000 1201.000 882.000 1194.000 897.000 } + rotation= + { +0.087 0.000 0.000 0.000 2.356 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Nikomedeia + 741= + { + position= + { +1152.000 863.000 1159.000 862.500 1147.000 857.000 1160.000 860.000 1172.500 875.000 } + rotation= + { +0.000 0.000 0.000 0.000 1.833 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Prusa + 742= + { + position= + { +1148.000 827.500 1148.500 835.500 1161.500 840.000 1161.000 842.000 1129.000 845.000 } + rotation= + { +0.000 0.000 0.000 0.000 1.746 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Kyzikos + 743= + { + position= + { +1123.000 826.000 1116.000 829.500 1115.000 811.000 1120.000 819.000 1115.500 842.500 } + rotation= + { +0.087 0.000 0.000 0.000 2.705 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Abydos + 744= + { + position= + { +1085.000 812.500 1090.000 816.000 1088.000 828.000 1086.000 819.000 1084.000 807.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Smyrna + 745= + { + position= + { +1098.000 780.000 1108.500 786.000 1099.000 796.000 1101.000 788.000 1090.000 787.000 } + rotation= + { +0.000 0.000 0.000 0.000 1.396 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Ephesos + 746= + { + position= + { +1114.500 751.500 1114.000 764.000 1115.000 772.000 1110.000 762.000 1102.000 759.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.786 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Lykia + 747= + { + position= + { +1145.000 736.000 1150.000 745.000 1143.000 757.000 1148.000 744.000 1124.000 733.000 } + rotation= + { +0.087 0.000 0.000 0.000 -0.174 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Laodikeia + 748= + { + position= + { +1141.500 781.000 1138.000 790.000 1149.500 797.500 1138.000 788.000 1143.000 793.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Dorylaion + 749= + { + position= + { +1184.000 816.500 1175.000 803.000 1200.000 810.000 1181.000 810.000 1186.000 815.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Nikaea + 750= + { + position= + { +1198.000 841.000 1192.500 846.000 1199.000 855.000 1192.000 846.000 1197.000 851.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Paphlagonia + 751= + { + position= + { +1234.000 863.000 1225.500 863.000 1234.500 873.500 1229.000 864.000 1234.000 869.000 } + rotation= + { +-0.087 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Galatia + 752= + { + position= + { +1254.000 842.000 1250.500 849.500 1256.500 855.500 1252.000 847.000 1257.000 852.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Ancyra + 753= + { + position= + { +1223.000 830.500 1225.000 839.500 1214.500 825.000 1221.000 832.000 1226.000 837.000 } + rotation= + { +0.087 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Sozopolis + 754= + { + position= + { +1178.000 772.000 1171.000 778.000 1190.000 781.000 1176.000 776.000 1181.000 781.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Attaleia + 755= + { + position= + { +1191.000 756.000 1191.000 760.000 1201.000 764.000 1192.000 760.000 1195.000 751.000 } + rotation= + { +0.000 0.000 0.000 0.000 -0.174 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Limisol + 756= + { + position= + { +1238.000 702.000 1239.000 707.500 1248.000 706.500 1242.000 705.000 1232.000 711.000 } + rotation= + { +0.000 0.000 0.000 0.000 2.094 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Famagusta + 757= + { + position= + { +1261.000 714.000 1255.000 717.000 1250.000 716.000 1256.000 718.000 1264.000 728.000 } + rotation= + { +0.000 0.000 0.000 0.000 2.357 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Seleukeia + 758= + { + position= + { +1241.000 747.000 1237.500 752.000 1240.000 765.000 1236.000 758.000 1251.000 745.000 } + rotation= + { +0.000 0.000 0.000 0.000 -0.523 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Ikonion + 759= + { + position= + { +1229.000 784.000 1222.000 783.000 1221.000 796.000 1222.000 789.000 1227.000 794.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Tyana + 760= + { + position= + { +1248.500 807.000 1253.000 814.000 1232.500 818.000 1249.000 812.000 1254.000 817.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Tarsos + 761= + { + position= + { +1278.000 766.500 1271.000 777.500 1260.500 782.000 1268.000 777.000 1277.000 763.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.436 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Adana + 762= + { + position= + { +1293.000 775.000 1293.000 788.000 1299.000 794.000 1291.000 786.000 1297.000 770.000 } + rotation= + { +0.000 0.000 0.000 0.000 -0.611 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Alexandretta + 763= + { + position= + { +1311.500 765.000 1313.000 770.000 1315.000 772.000 1313.000 769.000 1302.500 763.500 } + rotation= + { +0.087 0.000 0.000 0.000 1.484 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Antioch + 764= + { + position= + { +1307.000 747.000 1309.000 749.000 1312.000 756.000 1310.000 751.000 1303.000 747.500 } + rotation= + { +0.175 0.000 0.000 0.000 1.658 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Archa + 765= + { + position= + { +1328.000 731.000 1326.000 737.000 1325.000 752.000 1324.000 733.000 1329.000 738.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Tortosa + 766= + { + position= + { +1308.000 728.000 1312.500 727.000 1309.500 734.000 1310.000 731.000 1304.000 726.000 } + rotation= + { +0.087 0.000 0.087 0.000 1.484 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Tripoli + 767= + { + position= + { +1310.000 709.000 1310.500 705.000 1315.000 711.000 1311.000 708.000 1304.000 712.000 } + rotation= + { +0.087 0.000 0.000 0.000 1.571 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Baalbek + 768= + { + position= + { +1336.000 695.000 1331.000 705.000 1336.000 709.000 1328.000 698.000 1333.000 703.000 } + rotation= + { +0.175 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Safed + 769= + { + position= + { +1329.000 685.000 1336.000 686.000 1344.000 687.000 1326.000 678.000 1331.000 683.000 } + rotation= + { +0.175 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Beirut + 770= + { + position= + { +1300.000 684.000 1302.500 689.000 1306.000 683.000 1303.000 686.000 1296.000 692.000 } + rotation= + { +0.087 0.000 0.000 0.000 2.095 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Sur + 771= + { + position= + { +1298.000 663.000 1294.000 663.000 1303.000 665.000 1301.000 667.000 1285.000 670.000 } + rotation= + { +0.087 0.000 0.000 0.000 2.007 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Acre + 772= + { + position= + { +1277.500 644.000 1282.000 637.000 1285.000 647.500 1276.000 638.000 1272.000 644.000 } + rotation= + { +0.262 0.000 0.000 0.000 2.007 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Tiberias + 773= + { + position= + { +1295.500 633.000 1302.000 639.000 1296.000 620.000 1312.500 643.000 1318.000 649.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Jerusalem + 774= + { + position= + { +1277.000 605.000 1281.000 607.000 1282.000 616.500 1308.000 618.000 1313.000 623.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Arsuf + 775= + { + position= + { +1261.000 614.000 1264.000 615.000 1268.000 625.000 1280.000 622.000 1260.000 621.000 } + rotation= + { +0.087 0.000 0.000 0.000 1.920 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Hebron + 776= + { + position= + { +1269.000 588.000 1270.000 590.500 1272.000 596.000 1310.000 592.000 1315.000 597.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Al-Karak + 777= + { + position= + { +1292.000 589.000 1297.000 596.000 1311.000 601.000 1332.000 585.000 1337.000 590.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Wadi Musa + 778= + { + position= + { +1289.000 562.000 1283.000 567.000 1296.000 573.000 1309.000 555.000 1314.000 560.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Beersheb + 779= + { + position= + { +1262.000 578.000 1266.000 575.000 1266.000 580.500 1290.000 583.000 1295.000 588.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Asqalan + 780= + { + position= + { +1252.500 588.000 1253.500 589.500 1258.000 598.500 1266.000 600.000 1247.000 588.000 } + rotation= + { +0.262 0.000 0.000 0.000 1.745 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Darum + 781= + { + position= + { +1244.000 575.000 1248.000 569.500 1251.000 576.500 1252.000 579.000 1240.000 577.000 } + rotation= + { +0.524 0.000 0.000 0.000 2.181 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Negev + 782= + { + position= + { +1263.000 558.000 1265.500 559.500 1264.500 566.000 1274.000 557.000 1279.000 562.000 } + rotation= + { +0.087 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Maan + 783= + { + position= + { +1341.000 551.000 1351.000 555.000 1368.000 555.000 1296.000 530.000 1301.000 535.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Al 'Aqabah + 784= + { + position= + { +1258.500 492.000 1267.000 505.000 1276.000 493.000 1269.000 505.000 1260.000 483.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.873 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Sinai + 785= + { + position= + { +1220.000 499.000 1231.000 511.000 1234.000 490.000 1229.000 505.000 1236.000 476.000 } + rotation= + { +0.087 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Eilat + 786= + { + position= + { +1249.500 526.000 1248.000 536.500 1256.000 542.000 1249.000 535.000 1251.000 521.000 } + rotation= + { +0.000 0.000 0.000 0.000 -0.262 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#El-Arish + 787= + { + position= + { +1225.000 559.500 1230.000 554.000 1241.000 554.000 1232.000 555.000 1224.048 566.926 } + rotation= + { +1.134 0.000 0.087 0.000 3.142 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Farama + 788= + { + position= + { +1204.000 528.000 1209.000 539.500 1220.000 533.000 1208.000 538.000 1200.000 563.000 } + rotation= + { +0.000 0.000 0.000 0.000 2.618 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Pelusia + 789= + { + position= + { +1172.500 546.000 1177.000 554.000 1184.000 541.000 1176.000 552.000 1187.000 567.000 } + rotation= + { +1.745 0.000 0.000 0.000 3.578 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Sarqihya + 790= + { + position= + { +1181.500 507.500 1185.500 516.500 1175.000 520.000 1183.000 514.000 1201.000 506.000 } + rotation= + { +1.134 0.000 0.000 0.000 -1.309 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Quena + 791= + { + position= + { +1206.500 453.000 1210.000 461.000 1197.000 479.000 1208.000 461.000 1233.000 454.000 } + rotation= + { +-0.262 0.000 0.000 0.000 4.276 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Nubia + 792= + { + position= + { +1264.000 290.000 1248.000 294.000 1273.000 281.000 1239.000 384.000 1277.000 371.000 } + rotation= + { +0.873 0.000 0.000 0.000 -1.571 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Makuria + 793= + { + position= + { +1159.000 224.000 1138.000 221.000 1171.000 216.000 1174.000 384.000 1179.000 389.000 } + rotation= + { +0.785 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Aswan + 794= + { + position= + { +1199.000 398.000 1222.000 403.000 1237.000 387.000 1182.000 438.000 1253.000 417.000 } + rotation= + { +-0.087 0.000 0.000 0.000 -1.920 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Asyut + 795= + { + position= + { +1173.000 460.000 1174.000 466.500 1167.000 473.000 1173.000 467.000 1162.000 450.000 } + rotation= + { +0.000 0.000 0.000 0.000 -2.705 } + height= + { +0.000 0.000 0.000 20.000 2.250 } + } +#Cairo + 796= + { + position= + { +1162.000 493.000 1160.500 504.500 1168.000 492.500 1161.000 499.000 1159.000 503.000 } + rotation= + { +0.000 0.000 0.000 0.000 1.222 } + height= + { +0.000 0.000 0.000 20.000 0.500 } + } +#Manupura + 797= + { + position= + { +1149.000 521.000 1152.000 531.500 1163.000 533.000 1150.000 528.000 1156.000 528.000 } + rotation= + { +0.611 0.000 0.000 0.000 0.785 } + height= + { +0.000 0.000 0.000 20.000 1.500 } + } +#Damietta + 798= + { + position= + { +1152.000 556.000 1155.500 561.500 1145.500 557.000 1151.000 561.000 1158.000 574.000 } + rotation= + { +0.349 0.000 0.000 0.000 3.055 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Gabiyaha + 799= + { + position= + { +1145.000 551.000 1136.500 548.000 1140.000 560.000 1131.000 546.000 1134.000 565.500 } + rotation= + { +2.531 0.000 0.000 0.000 2.618 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Gizeh + 800= + { + position= + { +1113.500 483.500 1142.500 480.000 1113.500 495.500 1122.000 487.000 1127.000 492.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Buhairya + 801= + { + position= + { +1172.000 405.000 1160.000 403.000 1175.000 391.000 1104.000 525.000 1109.000 530.000 } + rotation= + { +-0.262 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Alexandria + 802= + { + position= + { +1124.000 554.000 1094.000 545.000 1068.000 544.000 1080.000 546.000 1102.000 556.000 } + rotation= + { +0.087 0.000 0.000 0.000 3.491 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Quattara + 803= + { + position= + { +1039.000 518.500 1043.000 533.000 1022.000 539.000 1041.000 527.000 1046.000 532.000 } + rotation= + { +1.134 2.182 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Al Alamayn + 804= + { + position= + { +1036.000 553.000 1034.000 562.500 1048.000 561.000 1037.000 558.000 1029.000 570.000 } + rotation= + { +0.349 0.000 0.000 0.000 2.793 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Tobruk + 805= + { + position= + { +987.500 577.500 991.500 572.000 973.000 576.500 987.000 569.000 992.000 583.000 } + rotation= + { +0.175 0.000 0.000 0.000 3.229 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Cyrenaica + 806= + { + position= + { +944.000 598.500 947.000 590.000 930.000 594.000 941.000 591.000 950.000 603.000 } + rotation= + { +0.524 0.000 0.000 0.000 3.316 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Senoussi + 807= + { + position= + { +929.000 553.000 923.000 558.000 919.500 573.500 925.000 559.000 890.500 550.000 } + rotation= + { +0.436 0.000 0.000 0.000 2.269 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Benghazi + 808= + { + position= + { +893.000 579.000 897.701 582.231 897.000 571.000 899.000 577.000 892.000 586.000 } + rotation= + { +0.349 0.000 0.000 0.000 2.094 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Syrte + 809= + { + position= + { +868.000 529.500 863.000 522.000 845.000 534.000 860.000 526.000 868.000 537.000 } + rotation= + { +-0.262 0.000 0.000 0.000 3.142 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Leptis Magna + 810= + { + position= + { +793.000 535.000 797.000 548.500 773.000 551.000 791.000 543.000 813.000 561.000 } + rotation= + { +0.524 0.000 0.000 0.000 3.490 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Tripolitana + 811= + { + position= + { +737.000 572.000 744.000 581.000 718.000 588.000 733.000 582.000 769.000 592.000 } + rotation= + { +1.309 0.000 0.000 0.000 3.753 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Malta + 812= + { + position= + { +787.790 619.960 789.000 623.000 780.000 632.000 785.000 625.000 787.004 617.177 } + rotation= + { +0.000 0.000 0.000 0.000 0.785 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Djerba + 813= + { + position= + { +679.000 603.000 668.000 600.000 651.000 604.500 666.000 601.000 672.000 614.000 } + rotation= + { +0.524 0.000 0.000 0.000 3.490 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Gabes + 814= + { + position= + { +627.000 613.000 625.000 621.000 633.500 616.000 623.000 620.000 644.000 631.000 } + rotation= + { +-1.309 0.000 0.000 0.000 3.927 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Kairwan + 815= + { + position= + { +617.000 651.000 619.000 663.000 605.000 644.000 613.000 656.000 618.000 661.000 } + rotation= + { +0.436 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Mahdia + 816= + { + position= + { +646.000 653.500 642.500 656.000 634.500 646.500 640.000 656.000 653.000 657.000 } + rotation= + { +1.833 0.000 0.000 0.000 4.887 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Tunis + 817= + { + position= + { +636.500 697.000 631.500 703.000 633.000 713.500 636.000 708.000 643.000 700.000 } + rotation= + { +0.175 0.000 0.000 0.000 4.799 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Medjerda + 818= + { + position= + { +610.000 685.000 601.000 684.000 611.000 695.000 604.000 687.000 609.000 692.000 } + rotation= + { +0.960 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Bizerte + 819= + { + position= + { +614.000 712.000 607.000 714.000 619.000 721.500 611.000 717.000 607.000 726.000 } + rotation= + { +1.658 0.000 0.000 0.000 2.531 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Annaba + 820= + { + position= + { +568.000 717.000 573.000 709.000 584.000 711.000 574.000 709.000 571.000 720.000 } + rotation= + { +0.524 0.000 0.000 0.000 3.840 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Constantine + 821= + { + position= + { +548.000 695.000 555.000 696.000 530.000 694.000 552.000 693.000 557.000 698.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Bejaija + 822= + { + position= + { +519.000 707.000 525.000 707.000 509.000 698.500 523.000 704.000 531.000 715.000 } + rotation= + { +0.000 0.000 0.000 0.000 2.705 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Biskra + 823= + { + position= + { +499.000 665.000 497.000 676.000 484.000 677.000 481.000 678.000 501.000 678.000 } + rotation= + { +-1.047 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Tell Atlas + 824= + { + position= + { +465.000 686.000 465.000 691.000 442.000 685.000 463.000 690.000 468.000 695.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Beni Yanni + 825= + { + position= + { +476.000 712.000 465.500 708.000 443.500 702.500 463.000 705.000 483.000 715.000 } + rotation= + { +-0.175 0.000 0.000 0.000 3.142 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Manurqa + 826= + { + position= + { +484.000 805.000 482.000 802.000 474.000 805.000 480.000 802.000 483.000 808.000 } + rotation= + { +0.000 0.000 0.000 0.000 -2.967 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Mayurqa + 827= + { + position= + { +450.000 787.000 444.000 794.000 403.000 777.000 436.000 787.000 446.000 786.000 } + rotation= + { +0.087 0.000 0.000 0.000 0.523 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Ouled Nail + 828= + { + position= + { +476.000 647.000 468.000 662.000 454.000 647.000 465.000 655.000 470.000 660.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Mzab + 829= + { + position= + { +423.000 654.000 424.000 660.000 437.000 665.000 425.000 661.000 430.000 666.000 } + rotation= + { +0.262 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Lemdiyya + 830= + { + position= + { +391.000 678.000 399.000 680.000 379.000 674.500 398.000 679.000 403.000 684.000 } + rotation= + { +0.000 0.087 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Al Djazair + 831= + { + position= + { +386.000 697.000 400.000 695.000 418.000 699.000 400.000 695.000 421.000 705.000 } + rotation= + { +0.175 0.000 0.000 0.000 2.792 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Orania + 832= + { + position= + { +349.000 672.500 358.000 677.500 337.000 671.000 350.000 676.000 349.000 682.000 } + rotation= + { +0.000 0.000 0.000 0.000 3.142 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Atlas Plateu + 833= + { + position= + { +387.000 641.000 380.500 647.000 392.000 658.000 381.000 646.000 386.000 651.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Tlemcen + 834= + { + position= + { +341.000 652.000 346.000 657.000 332.000 658.000 343.000 659.000 319.000 663.000 } + rotation= + { +0.000 0.000 0.000 0.000 2.967 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Hanyan + 835= + { + position= + { +337.000 621.000 340.000 637.000 323.000 633.500 336.000 629.000 341.000 634.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Snassen + 836= + { + position= + { +303.500 651.000 310.000 648.000 294.500 650.500 302.000 648.000 306.000 655.000 } + rotation= + { +0.960 0.000 0.000 0.000 3.055 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Figuig + 837= + { + position= + { +264.000 619.000 276.000 636.000 293.000 629.000 270.000 624.000 275.000 629.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#El Rif + 838= + { + position= + { +241.000 654.500 253.000 656.500 265.000 652.000 243.000 650.000 269.000 664.000 } + rotation= + { +1.047 -0.175 0.000 0.000 2.269 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Cebta + 839= + { + position= + { +210.500 666.500 201.000 670.000 195.000 679.000 200.000 671.000 206.000 676.000 } + rotation= + { +0.000 0.000 -0.262 0.000 4.189 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Fes + 840= + { + position= + { +229.000 630.000 216.000 630.000 242.000 632.000 219.000 630.000 224.000 635.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Tangier + 841= + { + position= + { +177.000 660.000 185.000 662.000 182.000 673.000 187.000 663.000 171.500 662.000 } + rotation= + { +0.262 0.000 0.000 0.000 1.832 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Infa + 842= + { + position= + { +166.000 636.500 180.000 636.000 186.000 639.000 178.000 636.000 162.000 637.000 } + rotation= + { +0.175 0.000 0.000 0.000 2.007 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Marrakech + 843= + { + position= + { +197.000 592.000 199.000 597.000 192.000 609.000 203.000 600.000 208.000 605.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Massat + 844= + { + position= + { +148.000 604.000 155.000 592.000 164.000 611.000 153.000 595.000 144.000 611.000 } + rotation= + { +0.000 0.000 0.000 0.000 2.444 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Anti-Atlas + 845= + { + position= + { +122.000 562.000 172.000 565.000 204.000 561.000 176.000 556.000 112.000 564.000 } + rotation= + { +0.000 0.000 0.000 0.000 2.094 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Taroudant + 846= + { + position= + { +120.000 527.000 144.000 525.000 175.000 514.000 154.000 511.000 116.000 531.000 } + rotation= + { +-0.087 0.000 0.000 0.000 1.746 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Tamdoult + 847= + { + position= + { +133.000 460.000 116.000 489.000 137.000 481.000 127.000 474.000 84.000 490.000 } + rotation= + { +0.000 0.000 0.000 0.000 2.705 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Bremen + 848= + { + position= + { +653.000 1270.500 655.000 1277.000 649.000 1274.500 653.000 1273.000 649.000 1280.000 } + rotation= + { +0.349 0.000 0.000 0.000 2.357 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Canarias + 849= + { + position= + { +38.000 546.000 33.000 536.000 21.000 521.000 1.000 470.000 36.000 532.000 } + rotation= + { +0.000 0.000 0.000 0.000 5.061 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Kantalahti + 850= + { + position= + { +1119.000 1716.000 1099.000 1704.000 1090.000 1720.000 1094.000 1719.000 1112.500 1726.500 } + rotation= + { +0.000 0.000 0.000 0.000 3.928 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Capua + 851= + { + position= + { +771.000 813.000 770.000 820.500 785.500 811.500 782.000 821.000 769.000 810.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.524 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Zahedan + 852= + { + position= + { +2019.000 592.000 2011.000 594.000 2029.000 568.000 1808.000 561.000 1813.000 566.000 } + rotation= + { +0.349 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Bam + 853= + { + position= + { +1927.000 585.000 1934.000 604.000 1954.000 606.000 1819.000 501.000 1824.000 506.000 } + rotation= + { +0.175 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Jask + 854= + { + position= + { +1954.000 437.000 1962.000 439.000 1933.000 453.000 1817.000 439.000 1936.000 434.000 } + rotation= + { +0.175 0.000 0.000 0.000 0.786 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Mahra + 855= + { + position= + { +1729.000 186.000 1724.000 201.000 1741.000 231.000 1693.000 206.000 1729.000 166.000 } + rotation= + { +0.000 0.000 0.000 0.000 4.712 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Kathiri + 856= + { + position= + { +1661.000 156.000 1650.000 170.000 1662.000 197.000 1639.000 179.000 1664.000 141.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Bayda + 857= + { + position= + { +1591.000 125.000 1584.000 142.000 1603.000 155.000 1585.000 144.000 1593.000 111.000 } + rotation= + { +0.175 0.000 0.000 0.000 -0.262 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Aden + 858= + { + position= + { +1541.000 102.500 1544.000 110.000 1543.500 121.000 1541.000 110.000 1545.000 99.000 } + rotation= + { +-0.087 0.000 0.000 0.000 -0.698 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Taizz + 859= + { + position= + { +1517.500 120.000 1527.000 132.000 1541.000 142.000 1530.000 133.000 1509.000 125.000 } + rotation= + { +0.000 0.000 0.000 0.000 1.222 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Sanaa + 860= + { + position= + { +1547.000 175.000 1537.000 188.000 1565.000 193.000 1530.000 184.000 1492.000 182.000 } + rotation= + { +-0.785 0.000 0.000 0.000 1.571 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Asir + 861= + { + position= + { +1465.000 229.000 1489.000 274.000 1471.000 270.000 1492.000 251.000 1460.000 226.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.262 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Halaban + 862= + { + position= + { +1530.000 336.000 1529.000 348.000 1568.000 348.000 1517.000 339.000 1522.000 344.000 } + rotation= + { +-1.484 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Hajr + 863= + { + position= + { +1603.000 435.000 1580.000 447.000 1621.000 430.000 1531.000 406.000 1553.000 410.000 } + rotation= + { +-0.524 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Hail + 864= + { + position= + { +1450.000 437.000 1459.000 461.000 1489.000 447.000 1440.000 458.000 1445.000 463.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Rafha + 865= + { + position= + { +1505.000 539.000 1508.000 563.000 1491.000 538.000 1470.000 519.000 1475.000 524.000 } + rotation= + { +0.611 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Dhofar + 866= + { + position= + { +1796.000 199.000 1799.000 216.000 1822.000 233.000 1759.000 227.000 1794.000 190.000 } + rotation= + { +1.047 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Duqm + 867= + { + position= + { +1896.000 254.000 1886.000 255.000 1862.000 280.000 1885.000 248.000 1913.000 241.000 } + rotation= + { +0.000 0.000 -0.087 -24.609 -0.785 } + height= + { +0.000 0.000 0.000 5.250 0.000 } + } +#Muscat + 868= + { + position= + { +1955.000 304.000 1957.000 296.000 1944.000 310.000 1854.000 327.000 1967.000 291.000 } + rotation= + { +0.087 0.000 0.000 0.000 5.497 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Hajar + 869= + { + position= + { +1907.000 354.000 1893.000 332.000 1898.000 309.000 1812.000 336.000 1921.000 362.000 } + rotation= + { +0.349 0.000 0.000 0.000 3.665 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Dhu Zabi + 870= + { + position= + { +1794.000 388.000 1798.000 376.000 1829.000 402.000 1757.000 372.000 1804.000 404.000 } + rotation= + { +0.000 0.000 0.000 0.000 2.793 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Busaso + 871= + { + position= + { +1711.000 36.000 1688.000 31.000 1704.000 53.000 1689.000 33.000 1719.500 43.000 } + rotation= + { +0.000 0.000 0.000 0.000 -1.658 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Berbera + 872= + { + position= + { +1604.000 15.000 1622.000 19.000 1582.000 33.000 1624.000 8.000 1577.000 51.000 } + rotation= + { +0.000 0.000 0.000 0.000 3.054 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Harer + 873= + { + position= + { +1480.000 48.000 1470.000 51.000 1465.000 41.000 1488.000 27.000 1535.000 52.000 } + rotation= + { +0.000 0.000 0.000 0.000 3.927 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Tadjoura + 874= + { + position= + { +1497.000 79.000 1480.000 80.000 1486.000 70.000 1468.000 97.000 1518.000 85.000 } + rotation= + { +-2.182 0.000 0.000 0.000 5.061 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Aksum + 875= + { + position= + { +1386.000 134.000 1398.000 126.000 1398.000 136.000 1395.000 143.000 1406.000 174.000 } + rotation= + { +-1.309 0.000 0.000 0.000 3.927 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Akordat + 876= + { + position= + { +1353.000 164.000 1345.000 161.000 1349.000 149.000 1353.000 152.000 1394.000 202.000 } + rotation= + { +0.000 0.000 0.000 0.000 3.840 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Kassala + 877= + { + position= + { +1298.000 149.500 1293.000 133.000 1313.000 155.000 1313.000 188.000 1356.000 248.000 } + rotation= + { +0.000 0.000 0.000 0.000 4.712 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Hayya + 878= + { + position= + { +1312.000 229.000 1311.000 217.000 1300.000 208.000 1264.000 300.000 1320.000 330.000 } + rotation= + { +1.833 0.000 0.000 0.000 4.712 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Atbara + 879= + { + position= + { +1228.000 218.000 1225.000 199.000 1250.573 186.997 1226.000 232.000 1231.000 237.000 } + rotation= + { +0.524 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Sennar + 880= + { + position= + { +1247.000 95.000 1233.000 92.000 1245.000 64.000 1280.000 84.000 1252.000 110.000 } + rotation= + { +0.262 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Asosa + 881= + { + position= + { +1285.000 37.000 1302.000 35.000 1293.000 50.000 1298.000 21.000 1303.000 26.000 } + rotation= + { +0.873 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Ankober + 882= + { + position= + { +1411.000 45.000 1414.000 36.000 1401.000 47.000 1406.000 17.000 1411.000 22.000 } + rotation= + { +0.349 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Gondar + 883= + { + position= + { +1344.000 103.000 1339.000 93.000 1329.000 107.000 1371.000 100.000 1376.000 105.000 } + rotation= + { +0.175 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Antalo + 884= + { + position= + { +1387.000 39.000 1382.000 27.000 1397.000 30.000 1400.000 54.000 1405.000 59.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Matamma + 885= + { + position= + { +1320.000 64.000 1328.000 67.000 1348.000 63.000 1327.000 58.000 1332.000 63.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Perm + 886= + { + position= + { +1757.000 1472.000 1697.000 1458.000 1754.000 1459.000 1524.000 1457.000 1529.000 1462.000 } + rotation= + { +1.047 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Yamalia + 887= + { + position= + { +1925.000 1677.000 1917.000 1656.000 1950.000 1676.000 1825.000 1444.000 1830.000 1449.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Komi + 888= + { + position= + { +1708.000 1578.000 1697.000 1572.000 1717.000 1567.000 1558.000 1376.000 1563.000 1381.000 } + rotation= + { +0.698 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Ural + 889= + { + position= + { +1810.000 1582.000 1798.000 1575.000 1806.000 1545.000 1645.000 1437.000 1650.000 1442.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Khantia + 890= + { + position= + { +2130.000 1679.000 2124.000 1673.000 2149.000 1674.000 1611.000 1338.000 1616.000 1343.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Tyumen + 891= + { + position= + { +1952.000 1504.000 1901.000 1444.000 1914.000 1429.000 1576.000 1262.000 1581.000 1267.000 } + rotation= + { +0.175 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Mansia + 892= + { + position= + { +1948.000 1586.000 1966.000 1595.000 1945.000 1571.000 1705.000 1276.000 1710.000 1281.000 } + rotation= + { +1.134 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Sibir + 893= + { + position= + { +2099.000 1586.000 2100.000 1574.000 2147.000 1575.000 1791.000 1370.000 1796.000 1375.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Saravan + 894= + { + position= + { +2024.000 494.000 2034.000 513.000 2029.000 533.000 1875.000 499.000 1880.000 504.000 } + rotation= + { +0.349 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Yaik + 895= + { + position= + { +1829.000 1312.000 1833.000 1321.000 1857.000 1321.000 1621.000 1199.000 1626.000 1204.000 } + rotation= + { +0.349 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Aqtobe + 896= + { + position= + { +1786.000 1223.000 1799.000 1251.000 1759.000 1221.000 1625.000 1125.000 1630.000 1130.000 } + rotation= + { +0.262 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Inder + 897= + { + position= + { +1669.000 1218.000 1682.000 1264.000 1715.000 1260.000 1766.000 1163.000 1771.000 1168.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Tobol + 898= + { + position= + { +2004.000 1458.000 1981.000 1467.000 2012.000 1475.000 1853.000 1258.000 1858.000 1263.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Tis + 899= + { + position= + { +2045.000 450.000 2032.000 445.000 2073.000 459.000 1880.000 424.000 2032.000 434.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Syr Darya + 900= + { + position= + { +2004.000 1203.000 2015.000 1182.000 1972.000 1186.000 1880.000 1011.000 2033.000 1191.000 } + rotation= + { +1.309 0.000 0.000 0.000 0.785 } + height= + { +0.000 0.000 0.000 20.000 1.700 } + } +#Kyzyl-Kum + 901= + { + position= + { +1979.000 1146.000 2018.000 1079.000 2014.000 1121.000 1866.000 927.000 1960.000 1109.000 } + rotation= + { +0.349 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Dashhowuz + 902= + { + position= + { +2016.000 1007.000 2013.000 988.000 1999.000 1019.000 1863.000 863.000 1868.000 868.000 } + rotation= + { +0.524 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Samarkand + 903= + { + position= + { +2123.000 956.000 2130.000 959.000 2116.000 938.000 1836.000 822.000 2129.000 982.000 } + rotation= + { +0.960 0.000 0.000 0.000 2.356 } + height= + { +0.000 0.000 0.000 20.000 5.200 } + } +#Balkh + 904= + { + position= + { +2120.000 855.000 2116.000 873.000 2092.000 856.000 1894.000 766.000 2098.000 849.000 } + rotation= + { +0.611 0.000 0.000 0.000 3.142 } + height= + { +0.000 0.000 0.000 20.000 5.200 } + } +#Herat + 905= + { + position= + { +1990.000 761.000 1981.000 790.000 2011.000 799.000 1821.000 719.000 1967.000 746.000 } + rotation= + { +0.611 0.000 0.000 0.000 2.356 } + height= + { +0.000 0.000 0.000 20.000 7.700 } + } +#Birjand + 906= + { + position= + { +1932.000 708.000 1936.000 697.000 1933.000 736.000 1820.000 637.000 1911.000 714.000 } + rotation= + { +0.087 0.000 0.000 0.000 0.785 } + height= + { +0.000 0.000 0.000 20.000 11.850 } + } +#Mandesh + 907= + { + position= + { +2054.000 772.000 2061.000 753.000 2094.000 785.000 1893.000 673.000 1898.000 678.000 } + rotation= + { +1.309 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Rub' al Khali Desert + 908= + { + position= + { +1704.000 301.000 1666.000 291.000 1642.000 320.000 1656.000 297.000 1661.000 302.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Sahara Desert + 909= + { + position= + { +571.000 274.000 581.000 268.000 571.000 274.000 571.000 274.000 38.000 467.000 } + rotation= + { +0.000 0.000 0.000 0.000 1.571 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Siberia + 910= + { + position= + { +1678.000 1713.000 1688.000 1707.000 1678.000 1713.000 1678.000 1713.000 1427.000 1857.000 } + rotation= + { +0.000 0.000 0.000 0.000 1.571 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Timbuktu + 911= + { + position= + { +289.000 154.000 295.000 144.000 304.000 171.000 1048.000 692.000 1053.000 697.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Aoudaghost + 912= + { + position= + { +139.000 176.000 144.000 189.000 115.000 183.000 1750.000 34.000 1755.000 39.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Ghana + 913= + { + position= + { +176.000 98.000 184.000 120.000 197.000 130.000 177.000 121.000 330.000 1295.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 2.050 0.000 } + } +#Gao + 914= + { + position= + { +373.000 137.000 373.000 116.000 358.000 141.000 337.000 731.000 342.000 736.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Djenné + 915= + { + position= + { +266.000 81.000 246.000 87.000 269.000 65.000 416.000 812.000 421.000 817.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Taghaza + 916= + { + position= + { +245.000 379.000 267.000 376.000 243.000 362.000 454.000 749.000 459.000 754.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Araouane + 917= + { + position= + { +275.000 234.000 269.000 250.000 301.000 232.000 284.000 251.000 569.000 749.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 2.350 0.000 } + } +#Sijilmasa + 918= + { + position= + { +234.000 533.000 234.000 519.000 257.000 509.000 551.000 802.000 556.000 807.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Oualata + 919= + { + position= + { +202.000 168.000 223.000 171.000 217.000 194.000 495.000 861.000 500.000 866.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Ouadane + 920= + { + position= + { +90.000 288.000 114.000 300.000 97.000 305.000 567.000 993.000 572.000 998.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Idjil + 921= + { + position= + { +58.000 332.000 66.000 320.000 53.000 317.000 574.000 872.000 579.000 877.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Tadmekka + 922= + { + position= + { +408.000 176.000 423.000 145.000 425.000 169.000 644.000 897.000 677.000 884.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Adrar Plateau + 923= + { + position= + { +176.000 316.000 706.000 829.000 708.000 827.000 708.000 827.000 684.000 871.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Western Sahara + 924= + { + position= + { +1.000 260.000 676.000 793.000 672.000 783.000 672.000 783.000 677.000 788.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Mali + 925= + { + position= + { +165.000 41.000 180.000 42.000 149.000 39.000 761.000 778.000 766.000 783.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Bambuk + 926= + { + position= + { +104.000 62.000 105.000 49.000 103.000 92.000 775.000 731.000 805.000 708.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Zarma + 927= + { + position= + { +461.000 42.000 428.000 51.000 452.000 56.000 687.000 686.000 692.000 691.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Gurma + 928= + { + position= + { +302.000 53.000 322.000 53.000 339.000 51.000 763.000 619.000 791.000 628.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Aprutium + 929= + { + position= + { +782.000 854.000 772.000 854.000 785.000 844.000 892.000 611.000 779.000 862.000 } + rotation= + { +0.000 0.000 0.000 0.000 4.276 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Bar + 930= + { + position= + { +541.000 1104.000 550.000 1099.000 554.000 1104.000 861.000 706.000 866.000 711.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Möre + 931= + { + position= + { +817.000 1361.000 807.000 1361.000 816.000 1366.000 942.000 704.000 812.000 1343.000 } + rotation= + { +0.000 0.000 0.000 0.000 -0.785 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Tjust + 932= + { + position= + { +821.000 1392.000 808.000 1395.000 819.000 1380.000 903.000 800.000 826.000 1388.000 } + rotation= + { +0.000 0.000 0.000 0.000 -1.571 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Roslavl + 933= + { + position= + { +1156.000 1281.000 1166.000 1279.000 1146.000 1277.000 842.000 861.000 828.000 841.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Lepiel + 934= + { + position= + { +1065.000 1301.000 1056.000 1290.000 1053.000 1305.000 763.000 922.000 735.000 979.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Amalfi + 935= + { + position= + { +795.000 788.000 798.000 793.000 798.000 798.000 793.500 786.500 793.000 785.000 } + rotation= + { +0.000 0.000 0.000 0.436 0.000 } + height= + { +0.000 0.000 0.000 1.150 0.000 } + } +#Cyclades + 936= + { + position= + { +1100.000 695.000 1100.000 687.000 1100.000 695.000 1100.000 695.000 1105.000 700.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Sea of Crete + 937= + { + position= + { +1053.000 633.000 1063.000 623.000 1053.000 633.000 1053.000 633.000 1058.000 638.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Coast of Egypt + 938= + { + position= + { +1048.000 587.000 1049.000 598.000 1048.000 587.000 1048.000 587.000 1024.000 568.000 } + rotation= + { +0.000 0.000 0.000 0.000 1.571 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Nile Delta + 939= + { + position= + { +1157.000 586.000 1154.000 596.000 1157.000 586.000 1157.000 586.000 1165.000 602.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Sea of Palestine + 940= + { + position= + { +1229.000 609.000 1239.000 603.000 1229.000 609.000 1229.000 609.000 1234.000 613.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Eastern Mediterranean + 941= + { + position= + { +1167.000 652.000 1177.000 646.000 1167.000 652.000 1167.000 652.000 1172.000 657.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Western Aegean Sea + 942= + { + position= + { +1368.000 295.000 1037.000 784.000 1368.000 295.000 1368.000 295.000 1373.000 300.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Näsijärvi + 943= + { + position= + { +1678.000 450.000 1688.000 444.000 1678.000 450.000 1678.000 450.000 1683.000 455.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Aral Sea + 944= + { + position= + { +1903.000 1123.000 1905.000 1126.000 1929.000 1106.000 1807.000 1003.000 1812.000 1008.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Levantine Sea + 945= + { + position= + { +1271.000 700.000 1281.000 694.000 1271.000 700.000 1271.000 700.000 1304.000 725.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Cilician Sea + 946= + { + position= + { +1200.000 719.000 1206.000 709.000 1200.000 719.000 1200.000 719.000 1209.000 724.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Sea of Marmara + 947= + { + position= + { +1125.000 870.000 1106.500 849.000 1125.000 870.000 1135.500 877.000 1130.000 875.000 } + rotation= + { +0.000 0.000 0.000 0.087 0.000 } + height= + { +0.000 0.000 0.000 1.650 0.000 } + } +#Gulf of Varna + 948= + { + position= + { +1124.000 937.000 1134.000 931.000 1124.000 937.000 1124.000 937.000 1129.000 942.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Coast of Taurida + 949= + { + position= + { +1180.000 992.000 1167.000 982.000 1180.000 992.000 1180.000 992.000 1185.000 997.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Black Sea + 950= + { + position= + { +1200.000 934.000 1210.000 928.000 1200.000 934.000 1200.000 934.000 1205.000 939.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Coast of Kolkhida + 951= + { + position= + { +1458.000 955.000 1315.000 942.000 1305.000 948.000 1305.000 948.000 1310.000 953.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Caspian Sea + 952= + { + position= + { +1649.000 955.000 1639.000 955.000 1669.000 934.000 1579.000 873.000 1584.000 878.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Coast of Morocco + 953= + { + position= + { +4.000 583.000 97.000 606.000 4.000 583.000 4.000 583.000 9.000 588.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Strait of Gibraltar + 954= + { + position= + { +189.000 680.000 224.000 699.000 189.000 680.000 189.000 680.000 239.000 693.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Saimaa + 955= + { + position= + { +1867.000 363.000 1877.000 357.000 1867.000 363.000 1867.000 363.000 1872.000 368.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Kallavesi + 956= + { + position= + { +1626.000 90.000 1636.000 84.000 1626.000 90.000 1626.000 90.000 1631.000 95.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Oulujärvi + 957= + { + position= + { +1810.000 174.000 1820.000 168.000 1810.000 174.000 1810.000 174.000 1815.000 179.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Ladoga + 958= + { + position= + { +1128.000 1515.000 1130.000 1512.000 1128.000 1515.000 1128.000 1515.000 1133.000 1520.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Mälaren + 959= + { + position= + { +849.000 1453.000 853.000 1453.000 891.000 1447.000 849.000 1453.000 854.000 1458.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Faroya + 960= + { + position= + { +235.000 1638.000 245.000 1632.000 235.000 1638.000 235.000 1638.000 240.000 1643.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Hjälmaren + 961= + { + position= + { +813.000 1441.000 815.000 1441.000 815.000 1441.000 813.000 1441.000 818.000 1446.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Vättern + 962= + { + position= + { +783.000 1409.000 784.000 1412.000 784.000 1412.000 783.000 1409.000 788.000 1414.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Vänern + 963= + { + position= + { +761.000 1431.000 764.000 1430.000 764.000 1430.000 761.000 1431.000 766.000 1436.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#White Sea + 964= + { + position= + { +1225.000 1701.000 1199.000 1696.000 1225.000 1701.000 1225.000 1701.000 1230.000 1706.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Strait of Dover + 965= + { + position= + { +450.000 1193.000 440.000 1175.000 450.000 1193.000 450.000 1193.000 447.000 1180.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#The Solent + 966= + { + position= + { +386.000 1184.000 389.000 1181.000 386.000 1184.000 386.000 1184.000 390.000 1187.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Land's End + 967= + { + position= + { +330.000 1175.000 330.000 1173.000 330.000 1175.000 330.000 1175.000 335.000 1180.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#St. George's Channel + 968= + { + position= + { +287.000 1229.000 283.000 1222.000 287.000 1229.000 287.000 1229.000 286.000 1221.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Sea of Azov + 969= + { + position= + { +1243.000 1034.000 1252.000 1040.000 1243.000 1034.000 1251.000 1032.500 1248.000 1039.000 } + rotation= + { +0.000 0.000 0.000 0.349 0.000 } + height= + { +0.000 0.000 0.000 1.900 0.000 } + } +#Cabo de Finisterre + 970= + { + position= + { +116.000 1044.000 126.000 1038.000 116.000 1044.000 116.000 1044.000 121.000 1049.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Bodensee + 971= + { + position= + { +636.000 1048.000 646.000 1042.000 636.000 1048.000 636.000 1048.000 641.000 1053.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Kara-Bogaz Gol + 972= + { + position= + { +1743.000 955.000 1733.000 969.000 1731.000 952.000 1649.000 861.000 1654.000 866.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Waddenzee + 973= + { + position= + { +540.000 1254.000 535.000 1241.500 540.000 1254.000 540.000 1254.000 545.000 1259.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Bay of Biscay + 974= + { + position= + { +283.000 1022.000 312.000 992.000 283.000 1022.000 283.000 1022.000 241.000 968.000 } + rotation= + { +0.000 0.000 0.000 0.000 1.571 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Donegal Bay + 975= + { + position= + { +179.000 1320.000 173.000 1310.000 179.000 1320.000 179.000 1320.000 184.000 1325.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Sea of Canarias + 976= + { + position= + { +1.000 429.000 66.000 535.000 1.000 429.000 1.000 429.000 1.000 434.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Bretagne Coast + 977= + { + position= + { +251.000 1132.000 261.000 1126.000 251.000 1132.000 251.000 1132.000 256.000 1137.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Atlantic + 978= + { + position= + { +1.000 148.000 1.000 142.000 1.000 148.000 1.000 148.000 1.000 153.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Tiveriade Lake + 979= + { + position= + { +1269.000 666.000 1291.000 637.000 1325.000 664.000 1325.000 664.000 1330.000 669.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Portugal Coast + 980= + { + position= + { +67.000 893.000 77.000 887.000 67.000 893.000 67.000 893.000 72.000 898.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Golfo de Cadiz + 981= + { + position= + { +42.000 737.000 52.000 731.000 42.000 737.000 42.000 737.000 47.000 742.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Coast of Iceland + 982= + { + position= + { +48.000 1765.000 193.000 1788.000 183.000 1794.000 183.000 1794.000 188.000 1799.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Dead Sea + 983= + { + position= + { +1328.000 604.000 1338.000 598.000 1328.000 604.000 1328.000 604.000 1333.000 609.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#North Atlantic + 984= + { + position= + { +381.000 1762.000 391.000 1756.000 381.000 1762.000 381.000 1762.000 386.000 1767.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#North Atlantic + 985= + { + position= + { +1233.000 1900.000 1243.000 1894.000 1233.000 1900.000 1233.000 1900.000 1238.000 1905.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#North Sea + 986= + { + position= + { +677.000 1624.000 602.000 1533.000 677.000 1624.000 677.000 1624.000 682.000 1629.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#North Sea + 987= + { + position= + { +840.000 1907.000 804.000 1912.000 771.000 1885.000 840.000 1907.000 845.000 1912.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.175 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#North Sea + 988= + { + position= + { +538.000 1367.000 548.000 1361.000 538.000 1367.000 538.000 1367.000 543.000 1372.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#North Sea + 989= + { + position= + { +501.000 1500.000 511.000 1494.000 501.000 1500.000 501.000 1500.000 506.000 1505.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Sea of Shetland + 990= + { + position= + { +416.000 1571.000 426.000 1565.000 416.000 1571.000 416.000 1571.000 421.000 1576.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Bantry Bay + 991= + { + position= + { +160.000 1195.000 170.000 1189.000 160.000 1195.000 160.000 1195.000 165.000 1200.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#The Minch + 992= + { + position= + { +233.000 1449.000 243.000 1443.000 233.000 1449.000 233.000 1449.000 294.000 1433.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Moray Firth + 993= + { + position= + { +359.000 1499.000 378.000 1491.000 359.000 1499.000 359.000 1499.000 364.000 1504.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Firth of Forth + 994= + { + position= + { +410.000 1399.000 401.000 1395.000 410.000 1399.000 410.000 1399.000 415.000 1404.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Dogger Bank + 995= + { + position= + { +435.000 1331.000 437.000 1326.000 435.000 1331.000 435.000 1331.000 440.000 1336.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#The Wash + 996= + { + position= + { +477.000 1270.000 479.000 1267.000 477.000 1270.000 477.000 1270.000 482.000 1275.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Onega + 997= + { + position= + { +1216.000 1552.000 1219.000 1545.000 1216.000 1552.000 1216.000 1552.000 1221.000 1557.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#North Sea + 998= + { + position= + { +595.000 1753.000 605.000 1747.000 595.000 1753.000 595.000 1753.000 600.000 1758.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#The Sound + 999= + { + position= + { +753.000 1296.000 742.000 1296.000 691.000 1324.000 733.000 1298.000 738.000 1303.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Gulf of Heligoland + 1000= + { + position= + { +632.000 1342.000 633.000 1350.000 632.000 1342.000 632.000 1342.000 637.000 1347.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Kattegat + 1001= + { + position= + { +709.000 1385.000 710.000 1413.000 709.000 1385.000 709.000 1385.000 695.000 1438.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Gulf of Danzig + 1002= + { + position= + { +840.000 1292.000 847.000 1299.000 840.000 1292.000 840.000 1292.000 859.000 1277.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.785 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Bight of Hanö + 1003= + { + position= + { +828.000 1367.000 833.000 1330.000 829.000 1337.000 829.000 1337.000 834.000 1342.000 } + rotation= + { +-0.175 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Baltic Sea + 1004= + { + position= + { +912.000 1376.000 900.000 1381.000 912.000 1376.000 904.000 1371.000 917.000 1381.000 } + rotation= + { +0.000 0.000 0.000 0.873 0.000 } + height= + { +0.000 0.000 0.000 2.750 0.000 } + } +#Sea of Åland + 1005= + { + position= + { +881.000 1455.000 896.000 1440.000 881.000 1455.000 881.000 1455.000 886.000 1460.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Gulf of Finland + 1006= + { + position= + { +1018.000 1470.000 1028.000 1474.000 1018.000 1470.000 1018.000 1470.000 1023.000 1475.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Gulf of Bothnia + 1007= + { + position= + { +933.000 1647.000 932.000 1645.000 933.000 1647.000 933.000 1647.000 938.000 1652.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Gulf of Bothnia + 1008= + { + position= + { +878.000 1548.000 878.000 1548.000 878.000 1548.000 878.000 1548.000 883.000 1553.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Baie de la Seine + 1009= + { + position= + { +399.000 1159.000 403.000 1158.000 399.000 1159.000 399.000 1159.000 404.000 1164.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Îles de la Manche + 1010= + { + position= + { +342.000 1146.000 346.000 1147.000 342.000 1146.000 342.000 1146.000 347.000 1151.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Mauretanian Coast + 1011= + { + position= + { +343.000 697.000 353.000 691.000 343.000 697.000 343.000 697.000 348.000 683.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Peipus + 1012= + { + position= + { +1046.000 1416.000 1056.000 1410.000 1046.000 1416.000 1046.000 1416.000 1051.000 1421.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Lori + 1013= + { + position= + { +1460.000 917.000 1477.000 905.000 1469.000 922.000 1105.000 992.000 1110.000 997.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Coast of Asturias + 1014= + { + position= + { +239.000 1005.000 249.000 999.000 239.000 1005.000 239.000 1005.000 244.000 1010.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Northern Bay of Biscay + 1015= + { + position= + { +302.000 1053.000 312.000 1047.000 302.000 1053.000 302.000 1053.000 307.000 1058.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Celtic Sea + 1016= + { + position= + { +147.000 1093.000 157.000 1087.000 147.000 1093.000 147.000 1093.000 152.000 1098.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Western Cyclades + 1017= + { + position= + { +1047.000 691.000 1057.000 685.000 1047.000 691.000 1047.000 691.000 1052.000 696.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Päijänne + 1018= + { + position= + { +1014.000 1540.000 1024.000 1534.000 1014.000 1540.000 1014.000 1540.000 1019.000 1545.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Irish Sea + 1019= + { + position= + { +315.000 1327.000 327.000 1313.000 315.000 1327.000 330.000 1320.000 320.000 1332.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.400 0.000 } + } +#Western Mediterranean + 1020= + { + position= + { +337.000 731.000 347.000 725.000 337.000 731.000 337.000 731.000 342.000 736.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Golfo de Valencia + 1021= + { + position= + { +416.000 812.000 426.000 806.000 416.000 812.000 416.000 812.000 421.000 817.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Islas Baleares + 1022= + { + position= + { +454.000 749.000 464.000 743.000 454.000 749.000 454.000 749.000 459.000 754.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Ponant + 1023= + { + position= + { +564.000 744.000 574.000 738.000 564.000 744.000 564.000 744.000 569.000 749.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Mediterranean Sea + 1024= + { + position= + { +551.000 802.000 561.000 796.000 551.000 802.000 551.000 802.000 556.000 807.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Golfe du Lion + 1025= + { + position= + { +495.000 864.000 505.000 858.000 495.000 864.000 495.000 864.000 500.000 869.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Lake Léman + 1026= + { + position= + { +569.000 1017.000 579.000 1011.000 569.000 1017.000 569.000 1017.000 574.000 1022.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Côte d'Azur + 1027= + { + position= + { +574.000 872.000 584.000 866.000 574.000 872.000 574.000 872.000 579.000 877.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Ligurian Sea + 1028= + { + position= + { +644.000 896.000 654.000 890.000 644.000 896.000 644.000 896.000 649.000 901.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Tyrrhenian Sea + 1029= + { + position= + { +707.000 826.000 717.000 820.000 707.000 826.000 707.000 826.000 712.000 831.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Coast of Sardegna + 1030= + { + position= + { +672.000 782.000 682.000 776.000 672.000 782.000 672.000 782.000 677.000 787.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Golfo di Napoli + 1031= + { + position= + { +759.000 777.000 769.000 771.000 759.000 777.000 759.000 777.000 764.000 782.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Strait di Messina + 1032= + { + position= + { +775.000 732.000 785.000 726.000 775.000 732.000 775.000 732.000 780.000 737.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Golfe de Hammamet + 1033= + { + position= + { +687.000 686.000 697.000 680.000 687.000 686.000 687.000 686.000 692.000 691.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Malta Channel + 1034= + { + position= + { +763.000 619.000 773.000 613.000 763.000 619.000 763.000 619.000 768.000 624.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Gulf of Sidra + 1035= + { + position= + { +892.000 611.000 902.000 605.000 892.000 611.000 892.000 611.000 897.000 616.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Golfo di Taranto + 1036= + { + position= + { +861.000 707.000 871.000 701.000 861.000 707.000 861.000 707.000 866.000 712.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Ionian Sea + 1037= + { + position= + { +942.000 704.000 952.000 698.000 942.000 704.000 942.000 704.000 947.000 709.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Strait of Otranto + 1038= + { + position= + { +904.000 800.000 914.000 794.000 904.000 800.000 904.000 800.000 909.000 805.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Loire + 1039= + { + position= + { +381.000 1058.000 387.000 1058.500 381.000 1058.000 381.000 1058.000 386.000 1063.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Loire + 1040= + { + position= + { +420.000 1066.000 419.000 1068.000 420.000 1066.000 420.000 1066.000 425.000 1071.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Seine + 1041= + { + position= + { +440.000 1133.000 437.000 1132.000 440.000 1133.000 440.000 1133.000 445.000 1138.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Seine + 1042= + { + position= + { +470.000 1122.000 470.000 1122.000 470.000 1122.000 470.000 1122.000 475.000 1127.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Rhine + 1043= + { + position= + { +565.000 1204.000 566.000 1209.000 565.000 1204.000 565.000 1204.000 570.000 1209.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Rhine + 1044= + { + position= + { +593.000 1176.000 595.000 1174.000 593.000 1176.000 593.000 1176.000 598.000 1181.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Rhine + 1045= + { + position= + { +609.000 1156.000 612.000 1158.000 609.000 1156.000 609.000 1156.000 614.000 1161.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Elbe + 1046= + { + position= + { +687.000 1244.000 691.000 1248.000 687.000 1244.000 687.000 1244.000 692.000 1249.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Elbe + 1047= + { + position= + { +696.000 1209.000 726.000 1241.000 696.000 1209.000 696.000 1209.000 701.000 1214.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Elbe + 1048= + { + position= + { +727.000 1193.000 739.000 1208.000 727.000 1193.000 727.000 1193.000 732.000 1198.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Elbe + 1049= + { + position= + { +758.000 1171.000 760.000 1169.500 758.000 1171.000 758.000 1171.000 763.000 1176.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Elbe + 1050= + { + position= + { +777.000 1140.000 776.000 1140.000 777.000 1140.000 777.000 1140.000 782.000 1145.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Vistula + 1051= + { + position= + { +869.000 1263.000 869.000 1262.000 869.000 1263.000 869.000 1263.000 874.000 1268.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Vistula + 1052= + { + position= + { +864.000 1233.000 866.000 1230.000 864.000 1233.000 864.000 1233.000 869.000 1238.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Vistula + 1053= + { + position= + { +904.000 1222.000 905.000 1229.000 904.000 1222.000 904.000 1222.000 909.000 1227.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Vistula + 1054= + { + position= + { +920.000 1187.000 916.500 1184.500 920.000 1187.000 920.000 1187.000 925.000 1192.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Vistula + 1055= + { + position= + { +914.000 1148.000 910.000 1151.000 914.000 1148.000 914.000 1148.000 919.000 1153.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Dniester + 1056= + { + position= + { +1092.000 1015.000 1102.000 1010.500 1092.000 1015.000 1092.000 1015.000 1097.000 1020.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Dniester + 1057= + { + position= + { +1062.000 1068.000 1061.500 1060.000 1062.000 1068.000 1062.000 1068.000 1067.000 1073.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Danube + 1058= + { + position= + { +1092.000 978.000 1083.500 986.500 1082.000 985.000 1092.000 978.000 1097.000 983.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Danube + 1059= + { + position= + { +1056.000 939.000 1057.000 944.000 1056.000 939.000 1056.000 939.000 1061.000 944.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Danube + 1060= + { + position= + { +1016.000 925.000 1019.000 926.500 1016.000 925.000 1016.000 925.000 1021.000 930.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Danube + 1061= + { + position= + { +968.000 948.000 971.000 947.000 971.000 947.000 968.000 948.000 973.000 953.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Northern Caspian Sea + 1062= + { + position= + { +1631.000 1076.000 1608.000 1068.000 1599.000 1046.000 1549.000 984.000 1554.000 989.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Danube + 1063= + { + position= + { +921.000 968.000 916.000 966.000 916.500 965.500 921.000 968.000 926.000 973.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Southern Caspian Sea + 1064= + { + position= + { +1703.000 875.000 1689.000 860.000 1696.000 828.000 1612.000 776.000 1617.000 781.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Danube + 1065= + { + position= + { +885.000 982.000 899.000 998.000 899.000 997.000 885.000 982.000 890.000 987.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Danube + 1066= + { + position= + { +864.000 1024.000 899.000 1050.000 900.000 1048.000 864.000 1024.000 869.000 1029.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Danube + 1067= + { + position= + { +827.000 1064.000 839.500 1064.000 834.000 1068.000 827.000 1064.000 832.000 1069.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Danube + 1068= + { + position= + { +765.000 1078.000 765.000 1074.000 765.000 1078.000 765.000 1078.000 770.000 1083.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Danube + 1069= + { + position= + { +696.000 1080.000 701.000 1081.500 696.000 1080.000 696.000 1080.000 701.000 1085.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Dnieper + 1070= + { + position= + { +1189.000 1057.000 1188.500 1056.000 1189.000 1057.000 1189.000 1057.000 1194.000 1062.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Dnieper + 1071= + { + position= + { +1200.000 1103.000 1201.000 1103.000 1200.000 1103.000 1200.000 1103.000 1205.000 1108.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Dnieper + 1072= + { + position= + { +1139.000 1140.000 1118.500 1147.000 1139.000 1140.000 1139.000 1140.000 1144.000 1145.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Desna + 1073= + { + position= + { +1127.000 1203.000 1129.000 1214.000 1127.000 1203.000 1127.000 1203.000 1132.000 1208.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Desna + 1074= + { + position= + { +1151.000 1244.000 1152.000 1247.000 1151.000 1244.000 1151.000 1244.000 1156.000 1249.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Desna + 1075= + { + position= + { +1189.000 1259.000 1190.000 1259.000 1189.000 1259.000 1189.000 1259.000 1194.000 1264.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Dnieper + 1076= + { + position= + { +1101.000 1201.000 1103.500 1205.500 1101.000 1201.000 1101.000 1201.000 1106.000 1206.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Dnieper + 1077= + { + position= + { +1101.000 1249.000 1100.000 1252.000 1101.000 1249.000 1101.000 1249.000 1106.000 1254.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Dnieper + 1078= + { + position= + { +1156.000 1294.000 1154.500 1291.000 1156.000 1294.000 1156.000 1294.000 1161.000 1299.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Pripyat + 1079= + { + position= + { +1051.000 1230.000 1055.500 1231.500 1051.000 1230.000 1051.000 1230.000 1056.000 1235.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Daugava + 1080= + { + position= + { +988.000 1350.000 988.000 1350.000 988.000 1350.000 988.000 1350.000 993.000 1355.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Daugava + 1081= + { + position= + { +1042.000 1317.000 1041.000 1318.000 1042.000 1317.000 1042.000 1317.000 1047.000 1322.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Dwina + 1082= + { + position= + { +1114.000 1301.000 1113.500 1296.000 1114.000 1301.000 1114.000 1301.000 1119.000 1306.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Neva + 1083= + { + position= + { +1103.000 1490.000 1103.000 1491.000 1103.000 1490.000 1103.000 1490.000 1108.000 1495.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Svir + 1084= + { + position= + { +1184.000 1522.000 1187.000 1518.000 1184.000 1522.000 1184.000 1522.000 1189.000 1527.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Volkhov + 1085= + { + position= + { +1118.000 1447.000 1117.000 1446.000 1118.000 1447.000 1118.000 1447.000 1123.000 1452.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Lake Ilmen + 1086= + { + position= + { +1122.000 1412.000 1123.000 1412.000 1122.000 1412.000 1122.000 1412.000 1127.000 1417.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Lovat + 1087= + { + position= + { +1121.000 1363.000 1117.500 1363.000 1121.000 1363.000 1121.000 1363.000 1126.000 1368.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Don + 1088= + { + position= + { +1337.000 1092.000 1327.000 1086.000 1352.000 1096.000 1334.000 1085.000 1339.000 1090.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Don + 1089= + { + position= + { +1397.000 1152.000 1390.000 1138.000 1386.000 1127.000 1355.000 1146.000 1360.000 1151.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Don + 1090= + { + position= + { +1363.000 1174.000 1353.000 1174.000 1326.000 1181.000 1298.000 1196.000 1303.000 1201.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Don + 1091= + { + position= + { +1273.000 1254.000 1274.500 1252.000 1273.000 1254.000 1273.000 1254.000 1278.000 1259.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Volga + 1092= + { + position= + { +1522.000 1105.000 1522.000 1111.000 1526.000 1103.000 1480.000 1025.000 1485.000 1030.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Volga + 1093= + { + position= + { +1433.000 1154.000 1452.000 1150.000 1474.000 1145.000 1428.000 1083.000 1433.000 1088.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Volga + 1094= + { + position= + { +1454.000 1198.000 1440.000 1187.000 1454.000 1197.000 1410.000 1155.000 1415.000 1160.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Volga + 1095= + { + position= + { +1532.000 1318.000 1543.000 1320.000 1558.000 1326.000 1477.000 1202.000 1482.000 1207.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Volga + 1096= + { + position= + { +1559.000 1350.000 1551.000 1363.000 1542.000 1367.000 1528.000 1251.000 1533.000 1256.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Volga + 1097= + { + position= + { +1480.000 1411.000 1453.000 1420.000 1468.000 1413.000 1466.000 1329.000 1471.000 1334.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Volga + 1098= + { + position= + { +1378.000 1394.000 1385.000 1394.000 1396.000 1401.000 1389.000 1376.000 1394.000 1381.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Volga + 1099= + { + position= + { +1319.000 1397.000 1321.500 1394.500 1319.000 1397.000 1319.000 1397.000 1324.000 1402.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Volga + 1100= + { + position= + { +1270.000 1443.000 1268.500 1440.000 1270.000 1443.000 1270.000 1443.000 1275.000 1448.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Volga + 1101= + { + position= + { +1255.000 1504.000 1260.500 1499.000 1255.000 1504.000 1255.000 1504.000 1260.000 1509.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Oka + 1102= + { + position= + { +1368.000 1340.000 1370.000 1360.000 1376.000 1368.000 1384.000 1333.000 1389.000 1338.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Volga + 1103= + { + position= + { +1466.000 1253.000 1477.000 1265.000 1488.000 1273.000 1329.000 1307.000 1334.000 1312.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Oka + 1104= + { + position= + { +1287.000 1316.000 1299.000 1311.000 1274.000 1320.000 1274.000 1320.000 1279.000 1325.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Volga + 1105= + { + position= + { +1253.000 1411.000 1251.500 1416.500 1253.000 1411.000 1253.000 1411.000 1258.000 1416.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Volga + 1106= + { + position= + { +1210.000 1381.000 1214.500 1375.500 1210.000 1381.000 1210.000 1381.000 1215.000 1386.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Garonne + 1107= + { + position= + { +394.000 986.000 394.500 987.000 394.000 986.000 394.000 986.000 399.000 991.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Garonne + 1108= + { + position= + { +415.000 962.000 418.000 968.000 415.000 962.000 415.000 962.000 420.000 967.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Adriatic Sea + 1109= + { + position= + { +841.000 860.000 851.000 854.000 841.000 860.000 841.000 860.000 846.000 865.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Gulf of Venice + 1110= + { + position= + { +761.000 925.000 771.000 919.000 761.000 925.000 761.000 925.000 766.000 930.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Aegean Sea + 1111= + { + position= + { +1070.000 781.000 1062.000 782.000 1070.000 781.000 1070.000 781.000 1075.000 786.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Madurai + 1112= + { + position= + { +2684.000 121.000 2695.000 114.000 2680.000 113.000 2669.000 120.000 2702.000 94.500 } + rotation= + { +0.000 0.000 0.000 0.000 -0.349 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Chagai + 1113= + { + position= + { +2123.000 590.000 2093.000 582.000 2111.000 556.000 1.000 1.000 1.000 6.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Mahoyadapuram + 1114= + { + position= + { +2615.000 118.000 2625.000 113.000 2609.000 132.000 2623.000 126.000 2615.000 111.000 } + rotation= + { +0.000 0.000 0.000 0.000 1.571 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Cholamandalam + 1115= + { + position= + { +2711.000 141.000 2721.000 161.000 2721.000 141.000 2730.000 189.000 2740.000 158.500 } + rotation= + { +0.000 0.000 0.000 0.000 -1.745 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Tenkasi + 1116= + { + position= + { +2659.000 103.000 2655.000 98.000 2662.000 98.000 2657.000 147.000 2662.000 152.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Kallikkottai + 1117= + { + position= + { +2589.000 148.000 2583.000 158.000 2595.000 155.000 2598.000 166.000 2576.000 154.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.698 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Manyapura + 1118= + { + position= + { +2632.000 213.000 2621.000 211.000 2624.000 201.000 2647.000 222.000 2652.000 227.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Kanchipuram + 1119= + { + position= + { +2725.000 202.000 2720.000 221.000 2729.000 213.000 2725.000 254.000 2738.500 202.000 } + rotation= + { +0.000 0.000 0.000 0.000 -1.484 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Tagadur + 1120= + { + position= + { +2669.000 184.000 2682.000 175.000 2668.000 174.000 2715.000 223.000 2720.000 228.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Uchangidurga + 1121= + { + position= + { +2605.000 232.000 2610.000 241.000 2590.000 239.000 2617.000 243.000 2622.000 248.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Udayagiri + 1122= + { + position= + { +2692.000 266.000 2670.000 263.000 2687.000 259.000 2684.000 300.000 2689.000 305.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Vengipura + 1123= + { + position= + { +2732.000 343.000 2743.000 329.000 2741.000 345.000 2748.000 353.000 2760.000 328.500 } + rotation= + { +0.000 0.000 0.000 0.000 -0.698 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Honnore + 1124= + { + position= + { +2516.000 233.000 2525.000 228.000 2509.000 244.000 2525.000 245.000 2505.000 239.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.785 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Thana + 1125= + { + position= + { +2441.000 345.000 2459.000 322.000 2449.000 336.000 2482.000 306.000 2440.000 332.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.960 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Daman + 1126= + { + position= + { +2431.000 380.000 2439.000 374.000 2431.000 371.000 2469.000 335.000 2424.000 371.000 } + rotation= + { +0.000 0.000 0.000 0.000 1.309 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Navasarika + 1127= + { + position= + { +2429.000 400.000 2422.000 409.000 2429.000 416.000 2492.000 382.000 2416.000 402.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.960 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Vizagipatam + 1128= + { + position= + { +2791.000 390.000 2781.000 379.000 2790.000 400.000 2788.000 426.000 2791.500 377.500 } + rotation= + { +0.000 0.000 0.000 0.000 -1.134 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Kataka + 1129= + { + position= + { +2831.000 481.000 2849.000 481.000 2842.000 479.000 2855.000 511.000 2857.500 473.500 } + rotation= + { +0.000 0.000 0.000 0.000 -1.134 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Mandavyapura + 1130= + { + position= + { +2397.000 574.000 2405.000 560.000 2385.000 568.000 2915.000 578.000 2920.000 583.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Karmanta + 1131= + { + position= + { +2995.000 623.000 3007.000 620.000 3006.000 632.000 2938.000 619.000 2943.000 624.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Kirghiz + 1132= + { + position= + { +2479.000 1501.000 2397.000 1457.000 2435.000 1428.000 1.000 1.000 1.000 6.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Vadodara + 1133= + { + position= + { +2431.000 442.000 2434.000 454.000 2440.000 443.000 2424.000 366.000 2429.000 371.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Bhumilka + 1134= + { + position= + { +2320.000 391.000 2333.000 383.000 2328.000 388.000 2303.000 393.000 2317.000 379.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.524 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Valabhi + 1135= + { + position= + { +2391.000 419.000 2391.000 408.000 2391.000 426.000 2369.000 438.000 2401.000 408.000 } + rotation= + { +0.000 0.000 0.000 0.000 -1.571 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Dvaraka + 1136= + { + position= + { +2284.000 404.000 2306.000 407.000 2297.000 399.000 2273.000 447.000 2275.000 403.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.611 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Mansura + 1137= + { + position= + { +2264.000 516.000 2281.000 513.000 2291.000 521.000 2290.000 511.000 2259.000 525.000 } + rotation= + { +0.000 0.000 0.000 0.000 1.571 } + height= + { +0.000 0.000 0.000 20.000 0.450 } + } +#Bhakkar + 1138= + { + position= + { +2260.000 581.000 2236.000 580.000 2243.000 590.000 2241.000 621.000 2243.000 574.000 } + rotation= + { +0.000 0.000 0.000 0.000 2.356 } + height= + { +0.000 0.000 0.000 20.000 0.850 } + } +#Makran + 1139= + { + position= + { +2116.000 479.000 2132.000 494.000 2165.000 493.000 2104.000 580.000 2143.500 459.000 } + rotation= + { +0.000 0.000 0.000 0.000 -0.087 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Banavasi + 1140= + { + position= + { +2538.000 248.000 2561.000 250.000 2549.000 248.000 2592.000 288.000 2597.000 293.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Kol + 1141= + { + position= + { +2542.000 674.000 2551.000 669.000 2533.000 681.000 2686.000 389.000 2691.000 394.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Pratishthana + 1142= + { + position= + { +2524.000 382.000 2514.000 366.000 2534.000 372.000 2516.000 323.000 2521.000 328.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Kalyani + 1143= + { + position= + { +2588.000 345.000 2600.000 344.000 2578.000 341.000 2580.000 322.000 2585.000 327.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Kollipake + 1144= + { + position= + { +2654.000 355.000 2645.000 343.000 2643.000 355.000 2626.000 372.000 2631.000 377.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Devagiri + 1145= + { + position= + { +2500.000 388.000 2503.000 408.000 2490.000 390.000 2510.000 356.000 2515.000 361.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Naldurg + 1146= + { + position= + { +2560.000 331.000 2541.000 349.000 2545.000 337.000 2558.000 383.000 2563.000 388.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Mandapika + 1147= + { + position= + { +2487.000 455.000 2501.000 450.000 2489.000 444.000 2508.000 437.000 2513.000 442.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Dasapura + 1148= + { + position= + { +2466.000 502.000 2477.000 494.000 2476.000 506.000 2457.000 547.000 2462.000 552.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Dhara + 1149= + { + position= + { +2486.000 468.000 2486.000 480.000 2472.000 477.000 2530.000 490.000 2535.000 495.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Sarangpur + 1150= + { + position= + { +2531.000 499.000 2529.000 513.000 2545.000 494.000 2568.000 554.000 2573.000 559.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Laksmanavati + 1151= + { + position= + { +2886.000 651.000 2895.000 640.000 2893.000 653.000 2899.000 653.000 2904.000 658.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Mudgagiri + 1152= + { + position= + { +2838.000 666.000 2829.000 653.000 2817.000 655.000 2830.000 651.000 2835.000 656.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Kotivarsa + 1153= + { + position= + { +2875.000 676.000 2859.000 681.000 2869.000 691.000 2927.000 706.000 2932.000 711.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Magadha + 1154= + { + position= + { +2780.000 663.000 2788.000 650.000 2775.000 653.000 2831.000 678.000 2836.000 683.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Sripuri + 1155= + { + position= + { +2738.000 496.000 2733.000 477.000 2751.000 502.000 2735.000 474.000 2740.000 479.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Kodalaka Mandala + 1156= + { + position= + { +2801.000 512.000 2817.000 498.000 2807.000 502.000 2804.000 520.000 2809.000 525.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Balkonda + 1157= + { + position= + { +2643.000 400.000 2657.000 399.000 2628.000 404.000 2694.000 467.000 2699.000 472.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Bidar + 1158= + { + position= + { +2604.000 361.000 2599.000 360.000 2610.000 371.000 2630.000 440.000 2635.000 445.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Ramagiri + 1159= + { + position= + { +2625.000 482.000 2637.000 482.000 2626.000 495.000 2636.000 501.000 2641.000 506.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Rayapura + 1160= + { + position= + { +2717.000 483.000 2702.000 469.000 2693.000 490.000 2729.000 515.000 2734.000 520.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Kasmira + 1161= + { + position= + { +2379.000 836.000 2382.000 830.000 2370.000 844.000 2753.000 554.000 2399.000 815.000 } + rotation= + { +0.000 0.000 0.000 0.000 1.920 } + height= + { +0.000 0.000 0.000 20.000 11.900 } + } +#Kusinagara + 1162= + { + position= + { +2730.000 692.000 2742.000 676.000 2737.000 688.000 2784.000 633.000 2789.000 638.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Varanasi + 1163= + { + position= + { +2713.000 640.000 2694.000 638.000 2700.000 644.000 2735.000 634.000 2740.000 639.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Chauragarh + 1164= + { + position= + { +2600.000 506.000 2583.000 499.000 2610.000 502.000 2642.000 548.000 2647.000 553.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Bandhugadha + 1165= + { + position= + { +2666.000 564.000 2681.000 561.000 2673.000 571.000 2667.000 565.000 2672.000 570.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Jaunpur + 1166= + { + position= + { +2701.000 662.000 2712.000 658.000 2720.000 661.000 2647.000 693.000 2652.000 698.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Lakhnau + 1167= + { + position= + { +2607.000 685.000 2606.000 678.000 2599.000 684.000 2583.000 716.000 2588.000 721.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Katehar + 1168= + { + position= + { +2521.000 742.000 2548.000 725.000 2539.000 728.000 2518.000 741.000 2523.000 746.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Kalpi + 1169= + { + position= + { +2605.000 631.000 2592.000 631.000 2597.000 625.000 2605.000 663.000 2610.000 668.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Vidisa + 1170= + { + position= + { +2578.000 524.000 2586.000 538.000 2590.000 530.000 2628.000 570.000 2633.000 575.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Kalanjara + 1171= + { + position= + { +2655.000 599.000 2646.000 584.000 2663.000 606.000 2552.000 621.000 2557.000 626.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Gwalior + 1172= + { + position= + { +2549.000 614.000 2548.000 603.000 2560.000 623.000 2510.000 561.000 2515.000 566.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Sambhal + 1173= + { + position= + { +2532.000 708.000 2542.000 705.000 2537.000 716.000 2521.000 704.000 2526.000 709.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Godwad + 1174= + { + position= + { +2394.000 508.000 2380.000 510.000 2392.000 520.000 2392.000 536.000 2397.000 541.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Aror + 1175= + { + position= + { +2271.000 574.000 2288.000 570.000 2289.000 581.000 2260.000 607.000 2280.000 578.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 1.200 } + } +#Medantaka + 1176= + { + position= + { +2423.000 589.000 2433.000 586.000 2429.000 596.000 2395.000 627.000 2400.000 632.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Kundina + 1177= + { + position= + { +3031.000 823.000 3027.000 813.000 3045.000 826.000 2481.000 627.000 3022.000 808.000 } + rotation= + { +0.000 0.000 0.000 0.000 2.356 } + height= + { +0.000 0.000 0.000 20.000 1.500 } + } +#Karur + 1178= + { + position= + { +2340.000 671.000 2353.000 660.000 2362.000 669.000 2344.000 708.000 2349.000 713.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Sakala + 1179= + { + position= + { +2415.000 787.000 2426.000 785.000 2415.000 794.000 2350.000 877.000 2355.000 882.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Udabhanda + 1180= + { + position= + { +2295.000 829.000 2318.000 818.000 2301.000 816.000 2235.000 981.000 2240.000 986.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Oshrusana + 1181= + { + position= + { +2144.000 1029.000 2128.000 1032.000 2145.000 1041.000 2157.000 1049.000 2143.000 1050.000 } + rotation= + { +0.000 0.000 0.000 0.000 -1.571 } + height= + { +0.000 0.000 0.000 20.000 2.100 } + } +#Ghazna + 1182= + { + position= + { +2181.000 733.000 2174.000 729.000 2145.000 732.000 2060.000 1120.000 2065.000 1125.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Bost + 1183= + { + position= + { +2146.000 689.000 2118.000 676.000 2098.000 669.000 2110.000 729.000 2115.000 734.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Kalat + 1184= + { + position= + { +2189.000 662.000 2186.000 647.000 2175.000 655.000 2186.000 696.000 2191.000 701.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Kabul + 1185= + { + position= + { +2202.000 821.000 2218.000 805.000 2219.000 829.000 2167.000 797.000 2172.000 802.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Chach + 1186= + { + position= + { +2151.000 1074.000 2154.000 1102.000 2112.000 1102.000 2143.000 961.000 2138.000 1103.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 1.900 } + } +#Kunduz + 1187= + { + position= + { +2200.000 878.000 2168.000 850.000 2173.000 823.000 2154.000 898.000 2159.000 903.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Khuttal + 1188= + { + position= + { +2205.000 917.000 2195.000 908.000 2194.000 941.000 2220.000 1002.000 2198.000 933.000 } + rotation= + { +0.000 0.000 0.000 0.000 -2.182 } + height= + { +0.000 0.000 0.000 20.000 5.550 } + } +#Bamian + 1189= + { + position= + { +2159.000 791.000 2147.000 781.000 2151.000 796.000 2241.000 862.000 2246.000 867.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Gurjaratra + 1190= + { + position= + { +2389.000 797.000 2385.000 784.000 2379.000 791.000 2268.000 876.000 2273.000 881.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Bannu + 1191= + { + position= + { +2255.000 775.000 2279.000 761.000 2269.000 773.000 2280.000 771.000 2285.000 776.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Bhera + 1192= + { + position= + { +2338.000 734.000 2347.000 751.000 2328.000 746.000 2369.000 769.000 2374.000 774.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Trigarta + 1193= + { + position= + { +2450.000 777.000 2457.000 770.000 2449.000 770.000 2399.000 766.000 2404.000 771.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Nagadipa + 1194= + { + position= + { +2767.000 111.000 2773.000 106.000 2758.000 117.000 2759.000 124.000 2763.500 124.000 } + rotation= + { +0.000 0.000 0.000 0.000 -2.531 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Pihiti + 1195= + { + position= + { +2756.000 76.000 2766.000 85.000 2766.000 73.000 2749.000 100.000 2744.500 74.000 } + rotation= + { +0.000 0.000 0.000 0.000 -4.974 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Srirangapatna + 1196= + { + position= + { +2624.000 171.000 2609.000 182.000 2632.000 180.000 2618.000 207.000 2623.000 212.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Dwarasamudra + 1197= + { + position= + { +2590.000 211.000 2600.000 207.000 2584.000 220.000 2582.000 238.000 2587.000 243.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Vatapi + 1198= + { + position= + { +2550.000 276.000 2554.000 264.000 2536.000 278.000 2603.000 270.000 2608.000 275.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Penugonda + 1199= + { + position= + { +2648.000 237.000 2652.000 251.000 2637.000 247.000 2692.000 259.000 2697.000 264.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Kanara + 1200= + { + position= + { +2556.000 183.000 2563.000 176.000 2553.000 198.000 2549.000 208.000 2562.000 167.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.698 } + height= + { +0.000 0.000 0.000 20.000 0.950 } + } +#Kongu + 1201= + { + position= + { +2671.000 153.000 2657.000 142.000 2683.000 155.000 2694.000 166.000 2699.000 171.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Kudalasangama + 1202= + { + position= + { +2574.000 277.000 2579.000 262.000 2588.000 273.000 2588.000 259.000 2593.000 264.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Idatarainadu + 1203= + { + position= + { +2610.000 297.000 2622.000 294.000 2600.000 288.000 2653.000 302.000 2658.000 307.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Nellore + 1204= + { + position= + { +2721.000 258.000 2713.000 279.000 2711.000 258.000 2710.000 290.000 2733.000 256.500 } + rotation= + { +0.000 0.000 0.000 0.000 -1.484 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Narim + 1205= + { + position= + { +2264.000 1648.000 2272.000 1603.000 2313.000 1596.000 1.000 1.000 1.000 6.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Taradavadi + 1206= + { + position= + { +2547.000 314.000 2557.000 315.000 2535.000 305.000 2560.000 319.000 2565.000 324.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Amaravati + 1207= + { + position= + { +2686.000 318.000 2705.000 322.000 2696.000 317.000 2676.000 331.000 2681.000 336.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Kambampet + 1208= + { + position= + { +2697.000 345.000 2710.000 343.000 2700.000 356.000 2715.000 359.000 2720.000 364.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Racakonda + 1209= + { + position= + { +2657.000 338.000 2664.000 344.000 2668.000 339.000 2669.000 364.000 2674.000 369.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Manyakheta + 1210= + { + position= + { +2597.000 328.000 2616.000 322.000 2612.000 332.000 2597.000 328.000 2602.000 333.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Pannagallu + 1211= + { + position= + { +2646.000 305.000 2636.000 312.000 2651.000 319.000 2649.000 346.000 2654.000 351.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Lattalura + 1212= + { + position= + { +2574.000 362.000 2561.000 360.000 2582.000 363.000 2588.000 355.000 2593.000 360.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Kondana + 1213= + { + position= + { +2478.000 333.000 2504.000 330.000 2486.000 344.000 2499.000 368.000 2504.000 373.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Tirunelveli + 1214= + { + position= + { +2674.000 81.000 2669.000 71.000 2682.000 82.000 2684.000 96.000 2679.000 69.000 } + rotation= + { +0.000 0.000 0.000 0.000 -0.611 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Dakhina Desa + 1215= + { + position= + { +2769.000 39.000 2769.000 30.000 2760.000 50.000 2790.000 59.000 2752.500 35.500 } + rotation= + { +0.000 0.000 0.000 0.000 -5.061 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Talakad + 1216= + { + position= + { +2641.000 173.000 2652.000 167.000 2635.000 162.000 2671.000 182.000 2676.000 187.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Nandagiri + 1217= + { + position= + { +2654.000 209.000 2665.000 215.000 2655.000 198.000 2658.000 259.000 2663.000 264.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Alampur + 1218= + { + position= + { +2637.000 286.000 2635.000 266.000 2624.000 280.000 2640.000 278.000 2645.000 283.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Potapi + 1219= + { + position= + { +2705.000 228.000 2687.000 225.000 2698.000 217.000 2700.000 250.000 2705.000 255.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Goa + 1220= + { + position= + { +2490.000 266.000 2495.000 260.000 2485.000 279.000 2511.000 273.000 2482.000 272.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.960 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Vijayawada + 1221= + { + position= + { +2726.000 317.000 2736.000 312.000 2723.000 306.000 2720.000 327.000 2734.000 303.500 } + rotation= + { +0.000 0.000 0.000 0.000 -0.524 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Rajamahendravaram + 1222= + { + position= + { +2751.000 357.000 2733.000 369.000 2755.000 366.000 2749.000 396.000 2754.000 401.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Ishim + 1223= + { + position= + { +2094.000 1523.000 2107.000 1501.000 2077.000 1481.000 1.000 1.000 1.000 6.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Kalinganagar + 1224= + { + position= + { +2806.000 419.000 2793.000 419.000 2807.000 428.000 2816.000 457.000 2815.500 420.500 } + rotation= + { +0.000 0.000 0.000 0.000 -1.047 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Puri + 1225= + { + position= + { +2833.000 465.000 2820.000 457.000 2822.000 464.000 2831.000 487.000 2829.500 454.500 } + rotation= + { +0.000 0.000 0.000 0.000 -1.047 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Nandapur + 1226= + { + position= + { +2765.000 409.000 2760.000 397.000 2771.000 416.000 2778.000 427.000 2783.000 432.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Cakrakuta + 1227= + { + position= + { +2726.000 425.000 2709.000 430.000 2739.000 428.000 2752.000 468.000 2757.000 473.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Swetaka Mandala + 1228= + { + position= + { +2792.000 435.000 2775.000 439.000 2782.000 429.000 2781.000 466.000 2786.000 471.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Khinjali Mandala + 1229= + { + position= + { +2810.000 479.000 2814.000 475.000 2804.000 472.000 2813.000 488.000 2818.000 493.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Suvarnapura + 1230= + { + position= + { +2772.000 486.000 2768.000 472.000 2780.000 497.000 2772.000 497.000 2777.000 502.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Viraja + 1231= + { + position= + { +2841.000 497.000 2853.000 503.000 2845.000 508.000 2810.000 521.000 2865.500 503.500 } + rotation= + { +0.000 0.000 0.000 0.000 -2.356 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Midnapore + 1232= + { + position= + { +2856.000 531.000 2869.000 531.000 2862.000 539.000 2851.000 543.000 2872.500 518.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Saptagrama + 1233= + { + position= + { +2888.000 560.000 2881.000 560.000 2886.000 566.000 2889.000 571.000 2894.000 576.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Damin-i-koh + 1234= + { + position= + { +2814.000 614.000 2829.000 625.000 2814.000 627.000 2905.000 555.000 2910.000 560.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Tamralipti + 1235= + { + position= + { +2890.000 523.000 2901.000 531.000 2897.000 537.000 2934.000 571.000 2906.500 523.000 } + rotation= + { +0.000 0.000 0.000 0.000 -0.698 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Candradvipa + 1236= + { + position= + { +2943.000 560.000 2963.000 575.000 2948.000 569.000 2940.000 580.000 2960.500 555.500 } + rotation= + { +0.000 0.000 0.000 0.000 -0.873 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Rajrappa + 1237= + { + position= + { +2800.000 588.000 2807.000 582.000 2791.000 594.000 2905.000 592.000 2910.000 597.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Mallabhum + 1238= + { + position= + { +2840.000 569.000 2850.000 563.000 2840.000 569.000 2840.000 569.000 2845.000 574.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Vijayapura + 1239= + { + position= + { +2874.000 584.000 2884.000 578.000 2874.000 584.000 2874.000 584.000 2879.000 589.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Kumara Mandala + 1240= + { + position= + { +2933.000 600.000 2943.000 601.000 2921.000 611.000 2880.000 626.000 2885.000 631.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Jharkand + 1241= + { + position= + { +2735.000 588.000 2744.000 575.000 2726.000 576.000 2819.000 599.000 2824.000 604.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Radha + 1242= + { + position= + { +2843.000 592.000 2841.000 601.000 2851.000 602.000 2873.000 598.000 2878.000 603.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Gauda + 1243= + { + position= + { +2871.000 644.000 2880.000 621.000 2871.000 632.000 2864.000 642.000 2869.000 647.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Kamatapur + 1244= + { + position= + { +2896.000 716.000 2890.000 707.000 2882.000 713.000 2849.000 627.000 2854.000 632.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Srihatta + 1245= + { + position= + { +2996.000 689.000 2999.000 670.000 2983.000 685.000 2940.000 641.000 2945.000 646.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Goalpara + 1246= + { + position= + { +2943.000 721.000 2954.000 712.000 2940.000 710.000 2938.000 671.000 2943.000 676.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Khijjingakota + 1247= + { + position= + { +2819.000 522.000 2830.000 518.000 2825.000 531.000 2828.000 555.000 2833.000 560.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Munda + 1248= + { + position= + { +2778.000 549.000 2791.000 545.000 2781.000 561.000 2805.000 572.000 2810.000 577.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Sambalpur + 1249= + { + position= + { +2768.000 517.000 2783.000 516.000 2768.000 530.000 2799.000 548.000 2804.000 553.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Ayodhya + 1250= + { + position= + { +2648.000 676.000 2658.000 671.000 2657.000 682.000 2781.000 565.000 2786.000 570.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Sasaram + 1251= + { + position= + { +2730.000 641.000 2745.000 635.000 2734.000 628.000 2749.000 420.000 2754.000 425.000 } + rotation= + { +0.000 2.618 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Barasuru + 1252= + { + position= + { +2706.000 404.000 2718.000 394.000 2703.000 392.000 2738.000 454.000 2743.000 459.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Nilagiri + 1253= + { + position= + { +2672.000 327.000 2682.000 331.000 2667.000 317.000 2680.000 401.000 2685.000 406.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Vairagara + 1254= + { + position= + { +2666.000 469.000 2664.000 451.000 2652.000 464.000 2676.000 446.000 2681.000 451.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Vemulavada + 1255= + { + position= + { +2637.000 387.000 2643.000 375.000 2631.000 377.000 2635.000 394.000 2640.000 399.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Orangallu + 1256= + { + position= + { +2671.000 369.000 2669.000 381.000 2682.000 381.000 2669.000 413.000 2674.000 418.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Medak + 1257= + { + position= + { +2627.000 363.000 2622.000 347.000 2619.000 356.000 2651.000 435.000 2656.000 440.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Nanded + 1258= + { + position= + { +2586.000 379.000 2585.000 389.000 2595.000 377.000 2601.000 398.000 2606.000 403.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Vatsagulma + 1259= + { + position= + { +2560.000 402.000 2561.000 388.000 2549.000 392.000 2595.000 406.000 2600.000 411.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Nasikya + 1260= + { + position= + { +2464.000 372.000 2476.000 369.000 2457.000 365.000 2548.000 393.000 2553.000 398.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Parnakheta + 1261= + { + position= + { +2567.000 428.000 2579.000 419.000 2554.000 423.000 2589.000 454.000 2594.000 459.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Thalner + 1262= + { + position= + { +2491.000 431.000 2506.000 441.000 2487.000 443.000 2566.000 431.000 2571.000 436.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Burhanpur + 1263= + { + position= + { +2526.000 434.000 2539.000 423.000 2528.000 421.000 2568.000 453.000 2573.000 458.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Nandurbar + 1264= + { + position= + { +2468.000 424.000 2448.000 404.000 2459.000 412.000 2468.000 424.000 2473.000 429.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Sagar + 1265= + { + position= + { +2594.000 310.000 2572.000 302.000 2583.000 307.000 2410.000 417.000 2415.000 422.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Somnath + 1266= + { + position= + { +2350.000 373.000 2363.000 382.000 2351.000 383.000 2346.000 378.000 2371.000 375.000 } + rotation= + { +0.000 0.000 0.000 0.000 -0.785 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Vardhamana + 1267= + { + position= + { +2372.000 433.000 2357.000 416.000 2381.000 437.000 2381.000 394.000 2386.000 399.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Dhamalpur + 1268= + { + position= + { +2345.000 436.000 2337.000 425.000 2353.000 446.000 2348.000 419.000 2326.000 433.000 } + rotation= + { +0.000 0.000 0.000 0.000 2.094 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Canda + 1269= + { + position= + { +2673.000 427.000 2670.000 434.000 2651.000 434.000 2693.000 480.000 2698.000 485.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Kiranapura + 1270= + { + position= + { +2668.000 496.000 2664.000 487.000 2654.000 497.000 2690.000 499.000 2695.000 504.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Tripuri + 1271= + { + position= + { +2641.000 536.000 2637.000 521.000 2652.000 541.000 2740.000 527.000 2745.000 532.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Ratanpur + 1272= + { + position= + { +2705.000 523.000 2717.000 524.000 2693.000 530.000 2724.000 555.000 2729.000 560.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Turgay + 1273= + { + position= + { +1957.000 1287.000 1983.000 1285.000 2022.000 1310.000 1.000 1.000 1.000 6.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Damoh + 1274= + { + position= + { +2617.000 544.000 2620.000 551.000 2612.000 536.000 2645.000 550.000 2650.000 555.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Zaranj + 1275= + { + position= + { +1997.000 640.000 2035.000 634.000 2016.000 652.000 2809.000 598.000 2814.000 603.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Gaya + 1276= + { + position= + { +2782.000 629.000 2772.000 615.000 2781.000 616.000 2802.000 636.000 2807.000 641.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Tummana + 1277= + { + position= + { +2696.000 539.000 2722.000 537.000 2726.000 548.000 2730.000 578.000 2735.000 583.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Gurgi + 1278= + { + position= + { +2683.000 595.000 2689.000 587.000 2697.000 594.000 2721.000 612.000 2726.000 617.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Rohana + 1279= + { + position= + { +2808.000 22.000 2815.000 31.000 2798.000 27.000 2686.000 582.000 2820.000 58.000 } + rotation= + { +0.000 0.000 0.000 0.000 -2.007 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Gojjam + 1280= + { + position= + { +1368.000 43.000 1366.000 65.000 1359.000 51.000 2648.000 597.000 2653.000 602.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Chunar + 1281= + { + position= + { +2703.000 621.000 2703.000 613.000 2692.000 615.000 2684.000 615.000 2689.000 620.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Dotawo + 1282= + { + position= + { +1204.000 329.000 1190.000 332.000 1218.000 338.000 2672.000 654.000 2677.000 659.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Asni + 1283= + { + position= + { +2645.000 632.000 2629.000 635.000 2636.000 634.000 2669.000 639.000 2674.000 644.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Bharauli + 1284= + { + position= + { +2626.000 667.000 2650.000 656.000 2640.000 662.000 2640.000 662.000 2645.000 667.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Acalapura + 1285= + { + position= + { +2582.000 441.000 2602.000 430.000 2593.000 445.000 2612.000 491.000 2617.000 496.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Kherla + 1286= + { + position= + { +2589.000 476.000 2590.000 459.000 2598.000 479.000 2585.000 518.000 2590.000 523.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Asirgarh + 1287= + { + position= + { +2546.000 454.000 2544.000 465.000 2532.000 464.000 2552.000 486.000 2557.000 491.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Ujjayini + 1288= + { + position= + { +2507.000 490.000 2515.000 482.000 2499.000 508.000 2505.000 526.000 2510.000 531.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Dadhipadra + 1289= + { + position= + { +2461.000 461.000 2463.000 449.000 2452.000 461.000 2468.000 491.000 2473.000 496.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Khetaka + 1290= + { + position= + { +2412.000 443.000 2418.000 457.000 2400.000 441.000 2416.000 461.000 2406.000 430.000 } + rotation= + { +0.000 0.000 0.000 0.000 1.309 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Mohadavasaka + 1291= + { + position= + { +2444.000 482.000 2439.000 471.000 2433.000 488.000 2430.000 505.000 2435.000 510.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Sarasvata Mandala + 1292= + { + position= + { +2389.000 475.000 2395.000 461.000 2377.000 469.000 2371.000 487.000 2362.000 458.000 } + rotation= + { +0.000 0.000 0.000 0.000 1.047 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Gulf of Kutch + 1293= + { + position= + { +2324.000 483.000 2301.000 458.000 2324.000 483.000 2308.500 457.500 2329.000 488.000 } + rotation= + { +0.000 0.000 0.000 0.349 0.000 } + height= + { +0.000 0.000 0.000 1.650 0.000 } + } +#Satyapura + 1294= + { + position= + { +2353.000 497.000 2357.000 484.000 2344.000 513.000 2359.000 516.000 2347.000 484.000 } + rotation= + { +0.000 0.000 0.000 0.000 1.134 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Kutch + 1295= + { + position= + { +2327.000 453.000 2300.000 437.000 2286.000 436.000 2261.000 461.000 2297.000 427.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Dimapur + 1296= + { + position= + { +2976.000 732.000 3000.000 730.000 2992.000 734.000 2281.000 477.000 2286.000 482.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Debul + 1297= + { + position= + { +2236.000 480.000 2225.000 486.000 2238.000 494.000 2251.000 519.000 2245.000 477.000 } + rotation= + { +0.000 0.000 0.000 0.000 -1.047 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Chanderi + 1298= + { + position= + { +2573.000 583.000 2584.000 571.000 2585.000 587.000 2557.000 592.000 2562.000 597.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Candhoba + 1299= + { + position= + { +2532.000 573.000 2546.000 565.000 2529.000 584.000 2544.000 610.000 2549.000 615.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Kota + 1300= + { + position= + { +2489.000 547.000 2497.000 535.000 2501.000 562.000 2504.000 591.000 2509.000 596.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Mahoba + 1301= + { + position= + { +2624.000 613.000 2636.000 611.000 2612.000 615.000 2612.000 615.000 2617.000 620.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Chitrakut + 1302= + { + position= + { +2468.000 538.000 2458.000 528.000 2462.000 548.000 2585.000 643.000 2590.000 648.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Ranikot + 1303= + { + position= + { +2235.000 525.000 2239.000 515.000 2227.000 535.000 2241.000 546.000 2231.000 535.000 } + rotation= + { +0.000 0.000 0.000 0.000 1.571 } + height= + { +0.000 0.000 0.000 20.000 0.500 } + } +#Ludrava + 1304= + { + position= + { +2326.000 564.000 2339.000 547.000 2306.000 552.000 2316.000 546.000 2321.000 551.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Lake Balkhash + 1305= + { + position= + { +2336.000 571.000 2346.000 565.000 2336.000 571.000 2336.000 571.000 2341.000 576.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Tura + 1306= + { + position= + { +2242.000 1499.000 2257.000 1517.000 2285.000 1523.000 2312.000 590.000 2317.000 595.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Indus + 1307= + { + position= + { +2252.000 518.000 2258.000 508.000 2278.000 486.000 2252.000 501.000 2283.000 491.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Indus + 1308= + { + position= + { +2240.000 561.000 2235.000 548.000 2239.000 535.000 2290.000 553.000 2295.000 558.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Indus + 1309= + { + position= + { +2300.000 610.000 2293.000 599.000 2276.000 588.000 2306.000 633.000 2311.000 638.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Indus + 1310= + { + position= + { +2302.000 659.000 2300.000 700.000 2299.000 685.000 2318.000 771.000 2323.000 776.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Ganges + 1311= + { + position= + { +2947.000 616.000 2965.000 603.000 2976.000 592.000 2923.000 594.000 2928.000 599.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Ganges + 1312= + { + position= + { +2883.000 639.000 2895.000 621.000 2918.000 624.000 2875.000 603.000 2880.000 608.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Ganges + 1313= + { + position= + { +2800.000 670.000 2822.000 667.000 2846.000 670.000 2819.000 604.000 2824.000 609.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Ganges + 1314= + { + position= + { +2621.000 654.000 2580.000 683.000 2687.000 627.000 2716.000 617.000 2721.000 622.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Ganges + 1315= + { + position= + { +2712.000 608.000 2701.000 627.000 2743.000 618.000 2786.000 593.000 2791.000 598.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Brahmaputra + 1316= + { + position= + { +2921.000 682.000 2925.000 664.000 2928.000 647.000 2901.000 641.000 2906.000 646.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Brahmaputra + 1317= + { + position= + { +2953.000 735.000 2942.000 728.000 2929.000 719.000 2937.000 675.000 2942.000 680.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Samatata + 1318= + { + position= + { +3022.000 566.000 3033.000 571.000 3015.000 577.000 2954.000 594.000 3007.000 566.500 } + rotation= + { +0.000 0.000 0.000 0.000 0.436 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Bikrampur + 1319= + { + position= + { +2955.000 623.000 2969.000 615.000 2962.000 627.000 2949.000 610.000 2965.000 617.000 } + rotation= + { +0.000 0.000 0.000 0.000 4.276 } + height= + { +0.000 0.000 0.000 20.000 1.600 } + } +#Aydhab + 1320= + { + position= + { +1280.000 350.000 1266.000 342.000 1297.000 343.000 2930.000 586.000 1299.000 350.000 } + rotation= + { +0.000 0.000 0.000 0.000 -2.356 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Kamarupanagara + 1321= + { + position= + { +2969.000 747.000 2937.000 737.000 2926.000 730.000 2917.000 615.000 2945.000 739.000 } + rotation= + { +0.000 0.000 0.000 0.000 -1.309 } + height= + { +0.000 0.000 0.000 20.000 1.400 } + } +#Nobatia + 1322= + { + position= + { +1167.000 293.000 1174.000 283.000 1152.000 285.000 2904.000 613.000 2909.000 618.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Nabadwipa + 1323= + { + position= + { +2899.000 591.000 2916.000 575.000 2923.000 586.000 2897.000 591.000 2902.000 596.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Suvarnagram + 1324= + { + position= + { +2968.000 643.000 2957.000 658.000 2947.000 665.000 2935.000 648.000 2940.000 653.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Madhupur + 1325= + { + position= + { +2922.000 651.000 2915.000 647.000 2918.000 638.000 2900.000 632.000 2918.000 631.000 } + rotation= + { +0.000 0.000 0.000 0.000 2.880 } + height= + { +0.000 0.000 0.000 20.000 1.450 } + } +#Napata + 1326= + { + position= + { +1209.000 239.000 1220.000 251.000 1191.000 248.000 2761.000 597.000 2766.000 602.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Rothas + 1327= + { + position= + { +2750.000 616.000 2745.000 604.000 2737.000 604.000 2756.000 597.000 2761.000 602.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Prayaga + 1328= + { + position= + { +2666.000 627.000 2670.000 616.000 2660.000 620.000 2696.000 648.000 2701.000 653.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Ket + 1329= + { + position= + { +2429.000 1592.000 2364.000 1535.000 2410.000 1526.000 2228.000 486.000 2234.000 452.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Suakin + 1330= + { + position= + { +1331.000 276.000 1326.000 293.000 1332.000 263.000 2272.000 485.000 1339.500 262.500 } + rotation= + { +0.000 0.000 0.000 0.000 -1.920 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Sonda + 1331= + { + position= + { +2266.000 499.000 2291.000 482.000 2274.000 485.000 2264.000 519.000 2261.000 481.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.523 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Trinkitat + 1332= + { + position= + { +1381.000 219.000 1384.000 209.000 1369.000 232.000 2281.000 539.000 1389.000 211.000 } + rotation= + { +0.000 0.000 0.000 0.000 -1.833 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Siwistan + 1333= + { + position= + { +2247.000 539.000 2270.000 546.000 2257.000 551.000 2251.000 570.000 2243.000 548.000 } + rotation= + { +0.000 0.000 0.000 0.000 2.356 } + height= + { +0.000 0.000 0.000 20.000 0.500 } + } +#Alodia + 1334= + { + position= + { +1197.000 131.000 1180.000 124.000 1193.000 151.000 2302.000 559.000 2307.000 564.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Kosti + 1335= + { + position= + { +1209.000 55.000 1201.000 70.000 1195.000 50.000 2269.000 602.000 2274.000 607.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Vijnot + 1336= + { + position= + { +2303.000 598.000 2316.000 603.000 2312.000 611.000 2314.000 623.000 2319.000 628.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Uch + 1337= + { + position= + { +2321.000 647.000 2324.000 635.000 2332.000 635.000 2315.000 672.000 2312.000 641.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.785 } + height= + { +0.000 0.000 0.000 20.000 0.300 } + } +#Multan + 1338= + { + position= + { +2318.000 679.000 2321.000 669.000 2313.000 689.000 2324.000 709.000 2308.000 676.000 } + rotation= + { +0.000 0.000 0.000 0.000 -1.571 } + height= + { +0.000 0.000 0.000 20.000 0.350 } + } +#Rajanpur + 1339= + { + position= + { +2288.000 611.000 2277.000 613.000 2286.000 624.000 2297.000 646.000 2282.000 604.000 } + rotation= + { +0.000 0.000 0.000 0.000 2.356 } + height= + { +0.000 0.000 0.000 20.000 1.100 } + } +#Karor + 1340= + { + position= + { +2305.000 727.000 2314.000 719.000 2306.000 738.000 2322.000 769.000 2304.000 715.000 } + rotation= + { +0.000 0.000 0.000 0.000 4.712 } + height= + { +0.000 0.000 0.000 20.000 0.450 } + } +#Nandana + 1341= + { + position= + { +2315.000 786.000 2327.000 773.000 2333.000 788.000 2315.000 752.000 2305.000 767.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.785 } + height= + { +0.000 0.000 0.000 20.000 0.850 } + } +#Purushapura + 1342= + { + position= + { +2248.000 815.000 2266.000 812.000 2256.000 820.000 2310.000 785.000 2315.000 790.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Massawa + 1343= + { + position= + { +1418.000 167.000 1402.000 171.000 1418.000 157.000 2363.000 615.000 1408.000 172.500 } + rotation= + { +0.000 0.000 0.000 0.000 -2.618 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Zeila + 1344= + { + position= + { +1516.000 67.000 1524.000 56.000 1531.000 49.000 2385.000 578.000 1531.000 56.000 } + rotation= + { +0.000 0.000 0.000 0.000 -2.356 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Medapata + 1345= + { + position= + { +2438.000 504.000 2447.000 505.000 2439.000 516.000 2436.000 567.000 2441.000 572.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Ajayameru + 1346= + { + position= + { +2453.000 596.000 2468.000 577.000 2466.000 596.000 2470.000 590.000 2475.000 595.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Taklamakan Desert + 1347= + { + position= + { +2389.000 623.000 2399.000 617.000 2389.000 623.000 2389.000 623.000 2394.000 628.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Burma + 1348= + { + position= + { +2421.000 610.000 2431.000 604.000 2421.000 610.000 2421.000 610.000 2426.000 615.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Vikramapura + 1349= + { + position= + { +2378.000 628.000 2385.000 616.000 2390.000 631.000 2364.000 656.000 2369.000 661.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Reni + 1350= + { + position= + { +2437.000 666.000 2440.000 651.000 2424.000 660.000 2384.000 681.000 2389.000 686.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Tibetan Plateau + 1351= + { + position= + { +2405.000 657.000 2415.000 651.000 2405.000 657.000 2405.000 657.000 2410.000 662.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Sarasvati + 1352= + { + position= + { +2442.000 691.000 2429.000 698.000 2413.000 701.000 2442.000 691.000 2447.000 696.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Vairata + 1353= + { + position= + { +2484.000 635.000 2479.000 623.000 2494.000 627.000 2457.000 684.000 2462.000 689.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Nagauda + 1354= + { + position= + { +2430.000 608.000 2434.000 615.000 2421.000 617.000 2444.000 663.000 2449.000 668.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Ranthambore + 1355= + { + position= + { +2499.000 584.000 2505.000 598.000 2489.000 588.000 2500.000 646.000 2505.000 651.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Kanyakubja + 1356= + { + position= + { +2589.000 667.000 2595.000 649.000 2582.000 656.000 2587.000 687.000 2592.000 692.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Sripatha + 1357= + { + position= + { +2524.000 634.000 2531.000 629.000 2519.000 626.000 2555.000 661.000 2560.000 666.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Vodamayutja + 1358= + { + position= + { +2568.000 695.000 2578.000 693.000 2559.000 700.000 2528.000 716.000 2533.000 721.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Mathura + 1359= + { + position= + { +2532.000 654.000 2541.000 658.000 2524.000 660.000 2540.000 689.000 2545.000 694.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Maldives + 1360= + { + position= + { +2530.000 53.000 2515.000 61.000 2522.000 56.000 2341.000 729.000 2521.000 62.000 } + rotation= + { +0.000 0.000 0.000 0.000 3.665 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Shorkot + 1361= + { + position= + { +2367.000 745.000 2355.000 722.000 2382.000 747.000 2326.000 786.000 2331.000 791.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Lahur + 1362= + { + position= + { +2398.000 768.000 2410.000 753.000 2415.000 762.000 2360.000 783.000 2365.000 788.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Dipalpur + 1363= + { + position= + { +2397.000 729.000 2368.000 702.000 2381.000 715.000 2346.000 762.000 2351.000 767.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Tribandapura + 1364= + { + position= + { +2433.000 726.000 2443.000 727.000 2421.000 728.000 2414.000 731.000 2419.000 736.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Delhi + 1365= + { + position= + { +2500.000 695.000 2513.000 695.000 2507.000 686.000 2503.000 727.000 2508.000 732.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Hisar + 1366= + { + position= + { +2468.000 702.000 2480.000 676.000 2483.000 683.000 2454.000 723.000 2459.000 728.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Sthanisvara + 1367= + { + position= + { +2479.000 736.000 2481.000 746.000 2499.000 737.000 2443.000 775.000 2448.000 780.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Hastinapura + 1368= + { + position= + { +2512.000 719.000 2512.000 709.000 2519.000 713.000 2400.000 795.000 2405.000 800.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Socotra + 1369= + { + position= + { +1761.000 72.000 1775.000 71.000 1781.000 70.000 2187.000 508.000 1768.000 82.000 } + rotation= + { +0.000 0.000 0.000 0.000 3.142 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Armail + 1370= + { + position= + { +2197.000 515.000 2204.000 494.000 2194.000 499.000 2215.000 534.000 2199.500 473.000 } + rotation= + { +0.000 0.000 0.000 0.000 -0.175 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Quzdar + 1371= + { + position= + { +2205.000 568.000 2201.000 561.000 2191.000 577.000 2217.000 562.000 2222.000 567.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Kandail + 1372= + { + position= + { +2220.000 594.000 2200.000 595.000 2199.000 608.000 2184.000 611.000 2189.000 616.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Assab + 1373= + { + position= + { +1441.000 112.000 1436.000 128.000 1451.000 110.000 2197.000 629.000 1450.500 150.500 } + rotation= + { +0.000 0.000 0.000 0.000 -2.880 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Sibi + 1374= + { + position= + { +2218.000 640.000 2234.000 618.000 2220.000 627.000 2245.000 646.000 2250.000 651.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Kafirkot + 1375= + { + position= + { +2281.000 728.000 2289.000 685.000 2286.000 700.000 2255.000 705.000 2260.000 710.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Bori + 1376= + { + position= + { +2247.000 725.000 2241.000 705.000 2231.000 711.000 2231.000 711.000 2236.000 716.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Maymana + 1377= + { + position= + { +2058.000 819.000 2063.000 833.000 2040.000 835.000 2209.000 1137.000 2037.000 818.000 } + rotation= + { +0.000 0.000 0.000 0.000 1.571 } + height= + { +0.000 0.000 0.000 20.000 4.000 } + } +#Urgench + 1378= + { + position= + { +1903.000 1016.000 1895.000 1022.000 1877.000 1022.000 2038.000 1209.000 2043.000 1214.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Asayita + 1379= + { + position= + { +1455.000 80.000 1464.000 86.000 1445.000 77.000 1.000 1.000 1.000 6.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Semien + 1380= + { + position= + { +1376.000 101.000 1372.000 109.000 1366.000 114.000 1.000 1.000 1.000 6.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Pundravardhana + 1381= + { + position= + { +2907.000 673.000 2908.000 681.000 2899.000 680.000 2916.000 666.000 2917.000 675.000 } + rotation= + { +0.000 0.000 0.000 0.000 1.309 } + height= + { +0.000 0.000 0.000 20.000 0.950 } + } +#Gulf of Suez + 1382= + { + position= + { +1256.000 466.000 1252.000 459.000 1267.000 434.000 1.000 1.000 1.000 6.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Northern Red Sea + 1383= + { + position= + { +1334.000 370.000 1314.000 363.000 1338.000 333.000 1.000 1.000 1.000 6.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Central Red Sea + 1384= + { + position= + { +1399.000 262.000 1383.000 255.000 1397.000 266.000 1.000 1.000 1.000 6.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Southern Red Sea + 1385= + { + position= + { +1466.000 154.000 1450.000 179.000 1456.000 202.000 1.000 1.000 1.000 6.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Strait of Mandeb + 1386= + { + position= + { +1549.000 70.000 1538.000 74.000 1541.000 84.000 1.000 1.000 1.000 6.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Gulf of Aden + 1387= + { + position= + { +1620.000 100.000 1622.000 81.000 1664.000 99.000 1.000 1.000 1.000 6.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Horn of Africa + 1388= + { + position= + { +1753.000 116.000 1741.000 91.000 1720.000 90.000 1.000 1.000 1.000 6.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Coast of Dhofar + 1389= + { + position= + { +1835.000 156.000 1818.000 148.000 1822.000 121.000 1.000 1.000 1.000 6.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Southern Coast of Oman + 1390= + { + position= + { +1909.000 173.000 1953.000 221.000 1932.000 184.000 1.000 1.000 1.000 6.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Coast of Muscat + 1391= + { + position= + { +1983.000 258.000 2003.000 296.000 2012.000 266.000 1.000 1.000 1.000 6.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Gulf of Oman + 1392= + { + position= + { +1990.000 391.000 2009.000 378.000 2020.000 357.000 1.000 1.000 1.000 6.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Strait of Hormuz + 1393= + { + position= + { +1914.000 402.000 1911.000 438.000 1945.000 401.000 1.000 1.000 1.000 6.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Eastern Persian Gulf + 1394= + { + position= + { +1781.000 425.000 1822.000 436.000 1805.000 422.000 1.000 1.000 1.000 6.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Western Persian Gulf + 1395= + { + position= + { +1688.000 540.000 1700.000 514.000 1710.000 495.000 1.000 1.000 1.000 6.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Coast of Makran + 1396= + { + position= + { +2115.000 434.000 2105.000 417.000 2117.000 393.000 1.000 1.000 1.000 6.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Indus Delta + 1397= + { + position= + { +2264.000 391.000 2242.000 425.000 2214.000 449.000 1.000 1.000 1.000 6.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Coast of Gujarat + 1398= + { + position= + { +2476.000 230.000 2322.000 324.000 2421.000 236.000 1.000 1.000 1.000 6.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Coast of Konkan + 1399= + { + position= + { +1.000 1.000 2391.000 282.000 2389.000 281.000 1.000 1.000 1.000 6.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Coast of Malabar + 1400= + { + position= + { +2527.000 148.000 2512.000 176.000 2507.000 147.000 1.000 1.000 1.000 6.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Karnataka Coast + 1401= + { + position= + { +2536.000 90.000 2564.000 78.000 2624.813 40.198 1.000 1.000 1.000 6.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Gulf of Mannar + 1402= + { + position= + { +2727.000 54.000 2707.000 30.000 2718.000 59.000 1.000 1.000 1.000 6.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#South Lanka Coast + 1403= + { + position= + { +2840.000 50.000 2855.000 42.000 2842.000 62.000 1.000 1.000 1.000 6.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Palk Strait + 1404= + { + position= + { +2756.000 150.000 2761.000 146.000 2767.000 151.000 1.000 1.000 1.000 6.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#North Lanka Coast + 1405= + { + position= + { +2809.000 144.000 2823.000 111.000 2825.000 142.000 1.000 1.000 1.000 6.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#South Coromandel Coast + 1406= + { + position= + { +2791.000 235.000 2768.000 214.000 2812.000 207.000 1.000 1.000 1.000 6.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#North Coromandel Coast + 1407= + { + position= + { +2897.000 394.000 2795.000 318.000 2867.000 395.000 1.000 1.000 1.000 6.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Anxi + 1408= + { + position= + { +2935.000 1377.000 2926.000 1368.000 2956.000 1380.000 1.000 1.000 1.000 6.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Coast of Orissa + 1409= + { + position= + { +2841.000 465.000 2850.000 399.000 2841.000 465.000 2841.000 465.000 2846.000 470.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Coast of Kataka + 1410= + { + position= + { +2942.000 483.000 2903.000 483.000 2910.000 457.000 2915.000 526.000 2920.000 531.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Ganges Delta + 1411= + { + position= + { +2989.000 552.000 2982.000 530.000 2987.000 503.000 2992.000 574.000 2997.000 579.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Arabian Sea + 1412= + { + position= + { +2147.000 355.000 2144.000 348.000 2165.000 313.000 1.000 1.000 1.000 6.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Venadu + 1413= + { + position= + { +2630.000 93.000 2646.000 76.000 2639.000 84.000 2649.000 101.000 2631.000 75.000 } + rotation= + { +0.000 0.000 0.000 0.000 1.047 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Kotthasara + 1414= + { + position= + { +2796.000 78.000 2800.000 69.000 2792.000 87.000 2798.000 91.000 2803.000 90.000 } + rotation= + { +0.000 0.000 0.000 0.000 -2.269 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Pithapuram + 1415= + { + position= + { +2772.000 357.000 2771.000 347.000 2765.000 351.000 2767.000 401.000 2782.000 353.000 } + rotation= + { +0.000 0.000 0.000 0.000 -1.571 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Kolhapur + 1416= + { + position= + { +2513.000 286.000 2508.000 303.000 2522.000 282.000 2513.000 286.000 2518.000 291.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Wag + 1417= + { + position= + { +1391.000 112.000 1389.000 104.000 1397.000 105.000 1.000 1.000 1.000 6.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Haruppeswara + 1418= + { + position= + { +2996.000 777.000 3004.000 763.000 2989.000 763.000 2962.000 753.000 3002.000 757.000 } + rotation= + { +0.349 0.000 0.000 0.000 2.618 } + height= + { +0.000 0.000 0.000 20.000 3.700 } + } +#Mithila + 1419= + { + position= + { +2803.000 702.000 2817.000 688.000 2800.000 686.000 2861.000 729.000 2866.000 734.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Simaramapura + 1420= + { + position= + { +2757.000 704.000 2757.000 698.000 2767.000 701.000 2723.000 739.000 2728.000 744.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Sravasti + 1421= + { + position= + { +2660.000 699.000 2675.000 693.000 2664.000 691.000 2719.000 740.000 2724.000 745.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Naimisa + 1422= + { + position= + { +2614.000 698.000 2627.000 703.000 2618.000 709.000 2611.000 738.000 2616.000 743.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Fergana + 1423= + { + position= + { +2243.000 1056.000 2257.000 1061.000 2242.000 1049.000 2379.000 1139.000 2219.000 1038.000 } + rotation= + { +0.000 0.000 0.000 0.000 3.927 } + height= + { +0.000 0.000 0.000 20.000 2.900 } + } +#Chuy + 1424= + { + position= + { +2298.000 1179.000 2281.000 1180.000 2313.000 1196.000 2341.000 1223.000 2346.000 1228.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Ili + 1425= + { + position= + { +2461.000 1266.000 2471.000 1260.000 2461.000 1266.000 2461.000 1266.000 2466.000 1271.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Zhetysu + 1426= + { + position= + { +2337.000 1239.000 2340.000 1255.000 2315.000 1278.000 2364.000 1322.000 2369.000 1327.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Urzhar + 1427= + { + position= + { +2464.000 1376.000 2405.000 1359.000 2441.000 1380.000 2453.000 1408.000 2458.000 1413.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Damot + 1428= + { + position= + { +1344.000 26.000 1354.000 29.000 1339.000 16.000 2196.000 1677.000 2201.000 1682.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Begemder + 1429= + { + position= + { +1369.000 81.000 1376.000 89.000 1382.000 79.000 2138.000 1559.000 2143.000 1564.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Kipchak + 1430= + { + position= + { +2050.000 1396.000 2040.000 1370.000 2018.000 1360.000 2098.000 1453.000 2103.000 1458.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Otrar + 1431= + { + position= + { +2126.000 1134.000 2141.000 1165.000 2178.000 1161.000 2168.000 1229.000 2093.000 1155.000 } + rotation= + { +0.000 0.000 0.000 0.000 -1.571 } + height= + { +0.000 0.000 0.000 20.000 1.800 } + } +#Karluk + 1432= + { + position= + { +2240.000 1237.000 2224.000 1214.000 2206.000 1252.000 2251.000 1292.000 2256.000 1297.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Kazakh + 1433= + { + position= + { +2118.000 1253.000 2132.000 1261.000 2164.000 1285.000 2113.000 1371.000 2118.000 1376.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Balkhash + 1434= + { + position= + { +2291.000 1338.000 2289.000 1353.000 2288.000 1399.000 2289.000 1429.000 2294.000 1434.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Kimak + 1435= + { + position= + { +2188.000 1440.000 2177.000 1433.000 2211.000 1444.000 2317.000 1548.000 2322.000 1553.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Lakomelza + 1436= + { + position= + { +1395.000 76.000 1402.000 68.000 1403.000 84.000 2449.000 1702.000 2454.000 1707.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Tigrinya + 1437= + { + position= + { +1340.000 125.000 1355.000 132.000 1342.000 133.000 2493.000 1618.000 2498.000 1623.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Yarkand + 1438= + { + position= + { +2421.000 1016.000 2411.000 1009.000 2425.000 1021.000 2423.000 1075.000 2404.000 1032.000 } + rotation= + { +0.000 0.000 0.000 0.000 2.007 } + height= + { +0.000 0.000 0.000 20.000 9.000 } + } +#Kashgar + 1439= + { + position= + { +2375.000 1067.000 2362.000 1055.000 2376.000 1072.000 2373.000 1122.000 2372.000 1056.000 } + rotation= + { +0.000 0.000 0.000 0.000 1.571 } + height= + { +0.000 0.000 0.000 20.000 9.200 } + } +#Khotan + 1440= + { + position= + { +2471.000 999.000 2490.000 992.000 2474.000 1005.000 2562.000 1057.000 2458.000 1000.000 } + rotation= + { +0.000 0.000 0.000 0.000 2.356 } + height= + { +0.000 0.000 0.000 20.000 10.100 } + } +#Cherchen + 1441= + { + position= + { +2641.000 1082.000 2621.000 1076.000 2645.000 1087.000 2647.000 1115.000 2652.000 1095.000 } + rotation= + { +0.000 0.000 0.000 0.000 -1.571 } + height= + { +0.000 0.000 0.000 20.000 7.500 } + } +#Charkliq + 1442= + { + position= + { +2728.000 1166.000 2704.000 1150.000 2711.000 1170.000 2713.000 1208.000 2697.000 1140.000 } + rotation= + { +0.000 0.000 0.000 0.000 1.309 } + height= + { +0.000 0.000 0.000 20.000 5.650 } + } +#Karashar + 1443= + { + position= + { +2644.000 1224.000 2630.000 1224.000 2655.000 1226.000 2637.000 1291.000 2693.000 1230.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 8.950 } + } +#Kucha + 1444= + { + position= + { +2554.000 1194.000 2547.000 1186.000 2554.000 1205.000 2559.000 1233.000 2577.000 1201.000 } + rotation= + { +0.000 0.000 0.000 0.000 -2.880 } + height= + { +0.000 0.000 0.000 20.000 6.650 } + } +#Aksu + 1445= + { + position= + { +2482.000 1149.000 2464.000 1145.000 2477.000 1160.000 2459.000 1190.000 2469.000 1136.000 } + rotation= + { +0.000 0.000 0.000 0.000 2.356 } + height= + { +0.000 0.000 0.000 20.000 7.750 } + } +#Qocho + 1446= + { + position= + { +2676.000 1293.000 2714.000 1293.000 2683.000 1300.000 2754.000 1364.000 2697.000 1296.000 } + rotation= + { +0.000 0.000 0.000 0.000 -0.524 } + height= + { +0.000 0.000 0.000 20.000 2.500 } + } +#Qroran + 1447= + { + position= + { +2823.000 1226.000 2811.000 1228.000 2828.000 1236.000 2834.000 1305.000 2805.000 1220.000 } + rotation= + { +0.000 0.000 0.000 0.000 2.793 } + height= + { +0.000 0.000 0.000 20.000 8.650 } + } +#Dunhuang + 1448= + { + position= + { +2959.000 1290.000 2933.000 1289.000 2970.000 1298.000 3069.000 1352.000 2918.000 1280.000 } + rotation= + { +0.000 0.000 0.000 0.000 1.920 } + height= + { +0.000 0.000 0.000 20.000 10.650 } + } +#Ürümqi + 1449= + { + position= + { +2630.000 1302.000 2619.000 1303.000 2627.000 1323.000 2595.000 1363.000 2600.000 1368.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Kumul + 1450= + { + position= + { +2807.000 1343.000 2798.000 1345.000 2824.000 1355.000 2860.000 1388.000 2822.000 1334.000 } + rotation= + { +0.000 0.000 0.000 0.000 1.920 } + height= + { +0.000 0.000 0.000 20.000 6.150 } + } +#Altay + 1451= + { + position= + { +2630.000 1475.000 2606.000 1459.000 2635.000 1452.000 2563.000 1516.000 2568.000 1521.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Beshbalik + 1452= + { + position= + { +2701.000 1416.000 2710.000 1427.000 2692.000 1414.000 2677.000 1486.000 2682.000 1491.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Aj Bogd + 1453= + { + position= + { +2886.000 1438.000 2895.000 1442.000 2873.000 1438.000 2903.000 1464.000 2908.000 1469.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Muztau + 1454= + { + position= + { +2530.000 1601.000 2527.000 1572.000 2559.000 1595.000 2583.000 1647.000 2588.000 1652.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Tsagaannuur + 1455= + { + position= + { +2715.000 1519.000 2727.000 1527.000 2727.000 1518.000 2750.000 1566.000 2755.000 1571.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Ikh Bogd + 1456= + { + position= + { +2948.000 1503.000 2926.000 1501.000 2956.000 1511.000 2997.000 1559.000 3002.000 1564.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Kara Khorum + 1457= + { + position= + { +2941.000 1636.000 2934.000 1627.000 2929.000 1639.000 3067.000 1668.000 3072.000 1673.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Khangai + 1458= + { + position= + { +2820.000 1609.000 2812.000 1611.000 2827.000 1621.000 2749.000 1662.000 2754.000 1667.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Kyzyl + 1459= + { + position= + { +2678.000 1652.000 2685.000 1637.000 2691.000 1645.000 2634.000 1680.000 2639.000 1685.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Baygal + 1460= + { + position= + { +2901.000 1742.000 2894.000 1738.000 2909.000 1748.000 3070.000 1859.000 3075.000 1864.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Ötüken + 1461= + { + position= + { +2767.000 1686.000 2759.000 1686.000 2775.000 1696.000 2647.000 1758.000 2652.000 1763.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Gorgol + 1462= + { + position= + { +2564.000 1708.000 2556.000 1704.000 2574.000 1716.000 2636.000 1758.000 2641.000 1763.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#Erchis + 1463= + { + position= + { +2452.000 1651.000 2465.000 1654.000 2444.000 1665.000 2483.000 1733.000 2488.000 1738.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 0.000 0.000 20.000 0.000 } + } +#PROV1464 + 1464= + { + position= + { +3071.000 1313.500 3072.000 1312.000 3071.000 1319.000 3071.000 1319.000 3076.000 1324.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 -9.750 0.000 20.000 0.000 } + } +#PROV1465 + 1465= + { + position= + { +3071.000 900.000 3073.500 894.000 3071.000 900.000 3071.000 900.000 3076.000 905.000 } + rotation= + { +0.000 0.000 0.000 0.000 0.000 } + height= + { +0.000 -9.750 0.000 20.000 0.000 } + } diff --git a/LCDA/map/provinces.bmp b/LCDA/map/provinces.bmp new file mode 100644 index 0000000..0366928 Binary files /dev/null and b/LCDA/map/provinces.bmp differ diff --git a/LCDA/map/rivers.bmp b/LCDA/map/rivers.bmp new file mode 100644 index 0000000..04cef58 Binary files /dev/null and b/LCDA/map/rivers.bmp differ diff --git a/LCDA/map/statics/00_static.txt b/LCDA/map/statics/00_static.txt new file mode 100644 index 0000000..00d6c67 --- /dev/null +++ b/LCDA/map/statics/00_static.txt @@ -0,0 +1,35 @@ +# object = { +# type = "frame" +# position = { 5.000 -8.000 5.000 } +# rotation = { 0.000 0.000 0.000 } +# scale = 99.90 +# } + + object = { + type = "frame3072" + position = { 3.000 -8.000 3.000 } + rotation = { 0.000 0.000 0.000 } + scale = 100.00 + } + +# object = { +# type = "frame3200" +# position = { 3.000 -8.000 3.000 } +# rotation = { 0.000 0.000 0.000 } +# scale = 100.00 +# } +# +# object = { +# type = "frame4096" +# position = { 3.000 -8.000 3.000 } +# rotation = { 0.000 0.000 0.000 } +# scale = 100.00 +# } + +# object = { +# type = "Landmark_Domeoftherock" +# position = { 1428.000 21.100 630.000 } +# rotation = { 0.000 0.000 0.000 } +# scale = 0.7 +# } + \ No newline at end of file diff --git a/LCDA/map/terrain.bmp b/LCDA/map/terrain.bmp new file mode 100644 index 0000000..3b346f0 Binary files /dev/null and b/LCDA/map/terrain.bmp differ diff --git a/LCDA/map/terrain/border0.dds b/LCDA/map/terrain/border0.dds new file mode 100644 index 0000000..716f7e0 Binary files /dev/null and b/LCDA/map/terrain/border0.dds differ diff --git a/LCDA/map/terrain/border1.dds b/LCDA/map/terrain/border1.dds new file mode 100644 index 0000000..bffc3ac Binary files /dev/null and b/LCDA/map/terrain/border1.dds differ diff --git a/LCDA/map/terrain/border2.dds b/LCDA/map/terrain/border2.dds new file mode 100644 index 0000000..3830a78 Binary files /dev/null and b/LCDA/map/terrain/border2.dds differ diff --git a/LCDA/map/terrain/border3.dds b/LCDA/map/terrain/border3.dds new file mode 100644 index 0000000..b6b8ce3 Binary files /dev/null and b/LCDA/map/terrain/border3.dds differ diff --git a/LCDA/map/terrain/border4.dds b/LCDA/map/terrain/border4.dds new file mode 100644 index 0000000..d4ceea1 Binary files /dev/null and b/LCDA/map/terrain/border4.dds differ diff --git a/LCDA/map/terrain/border5.dds b/LCDA/map/terrain/border5.dds new file mode 100644 index 0000000..fc2a4eb Binary files /dev/null and b/LCDA/map/terrain/border5.dds differ diff --git a/LCDA/map/terrain/colormap.dds b/LCDA/map/terrain/colormap.dds new file mode 100644 index 0000000..99e732d Binary files /dev/null and b/LCDA/map/terrain/colormap.dds differ diff --git a/LCDA/map/terrain/colormap_water.dds b/LCDA/map/terrain/colormap_water.dds new file mode 100644 index 0000000..3d8e915 Binary files /dev/null and b/LCDA/map/terrain/colormap_water.dds differ diff --git a/LCDA/map/topology.bmp b/LCDA/map/topology.bmp new file mode 100644 index 0000000..7bc90cb Binary files /dev/null and b/LCDA/map/topology.bmp differ diff --git a/LCDA/map/trees.bmp b/LCDA/map/trees.bmp new file mode 100644 index 0000000..aed08d1 Binary files /dev/null and b/LCDA/map/trees.bmp differ diff --git a/LCDA/map/world_normal_height.bmp b/LCDA/map/world_normal_height.bmp new file mode 100644 index 0000000..e99cda2 Binary files /dev/null and b/LCDA/map/world_normal_height.bmp differ