1416 lines
28 KiB
Text
1416 lines
28 KiB
Text
namespace = fp3_clan
|
|
|
|
########EVENT INDEX############
|
|
#fp3_clan.8008 - Bleeding them Dry, by Ola Jentzsch
|
|
#fp3_clan.8009 - Popular with the People, by Ola Jentzsch
|
|
#fp3_clan.8010 - Competent Qadis / More Magistrates, by Ola Jentzsch
|
|
#fp3_clan.8011 - A Proper Paymaster, by Ola Jentzsch
|
|
#fp3_clan.8012 - Auspicious Avarice, by Ola Jentzsch
|
|
#fp3_clan.8013 - The Burden of Tax Farming, by Ola Jentzsch
|
|
|
|
|
|
###########fp3_clan.8008 - Bleeding them Dry, by Ola Jentzsch###############
|
|
scripted_trigger tax_collector_8008_trigger = {
|
|
is_available_ai_adult = yes
|
|
tax_collector_aptitude = {
|
|
target = clan_tax_slot
|
|
value >= 4
|
|
}
|
|
ai_honor <= low_positive_ai_value
|
|
}
|
|
|
|
scripted_trigger house_unity_8008_member_trigger = {
|
|
is_available_ai_adult = yes
|
|
is_vassal_of = root
|
|
opinion = {
|
|
target = root
|
|
value <= 75
|
|
}
|
|
reverse_opinion = {
|
|
target = scope:$SCOPE$
|
|
value < 0
|
|
}
|
|
}
|
|
|
|
fp3_clan.8008 = {
|
|
type = character_event
|
|
title = fp3_clan.8008.t
|
|
desc = fp3_clan.8008.desc
|
|
theme = intrigue_intimidation_focus
|
|
|
|
left_portrait = {
|
|
character = root
|
|
animation = personality_cynical
|
|
triggered_animation = {
|
|
trigger = {
|
|
OR = {
|
|
has_trait = ambitious
|
|
has_trait = sadistic
|
|
has_trait = greedy
|
|
}
|
|
}
|
|
animation = personality_greedy
|
|
}
|
|
}
|
|
right_portrait = {
|
|
character = scope:ambitious_tax_collector
|
|
animation = chancellor
|
|
triggered_animation = {
|
|
trigger = { ai_greed >= high_positive_ai_value }
|
|
animation = personality_dishonorable
|
|
}
|
|
}
|
|
lower_left_portrait = {
|
|
character = scope:beleaguered_clan_member
|
|
}
|
|
|
|
override_background = { reference = corridor_night }
|
|
|
|
trigger = {
|
|
has_fp3_dlc_trigger = yes
|
|
is_available_healthy_adult = yes
|
|
|
|
any_vassal = { #checking that it would be beneficial to gain the Extort Subjects decision
|
|
highest_held_title_tier >= tier_county
|
|
}
|
|
|
|
any_tax_collector = {
|
|
tax_collector_8008_trigger = yes
|
|
save_temporary_scope_as = tax_collector_temp
|
|
}
|
|
|
|
house = {
|
|
any_house_unity_member = {
|
|
house_unity_8008_member_trigger = { SCOPE = tax_collector_temp }
|
|
}
|
|
}
|
|
}
|
|
|
|
cooldown = { years = 10 }
|
|
|
|
immediate = {
|
|
random_tax_collector = {
|
|
limit = {
|
|
tax_collector_8008_trigger = yes
|
|
}
|
|
save_scope_as = ambitious_tax_collector
|
|
}
|
|
|
|
house = {
|
|
random_house_unity_member = {
|
|
limit = {
|
|
house_unity_8008_member_trigger = { SCOPE = ambitious_tax_collector }
|
|
}
|
|
save_scope_as = beleaguered_clan_member
|
|
}
|
|
}
|
|
}
|
|
|
|
option = {
|
|
name = fp3_clan.8008.a
|
|
|
|
add_tyranny = medium_tyranny_value
|
|
|
|
add_character_modifier = {
|
|
modifier = fp3_justification_for_taxation_modifier
|
|
years = 20
|
|
}
|
|
|
|
if = {
|
|
limit = {
|
|
NOR = {
|
|
has_perk = it_is_my_domain_perk
|
|
has_lifestyle = stewardship_lifestyle
|
|
}
|
|
}
|
|
custom_tooltip = unlock_extortion.tt
|
|
}
|
|
|
|
add_clan_unity_interaction_effect = {
|
|
CHARACTER = root
|
|
TARGET = scope:beleaguered_clan_member
|
|
VALUE = minor_unity_loss
|
|
DESC = clan_unity_extorted_vassal.desc
|
|
REVERSE_NON_HOUSE_TARGET = no
|
|
}
|
|
|
|
scope:ambitious_tax_collector = {
|
|
add_opinion = {
|
|
target = root
|
|
modifier = pleased_opinion
|
|
opinion = 20
|
|
}
|
|
}
|
|
|
|
stress_impact = {
|
|
greedy = medium_stress_impact_loss
|
|
ambitious = minor_stress_impact_loss
|
|
just = medium_stress_impact_gain
|
|
honest = medium_stress_impact_gain
|
|
generous = medium_stress_impact_gain
|
|
content = minor_stress_impact_gain
|
|
}
|
|
|
|
ai_chance = {
|
|
base = 50
|
|
ai_value_modifier = {
|
|
ai_greed = 1
|
|
ai_energy = 0.5
|
|
ai_honor = -0.7
|
|
ai_compassion = -0.2
|
|
}
|
|
}
|
|
}
|
|
|
|
option = {
|
|
name = fp3_clan.8008.b
|
|
|
|
scope:beleaguered_clan_member = {
|
|
pay_short_term_gold = {
|
|
target = root
|
|
gold = medium_gold_value
|
|
}
|
|
add_opinion = {
|
|
target = root
|
|
modifier = extorted_me_opinion
|
|
}
|
|
}
|
|
|
|
add_clan_unity_interaction_effect = {
|
|
CHARACTER = root
|
|
TARGET = scope:beleaguered_clan_member
|
|
VALUE = minor_unity_loss
|
|
DESC = clan_unity_extorted_vassal.desc
|
|
REVERSE_NON_HOUSE_TARGET = no
|
|
}
|
|
|
|
scope:ambitious_tax_collector = {
|
|
add_opinion = {
|
|
target = root
|
|
modifier = trusted_me_opinion
|
|
opinion = 10
|
|
}
|
|
}
|
|
|
|
stress_impact = {
|
|
greedy = minor_stress_impact_loss
|
|
just = minor_stress_impact_gain
|
|
generous = minor_stress_impact_gain
|
|
compassionate = minor_stress_impact_gain
|
|
}
|
|
|
|
ai_chance = {
|
|
base = 100
|
|
ai_value_modifier = {
|
|
ai_greed = 0.8
|
|
ai_energy = 0.3
|
|
ai_honor = -0.4
|
|
ai_compassion = -0.7
|
|
}
|
|
}
|
|
}
|
|
|
|
option = {
|
|
name = fp3_clan.8008.c
|
|
|
|
scope:ambitious_tax_collector = {
|
|
add_opinion = {
|
|
target = root
|
|
modifier = disappointed_opinion
|
|
opinion = -10
|
|
}
|
|
}
|
|
|
|
stress_impact = {
|
|
content = minor_stress_impact_loss
|
|
greedy = medium_stress_impact_gain
|
|
ambitious = minor_stress_impact_gain
|
|
deceitful = minor_stress_impact_gain
|
|
}
|
|
|
|
ai_chance = {
|
|
base = 100
|
|
ai_value_modifier = {
|
|
ai_greed = 0.8
|
|
ai_energy = 0.3
|
|
ai_honor = -0.4
|
|
ai_compassion = -0.7
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
#############fp3_clan.8009 - Popular with the People, by Ola Jentzsch############
|
|
scripted_trigger fp3_clan_8009_province_trigger = {
|
|
has_holding_type = city_holding
|
|
barony = {
|
|
is_under_holy_order_lease = no
|
|
holder = { fp3_clan_suitable_holder_trigger = yes }
|
|
}
|
|
}
|
|
|
|
scripted_trigger fp3_clan_suitable_holder_trigger = {
|
|
stewardship >= average_skill_rating
|
|
NOR = {
|
|
has_trait = sadistic
|
|
has_trait = honest
|
|
has_trait = content
|
|
has_trait = lazy
|
|
has_trait = arrogant
|
|
has_trait = callous
|
|
has_relation_friend = root
|
|
has_relation_lover = root
|
|
is_close_family_of = root
|
|
|
|
}
|
|
}
|
|
|
|
scripted_trigger tax_collector_8009_trigger = {
|
|
is_available_ai_adult = yes
|
|
tax_collector_aptitude = {
|
|
target = clan_tax_slot
|
|
value >= 2
|
|
}
|
|
OR = {
|
|
ai_honor <= low_positive_ai_value
|
|
ai_compassion < low_positive_ai_value
|
|
ai_greed >= medium_positive_ai_value
|
|
}
|
|
}
|
|
|
|
fp3_clan.8009 = {
|
|
type = character_event
|
|
title = fp3_clan.8009.t
|
|
desc = fp3_clan.8009.desc
|
|
theme = realm
|
|
|
|
left_portrait = {
|
|
character = root
|
|
animation = boredom
|
|
triggered_animation = {
|
|
trigger = {
|
|
OR = {
|
|
has_trait = vengeful
|
|
has_trait = paranoid
|
|
has_trait = sadistic
|
|
}
|
|
}
|
|
animation = personality_vengeful
|
|
}
|
|
}
|
|
right_portrait = {
|
|
character = scope:righteous_tax_collector
|
|
animation = reading
|
|
}
|
|
lower_right_portrait = {
|
|
character = scope:corrupt_mayor
|
|
}
|
|
|
|
trigger = {
|
|
has_fp3_dlc_trigger = yes
|
|
is_available_healthy_adult = yes
|
|
|
|
any_tax_collector = {
|
|
tax_collector_8009_trigger = yes
|
|
save_temporary_scope_as = tax_collector_temp
|
|
}
|
|
|
|
any_held_county = { any_county_province = { fp3_clan_8009_province_trigger = yes } }
|
|
}
|
|
|
|
cooldown = { years = 20 }
|
|
|
|
immediate = {
|
|
random_tax_collector = {
|
|
limit = {
|
|
tax_collector_8009_trigger = yes
|
|
}
|
|
save_scope_as = righteous_tax_collector
|
|
}
|
|
|
|
random_held_county = {
|
|
limit = {
|
|
any_county_province = { fp3_clan_8009_province_trigger = yes }
|
|
}
|
|
save_scope_as = fawazil_county
|
|
|
|
random_county_province = {
|
|
limit = { fp3_clan_8009_province_trigger = yes }
|
|
barony = {
|
|
save_scope_as = fawazil_barony
|
|
|
|
holder = {
|
|
save_scope_as = corrupt_mayor
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
hidden_effect = {
|
|
scope:corrupt_mayor = {
|
|
add_gold = major_gold_value #this is the corruption money
|
|
add_gold = major_gold_value
|
|
}
|
|
}
|
|
}
|
|
|
|
option = {
|
|
name = {
|
|
text = {
|
|
first_valid = {
|
|
triggered_desc = {
|
|
trigger = {
|
|
has_trait = eccentric
|
|
}
|
|
desc = fp3_clan.8009.a.eccentric
|
|
}
|
|
desc = fp3_clan.8009.a
|
|
}
|
|
}
|
|
|
|
}
|
|
|
|
scope:corrupt_mayor = {
|
|
pay_short_term_gold = {
|
|
target = root
|
|
gold = scope:corrupt_mayor.gold
|
|
}
|
|
death = {
|
|
death_reason = death_crucified
|
|
killer = root
|
|
}
|
|
}
|
|
|
|
scope:fawazil_county = {
|
|
add_county_modifier = {
|
|
modifier = fp3_locals_infuriated_county_modifier
|
|
years = 8
|
|
}
|
|
}
|
|
|
|
stress_impact = {
|
|
sadistic = major_stress_impact_loss
|
|
vengeful = major_stress_impact_loss
|
|
}
|
|
|
|
ai_chance = {
|
|
base = 50
|
|
ai_value_modifier = {
|
|
ai_vengefulness = 1
|
|
ai_boldness = 0.9
|
|
ai_honor = -0.5
|
|
ai_compassion = -1
|
|
}
|
|
}
|
|
}
|
|
|
|
option = {
|
|
name = fp3_clan.8009.b
|
|
|
|
scope:corrupt_mayor = { banish = yes }
|
|
|
|
scope:fawazil_county = {
|
|
add_county_modifier = {
|
|
modifier = fp3_locals_intimidated_county_modifier
|
|
years = 4
|
|
}
|
|
}
|
|
|
|
stress_impact = {
|
|
forgiving = minor_stress_impact_gain
|
|
compassionate = minor_stress_impact_gain
|
|
}
|
|
|
|
ai_chance = {
|
|
base = 100
|
|
ai_value_modifier = {
|
|
ai_vengefulness = 0.6
|
|
ai_greed = 0.5
|
|
ai_rationality = 0.4
|
|
ai_compassion = -0.5
|
|
}
|
|
}
|
|
}
|
|
|
|
option = {
|
|
name = fp3_clan.8009.c
|
|
|
|
add_character_modifier = {
|
|
modifier = fp3_looking_the_other_way_modifier
|
|
years = 6
|
|
}
|
|
|
|
stress_impact = {
|
|
base = medium_stress_impact_loss
|
|
shy = major_stress_impact_loss
|
|
vengeful = major_stress_impact_gain
|
|
wrathful = medium_stress_impact_gain
|
|
}
|
|
|
|
ai_chance = {
|
|
base = 100
|
|
ai_value_modifier = {
|
|
ai_vengefulness = -1
|
|
ai_boldness = -0.7
|
|
ai_rationality = 0.6
|
|
ai_compassion = 0.5
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
################fp3_clan.8010 - Competent Qadis / More Magistrates, by Ola Jentzsch#################
|
|
scripted_trigger fp3_suitable_magistrate_courtier_trigger = {
|
|
save_temporary_scope_as = temp_magistrate
|
|
is_available_ai_adult = yes
|
|
any_child = { count < 1 }
|
|
NOT = { is_of_major_or_minor_interest_trigger = { CHARACTER = root } }
|
|
can_be_clergy_due_to_gender_trigger = yes
|
|
OR = {
|
|
learning >= high_skill_rating
|
|
stewardship >= high_skill_rating
|
|
}
|
|
scope:temp_magistrate != scope:$SCOPE$
|
|
}
|
|
|
|
scripted_trigger tax_collector_8010_trigger = {
|
|
is_available_ai_adult = yes
|
|
tax_collector_aptitude = {
|
|
target = clan_tax_slot
|
|
value >= 1
|
|
}
|
|
tax_collector_aptitude = { #since this would make the modifier redundant
|
|
target = clan_tax_slot
|
|
value < 4
|
|
}
|
|
}
|
|
|
|
fp3_clan.8010 = { #More Magistrates
|
|
type = character_event
|
|
title = {
|
|
first_valid = {
|
|
triggered_desc = {
|
|
trigger = {
|
|
has_religion = religion:islam_religion
|
|
}
|
|
desc = fp3_clan.8010_muslim.t
|
|
}
|
|
desc = fp3_clan.8010.t
|
|
}
|
|
}
|
|
desc = {
|
|
desc = fp3_clan.8010.desc_beginning
|
|
first_valid = {
|
|
triggered_desc = {
|
|
trigger = {
|
|
has_religion = religion:islam_religion
|
|
}
|
|
desc = fp3_clan.8010_muslim_version
|
|
}
|
|
desc = fp3_clan.8010_non_muslim_version
|
|
}
|
|
}
|
|
theme = corruption
|
|
|
|
left_portrait = {
|
|
character = scope:competent_tax_collector
|
|
animation = stress
|
|
triggered_animation = {
|
|
trigger = { ai_vengefulness >= low_positive_ai_value }
|
|
animation = anger
|
|
}
|
|
}
|
|
right_portrait = {
|
|
character = root
|
|
animation = personality_rational
|
|
triggered_animation = {
|
|
trigger = {
|
|
OR = {
|
|
has_trait = lazy
|
|
has_trait = content
|
|
has_trait = greedy
|
|
has_trait = callous
|
|
}
|
|
}
|
|
animation = dismissal
|
|
}
|
|
}
|
|
|
|
lower_left_portrait = { character = scope:capable_magistrate_candidate }
|
|
|
|
trigger = {
|
|
has_fp3_dlc_trigger = yes
|
|
is_landed = yes
|
|
is_available_healthy_adult = yes
|
|
|
|
any_tax_collector = {
|
|
tax_collector_8010_trigger = yes
|
|
save_temporary_scope_as = competent_tax_collector_temp
|
|
}
|
|
}
|
|
|
|
cooldown = { years = 10 }
|
|
|
|
immediate = {
|
|
random_tax_collector = {
|
|
limit = {
|
|
tax_collector_8010_trigger = yes
|
|
}
|
|
save_scope_as = competent_tax_collector
|
|
}
|
|
|
|
if = {
|
|
limit = {
|
|
any_courtier = {
|
|
fp3_suitable_magistrate_courtier_trigger = { SCOPE = competent_tax_collector }
|
|
}
|
|
}
|
|
random_courtier = {
|
|
limit = {
|
|
fp3_suitable_magistrate_courtier_trigger = { SCOPE = competent_tax_collector }
|
|
}
|
|
save_scope_as = capable_magistrate_candidate
|
|
}
|
|
}
|
|
}
|
|
|
|
option = {
|
|
name = fp3_clan.8010.a
|
|
flavor = tax_farming_capable_courtier_flavor
|
|
|
|
trigger = {
|
|
exists = scope:capable_magistrate_candidate
|
|
}
|
|
|
|
remove_courtier_or_guest = scope:capable_magistrate_candidate
|
|
|
|
scope:competent_tax_collector = {
|
|
add_opinion = {
|
|
target = root
|
|
modifier = slightly_disappointed_opinion
|
|
opinion = -10
|
|
}
|
|
add_character_modifier = {
|
|
modifier = fp3_capable_magistrates_modifier
|
|
years = 25
|
|
}
|
|
custom_tooltip = increase_aptitude.tt
|
|
}
|
|
|
|
ai_chance = {
|
|
base = 100
|
|
ai_value_modifier = {
|
|
ai_rationality = 0.5
|
|
ai_sociability = 0.7
|
|
ai_greed = 0.2
|
|
}
|
|
}
|
|
}
|
|
|
|
option = {
|
|
name = fp3_clan.8010.b
|
|
|
|
remove_treasury_or_gold = major_treasury_or_gold_value
|
|
|
|
scope:competent_tax_collector = {
|
|
add_opinion = {
|
|
target = root
|
|
modifier = trusted_me_opinion
|
|
opinion = 20
|
|
}
|
|
add_character_modifier = {
|
|
modifier = fp3_capable_magistrates_modifier
|
|
years = 25
|
|
}
|
|
custom_tooltip = increase_aptitude.tt
|
|
}
|
|
|
|
stress_impact = {
|
|
greedy = minor_stress_impact_gain
|
|
arrogant = minor_stress_impact_gain
|
|
}
|
|
|
|
ai_chance = {
|
|
base = 100
|
|
ai_value_modifier = {
|
|
ai_greed = -0.5
|
|
ai_rationality = 0.6
|
|
}
|
|
}
|
|
}
|
|
|
|
option = {
|
|
name = fp3_clan.8010.c
|
|
|
|
scope:competent_tax_collector = {
|
|
add_opinion = {
|
|
target = root
|
|
modifier = fp3_resentful_opinion
|
|
opinion = -15
|
|
}
|
|
}
|
|
|
|
stress_impact = {
|
|
diligent = minor_stress_impact_gain
|
|
ambitious = minor_stress_impact_gain
|
|
patient = minor_stress_impact_gain
|
|
}
|
|
|
|
ai_chance = {
|
|
base = 100
|
|
ai_value_modifier = {
|
|
ai_greed = -1
|
|
ai_rationality = -0.6
|
|
ai_energy = -0.3
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
##################fp3_clan.8011 - A Proper Paymaster, by Ola Jentzsch###########################
|
|
scripted_trigger fp3_suitable_extra_tax_collector_competence_traits_trigger = {
|
|
is_available_ai_adult = yes
|
|
NOT = { has_trait = content }
|
|
OR = {
|
|
tax_collector_aptitude = {
|
|
target = clan_tax_slot
|
|
value >= 4
|
|
}
|
|
AND = {
|
|
tax_collector_aptitude = {
|
|
target = clan_tax_slot
|
|
value >= 3
|
|
}
|
|
OR = {
|
|
has_trait = ambitious
|
|
has_trait = diligent
|
|
has_trait = organizer
|
|
has_trait = overseer
|
|
has_trait = administrator
|
|
martial >= high_skill_rating
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
fp3_clan.8011 = { #A Proper Paymaster
|
|
type = character_event
|
|
title = fp3_clan.8011.t
|
|
desc = fp3_clan.8011.desc
|
|
theme = stewardship_wealth_focus
|
|
|
|
left_portrait = {
|
|
character = scope:competent_tax_collector
|
|
animation = personality_greedy
|
|
triggered_animation = {
|
|
trigger = { ai_boldness >= low_positive_ai_value }
|
|
animation = personality_honorable
|
|
}
|
|
}
|
|
right_portrait = {
|
|
character = root
|
|
animation = personality_content
|
|
triggered_animation = {
|
|
trigger = {
|
|
OR = {
|
|
has_trait = paranoid
|
|
has_trait = ambitious
|
|
has_trait = diligent
|
|
has_trait = brave
|
|
}
|
|
}
|
|
animation = dismissal
|
|
}
|
|
}
|
|
|
|
lower_left_portrait = { character = scope:concerned_marshal }
|
|
|
|
override_background = { reference = army_camp }
|
|
|
|
trigger = {
|
|
has_fp3_dlc_trigger = yes
|
|
is_available_healthy_adult = yes
|
|
|
|
number_of_maa_regiments >= 1
|
|
|
|
exists = cp:councillor_marshal
|
|
|
|
any_tax_collector = {
|
|
fp3_suitable_extra_tax_collector_competence_traits_trigger = yes
|
|
NOT = {
|
|
this = root.cp:councillor_marshal
|
|
}
|
|
}
|
|
}
|
|
|
|
cooldown = { years = 10 }
|
|
|
|
immediate = {
|
|
random_tax_collector = {
|
|
limit = {
|
|
fp3_suitable_extra_tax_collector_competence_traits_trigger = yes
|
|
}
|
|
save_scope_as = competent_tax_collector
|
|
}
|
|
|
|
cp:councillor_marshal = { save_scope_as = concerned_marshal }
|
|
}
|
|
|
|
option = {
|
|
name = fp3_clan.8011.a
|
|
|
|
add_character_modifier = {
|
|
modifier = fp3_delegated_payments_modifier
|
|
years = 25
|
|
}
|
|
|
|
scope:competent_tax_collector = {
|
|
add_opinion = {
|
|
target = root
|
|
modifier = pleased_opinion
|
|
opinion = 15
|
|
}
|
|
add_character_modifier = {
|
|
modifier = fp3_army_influence_modifier
|
|
years = 25
|
|
}
|
|
}
|
|
|
|
scope:concerned_marshal = {
|
|
add_opinion = {
|
|
target = root
|
|
modifier = fp3_meddling_in_my_privileges_opinion
|
|
opinion = -30
|
|
}
|
|
if = {
|
|
limit = {
|
|
NOT = { has_relation_rival = scope:competent_tax_collector }
|
|
}
|
|
set_relation_rival = {
|
|
target = scope:competent_tax_collector
|
|
reason = rival_over_position
|
|
}
|
|
}
|
|
}
|
|
|
|
stress_impact = {
|
|
diligent = minor_stress_impact_loss
|
|
ambitious = minor_stress_impact_loss
|
|
content = medium_stress_impact_gain
|
|
just = minor_stress_impact_gain
|
|
}
|
|
|
|
ai_chance = {
|
|
base = 100
|
|
ai_value_modifier = {
|
|
ai_rationality = 0.3
|
|
ai_greed = 0.7
|
|
ai_energy = -0.4
|
|
}
|
|
}
|
|
}
|
|
|
|
option = {
|
|
name = fp3_clan.8011.b
|
|
|
|
duel = {
|
|
skill = diplomacy
|
|
value = average_skill_rating
|
|
|
|
50 = {
|
|
compare_modifier = {
|
|
value = scope:duel_value
|
|
multiplier = 3.5
|
|
max = 40
|
|
min = -40
|
|
}
|
|
|
|
modifier = {
|
|
add = 50
|
|
scope:concerned_marshal = {
|
|
OR = {
|
|
has_trait = trusting
|
|
has_trait = humble
|
|
has_trait = content
|
|
}
|
|
}
|
|
}
|
|
|
|
modifier = {
|
|
add = -50
|
|
scope:concerned_marshal = {
|
|
OR = {
|
|
has_trait = paranoid
|
|
has_trait = arrogant
|
|
has_trait = ambitious
|
|
}
|
|
}
|
|
}
|
|
|
|
modifier = {
|
|
add = -50
|
|
scope:competent_tax_collector = {
|
|
OR = {
|
|
has_trait = greedy
|
|
has_trait = arrogant
|
|
has_trait = ambitious
|
|
}
|
|
}
|
|
}
|
|
|
|
modifier = {
|
|
add = 50
|
|
scope:concerned_marshal = {
|
|
OR = {
|
|
has_trait = humble
|
|
has_trait = trusting
|
|
has_trait = loyal
|
|
}
|
|
}
|
|
}
|
|
|
|
desc = fp3_clan.8011.b.success
|
|
send_interface_toast = {
|
|
title = fp3_clan.8011.b.success.tt
|
|
left_icon = root
|
|
|
|
add_character_modifier = {
|
|
modifier = fp3_delegated_payments_modifier
|
|
years = 10
|
|
}
|
|
}
|
|
}
|
|
50 = {
|
|
compare_modifier = {
|
|
value = scope:duel_value
|
|
multiplier = -3.5
|
|
max = 40
|
|
min = -40
|
|
}
|
|
|
|
desc = fp3_clan.8011.b.failure
|
|
send_interface_toast = {
|
|
title = fp3_clan.8011.b.failure.tt
|
|
left_icon = root
|
|
|
|
add_character_modifier = {
|
|
modifier = fp3_messy_payments_modifier
|
|
years = 25
|
|
}
|
|
|
|
scope:concerned_marshal = {
|
|
add_opinion = {
|
|
target = root
|
|
modifier = fp3_meddling_in_my_privileges_opinion
|
|
opinion = -30
|
|
}
|
|
if = {
|
|
limit = {
|
|
NOT = { has_relation_rival = scope:competent_tax_collector }
|
|
}
|
|
set_relation_rival = {
|
|
target = scope:competent_tax_collector
|
|
reason = rival_over_position
|
|
}
|
|
}
|
|
}
|
|
scope:competent_tax_collector = {
|
|
add_opinion = {
|
|
target = root
|
|
modifier = fp3_frustrated_opinion
|
|
opinion = -10
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
stress_impact = {
|
|
trusting = minor_stress_impact_loss
|
|
}
|
|
|
|
ai_chance = {
|
|
base = 100
|
|
ai_value_modifier = {
|
|
ai_sociability = 0.8
|
|
ai_honor = 0.8
|
|
ai_vengefulness = -0.4
|
|
}
|
|
}
|
|
}
|
|
|
|
option = {
|
|
name = fp3_clan.8011.c
|
|
|
|
scope:competent_tax_collector = {
|
|
add_opinion = {
|
|
target = root
|
|
modifier = fp3_resentful_opinion
|
|
opinion = -15
|
|
}
|
|
}
|
|
|
|
stress_impact = {
|
|
diligent = minor_stress_impact_gain
|
|
ambitious = minor_stress_impact_gain
|
|
}
|
|
|
|
ai_chance = {
|
|
base = 50
|
|
ai_value_modifier = {
|
|
ai_energy = -0.5
|
|
ai_compassion = 0.2
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
##############fp3_clan.8012 - Auspicious Avarice, by Ola Jentzsch###################
|
|
scripted_trigger tax_collector_8012_trigger = {
|
|
tax_collector_aptitude = {
|
|
target = clan_tax_slot
|
|
value >= 3
|
|
}
|
|
is_available_ai_adult = yes
|
|
ai_honor < medium_positive_ai_value
|
|
}
|
|
|
|
scripted_trigger vassal_check_8012_trigger = {
|
|
has_any_good_relationship_with_root_trigger = no
|
|
is_ai = yes
|
|
reverse_opinion = {
|
|
target = scope:$SCOPE$
|
|
value < 25
|
|
}
|
|
}
|
|
|
|
fp3_clan.8012 = {
|
|
type = character_event
|
|
title = fp3_clan.8012.t
|
|
desc = fp3_clan.8012.desc
|
|
theme = stewardship_wealth_focus
|
|
|
|
left_portrait = {
|
|
character = root
|
|
animation = personality_compassionate
|
|
triggered_animation = {
|
|
trigger = {
|
|
OR = {
|
|
has_trait = ambitious
|
|
has_trait = sadistic
|
|
has_trait = greedy
|
|
}
|
|
}
|
|
animation = personality_dishonorable
|
|
}
|
|
}
|
|
right_portrait = {
|
|
character = scope:greedy_tax_collector
|
|
animation = personality_greedy
|
|
triggered_animation = {
|
|
trigger = {
|
|
OR = {
|
|
ai_greed >= high_positive_ai_value
|
|
ai_honor < low_positive_ai_value
|
|
}
|
|
}
|
|
animation = schadenfreude
|
|
}
|
|
}
|
|
lower_left_portrait = {
|
|
character = scope:extorted_vassal
|
|
}
|
|
|
|
trigger = {
|
|
has_fp3_dlc_trigger = yes
|
|
is_available_healthy_adult = yes
|
|
|
|
any_tax_collector = {
|
|
tax_collector_8012_trigger = yes
|
|
save_temporary_scope_as = greedy_tax_collector_temp
|
|
any_tax_collector_vassal = {
|
|
vassal_check_8012_trigger = { SCOPE = greedy_tax_collector_temp }
|
|
}
|
|
}
|
|
}
|
|
|
|
cooldown = { years = 10 }
|
|
|
|
immediate = {
|
|
random_tax_collector = {
|
|
limit = {
|
|
tax_collector_8012_trigger = yes
|
|
save_temporary_scope_as = greedy_tax_collector_temp
|
|
any_tax_collector_vassal = {
|
|
vassal_check_8012_trigger = { SCOPE = greedy_tax_collector_temp }
|
|
}
|
|
}
|
|
save_scope_as = greedy_tax_collector
|
|
random_tax_collector_vassal = {
|
|
limit = {
|
|
vassal_check_8012_trigger = { SCOPE = greedy_tax_collector_temp }
|
|
}
|
|
save_scope_as = extorted_vassal
|
|
}
|
|
}
|
|
|
|
hidden_effect = {
|
|
scope:extorted_vassal = {
|
|
pay_short_term_gold = {
|
|
target = scope:greedy_tax_collector
|
|
gold = medium_gold_value
|
|
}
|
|
}
|
|
}
|
|
|
|
save_scope_value_as = {
|
|
name = vassal_medium_gold_halved
|
|
value = {
|
|
value = scope:extorted_vassal.medium_gold_value
|
|
divide = 2
|
|
}
|
|
}
|
|
}
|
|
|
|
option = {
|
|
name = fp3_clan.8012.a
|
|
|
|
scope:greedy_tax_collector = {
|
|
pay_short_term_gold = {
|
|
target = root
|
|
gold = scope:extorted_vassal.medium_gold_value
|
|
}
|
|
}
|
|
|
|
scope:extorted_vassal = {
|
|
add_opinion = {
|
|
target = root
|
|
modifier = extorted_me_opinion
|
|
}
|
|
}
|
|
|
|
stress_impact = {
|
|
greedy = medium_stress_impact_loss
|
|
generous = medium_stress_impact_gain
|
|
}
|
|
|
|
ai_chance = {
|
|
base = 100
|
|
ai_value_modifier = {
|
|
ai_greed = 1
|
|
ai_compassion = -0.4
|
|
ai_honor = -0.4
|
|
}
|
|
}
|
|
}
|
|
|
|
option = {
|
|
name = fp3_clan.8012.b
|
|
|
|
add_piety = medium_piety_gain
|
|
|
|
scope:greedy_tax_collector = {
|
|
remove_short_term_gold = scope:extorted_vassal.medium_gold_value
|
|
}
|
|
|
|
stress_impact = {
|
|
zealous = minor_stress_impact_loss
|
|
greedy = minor_stress_impact_gain
|
|
}
|
|
|
|
ai_chance = {
|
|
base = 100
|
|
ai_value_modifier = {
|
|
ai_greed = -0.5
|
|
ai_compassion = 1
|
|
ai_rationality = 0.6
|
|
}
|
|
}
|
|
}
|
|
|
|
option = {
|
|
name = fp3_clan.8012.c
|
|
|
|
add_prestige = minor_prestige_gain
|
|
|
|
scope:greedy_tax_collector = {
|
|
pay_short_term_gold = {
|
|
target = scope:extorted_vassal
|
|
gold = scope:vassal_medium_gold_halved
|
|
}
|
|
}
|
|
scope:greedy_tax_collector = {
|
|
pay_short_term_gold = {
|
|
target = root
|
|
gold = scope:vassal_medium_gold_halved
|
|
}
|
|
}
|
|
|
|
scope:extorted_vassal = {
|
|
add_opinion = {
|
|
target = root
|
|
modifier = fp3_frustrated_opinion
|
|
opinion = -10
|
|
}
|
|
}
|
|
|
|
stress_impact = {
|
|
generous = minor_stress_impact_loss
|
|
forgiving = minor_stress_impact_loss
|
|
vengeful = minor_stress_impact_gain
|
|
greedy = minor_stress_impact_gain
|
|
|
|
}
|
|
|
|
ai_chance = {
|
|
base = 100
|
|
ai_value_modifier = {
|
|
ai_greed = -1
|
|
ai_vengefulness = -0.5
|
|
ai_compassion = 0.5
|
|
ai_rationality = 0.8
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
############fp3_clan.8013 - The Burden of Tax Farming, by Ola Jentzsch#########
|
|
scripted_trigger tax_collector_8013_trigger = {
|
|
tax_collector_aptitude = {
|
|
target = clan_tax_slot
|
|
value >= 2
|
|
}
|
|
is_available_ai_adult = yes
|
|
has_any_bad_relationship_with_root_trigger = no
|
|
}
|
|
|
|
fp3_clan.8013 = {
|
|
type = character_event
|
|
title = fp3_clan.8013.t
|
|
desc = fp3_clan.8013.desc
|
|
theme = learning_scholarship_focus
|
|
|
|
left_portrait = {
|
|
character = root
|
|
animation = personality_forgiving
|
|
triggered_animation = {
|
|
trigger = {
|
|
OR = {
|
|
has_trait = callous
|
|
has_trait = sadistic
|
|
has_trait = arrogant
|
|
has_trait = vengeful
|
|
has_trait = wrathful
|
|
}
|
|
}
|
|
animation = personality_cynical
|
|
}
|
|
}
|
|
right_portrait = {
|
|
character = scope:stressed_tax_collector
|
|
animation = boredom
|
|
triggered_animation = {
|
|
trigger = {
|
|
ai_energy >= low_positive_ai_value
|
|
}
|
|
animation = stress
|
|
}
|
|
}
|
|
|
|
trigger = {
|
|
has_fp3_dlc_trigger = yes
|
|
is_landed = yes
|
|
is_available = yes
|
|
is_healthy = yes
|
|
age > 10
|
|
|
|
any_tax_collector = {
|
|
tax_collector_8013_trigger = yes
|
|
}
|
|
}
|
|
|
|
cooldown = { years = 10 }
|
|
|
|
immediate = {
|
|
random_tax_collector = {
|
|
limit = {
|
|
tax_collector_8013_trigger = yes
|
|
}
|
|
save_scope_as = stressed_tax_collector
|
|
}
|
|
|
|
scope:stressed_tax_collector = {
|
|
add_stress = major_stress_gain
|
|
}
|
|
}
|
|
|
|
option = { # Assuage tax collector's stress
|
|
name = fp3_clan.8013.a
|
|
|
|
duel = {
|
|
skill = stewardship
|
|
target = scope:stressed_tax_collector
|
|
|
|
50 = {
|
|
compare_modifier = {
|
|
value = scope:duel_value
|
|
multiplier = 3.5
|
|
max = 40
|
|
min = -40
|
|
}
|
|
|
|
modifier = {
|
|
add = 10
|
|
scope:stressed_tax_collector = {
|
|
OR = {
|
|
has_trait = diligent
|
|
has_trait = ambitious
|
|
has_trait = patient
|
|
has_trait = trusting
|
|
}
|
|
}
|
|
}
|
|
|
|
modifier = {
|
|
add = -10
|
|
scope:stressed_tax_collector = {
|
|
OR = {
|
|
has_trait = lazy
|
|
has_trait = paranoid
|
|
has_trait = arrogant
|
|
}
|
|
}
|
|
}
|
|
|
|
modifier = {
|
|
add = -10
|
|
scope:stressed_tax_collector = {
|
|
opinion = {
|
|
target = root
|
|
value <= 25
|
|
}
|
|
}
|
|
}
|
|
|
|
desc = fp3_clan.8013.a.success
|
|
send_interface_toast = {
|
|
title = fp3_clan.8013.a.success.tt
|
|
left_icon = root
|
|
|
|
if = {
|
|
limit = {
|
|
NOT = { has_relation_friend = scope:stressed_tax_collector }
|
|
}
|
|
progress_towards_friend_effect = {
|
|
CHARACTER = scope:stressed_tax_collector
|
|
REASON = friend_reassurance
|
|
OPINION = 25
|
|
}
|
|
}
|
|
|
|
scope:stressed_tax_collector = {
|
|
add_learning_skill = 1
|
|
add_stewardship_skill = 1
|
|
add_stress = medium_stress_impact_loss
|
|
}
|
|
}
|
|
}
|
|
50 = {
|
|
compare_modifier = {
|
|
value = scope:duel_value
|
|
multiplier = -3.5
|
|
max = 40
|
|
min = -40
|
|
}
|
|
|
|
desc = fp3_clan.8013.a.failure
|
|
send_interface_toast = {
|
|
title = fp3_clan.8013.a.failure.tt
|
|
left_icon = root
|
|
|
|
scope:stressed_tax_collector = {
|
|
add_character_modifier = {
|
|
modifier = fp3_cutting_corners_modifier
|
|
years = 10
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
stress_impact = {
|
|
compassionate = minor_stress_impact_loss
|
|
callous = minor_stress_impact_gain
|
|
arrogant = minor_stress_impact_gain
|
|
shy = minor_stress_impact_gain
|
|
}
|
|
|
|
ai_chance = {
|
|
base = 100
|
|
ai_value_modifier = {
|
|
ai_vengefulness = -0.5
|
|
ai_energy = 0.3
|
|
ai_sociability = 0.7
|
|
ai_compassion = 0.8
|
|
}
|
|
}
|
|
}
|
|
|
|
option = { # Threaten tax collector with violence
|
|
name = fp3_clan.8013.b
|
|
|
|
trigger = {
|
|
scope:stressed_tax_collector = {
|
|
NOT = { has_trait = brave } # Brave tax collectors won't be intimidated
|
|
}
|
|
}
|
|
|
|
scope:stressed_tax_collector = {
|
|
add_stress = major_stress_gain
|
|
add_opinion = {
|
|
target = root
|
|
modifier = cruelty_opinion
|
|
opinion = -20
|
|
}
|
|
add_learning_skill = 1
|
|
add_stewardship_skill = 1
|
|
}
|
|
|
|
stress_impact = {
|
|
wrathful = minor_stress_impact_loss
|
|
compassionate = medium_stress_impact_gain
|
|
calm = medium_stress_impact_gain
|
|
forgiving = medium_stress_impact_gain
|
|
}
|
|
|
|
ai_chance = {
|
|
base = 100
|
|
ai_value_modifier = {
|
|
ai_vengefulness = 1
|
|
ai_boldness = 0.4
|
|
ai_sociability = -0.6
|
|
ai_compassion = -0.7
|
|
}
|
|
}
|
|
}
|
|
|
|
option = { #Just move on
|
|
name = fp3_clan.8013.c
|
|
|
|
stress_impact = {
|
|
compassionate = medium_stress_impact_gain
|
|
diligent = medium_stress_impact_gain
|
|
curious = minor_stress_impact_gain
|
|
}
|
|
|
|
ai_chance = {
|
|
base = 100
|
|
ai_value_modifier = {
|
|
ai_compassion = -1
|
|
ai_energy = -0.5
|
|
ai_sociability = -1
|
|
ai_vengefulness = 0.3
|
|
}
|
|
}
|
|
}
|
|
}
|