Шаблон:GameDataStockParts: различия между версиями
imported>Gesugao-san (Create template as shortcut to game data about Stock Parts and Power cells.) |
imported>Gesugao-san м (Add links and some misc text.) |
||
(не показана 1 промежуточная версия этого же участника) | |||
Строка 81: | Строка 81: | ||
=Description= | =Description= | ||
This template is meant to contain the current | This template is meant to contain the current tier rating, energy rating and [[power]] capacity of [[Stock Parts]] and [[Power cell|Power cells]], found here: http://github.com/tgstation/tgstation/blob/master/code/modules/research/stock_parts.dm#L258 <br> | ||
It's mostly meant for the [[Guide to robotics]] wiki page. | |||
Read more about <code>#explode</code> function: http://mediawiki.org/wiki/Extension:StringFunctions##explode | |||
=Example= | =Example= | ||
Example using formula for getting | Example using formula for getting: | ||
* [[Scanning Module]] Tier 2 energy rating: '''{{#explode:{{#explode:{{GameDataStockParts}}|;|0}}|, |2}}''' | |||
* [[Power cell]] Tier 2 energy capacity: '''{{#explode:{{#explode:{{GameDataStockParts}}|;|1}}|, |3}}'''</noinclude> |
Текущая версия от 12:01, 6 апреля 2023
0, 1, 3, 5, 10; 0, 1, 10, 20, 30, 40
Data table
Capacitor | None | ||||
---|---|---|---|---|---|
Scanning Module | None | ||||
Manipulator | None | ||||
Micro-laser | None | ||||
Matter bin | None | ||||
Tier: | 0 | 1 | 2 | 3 | 4 |
Energy rating: | 0 | 1 | 3 | 5 | 10 |
Power cell | None | |||||
---|---|---|---|---|---|---|
Tier: | 0 | 0 | 1 | 2 | 3 | 4 |
Power capacity(in kW): | 0 | 1 | 10 | 20 | 30 | 40 |
Description
This template is meant to contain the current tier rating, energy rating and power capacity of Stock Parts and Power cells, found here: http://github.com/tgstation/tgstation/blob/master/code/modules/research/stock_parts.dm#L258
It's mostly meant for the Guide to robotics wiki page.
Read more about #explode
function: http://mediawiki.org/wiki/Extension:StringFunctions##explode
Example
Example using formula for getting:
- Scanning Module Tier 2 energy rating: {{#explode:{{#explode:0, 1, 3, 5, 10; 0, 1, 10, 20, 30, 40|;|0}}|, |2}}
- Power cell Tier 2 energy capacity: {{#explode:{{#explode:0, 1, 3, 5, 10; 0, 1, 10, 20, 30, 40|;|1}}|, |3}}