In other languages: Deutsch Français 日本語 Русский 简体中文

Game-day: Difference between revisions

From Official Factorio Wiki
Jump to navigation Jump to search
No edit summary
(Updated the times of the phases based on experimental results using a mod that prints the number of ticks when a change of phase occurs.)
Line 1: Line 1:
{{Languages}}
{{Languages}}
A [[Game-day|day]] has 25000 [[Game-tick]]s or 416.66 [[Game-second]]s (= 6.94 Game-minutes).
A [[Game-day|day]] lasts 24966 [[Game-tick]]s or 416.1 [[Game-second]]s.


This is the cycle (relatively speaking)
The light varies throughout the day varies in a cycle consisting of 4 phases:
{| class="wikitable"
! Phase !! Behaviour !! Time of day at start !! Time of day at end !! Duration (in ticks) || Duration (in seconds)
|-
|day ||fully light ||0.75 ||0.25 ||12482 ||208.0333
|-
|dusk ||darkening ||0.25 ||0.42 ||4245 ||70.75
|-
|night ||fully dark ||0.42 ||0.58 ||3994 ||66.567
|-
|dawn ||lightening ||0.58 ||0.75 ||4245 ||70.75
|}


0.75 -> 0.25 (half a day), 100% bright          - 208.33 secs
  ------------- day -------><---- dusk ----><---- night ----><---- dawn ----><-------- day ------------
0.25 -> 0.45 getting dark (evening)            - 83.33 secs
0.45 -> 0.55 night                              - 41.66 secs
0.55 -> 0.75 get light (morning)                - 83.33 secs
 
 
  ------------- day -------><--- evening ------><-night-><----- morning -----><-------- day -----------
    
    
  % 0    5    10  15  20  25  30  35  40  45  50  55  60  65  70  75  80  85  90  95  100
  % 0    5    10  15  20  25  30  35  40  45  50  55  60  65  70  75  80  85  90  95  100
   |----|----|----|----|----|----|----|----|----|----|----|----|----|----|----|----|----|----|----|----|
   |----|----|----|----|----|----|----|----|----|----|----|----|----|----|----|----|----|----|----|----|
During dusk, the light level decreases linearly from fully light to fully dark. During dawn, it increases linearly from dark to light.
Note: The actual time between phases can vary +/- a tick due to rounding errors.
These values are accurate as of version 0.11.8.


== See also ==
== See also ==

Revision as of 23:02, 27 December 2014

A day lasts 24966 Game-ticks or 416.1 Game-seconds.

The light varies throughout the day varies in a cycle consisting of 4 phases:

Phase Behaviour Time of day at start Time of day at end Duration (in ticks) Duration (in seconds)
day fully light 0.75 0.25 12482 208.0333
dusk darkening 0.25 0.42 4245 70.75
night fully dark 0.42 0.58 3994 66.567
dawn lightening 0.58 0.75 4245 70.75
  ------------- day -------><---- dusk ----><---- night ----><---- dawn ----><-------- day ------------
  
% 0    5    10   15   20   25   30   35   40   45   50   55   60   65   70   75   80   85   90   95  100
  |----|----|----|----|----|----|----|----|----|----|----|----|----|----|----|----|----|----|----|----|

During dusk, the light level decreases linearly from fully light to fully dark. During dawn, it increases linearly from dark to light.

Note: The actual time between phases can vary +/- a tick due to rounding errors.

These values are accurate as of version 0.11.8.

See also