This commit is contained in:
Heidesommer 2026-05-26 01:52:03 -04:00
parent 240f4d01ae
commit 066ca149c5
22 changed files with 1765 additions and 1758 deletions

View file

@ -996,12 +996,12 @@ activity_feast = {
else = { else = {
add = base_feast_cost_value add = base_feast_cost_value
} }
if = { # if = {
limit = { # limit = {
has_title = title:e_minister_of_revenue # has_title = title:e_minister_of_revenue
} # }
multiply = 0.85 # multiply = 0.85
} # }
} }
treasury = { treasury = {
if = { if = {
@ -1019,15 +1019,15 @@ activity_feast = {
} }
value = 0 value = 0
} }
else = { # else = {
value = base_feast_cost_value # value = base_feast_cost_value
if = { # if = {
limit = { # limit = {
has_title = title:e_minister_of_revenue # has_title = title:e_minister_of_revenue
} # }
multiply = 0.85 # multiply = 0.85
} # }
} # }
} }
piety = { piety = {
if = { if = {

View file

@ -715,12 +715,12 @@ activity_funeral = {
} }
} }
} }
if = { # if = {
limit = { # limit = {
has_title = title:e_minister_of_revenue # has_title = title:e_minister_of_revenue
} # }
multiply = 0.85 # multiply = 0.85
} # }
} }
} }
@ -773,12 +773,12 @@ activity_funeral = {
divide = 5 divide = 5
ceiling = yes ceiling = yes
multiply = 5 multiply = 5
if = { # if = {
limit = { # limit = {
has_title = title:e_minister_of_revenue # has_title = title:e_minister_of_revenue
} # }
multiply = 0.85 # multiply = 0.85
} # }
} }
} }

View file

@ -281,12 +281,12 @@
value = standard_roaming_activity_cost value = standard_roaming_activity_cost
desc = hunt_base_cost desc = hunt_base_cost
} }
if = { # if = {
limit = { # limit = {
has_title = title:e_minister_of_revenue # has_title = title:e_minister_of_revenue
} # }
multiply = 0.85 # multiply = 0.85
} # }
} }
} }
@ -298,12 +298,12 @@
divide = 5 divide = 5
ceiling = yes ceiling = yes
multiply = 5 multiply = 5
if = { # if = {
limit = { # limit = {
has_title = title:e_minister_of_revenue # has_title = title:e_minister_of_revenue
} # }
multiply = 0.85 # multiply = 0.85
} # }
} }
} }
@ -393,8 +393,8 @@
1 = { add_character_flag = roaming_very_strong_stress_loss } 1 = { add_character_flag = roaming_very_strong_stress_loss }
} }
roaming_tally_variable_effect = { TYPE = stress VALUE = roaming_outro_stress_loss_value } roaming_tally_variable_effect = { TYPE = stress VALUE = roaming_outro_stress_loss_value }
roaming_tally_stress_impact_effect = { TRAIT = athletic VALUE = medium_stress_impact_loss } roaming_tally_stress_impact_effect = { TRAIT = trait:athletic VALUE = medium_stress_impact_loss }
roaming_tally_stress_impact_effect = { TRAIT = lifestyle_traveler VALUE = minor_stress_impact_loss } roaming_tally_stress_impact_effect = { TRAIT = trait:lifestyle_traveler VALUE = minor_stress_impact_loss }
trigger_event = { id = bp3_roaming.0010 } trigger_event = { id = bp3_roaming.0010 }
} }
} }

View file

@ -414,12 +414,12 @@
} }
} }
} }
if = { # if = {
limit = { # limit = {
has_title = title:e_minister_of_revenue # has_title = title:e_minister_of_revenue
} # }
multiply = 0.85 # multiply = 0.85
} # }
} }
treasury = { # Make sure this matches the gold cost above treasury = { # Make sure this matches the gold cost above
if = { if = {
@ -527,12 +527,12 @@
else = { else = {
value = 0 value = 0
} }
if = { # if = {
limit = { # limit = {
has_title = title:e_minister_of_revenue # has_title = title:e_minister_of_revenue
} # }
multiply = 0.85 # multiply = 0.85
} # }
} }
piety = { piety = {
if = { if = {
@ -788,12 +788,12 @@
ceiling = yes ceiling = yes
multiply = 5 multiply = 5
} }
if = { # if = {
limit = { # limit = {
has_title = title:e_minister_of_revenue # has_title = title:e_minister_of_revenue
} # }
multiply = 0.85 # multiply = 0.85
} # }
} }
treasury = { # Make sure this matches the gold cost above treasury = { # Make sure this matches the gold cost above
if = { if = {
@ -873,12 +873,12 @@
else = { else = {
value = 0 value = 0
} }
if = { # if = {
limit = { # limit = {
has_title = title:e_minister_of_revenue # has_title = title:e_minister_of_revenue
} # }
multiply = 0.85 # multiply = 0.85
} # }
} }
piety = { piety = {
if = { if = {

View file

@ -1028,12 +1028,12 @@
} }
min = minor_gold_value min = minor_gold_value
} }
if = { # if = {
limit = { # limit = {
has_title = title:e_minister_of_revenue # has_title = title:e_minister_of_revenue
} # }
multiply = 0.85 # multiply = 0.85
} # }
} }
} }
@ -1239,12 +1239,12 @@
divide = 5 divide = 5
ceiling = yes ceiling = yes
multiply = 5 multiply = 5
if = { # if = {
limit = { # limit = {
has_title = title:e_minister_of_revenue # has_title = title:e_minister_of_revenue
} # }
multiply = 0.85 # multiply = 0.85
} # }
} }
} }

View file

@ -203,7 +203,7 @@ walls_of_nijmegen_01 = {
type_icon = "toledo.dds" type_icon = "toledo.dds"
can_construct_potential = { can_construct_potential = {
scope:holder.culture = { has_innovation = innovation_mottes } scope:holder.culture = { has_innovation = innovation_motte }
building_requirement_tribal = no building_requirement_tribal = no
} }
@ -655,7 +655,7 @@ verdun_memorial_01 = {
tour_eiffel_01 = { tour_eiffel_01 = {
constrcution_time = very_slow_construction_time construction_time = very_slow_construction_time
type_icon = "tour_eiffel.dds" type_icon = "tour_eiffel.dds"
@ -704,7 +704,7 @@ tour_eiffel_01 = {
napoleon_line_01 = { napoleon_line_01 = {
constrcution_time = very_slow_construction_time construction_time = very_slow_construction_time
type_icon = "icon_structure_visby_ringmur.dds" type_icon = "icon_structure_visby_ringmur.dds"
@ -745,7 +745,7 @@ napoleon_line_01 = {
napoleon_line_02 = { napoleon_line_02 = {
constrcution_time = very_slow_construction_time construction_time = very_slow_construction_time
type_icon = "icon_structure_york_walls.dds" type_icon = "icon_structure_york_walls.dds"
@ -811,7 +811,7 @@ palace_versailles_01 = {
prestige_level >= 4 prestige_level >= 4
highest_held_title_tier >= tier_duchy highest_held_title_tier >= tier_duchy
} }
scope:holder.culture = { has_innovation = innovation_bailiffs } scope:holder.culture = { has_innovation = innovation_baliffs }
} }
effect_desc = feast_cost_discount_max_desc effect_desc = feast_cost_discount_max_desc
@ -1201,7 +1201,7 @@ palace_fontainebleau_01 = {
prestige_level >= 4 prestige_level >= 4
highest_held_title_tier >= tier_duchy highest_held_title_tier >= tier_duchy
} }
scope:holder.culture = { has_innovation = innovation_bailiffs } scope:holder.culture = { has_innovation = innovation_baliffs }
building_requirement_tribal = no building_requirement_tribal = no
} }
@ -1417,7 +1417,7 @@ capitole_toulouse_01 = {
chateau_bretagne_01 = { chateau_bretagne_01 = {
constrcution_time = very_slow_construction_time construction_time = very_slow_construction_time
type_icon = "icon_building_leisure_palace.dds" type_icon = "icon_building_leisure_palace.dds"
@ -1461,7 +1461,7 @@ chateau_bretagne_01 = {
chateau_bretagne_02 = { chateau_bretagne_02 = {
constrcution_time = very_slow_construction_time construction_time = very_slow_construction_time
type_icon = "icon_building_leisure_palace.dds" type_icon = "icon_building_leisure_palace.dds"
@ -1903,7 +1903,7 @@ port_of_la_rochelle_03 = {
mont_saint_michel_01 = { mont_saint_michel_01 = {
constrcution_time = very_slow_construction_time construction_time = very_slow_construction_time
type_icon = "icon_structure_mont_st_michel.dds" type_icon = "icon_structure_mont_st_michel.dds"
@ -2025,10 +2025,10 @@ statue_clorinda_01 = {
type_icon = "icon_building_legendary_statue.dds" type_icon = "icon_building_legendary_statue.dds"
is_enabled = { is_enabled = {
alw ays = yes always = yes
} }
constrcution_time = very_slow_construction_time construction_time = very_slow_construction_time
cost = { cost = {
gold = 1000 gold = 1000
@ -3694,10 +3694,10 @@ statue_isildur_01 = {
type_icon = "icon_building_legendary_statue.dds" type_icon = "icon_building_legendary_statue.dds"
is_enabled = { is_enabled = {
alw ays = yes always = yes
} }
constrcution_time = very_slow_construction_time construction_time = very_slow_construction_time
cost = { cost = {
gold = 1000 gold = 1000
@ -3738,7 +3738,7 @@ statue_isildur_01 = {
fourviere_01 = { fourviere_01 = {
constrcution_time = very_slow_construction_time construction_time = very_slow_construction_time
type_icon = "icon_structure_jvari_monastery.dds" type_icon = "icon_structure_jvari_monastery.dds"
@ -3782,7 +3782,7 @@ fourviere_01 = {
university_zurich_01 = { university_zurich_01 = {
constrcution_time = very_slow_construction_time construction_time = very_slow_construction_time
type_icon = "icon_structure_temple_of_uppsala.dds" type_icon = "icon_structure_temple_of_uppsala.dds"
@ -3842,7 +3842,7 @@ university_zurich_01 = {
capitale_bern_01 = { capitale_bern_01 = {
constrcution_time = very_slow_construction_time construction_time = very_slow_construction_time
type_icon = "icon_structure_despot_palace.dds" type_icon = "icon_structure_despot_palace.dds"
@ -3892,7 +3892,7 @@ capitale_bern_01 = {
palais_des_nations_01 = { palais_des_nations_01 = {
constrcution_time = very_slow_construction_time construction_time = very_slow_construction_time
type_icon = "icon_structure_holy_wisdom.dds" type_icon = "icon_structure_holy_wisdom.dds"
@ -4247,7 +4247,7 @@ mountain_fortress_innsbruck_02 = {
plaza_de_toros_01 = { plaza_de_toros_01 = {
constrcution_time = very_slow_construction_time construction_time = very_slow_construction_time
type_icon = "icon_structure_dau.dds" type_icon = "icon_structure_dau.dds"
@ -4287,7 +4287,7 @@ plaza_de_toros_01 = {
plaza_de_toros_02 = { plaza_de_toros_02 = {
constrcution_time = very_slow_construction_time construction_time = very_slow_construction_time
type_icon = "icon_structure_dau.dds" type_icon = "icon_structure_dau.dds"
@ -4341,7 +4341,7 @@ plaza_de_toros_02 = {
leaning_tower_of_pisa_01 = { leaning_tower_of_pisa_01 = {
constrcution_time = very_slow_construction_time construction_time = very_slow_construction_time
type_icon = "icon_building_legendary_watchtower.dds" type_icon = "icon_building_legendary_watchtower.dds"
@ -4386,7 +4386,7 @@ leaning_tower_of_pisa_01 = {
galleria_vittorio_emanuele_01 = { galleria_vittorio_emanuele_01 = {
constrcution_time = very_slow_construction_time construction_time = very_slow_construction_time
type_icon = "icon_structure_special_silk_road_market.dds" type_icon = "icon_structure_special_silk_road_market.dds"
@ -4428,7 +4428,7 @@ galleria_vittorio_emanuele_01 = {
galleria_vittorio_emanuele_02 = { galleria_vittorio_emanuele_02 = {
constrcution_time = very_slow_construction_time construction_time = very_slow_construction_time
type_icon = "icon_structure_special_silk_road_market.dds" type_icon = "icon_structure_special_silk_road_market.dds"
@ -4473,7 +4473,7 @@ galleria_vittorio_emanuele_02 = {
galleria_vittorio_emanuele_03 = { galleria_vittorio_emanuele_03 = {
constrcution_time = very_slow_construction_time construction_time = very_slow_construction_time
type_icon = "icon_structure_special_silk_road_market.dds" type_icon = "icon_structure_special_silk_road_market.dds"
@ -5135,7 +5135,7 @@ palermo_cathedral_01 = {
island_fortress_malta_01 = { island_fortress_malta_01 = {
constrcution_time = very_slow_construction_time construction_time = very_slow_construction_time
type_icon = "icon_structure_maiden_tower.dds" type_icon = "icon_structure_maiden_tower.dds"
@ -6493,7 +6493,7 @@ iglesias_mines_03 = {
county_modifier = { county_modifier = {
tax_mult = 0.12 tax_mult = 0.12
levy_size 0.05 levy_size = 0.05
development_growth_factor = 0.10 development_growth_factor = 0.10
} }
@ -6799,7 +6799,7 @@ monte_amiata_mines_04 = {
croke_park_01 = { croke_park_01 = {
constrcution_time = very_slow_construction_time construction_time = very_slow_construction_time
type_icon = "icon_building_croke.dds" type_icon = "icon_building_croke.dds"
@ -6840,7 +6840,7 @@ croke_park_01 = {
croke_park_02 = { croke_park_02 = {
constrcution_time = very_slow_construction_time construction_time = very_slow_construction_time
type_icon = "icon_building_croke.dds" type_icon = "icon_building_croke.dds"
@ -7489,20 +7489,18 @@ holy_site_canterbury_cathedral_02 = {
} }
can_construct = { can_construct = {
OR = { custom_description = {
scope:holder = { text = holy_site_christian_or_holy_site_trigger
OR = { religion = religion:eastern_orthodox_religion religion = religion:catholic_religion religion = religion:protestant_religion } OR = {
} scope:holder = {
custom_description = { OR = { religion = religion:eastern_orthodox_religion religion = religion:catholic_religion religion = religion:protestant_religion }
text = holy_site_building_trigger }
barony = { custom_description = {
is_holy_site_of = scope:holder.faith text = holy_site_building_trigger
barony = {
is_holy_site_of = scope:holder.faith
}
} }
}
}
scope:holder = {
culture = {
has_innovation = innovation_crop_rotation
} }
} }
} }

View file

@ -16,7 +16,7 @@
temple_citadel_01 = { temple_citadel_01 = {
construction_time = slow_construction_time construction_time = slow_construction_time
assets = {
#Meshes (Indented for readability) #Meshes (Indented for readability)
#Generic Base: #Generic Base:
asset = { asset = {
@ -625,7 +625,7 @@ temple_citadel_01 = {
} }
graphical_regions = { graphical_western graphical_steppe graphical_east_asia graphical_siberia graphical_mediterranean graphical_india graphical_mena } graphical_regions = { graphical_western graphical_steppe graphical_east_asia graphical_siberia graphical_mediterranean graphical_india graphical_mena }
} }
}
can_construct_potential = { can_construct_potential = {
barony_cannot_construct_holding = no barony_cannot_construct_holding = no
scope:holder = { scope:holder = {
@ -946,6 +946,7 @@ temple_citadel_02 = {
#Meshes (Indented for readability) #Meshes (Indented for readability)
### GENERIC ### ### GENERIC ###
#Generic Base: #Generic Base:
assets = {
asset = { asset = {
type = pdxmesh type = pdxmesh
name = "building_western_temple_generic_01_mesh" name = "building_western_temple_generic_01_mesh"
@ -1778,6 +1779,7 @@ temple_citadel_03 = {
#Meshes (Indented for readability) #Meshes (Indented for readability)
### GENERIC ### ### GENERIC ###
#Generic Base: #Generic Base:
assets = {
asset = { asset = {
type = pdxmesh type = pdxmesh
name = "building_western_temple_generic_02_mesh" name = "building_western_temple_generic_02_mesh"
@ -2582,7 +2584,7 @@ temple_citadel_03 = {
temple_citadel_04 = { temple_citadel_04 = {
construction_time = slow_construction_time construction_time = slow_construction_time
assets = {
#Meshes (Indented for readability) #Meshes (Indented for readability)
### GENERIC ### ### GENERIC ###
#Generic Base: #Generic Base:

View file

@ -2608,27 +2608,27 @@ expose_secret_interaction = {
} }
add = { add = {
value = 0 value = 0
if = { # if = {
limit = { # limit = {
scope:actor = { # scope:actor = {
any_character_struggle = { # any_character_struggle = {
phase_has_catalyst = catalyst_reveal_secret_important # phase_has_catalyst = catalyst_reveal_secret_important
} # }
has_character_flag = agenda_towards_escalation # has_character_flag = agenda_towards_escalation
} # }
} # }
add = 200 # add = 200
} # }
else_if = { # else_if = {
limit = { # limit = {
scope:actor = { # scope:actor = {
any_character_struggle = { # any_character_struggle = {
phase_has_catalyst = catalyst_reveal_secret_important # phase_has_catalyst = catalyst_reveal_secret_important
} # }
} # }
} # }
add = -100 # add = -100
} # }
} }
} }
modifier = { modifier = {
@ -2645,27 +2645,27 @@ expose_secret_interaction = {
} }
add = { add = {
value = 0 value = 0
if = { # if = {
limit = { # limit = {
scope:actor = { # scope:actor = {
any_character_struggle = { # any_character_struggle = {
phase_has_catalyst = catalyst_reveal_secret_supporter # phase_has_catalyst = catalyst_reveal_secret_supporter
} # }
has_trait = fp3_struggle_detractor # has_trait = fp3_struggle_detractor
} # }
} # }
add = 200 # add = 200
} # }
else_if = { # else_if = {
limit = { # limit = {
scope:actor = { # scope:actor = {
any_character_struggle = { # any_character_struggle = {
phase_has_catalyst = catalyst_reveal_secret_supporter # phase_has_catalyst = catalyst_reveal_secret_supporter
} # }
} # }
} # }
add = -100 # add = -100
} # }
} }
} }
# modifier = { # modifier = {

View file

@ -188,68 +188,68 @@ gift_interaction = {
} }
} }
# Struggle Catalyst # # Struggle Catalyst
if = { # if = {
limit = { # limit = {
scope:actor = { # scope:actor = {
any_character_struggle = { # any_character_struggle = {
involvement = involved # involvement = involved
phase_has_catalyst = catalyst_gift_independent_ruler # phase_has_catalyst = catalyst_gift_independent_ruler
activate_struggle_catalyst_secondary_character_involvement_involved_trigger = { # activate_struggle_catalyst_secondary_character_involvement_involved_trigger = {
CATALYST = catalyst_gift_independent_ruler # CATALYST = catalyst_gift_independent_ruler
CHAR = scope:recipient # CHAR = scope:recipient
} # }
} # }
} # }
} # }
hidden_effect = { # hidden_effect = {
scope:actor = { # scope:actor = {
every_character_struggle = { # every_character_struggle = {
involvement = involved # involvement = involved
limit = { phase_has_catalyst = catalyst_gift_independent_ruler } # limit = { phase_has_catalyst = catalyst_gift_independent_ruler }
activate_struggle_catalyst = { # activate_struggle_catalyst = {
catalyst = catalyst_gift_independent_ruler # catalyst = catalyst_gift_independent_ruler
character = scope:actor # character = scope:actor
} # }
} # }
} # }
} # }
} # }
if = { # if = {
limit = { # limit = {
fp3_struggle_involves_one_supporter_and_one_detractor = { # fp3_struggle_involves_one_supporter_and_one_detractor = {
FIRST = scope:actor # FIRST = scope:actor
SECOND = scope:recipient # SECOND = scope:recipient
} # }
scope:actor = { # scope:actor = {
any_character_struggle = { # any_character_struggle = {
#involvement = involved # #involvement = involved
activate_struggle_catalyst_secondary_character_involvement_either_trigger = { # activate_struggle_catalyst_secondary_character_involvement_either_trigger = {
CATALYST = catalyst_gift_supporter_detractor_ruler # CATALYST = catalyst_gift_supporter_detractor_ruler
CHAR = scope:recipient # CHAR = scope:recipient
} # }
} # }
} # }
} # }
hidden_effect = { # hidden_effect = {
scope:actor = { # scope:actor = {
every_character_struggle = { # every_character_struggle = {
#involvement = involved # #involvement = involved
limit = { # limit = {
activate_struggle_catalyst_secondary_character_involvement_either_trigger = { # activate_struggle_catalyst_secondary_character_involvement_either_trigger = {
CATALYST = catalyst_gift_supporter_detractor_ruler # CATALYST = catalyst_gift_supporter_detractor_ruler
CHAR = scope:recipient # CHAR = scope:recipient
} # }
} # }
activate_struggle_catalyst = { # activate_struggle_catalyst = {
catalyst = catalyst_gift_supporter_detractor_ruler # catalyst = catalyst_gift_supporter_detractor_ruler
character = scope:actor # character = scope:actor
} # }
log_debug_variable_for_persian_struggle_effect = { VAR = concession_catalyst_gift_supporter_detractor_ruler } # log_debug_variable_for_persian_struggle_effect = { VAR = concession_catalyst_gift_supporter_detractor_ruler }
} # }
} # }
} # }
} # }
# FP2 Urbanism Legacy Perk 2: increase cultural acceptance when gifting a republican vassal # FP2 Urbanism Legacy Perk 2: increase cultural acceptance when gifting a republican vassal
if = { if = {
@ -455,27 +455,27 @@ gift_interaction = {
} }
add = { add = {
value = 0 value = 0
if = { # if = {
limit = { # limit = {
scope:recipient = { # scope:recipient = {
any_character_struggle = { # any_character_struggle = {
phase_has_catalyst = catalyst_gift_independent_ruler # phase_has_catalyst = catalyst_gift_independent_ruler
} # }
has_character_flag = agenda_towards_escalation # has_character_flag = agenda_towards_escalation
} # }
} # }
add = -100 # add = -100
} # }
else_if = { # else_if = {
limit = { # limit = {
scope:recipient = { # scope:recipient = {
any_character_struggle = { # any_character_struggle = {
phase_has_catalyst = catalyst_gift_independent_ruler # phase_has_catalyst = catalyst_gift_independent_ruler
} # }
} # }
} # }
add = 200 # add = 200
} # }
} }
} }
} }
@ -643,93 +643,93 @@ gift_interaction = {
has_relation_rival = scope:actor has_relation_rival = scope:actor
} }
} }
AND = { # Independent ruler within the struggle should be considered # AND = { # Independent ruler within the struggle should be considered
any_character_struggle = { # any_character_struggle = {
phase_has_catalyst = catalyst_gift_independent_ruler # phase_has_catalyst = catalyst_gift_independent_ruler
} # }
} # }
} }
} }
} }
# Struggle # # Struggle
modifier = { # modifier = {
scope:recipient = { # scope:recipient = {
any_character_struggle = { # any_character_struggle = {
involvement = involved # involvement = involved
phase_has_catalyst = catalyst_gift_independent_ruler # phase_has_catalyst = catalyst_gift_independent_ruler
} # }
} # }
scope:actor = { # scope:actor = {
any_character_struggle = { # any_character_struggle = {
involvement = involved # involvement = involved
phase_has_catalyst = catalyst_gift_independent_ruler # phase_has_catalyst = catalyst_gift_independent_ruler
} # }
NOT = { # NOT = {
has_relation_rival = scope:recipient # has_relation_rival = scope:recipient
} # }
} # }
add = { # add = {
value = 0 # value = 0
if = { # if = {
limit = { # limit = {
scope:actor = { # scope:actor = {
has_character_flag = agenda_towards_escalation # has_character_flag = agenda_towards_escalation
} # }
} # }
add = -100 # add = -100
} # }
else_if = { # else_if = {
limit = { # limit = {
scope:actor = { # scope:actor = {
has_character_flag = agenda_towards_deescalation # has_character_flag = agenda_towards_deescalation
} # }
scope:recipient = { # scope:recipient = {
has_character_flag = agenda_towards_deescalation # has_character_flag = agenda_towards_deescalation
} # }
} # }
add = { # add = {
value = 150 # value = 150
if = { # if = {
limit = { scope:recipient = { is_ai = no} } # limit = { scope:recipient = { is_ai = no} }
add = 150 # higher for human player to Prioritize them # add = 150 # higher for human player to Prioritize them
} # }
# Then lower the intent depending on the gold reserve # # Then lower the intent depending on the gold reserve
# Base value applied if the AI has 3x the gold cutoff # # Base value applied if the AI has 3x the gold cutoff
multiply = { # multiply = {
value = short_term_gold # value = short_term_gold
divide = { # divide = {
value = gift_interaction_cutoff # value = gift_interaction_cutoff
multiply = 3 # multiply = 3
} # }
} # }
} # }
} # }
else_if = { # else_if = {
limit = { # limit = {
scope:actor = { # scope:actor = {
has_character_flag = agenda_towards_deescalation # has_character_flag = agenda_towards_deescalation
} # }
} # }
add = { # add = {
value = 25 # value = 25
if = { # if = {
limit = { scope:recipient = { is_ai = no} } # limit = { scope:recipient = { is_ai = no} }
add = 150 # higher for human player to Prioritize them # add = 150 # higher for human player to Prioritize them
} # }
# Then lower the intent depending on the gold reserve # # Then lower the intent depending on the gold reserve
# Base value applied if the AI has 3x the gold cutoff # # Base value applied if the AI has 3x the gold cutoff
multiply = { # multiply = {
value = short_term_gold # value = short_term_gold
divide = { # divide = {
value = gift_interaction_cutoff # value = gift_interaction_cutoff
multiply = 3 # multiply = 3
} # }
} # }
} # }
} # }
} # }
} # }
modifier = { modifier = {
factor = 0.1 factor = 0.1

View file

@ -1404,70 +1404,70 @@
} }
} }
} }
modifier = { # modifier = {
scope:recipient = { # scope:recipient = {
has_trait = fp3_struggle_supporter # has_trait = fp3_struggle_supporter
any_character_struggle = { # any_character_struggle = {
involvement = involved # involvement = involved
} # }
} # }
add = { # add = {
value = 0 # value = 0
if = { # if = {
limit = { # limit = {
scope:actor = { # scope:actor = {
any_character_struggle = { # any_character_struggle = {
phase_has_catalyst = catalyst_imprison_supporter # phase_has_catalyst = catalyst_imprison_supporter
} # }
has_trait = fp3_struggle_detractor # has_trait = fp3_struggle_detractor
} # }
} # }
add = 200 # add = 200
} # }
else_if = { # else_if = {
limit = { # limit = {
scope:actor = { # scope:actor = {
any_character_struggle = { # any_character_struggle = {
phase_has_catalyst = catalyst_imprison_supporter # phase_has_catalyst = catalyst_imprison_supporter
} # }
} # }
} # }
add = -100 # add = -100
} # }
} # }
} # }
modifier = { # modifier = {
scope:recipient = { # scope:recipient = {
has_trait = fp3_struggle_detractor # has_trait = fp3_struggle_detractor
any_character_struggle = { # any_character_struggle = {
involvement = involved # involvement = involved
} # }
} # }
add = { # add = {
value = 0 # value = 0
if = { # if = {
limit = { # limit = {
scope:actor = { # scope:actor = {
any_character_struggle = { # any_character_struggle = {
phase_has_catalyst = catalyst_imprison_detractor # phase_has_catalyst = catalyst_imprison_detractor
} # }
has_trait = fp3_struggle_supporter # has_trait = fp3_struggle_supporter
} # }
} # }
add = 200 # add = 200
} # }
else_if = { # else_if = {
limit = { # limit = {
scope:actor = { # scope:actor = {
any_character_struggle = { # any_character_struggle = {
phase_has_catalyst = catalyst_imprison_detractor # phase_has_catalyst = catalyst_imprison_detractor
} # }
} # }
} # }
add = -100 # add = -100
} # }
} # }
} # }
# TGP Be more careful with blocs generally # TGP Be more careful with blocs generally
house_bloc_tyranny_war_modifiers = yes house_bloc_tyranny_war_modifiers = yes

View file

@ -304,11 +304,11 @@ ep3_hof_ask_for_influence_interaction = {
OR = { OR = {
AND = { AND = {
has_trait = fornicator has_trait = fornicator
trait_is_shunned_or_criminal_in_faith_trigger = { FAITH = faith TRAIT = fornicator GENDER_CHARACTER = scope:actor } trait_is_shunned_or_criminal_in_faith_trigger = { FAITH = faith TRAIT = trait:fornicator GENDER_CHARACTER = scope:actor }
} }
AND = { AND = {
has_trait = adulterer has_trait = adulterer
trait_is_shunned_or_criminal_in_faith_trigger = { FAITH = faith TRAIT = adulterer GENDER_CHARACTER = scope:actor } trait_is_shunned_or_criminal_in_faith_trigger = { FAITH = faith TRAIT = trait:adulterer GENDER_CHARACTER = scope:actor }
} }
} }
} }
@ -338,15 +338,15 @@ ep3_hof_ask_for_influence_interaction = {
OR = { OR = {
AND = { AND = {
has_trait = kinslayer_1 has_trait = kinslayer_1
trait_is_shunned_or_criminal_in_faith_trigger = { FAITH = faith TRAIT = kinslayer_1 GENDER_CHARACTER = scope:actor } trait_is_shunned_or_criminal_in_faith_trigger = { FAITH = faith TRAIT = trait:kinslayer_1 GENDER_CHARACTER = scope:actor }
} }
AND = { AND = {
has_trait = kinslayer_2 has_trait = kinslayer_2
trait_is_shunned_or_criminal_in_faith_trigger = { FAITH = faith TRAIT = kinslayer_2 GENDER_CHARACTER = scope:actor } trait_is_shunned_or_criminal_in_faith_trigger = { FAITH = faith TRAIT = trait:kinslayer_2 GENDER_CHARACTER = scope:actor }
} }
AND = { AND = {
has_trait = kinslayer_3 has_trait = kinslayer_3
trait_is_shunned_or_criminal_in_faith_trigger = { FAITH = faith TRAIT = kinslayer_3 GENDER_CHARACTER = scope:actor } trait_is_shunned_or_criminal_in_faith_trigger = { FAITH = faith TRAIT = trait:kinslayer_3 GENDER_CHARACTER = scope:actor }
} }
} }
} }

File diff suppressed because it is too large Load diff

View file

@ -1131,7 +1131,7 @@ ribera_dynasty = {
culture = balearic culture = balearic
} }
Miravete_dynasty { Miravete_dynasty = {
name = dynn_Miravete name = dynn_Miravete
culture = castilian culture = castilian
} }

View file

@ -13901,7 +13901,7 @@ set_random_entertainment_text_effect = {
trigger = { trigger = {
OR = { OR = {
root.culture = { has_cultural_parameter = anglic_group_language_param } root.culture = { has_cultural_parameter = anglic_group_language_param }
root.religion = novelist_religion root.religion = religion:novelist_religion
} }
} }
save_scope_value_as = { save_scope_value_as = {
@ -13913,7 +13913,7 @@ set_random_entertainment_text_effect = {
trigger = { trigger = {
OR = { OR = {
root.culture = { has_cultural_parameter = anglic_group_language_param } root.culture = { has_cultural_parameter = anglic_group_language_param }
root.religion = novelist_religion root.religion = religion:novelist_religion
} }
} }
save_scope_value_as = { save_scope_value_as = {
@ -13925,7 +13925,7 @@ set_random_entertainment_text_effect = {
trigger = { trigger = {
OR = { OR = {
root.culture = { has_cultural_parameter = anglic_group_language_param } root.culture = { has_cultural_parameter = anglic_group_language_param }
root.religion = novelist_religion root.religion = religion:novelist_religion
} }
} }
save_scope_value_as = { save_scope_value_as = {
@ -13943,7 +13943,7 @@ set_random_entertainment_text_effect = {
has_cultural_parameter = east_hispanic_group_language_param has_cultural_parameter = east_hispanic_group_language_param
} }
} }
root.religion = novelist_religion root.religion = religion:novelist_religion
} }
} }
save_scope_value_as = { save_scope_value_as = {
@ -13955,7 +13955,7 @@ set_random_entertainment_text_effect = {
trigger = { trigger = {
OR = { OR = {
root.culture = { has_cultural_parameter = french_group_language_param } root.culture = { has_cultural_parameter = french_group_language_param }
root.religion = novelist_religion root.religion = religion:novelist_religion
} }
} }
save_scope_value_as = { save_scope_value_as = {
@ -13967,7 +13967,7 @@ set_random_entertainment_text_effect = {
trigger = { trigger = {
OR = { OR = {
root.culture = { has_cultural_parameter = french_group_language_param } root.culture = { has_cultural_parameter = french_group_language_param }
root.religion = novelist_religion root.religion = religion:novelist_religion
} }
} }
save_scope_value_as = { save_scope_value_as = {
@ -13979,7 +13979,7 @@ set_random_entertainment_text_effect = {
trigger = { trigger = {
OR = { OR = {
root.culture = { has_cultural_parameter = french_group_language_param } root.culture = { has_cultural_parameter = french_group_language_param }
root.religion = novelist_religion root.religion = religion:novelist_religion
} }
} }
save_scope_value_as = { save_scope_value_as = {
@ -13996,7 +13996,7 @@ set_random_entertainment_text_effect = {
has_cultural_parameter = middle_german_group_language_param has_cultural_parameter = middle_german_group_language_param
} }
} }
root.religion = novelist_religion root.religion = religion:novelist_religion
} }
} }
save_scope_value_as = { save_scope_value_as = {
@ -14013,7 +14013,7 @@ set_random_entertainment_text_effect = {
has_cultural_parameter = middle_german_group_language_param has_cultural_parameter = middle_german_group_language_param
} }
} }
root.religion = novelist_religion root.religion = religion:novelist_religion
} }
} }
save_scope_value_as = { save_scope_value_as = {
@ -14025,7 +14025,7 @@ set_random_entertainment_text_effect = {
trigger = { trigger = {
OR = { OR = {
root.culture = { has_cultural_parameter = middle_german_group_language_param } root.culture = { has_cultural_parameter = middle_german_group_language_param }
root.religion = novelist_religion root.religion = religion:novelist_religion
} }
} }
save_scope_value_as = { save_scope_value_as = {
@ -14042,7 +14042,7 @@ set_random_entertainment_text_effect = {
has_cultural_parameter = west_north_germanic_group_language_param has_cultural_parameter = west_north_germanic_group_language_param
} }
} }
root.religion = novelist_religion root.religion = religion:novelist_religion
} }
} }
save_scope_value_as = { save_scope_value_as = {
@ -14054,7 +14054,7 @@ set_random_entertainment_text_effect = {
trigger = { trigger = {
OR = { OR = {
root.culture = { has_cultural_parameter = lausatian_group_language_param } root.culture = { has_cultural_parameter = lausatian_group_language_param }
root.religion = novelist_religion root.religion = religion:novelist_religion
} }
} }
save_scope_value_as = { save_scope_value_as = {
@ -14066,7 +14066,7 @@ set_random_entertainment_text_effect = {
trigger = { trigger = {
OR = { OR = {
root.culture = { has_cultural_parameter = east_slavic_group_language_param } root.culture = { has_cultural_parameter = east_slavic_group_language_param }
root.religion = novelist_religion root.religion = religion:novelist_religion
} }
} }
save_scope_value_as = { save_scope_value_as = {
@ -14084,7 +14084,7 @@ set_random_entertainment_text_effect = {
trigger = { trigger = {
OR = { OR = {
root.culture = { has_cultural_parameter = anglic_group_language_param } root.culture = { has_cultural_parameter = anglic_group_language_param }
root.religion = novelist_religion root.religion = religion:novelist_religion
} }
} }
save_scope_value_as = { save_scope_value_as = {
@ -14096,8 +14096,8 @@ set_random_entertainment_text_effect = {
trigger = { trigger = {
OR = { OR = {
root.culture = { has_cultural_parameter = latin_sprachbund_language_param } root.culture = { has_cultural_parameter = latin_sprachbund_language_param }
root.religion = novelist_religion root.religion = religion:novelist_religion
root.religion = catholic_religion root.religion = religion:catholic_religion
} }
} }
save_scope_value_as = { save_scope_value_as = {
@ -14114,7 +14114,7 @@ set_random_entertainment_text_effect = {
has_cultural_parameter = greek_sprachbund_language_param has_cultural_parameter = greek_sprachbund_language_param
} }
} }
root.religion = novelist_religion root.religion = religion:novelist_religion
} }
} }
save_scope_value_as = { save_scope_value_as = {
@ -14131,7 +14131,7 @@ set_random_entertainment_text_effect = {
has_cultural_parameter = greek_sprachbund_language_param has_cultural_parameter = greek_sprachbund_language_param
} }
} }
root.religion = novelist_religion root.religion = religion:novelist_religion
} }
} }
save_scope_value_as = { save_scope_value_as = {
@ -14143,7 +14143,7 @@ set_random_entertainment_text_effect = {
trigger = { trigger = {
OR = { OR = {
root.culture = { has_cultural_parameter = albanian_group_language_param } root.culture = { has_cultural_parameter = albanian_group_language_param }
root.religion = novelist_religion root.religion = religion:novelist_religion
} }
} }
save_scope_value_as = { save_scope_value_as = {

View file

@ -106,67 +106,73 @@ tgp_examination_should_spend_treasury_trigger = {
# Trigger to enable ministry features in script - Made into a scripted trigger for ease of changing it if needed # Trigger to enable ministry features in script - Made into a scripted trigger for ease of changing it if needed
tgp_has_access_to_ministry_trigger = { tgp_has_access_to_ministry_trigger = {
has_title = title:h_china always = no
government_has_flag = government_is_celestial # has_title = title:h_china
# government_has_flag = government_is_celestial
} }
tgp_is_any_minister = { tgp_is_any_minister = {
liege ?= { tgp_has_access_to_ministry_trigger = yes } always = no
tgp_has_minister_title = yes # liege ?= { tgp_has_access_to_ministry_trigger = yes }
# tgp_has_minister_title = yes
} }
tgp_has_minister_title = { tgp_has_minister_title = {
OR = { always = no
has_title = title:e_minister_chancellor # OR = {
has_title = title:e_minister_censor # has_title = title:e_minister_chancellor
has_title = title:e_minister_grand_marshal # has_title = title:e_minister_censor
has_title = title:e_minister_of_personnel # has_title = title:e_minister_grand_marshal
has_title = title:e_minister_of_revenue # has_title = title:e_minister_of_personnel
has_title = title:e_minister_of_rites # has_title = title:e_minister_of_revenue
has_title = title:e_minister_of_war # has_title = title:e_minister_of_rites
has_title = title:e_minister_of_justice # has_title = title:e_minister_of_war
has_title = title:e_minister_of_works # has_title = title:e_minister_of_justice
} # has_title = title:e_minister_of_works
# }
} }
tgp_has_civilian_minister_title = { tgp_has_civilian_minister_title = {
OR = { always = no
has_title = title:e_minister_chancellor # OR = {
has_title = title:e_minister_censor # has_title = title:e_minister_chancellor
has_title = title:e_minister_of_personnel # has_title = title:e_minister_censor
has_title = title:e_minister_of_revenue # has_title = title:e_minister_of_personnel
has_title = title:e_minister_of_rites # has_title = title:e_minister_of_revenue
has_title = title:e_minister_of_war # has_title = title:e_minister_of_rites
has_title = title:e_minister_of_justice # has_title = title:e_minister_of_war
has_title = title:e_minister_of_works # has_title = title:e_minister_of_justice
} # has_title = title:e_minister_of_works
# }
} }
tgp_is_civilian_minister_title = { tgp_is_civilian_minister_title = {
OR = { always = no
this = title:e_minister_chancellor # OR = {
this = title:e_minister_censor # this = title:e_minister_chancellor
this = title:e_minister_of_personnel # this = title:e_minister_censor
this = title:e_minister_of_revenue # this = title:e_minister_of_personnel
this = title:e_minister_of_rites # this = title:e_minister_of_revenue
this = title:e_minister_of_war # this = title:e_minister_of_rites
this = title:e_minister_of_justice # this = title:e_minister_of_war
this = title:e_minister_of_works # this = title:e_minister_of_justice
} # this = title:e_minister_of_works
# }
} }
tgp_is_minister_title = { tgp_is_minister_title = {
OR = { always = no
this = title:e_minister_chancellor # OR = {
this = title:e_minister_censor # this = title:e_minister_chancellor
this = title:e_minister_grand_marshal # this = title:e_minister_censor
this = title:e_minister_of_personnel # this = title:e_minister_grand_marshal
this = title:e_minister_of_revenue # this = title:e_minister_of_personnel
this = title:e_minister_of_rites # this = title:e_minister_of_revenue
this = title:e_minister_of_war # this = title:e_minister_of_rites
this = title:e_minister_of_justice # this = title:e_minister_of_war
this = title:e_minister_of_works # this = title:e_minister_of_justice
} # this = title:e_minister_of_works
# }
} }
tgp_can_be_a_minister_trigger = { tgp_can_be_a_minister_trigger = {

View file

@ -955,408 +955,409 @@ scripted_effect fp3_decision_0015_apply_seditious_intent_effect = {
} }
} }
} }
#
# Your name is read in the Friday Prayer ## Your name is read in the Friday Prayer
fp3_decision.0015 = { #fp3_decision.0015 = {
type = character_event # type = character_event
title = fp3_decision.0015.t # title = fp3_decision.0015.t
desc = { # desc = {
# Who are we switching to? # # Who are we switching to?
first_valid = { # first_valid = {
# Supporter: switching to detractor. # # Supporter: switching to detractor.
triggered_desc = { # triggered_desc = {
trigger = { has_trait = fp3_struggle_detractor } # trigger = { has_trait = fp3_struggle_detractor }
desc = fp3_decision.0015.desc.switch.supporter_becoming_detractor # desc = fp3_decision.0015.desc.switch.supporter_becoming_detractor
} # }
# Detractor: switching to supporter. # # Detractor: switching to supporter.
triggered_desc = { # triggered_desc = {
trigger = { has_trait = fp3_struggle_supporter } # trigger = { has_trait = fp3_struggle_supporter }
desc = fp3_decision.0015.desc.switch.detractor_becoming_supporter # desc = fp3_decision.0015.desc.switch.detractor_becoming_supporter
} # }
# Neutral: switching to either. # # Neutral: switching to either.
desc = fp3_decision.0015.desc.switch.presently_neutral # desc = fp3_decision.0015.desc.switch.presently_neutral
} # }
# Do we have a liege to consider? # # Do we have a liege to consider?
first_valid = { # first_valid = {
# Yes, and we're making our alignment choice in the event. # # Yes, and we're making our alignment choice in the event.
triggered_desc = { # triggered_desc = {
trigger = { # trigger = {
NOR = { # NOR = {
has_trait = fp3_struggle_supporter # has_trait = fp3_struggle_supporter
has_trait = fp3_struggle_detractor # has_trait = fp3_struggle_detractor
} # }
liege ?= { # liege ?= {
this != root # this != root
OR = { # OR = {
has_trait = fp3_struggle_supporter # has_trait = fp3_struggle_supporter
has_trait = fp3_struggle_detractor # has_trait = fp3_struggle_detractor
} # }
} # }
} # }
desc = fp3_decision.0015.desc.liege.presently_neutral # desc = fp3_decision.0015.desc.liege.presently_neutral
} # }
# Yes, and we'll be aligning with them. # # Yes, and we'll be aligning with them.
triggered_desc = { # triggered_desc = {
trigger = { # trigger = {
NOT = { liege ?= { this = root } } # NOT = { liege ?= { this = root } }
OR = { # OR = {
AND = { # AND = {
has_trait = fp3_struggle_supporter # has_trait = fp3_struggle_supporter
liege ?= { has_trait = fp3_struggle_supporter } # liege ?= { has_trait = fp3_struggle_supporter }
} # }
AND = { # AND = {
has_trait = fp3_struggle_detractor # has_trait = fp3_struggle_detractor
liege ?= { has_trait = fp3_struggle_detractor } # liege ?= { has_trait = fp3_struggle_detractor }
} # }
} # }
} # }
desc = fp3_decision.0015.desc.liege.aligning # desc = fp3_decision.0015.desc.liege.aligning
} # }
# Yes, and we'll be contradicting them. # # Yes, and we'll be contradicting them.
triggered_desc = { # triggered_desc = {
trigger = { # trigger = {
NOT = { liege ?= { this = root } } # NOT = { liege ?= { this = root } }
OR = { # OR = {
AND = { # AND = {
has_trait = fp3_struggle_supporter # has_trait = fp3_struggle_supporter
liege ?= { has_trait = fp3_struggle_detractor } # liege ?= { has_trait = fp3_struggle_detractor }
} # }
AND = { # AND = {
has_trait = fp3_struggle_detractor # has_trait = fp3_struggle_detractor
liege ?= { has_trait = fp3_struggle_supporter } # liege ?= { has_trait = fp3_struggle_supporter }
} # }
} # }
} # }
desc = fp3_decision.0015.desc.liege.contradicting # desc = fp3_decision.0015.desc.liege.contradicting
} # }
# Yes, and they don't much care. # # Yes, and they don't much care.
triggered_desc = { # triggered_desc = {
trigger = { # trigger = {
liege ?= { # liege ?= {
NOR = { # NOR = {
this = root # this = root
has_trait = fp3_struggle_supporter # has_trait = fp3_struggle_supporter
has_trait = fp3_struggle_detractor # has_trait = fp3_struggle_detractor
} # }
} # }
} # }
} # }
# Else no, and we need no loc. # # Else no, and we need no loc.
} # }
} # }
theme = faith # theme = faith
left_portrait = { # left_portrait = {
character = root # character = root
animation = personality_bold # animation = personality_bold
} # }
right_portrait = { # right_portrait = {
character = scope:right_portrait # character = scope:right_portrait
triggered_animation = { # triggered_animation = {
trigger = { # trigger = {
OR = { # OR = {
AND = { # AND = {
has_trait = fp3_struggle_supporter # has_trait = fp3_struggle_supporter
scope:right_portrait = { has_trait = fp3_struggle_supporter } # scope:right_portrait = { has_trait = fp3_struggle_supporter }
} # }
AND = { # AND = {
has_trait = fp3_struggle_detractor # has_trait = fp3_struggle_detractor
scope:right_portrait = { has_trait = fp3_struggle_detractor } # scope:right_portrait = { has_trait = fp3_struggle_detractor }
} # }
} # }
} # }
animation = admiration # animation = admiration
} # }
triggered_animation = { # triggered_animation = {
trigger = { # trigger = {
OR = { # OR = {
AND = { # AND = {
has_trait = fp3_struggle_supporter # has_trait = fp3_struggle_supporter
scope:right_portrait = { has_trait = fp3_struggle_detractor} # scope:right_portrait = { has_trait = fp3_struggle_detractor}
} # }
AND = { # AND = {
has_trait = fp3_struggle_detractor # has_trait = fp3_struggle_detractor
scope:right_portrait = { has_trait = fp3_struggle_supporter } # scope:right_portrait = { has_trait = fp3_struggle_supporter }
} # }
} # }
} # }
animation = anger # animation = anger
} # }
} # }
lower_center_portrait = { character = scope:lower_centre_portrait } # lower_center_portrait = { character = scope:lower_centre_portrait }
#
#
immediate = { # immediate = {
# Work out who goes in the righthand portrait slot. # # Work out who goes in the righthand portrait slot.
## Do we have a suitable liege? # ## Do we have a suitable liege?
if = { # if = {
limit = { # limit = {
top_liege != this # top_liege != this
liege = { # liege = {
OR = { # OR = {
has_trait = fp3_struggle_supporter # has_trait = fp3_struggle_supporter
has_trait = fp3_struggle_detractor # has_trait = fp3_struggle_detractor
} # }
NOT = { has_title = title:d_sunni } # NOT = { has_title = title:d_sunni }
} # }
} # }
liege = { save_scope_as = right_portrait } # liege = { save_scope_as = right_portrait }
# In which case, we try to put the caliph in the bottom slot. # # In which case, we try to put the caliph in the bottom slot.
title:d_sunni.holder = { # title:d_sunni.holder = {
if = { # if = {
limit = { # limit = {
this != root.liege # this != root.liege
} # }
save_scope_as = lower_centre_portrait # save_scope_as = lower_centre_portrait
} # }
} # }
} # }
## If we don't, it's the caliph. # ## If we don't, it's the caliph.
else = { # else = {
title:d_sunni.holder = { save_scope_as = right_portrait } # title:d_sunni.holder = { save_scope_as = right_portrait }
# If we still have a liege, we put them in the bottom slot as they're mentioned in the copy — even though it's for not much caring. # # If we still have a liege, we put them in the bottom slot as they're mentioned in the copy — even though it's for not much caring.
if = { # if = {
limit = { top_liege != this } # limit = { top_liege != this }
liege = { save_scope_as = lower_centre_portrait } # liege = { save_scope_as = lower_centre_portrait }
} # }
} # }
## If we're flipflopping, apply base logic. # ## If we're flipflopping, apply base logic.
if = { # if = {
limit = { # limit = {
OR = { # OR = {
has_trait = fp3_struggle_supporter # has_trait = fp3_struggle_supporter
has_trait = fp3_struggle_detractor # has_trait = fp3_struggle_detractor
} # }
} # }
read_name_in_friday_prayer_scripted_effect = yes # read_name_in_friday_prayer_scripted_effect = yes
# For ease of reference, we save a scope to avoid rechecking this constantly. # # For ease of reference, we save a scope to avoid rechecking this constantly.
save_scope_value_as = { # save_scope_value_as = {
name = change_type # name = change_type
value = flag:flipflop # value = flag:flipflop
} # }
} # }
## If we're neutral, we only flag that — we'll make our actual choice in the options. # ## If we're neutral, we only flag that — we'll make our actual choice in the options.
else = { # else = {
save_scope_value_as = { # save_scope_value_as = {
name = change_type # name = change_type
value = flag:neutral # value = flag:neutral
} # }
} # }
} # }
#
# Neutral: become a supporter, irritate liege. # # Neutral: become a supporter, irritate liege.
option = { # option = {
name = fp3_decision.0015.a # name = fp3_decision.0015.a
flavor = fp3_decision.0015.a.tt # flavor = fp3_decision.0015.a.tt
trigger = { # trigger = {
scope:change_type = flag:neutral # scope:change_type = flag:neutral
liege ?= { # liege ?= {
NOR = { # NOR = {
this = prev # this = prev
this = title:d_sunni.holder # this = title:d_sunni.holder
} # }
} # }
} # }
#
# Switch traits. # # Switch traits.
read_name_in_friday_prayer_guts_become_supporter_effect = yes # read_name_in_friday_prayer_guts_become_supporter_effect = yes
# Annoy your liege. # # Annoy your liege.
fp3_decision_0015_apply_seditious_intent_effect = yes # fp3_decision_0015_apply_seditious_intent_effect = yes
# Apply the remainder effects. # # Apply the remainder effects.
read_name_in_friday_prayer_guts_apply_sundry_changes_effect = yes # read_name_in_friday_prayer_guts_apply_sundry_changes_effect = yes
read_name_in_friday_prayer_guts_apply_house_unity_changes_effect = yes # read_name_in_friday_prayer_guts_apply_house_unity_changes_effect = yes
#
fp3_decision_0015_apply_rebellious_stress_effect = yes # fp3_decision_0015_apply_rebellious_stress_effect = yes
ai_chance = { # ai_chance = {
base = 1 # base = 1
ai_value_modifier = { # ai_value_modifier = {
ai_boldness = 1 # ai_boldness = 1
ai_honor = -0.25 # ai_honor = -0.25
} # }
opinion_modifier = { # opinion_modifier = {
opinion_target = liege # opinion_target = liege
multiplier = -1 # multiplier = -1
} # }
} # }
} # }
#
# Neutral: become a supporter, ignore liege. # # Neutral: become a supporter, ignore liege.
option = { # option = {
name = fp3_decision.0015.b # name = fp3_decision.0015.b
trigger = { scope:change_type = flag:neutral } # trigger = { scope:change_type = flag:neutral }
#
# Switch traits. # # Switch traits.
read_name_in_friday_prayer_guts_become_supporter_effect = yes # read_name_in_friday_prayer_guts_become_supporter_effect = yes
# Apply the remainder effects. # # Apply the remainder effects.
read_name_in_friday_prayer_guts_apply_sundry_changes_effect = yes # read_name_in_friday_prayer_guts_apply_sundry_changes_effect = yes
read_name_in_friday_prayer_guts_apply_house_unity_changes_effect = yes # read_name_in_friday_prayer_guts_apply_house_unity_changes_effect = yes
#
# No extra stress on ignore. # # No extra stress on ignore.
ai_chance = { # ai_chance = {
base = 1 # base = 1
ai_value_modifier = { # ai_value_modifier = {
ai_honor = 0.5 # ai_honor = 0.5
ai_boldness = -0.25 # ai_boldness = -0.25
} # }
opinion_modifier = { # opinion_modifier = {
opinion_target = liege # opinion_target = liege
multiplier = 1 # multiplier = 1
} # }
} # }
} # }
#
# Neutral: become a detractor, irritate liege. # # Neutral: become a detractor, irritate liege.
option = { # option = {
name = fp3_decision.0015.c # name = fp3_decision.0015.c
flavor = fp3_decision.0015.c.tt # flavor = fp3_decision.0015.c.tt
trigger = { # trigger = {
scope:change_type = flag:neutral # scope:change_type = flag:neutral
liege ?= { # liege ?= {
NOR = { # NOR = {
this = prev # this = prev
this = title:d_sunni.holder # this = title:d_sunni.holder
} # }
} # }
} # }
#
# Switch traits. # # Switch traits.
read_name_in_friday_prayer_guts_become_detractor_effect = yes # read_name_in_friday_prayer_guts_become_detractor_effect = yes
# Annoy your liege. # # Annoy your liege.
fp3_decision_0015_apply_seditious_intent_effect = yes # fp3_decision_0015_apply_seditious_intent_effect = yes
# Apply the remainder effects. # # Apply the remainder effects.
read_name_in_friday_prayer_guts_apply_sundry_changes_effect = yes # read_name_in_friday_prayer_guts_apply_sundry_changes_effect = yes
read_name_in_friday_prayer_guts_apply_house_unity_changes_effect = yes # read_name_in_friday_prayer_guts_apply_house_unity_changes_effect = yes
#
fp3_decision_0015_apply_rebellious_stress_effect = yes # fp3_decision_0015_apply_rebellious_stress_effect = yes
ai_chance = { # ai_chance = {
base = 1 # base = 1
ai_value_modifier = { # ai_value_modifier = {
ai_boldness = 1 # ai_boldness = 1
ai_honor = -0.25 # ai_honor = -0.25
} # }
opinion_modifier = { # opinion_modifier = {
opinion_target = liege # opinion_target = liege
multiplier = -1 # multiplier = -1
} # }
} # }
} # }
#
# Neutral: become a detractor, ignore liege. # # Neutral: become a detractor, ignore liege.
option = { # option = {
name = fp3_decision.0015.d # name = fp3_decision.0015.d
trigger = { scope:change_type = flag:neutral } # trigger = { scope:change_type = flag:neutral }
#
# Switch traits. # # Switch traits.
read_name_in_friday_prayer_guts_become_detractor_effect = yes # read_name_in_friday_prayer_guts_become_detractor_effect = yes
# Apply the remainder effects. # # Apply the remainder effects.
read_name_in_friday_prayer_guts_apply_sundry_changes_effect = yes # read_name_in_friday_prayer_guts_apply_sundry_changes_effect = yes
read_name_in_friday_prayer_guts_apply_house_unity_changes_effect = yes # read_name_in_friday_prayer_guts_apply_house_unity_changes_effect = yes
#
# No extra stress on ignore. # # No extra stress on ignore.
ai_chance = { # ai_chance = {
base = 1 # base = 1
ai_value_modifier = { # ai_value_modifier = {
ai_honor = 0.5 # ai_honor = 0.5
ai_boldness = -0.25 # ai_boldness = -0.25
} # }
opinion_modifier = { # opinion_modifier = {
opinion_target = liege # opinion_target = liege
multiplier = 1 # multiplier = 1
} # }
} # }
} # }
#
# Flipflopped + irritate liege. # # Flipflopped + irritate liege.
option = { # option = {
name = fp3_decision.0015.e # name = fp3_decision.0015.e
flavor = fp3_decision.0015.e.tt # flavor = fp3_decision.0015.e.tt
trigger = { # trigger = {
scope:change_type = flag:flipflop # scope:change_type = flag:flipflop
liege ?= { # liege ?= {
NOR = { # NOR = {
this = prev # this = prev
this = title:d_sunni.holder # this = title:d_sunni.holder
} # }
} # }
} # }
#
# Annoy your liege. # # Annoy your liege.
fp3_decision_0015_apply_seditious_intent_effect = yes # fp3_decision_0015_apply_seditious_intent_effect = yes
#
fp3_decision_0015_apply_rebellious_stress_effect = yes # fp3_decision_0015_apply_rebellious_stress_effect = yes
ai_chance = { # ai_chance = {
base = 1 # base = 1
ai_value_modifier = { # ai_value_modifier = {
ai_boldness = 1 # ai_boldness = 1
ai_honor = -0.25 # ai_honor = -0.25
} # }
opinion_modifier = { # opinion_modifier = {
opinion_target = liege # opinion_target = liege
multiplier = -1 # multiplier = -1
} # }
} # }
} # }
#
# Flipflopped + ignore liege. # # Flipflopped + ignore liege.
option = { # option = {
name = fp3_decision.0015.f # name = fp3_decision.0015.f
trigger = { scope:change_type = flag:flipflop } # trigger = { scope:change_type = flag:flipflop }
#
# No further effects. # # No further effects.
#
# No extra stress on ignore. # # No extra stress on ignore.
ai_chance = { # ai_chance = {
base = 1 # base = 1
ai_value_modifier = { # ai_value_modifier = {
ai_honor = 0.5 # ai_honor = 0.5
ai_boldness = -0.25 # ai_boldness = -0.25
} # }
opinion_modifier = { # opinion_modifier = {
opinion_target = liege # opinion_target = liege
multiplier = 1 # multiplier = 1
} # }
} # }
} # }
#
after = { # after = {
# Plus this can be a catalyst. # # Plus this can be a catalyst.
hidden_effect = { # hidden_effect = {
if = { # if = {
limit = { # limit = {
is_important_or_vip_struggle_character = yes # is_important_or_vip_struggle_character = yes
OR = { # OR = {
AND = { # AND = {
any_character_struggle = { phase_has_catalyst = catalyst_became_supporter_fp3 } # any_character_struggle = { phase_has_catalyst = catalyst_became_supporter_fp3 }
has_trait = fp3_struggle_supporter # has_trait = fp3_struggle_supporter
} # }
AND = { # AND = {
any_character_struggle = { phase_has_catalyst = catalyst_became_detractor_fp3 } # any_character_struggle = { phase_has_catalyst = catalyst_became_detractor_fp3 }
has_trait = fp3_struggle_detractor # has_trait = fp3_struggle_detractor
} # }
} # }
} # }
## Is the character now a supporter? Move towards stabilisation. # ## Is the character now a supporter? Move towards stabilisation.
if = { # if = {
limit = { has_trait = fp3_struggle_supporter } # limit = { has_trait = fp3_struggle_supporter }
every_character_struggle = { # every_character_struggle = {
activate_struggle_catalyst = { # activate_struggle_catalyst = {
catalyst = catalyst_became_supporter_fp3 # catalyst = catalyst_became_supporter_fp3
character = root # character = root
} # }
log_debug_variable_for_persian_struggle_effect = { VAR = stabil_catalyst_became_supporter_fp3 } # log_debug_variable_for_persian_struggle_effect = { VAR = stabil_catalyst_became_supporter_fp3 }
} # }
} # }
## Is the character now a detractor? Move towards unrest. # ## Is the character now a detractor? Move towards unrest.
if = { # if = {
limit = { has_trait = fp3_struggle_detractor } # limit = { has_trait = fp3_struggle_detractor }
every_character_struggle = { # every_character_struggle = {
activate_struggle_catalyst = { # activate_struggle_catalyst = {
catalyst = catalyst_became_detractor_fp3 # catalyst = catalyst_became_detractor_fp3
character = root # character = root
} # }
log_debug_variable_for_persian_struggle_effect = { VAR = unrest_catalyst_became_detractor_fp3 } # log_debug_variable_for_persian_struggle_effect = { VAR = unrest_catalyst_became_detractor_fp3 }
} # }
} # }
} # }
} # }
} # }
} #}
#

View file

@ -17,45 +17,45 @@
# FP3 Maintenance Events # FP3 Maintenance Events
# By Ewan Cowhig Croft # By Ewan Cowhig Croft
################################### ###################################
#
scripted_trigger fp3_struggle_0001_valid_ai_struggle_char_trigger = { #scripted_trigger fp3_struggle_0001_valid_ai_struggle_char_trigger = {
# Basic checks. # # Basic checks.
can_execute_decision = fp3_name_read_in_friday_prayer_decision # can_execute_decision = fp3_name_read_in_friday_prayer_decision
is_ai = yes # is_ai = yes
# Suitability for switchin' checks. # # Suitability for switchin' checks.
OR = { # OR = {
# If they're gonna become a supporter, it should make sense. # # If they're gonna become a supporter, it should make sense.
AND = { # AND = {
opinion = { # opinion = {
target = title:d_sunni.holder # target = title:d_sunni.holder
value >= low_positive_opinion # value >= low_positive_opinion
} # }
OR = { # OR = {
# We check for the opposite, since you're flipflopping. # # We check for the opposite, since you're flipflopping.
has_trait = fp3_struggle_detractor # has_trait = fp3_struggle_detractor
NOR = { # NOR = {
has_trait = fp3_struggle_supporter # has_trait = fp3_struggle_supporter
has_trait = fp3_struggle_detractor # has_trait = fp3_struggle_detractor
} # }
} # }
} # }
# If they're gonna become a detractor, that should make sense too. # # If they're gonna become a detractor, that should make sense too.
AND = { # AND = {
opinion = { # opinion = {
target = title:d_sunni.holder # target = title:d_sunni.holder
value <= low_negative_opinion # value <= low_negative_opinion
} # }
OR = { # OR = {
# We check for the opposite, since you're flipflopping. # # We check for the opposite, since you're flipflopping.
has_trait = fp3_struggle_supporter # has_trait = fp3_struggle_supporter
NOR = { # NOR = {
has_trait = fp3_struggle_supporter # has_trait = fp3_struggle_supporter
has_trait = fp3_struggle_detractor # has_trait = fp3_struggle_detractor
} # }
} # }
} # }
} # }
} #}
# #
#fp3_struggle.0001 = { #fp3_struggle.0001 = {
# hidden = yes # hidden = yes

View file

@ -35,20 +35,20 @@ fp3_h_yearly.0001 = {
cp:councillor_court_chaplain = { has_trait = drunkard } cp:councillor_court_chaplain = { has_trait = drunkard }
factor = 0.4 factor = 0.4
} }
modifier = { # modifier = {
any_character_struggle = { # any_character_struggle = {
is_struggle_type = persian_struggle # is_struggle_type = persian_struggle
} # }
add = 0.5 # add = 0.5
} # }
modifier = { # modifier = {
has_trait = fp3_struggle_supporter # has_trait = fp3_struggle_supporter
add = -0.5 # add = -0.5
} # }
modifier = { # modifier = {
has_trait = fp3_struggle_detractor # has_trait = fp3_struggle_detractor
add = 0.5 # add = 0.5
} # }
} }
trigger = { trigger = {

View file

@ -1269,78 +1269,78 @@ tgp_china_ministry.1000 = {
opinion = 50 opinion = 50
} }
add_character_modifier = tgp_personal_honors_modifier add_character_modifier = tgp_personal_honors_modifier
if = { # if = {
limit = { # limit = {
has_title = title:e_minister_chancellor # has_title = title:e_minister_chancellor
} # }
house = { # house = {
add_house_modifier = tgp_e_minister_chancellor_modifier # add_house_modifier = tgp_e_minister_chancellor_modifier
} # }
} # }
else_if = { # else_if = {
limit = { # limit = {
has_title = title:e_minister_censor # has_title = title:e_minister_censor
} # }
house = { # house = {
add_house_modifier = tgp_e_minister_censor_modifier # add_house_modifier = tgp_e_minister_censor_modifier
} # }
} # }
else_if = { # else_if = {
limit = { # limit = {
has_title = title:e_minister_grand_marshal # has_title = title:e_minister_grand_marshal
} # }
house = { # house = {
add_house_modifier = tgp_e_minister_grand_marshal_modifier # add_house_modifier = tgp_e_minister_grand_marshal_modifier
} # }
} # }
else_if = { # else_if = {
limit = { # limit = {
has_title = title:e_minister_of_personnel # has_title = title:e_minister_of_personnel
} # }
house = { # house = {
add_house_modifier = tgp_e_minister_of_personnel_modifier # add_house_modifier = tgp_e_minister_of_personnel_modifier
} # }
} # }
else_if = { # else_if = {
limit = { # limit = {
has_title = title:e_minister_of_revenue # has_title = title:e_minister_of_revenue
} # }
house = { # house = {
add_house_modifier = tgp_e_minister_of_revenue_modifier # add_house_modifier = tgp_e_minister_of_revenue_modifier
} # }
} # }
else_if = { # else_if = {
limit = { # limit = {
has_title = title:e_minister_of_rites # has_title = title:e_minister_of_rites
} # }
house = { # house = {
add_house_modifier = tgp_e_minister_of_rites_modifier # add_house_modifier = tgp_e_minister_of_rites_modifier
} # }
} # }
else_if = { # else_if = {
limit = { # limit = {
has_title = title:e_minister_of_war # has_title = title:e_minister_of_war
} # }
house = { # house = {
add_house_modifier = tgp_e_minister_of_war_modifier # add_house_modifier = tgp_e_minister_of_war_modifier
} # }
} # }
else_if = { # else_if = {
limit = { # limit = {
has_title = title:e_minister_of_justice # has_title = title:e_minister_of_justice
} # }
house = { # house = {
add_house_modifier = tgp_e_minister_of_justice_modifier # add_house_modifier = tgp_e_minister_of_justice_modifier
} # }
} # }
else_if = { # else_if = {
limit = { # limit = {
has_title = title:e_minister_of_works # has_title = title:e_minister_of_works
} # }
house = { # house = {
add_house_modifier = tgp_e_minister_of_works_modifier # add_house_modifier = tgp_e_minister_of_works_modifier
} # }
} # }
dynasty = { add_dynasty_prestige = 2000 } dynasty = { add_dynasty_prestige = 2000 }
} }
} }

View file

@ -2897,67 +2897,67 @@ debug.605 = {
} }
} }
#steam rich presence test - update this event with your new rich presence text to see it in the desc ##steam rich presence test - update this event with your new rich presence text to see it in the desc
debug.700 = { #debug.700 = {
type = character_event # type = character_event
title = steam_rich_presence_debug_t # title = steam_rich_presence_debug_t
desc = steam_rich_presence_debug_desc # desc = steam_rich_presence_debug_desc
theme = realm # theme = realm
orphan = yes # orphan = yes
#
immediate = { # immediate = {
random_ruler = {
limit = {
has_trait = sayyid
NOR = {
has_trait = fp3_struggle_detractor
has_trait = fp3_struggle_supporter
}
}
save_scope_as = sayyid
}
random_ruler = {
limit = {
has_trait = fp3_struggle_detractor
NOT = { has_trait = fp3_struggle_supporter }
}
save_scope_as = fp3_struggle_detractor
}
random_ruler = {
limit = {
has_trait = fp3_struggle_supporter
NOT = { has_trait = fp3_struggle_detractor }
}
save_scope_as = fp3_struggle_supporter
}
random_ruler = {
limit = {
has_character_modifier = fp3_struggle_caliph_super_suspicious_modifier
}
save_scope_as = sus_caliph
}
# random_ruler = { # random_ruler = {
# limit = { # limit = {
# any_character_struggle = { # has_trait = sayyid
# #involvement = involved # NOR = {
# is_struggle_type = persian_struggle # has_trait = fp3_struggle_detractor
# has_trait = fp3_struggle_supporter
# } # }
# } # }
# save_scope_as = persian_struggle # save_scope_as = sayyid
# } # }
# random_ruler = { # random_ruler = {
# limit = { # limit = {
# any_character_struggle = { # has_trait = fp3_struggle_detractor
# #involvement = involved # NOT = { has_trait = fp3_struggle_supporter }
# is_struggle_type = iberian_struggle
# }
# } # }
# save_scope_as = iberian_struggle # save_scope_as = fp3_struggle_detractor
# } # }
} # random_ruler = {
# limit = {
option = {} # has_trait = fp3_struggle_supporter
} # NOT = { has_trait = fp3_struggle_detractor }
# }
# save_scope_as = fp3_struggle_supporter
# }
# random_ruler = {
# limit = {
# has_character_modifier = fp3_struggle_caliph_super_suspicious_modifier
# }
# save_scope_as = sus_caliph
# }
## random_ruler = {
## limit = {
## any_character_struggle = {
## #involvement = involved
## is_struggle_type = persian_struggle
## }
## }
## save_scope_as = persian_struggle
## }
## random_ruler = {
## limit = {
## any_character_struggle = {
## #involvement = involved
## is_struggle_type = iberian_struggle
## }
## }
## save_scope_as = iberian_struggle
## }
# }
#
# option = {}
#}
debug.9595 = { debug.9595 = {
type = character_event type = character_event

View file

@ -86,31 +86,31 @@ c_naxos = {
} }
} }
c_rhodos= { c_rhodos = {
2530.1.1 = { 2530.1.1 = {
holder = greece0039 holder = greece0039
} }
} }
c_euboea= { c_euboea = {
2530.1.1 = { 2530.1.1 = {
holder = greece0035 holder = greece0035
liege = d_thessaly liege = d_thessaly
} }
} }
c_corcyra= { c_corcyra = {
2530.1.1 = { 2530.1.1 = {
holder = greece0025 holder = greece0025
} }
} }
c_serres { c_serres = {
2530.1.1 = { 2530.1.1 = {
holder = greece0044 holder = greece0044
} }
} }
c_kynouria { c_kynouria = {
2530.1.1 = { 2530.1.1 = {
holder = greece0049 holder = greece0049
} }

View file

@ -245,7 +245,7 @@ c_vaucluse={
2555.1.1 = { change_development_level = 11 } 2555.1.1 = { change_development_level = 11 }
} }
d_monaco{ d_monaco = {
2550.1.1 = { 2550.1.1 = {
holder = france_grimaldi_honore holder = france_grimaldi_honore
} }