aboutsummaryrefslogtreecommitdiff
path: root/stairsplus/init.lua
diff options
context:
space:
mode:
Diffstat (limited to 'stairsplus/init.lua')
-rw-r--r--stairsplus/init.lua13
1 files changed, 5 insertions, 8 deletions
diff --git a/stairsplus/init.lua b/stairsplus/init.lua
index 74d7ddb..4ea710f 100644
--- a/stairsplus/init.lua
+++ b/stairsplus/init.lua
@@ -1,4 +1,3 @@
-
-- Nodes will be called <modname>:{stair,slab,panel,micro}_<subname>
local modpath = minetest.get_modpath("moreblocks").."/stairsplus"
@@ -6,8 +5,8 @@ local modpath = minetest.get_modpath("moreblocks").."/stairsplus"
stairsplus = {}
stairsplus.expect_infinite_stacks = false
-if not minetest.get_modpath("unified_inventory") and
- minetest.setting_getbool("creative_mode") then
+if not minetest.get_modpath("unified_inventory")
+and minetest.setting_getbool("creative_mode") then
stairsplus.expect_infinite_stacks = true
end
@@ -21,7 +20,7 @@ function stairsplus:register_all(modname, subname, recipeitem, fields)
self:register_slab (modname, subname, recipeitem, fields)
self:register_panel(modname, subname, recipeitem, fields)
self:register_micro(modname, subname, recipeitem, fields)
- -- self:register_6dfacedir_conversion(modname, subname)
+ -- self:register_6dfacedir_conversion(modname, subname) -- Not needed as of Q3 2013, uncomment to fix old maps.
circular_saw.known_nodes[recipeitem] = {modname, subname}
end
@@ -35,12 +34,10 @@ function register_stair_slab_panel_micro(modname, subname, recipeitem, groups, i
})
end
--- dofile(modpath.."/aliases.lua")
--- dofile(modpath.."/conversion.lua")
-
+-- dofile(modpath.."/aliases.lua") -- Not needed as of Q2 2013, uncomment to fix old maps.
+-- dofile(modpath.."/conversion.lua") -- Not needed as of Q2 2013, uncomment to fix old maps.
dofile(modpath.."/stairs.lua")
dofile(modpath.."/slabs.lua")
dofile(modpath.."/panels.lua")
dofile(modpath.."/microblocks.lua")
dofile(modpath.."/registrations.lua")
-