(merge from offical wiki) |
小 (文本替换 - 替换“Category:Templates”为“Category:模板”) |
||
第102行: | 第102行: | ||
| #default = <span style="color: red; font-size: 11px;">(unrecognized string "{{{2}}}" for [[Template:Reward]])</span>[[Category:Pages with unrecognized reward strings]] | | #default = <span style="color: red; font-size: 11px;">(unrecognized string "{{{2}}}" for [[Template:Reward]])</span>[[Category:Pages with unrecognized reward strings]] | ||
}}<!-- end value section -->}})</includeonly><noinclude>{{template doc}}[[Category: | }}<!-- end value section -->}})</includeonly><noinclude>{{template doc}}[[Category: 模板]]</noinclude> |
2022年3月7日 (一) 18:01的版本
The template can be used in cases where resource rewards are being given using namespace parameters (as in events and similar cases) - these parameters (and their associated values) stay consistent across the files.
Parameters
Note: Make sure to use the right parameter 2 (multiplier/amount) on
Usage
Format: {{reward|Resource_Type|Resource_Amount}}
- Examples
The following will produce the below results (in the listed order):
* {{reward|enc|mat3}} * {{reward|uni|mat1}} * {{reward|uni|uni1}} * {{reward|phy|res2}} * {{reward|res|res4}} * {{reward|uni|uni9}} * {{reward|inf|inf1}} * {{reward|inf|con12}} * {{reward|art|art1}} * {{reward|art|art2}}
- Gain
18x Energy output (potential yield gain of 250 ~ 1500)
- Gain
6x Unity output (potential yield gain of 100 ~ 500)
- Gain
6x Unity output (potential yield gain of 100 ~ 500)
- Gain
18x Physics output (potential yield gain of 350 ~ 10000)
- Gain
48x Research output (each potential yield gain of 1000 ~ 10000)
- Gain
120x Unity output (potential yield gain of 240 ~ 9999)
- Gain
6x Influence output (potential yield gain of 40 ~ 100)
- Gain
9x Influence output (potential yield gain of 30 ~ 120)
- Gain
1x Minor artifact output (potential yield gain of 1 ~ 5)
- Gain
1x Minor artifact output (potential yield gain of 6 ~ 10)
References
- To update template values see reference files in folder Stellaris/common:
- For event rewards see reference file Stellaris/common/scripted_variables/00_scripted_variables.txt (appears under ### EVENT REWARDS).