Update nodes for compatibility with digging time groups.

This commit is contained in:
Anthony Zhang
2012-03-22 17:52:11 -04:00
parent 9ec0767762
commit 3018128b4b
18 changed files with 42 additions and 41 deletions

View File

@ -3,14 +3,14 @@
minetest.register_node("mesecons_switch:mesecon_switch_off", {
tile_images = {"jeija_mesecon_switch_side.png", "jeija_mesecon_switch_side.png", "jeija_mesecon_switch_side.png", "jeija_mesecon_switch_side.png", "jeija_mesecon_switch_side.png", "jeija_mesecon_switch_off.png"},
paramtype2="facedir",
material = minetest.digprop_constanttime(0.5),
groups = {dig_immediate=2},
description="Switch",
})
minetest.register_node("mesecons_switch:mesecon_switch_on", {
tile_images = {"jeija_mesecon_switch_side.png", "jeija_mesecon_switch_side.png", "jeija_mesecon_switch_side.png", "jeija_mesecon_switch_side.png", "jeija_mesecon_switch_side.png", "jeija_mesecon_switch_on.png"},
paramtype2="facedir",
material = minetest.digprop_constanttime(0.5),
groups = {dig_immediate=2},
drop='"mesecons_switch:mesecon_switch_off" 1',
description="Switch",
})