Use singlenode and add new sky textures

This commit is contained in:
Craig 2014-05-07 17:10:10 +01:00
parent 4b3373f489
commit 090807ab8a
8 changed files with 21 additions and 0 deletions

View file

@ -30,6 +30,11 @@ local ORECHA = 7*7*7 -- -- Ore 1/x chance per stone node
local FISTS = 0 -- -- Fissure threshold at surface. Controls size of fissure entrances at surface
local FISEXP = 0.05 -- -- Fissure expansion rate under surface
-- Use singlenode.
minetest.register_on_mapgen_init(function(mgparams)
minetest.set_mapgen_params({mgname="singlenode"})
end)
-- Generate
local np_terrain = {
offset = 0,

View file

@ -9,3 +9,19 @@ end)
minetest.register_on_joinplayer(function(player)
minetest.setting_set("enable_clouds", 0)
end)
-- Sky textures
minetest.register_on_joinplayer(function(player)
minetest.after(0, function()
textures ={
"pink_planet_pos_y.png",
"pink_planet_neg_y.png",
"pink_planet_pos_z.png",
"pink_planet_neg_z.png",
"pink_planet_pos_x.png",
"pink_planet_neg_x.png",
}
player:set_sky({r=0, g=0, b=0, a=0},"skybox", textures)
end)
end)

Binary file not shown.

After

Width:  |  Height:  |  Size: 375 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 370 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 322 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 468 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 155 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 392 KiB