mirror of
https://github.com/Splizard/minetest-mod-snow.git
synced 2025-06-30 07:10:21 +02:00
move stairs dofiles to nodes.lua
M init.lua M src/nodes.lua
This commit is contained in:
11
init.lua
11
init.lua
@ -63,22 +63,11 @@ dofile(modpath.."/src/snowball.lua")
|
||||
-- To get Xmas tree saplings, the "christmas_content", true or false, in "util.lua" has to be determined first.
|
||||
-- That means "nodes.lua", where the saplings are controlled, has to come after "util.lua". ~ LazyJ
|
||||
dofile(modpath.."/src/nodes.lua")
|
||||
dofile(modpath.."/src/basic_stairs_slabs.lua")
|
||||
dofile(modpath.."/src/mapgen.lua")
|
||||
dofile(modpath.."/src/sled.lua")
|
||||
dofile(modpath.."/src/falling_snow.lua")
|
||||
|
||||
|
||||
|
||||
-- Check for "MoreBlocks". If not found, skip this next "dofile".
|
||||
|
||||
if rawget(_G, "stairsplus")
|
||||
and minetest.get_modpath("moreblocks") then
|
||||
|
||||
dofile(modpath.."/src/stairsplus.lua")
|
||||
|
||||
end
|
||||
|
||||
local is_uneven
|
||||
--This function places snow checking at the same time for snow level and increasing as needed.
|
||||
--This also takes into account sourrounding snow and makes snow even.
|
||||
|
Reference in New Issue
Block a user