1
0
mirror of https://github.com/sys4-fr/server-nalc.git synced 2024-09-17 02:00:23 +02:00
server-nalc/mods/builtin_falling/init.lua
LeMagnesium f906c315f1 Upgrading builtin_falling mod
- Now using builtin_falling version 0.3 by Davedevils, version 0.4 will come soon.
2014-11-08 18:41:12 +01:00

22 lines
803 B
Lua

dofile(minetest.get_modpath("builtin_falling") .. "/func.lua") -- Not EDIT THAT
--
-- Config
--
-- Protect in realtime the lava flowing (can be slow)
PROTECT_LAVA_REALTIME = 1 -- 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:redsand")
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