Difference between revisions of "Template:Ticks/doc"

From RimWorld Wiki
Jump to navigation Jump to search
(Added category (moved from template).)
Line 16: Line 16:
  
 
===== Example 2 =====
 
===== Example 2 =====
<pre>There are {{ticks|1250}} in one game hour, so one game day consists of {{ticks|30000}}. Figures specified in seconds assume the game is being played at normal speed.</pre>
+
<pre>There are {{ticks|2500}} in one game hour, so one game day consists of {{ticks|60000}}. Figures specified in seconds assume the game is being played at normal speed.</pre>
There are {{ticks|1250}} in one game hour, so one game day consists of {{ticks|30000}}. Figures specified in seconds assume the game is being played at normal speed.
+
There are {{ticks|2500}} in one game hour, so one game day consists of {{ticks|60000}}. Figures specified in seconds assume the game is being played at normal speed.
  
 
<includeonly>[[Category:Templates]]</includeonly>
 
<includeonly>[[Category:Templates]]</includeonly>

Revision as of 04:43, 29 December 2017

Converts ticks to seconds, so you don't have to!

Usage

  • Specify the time in ticks
  • Time in seconds is automatically calculated and added after the time in ticks.
{{ticks|time in ticks}}

Examples

Example 1
The Great Bow has a cooldown period of {{ticks|255}}, making it rather slow for a ranged weapon.

The Great Bow has a cooldown period of 255 ticks (4.25 secs), making it rather slow for a ranged weapon.

Example 2
There are {{ticks|2500}} in one game hour, so one game day consists of {{ticks|60000}}. Figures specified in seconds assume the game is being played at normal speed.

There are 2,500 ticks (41.67 secs) in one game hour, so one game day consists of 60,000 ticks (16.67 mins). Figures specified in seconds assume the game is being played at normal speed.