Repository for the io_moon mod.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

sky.lua 384B

1234567891011121314151617
  1. minetest.register_on_joinplayer(function(player)
  2. minetest.after(0, function()
  3. textures ={
  4. "dark_sky.png",
  5. "dark_sky.png",
  6. "dark_sky.png",
  7. "sky_neg_z.png",
  8. "dark_sky.png",
  9. "dark_sky.png",
  10. }
  11. player:set_sky({r=0, g=0, b=0, a=0},"skybox", textures)
  12. player:set_clouds({density = 0})
  13. player:set_physics_override(1, 0.6, 0.2) -- speed, jump, gravity
  14. end)
  15. end)