mirror of
https://github.com/sys4-fr/server-nalc.git
synced 2024-12-26 02:30:38 +01:00
48e6e3c82f
Realtime protect is not good for server have allready some people , just use falling sand protect and bucket protect
22 lines
760 B
Lua
Executable File
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
|