Add setting for skybox
This commit is contained in:
parent
8431d0d53e
commit
41853ab879
1
api.lua
1
api.lua
|
@ -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),
|
||||
}
|
||||
},
|
||||
}
|
||||
|
|
4
init.lua
4
init.lua
|
@ -163,7 +163,11 @@ dofile(path .. '/tools.lua')
|
|||
dofile(path .. '/craftitems.lua')
|
||||
dofile(path .. '/crafting.lua')
|
||||
dofile(path .. '/loot_chests.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
|
||||
|
|
|
@ -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
|
||||
|
|
Ŝarĝante…
Reference in New Issue