mirror of
https://notabug.org/TenPlus1/protector.git
synced 2025-01-24 02:01:30 +01:00
Protectors cannot be moved by mesecons anymore
This commit is contained in:
parent
9a8b6c3957
commit
11c0b9b153
@ -45,6 +45,7 @@ Change log:
|
|||||||
2.0 - Added protector placement tool (thanks to Shara) so that players can easily
|
2.0 - Added protector placement tool (thanks to Shara) so that players can easily
|
||||||
stand on a protector, face in a direction and it places a new one at a set
|
stand on a protector, face in a direction and it places a new one at a set
|
||||||
distance to cover protection radius. Added /protector_show command (thanks agaran)
|
distance to cover protection radius. Added /protector_show command (thanks agaran)
|
||||||
|
Protectors cannot be moved by mesecon pistons or machines.
|
||||||
|
|
||||||
Lucky Blocks: 6
|
Lucky Blocks: 6
|
||||||
|
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
default
|
default
|
||||||
intllib?
|
intllib?
|
||||||
lucky_block?
|
lucky_block?
|
||||||
|
mesecons_mvps?
|
||||||
|
6
init.lua
6
init.lua
@ -640,4 +640,10 @@ dofile(path .. "/admin.lua")
|
|||||||
dofile(path .. "/tool.lua")
|
dofile(path .. "/tool.lua")
|
||||||
dofile(path .. "/lucky_block.lua")
|
dofile(path .. "/lucky_block.lua")
|
||||||
|
|
||||||
|
-- stop mesecon pistons from pushing protectors
|
||||||
|
if minetest.get_modpath("mesecons_mvps") then
|
||||||
|
mesecon.register_mvps_stopper("protector:protect")
|
||||||
|
mesecon.register_mvps_stopper("protector:protect2")
|
||||||
|
end
|
||||||
|
|
||||||
print (S("[MOD] Protector Redo loaded"))
|
print (S("[MOD] Protector Redo loaded"))
|
||||||
|
Loading…
Reference in New Issue
Block a user