fixes big evebts abd on actions plus mroe

This commit is contained in:
Greekman 2026-11-21 19:27:08 +00:00
parent c9d520e5a1
commit bce2aa31a1
207 changed files with 100377 additions and 9296 deletions

View file

@ -310,6 +310,20 @@ pilgrimage.0500 = {
}
cooldown = { years = 10 }
trigger = {
is_available_healthy_adult = yes
#Forbidden from pilgrimages? No pilgrimage for you!
rite = { NOT = { rite_has_parameter = forbidden_from_pilgrimage } }
#This really should take care of most Hajj/Pilgrim-related trigger checks - if you don't have this trait, you haven't been pilgrimming before
NOR = {
has_trait = pilgrim
has_trait = hajjaj
}
#Only one modifier for _you_
NOR = {
has_character_modifier = ghost_pilgrimage_promised_modifier
has_character_modifier = hajj_promised_modifier
has_character_modifier = pilgrimage_promised_modifier
}
any_close_family_member = {
OR = {
has_any_good_relationship_with_character_trigger = { CHARACTER = root }
@ -337,9 +351,6 @@ pilgrimage.0500 = {
faith = root.faith
has_trait = pilgrim
}
is_available_healthy_adult = yes
#Forbidden from pilgrimages? No pilgrimage for you!
rite = { NOT = { rite_has_parameter = forbidden_from_pilgrimage } }
faith = {
any_holy_site_barony = {
pilgrimage_0500_valid_holy_site_trigger = yes
@ -350,17 +361,6 @@ pilgrimage.0500 = {
this != scope:holy_site_check
}
}
#This really should take care of most Hajj/Pilgrim-related trigger checks - if you don't have this trait, you haven't been pilgrimming before
NOR = {
has_trait = pilgrim
has_trait = hajjaj
}
#Only one modifier for _you_
NOR = {
has_character_modifier = ghost_pilgrimage_promised_modifier
has_character_modifier = hajj_promised_modifier
has_character_modifier = pilgrimage_promised_modifier
}
}
immediate = {
random_close_family_member = {
@ -1616,7 +1616,7 @@ pilgrimage.1120 = {
location = {
has_holding_type = church_holding
county = {
development_level >= 5
prosperity_level >= 5
faith = {
religion = root.religion
faith_hostility_level = { target = root.faith value <= 1 }
@ -1642,12 +1642,12 @@ pilgrimage.1120 = {
add = 10
}
modifier = {
location = { has_special_building = yes }
location = { has_special_district = yes }
add = 10
}
modifier = {
add = {
value = location.county.development_level
value = location.county.prosperity_level
divide = 4
}
}
@ -1860,7 +1860,7 @@ pilgrimage.1130 = {
base = 1
modifier = {
add = -0.75
location.county.development_level >= 10
location.county.prosperity_level >= 10
}
}
@ -2255,7 +2255,7 @@ pilgrimage.1140 = {
base = 1
modifier = {
add = {
value = location.county.development_level
value = location.county.prosperity_level
divide = 4
}
}
@ -5514,20 +5514,20 @@ pilgrimage.2070 = {
}
stress_and_fulfillment_impact = {
lifestyle_reveler = medium_stress_impact_loss
cynical = medium_stress_impact_loss
zealous = major_stress_impact_gain
cynical = medium_stress_impact_gain
zealous = medium_stress_impact_loss
}
ai_chance = {
base = 100
modifier = {
has_trait = zealous
has_trait = cynical
factor = 0
}
modifier = {
OR = {
has_trait = lifestyle_reveler
has_trait = cynical
has_trait = zealous
}
factor = 2
}
@ -5539,7 +5539,7 @@ pilgrimage.2070 = {
name = pilgrimage.2070.b
current_travel_plan = {
delay_travel_plan = {
days = 5
days = 2
}
}
progress_towards_friend_effect = {
@ -5548,22 +5548,19 @@ pilgrimage.2070 = {
OPINION = default_friend_opinion
}
stress_and_fulfillment_impact = {
zealous = medium_stress_impact_loss
zealous = medium_stress_impact_gain
shy = minor_stress_impact_gain
lifestyle_reveler = medium_stress_impact_gain
cynical = major_stress_impact_gain
}
ai_chance = {
base = 100
modifier = {
has_trait = zealous
factor = 2
}
modifier = {
OR = {
has_trait = shy
has_trait = lifestyle_reveler
has_trait = cynical
has_trait = zealous
}
factor = 0
}
@ -5577,19 +5574,17 @@ pilgrimage.2070 = {
add_travel_plan_modifier = { modifier = pilgrimage_make_haste_modifier }
}
stress_and_fulfillment_impact = {
lazy = minor_stress_impact_loss
zealous = medium_stress_impact_gain
zealous = minor_stress_impact_loss
lifestyle_reveler = medium_stress_impact_gain
}
ai_chance = {
base = 100
modifier = {
has_trait = lazy
has_trait = zealous
factor = 2
}
modifier = {
OR = {
has_trait = zealous
has_trait = lifestyle_reveler
}
factor = 0
@ -13708,7 +13703,10 @@ scripted_effect pilgrimage_6810_friend_effect = {
}
}
else_if = { #if you can't be friends we make them endorse you
limit = { exists = scope:my_bishop }
limit = { # The caller can be their own bishop
exists = scope:my_bishop
scope:my_bishop != this
}
scope:my_bishop = {
add_opinion = {
target = prev #we use prev so we can use the effect with your heir too
@ -15115,7 +15113,7 @@ pilgrimage.7000 = {
option = {
name = pilgrimage.7000.b
trigger = { # If it's Pious or Hajj we lower your Gallowsbait
has_ep3_dlc_trigger = yes
has_playable_adventurer_dlc_trigger = yes
has_trait = gallowsbait
has_any_gallowsbait_xp_trigger = yes
OR = {
@ -15133,7 +15131,7 @@ pilgrimage.7000 = {
}
}
}
if = { # If you are a devoted Pilgrim you lose it entirely
if = { # If you are a devoted Pilgrim, and there is not too much left to answer for, you lose it entirely
limit = {
OR = {
AND = {
@ -15146,6 +15144,7 @@ pilgrimage.7000 = {
has_character_flag = perfect_pious_reward
has_character_flag = high_pious_reward
}
notorious_gallowsbait_xp_trigger = no
}
remove_trait = gallowsbait
}