init.lua 261 B

12345678910
  1. --maybe make the game gradually darker as time passes on
  2. minetest.register_on_joinplayer(function(player)
  3. player:set_sky("0x8A7070", "plain")
  4. local clouds = player:get_clouds()
  5. clouds.density = 0.65
  6. clouds.color = "#504444"
  7. player:set_clouds(clouds)
  8. end)