Alignment

This commit is contained in:
Heidesommer 2026-04-25 03:54:05 -04:00
parent f7a954eb51
commit 15a5108e23
250 changed files with 31104 additions and 25806 deletions

View file

@ -400,14 +400,26 @@ mpo_decisions_events.0005 = {
desc = mpo_decisions_events.0005.desc
theme = crown
override_background = { reference = courtyard }
right_portrait = {
left_portrait = {
character = scope:new_king_ruler
animation = jockey_wave
camera = camera_event_horse_left
animation = standing_horse
camera = camera_event_standing_with_horse_left
}
right_portrait = {
character = scope:vassal
animation = throne_room_kneel_1
camera = camera_event_right_to_the_right
}
immediate = {
ordered_vassal = {
order_by = "opinion(root)"
limit = {
age > 5
basic_is_available_ai = yes
}
save_scope_as = vassal
}
}
option = {
@ -3087,7 +3099,6 @@ mpo_decisions_events.0023 = {
}
}
theme = nomads
#TODO_CD_MPO how about a new positive music sting?
override_background = {
reference = relaxing_room
}
@ -4176,13 +4187,228 @@ mpo_decisions_events.0101 = { #the merchant is back
immediate = {
mpo_paiza_deal_grade_effect = yes
mpo_yurts_paiza_bonuses_effect = yes
if = {
limit = {
domicile ?= {
OR = {
has_domicile_building_or_higher = fertility_trade_yurt_01
has_domicile_building_or_higher = herd_trade_yurt_01
has_domicile_building_or_higher = knight_trade_yurt_01
has_domicile_building_or_higher = merchant_yurt_01
has_domicile_building_or_higher = char_trade_yurt_01
}
}
}
domicile ?= {
if = {
limit = {
has_domicile_building_or_higher = fertility_trade_yurt_01
}
switch = {
trigger = has_domicile_parameter
nomad_yurt_paiza_fertility_gain_lvl_1 = {
root = {
every_held_county = {
limit = {
uses_county_fertility = yes
}
add_county_modifier = {
modifier = paiza_fertility_modifier_1
years = 2
}
}
}
}
nomad_yurt_paiza_fertility_gain_lvl_2 = {
root = {
every_held_county = {
limit = {
uses_county_fertility = yes
}
add_county_modifier = {
modifier = paiza_fertility_modifier_2
years = 4
}
}
}
}
nomad_yurt_paiza_fertility_gain_lvl_3 = {
root = {
every_held_county = {
limit = {
uses_county_fertility = yes
}
add_county_modifier = {
modifier = paiza_fertility_modifier_3
years = 6
}
}
}
}
}
}
if = {
limit = {
has_domicile_building_or_higher = herd_trade_yurt_01
}
switch = {
trigger = has_domicile_parameter
nomad_yurt_paiza_herd_gain_lvl_1= {
change_herd = {
value = root.var:trade_gold_value
multiply = 0.05
}
}
nomad_yurt_paiza_herd_gain_lvl_2 = {
change_herd = {
value = root.var:trade_gold_value
multiply = 0.05
}
}
nomad_yurt_paiza_herd_gain_lvl_3 = {
change_herd = {
value = root.var:trade_gold_value
multiply = 0.2
}
}
}
}
if = {
limit = {
has_domicile_building_or_higher = knight_trade_yurt_01
}
switch = {
trigger = has_domicile_parameter
nomad_yurt_paiza_maa_gain_lvl_1 = {
root = {
spawn_army = {
name = paiza_troops
men_at_arms = {
type = accolade_maa_archers
stacks = 1
}
location = root.location
origin = scope:merchant_origin
inheritable = yes
}
}
}
nomad_yurt_paiza_maa_gain_lvl_2 = {
root = {
spawn_army = {
name = paiza_troops
men_at_arms = {
type = accolade_maa_archers
stacks = 4
}
location = root.location
origin = scope:merchant_origin
inheritable = yes
}
}
}
nomad_yurt_paiza_maa_gain_lvl_3 = {
root = {
spawn_army = {
name = paiza_troops
men_at_arms = {
type = accolade_maa_archers
stacks = 4
}
men_at_arms = {
type = accolade_maa_vanguards
stacks = 4
}
location = root.location
origin = scope:merchant_origin
inheritable = yes
}
}
}
}
}
if = {
limit = {
has_domicile_building_or_higher = char_trade_yurt_01
}
switch = {
trigger = has_domicile_parameter
nomad_yurt_paiza_char_gain_lvl_1 = {
root = {
hidden_effect = {
create_character = {
location = root.location
culture = scope:merchant_origin.county.culture
faith = scope:merchant_origin.county.faith
gender_female_chance = 50
template = peasant_character
save_scope_as = yurt_merchant_char
}
scope:yurt_merchant_char = {
add_trait = lifestyle_traveler
}
add_courtier = scope:yurt_merchant_char
}
}
}
nomad_yurt_paiza_char_gain_lvl_2 = {
root = {
hidden_effect = {
create_character = {
location = root.location
culture = scope:merchant_origin.county.culture
faith = scope:merchant_origin.county.faith
gender_female_chance = 50
template = merchant_template
save_scope_as = yurt_merchant_char
}
scope:yurt_merchant_char = {
add_trait = lifestyle_traveler
}
add_courtier = scope:yurt_merchant_char
}
}
}
nomad_yurt_paiza_char_gain_lvl_3 = {
root = {
hidden_effect = {
create_character = {
location = root.location
culture = scope:merchant_origin.county.culture
faith = scope:merchant_origin.county.faith
gender_female_chance = 50
template = merchant_template
save_scope_as = yurt_merchant_char
}
scope:yurt_merchant_char = {
add_random_skill_point_effect = yes
add_random_skill_point_effect = yes
add_random_skill_point_effect = yes
add_random_skill_point_effect = yes
add_random_skill_point_effect = yes
add_random_skill_point_effect = yes
random_list = {
1 = { add_trait = avaricious }
1 = { add_trait = diplomat }
1 = { add_trait = overseer }
}
add_trait = lifestyle_traveler
}
add_courtier = scope:yurt_merchant_char
}
}
}
}
}
}
}
}
option = { #rejoice!
name = mpo_decisions_events.0101.a
ai_chance = {
base = 10
}
@ -4199,6 +4425,12 @@ mpo_decisions_events.0101 = { #the merchant is back
}
after = {
if = {
limit = {
domicile = { has_domicile_building_or_higher = char_trade_yurt_01 }
}
show_as_tooltip = { add_courtier = scope:yurt_merchant_char }
}
switch = {
trigger = scope:merchant_goods
flag:artifact_material = {
@ -7957,7 +8189,6 @@ mpo_decisions_events.0300 = {
has_domicile_parameter = nomad_yurt_improved_fertility_dance
}
}
custom_tooltip = mpo_decisions_events.0300.a.tt.yurt
scope:fertility_county = {
every_neighboring_county = {
limit = {