2014-11-08 18:41:12 +01:00
|
|
|
dofile(minetest.get_modpath("builtin_falling") .. "/func.lua") -- Not EDIT THAT
|
2014-11-05 22:02:36 +01:00
|
|
|
--
|
2014-11-08 18:41:12 +01:00
|
|
|
-- Config
|
2014-11-05 22:02:36 +01:00
|
|
|
--
|
|
|
|
|
2014-11-08 18:41:12 +01:00
|
|
|
-- Protect in realtime the lava flowing (can be slow)
|
2015-03-12 04:39:43 +01:00
|
|
|
PROTECT_LAVA_REALTIME = 0 -- 0 for OFF , 1 for ON
|
2014-11-08 18:41:12 +01:00
|
|
|
-- 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
|
2014-11-05 22:02:36 +01:00
|
|
|
|
|
|
|
--
|
2014-11-08 18:41:12 +01:00
|
|
|
-- List of your node need to rewirte
|
2014-11-05 22:02:36 +01:00
|
|
|
--
|
2014-11-08 18:41:12 +01:00
|
|
|
add_falling_protect_item("default:sand")
|
|
|
|
add_falling_protect_item("default:gravel")
|
2014-11-05 22:02:36 +01:00
|
|
|
|
2014-11-08 18:41:12 +01:00
|
|
|
add_protected_bukket_liquid("bucket:bucket_lava","default:lava_source") -- lava bukket
|
|
|
|
add_protected_bukket_liquid("bucket:bucket_water","default:water_source") -- water bukket
|
2014-11-05 22:02:36 +01:00
|
|
|
|
2014-11-08 18:41:12 +01:00
|
|
|
-- Not EDIT AFTER
|
2015-03-12 04:39:43 +01:00
|
|
|
dofile(minetest.get_modpath("builtin_falling") .. "/rewirting.lua") -- Not EDIT THAT
|