From e2f4cc369b98cdb13791738d4aa70605670223db Mon Sep 17 00:00:00 2001 From: Calinou Date: Fri, 27 Jun 2014 20:14:08 +0200 Subject: Code cleanup. Add tar and more stone types. --- stairsplus/init.lua | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) (limited to 'stairsplus/init.lua') 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 :{stair,slab,panel,micro}_ 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") - -- cgit v1.2.3