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 = {
add = base_feast_cost_value
}
if = {
limit = {
has_title = title:e_minister_of_revenue
}
multiply = 0.85
}
# if = {
# limit = {
# has_title = title:e_minister_of_revenue
# }
# multiply = 0.85
# }
}
treasury = {
if = {
@ -1019,15 +1019,15 @@ activity_feast = {
}
value = 0
}
else = {
value = base_feast_cost_value
if = {
limit = {
has_title = title:e_minister_of_revenue
}
multiply = 0.85
}
}
# else = {
# value = base_feast_cost_value
# if = {
# limit = {
# has_title = title:e_minister_of_revenue
# }
# multiply = 0.85
# }
# }
}
piety = {
if = {

View file

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

View file

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

View file

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

View file

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

View file

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

View file

@ -16,7 +16,7 @@
temple_citadel_01 = {
construction_time = slow_construction_time
assets = {
#Meshes (Indented for readability)
#Generic Base:
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 }
}
}
can_construct_potential = {
barony_cannot_construct_holding = no
scope:holder = {
@ -946,6 +946,7 @@ temple_citadel_02 = {
#Meshes (Indented for readability)
### GENERIC ###
#Generic Base:
assets = {
asset = {
type = pdxmesh
name = "building_western_temple_generic_01_mesh"
@ -1778,6 +1779,7 @@ temple_citadel_03 = {
#Meshes (Indented for readability)
### GENERIC ###
#Generic Base:
assets = {
asset = {
type = pdxmesh
name = "building_western_temple_generic_02_mesh"
@ -2582,7 +2584,7 @@ temple_citadel_03 = {
temple_citadel_04 = {
construction_time = slow_construction_time
assets = {
#Meshes (Indented for readability)
### GENERIC ###
#Generic Base:

View file

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

View file

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

View file

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

View file

@ -304,11 +304,11 @@ ep3_hof_ask_for_influence_interaction = {
OR = {
AND = {
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 = {
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 = {
AND = {
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 = {
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 = {
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
}
Miravete_dynasty {
Miravete_dynasty = {
name = dynn_Miravete
culture = castilian
}

View file

@ -13901,7 +13901,7 @@ set_random_entertainment_text_effect = {
trigger = {
OR = {
root.culture = { has_cultural_parameter = anglic_group_language_param }
root.religion = novelist_religion
root.religion = religion:novelist_religion
}
}
save_scope_value_as = {
@ -13913,7 +13913,7 @@ set_random_entertainment_text_effect = {
trigger = {
OR = {
root.culture = { has_cultural_parameter = anglic_group_language_param }
root.religion = novelist_religion
root.religion = religion:novelist_religion
}
}
save_scope_value_as = {
@ -13925,7 +13925,7 @@ set_random_entertainment_text_effect = {
trigger = {
OR = {
root.culture = { has_cultural_parameter = anglic_group_language_param }
root.religion = novelist_religion
root.religion = religion:novelist_religion
}
}
save_scope_value_as = {
@ -13943,7 +13943,7 @@ set_random_entertainment_text_effect = {
has_cultural_parameter = east_hispanic_group_language_param
}
}
root.religion = novelist_religion
root.religion = religion:novelist_religion
}
}
save_scope_value_as = {
@ -13955,7 +13955,7 @@ set_random_entertainment_text_effect = {
trigger = {
OR = {
root.culture = { has_cultural_parameter = french_group_language_param }
root.religion = novelist_religion
root.religion = religion:novelist_religion
}
}
save_scope_value_as = {
@ -13967,7 +13967,7 @@ set_random_entertainment_text_effect = {
trigger = {
OR = {
root.culture = { has_cultural_parameter = french_group_language_param }
root.religion = novelist_religion
root.religion = religion:novelist_religion
}
}
save_scope_value_as = {
@ -13979,7 +13979,7 @@ set_random_entertainment_text_effect = {
trigger = {
OR = {
root.culture = { has_cultural_parameter = french_group_language_param }
root.religion = novelist_religion
root.religion = religion:novelist_religion
}
}
save_scope_value_as = {
@ -13996,7 +13996,7 @@ set_random_entertainment_text_effect = {
has_cultural_parameter = middle_german_group_language_param
}
}
root.religion = novelist_religion
root.religion = religion:novelist_religion
}
}
save_scope_value_as = {
@ -14013,7 +14013,7 @@ set_random_entertainment_text_effect = {
has_cultural_parameter = middle_german_group_language_param
}
}
root.religion = novelist_religion
root.religion = religion:novelist_religion
}
}
save_scope_value_as = {
@ -14025,7 +14025,7 @@ set_random_entertainment_text_effect = {
trigger = {
OR = {
root.culture = { has_cultural_parameter = middle_german_group_language_param }
root.religion = novelist_religion
root.religion = religion:novelist_religion
}
}
save_scope_value_as = {
@ -14042,7 +14042,7 @@ set_random_entertainment_text_effect = {
has_cultural_parameter = west_north_germanic_group_language_param
}
}
root.religion = novelist_religion
root.religion = religion:novelist_religion
}
}
save_scope_value_as = {
@ -14054,7 +14054,7 @@ set_random_entertainment_text_effect = {
trigger = {
OR = {
root.culture = { has_cultural_parameter = lausatian_group_language_param }
root.religion = novelist_religion
root.religion = religion:novelist_religion
}
}
save_scope_value_as = {
@ -14066,7 +14066,7 @@ set_random_entertainment_text_effect = {
trigger = {
OR = {
root.culture = { has_cultural_parameter = east_slavic_group_language_param }
root.religion = novelist_religion
root.religion = religion:novelist_religion
}
}
save_scope_value_as = {
@ -14084,7 +14084,7 @@ set_random_entertainment_text_effect = {
trigger = {
OR = {
root.culture = { has_cultural_parameter = anglic_group_language_param }
root.religion = novelist_religion
root.religion = religion:novelist_religion
}
}
save_scope_value_as = {
@ -14096,8 +14096,8 @@ set_random_entertainment_text_effect = {
trigger = {
OR = {
root.culture = { has_cultural_parameter = latin_sprachbund_language_param }
root.religion = novelist_religion
root.religion = catholic_religion
root.religion = religion:novelist_religion
root.religion = religion:catholic_religion
}
}
save_scope_value_as = {
@ -14114,7 +14114,7 @@ set_random_entertainment_text_effect = {
has_cultural_parameter = greek_sprachbund_language_param
}
}
root.religion = novelist_religion
root.religion = religion:novelist_religion
}
}
save_scope_value_as = {
@ -14131,7 +14131,7 @@ set_random_entertainment_text_effect = {
has_cultural_parameter = greek_sprachbund_language_param
}
}
root.religion = novelist_religion
root.religion = religion:novelist_religion
}
}
save_scope_value_as = {
@ -14143,7 +14143,7 @@ set_random_entertainment_text_effect = {
trigger = {
OR = {
root.culture = { has_cultural_parameter = albanian_group_language_param }
root.religion = novelist_religion
root.religion = religion:novelist_religion
}
}
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
tgp_has_access_to_ministry_trigger = {
has_title = title:h_china
government_has_flag = government_is_celestial
always = no
# has_title = title:h_china
# government_has_flag = government_is_celestial
}
tgp_is_any_minister = {
liege ?= { tgp_has_access_to_ministry_trigger = yes }
tgp_has_minister_title = yes
always = no
# liege ?= { tgp_has_access_to_ministry_trigger = yes }
# tgp_has_minister_title = yes
}
tgp_has_minister_title = {
OR = {
has_title = title:e_minister_chancellor
has_title = title:e_minister_censor
has_title = title:e_minister_grand_marshal
has_title = title:e_minister_of_personnel
has_title = title:e_minister_of_revenue
has_title = title:e_minister_of_rites
has_title = title:e_minister_of_war
has_title = title:e_minister_of_justice
has_title = title:e_minister_of_works
}
always = no
# OR = {
# has_title = title:e_minister_chancellor
# has_title = title:e_minister_censor
# has_title = title:e_minister_grand_marshal
# has_title = title:e_minister_of_personnel
# has_title = title:e_minister_of_revenue
# has_title = title:e_minister_of_rites
# has_title = title:e_minister_of_war
# has_title = title:e_minister_of_justice
# has_title = title:e_minister_of_works
# }
}
tgp_has_civilian_minister_title = {
OR = {
has_title = title:e_minister_chancellor
has_title = title:e_minister_censor
has_title = title:e_minister_of_personnel
has_title = title:e_minister_of_revenue
has_title = title:e_minister_of_rites
has_title = title:e_minister_of_war
has_title = title:e_minister_of_justice
has_title = title:e_minister_of_works
}
always = no
# OR = {
# has_title = title:e_minister_chancellor
# has_title = title:e_minister_censor
# has_title = title:e_minister_of_personnel
# has_title = title:e_minister_of_revenue
# has_title = title:e_minister_of_rites
# has_title = title:e_minister_of_war
# has_title = title:e_minister_of_justice
# has_title = title:e_minister_of_works
# }
}
tgp_is_civilian_minister_title = {
OR = {
this = title:e_minister_chancellor
this = title:e_minister_censor
this = title:e_minister_of_personnel
this = title:e_minister_of_revenue
this = title:e_minister_of_rites
this = title:e_minister_of_war
this = title:e_minister_of_justice
this = title:e_minister_of_works
}
always = no
# OR = {
# this = title:e_minister_chancellor
# this = title:e_minister_censor
# this = title:e_minister_of_personnel
# this = title:e_minister_of_revenue
# this = title:e_minister_of_rites
# this = title:e_minister_of_war
# this = title:e_minister_of_justice
# this = title:e_minister_of_works
# }
}
tgp_is_minister_title = {
OR = {
this = title:e_minister_chancellor
this = title:e_minister_censor
this = title:e_minister_grand_marshal
this = title:e_minister_of_personnel
this = title:e_minister_of_revenue
this = title:e_minister_of_rites
this = title:e_minister_of_war
this = title:e_minister_of_justice
this = title:e_minister_of_works
}
always = no
# OR = {
# this = title:e_minister_chancellor
# this = title:e_minister_censor
# this = title:e_minister_grand_marshal
# this = title:e_minister_of_personnel
# this = title:e_minister_of_revenue
# this = title:e_minister_of_rites
# this = title:e_minister_of_war
# this = title:e_minister_of_justice
# this = title:e_minister_of_works
# }
}
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
fp3_decision.0015 = {
type = character_event
title = fp3_decision.0015.t
desc = {
# Who are we switching to?
first_valid = {
# Supporter: switching to detractor.
triggered_desc = {
trigger = { has_trait = fp3_struggle_detractor }
desc = fp3_decision.0015.desc.switch.supporter_becoming_detractor
}
# Detractor: switching to supporter.
triggered_desc = {
trigger = { has_trait = fp3_struggle_supporter }
desc = fp3_decision.0015.desc.switch.detractor_becoming_supporter
}
# Neutral: switching to either.
desc = fp3_decision.0015.desc.switch.presently_neutral
}
# Do we have a liege to consider?
first_valid = {
# Yes, and we're making our alignment choice in the event.
triggered_desc = {
trigger = {
NOR = {
has_trait = fp3_struggle_supporter
has_trait = fp3_struggle_detractor
}
liege ?= {
this != root
OR = {
has_trait = fp3_struggle_supporter
has_trait = fp3_struggle_detractor
}
}
}
desc = fp3_decision.0015.desc.liege.presently_neutral
}
# Yes, and we'll be aligning with them.
triggered_desc = {
trigger = {
NOT = { liege ?= { this = root } }
OR = {
AND = {
has_trait = fp3_struggle_supporter
liege ?= { has_trait = fp3_struggle_supporter }
}
AND = {
has_trait = fp3_struggle_detractor
liege ?= { has_trait = fp3_struggle_detractor }
}
}
}
desc = fp3_decision.0015.desc.liege.aligning
}
# Yes, and we'll be contradicting them.
triggered_desc = {
trigger = {
NOT = { liege ?= { this = root } }
OR = {
AND = {
has_trait = fp3_struggle_supporter
liege ?= { has_trait = fp3_struggle_detractor }
}
AND = {
has_trait = fp3_struggle_detractor
liege ?= { has_trait = fp3_struggle_supporter }
}
}
}
desc = fp3_decision.0015.desc.liege.contradicting
}
# Yes, and they don't much care.
triggered_desc = {
trigger = {
liege ?= {
NOR = {
this = root
has_trait = fp3_struggle_supporter
has_trait = fp3_struggle_detractor
}
}
}
}
# Else no, and we need no loc.
}
}
theme = faith
left_portrait = {
character = root
animation = personality_bold
}
right_portrait = {
character = scope:right_portrait
triggered_animation = {
trigger = {
OR = {
AND = {
has_trait = fp3_struggle_supporter
scope:right_portrait = { has_trait = fp3_struggle_supporter }
}
AND = {
has_trait = fp3_struggle_detractor
scope:right_portrait = { has_trait = fp3_struggle_detractor }
}
}
}
animation = admiration
}
triggered_animation = {
trigger = {
OR = {
AND = {
has_trait = fp3_struggle_supporter
scope:right_portrait = { has_trait = fp3_struggle_detractor}
}
AND = {
has_trait = fp3_struggle_detractor
scope:right_portrait = { has_trait = fp3_struggle_supporter }
}
}
}
animation = anger
}
}
lower_center_portrait = { character = scope:lower_centre_portrait }
immediate = {
# Work out who goes in the righthand portrait slot.
## Do we have a suitable liege?
if = {
limit = {
top_liege != this
liege = {
OR = {
has_trait = fp3_struggle_supporter
has_trait = fp3_struggle_detractor
}
NOT = { has_title = title:d_sunni }
}
}
liege = { save_scope_as = right_portrait }
# In which case, we try to put the caliph in the bottom slot.
title:d_sunni.holder = {
if = {
limit = {
this != root.liege
}
save_scope_as = lower_centre_portrait
}
}
}
## If we don't, it's the caliph.
else = {
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 = {
limit = { top_liege != this }
liege = { save_scope_as = lower_centre_portrait }
}
}
## If we're flipflopping, apply base logic.
if = {
limit = {
OR = {
has_trait = fp3_struggle_supporter
has_trait = fp3_struggle_detractor
}
}
read_name_in_friday_prayer_scripted_effect = yes
# For ease of reference, we save a scope to avoid rechecking this constantly.
save_scope_value_as = {
name = change_type
value = flag:flipflop
}
}
## If we're neutral, we only flag that — we'll make our actual choice in the options.
else = {
save_scope_value_as = {
name = change_type
value = flag:neutral
}
}
}
# Neutral: become a supporter, irritate liege.
option = {
name = fp3_decision.0015.a
flavor = fp3_decision.0015.a.tt
trigger = {
scope:change_type = flag:neutral
liege ?= {
NOR = {
this = prev
this = title:d_sunni.holder
}
}
}
# Switch traits.
read_name_in_friday_prayer_guts_become_supporter_effect = yes
# Annoy your liege.
fp3_decision_0015_apply_seditious_intent_effect = yes
# Apply the remainder effects.
read_name_in_friday_prayer_guts_apply_sundry_changes_effect = yes
read_name_in_friday_prayer_guts_apply_house_unity_changes_effect = yes
fp3_decision_0015_apply_rebellious_stress_effect = yes
ai_chance = {
base = 1
ai_value_modifier = {
ai_boldness = 1
ai_honor = -0.25
}
opinion_modifier = {
opinion_target = liege
multiplier = -1
}
}
}
# Neutral: become a supporter, ignore liege.
option = {
name = fp3_decision.0015.b
trigger = { scope:change_type = flag:neutral }
# Switch traits.
read_name_in_friday_prayer_guts_become_supporter_effect = yes
# Apply the remainder effects.
read_name_in_friday_prayer_guts_apply_sundry_changes_effect = yes
read_name_in_friday_prayer_guts_apply_house_unity_changes_effect = yes
# No extra stress on ignore.
ai_chance = {
base = 1
ai_value_modifier = {
ai_honor = 0.5
ai_boldness = -0.25
}
opinion_modifier = {
opinion_target = liege
multiplier = 1
}
}
}
# Neutral: become a detractor, irritate liege.
option = {
name = fp3_decision.0015.c
flavor = fp3_decision.0015.c.tt
trigger = {
scope:change_type = flag:neutral
liege ?= {
NOR = {
this = prev
this = title:d_sunni.holder
}
}
}
# Switch traits.
read_name_in_friday_prayer_guts_become_detractor_effect = yes
# Annoy your liege.
fp3_decision_0015_apply_seditious_intent_effect = yes
# Apply the remainder effects.
read_name_in_friday_prayer_guts_apply_sundry_changes_effect = yes
read_name_in_friday_prayer_guts_apply_house_unity_changes_effect = yes
fp3_decision_0015_apply_rebellious_stress_effect = yes
ai_chance = {
base = 1
ai_value_modifier = {
ai_boldness = 1
ai_honor = -0.25
}
opinion_modifier = {
opinion_target = liege
multiplier = -1
}
}
}
# Neutral: become a detractor, ignore liege.
option = {
name = fp3_decision.0015.d
trigger = { scope:change_type = flag:neutral }
# Switch traits.
read_name_in_friday_prayer_guts_become_detractor_effect = yes
# Apply the remainder effects.
read_name_in_friday_prayer_guts_apply_sundry_changes_effect = yes
read_name_in_friday_prayer_guts_apply_house_unity_changes_effect = yes
# No extra stress on ignore.
ai_chance = {
base = 1
ai_value_modifier = {
ai_honor = 0.5
ai_boldness = -0.25
}
opinion_modifier = {
opinion_target = liege
multiplier = 1
}
}
}
# Flipflopped + irritate liege.
option = {
name = fp3_decision.0015.e
flavor = fp3_decision.0015.e.tt
trigger = {
scope:change_type = flag:flipflop
liege ?= {
NOR = {
this = prev
this = title:d_sunni.holder
}
}
}
# Annoy your liege.
fp3_decision_0015_apply_seditious_intent_effect = yes
fp3_decision_0015_apply_rebellious_stress_effect = yes
ai_chance = {
base = 1
ai_value_modifier = {
ai_boldness = 1
ai_honor = -0.25
}
opinion_modifier = {
opinion_target = liege
multiplier = -1
}
}
}
# Flipflopped + ignore liege.
option = {
name = fp3_decision.0015.f
trigger = { scope:change_type = flag:flipflop }
# No further effects.
# No extra stress on ignore.
ai_chance = {
base = 1
ai_value_modifier = {
ai_honor = 0.5
ai_boldness = -0.25
}
opinion_modifier = {
opinion_target = liege
multiplier = 1
}
}
}
after = {
# Plus this can be a catalyst.
hidden_effect = {
if = {
limit = {
is_important_or_vip_struggle_character = yes
OR = {
AND = {
any_character_struggle = { phase_has_catalyst = catalyst_became_supporter_fp3 }
has_trait = fp3_struggle_supporter
}
AND = {
any_character_struggle = { phase_has_catalyst = catalyst_became_detractor_fp3 }
has_trait = fp3_struggle_detractor
}
}
}
## Is the character now a supporter? Move towards stabilisation.
if = {
limit = { has_trait = fp3_struggle_supporter }
every_character_struggle = {
activate_struggle_catalyst = {
catalyst = catalyst_became_supporter_fp3
character = root
}
log_debug_variable_for_persian_struggle_effect = { VAR = stabil_catalyst_became_supporter_fp3 }
}
}
## Is the character now a detractor? Move towards unrest.
if = {
limit = { has_trait = fp3_struggle_detractor }
every_character_struggle = {
activate_struggle_catalyst = {
catalyst = catalyst_became_detractor_fp3
character = root
}
log_debug_variable_for_persian_struggle_effect = { VAR = unrest_catalyst_became_detractor_fp3 }
}
}
}
}
}
}
#
## Your name is read in the Friday Prayer
#fp3_decision.0015 = {
# type = character_event
# title = fp3_decision.0015.t
# desc = {
# # Who are we switching to?
# first_valid = {
# # Supporter: switching to detractor.
# triggered_desc = {
# trigger = { has_trait = fp3_struggle_detractor }
# desc = fp3_decision.0015.desc.switch.supporter_becoming_detractor
# }
# # Detractor: switching to supporter.
# triggered_desc = {
# trigger = { has_trait = fp3_struggle_supporter }
# desc = fp3_decision.0015.desc.switch.detractor_becoming_supporter
# }
# # Neutral: switching to either.
# desc = fp3_decision.0015.desc.switch.presently_neutral
# }
# # Do we have a liege to consider?
# first_valid = {
# # Yes, and we're making our alignment choice in the event.
# triggered_desc = {
# trigger = {
# NOR = {
# has_trait = fp3_struggle_supporter
# has_trait = fp3_struggle_detractor
# }
# liege ?= {
# this != root
# OR = {
# has_trait = fp3_struggle_supporter
# has_trait = fp3_struggle_detractor
# }
# }
# }
# desc = fp3_decision.0015.desc.liege.presently_neutral
# }
# # Yes, and we'll be aligning with them.
# triggered_desc = {
# trigger = {
# NOT = { liege ?= { this = root } }
# OR = {
# AND = {
# has_trait = fp3_struggle_supporter
# liege ?= { has_trait = fp3_struggle_supporter }
# }
# AND = {
# has_trait = fp3_struggle_detractor
# liege ?= { has_trait = fp3_struggle_detractor }
# }
# }
# }
# desc = fp3_decision.0015.desc.liege.aligning
# }
# # Yes, and we'll be contradicting them.
# triggered_desc = {
# trigger = {
# NOT = { liege ?= { this = root } }
# OR = {
# AND = {
# has_trait = fp3_struggle_supporter
# liege ?= { has_trait = fp3_struggle_detractor }
# }
# AND = {
# has_trait = fp3_struggle_detractor
# liege ?= { has_trait = fp3_struggle_supporter }
# }
# }
# }
# desc = fp3_decision.0015.desc.liege.contradicting
# }
# # Yes, and they don't much care.
# triggered_desc = {
# trigger = {
# liege ?= {
# NOR = {
# this = root
# has_trait = fp3_struggle_supporter
# has_trait = fp3_struggle_detractor
# }
# }
# }
# }
# # Else no, and we need no loc.
# }
# }
# theme = faith
# left_portrait = {
# character = root
# animation = personality_bold
# }
# right_portrait = {
# character = scope:right_portrait
# triggered_animation = {
# trigger = {
# OR = {
# AND = {
# has_trait = fp3_struggle_supporter
# scope:right_portrait = { has_trait = fp3_struggle_supporter }
# }
# AND = {
# has_trait = fp3_struggle_detractor
# scope:right_portrait = { has_trait = fp3_struggle_detractor }
# }
# }
# }
# animation = admiration
# }
# triggered_animation = {
# trigger = {
# OR = {
# AND = {
# has_trait = fp3_struggle_supporter
# scope:right_portrait = { has_trait = fp3_struggle_detractor}
# }
# AND = {
# has_trait = fp3_struggle_detractor
# scope:right_portrait = { has_trait = fp3_struggle_supporter }
# }
# }
# }
# animation = anger
# }
# }
# lower_center_portrait = { character = scope:lower_centre_portrait }
#
#
# immediate = {
# # Work out who goes in the righthand portrait slot.
# ## Do we have a suitable liege?
# if = {
# limit = {
# top_liege != this
# liege = {
# OR = {
# has_trait = fp3_struggle_supporter
# has_trait = fp3_struggle_detractor
# }
# NOT = { has_title = title:d_sunni }
# }
# }
# liege = { save_scope_as = right_portrait }
# # In which case, we try to put the caliph in the bottom slot.
# title:d_sunni.holder = {
# if = {
# limit = {
# this != root.liege
# }
# save_scope_as = lower_centre_portrait
# }
# }
# }
# ## If we don't, it's the caliph.
# else = {
# 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 = {
# limit = { top_liege != this }
# liege = { save_scope_as = lower_centre_portrait }
# }
# }
# ## If we're flipflopping, apply base logic.
# if = {
# limit = {
# OR = {
# has_trait = fp3_struggle_supporter
# has_trait = fp3_struggle_detractor
# }
# }
# read_name_in_friday_prayer_scripted_effect = yes
# # For ease of reference, we save a scope to avoid rechecking this constantly.
# save_scope_value_as = {
# name = change_type
# value = flag:flipflop
# }
# }
# ## If we're neutral, we only flag that — we'll make our actual choice in the options.
# else = {
# save_scope_value_as = {
# name = change_type
# value = flag:neutral
# }
# }
# }
#
# # Neutral: become a supporter, irritate liege.
# option = {
# name = fp3_decision.0015.a
# flavor = fp3_decision.0015.a.tt
# trigger = {
# scope:change_type = flag:neutral
# liege ?= {
# NOR = {
# this = prev
# this = title:d_sunni.holder
# }
# }
# }
#
# # Switch traits.
# read_name_in_friday_prayer_guts_become_supporter_effect = yes
# # Annoy your liege.
# fp3_decision_0015_apply_seditious_intent_effect = yes
# # Apply the remainder effects.
# read_name_in_friday_prayer_guts_apply_sundry_changes_effect = yes
# read_name_in_friday_prayer_guts_apply_house_unity_changes_effect = yes
#
# fp3_decision_0015_apply_rebellious_stress_effect = yes
# ai_chance = {
# base = 1
# ai_value_modifier = {
# ai_boldness = 1
# ai_honor = -0.25
# }
# opinion_modifier = {
# opinion_target = liege
# multiplier = -1
# }
# }
# }
#
# # Neutral: become a supporter, ignore liege.
# option = {
# name = fp3_decision.0015.b
# trigger = { scope:change_type = flag:neutral }
#
# # Switch traits.
# read_name_in_friday_prayer_guts_become_supporter_effect = yes
# # Apply the remainder effects.
# read_name_in_friday_prayer_guts_apply_sundry_changes_effect = yes
# read_name_in_friday_prayer_guts_apply_house_unity_changes_effect = yes
#
# # No extra stress on ignore.
# ai_chance = {
# base = 1
# ai_value_modifier = {
# ai_honor = 0.5
# ai_boldness = -0.25
# }
# opinion_modifier = {
# opinion_target = liege
# multiplier = 1
# }
# }
# }
#
# # Neutral: become a detractor, irritate liege.
# option = {
# name = fp3_decision.0015.c
# flavor = fp3_decision.0015.c.tt
# trigger = {
# scope:change_type = flag:neutral
# liege ?= {
# NOR = {
# this = prev
# this = title:d_sunni.holder
# }
# }
# }
#
# # Switch traits.
# read_name_in_friday_prayer_guts_become_detractor_effect = yes
# # Annoy your liege.
# fp3_decision_0015_apply_seditious_intent_effect = yes
# # Apply the remainder effects.
# read_name_in_friday_prayer_guts_apply_sundry_changes_effect = yes
# read_name_in_friday_prayer_guts_apply_house_unity_changes_effect = yes
#
# fp3_decision_0015_apply_rebellious_stress_effect = yes
# ai_chance = {
# base = 1
# ai_value_modifier = {
# ai_boldness = 1
# ai_honor = -0.25
# }
# opinion_modifier = {
# opinion_target = liege
# multiplier = -1
# }
# }
# }
#
# # Neutral: become a detractor, ignore liege.
# option = {
# name = fp3_decision.0015.d
# trigger = { scope:change_type = flag:neutral }
#
# # Switch traits.
# read_name_in_friday_prayer_guts_become_detractor_effect = yes
# # Apply the remainder effects.
# read_name_in_friday_prayer_guts_apply_sundry_changes_effect = yes
# read_name_in_friday_prayer_guts_apply_house_unity_changes_effect = yes
#
# # No extra stress on ignore.
# ai_chance = {
# base = 1
# ai_value_modifier = {
# ai_honor = 0.5
# ai_boldness = -0.25
# }
# opinion_modifier = {
# opinion_target = liege
# multiplier = 1
# }
# }
# }
#
# # Flipflopped + irritate liege.
# option = {
# name = fp3_decision.0015.e
# flavor = fp3_decision.0015.e.tt
# trigger = {
# scope:change_type = flag:flipflop
# liege ?= {
# NOR = {
# this = prev
# this = title:d_sunni.holder
# }
# }
# }
#
# # Annoy your liege.
# fp3_decision_0015_apply_seditious_intent_effect = yes
#
# fp3_decision_0015_apply_rebellious_stress_effect = yes
# ai_chance = {
# base = 1
# ai_value_modifier = {
# ai_boldness = 1
# ai_honor = -0.25
# }
# opinion_modifier = {
# opinion_target = liege
# multiplier = -1
# }
# }
# }
#
# # Flipflopped + ignore liege.
# option = {
# name = fp3_decision.0015.f
# trigger = { scope:change_type = flag:flipflop }
#
# # No further effects.
#
# # No extra stress on ignore.
# ai_chance = {
# base = 1
# ai_value_modifier = {
# ai_honor = 0.5
# ai_boldness = -0.25
# }
# opinion_modifier = {
# opinion_target = liege
# multiplier = 1
# }
# }
# }
#
# after = {
# # Plus this can be a catalyst.
# hidden_effect = {
# if = {
# limit = {
# is_important_or_vip_struggle_character = yes
# OR = {
# AND = {
# any_character_struggle = { phase_has_catalyst = catalyst_became_supporter_fp3 }
# has_trait = fp3_struggle_supporter
# }
# AND = {
# any_character_struggle = { phase_has_catalyst = catalyst_became_detractor_fp3 }
# has_trait = fp3_struggle_detractor
# }
# }
# }
# ## Is the character now a supporter? Move towards stabilisation.
# if = {
# limit = { has_trait = fp3_struggle_supporter }
# every_character_struggle = {
# activate_struggle_catalyst = {
# catalyst = catalyst_became_supporter_fp3
# character = root
# }
# log_debug_variable_for_persian_struggle_effect = { VAR = stabil_catalyst_became_supporter_fp3 }
# }
# }
# ## Is the character now a detractor? Move towards unrest.
# if = {
# limit = { has_trait = fp3_struggle_detractor }
# every_character_struggle = {
# activate_struggle_catalyst = {
# catalyst = catalyst_became_detractor_fp3
# character = root
# }
# log_debug_variable_for_persian_struggle_effect = { VAR = unrest_catalyst_became_detractor_fp3 }
# }
# }
# }
# }
# }
#}
#

View file

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

View file

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

View file

@ -1269,78 +1269,78 @@ tgp_china_ministry.1000 = {
opinion = 50
}
add_character_modifier = tgp_personal_honors_modifier
if = {
limit = {
has_title = title:e_minister_chancellor
}
house = {
add_house_modifier = tgp_e_minister_chancellor_modifier
}
}
else_if = {
limit = {
has_title = title:e_minister_censor
}
house = {
add_house_modifier = tgp_e_minister_censor_modifier
}
}
else_if = {
limit = {
has_title = title:e_minister_grand_marshal
}
house = {
add_house_modifier = tgp_e_minister_grand_marshal_modifier
}
}
else_if = {
limit = {
has_title = title:e_minister_of_personnel
}
house = {
add_house_modifier = tgp_e_minister_of_personnel_modifier
}
}
else_if = {
limit = {
has_title = title:e_minister_of_revenue
}
house = {
add_house_modifier = tgp_e_minister_of_revenue_modifier
}
}
else_if = {
limit = {
has_title = title:e_minister_of_rites
}
house = {
add_house_modifier = tgp_e_minister_of_rites_modifier
}
}
else_if = {
limit = {
has_title = title:e_minister_of_war
}
house = {
add_house_modifier = tgp_e_minister_of_war_modifier
}
}
else_if = {
limit = {
has_title = title:e_minister_of_justice
}
house = {
add_house_modifier = tgp_e_minister_of_justice_modifier
}
}
else_if = {
limit = {
has_title = title:e_minister_of_works
}
house = {
add_house_modifier = tgp_e_minister_of_works_modifier
}
}
# if = {
# limit = {
# has_title = title:e_minister_chancellor
# }
# house = {
# add_house_modifier = tgp_e_minister_chancellor_modifier
# }
# }
# else_if = {
# limit = {
# has_title = title:e_minister_censor
# }
# house = {
# add_house_modifier = tgp_e_minister_censor_modifier
# }
# }
# else_if = {
# limit = {
# has_title = title:e_minister_grand_marshal
# }
# house = {
# add_house_modifier = tgp_e_minister_grand_marshal_modifier
# }
# }
# else_if = {
# limit = {
# has_title = title:e_minister_of_personnel
# }
# house = {
# add_house_modifier = tgp_e_minister_of_personnel_modifier
# }
# }
# else_if = {
# limit = {
# has_title = title:e_minister_of_revenue
# }
# house = {
# add_house_modifier = tgp_e_minister_of_revenue_modifier
# }
# }
# else_if = {
# limit = {
# has_title = title:e_minister_of_rites
# }
# house = {
# add_house_modifier = tgp_e_minister_of_rites_modifier
# }
# }
# else_if = {
# limit = {
# has_title = title:e_minister_of_war
# }
# house = {
# add_house_modifier = tgp_e_minister_of_war_modifier
# }
# }
# else_if = {
# limit = {
# has_title = title:e_minister_of_justice
# }
# house = {
# add_house_modifier = tgp_e_minister_of_justice_modifier
# }
# }
# else_if = {
# limit = {
# has_title = title:e_minister_of_works
# }
# house = {
# add_house_modifier = tgp_e_minister_of_works_modifier
# }
# }
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
debug.700 = {
type = character_event
title = steam_rich_presence_debug_t
desc = steam_rich_presence_debug_desc
theme = realm
orphan = yes
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
}
##steam rich presence test - update this event with your new rich presence text to see it in the desc
#debug.700 = {
# type = character_event
# title = steam_rich_presence_debug_t
# desc = steam_rich_presence_debug_desc
# theme = realm
# orphan = yes
#
# immediate = {
# random_ruler = {
# limit = {
# any_character_struggle = {
# #involvement = involved
# is_struggle_type = persian_struggle
# has_trait = sayyid
# NOR = {
# has_trait = fp3_struggle_detractor
# has_trait = fp3_struggle_supporter
# }
# }
# save_scope_as = persian_struggle
# save_scope_as = sayyid
# }
# random_ruler = {
# limit = {
# any_character_struggle = {
# #involvement = involved
# is_struggle_type = iberian_struggle
# has_trait = fp3_struggle_detractor
# NOT = { has_trait = fp3_struggle_supporter }
# }
# save_scope_as = fp3_struggle_detractor
# }
# save_scope_as = iberian_struggle
# random_ruler = {
# limit = {
# has_trait = fp3_struggle_supporter
# NOT = { has_trait = fp3_struggle_detractor }
# }
}
option = {}
}
# 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 = {
type = character_event

View file

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

View file

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