无编辑摘要 |
无编辑摘要 |
||
第11行: | 第11行: | ||
| tribal = {{#expr: 75 + 25 * ({{{3|0}}}-1) }} | | tribal = {{#expr: 75 + 25 * ({{{3|0}}}-1) }} | ||
| #default = <span style="color: red; font-size: 11px;">(unrecognized string “{{{1}}}” for [[Template:Building cost]])</span>[[Category:页面有未识别的建筑花费字符串]] | | #default = <span style="color: red; font-size: 11px;">(unrecognized string “{{{1}}}” for [[Template:Building cost]])</span>[[Category:页面有未识别的建筑花费字符串]] | ||
}} {{#switch:{{{ | }} {{#switch:{{{1}}} | ||
| gold = 金钱 | | gold = 金钱 | ||
| prestige = 威望 | | prestige = 威望 |
2022年9月7日 (三) 10:49的版本
此模板用于在CK3维基中规范化生成建筑的金钱花费,从而更容易在游戏更新时编辑它们的格式和数值[1]。
参数
- 1
- 第一个参数是花费的资源类型。没有默认值,目前支持:gold,prestige,piety。
- 2
- 第二个参数是建筑花费的等级或者具体数值。没有默认值,总是必须输入。花费等级目前支持以下数值:
- cheap
- normal
- expensive
- main
- tribal
- 3
- 如果第二个参数为建筑花费的等级,则第三个参数是建筑的等级。目前,仅支持1至8的数值。注意,游戏内 main 和 tribal 对应的最高等级只有5级和2级。
- 如果第二个参数为具体数值,无此参数。
用法
- 语法:
{{building cost|cheap|4}}
或者{{building cost|400|prestige}}
替换上面的语法中的相应修正参数。
- 举例:
{{building cost|gold|cheap|4}}
将生成
250 金钱
- 举例:
{{building cost|prestige|cheap|4}}
将生成
250 威望
- 举例:
{{building cost|prestige|399}}
将生成
(unrecognized string “prestige” for Template:Building cost) 威望
建筑花费列表
等级 | cheap | normal | expensive | main | tribal |
---|---|---|---|---|---|
1 | 100 金钱 | 150 金钱 | 200 金钱 | 400 金钱 | 75 金钱 |
2 | 150 金钱 | 225 金钱 | 300 金钱 | 550 金钱 | 100 金钱 |
3 | 200 金钱 | 300 金钱 | 400 金钱 | 700 金钱 | - |
4 | 250 金钱 | 375 金钱 | 500 金钱 | 850 金钱 | - |
5 | 300 金钱 | 450 金钱 | 600 金钱 | 1000 金钱 | - |
6 | 350 金钱 | 525 金钱 | 700 金钱 | - | - |
7 | 400 金钱 | 600 金钱 | 800 金钱 | - | - |
8 | 450 金钱 | 675 金钱 | 900 金钱 | - | - |
其他建筑模板
参考资料
- ↑ 基础数值与每级的增长数值见
Crusader Kings III\game\common\script_values\00_building_values.txt
中的Building Cost部分