diff options
author | cheapie <no-email-for-you@example.com> | 2024-09-14 20:36:00 -0500 |
---|---|---|
committer | cheapie <no-email-for-you@example.com> | 2024-09-14 20:36:00 -0500 |
commit | 8409dd0d09ebd91e2fa5f23e67703b23b1f72a7b (patch) | |
tree | 9c478beaafe38a09479f5e2f79d3e06c968ccafe | |
parent | 1b39951a48a5cf65250ec0db8580ad99de84db71 (diff) | |
download | unifiedmesecons-8409dd0d09ebd91e2fa5f23e67703b23b1f72a7b.tar unifiedmesecons-8409dd0d09ebd91e2fa5f23e67703b23b1f72a7b.tar.gz unifiedmesecons-8409dd0d09ebd91e2fa5f23e67703b23b1f72a7b.tar.bz2 unifiedmesecons-8409dd0d09ebd91e2fa5f23e67703b23b1f72a7b.tar.xz unifiedmesecons-8409dd0d09ebd91e2fa5f23e67703b23b1f72a7b.zip |
-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 |