Alignment

This commit is contained in:
Heidesommer 2026-04-25 03:54:05 -04:00
parent f7a954eb51
commit 15a5108e23
250 changed files with 31104 additions and 25806 deletions

View file

@ -416,7 +416,7 @@ fp1_yearly.0001 = {
scripted_trigger offensive_courtier_candidate_trigger = {
#Filter out the basic miscs.
is_available_ai_adult = yes
#Have some commited some genuine malfeasance, or just be irritating to at least some people.
#Have committed some genuine malfeasance, or just be irritating to at least some people.
OR = {
#Having committed murder by poison is a solid way to become a nithing; this might be a secret, but we assume local rumours about a shady buyer of poisons abound...
has_character_flag = murdered_by_poison
@ -2124,6 +2124,12 @@ fp1_yearly.0041 = {
add_courtier = scope:explorer
#Sort conversion.
set_character_faith_with_conversion = scope:explorer.faith
if = {
limit = {
scope:explorer.faith = { has_doctrine = doctrine_monotheist }
}
custom_description_no_bullet = { text = mandala_monotheist_warning_tt }
}
#Get scope:sponsoring_liege as a friend, if possible.
if = {
limit = {
@ -14221,6 +14227,12 @@ fp1_yearly.1012 = {
#Perform the conversion.
set_character_faith_with_conversion = scope:ms_faith
if = {
limit = {
scope:ms_faith = { has_doctrine = doctrine_monotheist }
}
custom_description_no_bullet = { text = mandala_monotheist_warning_tt }
}
#Recoup lost piety, and get paid a little extra.
custom_tooltip = fp1_yearly.1012.a.recoup_lost_piety.tt
@ -14992,8 +15004,9 @@ fp1_yearly.1061 = {
# Germanic faith.
religion = religion:germanic_religion
# Shouldn't ever happen, but just in case, exempt sky burials so that the character is never buried twice.
NOT = {
NOR = {
faith = { has_doctrine_parameter = sky_burials_active }
has_dead_character_variable = body_has_been_disposed
}
# And we shouldn't really be erecting glorious mounds to long lives that were actually cut short too early.
age >= 30
@ -15196,6 +15209,10 @@ fp1_yearly.1062 = {
is_available_even_at_war_adult = yes
# Must still be the same faith as scope:ship_funeral_candidate, for ease of loc and such.
faith = scope:ship_funeral_candidate.faith
# Check that they haven't been buried already (e.g. via funeral activity)
scope:ship_funeral_candidate = {
NOT = { has_dead_character_variable = body_has_been_disposed }
}
}
# A small stone ship.
@ -16072,6 +16089,11 @@ fp1_yearly.1063 = {
is_available_even_at_war_adult = yes
# Must still be the same faith as scope:ship_funeral_candidate, for ease of loc and such.
faith = scope:ship_funeral_candidate.faith
# Check that they haven't been buried already (e.g. via funeral activity)
scope:ship_funeral_candidate = {
NOT = { has_dead_character_variable = body_has_been_disposed }
}
}
on_trigger_fail = {
@ -16325,6 +16347,14 @@ fp1_yearly.1063 = {
}
after = {
scope:ship_funeral_candidate = {
set_dead_character_variable = {
name = body_has_been_disposed
value = yes
years = 5
}
}
# Clear up remaining values on the character.
fp1_funeral_longship_clear_variables_effect = yes
}