diff options
author | Jeija <norrepli@googlemail.com> | 2012-08-01 07:45:07 -0700 |
---|---|---|
committer | Jeija <norrepli@googlemail.com> | 2012-08-01 07:45:07 -0700 |
commit | 150da24db6947306ae09340bb80249f922a84af8 (patch) | |
tree | d673343390b9ce57f333104df69081e343314c5d /mesecons_switch | |
parent | 7568182f4ae2a3cb4ede1c1f81fd26ae9252b841 (diff) | |
parent | 20d1b9dd524931204e8a69eefaf60a534247acf9 (diff) | |
download | mesecons-150da24db6947306ae09340bb80249f922a84af8.tar mesecons-150da24db6947306ae09340bb80249f922a84af8.tar.gz mesecons-150da24db6947306ae09340bb80249f922a84af8.tar.bz2 mesecons-150da24db6947306ae09340bb80249f922a84af8.tar.xz mesecons-150da24db6947306ae09340bb80249f922a84af8.zip |
Merge pull request #6 from Kotolegokot/master
Some modifications and fixed.
Diffstat (limited to 'mesecons_switch')
-rw-r--r-- | mesecons_switch/init.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mesecons_switch/init.lua b/mesecons_switch/init.lua index b61dd8c..a531459 100644 --- a/mesecons_switch/init.lua +++ b/mesecons_switch/init.lua @@ -10,9 +10,9 @@ minetest.register_node("mesecons_switch:mesecon_switch_off", { minetest.register_node("mesecons_switch:mesecon_switch_on", { 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_on.png"}, paramtype2="facedir", - groups = {dig_immediate=2}, + groups = {dig_immediate=2,not_in_creative_inventory=1}, drop='"mesecons_switch:mesecon_switch_off" 1', - description="Switch", + description="Switch", after_dig_node = function(pos) mesecon:receptor_off(pos) end |