From fa7843b91f957a77739deb4574085902857b3635 Mon Sep 17 00:00:00 2001 From: Magpie490 Date: Wed, 19 Feb 2025 22:51:48 +0000 Subject: [PATCH] fix --- .../vassal_contracts/_vassal_contracts.info | 77 + common/vassal_contracts/administrative.txt | 377 + common/vassal_contracts/clan.txt | 25 + common/vassal_contracts/feudal.txt | 189 + common/vassal_contracts/republic.txt | 124 + common/vassal_contracts/special_contracts.txt | 731 ++ common/vassal_contracts/theocratic.txt | 42 + gui/hud.gui | 6439 +++++++++++++++++ gui/window_character.gui | 4723 ++++++++++++ gui/window_title.gui | 1110 +++ 10 files changed, 13837 insertions(+) create mode 100644 common/vassal_contracts/_vassal_contracts.info create mode 100644 common/vassal_contracts/administrative.txt create mode 100644 common/vassal_contracts/clan.txt create mode 100644 common/vassal_contracts/feudal.txt create mode 100644 common/vassal_contracts/republic.txt create mode 100644 common/vassal_contracts/special_contracts.txt create mode 100644 common/vassal_contracts/theocratic.txt create mode 100644 gui/hud.gui create mode 100644 gui/window_character.gui create mode 100644 gui/window_title.gui diff --git a/common/vassal_contracts/_vassal_contracts.info b/common/vassal_contracts/_vassal_contracts.info new file mode 100644 index 00000000..58721880 --- /dev/null +++ b/common/vassal_contracts/_vassal_contracts.info @@ -0,0 +1,77 @@ +# Vassal obligations - how much does the vassal give to their liege. The vassal's government type determines which contract type is used. +# Note that the values can be changed with the vassal_tax_contribution_add and vassal_levy_contribution_add modifiers. + +vassal_contract = { + uses_opinion_of_liege = yes/no # if set to yes, scope:opinion_of_liege can be used in the levies and tax script math (it's a value that's updated daily for player contracts, for AI it uses NVassalContract::OPINION_OF_LIEGE_UPDATE_INTERVAL. No by default for performance reasons. + + + display_mode = tree/list/radiobutton # How are the obligations displayed in the negotiate contract UI, defualt is radiobutton + + # Or: Modifiable contract with multiple levels: + obligation_levels = { + # Scopes available: + # scope:liege the liege in the contract + # scope:vassal the vassal in the contract + # scope:opinion_of_liege set if uses_opinion_of_liege = yes + # scope:tax_slot the slot they are in/are being considered to be placed in + # scope:tax_collector the collector for the above/the potential new collector + + vassal_obligation_low = { # choose a key for the level, it will be used for localization + levies = 0.5 # % of levies (0..1), default 0; can also use script math + tax = 0.2 # % of gold income (0..1), default 0; can also use script math + min_levies = 0.1 # optional min cap on tax, can alsu use script math as levies and tax + min_tax = 0.0 # optional min cap on levies, can alsu use script math as levies and tax + + contribution_desc = { ... } # optional dynamic description used for the breakdown of the tax & levies contribution + + tax_contribution_postfix = "..." # Optional postfix added to the tax contribution breakdown + levies_contribution_postfix = "..." # Optional postfix added to the levies contribution breakdown + + unclamped_contribution_label = "..." # Breakdown label for the unclamped tax/levies contribution + min_contribution_label = "..." # Breakdown label for the minimum tax/levies contribution the value is clamped to + + vassal_opinion = 0 # value for opinion of liege that's added to vassal's opinion of the liege if they have this contract + + flag = token # Arbitrary flag, can be checked in script to see if any obligation level in the current vassal contract has a flag + + score = int # Positive means it is better for the vassal to have, 0 means neutral, negative is better for liege + # When changing obligations the current score and new score are compared to see if it is in favour of the vassal or liege + # and by how much. + # Defaults to order the contracts are defined + + ai_liege_desire =