Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- targetted_decisions = {
- break_up_with_lover = {
- ai_target_filter = court
- from_potential = {
- ai = no
- has_dlc = "Way of Life"
- has_lover = yes
- }
- potential = {
- is_lover = FROM
- NOT = {
- any_spouse = {
- character = FROM
- }
- }
- NOT = {
- any_consort = {
- character = FROM
- }
- }
- }
- allow = {
- always = yes
- }
- effect = {
- FROM = {
- character_event = {
- id = WoL.1109
- tooltip = EVTTOOLTIP64046
- }
- }
- }
- revoke_allowed = {
- always = no
- }
- ai_will_do = {
- factor = 0
- }
- }
- seduce_decision = {
- ai_target_filter = realm
- from_potential = {
- is_marriage_adult = yes
- has_focus = focus_seduction
- NOT = {
- trait = incapable
- }
- prisoner = no
- NOT = {
- has_any_opinion_modifier = opinion_seducing
- }
- OR = {
- ai = no
- AND = {
- OR = {
- is_female = no
- AND = {
- trait = homosexual
- OR = {
- is_married = yes
- is_consort = yes
- }
- }
- trait = lustful
- any_spouse = {
- trait = homosexual
- }
- any_consort = {
- trait = homosexual
- }
- }
- is_ill = no
- NOT = {
- trait = eunuch
- }
- NOT = {
- trait = infirm
- }
- NOT = {
- trait = inbred
- }
- NOT = {
- trait = imbecile
- }
- NOT = {
- trait = chaste
- }
- NOT = {
- trait = shy
- }
- }
- }
- }
- potential = {
- is_marriage_adult = yes
- NOT = {
- character = FROM
- }
- NOT = {
- trait = incapable
- }
- prisoner = no
- NOT = {
- is_lover = FROM
- }
- NOT = {
- is_former_lover = FROM
- }
- NOT = {
- is_consort = FROM
- }
- NOT = {
- any_spouse = {
- character = FROM
- }
- }
- NOT = {
- is_child_of = FROM
- }
- NOT = {
- mother_even_if_dead = {
- is_child_of = FROM
- }
- }
- NOT = {
- father_even_if_dead = {
- is_child_of = FROM
- }
- }
- FROM = {
- NOT = {
- is_child_of = ROOT
- }
- NOT = {
- mother_even_if_dead = {
- is_child_of = ROOT
- }
- }
- NOT = {
- father_even_if_dead = {
- is_child_of = ROOT
- }
- }
- }
- OR = {
- AND = {
- FROM = {
- NOT = {
- trait = homosexual
- }
- }
- NOT = {
- trait = homosexual
- }
- NOT = {
- same_sex = FROM
- }
- }
- AND = {
- FROM = {
- trait = homosexual
- }
- trait = homosexual
- same_sex = FROM
- }
- }
- }
- allow = {
- NOT = {
- trait = celibate
- }
- NOT = {
- FROM = {
- trait = celibate
- }
- }
- is_within_diplo_range = FROM
- }
- effect = {
- hidden_tooltip = {
- FROM = {
- opinion = {
- who = ROOT
- modifier = opinion_seducing
- years = 1000
- }
- if = {
- limit = {
- is_close_relative = ROOT
- NOT = {
- religion = messalian
- }
- NOT = {
- religion = zoroastrian
- }
- }
- character_event = {
- id = WoL.102
- days = 1
- }
- break = yes
- }
- if = {
- limit = {
- same_sex = ROOT
- }
- character_event = {
- id = WoL.104
- days = 1
- }
- break = yes
- }
- if = {
- limit = {
- religion_group = christian
- OR = {
- is_priest = yes
- trait = monk
- trait = nun
- ROOT = {
- is_priest = yes
- }
- ROOT = {
- trait = monk
- }
- ROOT = {
- trait = nun
- }
- }
- }
- character_event = {
- id = WoL.103
- days = 1
- }
- break = yes
- }
- if = {
- limit = {
- age_diff = {
- who = ROOT
- years = 25
- }
- }
- character_event = {
- id = WoL.101
- days = 1
- }
- break = yes
- }
- character_event = {
- id = WoL.100
- days = 1
- }
- }
- }
- }
- revoke_allowed = {
- always = no
- }
- ai_will_do = {
- factor = 1
- modifier = {
- factor = 0.05
- }
- modifier = {
- factor = 0
- is_female = yes
- age = 40
- }
- modifier = {
- factor = 0
- is_female = yes
- has_character_modifier = lustful_affair_timer
- }
- modifier = {
- factor = 0.5
- FROM = {
- is_female = no
- num_of_children = 3
- }
- }
- modifier = {
- factor = 0.1
- FROM = {
- is_female = no
- num_of_children = 6
- }
- }
- modifier = {
- factor = 0.5
- FROM = {
- is_female = no
- num_of_children = 8
- }
- }
- modifier = {
- factor = 0
- num_of_lovers = 1
- NOT = {
- trait = lustful
- }
- NOT = {
- trait = hedonist
- }
- NOT = {
- trait = seducer
- }
- NOT = {
- trait = seductress
- }
- NOT = {
- has_focus = focus_seduction
- }
- }
- modifier = {
- factor = 0.25
- ai = no
- }
- modifier = {
- factor = 0.1
- is_ruler = no
- any_spouse = {
- ai = no
- }
- any_consort = {
- ai = no
- }
- }
- modifier = {
- factor = 10
- FROM = {
- OR = {
- trait = lustful
- trait = hedonist
- trait = seducer
- trait = seductress
- }
- }
- }
- modifier = {
- factor = 0
- OR = {
- trait = chaste
- trait = ugly
- trait = dwarf
- trait = inbred
- trait = imbecile
- trait = clubfooted
- trait = harelip
- trait = hunchback
- trait = eunuch
- is_ill = yes
- is_pregnant = yes
- }
- }
- modifier = {
- factor = 0.25
- is_close_relative = FROM
- FROM = {
- NOT = {
- trait = lustful
- }
- NOT = {
- trait = arbitrary
- }
- NOT = {
- trait = possessed
- }
- NOT = {
- trait = lunatic
- }
- }
- }
- modifier = {
- factor = 2
- trait = gregarious
- }
- modifier = {
- factor = 5
- OR = {
- is_playable = yes
- is_married = yes
- father_even_if_dead = {
- always = yes
- }
- mother_even_if_dead = {
- always = yes
- }
- }
- }
- modifier = {
- factor = 10
- trait = fair
- }
- }
- }
- stop_seduce_decision = {
- filter = self
- ai_target_filter = self
- potential = {
- ai = no
- is_marriage_adult = yes
- has_focus = focus_seduction
- has_character_flag = seduction_confirmed
- has_any_opinion_modifier = opinion_seducing
- }
- effect = {
- random_opinion_modifier_target = {
- limit = {
- ROOT = {
- has_opinion_modifier = {
- who = PREV
- name = opinion_seducing
- }
- }
- }
- save_event_target_as = target_seduced
- ROOT = {
- character_event = {
- id = WoL.118
- tooltip = stop_seduce_decision_tt
- }
- }
- }
- }
- revoke_allowed = {
- always = no
- }
- ai_will_do = {
- factor = 0
- }
- }
- stop_seduce_decision_target = {
- ai_target_filter = realm
- from_potential = {
- ai = no
- is_marriage_adult = yes
- has_focus = focus_seduction
- has_character_flag = seduction_confirmed
- has_any_opinion_modifier = opinion_seducing
- }
- potential = {
- FROM = {
- has_opinion_modifier = {
- who = ROOT
- name = opinion_seducing
- }
- }
- }
- effect = {
- save_event_target_as = target_seduced
- hidden_tooltip = {
- FROM = {
- character_event = {
- id = WoL.118
- }
- }
- }
- }
- revoke_allowed = {
- always = no
- }
- ai_will_do = {
- factor = 0
- }
- }
- decision_spy_on = {
- ai_target_filter = realm
- from_potential = {
- has_focus = focus_intrigue
- NOT = {
- trait = incapable
- }
- prisoner = no
- NOT = {
- has_any_opinion_modifier = opinion_spying_on
- }
- NOT = {
- has_any_opinion_modifier = opinion_breaking_out
- }
- }
- potential = {
- NOT = {
- trait = incapable
- }
- same_realm = FROM
- NOT = {
- character = FROM
- }
- }
- allow = {
- prisoner = no
- is_adult = yes
- is_within_diplo_range = FROM
- }
- effect = {
- hidden_tooltip = {
- FROM = {
- any_opinion_modifier_target = {
- limit = {
- reverse_has_opinion_modifier = {
- who = PREV
- modifier = opinion_spying_on
- }
- }
- reverse_remove_opinion = {
- who = PREV
- modifier = opinion_spying_on
- }
- }
- opinion = {
- who = ROOT
- modifier = opinion_spying_on
- months = 12000
- }
- character_event = {
- id = WoL.2050
- days = 1
- }
- }
- }
- }
- revoke_allowed = {
- always = no
- }
- ai_will_do = {
- factor = 1
- modifier = {
- factor = 0.1
- }
- modifier = {
- factor = 0
- NOT = {
- is_rival = FROM
- }
- NOT = {
- is_married = FROM
- }
- NOR = {
- AND = {
- OR = {
- is_ruler = yes
- has_plot = yes
- }
- liege = {
- character = FROM
- }
- }
- AND = {
- is_ruler = yes
- same_liege = FROM
- }
- }
- }
- modifier = {
- factor = 2.0
- has_plot = yes
- }
- modifier = {
- factor = 5.0
- FROM = {
- trait = paranoid
- }
- }
- modifier = {
- factor = 10.0
- in_faction = yes
- liege = {
- character = FROM
- }
- }
- modifier = {
- factor = 10.0
- FROM = {
- leads_faction = yes
- }
- in_faction = no
- same_liege = FROM
- }
- }
- }
- stop_spy_on_decision = {
- filter = self
- ai_target_filter = self
- potential = {
- ai = no
- has_focus = focus_intrigue
- has_character_flag = spy_on_confirmed
- has_any_opinion_modifier = opinion_spying_on
- }
- effect = {
- random_opinion_modifier_target = {
- limit = {
- ROOT = {
- has_opinion_modifier = {
- who = PREV
- name = opinion_spying_on
- }
- }
- }
- save_event_target_as = target_spy_on
- ROOT = {
- character_event = {
- id = WoL.2069
- tooltip = stop_spy_on_decision_tt
- }
- }
- }
- }
- revoke_allowed = {
- always = no
- }
- ai_will_do = {
- factor = 0
- }
- }
- stop_spy_on_decision_target = {
- ai_target_filter = realm
- from_potential = {
- ai = no
- has_focus = focus_intrigue
- has_character_flag = spy_on_confirmed
- has_any_opinion_modifier = opinion_spying_on
- }
- potential = {
- FROM = {
- has_opinion_modifier = {
- who = ROOT
- name = opinion_spying_on
- }
- }
- }
- effect = {
- save_event_target_as = target_spy_on
- hidden_tooltip = {
- FROM = {
- character_event = {
- id = WoL.2069
- }
- }
- }
- }
- revoke_allowed = {
- always = no
- }
- ai_will_do = {
- factor = 0
- }
- }
- decision_break_free = {
- is_high_prio = yes
- filter = sub_realm
- ai_target_filter = dynasty
- from_potential = {
- has_focus = focus_intrigue
- NOT = {
- trait = incapable
- }
- NOT = {
- has_any_opinion_modifier = opinion_breaking_out
- }
- NOT = {
- has_any_opinion_modifier = opinion_spying_on
- }
- }
- potential = {
- NOT = {
- character = FROM
- }
- OR = {
- AND = {
- prisoner = yes
- liege = {
- character = FROM
- }
- host = {
- NOT = {
- character = FROM
- }
- }
- }
- AND = {
- is_female = yes
- is_consort = yes
- prisoner = no
- consort = {
- NOT = {
- character = FROM
- }
- reverse_has_opinion_modifier = {
- who = ROOT
- modifier = opinion_forced_consort
- }
- }
- is_close_relative = FROM
- }
- }
- }
- allow = {
- NOT = {
- trait = incapable
- }
- NOT = {
- has_character_modifier = failed_escape
- }
- }
- effect = {
- hidden_tooltip = {
- FROM = {
- opinion = {
- who = ROOT
- modifier = opinion_breaking_out
- months = 12000
- }
- if = {
- limit = {
- ROOT = {
- prisoner = yes
- }
- }
- character_event = {
- id = WoL.2200
- days = 1
- }
- }
- if = {
- limit = {
- ROOT = {
- prisoner = no
- }
- }
- character_event = {
- id = WoL.2201
- days = 1
- }
- }
- }
- }
- }
- revoke_allowed = {
- always = no
- }
- ai_will_do = {
- factor = 1
- modifier = {
- factor = 0.1
- }
- modifier = {
- factor = 0
- is_rival = FROM
- }
- modifier = {
- factor = 0
- trait = decadent
- religion_group = muslim
- }
- }
- }
- invite_to_party = {
- ai_target_filter = court
- from_potential = {
- is_playable = yes
- is_adult = yes
- has_focus = focus_carousing
- prisoner = no
- war = no
- NOT = {
- trait = incapable
- }
- NOT = {
- had_character_flag = {
- flag = inviting_guests_to_party_timer
- days = 90
- }
- }
- }
- potential = {
- is_adult = yes
- war = no
- prisoner = no
- NOT = {
- trait = incapable
- }
- is_within_diplo_range = FROM
- NOT = {
- has_character_flag = carousing_invite
- }
- NOT = {
- character = FROM
- }
- }
- allow = {
- same_realm = FROM
- NOT = {
- has_character_modifier = organizing_party
- }
- NOT = {
- has_character_modifier = party_carousing
- }
- NOT = {
- reverse_has_opinion_modifier = {
- modifier = opinion_declined_party
- who = FROM
- }
- }
- ROOT = {
- custom_tooltip = {
- text = tooltip_not_busy
- NOT = {
- has_character_flag = do_not_disturb
- }
- }
- }
- FROM = {
- NOT = {
- has_character_modifier = party_timer
- }
- OR = {
- NOT = {
- religion_group = muslim
- }
- trait = decadent
- trait = hedonist
- trait = drunkard
- }
- }
- }
- effect = {
- FROM = {
- if = {
- limit = {
- NOT = {
- has_character_modifier = organizing_party
- }
- }
- add_character_modifier = {
- name = organizing_party
- duration = 120
- }
- hidden_tooltip = {
- character_event = {
- id = WoL.4010
- days = 120
- }
- }
- set_character_flag = inviting_guests_to_party_timer
- }
- set_character_flag = do_not_disturb
- }
- hidden_tooltip = {
- letter_event = {
- id = WoL.4000
- days = 7
- }
- }
- set_character_flag = carousing_invite
- }
- revoke_allowed = {
- always = no
- }
- ai_will_do = {
- factor = 1
- modifier = {
- factor = 0
- FROM = {
- has_character_modifier = organizing_party
- }
- }
- modifier = {
- factor = 0
- OR = {
- trait = leper
- trait = has_bubonic_plague
- trait = has_typhoid_fever
- trait = has_typhus
- trait = has_measles
- trait = has_small_pox
- }
- }
- }
- }
- duel_decision = {
- is_high_prio = yes
- filter = rivals
- ai_target_filter = rivals
- from_potential = {
- is_adult = yes
- prisoner = no
- has_dlc = "Way of Life"
- has_focus = focus_war
- has_regent = no
- OR = {
- ai = no
- AND = {
- is_female = no
- NOT = {
- trait = craven
- }
- NOT = {
- trait = content
- }
- }
- }
- OR = {
- is_female = no
- religion_group = pagan_group
- is_nomadic = yes
- religion = cathar
- religion = buddhist
- religion = bogomilist
- religion = messalian
- }
- }
- potential = {
- is_adult = yes
- prisoner = no
- OR = {
- is_female = no
- FROM = {
- is_female = yes
- }
- }
- NOT = {
- character = FROM
- }
- is_ill = no
- NOT = {
- trait = incapable
- }
- }
- allow = {
- FROM = {
- OR = {
- is_foe = ROOT
- custom_tooltip = {
- text = duel_tooltip_excommunicated
- AND = {
- trait = zealous
- ROOT = {
- trait = excommunicated
- religion = ROOT
- }
- }
- }
- AND = {
- religion_group = muslim
- trait = zealous
- ROOT = {
- trait = decadent
- }
- }
- }
- NOT = {
- has_opinion_modifier = {
- who = ROOT
- modifier = opinion_fled_duel
- }
- }
- }
- ROOT = {
- NOT = {
- age = 60
- }
- }
- custom_tooltip = {
- text = duel_tooltip_fought_before
- hidden_tooltip = {
- NOT = {
- has_opinion_modifier = {
- who = FROM
- modifier = opinion_fought_duel
- }
- }
- FROM = {
- NOT = {
- has_opinion_modifier = {
- who = ROOT
- modifier = opinion_fought_duel
- }
- }
- }
- }
- }
- custom_tooltip = {
- text = duel_tooltip_busy
- hidden_tooltip = {
- FROM = {
- NOT = {
- has_character_flag = do_not_disturb
- }
- NOT = {
- war = yes
- }
- }
- NOT = {
- has_character_flag = do_not_disturb
- }
- NOT = {
- war = yes
- }
- }
- }
- custom_tooltip = {
- text = duel_tooltip_valid_target
- hidden_tooltip = {
- OR = {
- is_female = no
- FROM = {
- OR = {
- is_nomadic = yes
- religion_group = pagan_group
- religion = cathar
- religion = buddhist
- religion = bogomilist
- religion = messalian
- }
- }
- }
- OR = {
- is_priest = no
- FROM = {
- religion_group = pagan_group
- }
- }
- }
- }
- custom_tooltip = {
- text = duel_tooltip_recent_duel
- hidden_tooltip = {
- FROM = {
- NOT = {
- has_character_modifier = recent_duel_timer
- }
- }
- NOT = {
- has_character_modifier = recent_duel_timer
- }
- }
- }
- ROOT = {
- custom_tooltip = {
- text = duel_tooltip_sickness
- hidden_tooltip = {
- NOT = {
- OR = {
- trait = incapable
- trait = infirm
- trait = has_aztec_disease
- trait = has_small_pox
- trait = has_measles
- trait = has_bubonic_plague
- trait = has_typhus
- trait = has_typhoid_fever
- trait = has_tuberculosis
- trait = leper
- trait = pneumonic
- }
- }
- }
- }
- }
- FROM = {
- custom_tooltip = {
- text = duel_tooltip_sickness
- hidden_tooltip = {
- NOT = {
- OR = {
- trait = incapable
- trait = infirm
- trait = has_aztec_disease
- trait = has_small_pox
- trait = has_measles
- trait = has_bubonic_plague
- trait = has_typhus
- trait = has_typhoid_fever
- trait = has_tuberculosis
- trait = leper
- trait = pneumonic
- }
- }
- }
- }
- }
- is_within_diplo_range = ROOT
- }
- effect = {
- if = {
- limit = {
- OR = {
- age = 50
- trait = wounded
- trait = maimed
- }
- }
- custom_tooltip = {
- text = dishonorable_duel_tooltip
- hidden_tooltip = {
- FROM = {
- any_realm_character = {
- limit = {
- NOT = {
- character = FROM
- }
- OR = {
- trait = honest
- trait = kind
- trait = just
- }
- }
- opinion = {
- modifier = opinion_dishonorable_duel
- who = FROM
- months = 36
- }
- }
- }
- }
- }
- }
- FROM = {
- if = {
- limit = {
- religion = jain
- }
- piety = -20
- custom_tooltip = {
- text = jain_ahimsa_tooltip
- }
- }
- add_character_modifier = {
- modifier = recent_duel_timer
- duration = 365
- hidden = yes
- }
- }
- hidden_tooltip = {
- character_event = {
- id = WoL.11000
- }
- }
- }
- revoke_allowed = {
- always = no
- }
- ai_will_do = {
- factor = 1
- modifier = {
- factor = 0
- has_character_modifier = declined_prestige_duel_timer
- }
- modifier = {
- factor = 0.01
- }
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement