A lot of updating, making republics work
This commit is contained in:
parent
09fb57c091
commit
4d6f569e96
99 changed files with 9792 additions and 9342 deletions
|
|
@ -325,7 +325,27 @@ on_war_started = {
|
|||
debug_log = "Declared a border war"
|
||||
debug_log_scopes = yes
|
||||
}
|
||||
# gg_triggered_catalyst_effect = {
|
||||
# ACTOR = scope:attacker
|
||||
# RECIPIENT = scope:defender
|
||||
# CATALYST = catalyst_gg_war_declared_on_opposite_party
|
||||
# }
|
||||
scope:attacker = {
|
||||
if = {
|
||||
limit = {
|
||||
government_has_flag = government_has_merit
|
||||
OR = {
|
||||
vassal_contract_has_flag = celestial_military_appointment
|
||||
vassal_contract_has_flag = meritocratic_military_appointment
|
||||
}
|
||||
}
|
||||
scope:war = {
|
||||
set_variable = {
|
||||
name = military_province_war_defender_tier
|
||||
value = scope:defender.highest_held_title_tier
|
||||
}
|
||||
}
|
||||
}
|
||||
if = { # Confession modifier
|
||||
limit = {
|
||||
var:pam_confession_penalty_var ?= flag:no_war
|
||||
|
|
@ -648,6 +668,21 @@ on_war_started = {
|
|||
|
||||
}
|
||||
scope:defender = {
|
||||
if = {
|
||||
limit = {
|
||||
government_has_flag = government_has_merit
|
||||
OR = {
|
||||
vassal_contract_has_flag = celestial_military_appointment
|
||||
vassal_contract_has_flag = meritocratic_military_appointment
|
||||
}
|
||||
}
|
||||
scope:war = {
|
||||
set_variable = {
|
||||
name = military_province_war_attacker_tier
|
||||
value = scope:attacker.highest_held_title_tier
|
||||
}
|
||||
}
|
||||
}
|
||||
if = {
|
||||
limit = {
|
||||
any_vassal_or_below = { is_ai = no }
|
||||
|
|
@ -1263,6 +1298,12 @@ on_war_won_attacker = { # As in, won BY attacker. Only one of the two on_actions
|
|||
# Save scopes for localization.
|
||||
scope:attacker = { save_scope_as = winner }
|
||||
scope:defender = { save_scope_as = loser }
|
||||
# gg_triggered_catalyst_effect = {
|
||||
# ACTOR = scope:winner
|
||||
# RECIPIENT = scope:loser
|
||||
# CATALYST = catalyst_gg_war_won_against_opposite_party
|
||||
# }
|
||||
scope:winner = { military_career_war_victory_merit_effect = yes }
|
||||
# Special rewards for Temüjin vs Jamukha
|
||||
if = {
|
||||
limit = {
|
||||
|
|
@ -1774,7 +1815,7 @@ on_war_won_attacker = { # As in, won BY attacker. Only one of the two on_actions
|
|||
if = {
|
||||
limit = {
|
||||
scope:winner = {
|
||||
has_dlc_feature = roads_to_power
|
||||
has_playable_adventurer_dlc_trigger = yes
|
||||
has_variable_list = separatist_uprising_decision_target_var
|
||||
is_target_in_variable_list = {
|
||||
name = separatist_uprising_decision_target_var
|
||||
|
|
@ -1984,6 +2025,13 @@ on_war_won_defender = {
|
|||
scope:attacker = { save_scope_as = loser }
|
||||
scope:defender = { save_scope_as = winner }
|
||||
|
||||
# gg_triggered_catalyst_effect = {
|
||||
# ACTOR = scope:winner
|
||||
# RECIPIENT = scope:loser
|
||||
# CATALYST = catalyst_gg_war_won_against_opposite_party
|
||||
# }
|
||||
scope:winner = { military_career_war_victory_merit_effect = yes }
|
||||
|
||||
# Give a humiliating memory to nomadic attackers for losing a war they started
|
||||
if = {
|
||||
limit = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue