(创建页面,内容为“{{version|3.2}} Nicknames are epithets defined in files in the <code>common/nicknames</code> folder. Any nickname defined in one of these files can be added us…”) |
小 (文本替换 - 替换“Category:Modding”为“Category:模组制作”) |
||
第36行: | 第36行: | ||
Nicknames take their localization from a key with the same name as the nickname. For example, the nickname <code>nick_the_swift</code> would look for the localization key also called <code>nick_the_swift</code>. Nicknames typically begin with <code>nick_</code>, but this is not enforced. For nicknames which use localization commands, those commands are only evaluated when the nickname is handed out - a nickname will not change after it's been obtained. | Nicknames take their localization from a key with the same name as the nickname. For example, the nickname <code>nick_the_swift</code> would look for the localization key also called <code>nick_the_swift</code>. Nicknames typically begin with <code>nick_</code>, but this is not enforced. For nicknames which use localization commands, those commands are only evaluated when the nickname is handed out - a nickname will not change after it's been obtained. | ||
[[Category: | [[Category: 模组制作]] | ||
{{ModdingNavbox}} | {{ModdingNavbox}} |
2020年5月24日 (日) 02:45的版本
Nicknames are epithets defined in files in the common/nicknames
folder.
Any nickname defined in one of these files can be added using the give_nickname
command. They can also be granted at random based on conditions defined on the nicknames.
Definition
Name | Type | Description | Example |
---|---|---|---|
allow
|
Conditions | Optional. The conditions a character must fulfill to be eligible to receive the nickname randomly. If missing, nickname can only be obtained with the give_nickname command.
|
allow = { age = 16 } |
chance
|
MTTH | Optional. The odds of an eligible character receiving the given nickname (presumably in percent per year). If missing, nickname can only be obtained with the give_nickname command.
|
chance = { factor = 5 modifier = { factor = 2 stewardship >= 8 } } |
Localisation
Nicknames take their localization from a key with the same name as the nickname. For example, the nickname nick_the_swift
would look for the localization key also called nick_the_swift
. Nicknames typically begin with nick_
, but this is not enforced. For nicknames which use localization commands, those commands are only evaluated when the nickname is handed out - a nickname will not change after it's been obtained.
模组制作
历史 | 角色 • 家族 • 省份 • 头衔 • 剧本 |
脚本 | 指令 • 条件 • 作用域 • 修正 • 事件 • 决议 |
常规 | 定义 • 游戏规则 • 另类开局 • 宗教 • 文化 • 政体 • 特质 • 血脉 • 科技 • 法律 • 建筑 • 宣战理由 • 朝贡国 • 单位 • 目标 • 疾病 • 死亡 • 荣誉头衔 • 社团 • 宝物 • 地图外政权 • 内阁成员 • 贸易路线 • 继承 • 奇观 • 称号 |
图像/音效/本地化 | 地图 • 图形 • 盾徽 • 肖像 • 界面 • 小地图 • 音乐 • 本地化 |
其他 | 故障排除 • 验证器 • 控制台指令 • 编辑游戏存档 • Steam创意工坊 • EU4转档器模组制作 |