Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
minetest.register_on_joinplayer(function(player)
minetest.after(0, function()
player:set_sky({r=0,g=70,b=0}, "skybox", {
"default_cactus_side.png",
"default_cactus_side.png",
"default_cactus_side.png",
"default_cactus_side.png",
"default_cactus_side.png",
"default_cactus_side.png",
})
player:override_day_night_ratio(0.5)
end)
end)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment