fixed bga events
This commit is contained in:
parent
4ead0b92e4
commit
cd26a19f4f
20 changed files with 29092 additions and 12489 deletions
1
events/dlc/pam/heresy/pam_heresy_historical_events.txt
Normal file
1
events/dlc/pam/heresy/pam_heresy_historical_events.txt
Normal file
|
|
@ -0,0 +1 @@
|
|||
# we can repopulate this if we want to make our own historical heresy outbreaks
|
||||
93
events/dlc/pam/heresy/pam_heresy_pulse.txt
Normal file
93
events/dlc/pam/heresy/pam_heresy_pulse.txt
Normal file
|
|
@ -0,0 +1,93 @@
|
|||
namespace = heresy_pulse
|
||||
|
||||
####################################################################
|
||||
# Heresy outbreak system - Router #
|
||||
####################################################################
|
||||
# Faith pulse: faith_heresy_events_pulse runs once a month per faith and
|
||||
# fires heresy_pulse.0001 when fervor is critically low.
|
||||
# The router picks Component 1 (light divergence), 2 (dangerous new rite), or 3 (historical heresy, Christianity-only)
|
||||
# using pluralism + Christian Situation phase weights, and sets the cooldown variable that gates re-runs.
|
||||
|
||||
#####################################
|
||||
# 0001 - Component selection router #
|
||||
#####################################
|
||||
|
||||
heresy_pulse.0001 = {
|
||||
hidden = yes
|
||||
scope = faith
|
||||
|
||||
immediate = {
|
||||
save_scope_as = origin_faith
|
||||
|
||||
random_list = {
|
||||
# Component 1 - light rite divergence (most common)
|
||||
50 = {
|
||||
trigger = {
|
||||
any_faith_rite = {
|
||||
this != root.main_rite
|
||||
rite_counties >= 1
|
||||
head_of_rite ?= { is_ai = yes }
|
||||
}
|
||||
}
|
||||
# Pluralism severity scaling
|
||||
modifier = {
|
||||
factor = 0.2
|
||||
main_rite = { rite_has_parameter = pluralism_fundamentalist_vulnerable_to_heresy }
|
||||
}
|
||||
modifier = {
|
||||
factor = 1.6
|
||||
main_rite = { rite_has_parameter = pluralism_pluralistic_resistant_to_heresy }
|
||||
}
|
||||
scope:origin_faith = {
|
||||
trigger_event = heresy_light.0001
|
||||
pam_heresy_set_pulse_cooldown_effect = yes
|
||||
}
|
||||
}
|
||||
|
||||
# Component 2 - new dangerously divergent rite (rare)
|
||||
20 = {
|
||||
# Hard 60% main-rite share gate.
|
||||
trigger = {
|
||||
pam_heresy_c2_main_rite_dominant_trigger = yes
|
||||
}
|
||||
# Pluralism severity scaling
|
||||
modifier = {
|
||||
factor = 1
|
||||
main_rite = { rite_has_parameter = pluralism_fundamentalist_vulnerable_to_heresy }
|
||||
}
|
||||
modifier = {
|
||||
factor = 0.5
|
||||
main_rite = { rite_has_parameter = pluralism_pluralistic_resistant_to_heresy }
|
||||
}
|
||||
modifier = {
|
||||
factor = 0.1
|
||||
rite_growth_rites_needed <= 0
|
||||
}
|
||||
scope:origin_faith = {
|
||||
trigger_event = heresy_dangerous_rite.0001
|
||||
pam_heresy_set_pulse_cooldown_effect = yes
|
||||
}
|
||||
}
|
||||
|
||||
# Component 3 - historical heresy outbreak (Christianity-only)
|
||||
10 = {
|
||||
trigger = {
|
||||
pam_heresy_c3_eligible_trigger = yes
|
||||
}
|
||||
# Pluralism severity scaling (C3 is the most pluralism-sensitive)
|
||||
modifier = {
|
||||
factor = 3
|
||||
main_rite = { rite_has_parameter = pluralism_fundamentalist_vulnerable_to_heresy }
|
||||
}
|
||||
modifier = {
|
||||
factor = 0.5
|
||||
main_rite = { rite_has_parameter = pluralism_pluralistic_resistant_to_heresy }
|
||||
}
|
||||
scope:origin_faith = {
|
||||
trigger_event = heresy_historical.0001
|
||||
pam_heresy_set_pulse_cooldown_effect = yes
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue