diff options
author | Calinou <calinou@opmbx.org> | 2014-06-27 20:14:08 +0200 |
---|---|---|
committer | Calinou <calinou@opmbx.org> | 2014-06-27 20:14:08 +0200 |
commit | e2f4cc369b98cdb13791738d4aa70605670223db (patch) | |
tree | cc852a6ebc47e5a5e6bb5573a64914047c64ba68 /stairsplus/init.lua | |
parent | 2b6eb1ff842229f202bfa8078a8c55eb8942d3b6 (diff) |
Code cleanup. Add tar and more stone types.
Diffstat (limited to 'stairsplus/init.lua')
-rw-r--r-- | stairsplus/init.lua | 13 |
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") - |