Template:Greg-API/Time/doc

Used for crafting grids. It is used to decide whether to display the time taken in ticks, seconds, or minutes, depending upon the length of the operation. You will never need to use this unless you are creating a crafting grid for GregTech 6.

Parameters

 * 1: Time in ticks.
 * 2: Time in seconds.

Output
This template defines variables using the Variable extension so they can be used by the calling crafting grid.
 * Ticks: Time in ticks. This is used for later calculations such as total energy consumed per operation.
 * Time: Time in preferred unit.
 * TimeUnit: The preferred unit of time.