gave the skyboxes colour

master
Red_King_Cyclops 2019-08-08 13:06:05 +00:00
parent b85cd8e382
commit b1548399dc
1 changed files with 2 additions and 2 deletions

View File

@ -37,7 +37,7 @@ local pos = player:getpos()
if minetest.get_player_by_name(name) and pos.y >= space then
player:set_physics_override(1, 0.6, 0.2) -- speed, jump, gravity
--player:set_physics_override(1, 0.4, 0.1) -- speed, jump, gravity [default]
player:set_sky({}, "skybox", spaceskybox) -- Sets skybox
player:set_sky({r = 0, g = 0, b = 0}, "skybox", spaceskybox) -- Sets skybox
--player:set_sky({}, "regular", {}) -- Sets skybox, in this case it sets the skybox to it's default setting if and only if the player's Y value is less than the value of space.
--player:set_clouds({density = 0})
player:set_clouds({
@ -52,7 +52,7 @@ local pos = player:getpos()
--If the player is on Titan
elseif minetest.get_player_by_name(name) and pos.y < space then
player:set_physics_override(1, 0.6, 0.2) -- speed, jump, gravity
player:set_sky({}, "skybox", titanskybox) -- Sets skybox
player:set_sky({r = 239, g = 194, b = 109}, "skybox", titanskybox) -- Sets skybox
--player:set_clouds({density = 0.7})
player:set_clouds({
density = 0.5,