add mod 'galaxybox'

this is basicly a workaround since creating and calculating proper tiles from an own choosen image takes too long atm
This commit is contained in:
tchncs 2017-02-25 23:39:31 +01:00
parent 2b30644052
commit 6ccd51f5d8
10 changed files with 30 additions and 0 deletions

17
mods/galaxybox/init.lua Normal file
View file

@ -0,0 +1,17 @@
minetest.register_on_joinplayer(function(player)
minetest.after(0,function()
player:set_sky(
{r=0x13, g=0x01, b=0x24},
"skybox",
{
"galaxybox_1.png^[transform6",
"galaxybox_2.png",
"galaxybox_3.png^[transform7",
"galaxybox_4.png^[transform1",
"galaxybox_5.png^[transform4",
"galaxybox_6.png",
}
)
--player:override_day_night_ratio(0.15)
end)
end)