1
0
mirror of https://github.com/Refactorio/RedMew.git synced 2025-02-11 13:39:17 +02:00
Matthew 654216f149 Add day/night cycle options (#360)
* Add day/night cycle options

* txt to markdown and fix formatting errors
2018-11-18 13:00:22 +01:00

8 lines
331 B
Lua

-- vanilla day/night cycle, mostly just here as reference
-- ~7 minute cycle, 3m28s of full light, 1m23s light to dark, 42s full dark, 1m23s dark to light
game.player.surface.ticks_per_day = 25000
game.player.surface.dusk = 0.25
game.player.surface.evening = 0.45
game.player.surface.morning = 0.55
game.player.surface.dawn = 0.75