diff options
Diffstat (limited to 'builtin/deprecated.lua')
-rw-r--r-- | builtin/deprecated.lua | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/builtin/deprecated.lua b/builtin/deprecated.lua new file mode 100644 index 000000000..67210d525 --- /dev/null +++ b/builtin/deprecated.lua @@ -0,0 +1,19 @@ +-- Minetest: builtin/deprecated.lua + +-- +-- Default material types +-- +function digprop_err() + minetest.log("info", debug.traceback()) + minetest.log("info", "WARNING: The minetest.digprop_* functions are obsolete and need to be replaced by item groups.") +end + +minetest.digprop_constanttime = digprop_err +minetest.digprop_stonelike = digprop_err +minetest.digprop_dirtlike = digprop_err +minetest.digprop_gravellike = digprop_err +minetest.digprop_woodlike = digprop_err +minetest.digprop_leaveslike = digprop_err +minetest.digprop_glasslike = digprop_err + + |