on actions updated files
This commit is contained in:
parent
707660e545
commit
6fe43fad95
13 changed files with 3892 additions and 965 deletions
|
|
@ -1261,6 +1261,7 @@ yearly_playable_pulse = {
|
|||
else = {
|
||||
}
|
||||
ai_budget_manipulation_effect = yes
|
||||
hedonistic_obesity_modifier_sync_effect = yes
|
||||
|
||||
#Mandala
|
||||
if = {
|
||||
|
|
@ -1379,6 +1380,7 @@ yearly_playable_pulse = {
|
|||
has_treasury = yes
|
||||
}
|
||||
trigger_event = tgp_china_ministry.0100
|
||||
trigger_event = pam_theocratic_budget_events.0001
|
||||
}
|
||||
}
|
||||
# Assign or level up court type trait for courtiers in a royal court
|
||||
|
|
@ -1423,9 +1425,9 @@ yearly_playable_pulse = {
|
|||
save_scope_as = unity_target
|
||||
if = {
|
||||
limit = {
|
||||
OR = {
|
||||
has_character_flag = steer_unity_towards_harmonious_passive_gain
|
||||
has_character_flag = steer_unity_towards_antagonistic_passive_loss
|
||||
has_variable = {
|
||||
name = steer_unity_towards_harmonious_passive_gain
|
||||
name = steer_unity_towards_antagonistic_passive_loss
|
||||
}
|
||||
}
|
||||
house = {
|
||||
|
|
@ -1537,7 +1539,7 @@ yearly_playable_pulse = {
|
|||
limit = { is_ai = yes }
|
||||
is_available = yes
|
||||
}
|
||||
NOT = { has_government = celestial_government }
|
||||
NOT = { government_has_flag = government_is_celestial }
|
||||
}
|
||||
random = {
|
||||
chance = {
|
||||
|
|
@ -1624,7 +1626,25 @@ yearly_playable_pulse = {
|
|||
}
|
||||
}
|
||||
|
||||
if = { # Is Admin
|
||||
if = {
|
||||
limit = {
|
||||
OR = {
|
||||
NOT = { government_allows = noble_families }
|
||||
AND = {
|
||||
liege = this
|
||||
any_held_title = {
|
||||
count = all
|
||||
is_noble_family_title = yes
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
every_held_title = {
|
||||
limit = { is_noble_family_title = yes }
|
||||
prev = { destroy_title = prev }
|
||||
}
|
||||
}
|
||||
else_if = { # Is Admin
|
||||
limit = {
|
||||
government_has_flag = government_is_administrative
|
||||
is_landed = yes
|
||||
|
|
@ -1796,7 +1816,11 @@ yearly_playable_pulse = {
|
|||
}
|
||||
every_courtier = {
|
||||
limit = {
|
||||
location != root.capital_province
|
||||
trigger_if = {
|
||||
limit = { exists = location }
|
||||
location != root.capital_province
|
||||
}
|
||||
trigger_else = { always = yes }
|
||||
is_imprisoned = no
|
||||
is_travelling = no
|
||||
is_commanding_army = no
|
||||
|
|
@ -1814,7 +1838,11 @@ yearly_playable_pulse = {
|
|||
}
|
||||
every_courtier = {
|
||||
limit = {
|
||||
location != root.domicile.domicile_location
|
||||
trigger_if = {
|
||||
limit = { exists = location }
|
||||
location != root.domicile.domicile_location
|
||||
}
|
||||
trigger_else = { always = yes }
|
||||
is_imprisoned = no
|
||||
is_travelling = no
|
||||
is_commanding_army = no
|
||||
|
|
@ -2169,53 +2197,51 @@ yearly_playable_pulse = {
|
|||
}
|
||||
|
||||
#If you need to be anointed...
|
||||
coronation_save_anointment_authority_effect = { SCOPE = anointment_authority }
|
||||
#First step is being un-excommunicated
|
||||
if = {
|
||||
limit = {
|
||||
highest_held_title_tier >= tier_empire
|
||||
has_trait = excommunicated
|
||||
faith = {
|
||||
has_doctrine = doctrine_spiritual_head
|
||||
has_doctrine = doctrine_imperial_anointment
|
||||
}
|
||||
rite = { rite_has_doctrine = doctrine_imperial_anointment }
|
||||
exists = scope:anointment_authority
|
||||
custom_tooltip = {
|
||||
text = anointment_request_already_supported
|
||||
NOT = {
|
||||
is_target_in_variable_list = {
|
||||
name = supported_anointments
|
||||
target = scope:actor
|
||||
scope:anointment_authority = {
|
||||
NOT = {
|
||||
is_target_in_variable_list = {
|
||||
name = supported_anointments
|
||||
target = root
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
is_character_interaction_valid = {
|
||||
recipient = faith.religious_head
|
||||
recipient = scope:anointment_authority
|
||||
interaction = declaration_of_repentance_interaction
|
||||
}
|
||||
}
|
||||
run_interaction = {
|
||||
interaction = declaration_of_repentance_interaction
|
||||
actor = this
|
||||
recipient = faith.religious_head
|
||||
recipient = scope:anointment_authority
|
||||
execute_threshold = maybe
|
||||
}
|
||||
}
|
||||
#Next step is getting approval
|
||||
else_if = {
|
||||
limit = {
|
||||
exists = faith.religious_head
|
||||
exists = scope:anointment_authority
|
||||
is_character_interaction_valid = {
|
||||
recipient = faith.religious_head
|
||||
recipient = scope:anointment_authority
|
||||
interaction = coronation_anointment_request
|
||||
}
|
||||
faith = {
|
||||
has_doctrine = doctrine_spiritual_head
|
||||
has_doctrine = doctrine_imperial_anointment
|
||||
}
|
||||
rite = { rite_has_doctrine = doctrine_imperial_anointment }
|
||||
}
|
||||
run_interaction = {
|
||||
interaction = coronation_anointment_request
|
||||
actor = this
|
||||
recipient = faith.religious_head
|
||||
recipient = scope:anointment_authority
|
||||
execute_threshold = maybe
|
||||
}
|
||||
}
|
||||
|
|
@ -2251,6 +2277,8 @@ three_year_playable_pulse = {
|
|||
# 600 = global_culture.3012
|
||||
# }
|
||||
effect = {
|
||||
# Replace the monks a clerical court has lost, so it does not drift back to reading as secular
|
||||
pam_seed_monk_courtiers_effect = yes
|
||||
if = { # Nomadic herd starves if you're landless
|
||||
limit = {
|
||||
is_landed = no
|
||||
|
|
@ -2481,6 +2509,23 @@ three_year_playable_pulse = {
|
|||
five_year_playable_pulse = {
|
||||
effect = {
|
||||
ai_chance_to_become_conqueror_effect = yes
|
||||
pam_ai_personal_tenet_pulse_effect = yes
|
||||
###############
|
||||
# PAM Peace of God Tenet
|
||||
###############
|
||||
if = {
|
||||
limit = {
|
||||
OR = {
|
||||
rite = { rite_has_tenet = tenet_peace_of_god }
|
||||
has_personal_tenet = tenet_peace_of_god
|
||||
}
|
||||
days_of_continuous_peace >= 1825 # 5 years
|
||||
}
|
||||
trigger_event = {
|
||||
id = pam_tenet_events.0001
|
||||
days = { 21 37 }
|
||||
}
|
||||
}
|
||||
# Special Holy Seeds drops
|
||||
if = {
|
||||
limit = {
|
||||
|
|
@ -2767,6 +2812,7 @@ random_yearly_playable_pulse = {
|
|||
}
|
||||
}
|
||||
6 = on_yearly_events
|
||||
1 = pam_christian_yearly_events
|
||||
5 = fp1_yearly_events
|
||||
4 = fp2_yearly_events
|
||||
4 = fp3_yearly_events
|
||||
|
|
@ -2816,9 +2862,9 @@ random_yearly_playable_pulse = {
|
|||
limit = {
|
||||
is_ai = yes
|
||||
OR = {
|
||||
has_commander_trait_trigger = yes
|
||||
has_trait_with_flag = commander_trait_flag
|
||||
any_knight = {
|
||||
has_commander_trait_trigger = yes
|
||||
has_trait_with_flag = commander_trait_flag
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -2826,7 +2872,7 @@ random_yearly_playable_pulse = {
|
|||
every_knight = {
|
||||
limit = {
|
||||
is_ai = yes
|
||||
has_commander_trait_trigger = yes
|
||||
has_trait_with_flag = commander_trait_flag
|
||||
}
|
||||
commander_trait_lvling_ai_effect = yes
|
||||
}
|
||||
|
|
@ -2916,7 +2962,7 @@ random_yearly_everyone_pulse = {
|
|||
}
|
||||
random_events = {
|
||||
500 = 0
|
||||
100 = holy_order.0202 #Holy order demands payment
|
||||
100 = holy_order.0202 #Military Order demands payment
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -3036,6 +3082,27 @@ five_year_everyone_pulse = {
|
|||
}
|
||||
trigger_event = ep3_yearly.3000
|
||||
}
|
||||
if = {
|
||||
limit = {
|
||||
NOT = {
|
||||
exists = puppeteer
|
||||
}
|
||||
OR = {
|
||||
has_character_modifier = skilled_puppeteer_modifier_diplomacy
|
||||
has_character_modifier = skilled_puppeteer_modifier_martial
|
||||
has_character_modifier = skilled_puppeteer_modifier_stewardship
|
||||
has_character_modifier = skilled_puppeteer_modifier_intrigue
|
||||
has_character_modifier = skilled_puppeteer_modifier_learning
|
||||
has_character_modifier = skilled_puppeteer_modifier_general
|
||||
has_character_modifier = spiritual_puppeteer_modifier_cleric
|
||||
has_character_modifier = spiritual_puppeteer_modifier_secular
|
||||
has_character_modifier = dreadful_puppeteer_modifier
|
||||
has_character_modifier = beloved_puppeteer_modifier
|
||||
has_character_modifier = deranging_puppeteer_modifier
|
||||
}
|
||||
}
|
||||
remove_puppet_modifiers_effect = yes
|
||||
}
|
||||
}
|
||||
on_actions = {
|
||||
disease_outbreak_pulse # moved from health_on_actions.txt
|
||||
|
|
@ -3101,7 +3168,7 @@ ai_character_pulse = {
|
|||
chance_to_happen = 25
|
||||
500 = 0
|
||||
100 = learn_commander_trait.0001
|
||||
100 = holy_order.0100 #Give pilgrim trait to holy order members
|
||||
100 = holy_order.0100 #Give pilgrim trait to Military Order members
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -3273,10 +3340,10 @@ on_yearly_events = {
|
|||
20 = pet_animal.5001 # Rival has cat...
|
||||
20 = pet_animal.5002 # Rival has dog...
|
||||
|
||||
#Holy Order
|
||||
100 = holy_order.2001 # Child wishes to join Holy Order
|
||||
100 = holy_order.2002 # Sibling wants to join a Holy Order
|
||||
200 = holy_order.2003 # Holy Order suggests you send them a child
|
||||
#Military Order
|
||||
100 = holy_order.2001 # Child wishes to join Military Order
|
||||
100 = holy_order.2002 # Sibling wants to join a Military Order
|
||||
200 = holy_order.2003 # Military Order suggests you send them a child
|
||||
1000 = holy_order.2004 # Child returns to pick up the mantle
|
||||
100 = holy_order.2005 # A - Possibly Undesirable - Child Returns Home
|
||||
1000 = fp1_jomsvikings.0011 # FP1 - Jomsvikings terrorise their neighbours
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue