Port lightstones (as reference for effectors) + blinky plant to the new nodedef system

This commit is contained in:
Jeija
2012-12-08 19:02:34 +01:00
parent 472650f099
commit 8578fd89c8
3 changed files with 70 additions and 45 deletions

View File

@ -13,6 +13,9 @@ minetest.register_node("mesecons_blinkyplant:blinky_plant_off", {
type = "fixed",
fixed = {-0.1, -0.5, -0.1, 0.1, -0.5+0.6, 0.1},
},
mesecons = {receptor = {
state = mesecon.state.off
}}
})
minetest.register_node("mesecons_blinkyplant:blinky_plant_on", {
@ -30,6 +33,9 @@ minetest.register_node("mesecons_blinkyplant:blinky_plant_on", {
type = "fixed",
fixed = {-0.1, -0.5, -0.1, 0.1, -0.5+0.6, 0.1},
},
mesecons = {receptor = {
state = mesecon.state.on
}}
})
minetest.register_craft({