### ### society_decisions = { venom_vir_effect = { potential = { has_dlc = "Mystics" OR = { society_member_of = pentaghast_society society_member_of = noldor_society } NOT = { has_character_flag = has_taken_vir_sand } } allow = { has_society_currency_minor_trigger = yes } effect = { detract_society_currency_minor_effect = yes custom_tooltip = { text = venom_vir_effect_tt } hidden_effect = { character_event = { id = PENTAGHAST.105 days = 0} } piety = -10 } ai_will_do = { factor = 0.1 modifier = { factor = 5 trait = brave } modifier = { factor = 10 trait = ambitious } modifier = { factor = 0 trait = craven } modifier = { factor = 0.1 trait = shy } modifier = { factor = 5 trait = weak } } } pentaghast_vir_bomb = { potential = { has_dlc = "Mystics" society_member_of = pentaghast_society in_battle = yes in_command = yes } allow = { has_society_currency_major_trigger = yes } effect = { character_event = { id = PENTAGHAST.109 days = 0 } } ai_will_do = { factor = 0 } } } targeted_decisions = { #Action: PENTAGHAST recruit assassins_recruit = { ai_target_filter = realm is_in_society = yes # Note - Only works for targeted_decisions. For non-targeted decisions you can use "society_decisions" from_potential = { is_adult = yes prisoner = no NOT = { trait = incapable } NOT = { has_character_modifier = recruitment_timer } society_member_of = pentaghast_society #Only level 2 and 3 AIs recruit OR = { ai = no society_rank == 2 society_rank == 3 } } potential = { OR = { FROM = { ai = no } ai = no } OR = { FROM = { ai = yes } is_within_diplo_range = FROM # AI only checks inside realm, so is by definition in range } is_adult = yes prisoner = no NOT = { trait = incapable } is_in_society = no #AI cannot invite other AIs when society is full NAND = { ai = yes FROM = { ai = yes } NOT = { can_join_society = pentaghast_society } } #Stopping the ai from making stupid choices OR = { FROM = { ai = no } is_friend = FROM is_lover = FROM is_close_relative = FROM interested_in_society = pentaghast_society } NAND = { FROM = { ai = yes } trait = zealous } } allow = { is_inaccessible_trigger = no custom_tooltip = { text = satanists_recruit_block_tooltip OR = { NOT = { has_character_flag = pentaghast_society_attempted_recruitment } interested_in_society = pentaghast_society } NOT = { has_character_flag = being_recruited_by_pentaghast_society } } #has_pentaghast_society_prerequisites = yes FROM = { is_inaccessible_trigger = no custom_tooltip = { text = recruit_delay_timer_tooltip NOT = { has_character_modifier = recruitment_delay_timer } } } } effect = { set_character_flag = pentaghast_society_attempted_recruitment set_character_flag = ongoing_recruitment hidden_effect = { if = { limit = { NOT = { religion = shiite } } character_event = { id = PSE.6020 days = 3 } } if = { limit = { religion = shiite } character_event = { id = PSE.6022 days = 3 } } character_event = { id = PSE.7030 days = 365 } FROM = { if = { limit = { ai = yes } add_character_modifier = { name = recruitment_timer days = 730 hidden = yes } } add_character_modifier = { name = recruitment_delay_timer days = 90 hidden = yes } } } } revoke_allowed = { always = no } ai_will_do = { factor = 1 modifier = { factor = 0.01 # slow down } modifier = { factor = 10 # recruit interested parties interested_in_society = pentaghast_society } modifier = { factor = 0 # don't recruit characters interested in something else NOT = { interested_in_society = pentaghast_society } is_interested_in_any_society = yes } } } }