Шаблон: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> |
Текущая версия от 15:01, 6 апреля 2023
0, 1, 3, 5, 10; 0, 1, 10, 20, 30, 40
Data table[править код]
Capacitor | None | Capacitor | Advanced Capacitor | Super Capacitor | Quadratic Capacitor |
---|---|---|---|---|---|
Scanning Module | None | Scanning Module | Advanced Scanning Module | Phasic Scanning Module | Triphasic Scanning Module |
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}}