diff options
author | Jeija <norrepli@gmail.com> | 2012-12-08 19:02:34 +0100 |
---|---|---|
committer | Jeija <norrepli@gmail.com> | 2012-12-08 19:02:34 +0100 |
commit | 8578fd89c859162bda64af48826b7c1ae1c9e744 (patch) | |
tree | 8e4c917dc5228f1bcf8da6234b18ea2d5b6cc4c7 /mesecons_blinkyplant | |
parent | 472650f099deda6a3f1ab0900c7319a78b352d68 (diff) |
Port lightstones (as reference for effectors) + blinky plant to the new nodedef system
Diffstat (limited to 'mesecons_blinkyplant')
-rw-r--r-- | mesecons_blinkyplant/init.lua | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/mesecons_blinkyplant/init.lua b/mesecons_blinkyplant/init.lua index 145467e..9571359 100644 --- a/mesecons_blinkyplant/init.lua +++ b/mesecons_blinkyplant/init.lua @@ -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({ |