event fixing pt III
This commit is contained in:
parent
0555f85c12
commit
e660a1513e
112 changed files with 4671 additions and 148791 deletions
|
|
@ -227,7 +227,7 @@ fp1_other_decisions.0003 = {
|
|||
}
|
||||
right_portrait = {
|
||||
character = scope:unlucky_guest
|
||||
animation = fear
|
||||
animation = dead
|
||||
}
|
||||
override_background = { reference = temple }
|
||||
|
||||
|
|
@ -253,6 +253,8 @@ fp1_other_decisions.0003 = {
|
|||
# Get the party (audibly) started.
|
||||
play_music_cue = "mx_cue_banquet"
|
||||
|
||||
scope:blotter.faith.religious_head ?= { save_scope_as = blotter_hof }
|
||||
|
||||
# Is it somebody specific's death day?
|
||||
if = {
|
||||
limit = {
|
||||
|
|
@ -357,8 +359,7 @@ fp1_other_decisions.0003 = {
|
|||
}
|
||||
every_in_list = {
|
||||
variable = gf_guests_rejecting_invite_list
|
||||
# TIT-25457
|
||||
remove_from_list = happified_title_subjects_list
|
||||
remove_from_list = happified_character_subjects_list
|
||||
}
|
||||
}
|
||||
# Set up var:gf_faith for custom loc to work; not used in strictly every permutation, but doesn't really need an if gate on it.
|
||||
|
|
@ -380,49 +381,49 @@ fp1_other_decisions.0003 = {
|
|||
add_piety = var:gf_piety_value
|
||||
remove_variable = gf_piety_value
|
||||
}
|
||||
}
|
||||
## Big RIP, scope:unlucky_guest.
|
||||
if = {
|
||||
limit = { exists = scope:unlucky_guest }
|
||||
# Sort opinions and kinslaying.
|
||||
add_kinslayer_trait_or_nothing_effect = { VICTIM = scope:unlucky_guest}
|
||||
execute_opinion_effect = {
|
||||
VICTIM = scope:unlucky_guest
|
||||
EXECUTIONER = scope:blotter
|
||||
}
|
||||
# Are you HumSac'ing the HoF of a faith that doesn't practice HumSac?
|
||||
## We hide this, since it's too late for you to do anything about now and it's more fun/terrifying to find out about it *after* the sacrifice.
|
||||
hidden_effect = {
|
||||
humsacd_a_hof_effect = {
|
||||
SACRIFICER = scope:blotter
|
||||
SACRIFICED_HOF = scope:unlucky_guest
|
||||
}
|
||||
}
|
||||
## And are you actually humsac'ing your *OWN* HoF?
|
||||
## Big RIP, scope:unlucky_guest.
|
||||
if = {
|
||||
limit = { scope:blotter.faith.religious_head = scope:unlucky_guest }
|
||||
# Inform players that they're an abysmal, abysmal faith adherent.
|
||||
every_player = {
|
||||
limit = {
|
||||
this != scope:blotter
|
||||
faith = scope:unlucky_guest.faith
|
||||
limit = { exists = scope:unlucky_guest }
|
||||
# Sort opinions and kinslaying.
|
||||
add_kinslayer_trait_or_nothing_effect = { VICTIM = scope:unlucky_guest }
|
||||
execute_opinion_effect = {
|
||||
VICTIM = scope:unlucky_guest
|
||||
EXECUTIONER = scope:blotter
|
||||
}
|
||||
# Are you HumSac'ing the HoF of a faith that doesn't practice HumSac?
|
||||
## We hide this, since it's too late for you to do anything about now and it's more fun/terrifying to find out about it *after* the sacrifice.
|
||||
hidden_effect = {
|
||||
humsacd_a_hof_effect = {
|
||||
SACRIFICER = scope:blotter
|
||||
SACRIFICED_HOF = scope:unlucky_guest
|
||||
}
|
||||
trigger_event = fp1_other_decisions.0023
|
||||
}
|
||||
# Update scope:blotter's HumSac'd HoFs kill tally manually, since we're not going through the usual effect.
|
||||
add_to_variable_list = {
|
||||
name = humsacd_hofs
|
||||
target = scope:unlucky_guest.faith
|
||||
}
|
||||
# And tell scope:blotter they dun goofed.
|
||||
trigger_event = {
|
||||
id = fp1_other_decisions.0024
|
||||
# We give it a day's delay, since they _might_ have taken a conversion option in the event itself, in which case the follow-up event is invalid.
|
||||
days = 1
|
||||
## And are you actually humsac'ing your *OWN* HoF?
|
||||
if = {
|
||||
limit = { scope:blotter.faith.religious_head ?= scope:unlucky_guest }
|
||||
# Inform players that they're an abysmal, abysmal faith adherent.
|
||||
every_player = {
|
||||
limit = {
|
||||
this != scope:blotter
|
||||
faith = scope:unlucky_guest.faith
|
||||
}
|
||||
trigger_event = fp1_other_decisions.0023
|
||||
}
|
||||
# Update scope:blotter's HumSac'd HoFs kill tally manually, since we're not going through the usual effect.
|
||||
add_to_variable_list = {
|
||||
name = humsacd_hofs
|
||||
target = scope:unlucky_guest.faith
|
||||
}
|
||||
# And tell scope:blotter they dun goofed.
|
||||
trigger_event = {
|
||||
id = fp1_other_decisions.0024
|
||||
# We give it a day's delay, since they _might_ have taken a conversion option in the event itself, in which case the follow-up event is invalid.
|
||||
days = 1
|
||||
}
|
||||
}
|
||||
}
|
||||
# How exactly do they die?
|
||||
scope:unlucky_guest = {
|
||||
scope:unlucky_guest ?= {
|
||||
# Cannibalist Germanic pagans will hang them, then eat them.
|
||||
trigger_event = fp1_other_decisions.1000
|
||||
if = {
|
||||
|
|
@ -596,7 +597,7 @@ fp1_other_decisions.0003 = {
|
|||
}
|
||||
hidden_effect = {
|
||||
every_in_list = {
|
||||
list = happified_title_subjects_list
|
||||
list = happified_character_subjects_list
|
||||
limit = {
|
||||
# Filter out lowborns.
|
||||
exists = dynasty
|
||||
|
|
@ -617,10 +618,8 @@ fp1_other_decisions.0003 = {
|
|||
name = fp1_other_decisions.0003.a
|
||||
# Only available if you follow the scope:gf_faith & have priests to impress at all.
|
||||
trigger = {
|
||||
faith = {
|
||||
this = scope:gf_faith
|
||||
has_doctrine = doctrine_theocracy_temporal
|
||||
}
|
||||
faith = scope:gf_faith
|
||||
rite = { rite_has_doctrine = doctrine_theocracy_temporal }
|
||||
}
|
||||
|
||||
scope:activity = {
|
||||
|
|
@ -633,7 +632,7 @@ fp1_other_decisions.0003 = {
|
|||
# Your commitment to ritual earns you opinion with the priestly classes.
|
||||
if = {
|
||||
limit = {
|
||||
any_learning_councillor = { exists = this }
|
||||
any_learning_councillor = {}
|
||||
}
|
||||
every_learning_councillor = {
|
||||
add_opinion = {
|
||||
|
|
@ -665,7 +664,7 @@ fp1_other_decisions.0003 = {
|
|||
}
|
||||
}
|
||||
|
||||
stress_impact = {
|
||||
stress_and_fulfillment_impact = {
|
||||
zealous = major_stress_impact_loss
|
||||
cynical = major_stress_impact_gain
|
||||
}
|
||||
|
|
@ -718,7 +717,7 @@ fp1_other_decisions.0003 = {
|
|||
}
|
||||
}
|
||||
|
||||
stress_impact = {
|
||||
stress_and_fulfillment_impact = {
|
||||
arrogant = medium_stress_impact_loss
|
||||
humble = medium_stress_impact_gain
|
||||
}
|
||||
|
|
@ -764,7 +763,7 @@ fp1_other_decisions.0003 = {
|
|||
}
|
||||
}
|
||||
|
||||
stress_impact = {
|
||||
stress_and_fulfillment_impact = {
|
||||
humble = major_stress_impact_loss
|
||||
arrogant = major_stress_impact_gain
|
||||
}
|
||||
|
|
@ -807,7 +806,7 @@ fp1_other_decisions.0003 = {
|
|||
}
|
||||
|
||||
|
||||
stress_impact = {
|
||||
stress_and_fulfillment_impact = {
|
||||
arrogant = major_stress_impact_loss
|
||||
humble = major_stress_impact_gain
|
||||
}
|
||||
|
|
@ -855,7 +854,7 @@ fp1_other_decisions.0003 = {
|
|||
}
|
||||
}
|
||||
|
||||
stress_impact = {
|
||||
stress_and_fulfillment_impact = {
|
||||
humble = major_stress_impact_loss
|
||||
arrogant = major_stress_impact_gain
|
||||
}
|
||||
|
|
@ -955,26 +954,7 @@ fp1_other_decisions.0003 = {
|
|||
# Converting outside of your religious family, you're a heathen.
|
||||
else_if = {
|
||||
limit = {
|
||||
OR = {
|
||||
AND = {
|
||||
scope:old_faith.religion = { is_in_family = rf_eastern }
|
||||
NOT = {
|
||||
scope:gf_faith.religion = { is_in_family = rf_eastern }
|
||||
}
|
||||
}
|
||||
AND = {
|
||||
scope:old_faith.religion = { is_in_family = rf_pagan }
|
||||
NOT = {
|
||||
scope:gf_faith.religion = { is_in_family = rf_pagan }
|
||||
}
|
||||
}
|
||||
AND = {
|
||||
scope:old_faith.religion = { is_in_family = rf_abrahamic }
|
||||
NOT = {
|
||||
scope:gf_faith.religion = { is_in_family = rf_abrahamic }
|
||||
}
|
||||
}
|
||||
}
|
||||
scope:old_faith = { faith_is_in_same_rf = { FAITH = scope:gf_faith } }
|
||||
}
|
||||
give_nickname = nick_the_heathen
|
||||
}
|
||||
|
|
@ -985,7 +965,7 @@ fp1_other_decisions.0003 = {
|
|||
}
|
||||
}
|
||||
|
||||
stress_impact = {
|
||||
stress_and_fulfillment_impact = {
|
||||
trusting = medium_stress_impact_loss
|
||||
cynical = major_stress_impact_loss
|
||||
paranoid = medium_stress_impact_gain
|
||||
|
|
@ -1096,7 +1076,7 @@ fp1_other_decisions.0011 = {
|
|||
# Get some opinion with scope:blotter for turning up.
|
||||
show_as_tooltip = { gruesome_festivals_blotter_opinion_gain_of_guests_effect = yes }
|
||||
|
||||
stress_impact = {
|
||||
stress_and_fulfillment_impact = {
|
||||
forgiving = minor_stress_impact_loss
|
||||
gregarious = medium_stress_impact_loss
|
||||
vengeful = minor_stress_impact_gain
|
||||
|
|
@ -1136,7 +1116,7 @@ fp1_other_decisions.0011 = {
|
|||
custom_tooltip = fp1_other_decisions.0011.b.tt
|
||||
gruesome_festivals_turn_down_invitation_effect = yes
|
||||
|
||||
stress_impact = {
|
||||
stress_and_fulfillment_impact = {
|
||||
vengeful = minor_stress_impact_loss
|
||||
shy = medium_stress_impact_loss
|
||||
forgiving = minor_stress_impact_gain
|
||||
|
|
@ -1177,7 +1157,7 @@ fp1_other_decisions.0011 = {
|
|||
# Get some opinion with scope:blotter for turning up.
|
||||
show_as_tooltip = { gruesome_festivals_blotter_opinion_gain_of_guests_effect = yes }
|
||||
|
||||
stress_impact = {
|
||||
stress_and_fulfillment_impact = {
|
||||
forgiving = minor_stress_impact_loss
|
||||
gregarious = medium_stress_impact_loss
|
||||
sadistic = medium_stress_impact_loss
|
||||
|
|
@ -1229,7 +1209,7 @@ fp1_other_decisions.0011 = {
|
|||
# Get some opinion with scope:blotter for turning up.
|
||||
show_as_tooltip = { gruesome_festivals_blotter_opinion_gain_of_guests_effect = yes }
|
||||
|
||||
stress_impact = {
|
||||
stress_and_fulfillment_impact = {
|
||||
forgiving = minor_stress_impact_loss
|
||||
gregarious = medium_stress_impact_loss
|
||||
compassionate = medium_stress_impact_loss
|
||||
|
|
@ -1282,7 +1262,7 @@ fp1_other_decisions.0011 = {
|
|||
custom_tooltip = fp1_other_decisions.0011.e.tt
|
||||
gruesome_festivals_turn_down_invitation_effect = yes
|
||||
|
||||
stress_impact = {
|
||||
stress_and_fulfillment_impact = {
|
||||
vengeful = minor_stress_impact_loss
|
||||
shy = medium_stress_impact_loss
|
||||
forgiving = minor_stress_impact_gain
|
||||
|
|
@ -1401,29 +1381,32 @@ fp1_other_decisions.0012 = {
|
|||
NOT = { exists = scope:decliner_1 }
|
||||
}
|
||||
save_scope_as = decliner_1
|
||||
add_to_list = decliners_list
|
||||
}
|
||||
else_if = {
|
||||
limit = {
|
||||
NOT = {
|
||||
NOR = {
|
||||
this = scope:decliner_1
|
||||
exists = scope:decliner_2
|
||||
}
|
||||
}
|
||||
save_scope_as = decliner_2
|
||||
add_to_list = decliners_list
|
||||
}
|
||||
else_if = {
|
||||
limit = {
|
||||
NOT = {
|
||||
NOR = {
|
||||
this = scope:decliner_1
|
||||
this = scope:decliner_2
|
||||
exists = scope:decliner_3
|
||||
}
|
||||
}
|
||||
save_scope_as = decliner_3
|
||||
add_to_list = decliners_list
|
||||
}
|
||||
else_if = {
|
||||
limit = {
|
||||
NOT = {
|
||||
NOR = {
|
||||
this = scope:decliner_1
|
||||
this = scope:decliner_2
|
||||
this = scope:decliner_3
|
||||
|
|
@ -1431,10 +1414,11 @@ fp1_other_decisions.0012 = {
|
|||
}
|
||||
}
|
||||
save_scope_as = decliner_4
|
||||
add_to_list = decliners_list
|
||||
}
|
||||
else_if = {
|
||||
limit = {
|
||||
NOT = {
|
||||
NOR = {
|
||||
this = scope:decliner_1
|
||||
this = scope:decliner_2
|
||||
this = scope:decliner_3
|
||||
|
|
@ -1443,26 +1427,9 @@ fp1_other_decisions.0012 = {
|
|||
}
|
||||
}
|
||||
save_scope_as = decliner_5
|
||||
add_to_list = decliners_list
|
||||
}
|
||||
}
|
||||
# Add them to a list for easy general management if there's more than one.
|
||||
scope:decliner_1 = { add_to_list = decliners_list }
|
||||
if = {
|
||||
limit = { exists = scope:decliner_2 }
|
||||
add_to_list = decliners_list
|
||||
}
|
||||
if = {
|
||||
limit = { exists = scope:decliner_3 }
|
||||
add_to_list = decliners_list
|
||||
}
|
||||
if = {
|
||||
limit = { exists = scope:decliner_4 }
|
||||
add_to_list = decliners_list
|
||||
}
|
||||
if = {
|
||||
limit = { exists = scope:decliner_5 }
|
||||
add_to_list = decliners_list
|
||||
}
|
||||
# Clean up the variable list.
|
||||
gruesome_sacrifices_clean_up_declining_guests_effect = yes
|
||||
}
|
||||
|
|
@ -1494,7 +1461,7 @@ fp1_other_decisions.0012 = {
|
|||
OPINION = -30
|
||||
}
|
||||
|
||||
stress_impact = {
|
||||
stress_and_fulfillment_impact = {
|
||||
forgiving = minor_stress_impact_loss
|
||||
vengeful = minor_stress_impact_gain
|
||||
}
|
||||
|
|
@ -1552,7 +1519,7 @@ fp1_other_decisions.0012 = {
|
|||
}
|
||||
}
|
||||
|
||||
stress_impact = {
|
||||
stress_and_fulfillment_impact = {
|
||||
forgiving = major_stress_impact_loss
|
||||
vengeful = major_stress_impact_gain
|
||||
}
|
||||
|
|
@ -1591,7 +1558,7 @@ fp1_other_decisions.0012 = {
|
|||
# But it was still a slight.
|
||||
add_prestige = minor_prestige_loss
|
||||
|
||||
stress_impact = {
|
||||
stress_and_fulfillment_impact = {
|
||||
forgiving = medium_stress_impact_loss
|
||||
vengeful = medium_stress_impact_gain
|
||||
}
|
||||
|
|
@ -1661,7 +1628,7 @@ fp1_other_decisions.0021 = {
|
|||
}
|
||||
right_portrait = {
|
||||
character = scope:sacrificed_hof
|
||||
animation = fear
|
||||
animation = dead
|
||||
}
|
||||
override_background = { reference = throne_room }
|
||||
|
||||
|
|
@ -1732,7 +1699,7 @@ fp1_other_decisions.0022 = {
|
|||
}
|
||||
right_portrait = {
|
||||
character = scope:sacrificed_hof
|
||||
animation = fear
|
||||
animation = dead
|
||||
}
|
||||
override_background = { reference = throne_room }
|
||||
|
||||
|
|
@ -1811,7 +1778,7 @@ scripted_effect gruesome_festivals_own_faith_martyred_own_hof_effect = {
|
|||
add_character_modifier = { modifier = ultimate_blasphemer_modifier }
|
||||
if = {
|
||||
limit = {
|
||||
faith = { has_doctrine_parameter = excommunication_active }
|
||||
rite = { rite_has_parameter = excommunication_active }
|
||||
}
|
||||
# Add excommunication directly, since no one specific requested this.
|
||||
add_excommunication_actual_effect = yes
|
||||
|
|
@ -1827,7 +1794,7 @@ fp1_other_decisions.0023 = {
|
|||
first_valid = {
|
||||
triggered_desc = {
|
||||
trigger = {
|
||||
scope:unlucky_guest.faith = { has_doctrine_parameter = excommunication_active }
|
||||
scope:unlucky_guest.rite = { rite_has_parameter = excommunication_active }
|
||||
}
|
||||
desc = fp1_other_decisions.0023.desc.has_excommunication
|
||||
}
|
||||
|
|
@ -1842,7 +1809,7 @@ fp1_other_decisions.0023 = {
|
|||
}
|
||||
right_portrait = {
|
||||
character = scope:unlucky_guest
|
||||
animation = fear
|
||||
animation = dead
|
||||
}
|
||||
override_background = { reference = throne_room }
|
||||
|
||||
|
|
@ -1894,7 +1861,7 @@ fp1_other_decisions.0024 = {
|
|||
first_valid = {
|
||||
triggered_desc = {
|
||||
trigger = {
|
||||
scope:unlucky_guest.faith = { has_doctrine_parameter = excommunication_active }
|
||||
scope:unlucky_guest.rite = { rite_has_parameter = excommunication_active }
|
||||
}
|
||||
desc = fp1_other_decisions.0024.desc.has_excommunication
|
||||
}
|
||||
|
|
@ -1909,7 +1876,7 @@ fp1_other_decisions.0024 = {
|
|||
}
|
||||
right_portrait = {
|
||||
character = scope:unlucky_guest
|
||||
animation = fear
|
||||
animation = dead
|
||||
}
|
||||
override_background = { reference = throne_room }
|
||||
|
||||
|
|
@ -1921,6 +1888,7 @@ fp1_other_decisions.0024 = {
|
|||
immediate = {
|
||||
gruesome_festivals_martyred_a_hof_effect = { SACRIFICED_HOF = scope:unlucky_guest }
|
||||
gruesome_festivals_own_faith_martyred_own_hof_effect = yes
|
||||
change_spiritual_fulfillment = massive_spiritual_fulfillment_loss
|
||||
}
|
||||
|
||||
# _What have I done?!_
|
||||
|
|
@ -2128,7 +2096,7 @@ fp1_other_decisions.0101 = {
|
|||
custom_tooltip = fp1_other_decisions.0101.a.tt
|
||||
trigger_event = fp1_other_decisions.0111
|
||||
|
||||
stress_impact = {
|
||||
stress_and_fulfillment_impact = {
|
||||
humble = medium_stress_impact_loss
|
||||
arrogant = medium_stress_impact_gain
|
||||
}
|
||||
|
|
@ -2164,7 +2132,7 @@ fp1_other_decisions.0101 = {
|
|||
custom_tooltip = fp1_other_decisions.0101.b.tt
|
||||
trigger_event = fp1_other_decisions.0111
|
||||
|
||||
stress_impact = {
|
||||
stress_and_fulfillment_impact = {
|
||||
arrogant = minor_stress_impact_loss
|
||||
vengeful = medium_stress_impact_loss
|
||||
humble = minor_stress_impact_gain
|
||||
|
|
@ -2210,7 +2178,7 @@ fp1_other_decisions.0101 = {
|
|||
custom_tooltip = fp1_other_decisions.0101.c.tt
|
||||
trigger_event = fp1_other_decisions.0111
|
||||
|
||||
stress_impact = {
|
||||
stress_and_fulfillment_impact = {
|
||||
arrogant = major_stress_impact_loss
|
||||
humble = major_stress_impact_gain
|
||||
}
|
||||
|
|
@ -2283,6 +2251,7 @@ scripted_effect fp1_apply_stele_effects = {
|
|||
gender_female_chance = 50
|
||||
dynasty = none
|
||||
faith = $LOCATION$.faith
|
||||
rite = $LOCATION$.rite
|
||||
culture = $LOCATION$.culture
|
||||
location = $LOCATION$.title_province
|
||||
save_scope_as = carver
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue