forked from MineClone5/MineClone5
Clean up hopper names and creative
This commit is contained in:
parent
e7a2a70bca
commit
570d867157
|
@ -0,0 +1 @@
|
||||||
|
default
|
|
@ -14,8 +14,8 @@ local chest_formspec =
|
||||||
|
|
||||||
minetest.register_node("hopper:hopper", {
|
minetest.register_node("hopper:hopper", {
|
||||||
drop = "hopper:hopper_item",
|
drop = "hopper:hopper_item",
|
||||||
description = "I think you broke something",
|
description = "Hopper (Node)",
|
||||||
groups = {cracky=1,level=2},
|
groups = {cracky=1,level=2,not_in_creative_inventory=1},
|
||||||
drawtype = "nodebox",
|
drawtype = "nodebox",
|
||||||
paramtype = "light",
|
paramtype = "light",
|
||||||
tiles = {"default_coal_block.png"},
|
tiles = {"default_coal_block.png"},
|
||||||
|
@ -60,12 +60,13 @@ minetest.register_node("hopper:hopper", {
|
||||||
minetest.log("action", player:get_player_name()..
|
minetest.log("action", player:get_player_name()..
|
||||||
" takes stuff from hopper at "..minetest.pos_to_string(pos))
|
" takes stuff from hopper at "..minetest.pos_to_string(pos))
|
||||||
end,
|
end,
|
||||||
|
sounds = default.node_sound_metal_defaults(),
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_node("hopper:hopper_side", {
|
minetest.register_node("hopper:hopper_side", {
|
||||||
description = "I think you broke something",
|
description = "Hopper (Side)",
|
||||||
drop = "hopper:hopper_item",
|
drop = "hopper:hopper_item",
|
||||||
groups = {cracky=1,level=2},
|
groups = {cracky=1,level=2,not_in_creative_inventory=1},
|
||||||
drawtype = "nodebox",
|
drawtype = "nodebox",
|
||||||
paramtype = "light",
|
paramtype = "light",
|
||||||
paramtype2 = "facedir",
|
paramtype2 = "facedir",
|
||||||
|
@ -111,6 +112,7 @@ minetest.register_node("hopper:hopper_side", {
|
||||||
minetest.log("action", player:get_player_name()..
|
minetest.log("action", player:get_player_name()..
|
||||||
" takes stuff from hopper at "..minetest.pos_to_string(pos))
|
" takes stuff from hopper at "..minetest.pos_to_string(pos))
|
||||||
end,
|
end,
|
||||||
|
sounds = default.node_sound_metal_defaults(),
|
||||||
})
|
})
|
||||||
--make hoppers suck in blocks
|
--make hoppers suck in blocks
|
||||||
minetest.register_abm({
|
minetest.register_abm({
|
||||||
|
|
Loading…
Reference in New Issue