add silver and mithrilblocks to moreblocks

This commit is contained in:
Milan* 2017-08-05 20:13:47 +02:00
parent 75f42aaaa9
commit 1b18b1bf2e
2 changed files with 20 additions and 1 deletions

View File

@ -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")

18
moreblocks.lua Normal file
View File

@ -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")