character_interactions updated files
This commit is contained in:
parent
f086d8f7ec
commit
d8cc7ae2ea
34 changed files with 21815 additions and 13849 deletions
|
|
@ -11,6 +11,22 @@ fund_inspiration_interaction = {
|
|||
category = interaction_category_vassal
|
||||
desc = fund_inspiration_interaction_desc
|
||||
|
||||
is_available = {
|
||||
trigger_if = {
|
||||
limit = { is_ai = yes }
|
||||
OR = {
|
||||
has_royal_court = yes
|
||||
OR = { government_has_flag = government_is_landless_adventurer government_has_flag = government_is_landless_minority }
|
||||
}
|
||||
is_at_war = no
|
||||
gold > ai_inspiration_desired_gold_value
|
||||
ai_should_focus_on_building_in_their_capital = no
|
||||
save_temporary_scope_as = inspiration_sponsor
|
||||
NOT = { has_character_flag = recently_fund_inspiration }
|
||||
NOT = { has_variable = conqueror }
|
||||
}
|
||||
}
|
||||
|
||||
is_shown = {
|
||||
scope:recipient = {
|
||||
is_ruler = no
|
||||
|
|
@ -90,15 +106,18 @@ fund_inspiration_interaction = {
|
|||
limit = { scope:recipient.inspiration = { has_inspiration_type = bow_inspiration } }
|
||||
custom_description_no_bullet = { text = bow_inspiration_cost_tt }
|
||||
}
|
||||
else_if = {
|
||||
limit = { scope:recipient.inspiration = { has_inspiration_type = religious_artifact_inspiration } }
|
||||
custom_description_no_bullet = { text = religious_artifact_inspiration_cost_tt }
|
||||
}
|
||||
|
||||
# Add a flag on AI to have an extra cooldown of 3 years
|
||||
if = {
|
||||
limit = {
|
||||
scope:actor = {
|
||||
save_temporary_scope_as = inspiration_sponsor
|
||||
is_ai = yes
|
||||
NOT = {
|
||||
gold >= 1000
|
||||
}
|
||||
gold < 1000
|
||||
OR = {
|
||||
short_term_gold < ai_inspiration_desired_gold_value
|
||||
ai_greed >= 50
|
||||
|
|
@ -163,18 +182,6 @@ fund_inspiration_interaction = {
|
|||
adult = yes
|
||||
}
|
||||
|
||||
ai_potential = {
|
||||
is_at_war = no
|
||||
OR = {
|
||||
has_royal_court = yes
|
||||
OR = { government_has_flag = government_is_landless_adventurer government_has_flag = government_is_landless_minority }
|
||||
}
|
||||
gold > ai_inspiration_desired_gold_value
|
||||
NOT = { has_character_flag = recently_fund_inspiration }
|
||||
NOT = { has_variable = conqueror }
|
||||
ai_should_focus_on_building_in_their_capital = no
|
||||
}
|
||||
|
||||
ai_will_do = {
|
||||
base = 100
|
||||
|
||||
|
|
@ -280,9 +287,12 @@ indebt_guest_interaction = {
|
|||
pre_answer_yes_key = ANSWER_WILL_SUCCEED
|
||||
pre_answer_maybe_breakdown_key = ANSWER_SUM_CHANCE
|
||||
|
||||
ai_potential = {
|
||||
# Repeat some is_shown triggers for performance gains.
|
||||
indebt_guest_interaction_basic_checks_trigger = { ACTOR = this }
|
||||
is_available = {
|
||||
trigger_if = {
|
||||
limit = { is_ai = yes }
|
||||
# Repeat some is_shown triggers for performance gains.
|
||||
indebt_guest_interaction_basic_checks_trigger = { ACTOR = this }
|
||||
}
|
||||
}
|
||||
|
||||
is_shown = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue