文档结构
"./Documents/Paradox Interactive/Hearts of Iron IV"
├─mod
│ ├─new-mod
│ │ ├─common
│ │ ├─gfx
│ │ ├─interface
│ │ ├─localisation
│ │ │ └─simp_chinese
│ │ └─map
│ └─new-mod.mod
├─save games
└─dlc_load.json
new-mod.mod
name: 名称,随意
tags:mod 类型,随意
supported_version:支持的版本
path:mod 文件夹的路径
name="new-mod"
tags={
"Gameplay"
}
supported_version="1.15.*"
path="./Documents/Paradox Interactive/Hearts of Iron IV/mod/new-mod"
dlc_load.json
在 enabled_mods 中添加 .mod 文件的相对位置
{
"disabled_dlcs": [],
"enabled_mods": [
"mod/new-mod.mod"
]
}
decisions
./mod/new-mod/common/decisions/new-decision.txt
xxx_decisions={
new_decision = {
priority = 8888
icon = generic_operation
available = { always = yes }
visible = { always = yes }
ai_will_do = { factor = 0 }
fire_only_once = no
cost = 0
complete_effect = {
}
}
}
本地化
./mod/new-mod/localisation/simp_chinese/new-mod_l_simp_chinese.yml
l_simp_chinese:
########################################
# 引用 $引用内容$
# 颜色 §颜色代码(RYBG...)颜色内容§!
# 图标 £图标名称
########################################
xxx_decisions:"决议目录"
new_decision:"决议名称"
new_decision_desc:"决议名称描述"