-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #197 from SnowletTV/dev
1.7.1
- Loading branch information
Showing
571 changed files
with
19,025 additions
and
14,124 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,80 @@ | ||
merc_buyoff = { ### Any changes here need to be replicated in the Scripted GUI version of Bribe Mercenary | ||
|
||
on_other_nation = yes | ||
on_own_nation = no | ||
message = no | ||
|
||
sound = "event:/SFX/UI/Character/Generic/sfx_ui_character_economy" | ||
|
||
potential_trigger = { | ||
hidden:scope:target = { | ||
is_mercenary = yes | ||
is_general = yes | ||
any_character_unit = { | ||
unit_size > 0 | ||
} | ||
} | ||
} | ||
|
||
allowed_trigger = { | ||
scope:target = { | ||
any_character_unit = { in_combat = no } | ||
custom_tooltip = { | ||
text = merc_employed_tt | ||
NOT = { | ||
employer = { | ||
tag = MER | ||
} | ||
} | ||
} | ||
} | ||
hidden:scope:actor = { | ||
war_with = scope:target.employer | ||
treasury >= army_size_merc_estimation | ||
} | ||
scope:actor.current_ruler = { | ||
can_get_rivals = yes | ||
} | ||
scope:target.employer = { | ||
NOT = { | ||
invention = recruit_mercenary_inv | ||
} | ||
} | ||
custom_tooltip = { | ||
text = merc_1_year_buyoff_tt | ||
NOT = { | ||
scope:target = { | ||
has_variable = merc_buyoff_cooldown | ||
} | ||
} | ||
} | ||
} | ||
|
||
effect = { | ||
scope:actor = { | ||
add_treasury = { | ||
value = 0 | ||
subtract = army_size_merc_estimation | ||
} | ||
} | ||
custom_tooltip = merc_buyoff_effect_tooltip | ||
scope:target = { | ||
set_variable = { | ||
name = merc_buyoff_cooldown | ||
days = 365 | ||
} | ||
} | ||
hidden_effect = { | ||
scope:target.employer = { | ||
set_local_variable = { | ||
name = merc_payoff_value | ||
value = army_size_merc_estimation | ||
} | ||
trigger_event = { | ||
id = warfare.3 | ||
} | ||
} | ||
} | ||
} | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
11 changes: 0 additions & 11 deletions
11
common/coat_of_arms/coat_of_arms/01_cr_celtic_countries.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.