1
0
Fork 0

Rename wood button

This commit is contained in:
Wuzzy 2017-01-12 00:27:26 +01:00
parent c81fd5d680
commit d90608e962
1 changed files with 2 additions and 2 deletions

View File

@ -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,