From b9178dfcaaae366f93b399ab05d3c8e205c0f76e Mon Sep 17 00:00:00 2001 From: HybridDog Date: Mon, 21 Apr 2014 13:27:12 +0200 Subject: use minetest.override_item to redefine mese --- mesecons_extrawires/mesewire.lua | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/mesecons_extrawires/mesewire.lua b/mesecons_extrawires/mesewire.lua index cbb882e..150178c 100644 --- a/mesecons_extrawires/mesewire.lua +++ b/mesecons_extrawires/mesewire.lua @@ -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", -- cgit v1.2.3