summaryrefslogtreecommitdiff
path: root/jeija/switch.lua
diff options
context:
space:
mode:
authorsfan5 <sfan5@live.de>2012-01-29 19:11:38 +0100
committersfan5 <sfan5@live.de>2012-01-29 19:11:38 +0100
commit592563c5fbfb408b489b83b3da06de5459a97ef3 (patch)
tree437a5bdeb0dbb55194c66b4155f52cc3088dd2f6 /jeija/switch.lua
parenta5fa04cfceb64448d666cb98125465b23bede7bf (diff)
parent206e55714fda2806627807495b5dca53da224d82 (diff)
downloadmesecons-592563c5fbfb408b489b83b3da06de5459a97ef3.tar
mesecons-592563c5fbfb408b489b83b3da06de5459a97ef3.tar.gz
mesecons-592563c5fbfb408b489b83b3da06de5459a97ef3.tar.bz2
mesecons-592563c5fbfb408b489b83b3da06de5459a97ef3.tar.xz
mesecons-592563c5fbfb408b489b83b3da06de5459a97ef3.zip
Merge branch 'master' of github.com:Jeija/minetest-mod-mesecons
Diffstat (limited to 'jeija/switch.lua')
-rw-r--r--jeija/switch.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/jeija/switch.lua b/jeija/switch.lua
index 553c95f..aca1c86 100644
--- a/jeija/switch.lua
+++ b/jeija/switch.lua
@@ -4,6 +4,7 @@ minetest.register_node("jeija:mesecon_switch_off", {
tile_images = {"jeija_mesecon_switch_side.png", "jeija_mesecon_switch_side.png", "jeija_mesecon_switch_side.png", "jeija_mesecon_switch_side.png", "jeija_mesecon_switch_side.png", "jeija_mesecon_switch_off.png"},
paramtype2="facedir",
material = minetest.digprop_constanttime(0.5),
+ description="Switch",
})
minetest.register_node("jeija:mesecon_switch_on", {
@@ -11,6 +12,7 @@ minetest.register_node("jeija:mesecon_switch_on", {
paramtype2="facedir",
material = minetest.digprop_constanttime(0.5),
drop='"jeija:mesecon_switch_off" 1',
+ description="Switch",
})
mesecon:add_receptor_node("jeija:mesecon_switch_on")