Make pole tops diggable (fixes #1)

master
cheapie 2016-01-10 02:02:42 -06:00
parent 416672fcae
commit 8c0eccc286
1 changed files with 2 additions and 3 deletions

View File

@ -46,12 +46,11 @@ minetest.register_node(":streets:pole_bottom",{
minetest.register_node(":streets:pole_top",{ minetest.register_node(":streets:pole_top",{
description = streets.S("Y u no play minetest without cheating?"), description = streets.S("Y u no play minetest without cheating?"),
tiles = {"streets_pole.png"}, tiles = {"streets_pole.png"},
groups = {not_in_creative_inventory=1}, groups = {not_in_creative_inventory=1,cracky=2},
paramtype = "light", paramtype = "light",
paramtype2 = "facedir", paramtype2 = "facedir",
drawtype = "nodebox", drawtype = "nodebox",
drop = "", drop = "",
diggable = false,
node_box = { node_box = {
type = "fixed", type = "fixed",
fixed = { fixed = {
@ -189,4 +188,4 @@ minetest.register_craft({
{"streets:bigpole_edge","streets:bigpole",""}, {"streets:bigpole_edge","streets:bigpole",""},
{"","",""} {"","",""}
} }
}) })