diff options
-rw-r--r-- | .luacheckrc | 8 | ||||
-rw-r--r-- | init.lua | 4 | ||||
-rw-r--r-- | mod.conf | 3 |
3 files changed, 13 insertions, 2 deletions
diff --git a/.luacheckrc b/.luacheckrc new file mode 100644 index 0000000..a2da26e --- /dev/null +++ b/.luacheckrc @@ -0,0 +1,8 @@ +max_line_length = 160 + +read_globals = { + "minetest", + "mesecon", + "unifieddyes", + "table.copy", +} @@ -23,7 +23,7 @@ local tjunction_get_rules = function (node) {x = 1, y = 0, z = 0}, {x = 0, y = 0, z = -1}} - for i = 0, node.param2%32 do + for _=0,node.param2%32 do rules = mesecon.rotate_rules_left(rules) end @@ -35,7 +35,7 @@ local corner_get_rules = function (node) {{x = 1, y = 0, z = 0}, {x = 0, y = 0, z = -1}} - for i = 0, node.param2%32 do + for _=0,node.param2%32 do rules = mesecon.rotate_rules_left(rules) end diff --git a/mod.conf b/mod.conf new file mode 100644 index 0000000..c3a49c9 --- /dev/null +++ b/mod.conf @@ -0,0 +1,3 @@ +name = unifiedmesecons +description = Unified Mesecons (Deprecated) +depends = mesecons,mesecons_insulated,mesecons_extrawires,unifieddyes |