diff --git a/init.lua b/init.lua index 2135472..600622f 100644 --- a/init.lua +++ b/init.lua @@ -25,7 +25,6 @@ end local modpath = minetest.get_modpath("moreores") dofile(modpath .. "/_config.txt") - -- `mg` support: if minetest.get_modpath("mg") then dofile(modpath .. "/mg.lua") @@ -384,3 +383,5 @@ minetest.register_node("moreores:copper_rail", { if minetest.settings:get_bool("log_mods") then minetest.log("action", S("[moreores] loaded.")) end + +dofile(modpath .. "/moreblocks.lua") diff --git a/moreblocks.lua b/moreblocks.lua new file mode 100644 index 0000000..4078919 --- /dev/null +++ b/moreblocks.lua @@ -0,0 +1,18 @@ +register_stair_slab_panel_micro("mithril_block", "block", "moreores:mithril_block", +{cracky=3}, +{"moreores_mithril_block.png"}, +"Mithril Block", +"block", +0 +) + +register_stair_slab_panel_micro("silver_block", "block", "moreores:silver_block", +{cracky=3}, +{"moreores_silver_block.png"}, +"Silver Block", +"block", +0 +) + +table.insert(circular_saw.known_stairs, "moreores:mithril_block") +table.insert(circular_saw.known_stairs, "moreores:silver_block")