Difference between revisions of "Template:GameDataStockParts"

From /tg/station 13 Wiki
Jump to navigation Jump to search
m (Fix example and add new one.)
m (Add links and some misc text.)
 
Line 81: Line 81:
  
 
=Description=
 
=Description=
This template is meant to contain the current general rating and energy rating of [[Stock Parts]], found here: https://github.com/tgstation/tgstation/blob/master/code/modules/research/stock_parts.dm <br>It's mostly meant for the [[Guide to robotics]] wiki page.
+
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.
  
More about <code>#explode</code>: https://www.mediawiki.org/wiki/Extension:StringFunctions##replace
+
Read more about <code>#explode</code> function: http://mediawiki.org/wiki/Extension:StringFunctions##explode
 
=Example=
 
=Example=
Example using formula for getting a:
+
Example using formula for getting:
 
* [[Scanning Module]] Tier 2 energy rating: '''{{#explode:{{#explode:{{GameDataStockParts}}|;|0}}|, |2}}'''
 
* [[Scanning Module]] Tier 2 energy rating: '''{{#explode:{{#explode:{{GameDataStockParts}}|;|0}}|, |2}}'''
 
* [[Power cell]] Tier 2 energy capacity: '''{{#explode:{{#explode:{{GameDataStockParts}}|;|1}}|, |3}}'''</noinclude>
 
* [[Power cell]] Tier 2 energy capacity: '''{{#explode:{{#explode:{{GameDataStockParts}}|;|1}}|, |3}}'''</noinclude>

Latest revision as of 12:01, 6 April 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 Standard Power Cell (1 kW) High-Capacity Power Cell (10 kW) Super-Capacity Power Cell (20 kW) Hyper-Capacity Power Cell (30 kW) Bluespace Power Cell (40 kW)
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: