(merge from offical wiki) |
m (文本替换 - 替换“{{template doc page viewed directly}}</noinclude>”为“{{template doc page viewed directly}}</noinclude>[[en:{{FULLPAGENAME}}]]”) |
||
| Line 1: | Line 1: | ||
<includeonly>{{template doc page transcluded}}</includeonly><noinclude>{{template doc page viewed directly}}</noinclude> | <includeonly>{{template doc page transcluded}}</includeonly><noinclude>{{template doc page viewed directly}}</noinclude>[[en:{{FULLPAGENAME}}]] | ||
<!-- EDIT TEMPLATE DOCUMENTATION BELOW THIS LINE --> | <!-- EDIT TEMPLATE DOCUMENTATION BELOW THIS LINE --> | ||
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. | 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. | ||
Latest revision as of 21:06, 8 March 2022
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[edit source]
Note: Make sure to use the right parameter 2 (multiplier/amount) on
Usage[edit source]
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}}
- 获得:
18x 能量币产出(潜在的产量 250 ~ 1500) - 获得:
6x 凝聚力产出(潜在的产量 100 ~ 500) - 获得:
6x 凝聚力产出(潜在的产量 100 ~ 500) - 获得:
18x 物理学研究产出(潜在的产量 350 ~ 10000) - 获得:
48x 研究产出( 每种 潜在的产量 1000 ~ 10000) - 获得:
120x 凝聚力产出(潜在的产量 240 ~ 9999) - 获得:
6x 影响力产出(潜在的产量 40 ~ 100) - 获得:
9x 影响力产出(潜在的产量 30 ~ 120) - 获得:
1x 稀有文物产出(潜在的产量 1 ~ 5) - 获得:
1x 稀有文物产出(潜在的产量 6 ~ 10)
References[edit source]
- 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).