Version MFF.
0
mesecons_pistons/depends.txt
Normal file → Executable file
2
mesecons_pistons/init.lua
Normal file → Executable file
@ -723,7 +723,7 @@ local piston_up_down_get_stopper = function (node, dir, stack, stackid)
|
||||
end
|
||||
|
||||
local piston_get_stopper = function (node, dir, stack, stackid)
|
||||
pistonspec = minetest.registered_nodes[node.name].mesecons_piston
|
||||
local pistonspec = minetest.registered_nodes[node.name].mesecons_piston
|
||||
dir = piston_get_direction(pistonspec.dir, node)
|
||||
local pusherpos = vector.add(stack[stackid].pos, dir)
|
||||
local pushernode = minetest.get_node(pusherpos)
|
||||
|
BIN
mesecons_pistons/sounds/piston_extend.ogg
Normal file → Executable file
BIN
mesecons_pistons/sounds/piston_retract.ogg
Normal file → Executable file
0
mesecons_pistons/textures/mesecons_piston_back.png
Normal file → Executable file
Before Width: | Height: | Size: 763 B After Width: | Height: | Size: 763 B |
BIN
mesecons_pistons/textures/mesecons_piston_bottom.png
Normal file → Executable file
Before Width: | Height: | Size: 791 B After Width: | Height: | Size: 778 B |
BIN
mesecons_pistons/textures/mesecons_piston_left.png
Normal file → Executable file
Before Width: | Height: | Size: 790 B After Width: | Height: | Size: 780 B |
0
mesecons_pistons/textures/mesecons_piston_on_front.png
Normal file → Executable file
Before Width: | Height: | Size: 759 B After Width: | Height: | Size: 759 B |
0
mesecons_pistons/textures/mesecons_piston_pusher_back.png
Normal file → Executable file
Before Width: | Height: | Size: 781 B After Width: | Height: | Size: 781 B |
BIN
mesecons_pistons/textures/mesecons_piston_pusher_bottom.png
Normal file → Executable file
Before Width: | Height: | Size: 762 B After Width: | Height: | Size: 760 B |
0
mesecons_pistons/textures/mesecons_piston_pusher_front.png
Normal file → Executable file
Before Width: | Height: | Size: 759 B After Width: | Height: | Size: 759 B |
0
mesecons_pistons/textures/mesecons_piston_pusher_front_sticky.png
Normal file → Executable file
Before Width: | Height: | Size: 738 B After Width: | Height: | Size: 738 B |
BIN
mesecons_pistons/textures/mesecons_piston_pusher_left.png
Normal file → Executable file
Before Width: | Height: | Size: 790 B After Width: | Height: | Size: 773 B |
BIN
mesecons_pistons/textures/mesecons_piston_pusher_right.png
Normal file → Executable file
Before Width: | Height: | Size: 802 B After Width: | Height: | Size: 791 B |
BIN
mesecons_pistons/textures/mesecons_piston_pusher_top.png
Normal file → Executable file
Before Width: | Height: | Size: 787 B After Width: | Height: | Size: 766 B |
BIN
mesecons_pistons/textures/mesecons_piston_right.png
Normal file → Executable file
Before Width: | Height: | Size: 786 B After Width: | Height: | Size: 773 B |
BIN
mesecons_pistons/textures/mesecons_piston_top.png
Normal file → Executable file
Before Width: | Height: | Size: 790 B After Width: | Height: | Size: 778 B |