diff --git a/common/activities/activity_types/feast.txt b/common/activities/activity_types/feast.txt index 7ebb34b5..3285a82c 100644 --- a/common/activities/activity_types/feast.txt +++ b/common/activities/activity_types/feast.txt @@ -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 = { diff --git a/common/activities/activity_types/funeral.txt b/common/activities/activity_types/funeral.txt index d9100c35..583c8f20 100644 --- a/common/activities/activity_types/funeral.txt +++ b/common/activities/activity_types/funeral.txt @@ -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 +# } } } diff --git a/common/activities/activity_types/hike.txt b/common/activities/activity_types/hike.txt index 78a87ff7..acd4ba7f 100644 --- a/common/activities/activity_types/hike.txt +++ b/common/activities/activity_types/hike.txt @@ -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 } } } diff --git a/common/activities/activity_types/hunt.txt b/common/activities/activity_types/hunt.txt index b4531cb3..b789b865 100644 --- a/common/activities/activity_types/hunt.txt +++ b/common/activities/activity_types/hunt.txt @@ -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 = { diff --git a/common/activities/activity_types/pilgrimage.txt b/common/activities/activity_types/pilgrimage.txt index c606853f..8b53d8f6 100644 --- a/common/activities/activity_types/pilgrimage.txt +++ b/common/activities/activity_types/pilgrimage.txt @@ -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 +# } } } diff --git a/common/buildings/NEOW_special_buildings.txt b/common/buildings/NEOW_special_buildings.txt index a8d86d06..f370c273 100644 --- a/common/buildings/NEOW_special_buildings.txt +++ b/common/buildings/NEOW_special_buildings.txt @@ -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,20 +7489,18 @@ holy_site_canterbury_cathedral_02 = { } can_construct = { - OR = { - scope:holder = { - OR = { religion = religion:eastern_orthodox_religion religion = religion:catholic_religion religion = religion:protestant_religion } - } - custom_description = { - text = holy_site_building_trigger - barony = { - is_holy_site_of = scope:holder.faith + 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 } + } + custom_description = { + text = holy_site_building_trigger + barony = { + is_holy_site_of = scope:holder.faith + } } - } - } - scope:holder = { - culture = { - has_innovation = innovation_crop_rotation } } } diff --git a/common/buildings/temple_citadel_buildings.txt b/common/buildings/temple_citadel_buildings.txt index 8c1fbbff..b6d00786 100644 --- a/common/buildings/temple_citadel_buildings.txt +++ b/common/buildings/temple_citadel_buildings.txt @@ -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: diff --git a/common/character_interactions/00_character_interactions.txt b/common/character_interactions/00_character_interactions.txt index 86d0d01b..cd39a22d 100644 --- a/common/character_interactions/00_character_interactions.txt +++ b/common/character_interactions/00_character_interactions.txt @@ -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 = { diff --git a/common/character_interactions/00_gift.txt b/common/character_interactions/00_gift.txt index 938131a4..97f680fd 100644 --- a/common/character_interactions/00_gift.txt +++ b/common/character_interactions/00_gift.txt @@ -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 diff --git a/common/character_interactions/00_prison_interactions.txt b/common/character_interactions/00_prison_interactions.txt index ccc89e96..e0854b53 100644 --- a/common/character_interactions/00_prison_interactions.txt +++ b/common/character_interactions/00_prison_interactions.txt @@ -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 diff --git a/common/character_interactions/NEOW_modified_interactions.txt b/common/character_interactions/NEOW_modified_interactions.txt index 07d16769..424aad85 100644 --- a/common/character_interactions/NEOW_modified_interactions.txt +++ b/common/character_interactions/NEOW_modified_interactions.txt @@ -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 } } } } diff --git a/common/decisions/dlc_decisions/tgp/tgp_china_decisions.txt b/common/decisions/dlc_decisions/tgp/tgp_china_decisions.txt index 37e80f6f..8d531747 100644 --- a/common/decisions/dlc_decisions/tgp/tgp_china_decisions.txt +++ b/common/decisions/dlc_decisions/tgp/tgp_china_decisions.txt @@ -422,488 +422,488 @@ tgp_resume_appointments_decision = { ai_potential = { always = no } } -### Request Bestowal of Honors ### -tgp_minister_request_bestowal_of_honors_decision = { - decision_group_type = major - title = tgp_minister_request_bestowal_of_honors_decision - desc = tgp_minister_request_bestowal_of_honors_decision_desc - picture = { - reference = "gfx/interface/illustrations/decisions/tgp_kowtow.dds" - } - sort_order = 1000 - - is_shown = { - exists = house - government_has_flag = government_is_celestial - liege = { tgp_has_access_to_ministry_trigger = yes } - # keep them in hard enum, since we can not avoid touch this decision by encapsulation - 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 - } - } - - is_valid = { - influence_level >= 5 - 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 - } - } - - is_valid_showing_failures_only = { - is_at_war = no - is_adult = yes - root.top_liege = { - is_physically_able = yes - } - trigger_if = { - limit = { - has_title = title:e_minister_chancellor - } - NOT = { - house = { - has_house_modifier = tgp_e_minister_chancellor_modifier - } - } - } - trigger_else_if = { - limit = { - has_title = title:e_minister_censor - } - NOT = { - house = { - has_house_modifier = tgp_e_minister_censor_modifier - } - } - } - trigger_else_if = { - limit = { - has_title = title:e_minister_grand_marshal - } - NOT = { - house = { - has_house_modifier = tgp_e_minister_grand_marshal_modifier - } - } - } - trigger_else_if = { - limit = { - has_title = title:e_minister_of_personnel - } - NOT = { - house = { - has_house_modifier = tgp_e_minister_of_personnel_modifier - } - } - } - trigger_else_if = { - limit = { - has_title = title:e_minister_of_revenue - } - NOT = { - house = { - has_house_modifier = tgp_e_minister_of_revenue_modifier - } - } - } - trigger_else_if = { - limit = { - has_title = title:e_minister_of_rites - } - NOT = { - house = { - has_house_modifier = tgp_e_minister_of_rites_modifier - } - } - } - trigger_else_if = { - limit = { - has_title = title:e_minister_of_war - } - NOT = { - house = { - has_house_modifier = tgp_e_minister_of_war_modifier - } - } - } - trigger_else_if = { - limit = { - has_title = title:e_minister_of_justice - } - NOT = { - house = { - has_house_modifier = tgp_e_minister_of_justice_modifier - } - } - } - trigger_else_if = { - limit = { - has_title = title:e_minister_of_works - } - NOT = { - house = { - has_house_modifier = tgp_e_minister_of_works_modifier - } - } - } - trigger_else = { - always = yes - } - } - - cost = { - influence = { - value = 5000 - } - } - - effect = { - close_view = { - view = decisions - player = root - } - trigger_event = tgp_china_ministry.1000 - show_as_tooltip = { - reverse_add_opinion = { - target = root.top_liege - modifier = honorable_opinion - 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 - } - } - dynasty = { add_dynasty_prestige = 2000 } - } - } - - ai_check_interval_by_tier = { - barony = 0 - county = 0 - duchy = 0 - kingdom = 0 - empire = 12 - hegemony = 0 - } - - ai_potential = { - government_has_flag = government_is_celestial - } - - ai_will_do = { base = 100 } -} - -# Recruit Courtiers from Celestial Capital -### Summon Courtiers for the Celestial Bureau ### -tgp_minister_recruit_courtiers_decision = { - decision_group_type = courtier - title = tgp_minister_recruit_courtiers_decision - desc = tgp_minister_recruit_courtiers_decision_desc - selection_tooltip = tgp_minister_recruit_courtiers_decision_tooltip - picture = { - reference = "gfx/interface/illustrations/event_scenes/tgp_courtyard_asia.dds" - } - sort_order = 110 - - is_shown = { - government_has_flag = government_is_celestial - liege = { tgp_has_access_to_ministry_trigger = yes } - 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 - } - } - - is_valid = { - } - - is_valid_showing_failures_only = { - is_at_war = no - is_adult = yes - } - - cooldown = { years = 2 } - - widget = { - gui = "decision_view_widget_option_list_generic" - controller = decision_option_list_controller - decision_to_second_step_button = "CHOOSE_NOMAD_COURTIER_DECISION_NEXT_STEP_BUTTON" - show_from_start = yes - - item = { - value = minister_recruit_administrator - is_valid = { - NOR = { - has_title = title:e_minister_grand_marshal - has_title = title:e_minister_of_rites - has_title = title:e_minister_of_war - } - } - current_description = minister_recruit_administrator_desc - localization = minister_recruit_administrator_desc - icon = "gfx/interface/icons/modifiers/icon_merit_07.dds" - ai_chance = { - value = 100 - } - } - item = { - value = minister_recruit_diplomat - is_valid = { - NOR = { - has_title = title:e_minister_grand_marshal - has_title = title:e_minister_of_rites - has_title = title:e_minister_of_war - has_title = title:e_minister_of_works - } - } - current_description = minister_recruit_diplomat_desc - localization = minister_recruit_diplomat_desc - icon = "gfx/interface/icons/court_position_types/grand_historian_court_position.dds" - ai_chance = { - value = 100 - } - } - item = { - value = minister_recruit_commander - is_valid = { - NOR = { - has_title = title:e_minister_censor - has_title = title:e_minister_of_revenue - has_title = title:e_minister_of_rites - has_title = title:e_minister_of_justice - has_title = title:e_minister_of_works - } - } - current_description = minister_recruit_commander_desc - localization = minister_recruit_commander_desc - icon = "gfx/interface/icons/character_interactions/icon_coax_to_war.dds" - ai_chance = { - value = 100 - } - } - item = { - value = minister_recruit_warrior - is_valid = { - NOR = { - has_title = title:e_minister_censor - has_title = title:e_minister_of_revenue - has_title = title:e_minister_of_rites - has_title = title:e_minister_of_justice - has_title = title:e_minister_of_works - } - } - current_description = minister_recruit_warrior_desc - localization = minister_recruit_warrior_desc - icon = "gfx/interface/icons/character_interactions/icon_combat.dds" - ai_chance = { - value = 100 - } - } - item = { - value = minister_recruit_scholar - is_valid = { - NOR = { - has_title = title:e_minister_censor - has_title = title:e_minister_grand_marshal - has_title = title:e_minister_of_revenue - has_title = title:e_minister_of_war - } - } - current_description = minister_recruit_scholar_desc - localization = minister_recruit_scholar_desc - icon = "gfx/interface/icons/character_interactions/imperial_examination.dds" - ai_chance = { - value = 100 - } - } - item = { - value = minister_recruit_confucian_scholar - is_valid = { - NOR = { - has_title = title:e_minister_censor - has_title = title:e_minister_grand_marshal - has_title = title:e_minister_of_revenue - has_title = title:e_minister_of_war - has_title = title:e_minister_of_works - } - } - current_description = minister_recruit_confucian_scholar_desc - localization = minister_recruit_confucian_scholar_desc - icon = "gfx/interface/icons/modifiers/icon_piety_confucianism_02.dds" - ai_chance = { - value = 100 - } - } - item = { - value = minister_recruit_eunuch - is_valid = { - NOR = { - has_title = title:e_minister_grand_marshal - 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 - } - } - current_description = minister_recruit_eunuch_desc - localization = minister_recruit_eunuch_desc - icon = "gfx/interface/icons/character_interactions/provincial_examination.dds" - ai_chance = { - value = 100 - } - } - } - - cost = { - treasury = { - value = 100 - } - } - - effect = { - save_scope_as = minister_scope - custom_tooltip = tgp_minister_recruit_courtiers_decision_effect_desc - hidden_effect = { - if = { - limit = { scope:minister_recruit_administrator = yes } - minister_courtier_recruitment_effect = { COURTIER_TEMPLATE = tgp_minister_administrator_template } - } - else_if = { - limit = { scope:minister_recruit_diplomat = yes } - minister_courtier_recruitment_effect = { COURTIER_TEMPLATE = tgp_minister_diplomat_template } - } - else_if = { - limit = { scope:minister_recruit_commander = yes } - minister_courtier_recruitment_effect = { COURTIER_TEMPLATE = tgp_minister_commander_template } - } - else_if = { - limit = { scope:minister_recruit_warrior = yes } - minister_courtier_recruitment_effect = { COURTIER_TEMPLATE = tgp_minister_warrior_template } - } - else_if = { - limit = { scope:minister_recruit_scholar = yes } - minister_courtier_recruitment_effect = { COURTIER_TEMPLATE = tgp_minister_scholar_template } - } - else_if = { - limit = { scope:minister_recruit_confucian_scholar = yes } - minister_courtier_recruitment_effect = { COURTIER_TEMPLATE = tgp_minister_confucian_scholar_template } - } - else_if = { - limit = { scope:minister_recruit_eunuch = yes } - minister_courtier_recruitment_effect = { COURTIER_TEMPLATE = tgp_minister_eunuch_template } - } - } - } - - ai_check_interval_by_tier = { - barony = 0 - county = 0 - duchy = 0 - kingdom = 0 - empire = 12 - hegemony = 0 - } - - ai_potential = { - liege = { tgp_has_access_to_ministry_trigger = yes } - is_councillor = yes - any_courtier = { count <= 10 } - } - - ai_will_do = { base = 100 } -} +#### Request Bestowal of Honors ### +#tgp_minister_request_bestowal_of_honors_decision = { +# decision_group_type = major +# title = tgp_minister_request_bestowal_of_honors_decision +# desc = tgp_minister_request_bestowal_of_honors_decision_desc +# picture = { +# reference = "gfx/interface/illustrations/decisions/tgp_kowtow.dds" +# } +# sort_order = 1000 +# +# is_shown = { +# exists = house +# government_has_flag = government_is_celestial +# liege = { tgp_has_access_to_ministry_trigger = yes } +# # keep them in hard enum, since we can not avoid touch this decision by encapsulation +# 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 +# } +# } +# +# is_valid = { +# influence_level >= 5 +# 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 +# } +# } +# +# is_valid_showing_failures_only = { +# is_at_war = no +# is_adult = yes +# root.top_liege = { +# is_physically_able = yes +# } +# trigger_if = { +# limit = { +# has_title = title:e_minister_chancellor +# } +# NOT = { +# house = { +# has_house_modifier = tgp_e_minister_chancellor_modifier +# } +# } +# } +# trigger_else_if = { +# limit = { +# has_title = title:e_minister_censor +# } +# NOT = { +# house = { +# has_house_modifier = tgp_e_minister_censor_modifier +# } +# } +# } +# trigger_else_if = { +# limit = { +# has_title = title:e_minister_grand_marshal +# } +# NOT = { +# house = { +# has_house_modifier = tgp_e_minister_grand_marshal_modifier +# } +# } +# } +# trigger_else_if = { +# limit = { +# has_title = title:e_minister_of_personnel +# } +# NOT = { +# house = { +# has_house_modifier = tgp_e_minister_of_personnel_modifier +# } +# } +# } +# trigger_else_if = { +# limit = { +# has_title = title:e_minister_of_revenue +# } +# NOT = { +# house = { +# has_house_modifier = tgp_e_minister_of_revenue_modifier +# } +# } +# } +# trigger_else_if = { +# limit = { +# has_title = title:e_minister_of_rites +# } +# NOT = { +# house = { +# has_house_modifier = tgp_e_minister_of_rites_modifier +# } +# } +# } +# trigger_else_if = { +# limit = { +# has_title = title:e_minister_of_war +# } +# NOT = { +# house = { +# has_house_modifier = tgp_e_minister_of_war_modifier +# } +# } +# } +# trigger_else_if = { +# limit = { +# has_title = title:e_minister_of_justice +# } +# NOT = { +# house = { +# has_house_modifier = tgp_e_minister_of_justice_modifier +# } +# } +# } +# trigger_else_if = { +# limit = { +# has_title = title:e_minister_of_works +# } +# NOT = { +# house = { +# has_house_modifier = tgp_e_minister_of_works_modifier +# } +# } +# } +# trigger_else = { +# always = yes +# } +# } +# +# cost = { +# influence = { +# value = 5000 +# } +# } +# +# effect = { +# close_view = { +# view = decisions +# player = root +# } +# trigger_event = tgp_china_ministry.1000 +# show_as_tooltip = { +# reverse_add_opinion = { +# target = root.top_liege +# modifier = honorable_opinion +# 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 +# } +# } +# dynasty = { add_dynasty_prestige = 2000 } +# } +# } +# +# ai_check_interval_by_tier = { +# barony = 0 +# county = 0 +# duchy = 0 +# kingdom = 0 +# empire = 12 +# hegemony = 0 +# } +# +# ai_potential = { +# government_has_flag = government_is_celestial +# } +# +# ai_will_do = { base = 100 } +#} +# +## Recruit Courtiers from Celestial Capital +#### Summon Courtiers for the Celestial Bureau ### +#tgp_minister_recruit_courtiers_decision = { +# decision_group_type = courtier +# title = tgp_minister_recruit_courtiers_decision +# desc = tgp_minister_recruit_courtiers_decision_desc +# selection_tooltip = tgp_minister_recruit_courtiers_decision_tooltip +# picture = { +# reference = "gfx/interface/illustrations/event_scenes/tgp_courtyard_asia.dds" +# } +# sort_order = 110 +# +# is_shown = { +# government_has_flag = government_is_celestial +# liege = { tgp_has_access_to_ministry_trigger = yes } +# 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 +# } +# } +# +# is_valid = { +# } +# +# is_valid_showing_failures_only = { +# is_at_war = no +# is_adult = yes +# } +# +# cooldown = { years = 2 } +# +# widget = { +# gui = "decision_view_widget_option_list_generic" +# controller = decision_option_list_controller +# decision_to_second_step_button = "CHOOSE_NOMAD_COURTIER_DECISION_NEXT_STEP_BUTTON" +# show_from_start = yes +# +# item = { +# value = minister_recruit_administrator +# is_valid = { +# NOR = { +# has_title = title:e_minister_grand_marshal +# has_title = title:e_minister_of_rites +# has_title = title:e_minister_of_war +# } +# } +# current_description = minister_recruit_administrator_desc +# localization = minister_recruit_administrator_desc +# icon = "gfx/interface/icons/modifiers/icon_merit_07.dds" +# ai_chance = { +# value = 100 +# } +# } +# item = { +# value = minister_recruit_diplomat +# is_valid = { +# NOR = { +# has_title = title:e_minister_grand_marshal +# has_title = title:e_minister_of_rites +# has_title = title:e_minister_of_war +# has_title = title:e_minister_of_works +# } +# } +# current_description = minister_recruit_diplomat_desc +# localization = minister_recruit_diplomat_desc +# icon = "gfx/interface/icons/court_position_types/grand_historian_court_position.dds" +# ai_chance = { +# value = 100 +# } +# } +# item = { +# value = minister_recruit_commander +# is_valid = { +# NOR = { +# has_title = title:e_minister_censor +# has_title = title:e_minister_of_revenue +# has_title = title:e_minister_of_rites +# has_title = title:e_minister_of_justice +# has_title = title:e_minister_of_works +# } +# } +# current_description = minister_recruit_commander_desc +# localization = minister_recruit_commander_desc +# icon = "gfx/interface/icons/character_interactions/icon_coax_to_war.dds" +# ai_chance = { +# value = 100 +# } +# } +# item = { +# value = minister_recruit_warrior +# is_valid = { +# NOR = { +# has_title = title:e_minister_censor +# has_title = title:e_minister_of_revenue +# has_title = title:e_minister_of_rites +# has_title = title:e_minister_of_justice +# has_title = title:e_minister_of_works +# } +# } +# current_description = minister_recruit_warrior_desc +# localization = minister_recruit_warrior_desc +# icon = "gfx/interface/icons/character_interactions/icon_combat.dds" +# ai_chance = { +# value = 100 +# } +# } +# item = { +# value = minister_recruit_scholar +# is_valid = { +# NOR = { +# has_title = title:e_minister_censor +# has_title = title:e_minister_grand_marshal +# has_title = title:e_minister_of_revenue +# has_title = title:e_minister_of_war +# } +# } +# current_description = minister_recruit_scholar_desc +# localization = minister_recruit_scholar_desc +# icon = "gfx/interface/icons/character_interactions/imperial_examination.dds" +# ai_chance = { +# value = 100 +# } +# } +# item = { +# value = minister_recruit_confucian_scholar +# is_valid = { +# NOR = { +# has_title = title:e_minister_censor +# has_title = title:e_minister_grand_marshal +# has_title = title:e_minister_of_revenue +# has_title = title:e_minister_of_war +# has_title = title:e_minister_of_works +# } +# } +# current_description = minister_recruit_confucian_scholar_desc +# localization = minister_recruit_confucian_scholar_desc +# icon = "gfx/interface/icons/modifiers/icon_piety_confucianism_02.dds" +# ai_chance = { +# value = 100 +# } +# } +# item = { +# value = minister_recruit_eunuch +# is_valid = { +# NOR = { +# has_title = title:e_minister_grand_marshal +# 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 +# } +# } +# current_description = minister_recruit_eunuch_desc +# localization = minister_recruit_eunuch_desc +# icon = "gfx/interface/icons/character_interactions/provincial_examination.dds" +# ai_chance = { +# value = 100 +# } +# } +# } +# +# cost = { +# treasury = { +# value = 100 +# } +# } +# +# effect = { +# save_scope_as = minister_scope +# custom_tooltip = tgp_minister_recruit_courtiers_decision_effect_desc +# hidden_effect = { +# if = { +# limit = { scope:minister_recruit_administrator = yes } +# minister_courtier_recruitment_effect = { COURTIER_TEMPLATE = tgp_minister_administrator_template } +# } +# else_if = { +# limit = { scope:minister_recruit_diplomat = yes } +# minister_courtier_recruitment_effect = { COURTIER_TEMPLATE = tgp_minister_diplomat_template } +# } +# else_if = { +# limit = { scope:minister_recruit_commander = yes } +# minister_courtier_recruitment_effect = { COURTIER_TEMPLATE = tgp_minister_commander_template } +# } +# else_if = { +# limit = { scope:minister_recruit_warrior = yes } +# minister_courtier_recruitment_effect = { COURTIER_TEMPLATE = tgp_minister_warrior_template } +# } +# else_if = { +# limit = { scope:minister_recruit_scholar = yes } +# minister_courtier_recruitment_effect = { COURTIER_TEMPLATE = tgp_minister_scholar_template } +# } +# else_if = { +# limit = { scope:minister_recruit_confucian_scholar = yes } +# minister_courtier_recruitment_effect = { COURTIER_TEMPLATE = tgp_minister_confucian_scholar_template } +# } +# else_if = { +# limit = { scope:minister_recruit_eunuch = yes } +# minister_courtier_recruitment_effect = { COURTIER_TEMPLATE = tgp_minister_eunuch_template } +# } +# } +# } +# +# ai_check_interval_by_tier = { +# barony = 0 +# county = 0 +# duchy = 0 +# kingdom = 0 +# empire = 12 +# hegemony = 0 +# } +# +# ai_potential = { +# liege = { tgp_has_access_to_ministry_trigger = yes } +# is_councillor = yes +# any_courtier = { count <= 10 } +# } +# +# ai_will_do = { base = 100 } +#} # Study Confucian Classics ### Study the Confucian Classics ### @@ -1249,231 +1249,231 @@ tgp_tea_ceremony_decision = { base = 0 } } - -# Suggest Treasury Audit -### Suggest Treasury Audit ### -tgp_suggest_budget_change_decision = { - decision_group_type = admin - title = tgp_suggest_budget_change_decision - desc = tgp_suggest_budget_change_decision_desc - selection_tooltip = tgp_suggest_budget_change_decision_tooltip - picture = { - reference = "gfx/interface/illustrations/decisions/tgp_scholars.dds" - } - sort_order = 110 - - is_shown = { - government_has_flag = government_is_celestial - liege = { tgp_has_access_to_ministry_trigger = yes } - has_title = title:e_minister_of_revenue - } - - is_valid = { - } - - is_valid_showing_failures_only = { - is_at_war = no - is_adult = yes - } - - cooldown = { years = 3 } - - widget = { - gui = "decision_view_widget_option_list_generic" - controller = decision_option_list_controller - decision_to_second_step_button = "SELECT_ACTION" - show_from_start = yes - - item = { - value = suggest_salary_budget - is_valid = { - custom_tooltip = { - text = liege_already_has_budget_desc - can_suggest_budget_salary_template_trigger = yes - } - } - current_description = suggest_salary_budget_desc - localization = suggest_salary_budget_desc - icon = "gfx/interface/icons/character_interactions/icon_gold.dds" - ai_chance = { - value = 100 - } - } - item = { - value = suggest_ministry_budget - is_valid = { - custom_tooltip = { - text = liege_already_has_budget_desc - can_suggest_budget_ministry_template_trigger = yes - } - } - current_description = suggest_ministry_budget_desc - localization = suggest_ministry_budget_desc - icon = "gfx/interface/icons/government_types/celestial_government.dds" - ai_chance = { - value = 100 - } - } - item = { - value = suggest_military_budget - is_valid = { - custom_tooltip = { - text = liege_already_has_budget_desc - can_suggest_budget_military_template_trigger = yes - } - } - current_description = suggest_military_budget_desc - localization = suggest_military_budget_desc - icon = "gfx/interface/icons/celestial_administration_types/icon_game_concept_celestial_military_administration.dds" - ai_chance = { - value = 100 - } - } - item = { - value = suggest_hegemon_budget - is_valid = { - custom_tooltip = { - text = liege_already_has_budget_desc - can_suggest_budget_hegemon_template_trigger = yes - } - } - current_description = suggest_hegemon_budget_desc - localization = suggest_hegemon_budget_desc - icon = "gfx/interface/icons/legitimacy_types/mandate_legitimacy.dds" - ai_chance = { - value = 100 - } - } - item = { - value = suggest_balanced_budget - is_valid = { - custom_tooltip = { - text = liege_already_has_budget_desc - can_suggest_budget_balanced_template_trigger = yes - } - } - current_description = suggest_balanced_budget_desc - localization = suggest_balanced_budget_desc - icon = "gfx/interface/icons/character_interactions/scroll_scales.dds" - ai_chance = { - value = 100 - } - } - item = { - value = suggest_salary_increase - is_valid = { - liege = { - NOT = { realm_law_group_at_maximum_level = budget_allocation_salary_law } - } - } - current_description = increase_budget_salary_desc - localization = increase_budget_salary_name - icon = "gfx/interface/icons/character_interactions/icon_gold.dds" - ai_chance = { - value = 100 - } - } - item = { - value = suggest_ministry_increase - is_valid = { - liege = { - NOT = { realm_law_group_at_maximum_level = budget_allocation_ministry_law } - } - } - current_description = increase_budget_ministry_desc - localization = increase_budget_ministry_name - icon = "gfx/interface/icons/court_position_types/favored_minister_court_position.dds" - ai_chance = { - value = 100 - } - } - item = { - value = suggest_military_increase - is_valid = { - liege = { - NOT = { realm_law_group_at_maximum_level = budget_allocation_military_law } - } - } - current_description = increase_budget_military_desc - localization = increase_budget_military_name - icon = "gfx/interface/icons/message_feed/soldier.dds" - ai_chance = { - value = 100 - } - } - } - - cost = { - influence = { - value = medium_influence_value - } - } - - effect = { - save_scope_as = minister_of_revenue - liege = { save_scope_as = treasury_ruler } - custom_tooltip = tgp_suggest_budget_change_decision_liege_desc - if = { - limit = { scope:suggest_salary_budget = yes } - custom_tooltip = tgp_treasury_enact_salary_budget_desc - save_scope_as = budget_suggestion_salary_template - } - else_if = { - limit = { scope:suggest_ministry_budget= yes } - custom_tooltip = tgp_treasury_enact_ministry_budget_desc - save_scope_as = budget_suggestion_ministry_template - } - else_if = { - limit = { scope:suggest_military_budget = yes } - custom_tooltip = tgp_treasury_enact_military_budget_desc - save_scope_as = budget_suggestion_military_template - } - else_if = { - limit = { scope:suggest_hegemon_budget = yes } - custom_tooltip = tgp_treasury_enact_hegemon_budget_desc - save_scope_as = budget_suggestion_hegemon_template - } - else_if = { - limit = { scope:suggest_balanced_budget = yes } - custom_tooltip = tgp_treasury_enact_balanced_budget_desc - save_scope_as = budget_suggestion_balanced_template - } - else_if = { - limit = { scope:suggest_salary_increase = yes } - custom_tooltip = increase_budget_salary_tooltip - save_scope_as = budget_suggestion_salary_increase - } - else_if = { - limit = { scope:suggest_ministry_increase = yes } - custom_tooltip = increase_budget_ministry_tooltip - save_scope_as = budget_suggestion_ministry_increase - } - else_if = { - limit = { scope:suggest_military_increase = yes } - custom_tooltip = increase_budget_military_tooltip - save_scope_as = budget_suggestion_military_increase - } - liege = { - trigger_event = { id = tgp_china_ministry.0200 days = 1 } - } - } - - ai_check_interval_by_tier = { - barony = 0 - county = 0 - duchy = 0 - kingdom = 0 - empire = 0 - hegemony = 0 - } - - ai_potential = { - always = no - } - - ai_will_do = { base = 0 } -} - +# +## Suggest Treasury Audit +#### Suggest Treasury Audit ### +#tgp_suggest_budget_change_decision = { +# decision_group_type = admin +# title = tgp_suggest_budget_change_decision +# desc = tgp_suggest_budget_change_decision_desc +# selection_tooltip = tgp_suggest_budget_change_decision_tooltip +# picture = { +# reference = "gfx/interface/illustrations/decisions/tgp_scholars.dds" +# } +# sort_order = 110 +# +# is_shown = { +# government_has_flag = government_is_celestial +# liege = { tgp_has_access_to_ministry_trigger = yes } +# has_title = title:e_minister_of_revenue +# } +# +# is_valid = { +# } +# +# is_valid_showing_failures_only = { +# is_at_war = no +# is_adult = yes +# } +# +# cooldown = { years = 3 } +# +# widget = { +# gui = "decision_view_widget_option_list_generic" +# controller = decision_option_list_controller +# decision_to_second_step_button = "SELECT_ACTION" +# show_from_start = yes +# +# item = { +# value = suggest_salary_budget +# is_valid = { +# custom_tooltip = { +# text = liege_already_has_budget_desc +# can_suggest_budget_salary_template_trigger = yes +# } +# } +# current_description = suggest_salary_budget_desc +# localization = suggest_salary_budget_desc +# icon = "gfx/interface/icons/character_interactions/icon_gold.dds" +# ai_chance = { +# value = 100 +# } +# } +# item = { +# value = suggest_ministry_budget +# is_valid = { +# custom_tooltip = { +# text = liege_already_has_budget_desc +# can_suggest_budget_ministry_template_trigger = yes +# } +# } +# current_description = suggest_ministry_budget_desc +# localization = suggest_ministry_budget_desc +# icon = "gfx/interface/icons/government_types/celestial_government.dds" +# ai_chance = { +# value = 100 +# } +# } +# item = { +# value = suggest_military_budget +# is_valid = { +# custom_tooltip = { +# text = liege_already_has_budget_desc +# can_suggest_budget_military_template_trigger = yes +# } +# } +# current_description = suggest_military_budget_desc +# localization = suggest_military_budget_desc +# icon = "gfx/interface/icons/celestial_administration_types/icon_game_concept_celestial_military_administration.dds" +# ai_chance = { +# value = 100 +# } +# } +# item = { +# value = suggest_hegemon_budget +# is_valid = { +# custom_tooltip = { +# text = liege_already_has_budget_desc +# can_suggest_budget_hegemon_template_trigger = yes +# } +# } +# current_description = suggest_hegemon_budget_desc +# localization = suggest_hegemon_budget_desc +# icon = "gfx/interface/icons/legitimacy_types/mandate_legitimacy.dds" +# ai_chance = { +# value = 100 +# } +# } +# item = { +# value = suggest_balanced_budget +# is_valid = { +# custom_tooltip = { +# text = liege_already_has_budget_desc +# can_suggest_budget_balanced_template_trigger = yes +# } +# } +# current_description = suggest_balanced_budget_desc +# localization = suggest_balanced_budget_desc +# icon = "gfx/interface/icons/character_interactions/scroll_scales.dds" +# ai_chance = { +# value = 100 +# } +# } +# item = { +# value = suggest_salary_increase +# is_valid = { +# liege = { +# NOT = { realm_law_group_at_maximum_level = budget_allocation_salary_law } +# } +# } +# current_description = increase_budget_salary_desc +# localization = increase_budget_salary_name +# icon = "gfx/interface/icons/character_interactions/icon_gold.dds" +# ai_chance = { +# value = 100 +# } +# } +# item = { +# value = suggest_ministry_increase +# is_valid = { +# liege = { +# NOT = { realm_law_group_at_maximum_level = budget_allocation_ministry_law } +# } +# } +# current_description = increase_budget_ministry_desc +# localization = increase_budget_ministry_name +# icon = "gfx/interface/icons/court_position_types/favored_minister_court_position.dds" +# ai_chance = { +# value = 100 +# } +# } +# item = { +# value = suggest_military_increase +# is_valid = { +# liege = { +# NOT = { realm_law_group_at_maximum_level = budget_allocation_military_law } +# } +# } +# current_description = increase_budget_military_desc +# localization = increase_budget_military_name +# icon = "gfx/interface/icons/message_feed/soldier.dds" +# ai_chance = { +# value = 100 +# } +# } +# } +# +# cost = { +# influence = { +# value = medium_influence_value +# } +# } +# +# effect = { +# save_scope_as = minister_of_revenue +# liege = { save_scope_as = treasury_ruler } +# custom_tooltip = tgp_suggest_budget_change_decision_liege_desc +# if = { +# limit = { scope:suggest_salary_budget = yes } +# custom_tooltip = tgp_treasury_enact_salary_budget_desc +# save_scope_as = budget_suggestion_salary_template +# } +# else_if = { +# limit = { scope:suggest_ministry_budget= yes } +# custom_tooltip = tgp_treasury_enact_ministry_budget_desc +# save_scope_as = budget_suggestion_ministry_template +# } +# else_if = { +# limit = { scope:suggest_military_budget = yes } +# custom_tooltip = tgp_treasury_enact_military_budget_desc +# save_scope_as = budget_suggestion_military_template +# } +# else_if = { +# limit = { scope:suggest_hegemon_budget = yes } +# custom_tooltip = tgp_treasury_enact_hegemon_budget_desc +# save_scope_as = budget_suggestion_hegemon_template +# } +# else_if = { +# limit = { scope:suggest_balanced_budget = yes } +# custom_tooltip = tgp_treasury_enact_balanced_budget_desc +# save_scope_as = budget_suggestion_balanced_template +# } +# else_if = { +# limit = { scope:suggest_salary_increase = yes } +# custom_tooltip = increase_budget_salary_tooltip +# save_scope_as = budget_suggestion_salary_increase +# } +# else_if = { +# limit = { scope:suggest_ministry_increase = yes } +# custom_tooltip = increase_budget_ministry_tooltip +# save_scope_as = budget_suggestion_ministry_increase +# } +# else_if = { +# limit = { scope:suggest_military_increase = yes } +# custom_tooltip = increase_budget_military_tooltip +# save_scope_as = budget_suggestion_military_increase +# } +# liege = { +# trigger_event = { id = tgp_china_ministry.0200 days = 1 } +# } +# } +# +# ai_check_interval_by_tier = { +# barony = 0 +# county = 0 +# duchy = 0 +# kingdom = 0 +# empire = 0 +# hegemony = 0 +# } +# +# ai_potential = { +# always = no +# } +# +# ai_will_do = { base = 0 } +#} +# ### Withdraw Fund from Treasury ### extract_gold_from_treasury = { diff --git a/common/dynasties/NEOW_dynasties.txt b/common/dynasties/NEOW_dynasties.txt index 5bd0ea66..6704aec7 100644 --- a/common/dynasties/NEOW_dynasties.txt +++ b/common/dynasties/NEOW_dynasties.txt @@ -1131,7 +1131,7 @@ ribera_dynasty = { culture = balearic } -Miravete_dynasty { +Miravete_dynasty = { name = dynn_Miravete culture = castilian } diff --git a/common/scripted_effects/00_scheme_scripted_effects.txt b/common/scripted_effects/00_scheme_scripted_effects.txt index 228ffc44..c49e5330 100644 --- a/common/scripted_effects/00_scheme_scripted_effects.txt +++ b/common/scripted_effects/00_scheme_scripted_effects.txt @@ -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 = { diff --git a/common/scripted_triggers/10_tgp_triggers.txt b/common/scripted_triggers/10_tgp_triggers.txt index 3222ab37..040403d0 100644 --- a/common/scripted_triggers/10_tgp_triggers.txt +++ b/common/scripted_triggers/10_tgp_triggers.txt @@ -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 = { diff --git a/events/dlc/fp3/fp3_religious_decision_events.txt b/events/dlc/fp3/fp3_religious_decision_events.txt index defabe17..6ed862b4 100644 --- a/events/dlc/fp3/fp3_religious_decision_events.txt +++ b/events/dlc/fp3/fp3_religious_decision_events.txt @@ -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 } +# } +# } +# } +# } +# } +#} +# \ No newline at end of file diff --git a/events/dlc/fp3/fp3_struggle_events.txt b/events/dlc/fp3/fp3_struggle_events.txt index c1ca3173..0b3c5fc9 100644 --- a/events/dlc/fp3/fp3_struggle_events.txt +++ b/events/dlc/fp3/fp3_struggle_events.txt @@ -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 diff --git a/events/dlc/fp3/fp3_yearly_events_hugo.txt b/events/dlc/fp3/fp3_yearly_events_hugo.txt index 6ae8aa81..ddd91366 100644 --- a/events/dlc/fp3/fp3_yearly_events_hugo.txt +++ b/events/dlc/fp3/fp3_yearly_events_hugo.txt @@ -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 = { diff --git a/events/dlc/tgp/tgp_china_ministry_events.txt b/events/dlc/tgp/tgp_china_ministry_events.txt index f26e24a0..9ce3529a 100644 --- a/events/dlc/tgp/tgp_china_ministry_events.txt +++ b/events/dlc/tgp/tgp_china_ministry_events.txt @@ -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 } } } diff --git a/events/test_events/debug.txt b/events/test_events/debug.txt index ea3c114a..43543d99 100644 --- a/events/test_events/debug.txt +++ b/events/test_events/debug.txt @@ -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 = iberian_struggle +# save_scope_as = fp3_struggle_detractor # } - } - - option = {} -} +# 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 = { +## 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 diff --git a/history/titles/k_greece.txt b/history/titles/k_greece.txt index 1973acb1..2c523702 100644 --- a/history/titles/k_greece.txt +++ b/history/titles/k_greece.txt @@ -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 } diff --git a/history/titles/k_switzerland.txt b/history/titles/k_switzerland.txt index 7f4a65e9..748e7479 100644 --- a/history/titles/k_switzerland.txt +++ b/history/titles/k_switzerland.txt @@ -245,7 +245,7 @@ c_vaucluse={ 2555.1.1 = { change_development_level = 11 } } -d_monaco{ +d_monaco = { 2550.1.1 = { holder = france_grimaldi_honore }