1
0
mirror of https://github.com/sys4-fr/server-nalc.git synced 2024-09-08 22:00:26 +02:00
server-nalc/mods/builtin_falling/init.lua

22 lines
760 B
Lua
Raw Normal View History

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