mirror of
https://github.com/luanti-org/minetest_game.git
synced 2025-05-20 22:33:16 -04:00
Use singlenode and add new sky textures
This commit is contained in:
parent
4b3373f489
commit
090807ab8a
8 changed files with 21 additions and 0 deletions
|
@ -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,
|
||||
|
|
|
@ -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)
|
||||
|
|
BIN
mods/sky/textures/pink_planet_neg_x.png
Normal file
BIN
mods/sky/textures/pink_planet_neg_x.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 375 KiB |
BIN
mods/sky/textures/pink_planet_neg_y.png
Normal file
BIN
mods/sky/textures/pink_planet_neg_y.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 370 KiB |
BIN
mods/sky/textures/pink_planet_neg_z.png
Normal file
BIN
mods/sky/textures/pink_planet_neg_z.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 322 KiB |
BIN
mods/sky/textures/pink_planet_pos_x.png
Normal file
BIN
mods/sky/textures/pink_planet_pos_x.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 468 KiB |
BIN
mods/sky/textures/pink_planet_pos_y.png
Normal file
BIN
mods/sky/textures/pink_planet_pos_y.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 155 KiB |
BIN
mods/sky/textures/pink_planet_pos_z.png
Normal file
BIN
mods/sky/textures/pink_planet_pos_z.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 392 KiB |
Loading…
Add table
Reference in a new issue