add silver and mithrilblocks to moreblocks
This commit is contained in:
parent
75f42aaaa9
commit
1b18b1bf2e
3
init.lua
3
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")
|
||||
|
18
moreblocks.lua
Normal file
18
moreblocks.lua
Normal 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")
|
Loading…
x
Reference in New Issue
Block a user