summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeija <jeija@mesecons.net>2014-11-22 23:20:29 +0100
committerJeija <jeija@mesecons.net>2014-11-22 23:20:29 +0100
commitfc4d675b846043b5c7adb4e82ff60a1778d3f5bc (patch)
tree373459be4772284402c2d71ea0b2bdeeb0bd7fdf
parenta814abd1e007e324789f80654d2d8135ced386bf (diff)
downloadmesecons-fc4d675b846043b5c7adb4e82ff60a1778d3f5bc.tar
mesecons-fc4d675b846043b5c7adb4e82ff60a1778d3f5bc.tar.gz
mesecons-fc4d675b846043b5c7adb4e82ff60a1778d3f5bc.tar.bz2
mesecons-fc4d675b846043b5c7adb4e82ff60a1778d3f5bc.tar.xz
mesecons-fc4d675b846043b5c7adb4e82ff60a1778d3f5bc.zip
Fix crafting with the default mesecon wire
-rw-r--r--mesecons/wires.lua5
1 files changed, 3 insertions, 2 deletions
diff --git a/mesecons/wires.lua b/mesecons/wires.lua
index 357181f..c04318a 100644
--- a/mesecons/wires.lua
+++ b/mesecons/wires.lua
@@ -199,8 +199,9 @@ register_wires = function()
offstate = "mesecons:wire_"..nodeid.."_off"
}}
- local groups_on = {dig_immediate = 3, not_in_creative_inventory = 1}
- local groups_off = {dig_immediate = 3}
+ local groups_on = {dig_immediate = 3, mesecon_conductor_craftable = 1,
+ not_in_creative_inventory = 1}
+ local groups_off = {dig_immediate = 3, mesecon_conductor_craftable = 1}
if nodeid ~= "00000000" then
groups_off["not_in_creative_inventory"] = 1
end