- groups = {wood = 2, tree = 1, hard = 1, axe = 1, hand = 3, redstone_activation = 1,bottom = 1,door_open = ((state == "open" and 1) or 0),door_closed = ((state == "closed" and 1) or 0)}
- --redstone input
- if state == "open" then
- redstone_deactivation = function(pos)
- door_rightclick(pos)
- end
- elseif state == "closed" then
- redstone_activation = function(pos)
- door_rightclick(pos)
- end
- end
+ groups = {wood = 2, tree = 1, hard = 1, axe = 1, hand = 3, bottom = 1,door_open = ((state == "open" and 1) or 0),door_closed = ((state == "closed" and 1) or 0)}
+