王国风云2
ParaWikis
最新百科
都市天际线2百科
英雄无敌3百科
维多利亚3百科
奇妙探险队2百科
罪恶帝国百科
英白拉多:罗马百科
热门百科
群星百科
欧陆风云4百科
十字军之王2百科
十字军之王3百科
钢铁雄心4百科
维多利亚2百科
ParaWikis
申请建站
ParaWikis
ParaCommons
最近更改
随机页面
加入QQ群
工具
链入页面
相关更改
特殊页面
页面信息
页面值
帮助
译名手册
字词转换
编辑指南
编辑规范
练手沙盒
资助我们
ParaTranz
资助我们
×
欢迎访问王国风云2百科!
注册一个账号
,一起参与编写吧!这里是
当前的工程
。
全站已采用新UI,任何使用上的问题请点击
这里
。欢迎所有对百科感兴趣的同学加入QQ群:
497888338
。
阅读
查看源代码
查看历史
讨论
查看“血脉模组制作”的源代码
←
血脉模组制作
因为以下原因,您没有权限编辑本页:
您请求的操作仅限属于该用户组的用户执行:
用户
您可以查看和复制此页面的源代码。
{{version|3.0}} [[Bloodline]]s are [[modifiers]] that can be inherited through characters. ==Definition== Bloodline types are defined in folder <code>common/bloodlines</code>: {| class="wikitable sortable" |- !Name !Type !Description !Example |- | inheritance | all_descendants/matrilineal/patrilineal/no_inheritance | Optional. Sets the inheritance rules for the bloodline type. Defaults to all_descendants. | <code>inheritance = all_descendants</code> |- | matrilineal_override | bool | Optional. If set, in matrilineal marriages or when there's no known father, the mother will be able to pass on the bloodline even if it is patrilineal, and the father will be able to pass on the bloodline even if it is matrilineal. Defaults to "yes"; set to "no" to disable. | <code>matrilineal_override = yes</code> |- | allow_bastards | bool | Optional. Sets the bastard rules for the bloodline type. Defaults to no. | <code>allow_bastards = no</code> |- | flags | List | Optional. Sets default flags for bloodlines created of this type. | |- | command_modifier | List<[[Modifiers#Command modifiers|Command modifier]]> | Optional. Defines command modifiers that should affect all members of the bloodline. | |- | <modifiers> | [[Modifiers]] | Optional. Defines character modifiers that should affect all members of the bloodline. | |- | picture | gfx | Optional. What picture to use for the bloodline in the bloodline window. If not defined, <code>GFX_bloodlines_placeholder_symbol</code> will be used. |<code>gfx = GFX_something_or_other</code> |- | active | [[Conditions]] | What's required of the bloodline holder in order to get the effect. If not defined, they'll always get the effect. ROOT is the holder. FROM is the bloodline. |- |} ==Bloodline founder== Bloodlines are attached via history command <code>create_bloodline</code> on the founder of the bloodline: <pre> <date> ={ create_bloodline = { type = <bloodline_type> } } </pre> To be cascaded correctly, bloodlines require history of dynasties to be flawless: * To inherit an <code>inheritance = patrilineal</code> through the mother, marriage has to be set as matrimonial in character history, if applicable. ==Bloodline features== Special features can be scripted for a given bloodline type: * Add a [[custom modifier]] to associate a localization key to describe the feature. For instance <code>bloodline_effect_always_viking = 1</code> with localization <code>bloodline_effect_always_viking;Raiding can give the §GViking Traits§!;</code> * Add a bloodline flag that corresponds to the feature: <code>flags = { bloodline_viking }</code> * Check the flag in event trigger or effects, to achieve the desired feature: <code>any_owned_bloodline = { has_bloodline_flag = bloodline_viking }</code> ==References== <references/> [[Category:Modding]] {{ModdingNavbox}}
本页使用的模板:
Template:Clear
(
查看源代码
)
Template:ModdingNavbox
(
查看源代码
)
Template:Navbox
(
查看源代码
)
Template:Navboxgroup
(
查看源代码
)
Template:Version
(
查看源代码
)
返回
血脉模组制作
。
×
登录
密码
记住登录
加入王国风云2百科
忘记密码?
其他方式登录