﻿################################################################################
#
# Tributary 附屬國
# 參考：..\common\tributary_types\*
#
################################################################################
#
# 2.8開始可以自訂附屬國類型
# default 類型是必須存在，它代表目前為止遊戲中舊有的附屬國
# 你不能創建 none 類型的附屬國，它用於表示沒有附屬國關係
# none 類型在遊戲中會被無視，嚴重的話可能會破壞附屬國系統
#
################################################################################
#
# 結構
#
################################################################################
default = {								# name used for that type of tributary. "default" is the standard type, replacing the old tributaries, and "none" is reserved and should be used
	tributary_name = TRIBUTARY_DEFAULT_NAME		# localization string used for tributaries of that type (ie "Tributary" for the default type, "Imperial Tributary" for the imperial type, etc)
	tributary_plural = TRIBUTARY_DEFAULT_PLURAL	# localization string used for tributaries of that type, when there is more than one (ie "Tributaries" for the default type, "Imperial Tributaries" for the imperial type, etc)
	suzerain_name = SUZERAIN_DEFAULT_NAME		# localization string used for suzerains of that tributary type (ie "Suzerain" for the default type, "Imperial Suzerain" for the imperial type, etc)
	tribute_name = TRIBUTARY_DEFAULT_TRIBUTE	# localization string used for "paying $TRIBUTE$" for that tributary type
	breaks_at_suzerain_death = yes		# yes/no value determining if the tributary relationship is disolved when the suzerain dies.
	breaks_at_tributary_death = no 		# yes/no value determining if the tributery relationship is disolved when the tributary dies
	suzerain_can_be_called = yes 		# yes/no value determining if tributaries can call their tributaries to war (as ally)	
	suzerain_must_defend = no 			# yes/no value determining if the suzerain is forced to accept calls to arms from tributary in defensive wars (wars were the tributary is the defender)
										# if they decline anyway, they will lose the tributary and an amount of prestige defined in defines.lua, called SUZERAIN_DEFENDER_CALL_DECLINE_COST
	tributary_can_be_summoned = yes 	# yes/no value determining if the suzerain can calls the tributaries to war (as tribal vassals / allies)	
	tributary_must_defend = yes			# yes/no value determining if the tributaries are forced to accept defensive calls to arms
	tributaries_can_infight = yes		# yes/no value determining if the tributaries can fight against each others, if both tributaries are of the same type
										# if tributaries are of different types, they will always be allowed to fight each other, even if they have the same suzerain
	suzerain_can_join_infighting = yes	# yes/no value determining if the suzerain can join a tributary in a war against another
	tributaries_can_unite = no 			# yes/no value determining if, when trying to break, the tributaries can band together against the suzerain, à la major revolt
										# Also means that tributaries of this type will never help their suzerain in a war against another tributary of this type, even when they're not willing to help the other tributary
	breaks_on_realm_change=yes			# yes/no value determining if the tributary relationship is dissolved when the tributary's titles change realms
	icon = 7							# which frame of the icon strip to use. Note that using an index already used for another relation type (E.G., alliances) will break the tooltip
	cbs_against_suzerain = {			# list of CBs tributaries can use against their suzerain. Any CB on this list simply cannot be used
		free_tributary_cb
	}
	income_tribute_percentage = {		# how much of their monthly income the tributary must pay to their suzerain.
										# THIS IS ONLY EVALUATED WHEN THE TRIBUTARY RELATIONSHIP IS FORMED
										# and is not reevaluated afterwards
										# this value is an MTTH and should compute a value between 0 and 1, inclusive
										# in case the total is less than 0, it will be counted as 0
										# in case the total is more than 1, it will be counted as 1
										# current scope is the tributary, FROM is the suzerain
		value = 0.10
		additive_modifier = {
			value = 0.05
			FROM = {
				is_merchant_republic = yes
			}
		}
	}
	reinforce_tribute_percentage = {	# How much of the tributary's reinforcement rate will go to the suzerain's instead.
										# THIS IS ONLY EVALUATED WHEN THE TRIBUTARY RELATIONSHIP IS FORMED
										# and is not reevaluated afterwards
										# this value is an MTTH and should compute a value between 0 and 1, inclusive
										# in case the total is less than 0, it will be counted as 0
										# in case the total is more than 1, it will be counted as 1
										# current scope is the tributary, FROM is the suzerain

										# this is applied by substracting the percentage, as is, from the tributary's reinforcement rate
										# and adding a scaled (based on demesne size= version of the percentage to the suzerain
										# So, for example, the tributary loses 10% of reinforcement rate, but the suzerain gains 10% * (tributary's demesne size) / (suzerain's demesne size)
		value = 0.10
		additive_modifier = {
			value = 0.05
			FROM = {
				is_merchant_republic = yes
			}
		}
	}
	prestige_to_suzerain = {			# how much of prestige the suzerain gains every month per tributary (of that type) he holds
										# this value is an MTTH and the raw value will be added to the suzerain's prestige every month.
										# current scope is the suzerain, FROM is the tributary
		value = 0
	}
	prestige_to_tributary = {			# how much prestige the tributary gains every month
										# this value is an MTTH and the raw value will be added to the tributary's prestige every month.
										# to make them lose prestige, return a negative value
										# current scope is the tributary, FROM is the suzerain
		value = 0
	}
	piety_to_suzerain = {				# how much of piety the suzerain gains every month per tributary (of that type) he holds
										# this value is an MTTH and the raw value will be added to the suzerain's piety every month.
										# current scope is the suzerain, FROM is the tributary
		value = 0
	}
	piety_to_tributary = {				# how much of piety a tributary gains every month
										# this value is an MTTH and the raw value will be added to the tributary's piety every month.
										# to make them lose piety, return a negative value
										# current scope is the tributary, FROM is the suzerain
		value = 0
	}
	modifier = {						# what modifiers to apply to the tributary. Will use tributary_name as its name
		monthly_grace = 1
	}
}

########################################
# 旗標
########################################
<default>
用於附屬國類型的名稱

tributary_name = TRIBUTARY_DEFAULT_NAME
附屬國類型名稱的字串（需本地化）
類型：字串

tributary_plural = TRIBUTARY_DEFAULT_PLURAL
附屬國類型複數名稱的字串（需本地化）
類型：字串

suzerain_name = SUZERAIN_DEFAULT_NAME
附屬國的宗主國類型名稱的字串（需本地化）
類型：字串

tribute_name = TRIBUTARY_DEFAULT_TRIBUTE
用於 "paying $TRIBUTE$" 的附屬國類型的字串（需本地化）
類型：字串

breaks_at_suzerain_death
宗主國死亡時解散附屬關係
類型：布爾值

breaks_at_tributary_death
附屬國死亡時解散附屬關係
類型：布爾值

suzerain_can_be_called
宗主國可以呼叫他們的附屬國作為盟友參與戰爭
類型：布爾值

suzerain_must_defend
宗主國會被迫接受參與附屬國的防禦戰爭。拒絕時將會失去附屬國和在 SUZERAIN_DEFENDER_CALL_DECLINE_COST 定義的一定數量的威望
類型：布爾值

tributary_can_be_summoned
宗主國可以召集他們的附屬國作為部落封臣或盟友參與戰爭
類型：布爾值

tributary_must_defend
附屬國會被迫接受參與宗主國的防禦戰爭
類型：布爾值

tributaries_can_infight
相同類型的附屬國之間可以發生戰爭（不同類型的附屬國即使有相同的宗主國也總是可以發生戰爭）
類型：布爾值

suzerain_can_join_infighting
宗主國可以參與附屬國之間的戰爭
類型：布爾值

tributaries_can_unite = no
附屬國之間可以在宗主國（主要是發生叛亂時）聯合對抗宗主國。這類型的附屬國不會在宗主國與相同類型的附屬國發生戰爭時參與
類型：布爾值

breaks_on_realm_change
附屬國的勢力頭銜改變時解散附屬關係
類型：布爾值

icon
圖示。使用已經用於其他類型的索引將會破壞工具提示（參考：..\gfx\interface\province_diplostatus_icon_strip.dds）
類型：整數

cbs_against_suzerain
附屬國可用於對宗主國使用的開戰理由，不在此列表上的無法使用（參考：..\common\cb_types\*）
類型：開戰理由
例子：cbs_against_suzerain = { free_tributary_cb }

income_tribute_percentage
MTTH。附屬國向宗主國支付每月財富的多少。數值為0-1。目前範圍是附屬國，FROM是宗主國（在成立附屬關係後判斷並且不會重新判斷）
類型：百分比
例子：
income_tribute_percentage = {
	value = 0.10
	additive_modifier = {
		value = 0.05
		FROM = {
			is_merchant_republic = yes
		}
	}
}

reinforce_tribute_percentage
MTTH。附屬國向宗主國轉移扈從恢復速度的多少。數值為0-1。目前範圍是附屬國，FROM是宗主國
基於附屬國擁有領地大小比例為宗主國增加恢復速度
計算方式：假設轉移10%
10% * (附屬國的擁有領地大小/宗主國的擁有領地大小)
類型：百分比
例子：
reinforce_tribute_percentage = {
	value = 0.10
	additive_modifier = {
		value = 0.05
		FROM = {
			is_merchant_republic = yes
		}
	}
}

prestige_to_suzerain
MTTH。宗主國擁有這類型的附屬國的每月威望變化。目前範圍是宗主國，FROM是附屬國
類型：浮點數
例子：prestige_to_suzerain = { value = 0 }

prestige_to_tributary
MTTH。附屬國的每月威望變化。目前範圍是附屬國，FROM是宗主國
類型：浮點數
例子：prestige_to_tributary = { value = 0 }

piety_to_suzerain
MTTH。宗主國擁有這類型的附屬國的每月虔誠變化。目前範圍是宗主國，FROM是附屬國
類型：浮點數
例子：piety_to_suzerain = { value = 0 }

piety_to_tributary
MTTH。附屬國的每月虔誠變化。目前範圍是附屬國，FROM是宗主國
類型：浮點數
例子：piety_to_tributary = { value = 0 }

modifier
用於附屬國的修飾語（將會使用 tributary_name 作為它的名字）
類型：修飾語
例子：modifier = { monthly_grace = 1 }
