mirror of
https://github.com/minetest-mods/mesecons.git
synced 2024-12-28 16:27:28 +01:00
Merge pull request #156 from HybridDog/ov_it
Use minetest.override_item to redefine mese
This commit is contained in:
commit
fb5c9edaf4
@ -8,12 +8,7 @@ local mesewire_rules =
|
|||||||
{x = 0, y = 0, z =-1},
|
{x = 0, y = 0, z =-1},
|
||||||
}
|
}
|
||||||
|
|
||||||
minetest.register_node(":default:mese", {
|
minetest.override_item("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(),
|
|
||||||
mesecons = {conductor = {
|
mesecons = {conductor = {
|
||||||
state = mesecon.state.off,
|
state = mesecon.state.off,
|
||||||
onstate = "mesecons_extrawires:mese_powered",
|
onstate = "mesecons_extrawires:mese_powered",
|
||||||
|
Loading…
Reference in New Issue
Block a user