mirror of
https://github.com/minetest-mods/mesecons.git
synced 2025-02-19 02:40:19 +01:00
A bit of cleanup
This commit is contained in:
parent
4702c2229d
commit
b16f0a5bac
@ -4,9 +4,6 @@
|
||||
description = "Slippy block)",
|
||||
drawtype = "nodebox",
|
||||
tiles = {"mesecons_slippyblocks.png"},
|
||||
walkable = true,
|
||||
pointable = true,
|
||||
diggable = true,
|
||||
buildable_to = true,
|
||||
groups = {cracky=3,oddly_breakable_by_hand=3},
|
||||
drop = "mesecons_slippyblocks:slippy_block",
|
||||
@ -47,10 +44,6 @@
|
||||
description = "Slippy block)",
|
||||
drawtype = "nodebox",
|
||||
tiles = {"mesecons_slippyblocks.png"},
|
||||
walkable = true,
|
||||
pointable = true,
|
||||
diggable = true,
|
||||
buildable_to = false,
|
||||
groups = {cracky=3,oddly_breakable_by_hand=3, not_in_creative_inventory = 1},
|
||||
drop = "mesecons_slippyblocks:slippy_block",
|
||||
node_box = {
|
||||
|
@ -36,7 +36,6 @@ minetest.register_node("mesecons_stickyblocks_flat:sticky_block_xz", {
|
||||
on_punch = function(pos, node, player, pointed_thing)
|
||||
if string.find(player:get_wielded_item():get_name(), "sticky_") then
|
||||
minetest.swap_node(pos, {name = "mesecons_stickyblocks_flat:sticky_block_xy" })
|
||||
--minetest.chat_send_all("The word sticky_ was found.")
|
||||
end
|
||||
end,
|
||||
})
|
||||
@ -146,8 +145,6 @@ mesecon.rules.yz = {
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
minetest.register_craft({
|
||||
output = "mesecons_stickyblocks_flat:sticky_block_xz",
|
||||
recipe = {
|
||||
|
@ -117,20 +117,14 @@ minetest.register_node("mesecons_stickyblocks_linear:sticky_block_z", {
|
||||
mesecon.rules.y = {
|
||||
{x = 0, y = 1, z = 0},
|
||||
{x = 0, y = -1, z = 0},
|
||||
{x = 0, y = 0, z = 0},
|
||||
{x = 0, y = 0, z = 0},
|
||||
}
|
||||
|
||||
mesecon.rules.x = {
|
||||
{x = 1, y = 0, z = 0},
|
||||
{x = -1, y = 0, z = 0},
|
||||
{x = 0, y = 0, z = 0},
|
||||
{x = 0, y = 0, z = 0},
|
||||
}
|
||||
|
||||
mesecon.rules.z = {
|
||||
{x = 0, y = 0, z = 0},
|
||||
{x = 0, y = 0, z = 0},
|
||||
{x = 0, y = 0, z = 1},
|
||||
{x = 0, y = 0, z = -1},
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user