mirror of
https://github.com/Splizard/minetest-mod-snow.git
synced 2025-06-30 15:20:20 +02:00
Rewrite stairs code.
- Handle stairsplus stairs and MTG stairs in the same file. - Only create stairs using stairsplus or MTG stairs, not both. - Handle map switching from MTG stairs to stairsplus automatically. - If using stairsplus: - Move stairsplus nodes to proper namespace. - Alias stairsplus nodes that moved to a new namespace. - Alias duplicated ice and snowblock stairs and slabs to their new namespace. - Make ice_brick sawable too. - Unify stairsplus cut ice and default:ice texture brightness. - If using MTG stairs: - Move stairs and slabs to MTG stairs namespace. - Alias stairs and slabs that moved to the new namespace.
This commit is contained in:
1
init.lua
1
init.lua
@ -66,6 +66,7 @@ dofile(srcpath.."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(srcpath.."nodes.lua")
|
||||
dofile(srcpath.."stairs.lua")
|
||||
dofile(srcpath.."mapgen.lua")
|
||||
dofile(srcpath.."sled.lua")
|
||||
dofile(srcpath.."falling_snow.lua")
|
||||
|
Reference in New Issue
Block a user