forked from VoxeLibre/VoxeLibre
Rename wood button
This commit is contained in:
parent
c81fd5d680
commit
d90608e962
|
@ -97,7 +97,7 @@ minetest.register_node("mesecons_button:button_wood_off", {
|
||||||
fixed = boxes_off -- the button itself
|
fixed = boxes_off -- the button itself
|
||||||
},
|
},
|
||||||
groups = {dig_immediate=2, attached_node=1},
|
groups = {dig_immediate=2, attached_node=1},
|
||||||
description = "Wood Button",
|
description = "Wooden Button",
|
||||||
on_punch = function (pos, node)
|
on_punch = function (pos, node)
|
||||||
mesecon:swap_node(pos, "mesecons_button:button_wood_on")
|
mesecon:swap_node(pos, "mesecons_button:button_wood_on")
|
||||||
mesecon:receptor_on(pos, mesecon.rules.buttonlike_get(node))
|
mesecon:receptor_on(pos, mesecon.rules.buttonlike_get(node))
|
||||||
|
@ -130,7 +130,7 @@ minetest.register_node("mesecons_button:button_wood_on", {
|
||||||
},
|
},
|
||||||
groups = {dig_immediate=2, not_in_creative_inventory=1, attached_node=1},
|
groups = {dig_immediate=2, not_in_creative_inventory=1, attached_node=1},
|
||||||
drop = 'mesecons_button:button_wood_off',
|
drop = 'mesecons_button:button_wood_off',
|
||||||
description = "Wood Button",
|
description = "Wooden Button",
|
||||||
sounds = default.node_sound_stone_defaults(),
|
sounds = default.node_sound_stone_defaults(),
|
||||||
mesecons = {receptor = {
|
mesecons = {receptor = {
|
||||||
state = mesecon.state.on,
|
state = mesecon.state.on,
|
||||||
|
|
Loading…
Reference in New Issue