character_interactions updated files
This commit is contained in:
parent
f086d8f7ec
commit
d8cc7ae2ea
34 changed files with 21815 additions and 13849 deletions
|
|
@ -10,12 +10,22 @@ force_join_faction_interaction = {
|
|||
greeting = positive
|
||||
notification_text = FORCE_JOIN_FACTION_NOTIFICATION
|
||||
|
||||
is_available = {
|
||||
is_a_faction_member = yes
|
||||
trigger_if = {
|
||||
limit = { is_ai = yes }
|
||||
top_liege != this
|
||||
|
||||
# Only force others to join a faction if you joined by your own free will
|
||||
is_forced_into_faction = no
|
||||
}
|
||||
}
|
||||
|
||||
is_shown = {
|
||||
scope:actor = {
|
||||
is_a_faction_member = yes
|
||||
liege = scope:recipient.liege
|
||||
liege ?= scope:recipient.liege
|
||||
NOR = {
|
||||
joined_faction = scope:recipient.joined_faction
|
||||
joined_faction ?= scope:recipient.joined_faction
|
||||
scope:recipient = scope:actor.liege
|
||||
}
|
||||
}
|
||||
|
|
@ -24,7 +34,7 @@ force_join_faction_interaction = {
|
|||
is_valid_showing_failures_only = {
|
||||
scope:actor = {
|
||||
trigger_if = {
|
||||
limit = { government_allows = administrative }
|
||||
limit = { government_has_mechanic = administrative }
|
||||
custom_tooltip = {
|
||||
text = force_join_faction_admin_requirement_desc
|
||||
OR = {
|
||||
|
|
@ -49,8 +59,8 @@ force_join_faction_interaction = {
|
|||
limit = { is_a_faction_member = yes }
|
||||
joined_faction.faction_leader ?= { is_ai = yes }
|
||||
}
|
||||
is_forced_into_faction = no
|
||||
can_join_faction = scope:actor.joined_faction
|
||||
is_forced_into_faction = no
|
||||
can_join_faction = scope:actor.joined_faction
|
||||
}
|
||||
custom_description = {
|
||||
text = barons_joining_independence_factions
|
||||
|
|
@ -60,7 +70,7 @@ force_join_faction_interaction = {
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
on_accept = {
|
||||
scope:actor = {
|
||||
send_interface_message = {
|
||||
|
|
@ -106,15 +116,15 @@ force_join_faction_interaction = {
|
|||
exists = scope:recipient
|
||||
scope:actor ?= { has_strong_usable_hook = scope:recipient }
|
||||
}
|
||||
flag = hook
|
||||
flag = hook
|
||||
localization = GENERIC_SPEND_A_HOOK
|
||||
}
|
||||
|
||||
#Spend influence
|
||||
send_option = {
|
||||
is_shown = {
|
||||
scope:actor = { government_allows = administrative }
|
||||
scope:actor.top_liege ?= { government_allows = administrative }
|
||||
scope:actor = { government_has_flag = government_has_influence }
|
||||
scope:actor.top_liege ?= { government_has_flag = government_has_influence }
|
||||
}
|
||||
is_valid = { # Convincing someone with influence is not available if they hate you or love the liege
|
||||
scope:actor ?= { influence >= { value = scope:actor.monumental_influence_value multiply = 2 } }
|
||||
|
|
@ -123,12 +133,12 @@ force_join_faction_interaction = {
|
|||
NOT = { opinion = { target = scope:recipient.liege value >= 50 } }
|
||||
}
|
||||
}
|
||||
flag = influence
|
||||
flag = influence
|
||||
localization = SPEND_INFLUENCE
|
||||
}
|
||||
|
||||
send_options_exclusive = yes
|
||||
|
||||
|
||||
# AI
|
||||
ai_targets = {
|
||||
ai_recipients = peer_vassals
|
||||
|
|
@ -141,18 +151,10 @@ force_join_faction_interaction = {
|
|||
empire = 12
|
||||
hegemony = 0
|
||||
}
|
||||
|
||||
ai_potential = {
|
||||
top_liege != this
|
||||
is_a_faction_member = yes
|
||||
|
||||
# Only force others to join a faction if you joined by your own free will
|
||||
is_forced_into_faction = no
|
||||
}
|
||||
|
||||
|
||||
ai_will_do = {
|
||||
base = 100
|
||||
|
||||
|
||||
# Don't steal players' factions' members
|
||||
modifier = {
|
||||
factor = 0
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue