王国风云2
ParaWikis
最新百科
都市天际线2百科
英雄无敌3百科
维多利亚3百科
奇妙探险队2百科
罪恶帝国百科
英白拉多:罗马百科
热门百科
群星百科
欧陆风云4百科
十字军之王2百科
十字军之王3百科
钢铁雄心4百科
维多利亚2百科
ParaWikis
申请建站
ParaWikis
ParaCommons
最近更改
随机页面
加入QQ群
工具
链入页面
相关更改
特殊页面
页面信息
页面值
帮助
译名手册
字词转换
编辑指南
编辑规范
练手沙盒
资助我们
ParaTranz
资助我们
×
欢迎访问王国风云2百科!
注册一个账号
,一起参与编写吧!这里是
当前的工程
。
全站已采用新UI,任何使用上的问题请点击
这里
。欢迎所有对百科感兴趣的同学加入QQ群:
497888338
。
阅读
查看源代码
查看历史
讨论
查看“朝贡国类型模组制作”的源代码
←
朝贡国类型模组制作
因为以下原因,您没有权限编辑本页:
您请求的操作仅限属于该用户组的用户执行:
用户
您可以查看和复制此页面的源代码。
{{version|2.8}} ==Definition== Each tributary type must be defined in a file in <code>/common/tributary_types/</code>. A tributary type named "default" should always exist. If not, the game should automatically create one. Calling a tributary type "none" is an error. If Horse Lords is enabled, all different-culture characters of nomads become tributaries with the "nomadic" tributary type - this is hardcoded. (The docs don't specify what happens when no "nomadic" tributary type exists, so one should probably always exist.) The following data should be defined for each tributary type (though all of it is optional and can be left out) {|class="wikitable sortable" !Variable !Type !Description !Default |- |tributary_name |string |Localization string used for tributaries of this type when referring to just one (eg. "Tributary", "Imperial Tributary") | |- |tributary_plural |string |Localization string used for tributaries of that type when referring to multiple (eg. "Tributaries", "Imperial Tributaries") | |- |suzerain_name |string |Localization used for suzerain of the tributary type (eg. "Suzerain", "Imperial Suzerain") | |- |tribute_name |string |Localization string used for whatever is paid (paying $TRIBUTE$, eg. "paying tribute") for this tributary type |(unknown) |- |breaks_at_suzerain_death |bool |If yes, the tributary relationship breaks when the suzerain dies. If no, it persists. |yes |- |breaks_at_tributary_death |bool |If yes, the tributary relationship breaks when the tributary dies. If no, it persists. |no |- |tributary_can_be_summoned |bool |If yes, the suzerain can call their tributaries to war. The tributary might be able to decline, depending on <code>tributary_must_defend</code>. |yes |- |tributary_must_defend |bool |If yes, the tributary can't reject a defensive call to arms from the suzerain. If no, the tributary can reject calls to arms from their suzerain. |yes |- |suzerain_can_be_called |bool |If yes, tributaries can call their suzerain to arms, even if they aren't otherwise allied. The suzerain mgiht be able to decline, depending on <code>suzerain_must_defend</code> |yes |- |suzerain_must_defend |bool |If yes, the suzerain can't reject a defensive call to arms from the tributary. If no, the suzerain can reject calls to arms from their tributaries. |no |- |tributaries_can_infight |bool |Tributaries of the same type with the same suzerain will not be able to declare war on eachothers if this is set to no. If it is set to yes, they can. Tributaries of different types will always be able to declare war on eachothers, as will tributaries with different suzerains. |yes |- |suzerain_can_join_infighting |bool |If yes, the suzerain can join one tributary in their war against another of the same type. |yes |- |tributaries_can_unite |bool |If yes, when trying to break free, tributaries will be able to band together against their suzerain. They also will never help their suzerain in wars against another tributary of the same type. |(unknown) |- |breaks_on_realm_change |bool |If yes, the tributary relationship ends when the tributary's titles change realms |no |- |icon |integer |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 - this includes leaving it blank. |(whichever is used to mean "at war", likely 1 or 0) |- |cbs_against_suzerain |list (of CBs) |The tributary will not be able to use any CBs not in the list against their suzerain. |{} |- |income_tribute_percentage |MTTH |Percentage of monthly income paid by the tributary to the suzerain. Only evaluated when relationship is formed, can't be changed afterwards. Should evaluate to between 0 and 1, will be clamped to between those values if not. ROOT is tributary, FROM is suzerain. |{ value = 1 } |- |reinforce_tribute_percentage |MTTH |Percentage of troop reinforcements given by the tributary to the suzerain. Only evaluated when relationship is formed, can't be changed afterwards. Should evaluate to between 0 and 1, will be clamped to between those values if not. ROOT is tributary, FROM is suzerain. Is applied as is to the tributary's reinforcement rate (eg. 0.1 means tributary's reinforcements reduced by 10%) and in a scaled manner to the suzerain's (eg. 0.1 means suzerain's reinforcements increased by (10% * tributary's demesne size / suzerain's demesne size) |{ value = 1 } |- |prestige_to_suzerain |MTTH |How much prestige the suzerain gains (or loses) per month by having the tributary. |{ value = 0 } |- |prestige_to_tributary |MTTH |How much prestige the tributary gains (or loses) per month by being a tributary. |{ value = 0 } |- |piety_to_suzerain |MTTH |How much piety the suzerain gains (or loses) per month by having the tributary. |{ value = 0 } |- |piety_to_tributary |MTTH |How much piety the tributary gains (or loses) per month by being a tributary. |{ value = 0 } |- |modifier |modifier |A character modifier applied to the tributary. Uses <code>tributary_name</code> as the name of the modifier. |(no modifier) |} [[Category:模组制作]] {{ModdingNavbox}} [[en:Tributary type modding]]
本页使用的模板:
Template:Clear
(
查看源代码
)
Template:ModdingNavbox
(
查看源代码
)
Template:Navbox
(
查看源代码
)
Template:Navboxgroup
(
查看源代码
)
Template:Version
(
查看源代码
)
返回
朝贡国类型模组制作
。
×
登录
密码
记住登录
加入王国风云2百科
忘记密码?
其他方式登录