Add setting for skybox

This commit is contained in:
Juraj Vajda 2023-02-25 22:35:35 -05:00
parent 8431d0d53e
commit 41853ab879
3 changed files with 12 additions and 1 deletions

View File

@ -519,6 +519,7 @@ Everness = {
},
features = {
everness_feature_sneak_pickup = minetest.settings:get_bool('everness_feature_sneak_pickup', true),
everness_feature_skybox = minetest.settings:get_bool('everness_feature_skybox', true),
}
},
}

View File

@ -163,7 +163,11 @@ dofile(path .. '/tools.lua')
dofile(path .. '/craftitems.lua')
dofile(path .. '/crafting.lua')
dofile(path .. '/loot_chests.lua')
dofile(path .. '/skybox.lua')
if Everness.settings.features.everness_feature_skybox then
dofile(path .. '/skybox.lua')
end
dofile(path .. '/env_sounds.lua')
if Everness.settings.features.everness_feature_sneak_pickup then

View File

@ -329,3 +329,9 @@ everness_forsaken_tundra_under_y_min (y min) int -31000
# Enable/ Disable Item pick up with sneak key
# [Shift + E + Q] single drop item
everness_feature_sneak_pickup (Sneak Pickup) bool true
# Enable/ Disable Skybox
# This shows custom sun/moon/sky colors/stars/clouds...
# based on the biome, so each new biome has
# unique feeling and experience.
everness_feature_skybox (Skybox) bool true