1
0
mirror of https://github.com/sys4-fr/server-nalc.git synced 2024-11-03 17:10:27 +01:00
server-nalc/mods/builtin_falling/init.lua
Dave Devil's 48e6e3c82f Delete RealTime
Realtime protect is not good for server have allready some people , just use falling sand protect and bucket protect
2015-03-12 04:39:43 +01:00

22 lines
760 B
Lua
Executable File

dofile(minetest.get_modpath("builtin_falling") .. "/func.lua") -- Not EDIT THAT
--
-- Config
--
-- Protect in realtime the lava flowing (can be slow)
PROTECT_LAVA_REALTIME = 0 -- 0 for OFF , 1 for ON
-- Protect in realtime the water flowing (can be very slow, because some water in this world :p)
PROTECT_WATER_REALTIME = 0 -- 0 for OFF , 1 for ON
--
-- List of your node need to rewirte
--
add_falling_protect_item("default:sand")
add_falling_protect_item("default:gravel")
add_protected_bukket_liquid("bucket:bucket_lava","default:lava_source") -- lava bukket
add_protected_bukket_liquid("bucket:bucket_water","default:water_source") -- water bukket
-- Not EDIT AFTER
dofile(minetest.get_modpath("builtin_falling") .. "/rewirting.lua") -- Not EDIT THAT