Skip to content

Commit

Permalink
Merge branch 'Imperia-foreign-policy-signalling' of https://github.co…
Browse files Browse the repository at this point in the history
…m/Imperia-Development-Victoria-3/Victoria-3-Dev into Imperia-foreign-policy-signalling
  • Loading branch information
Danarca committed Jan 24, 2025
2 parents cc4c7f3 + 0ffc620 commit a987adf
Show file tree
Hide file tree
Showing 4 changed files with 49 additions and 49 deletions.
2 changes: 1 addition & 1 deletion common/history/global/imperia_global.txt
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
### SET STARTING FOREIGN POLICY ###
## TEST ON PLAYERS ##
update_foreign_policy = yes
remove_variable ?= modifier_imperia_foreign_policy_cooldown # To allow players to change from the get-go
remove_variable ?= modifier_imperia_foreign_policy_cooldown # To allow players to change from the get-go
### TECHNOLOGIES ###
if = {
limit = {
Expand Down
88 changes: 44 additions & 44 deletions common/laws/imperia_diplomatic_stance.txt
Original file line number Diff line number Diff line change
Expand Up @@ -266,13 +266,13 @@ law_subject_loyalty = {
NOT = {
has_modifier = imperia_true_neutral
}
is_subject = yes
is_subject = yes
}
is_visible = {
NOT = {
has_modifier = imperia_true_neutral
}
is_subject = yes
is_subject = yes
}
can_impose = {
always = no
Expand All @@ -283,49 +283,49 @@ law_subject_loyalty = {
}

law_subject_maintain_autonomy = {
group = lawgroup_diplomatic_stance
icon = "gfx/interface/icons/ai_strategy_icons/subject_maintain_autonomy.dds"
progressiveness = 0
can_enact = {
NOT = {
has_modifier = imperia_true_neutral
}
is_subject = yes
}
is_visible = {
NOT = {
has_modifier = imperia_true_neutral
}
is_subject = yes
}
can_impose = {
always = no
}
ai_will_do = {
always = no
}
group = lawgroup_diplomatic_stance
icon = "gfx/interface/icons/ai_strategy_icons/subject_maintain_autonomy.dds"
progressiveness = 0
can_enact = {
NOT = {
has_modifier = imperia_true_neutral
}
is_subject = yes
}
is_visible = {
NOT = {
has_modifier = imperia_true_neutral
}
is_subject = yes
}
can_impose = {
always = no
}
ai_will_do = {
always = no
}
}

law_subject_break_free = {
group = lawgroup_diplomatic_stance
icon = "gfx/interface/icons/ai_strategy_icons/subject_break_free.dds"
progressiveness = 0
can_enact = {
NOT = {
has_modifier = imperia_true_neutral
}
is_subject = yes
}
is_visible = {
NOT = {
has_modifier = imperia_true_neutral
}
is_subject = yes
}
can_impose = {
always = no
}
ai_will_do = {
always = no
}
group = lawgroup_diplomatic_stance
icon = "gfx/interface/icons/ai_strategy_icons/subject_break_free.dds"
progressiveness = 0
can_enact = {
NOT = {
has_modifier = imperia_true_neutral
}
is_subject = yes
}
is_visible = {
NOT = {
has_modifier = imperia_true_neutral
}
is_subject = yes
}
can_impose = {
always = no
}
ai_will_do = {
always = no
}
}
2 changes: 1 addition & 1 deletion common/scripted_effects/imperia_foreign_policy_effects.txt
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ update_foreign_policy = {
limit = {
OR = {
has_strategy = ai_strategy_territorial_expansion
has_strategy = ai_strategy_restore_natural_borders # French unique strategy for the Rhine
has_strategy = ai_strategy_restore_natural_borders # French unique strategy for the Rhine
}
NOT = {
has_law = law_type:law_expansionism
Expand Down
6 changes: 3 additions & 3 deletions common/scripted_guis/foreign_policy.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
saved_scopes = {
country
}

effect = {
scope:country = {
if = {
Expand All @@ -20,7 +20,7 @@
}
}
}

is_valid = {
scope:country = {
NOT = {
Expand All @@ -29,7 +29,7 @@
}
}
}

is_shown = {
type != law_type:law_true_neutrality
}
Expand Down

0 comments on commit a987adf

Please sign in to comment.