Artifacts are part of free patch 2.7 and don't actually require Monks and Mystics 扩展包(虽然大多数原版神器都包含在扩展包里)。
它们允许经典角色扮演游戏中宝藏(藏匿)和可装备槽位(背包)的概念。
| Variable | Type | Description | Example |
|---|---|---|---|
| quality | int | quality = 2
| |
| flags | List<string> | Flags that can be checked with has_artifact_flag condition.
|
flags = { chest hermetics very_rare }
|
| active | Character conditions | 神器被角色使用的条件。参见 is_artifact_active condition.
|
active = {
is_adult = yes
}
|
| allowed_gift | Character conditions | Conditions for the trigger artifact_can_be_gifted_to.
| |
| stacking | bool | 如果没有,个人只能拥有一份这件神器的副本。默认是“是”。 | stacking = no
|
| indestructible | bool | Whether destroy_artifact has any affect. Defaults to "no".
|
indestructible = yes
|
| picture | gfx | Defines the gfx name, typically GFX_<artifact_name>
2 images are needed:
|
picture = "GFX_strange_chest"
|
| <modifier> | Character modifiers | Modifiers given by the artifact when it is equipped. |
martial = 2 monthly_character_piety = -2 tech_growth_modifier = 0.05 combat_rating = 2 |
| slot | string | 配套槽位用于装备神器。新的槽位可以动态添加。 | slot = crown
|
Localization:
Pictures:
模组示例: C:\用户\你的用户名\文档\Paradox Interactive\Crusader《国王II》\mod\《权力的游戏》\gfx\interface\inventory\artifacts
神器可以装备或卸下。装备的神器数量受动态“槽位”限制:
slots = {
weapon = 1
ceremonial_weapon = 1
scepter = 1
crown = 1
wrist = 1
neck = 1
torso = 1
library = 4
}
决定游戏开始时神器的生成。
| Variable | Type | Description | Example |
|---|---|---|---|
| max_amount | int | 我们发放多少神器?违约金额为4,294,967,295 | max_amount = 1
|
| spawn_date | date | 它应该宣称创建日期为何?请注意,这可能是未来;生成概率应该在spawn_chance处理。如果使用1.1.1或之前的日期,则会显示“未知日期”。 | spawn_date = -1.1.1
|
| spawn_chance | MTTH | 决定遗物生成是否执行。范围是0-100。默认行为是总是刷新。 | # 50% chance to execute an artifact spawn
spawn_chance = {
value = 50
}
|
| weight | MTTH | 角色范围,评估潜在的神器持有者分数,然后用来随机分配获得神器的玩家。默认行为是让每个人都有同样的机会。 |
# Only christians have a chance of getting an artifact
weight = {
value = 0
additive_modifier = {
value = 100
religion_group = christian
}
}
|
| artifacts | clause | List of keys and MTTH for which artifact is spawned. | # 50% chance that the person will get a golden_platypus
artifacts ={
golden_platypus = {
value = 1
}
crystal_platypus = {
value = 1
}
}
|
Here is the equivalence to replace traits into artifacts:
| Behavior | Trait | Artifact |
|---|---|---|
| Possession | has_trait = xxx | has_artifact = xxx |
| Creation | add_trait = xxx | add_artifact = xxx |
| Destruction | remove_trait = xxx | destroy_artifact = xxx |
| Transfer |
FROM = {
remove_trait = xxx
}
ROOT = {
add_trait = xxx
}
|
random_artifact = {
artifact_type = xxx
transfer_artifact = {
from = FROM
to = ROOT
}
}
|
| Uniqueness | xxx = { cached = yes } trait, and xxx = { always = yes }
|
? |
| 历史 | 角色 • 家族 • 省份 • 头衔 • 剧本 |
| 脚本 | 指令 • 条件 • 作用域 • 修正 • 事件 • 决议 |
| 常规 | 定义 • 游戏规则 • 另类开局 • 宗教 • 文化 • 政体 • 特质 • 血脉 • 科技 • 法律 • 建筑 • 宣战理由 • 朝贡国 • 单位 • 目标 • 疾病 • 死亡 • 荣誉头衔 • 社团 • 宝物 • 地图外政权 • 内阁成员 • 贸易路线 • 继承 • 奇观 • 称号 |
| 图像/音效/本地化 | 地图 • 图形 • 盾徽 • 肖像 • 界面 • 小地图 • 音乐 • 本地化 |
| 其他 | 故障排除 • 验证器 • 控制台指令 • 编辑游戏存档 • Steam创意工坊 • EU4转档器模组制作 |
ArtifactsConditionsEU4转档器模组制作MTTHModifiersMonks and MysticsPatch 2.7Steam创意工坊事件模组制作作用域修正内阁成员模组制作决议模组制作剧本模组制作单位模组制作历史模组制作另类开局模组制作图形模组制作地图外政权模组制作地图模组制作头衔模组制作奇观模组制作宗教模组制作定义宣战理由模组制作家族模组制作小地图模组制作建筑模组制作指令控制台指令政体模组制作故障排除文化模组制作朝贡国类型模组制作本地化条件模组制作死亡模组制作法律模组制作游戏规则模组制作特质模组制作界面模组制作疾病模组制作目标模组制作盾徽模组制作省份模组制作社团模组制作科技模组制作称号模组制作继承模组制作编辑游戏存档肖像模组制作脚本荣誉头衔模组制作血脉模组制作角色模组制作贸易路线模组制作音乐模组制作验证器