Clean up the redstone rules

This commit is contained in:
Wuzzy 2018-01-12 01:37:32 +01:00
parent 54c0d1d750
commit e4ab20509f
7 changed files with 44 additions and 79 deletions

View file

@ -2,11 +2,7 @@
-- A button that when pressed emits power for 1 second
-- and then turns off again
-- FIXME: Power node behind as well
local button_get_output_rules = function(node)
local rules = mesecon.rules.alldirs
return rules
end
local button_get_output_rules = mesecon.rules.buttonlike_get
local boxes_off = {
type = "wallmounted",