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 =