forked from minetest-mods/mesecons
e12b297987
fixed deprecated/invalid recipes in lightstones. fixed copy&paste error in one of the delayer textures fixed recipe for player detector to rely on microcontroller instead of old IC
25 lines
676 B
Lua
25 lines
676 B
Lua
-- REMOVE_STONE
|
|
|
|
minetest.register_node("mesecons_random:removestone", {
|
|
tile_images = {"jeija_removestone.png"},
|
|
inventory_image = minetest.inventorycube("jeija_removestone_inv.png"),
|
|
material = minetest.digprop_stonelike(1.0),
|
|
groups = {cracky=3, mesecon = 2},
|
|
description="Removestone",
|
|
})
|
|
|
|
minetest.register_craft({
|
|
output = '"mesecons_random:removestone" 4',
|
|
recipe = {
|
|
{'', '"default:cobble"',''},
|
|
{'"default:cobble"', '"group:mesecon_conductor_craftable"', '"default:cobble"'},
|
|
{'', '"default:cobble"',''},
|
|
}
|
|
})
|
|
|
|
mesecon:register_on_signal_on(function(pos, node)
|
|
if node.name=="mesecons_random:removestone" then
|
|
minetest.env:remove_node(pos)
|
|
end
|
|
end)
|