mirror of
https://github.com/minetest-mods/MoreMesecons.git
synced 2025-11-01 00:25:28 +01:00
Merge remote-tracking branch 'upstream/master'
This commit is contained in:
@@ -6,7 +6,7 @@ local nodebox = {
|
||||
local function signalchanger_get_output_rules(node)
|
||||
local rules = {{x=-1, y=0, z=0},
|
||||
{x=1, y=0, z=0}}
|
||||
for i = 0, node.param2 do
|
||||
for _ = 0, node.param2 do
|
||||
rules = mesecon.rotate_rules_left(rules)
|
||||
end
|
||||
return rules
|
||||
@@ -14,7 +14,7 @@ end
|
||||
|
||||
local function signalchanger_get_input_rules(node)
|
||||
local rules = {{x=0, y=0, z=-1, name="input_on"}, {x=0, y=0, z=1, name="input_off"}}
|
||||
for i = 0, node.param2 do
|
||||
for _ = 0, node.param2 do
|
||||
rules = mesecon.rotate_rules_left(rules)
|
||||
end
|
||||
return rules
|
||||
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 158 B After Width: | Height: | Size: 112 B |
Binary file not shown.
|
Before Width: | Height: | Size: 159 B After Width: | Height: | Size: 112 B |
Reference in New Issue
Block a user