Skip to content

Commit

Permalink
Merge pull request #156 from HybridDog/ov_it
Browse files Browse the repository at this point in the history
Use minetest.override_item to redefine mese
  • Loading branch information
Jeija committed Nov 22, 2014
2 parents f977ac8 + b9178df commit fb5c9ed
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions mesecons_extrawires/mesewire.lua
Expand Up @@ -8,12 +8,7 @@ local mesewire_rules =
{x = 0, y = 0, z =-1},
}

minetest.register_node(":default:mese", {
description = "Mese Block",
tiles = {minetest.registered_nodes["default:mese"].tiles[1]},
is_ground_content = true,
groups = {cracky=1},
sounds = default.node_sound_stone_defaults(),
minetest.override_item("default:mese", {
mesecons = {conductor = {
state = mesecon.state.off,
onstate = "mesecons_extrawires:mese_powered",
Expand Down

0 comments on commit fb5c9ed

Please sign in to comment.